benchmark-runner 1.0.776__py3-none-any.whl → 1.0.778__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of benchmark-runner might be problematic. Click here for more details.

@@ -42,7 +42,7 @@ class CreateODF(CreateOCPResourceOperations):
42
42
  for node, disk_ids in self.__worker_disk_ids.items():
43
43
  for disk_id in disk_ids:
44
44
  disk = f'/dev/disk/by-id/{self.__worker_disk_prefix}{disk_id}'
45
- delete_node_disk += f"""sudo sgdisk --zap-all {disk}; sudo wipefs -a {disk}; sudo dd if=/dev/zero of='{disk}' bs=1M count=100 oflag=direct,dsync; sudo blkdiscard {disk}; sudo partprobe {disk};"""
45
+ delete_node_disk += f"""sudo mkfs.ext4 -F {disk}; sudo sgdisk --zap-all {disk}; sudo wipefs -a {disk}; sudo dd if=/dev/zero of='{disk}' bs=20M count=100 oflag=direct,dsync;"""
46
46
  logger.info(f'{node}: {delete_node_disk}')
47
47
  self.__oc.run(cmd=f'chmod +x {os.path.join(self.__path, resource)}; {self.__path}/./{resource} "{node}" "{delete_node_disk}"')
48
48
  delete_node_disk = ''
@@ -1,8 +1,14 @@
1
1
  #!/usr/bin/env sh
2
2
 
3
- while (($# >= 2)) ; do
3
+ while (($# >= 2)); do
4
4
  node="$1"
5
5
  delete_disk_command="$2"
6
- oc debug "node/$node" -- chroot /host sh -c "$delete_disk_command"
6
+
7
+ echo "Executing deletion on node: $node"
8
+
9
+ set -x # Enable debug mode to print the command being executed
10
+ oc debug "node/$node" -- chroot /host sh -c "$delete_disk_command"
11
+ set +x # Disable debug mode
12
+
7
13
  shift 2
8
14
  done
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: benchmark-runner
3
- Version: 1.0.776
3
+ Version: 1.0.778
4
4
  Summary: Benchmark Runner Tool
5
5
  Home-page: https://github.com/redhat-performance/benchmark-runner
6
6
  Author: Red Hat
@@ -49,6 +49,7 @@ Dynamic: description
49
49
  Dynamic: description-content-type
50
50
  Dynamic: home-page
51
51
  Dynamic: license
52
+ Dynamic: license-file
52
53
  Dynamic: requires-dist
53
54
  Dynamic: summary
54
55
 
@@ -58,7 +58,7 @@ benchmark_runner/common/ocp_resources/create_nhc_snr.py,sha256=ejbX-KhkvqU9SCEX1
58
58
  benchmark_runner/common/ocp_resources/create_ocp_resource.py,sha256=Tq_M3AtykXo7Cp7rZ1nhGnhb_dJdd774C9166qCxQ_Q,5478
59
59
  benchmark_runner/common/ocp_resources/create_ocp_resource_exceptions.py,sha256=hthowyHAeg66IZHYPe1FWU3dnhwXcQtPBrOQSO1RZMU,941
60
60
  benchmark_runner/common/ocp_resources/create_ocp_resource_operations.py,sha256=47SyVjtv5e9vKuRQFlC-VfGKXBLEl46rut4XVeZRsMo,6834
61
- benchmark_runner/common/ocp_resources/create_odf.py,sha256=3ZwFaiLB-j062W-6SESZRzh6thUrn1dAzDQ07FISOjE,4441
61
+ benchmark_runner/common/ocp_resources/create_odf.py,sha256=Frtx4EOYILHROeSzX3sO9b28zzDUt4waN92RwSPzr4c,4421
62
62
  benchmark_runner/common/ocp_resources/migrate_infra.py,sha256=R9iPk8oXv8_w6uz0q-nebe25C1KbQXN-l-d6_AWK4gA,1295
63
63
  benchmark_runner/common/ocp_resources/cnv/template/01_operator_template.yaml,sha256=Ba7RYN1hPknLXBKHsgdXwGSnQETTUWHqgxEDYnx8GSU,764
64
64
  benchmark_runner/common/ocp_resources/cnv/template/02_hyperconverge_template.yaml,sha256=aAaoV1EXyHSM4ZEJmhRtpCH5QDzclaqmzGvWk-GP6uM,135
@@ -77,7 +77,7 @@ benchmark_runner/common/ocp_resources/nhc_snr/template/02_operator_group_templat
77
77
  benchmark_runner/common/ocp_resources/nhc_snr/template/03_nhc_subscription_template.yaml,sha256=fPBon9WfLYbRMZKC4DIBrnaDxAT1GwDvzvbiHhoSJn0,314
78
78
  benchmark_runner/common/ocp_resources/nhc_snr/template/04_snr_subscription_template.yaml,sha256=gpcEbR7msWnYwzENiBs-Raw7Yf3QGrVPrfPLkVqcoPw,310
79
79
  benchmark_runner/common/ocp_resources/nhc_snr/template/05_nhc_snr_template.yaml,sha256=Z7_yCYvo0S40MykQp5ygUrZ8MkZooyfTPgo_9TdTZlQ,1069
80
- benchmark_runner/common/ocp_resources/odf/template/01_delete_disks_template.sh,sha256=NaPyYa8777IGa6SPvWSw_gCKBIt6yTHLEFWS-Yo3EJk,174
80
+ benchmark_runner/common/ocp_resources/odf/template/01_delete_disks_template.sh,sha256=dZfeQ4pXACmbkRfflXUVaHHPI1m-c2ycrxVbdMzm-Jc,321
81
81
  benchmark_runner/common/ocp_resources/odf/template/02_label_nodes_template.sh,sha256=P4O_3zud56UuVbYgBRGlm4nh9m4Ju9jfZ2YIoKloaEE,206
82
82
  benchmark_runner/common/ocp_resources/odf/template/03_local_volume_discovery_template.yaml,sha256=WjZekDSj-1x8xpL85EY-6dUUCW-nkmb9GP6NyePIhBU,347
83
83
  benchmark_runner/common/ocp_resources/odf/template/04_local_volume_set_template.yaml,sha256=OhMLMfVmZmfwc6sUx634CkSibzVwKu36EzCDZbDnGnw,996
@@ -173,8 +173,8 @@ benchmark_runner/workloads/windows_vm.py,sha256=qFVD3qBFMnVpYXnrpam-7H5-0Yzvx6qt
173
173
  benchmark_runner/workloads/workloads.py,sha256=F9fnk4h715tq7ANSCbDH0jktB8fpr_u3YG61Kdi5_os,1422
174
174
  benchmark_runner/workloads/workloads_exceptions.py,sha256=u7VII95iPRF_YhfpGH1U1RmgiIYESMOtbSF1dz7_ToE,1858
175
175
  benchmark_runner/workloads/workloads_operations.py,sha256=EEIZjNYGjEkyUafxFKSu4X9jaN_wgYDbMeCi1hZBZ-0,25186
176
- benchmark_runner-1.0.776.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
177
- benchmark_runner-1.0.776.dist-info/METADATA,sha256=R75D30rV5OHIrxBKXWbFK-UolsYKYoSLxTiH5TsYrYg,11498
178
- benchmark_runner-1.0.776.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
179
- benchmark_runner-1.0.776.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
180
- benchmark_runner-1.0.776.dist-info/RECORD,,
176
+ benchmark_runner-1.0.778.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
177
+ benchmark_runner-1.0.778.dist-info/METADATA,sha256=34-srBGu8GJngzt0peKh-hUOnOT4hfwSgLc0E1uT0JI,11520
178
+ benchmark_runner-1.0.778.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
179
+ benchmark_runner-1.0.778.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
180
+ benchmark_runner-1.0.778.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (76.0.0)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5