benchmark-runner 1.0.824__py3-none-any.whl → 1.0.826__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.

@@ -92,6 +92,8 @@ class EnvironmentVariables:
92
92
  self._environment_variables_dict['run_strategy'] = EnvironmentVariables.get_boolean_from_environment('RUN_STRATEGY', False)
93
93
  # Verification only, without running or deleting any resources, default False
94
94
  self._environment_variables_dict['verification_only'] = EnvironmentVariables.get_boolean_from_environment('VERIFICATION_ONLY', False)
95
+ # Collect CNV/ODF must-gather logs in case of VM verification failure (default: False).
96
+ self._environment_variables_dict['must_gather_log'] = EnvironmentVariables.get_boolean_from_environment('MUST_GATHER_LOG', False)
95
97
  # test name
96
98
  self._environment_variables_dict['test_name'] = EnvironmentVariables.get_env('TEST_NAME', '')
97
99
 
@@ -303,8 +303,9 @@ class BootstormVM(WorkloadsOperations):
303
303
  logger.info(f'Cluster is upgraded to: {self._wait_for_upgrade_version}')
304
304
 
305
305
  if failure_vms:
306
- self._oc.generate_cnv_must_gather(destination_path=self._run_artifacts_path, cnv_version=self._cnv_version)
307
- self._oc.generate_odf_must_gather(destination_path=self._run_artifacts_path, odf_version=self._odf_version)
306
+ if self._must_gather_log:
307
+ self._oc.generate_cnv_must_gather(destination_path=self._run_artifacts_path, cnv_version=self._cnv_version)
308
+ self._oc.generate_odf_must_gather(destination_path=self._run_artifacts_path, odf_version=self._odf_version)
308
309
  # Error log with details of failed VM, for catching all vm errors
309
310
  logger.error(f"Failed to verify virtctl SSH login for the following VMs: {', '.join(failure_vms)}")
310
311
  # Upload artifacts in validation
@@ -104,6 +104,7 @@ class WorkloadsOperations:
104
104
  self._windows_url = self._environment_variables_dict.get('windows_url', '')
105
105
  self._delete_all = self._environment_variables_dict.get('delete_all', '')
106
106
  self._verification_only = self._environment_variables_dict.get('verification_only', '')
107
+ self._must_gather_log = self._environment_variables_dict.get('must_gather_log', '')
107
108
  self._test_name = self._environment_variables_dict.get('test_name', '')
108
109
  self._wait_for_upgrade_version = self._environment_variables_dict.get('wait_for_upgrade_version', '')
109
110
  if self._windows_url:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: benchmark-runner
3
- Version: 1.0.824
3
+ Version: 1.0.826
4
4
  Summary: Benchmark Runner Tool
5
5
  Home-page: https://github.com/redhat-performance/benchmark-runner
6
6
  Author: Red Hat
@@ -162,20 +162,20 @@ benchmark_runner/krkn_hub/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
162
162
  benchmark_runner/krkn_hub/krknhub_exceptions.py,sha256=Hk7Co6zZ0u2RSmBmS4ZAi21ffZaQ2ITTfl6tGLtiAdY,180
163
163
  benchmark_runner/krkn_hub/krknhub_workloads.py,sha256=l25JBmOV8Rq6SMLEKma7IIsx0Q6GJJ9TKS-OHoOuFxw,3275
164
164
  benchmark_runner/main/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
165
- benchmark_runner/main/environment_variables.py,sha256=ZJxetHK3JXIubW6Ph_gjwmvindb4tKYk_24BteXNW_Y,29087
165
+ benchmark_runner/main/environment_variables.py,sha256=YZf60XLWsTrxuBXSQARgjl5DMEGVjZlPgtarZCGIKsE,29321
166
166
  benchmark_runner/main/environment_variables_exceptions.py,sha256=UR0Ith0P0oshsDZdJRlRq8ZUTt0h8jFvUtrnP4m4AIY,437
167
167
  benchmark_runner/main/main.py,sha256=A744O550wQh37hhk10H0HlT28LZ_2EOaRlJyWG6Pras,14083
168
168
  benchmark_runner/main/temporary_environment_variables.py,sha256=ODSHkfhgvdr_b2e3XyvykW21MVjSdyqimREyMc2klRE,957
169
169
  benchmark_runner/workloads/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
170
- benchmark_runner/workloads/bootstorm_vm.py,sha256=yA6xuBQJSFz1a8YgwLgUlt6BcxjopGURLG-Z0KYWkp8,21476
170
+ benchmark_runner/workloads/bootstorm_vm.py,sha256=ZgIiUF3ayMm3FQZwWDUsd8HhjzqCheDJlv_5Puzw4_E,21526
171
171
  benchmark_runner/workloads/vdbench_pod.py,sha256=feu3lvNumfBCD-An6__xS5Kt9nA50A_-0FmqTXuU9iw,10011
172
172
  benchmark_runner/workloads/vdbench_vm.py,sha256=4rRbE-jAbmNrhP-k8F_OREkJ59VfQ7wLrfRQPwDneJg,9786
173
173
  benchmark_runner/workloads/windows_vm.py,sha256=qFVD3qBFMnVpYXnrpam-7H5-0Yzvx6qtaEEZx4T-ex4,2415
174
174
  benchmark_runner/workloads/workloads.py,sha256=F9fnk4h715tq7ANSCbDH0jktB8fpr_u3YG61Kdi5_os,1422
175
175
  benchmark_runner/workloads/workloads_exceptions.py,sha256=u7VII95iPRF_YhfpGH1U1RmgiIYESMOtbSF1dz7_ToE,1858
176
- benchmark_runner/workloads/workloads_operations.py,sha256=DUwvmswAgOXEbrVrV8OTRhrX4K18jnCwedHo9-W5z2s,27068
177
- benchmark_runner-1.0.824.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
178
- benchmark_runner-1.0.824.dist-info/METADATA,sha256=EtPVAffE9Wtn5SmHq11C5oSsWZpZgzfX6Bsd6JAHATg,11520
179
- benchmark_runner-1.0.824.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
180
- benchmark_runner-1.0.824.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
181
- benchmark_runner-1.0.824.dist-info/RECORD,,
176
+ benchmark_runner/workloads/workloads_operations.py,sha256=8utD-uU_MNZn5JOC2r5OVq5BfCPkxlUvP3xlUP9oIGk,27160
177
+ benchmark_runner-1.0.826.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
178
+ benchmark_runner-1.0.826.dist-info/METADATA,sha256=AlJdmxMG2C7tZSiPdPoepIrBbIgtLYakH1Id0RWpqbY,11520
179
+ benchmark_runner-1.0.826.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
180
+ benchmark_runner-1.0.826.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
181
+ benchmark_runner-1.0.826.dist-info/RECORD,,