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

@@ -88,8 +88,10 @@ class EnvironmentVariables:
88
88
  self._environment_variables_dict['windows_url'] = EnvironmentVariables.get_env('WINDOWS_URL', '')
89
89
  # Delete all resources before and after the run, default True
90
90
  self._environment_variables_dict['delete_all'] = EnvironmentVariables.get_boolean_from_environment('DELETE_ALL', True)
91
- # Run RunStrategy: Always can be set to True or False (default: False). Set it to True for VMs that need to start in a running state
91
+ # RunStrategy: Always can be set to True or False, default: False. Set it to True for VMs that need to start in a running state
92
92
  self._environment_variables_dict['run_strategy'] = EnvironmentVariables.get_boolean_from_environment('RUN_STRATEGY', False)
93
+ # Creating VMs only without deletion, default False (when True: configure RUN_STRATEGY: True/ DELETE_ALL: False)
94
+ self._environment_variables_dict['create_vms_only'] = EnvironmentVariables.get_boolean_from_environment('CREATE_VMS_ONLY', False)
93
95
  # Verification only, without running or deleting any resources, default False
94
96
  self._environment_variables_dict['verification_only'] = EnvironmentVariables.get_boolean_from_environment('VERIFICATION_ONLY', False)
95
97
  # Collect CNV/ODF must-gather logs in case of VM verification failure (default: False).
@@ -422,8 +422,11 @@ class BootstormVM(WorkloadsOperations):
422
422
  # scale
423
423
  else:
424
424
  first_run_time_updated = False
425
- # Run VMs only
426
- if not self._delete_all:
425
+ # Create VMs
426
+ if self._create_vms_only:
427
+ steps = (self._create_vm_scale, )
428
+ # Run VMs without deleting
429
+ elif not self._delete_all:
427
430
  steps = (self._create_vm_scale, self._run_vm_scale)
428
431
  else:
429
432
  steps = (self._create_vm_scale, self._run_vm_scale, self._stop_vm_scale,
@@ -102,6 +102,7 @@ class WorkloadsOperations:
102
102
  self._prometheus_snap_interval = self._environment_variables_dict.get('prometheus_snap_interval', '')
103
103
  self._prometheus_metrics_operation = PrometheusMetricsOperation()
104
104
  self._windows_url = self._environment_variables_dict.get('windows_url', '')
105
+ self._create_vms_only = self._environment_variables_dict.get('create_vms_only', '')
105
106
  self._delete_all = self._environment_variables_dict.get('delete_all', '')
106
107
  self._verification_only = self._environment_variables_dict.get('verification_only', '')
107
108
  self._must_gather_log = self._environment_variables_dict.get('must_gather_log', '')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: benchmark-runner
3
- Version: 1.0.838
3
+ Version: 1.0.840
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=YZf60XLWsTrxuBXSQARgjl5DMEGVjZlPgtarZCGIKsE,29321
165
+ benchmark_runner/main/environment_variables.py,sha256=RuR5hQleF4kkUu1T0BVuOdRHm4ROiKleEJmkKaAvt4o,29575
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=H55cOHeEIPsb2kxxiXhO0Wuu5wHV0u_61dHbAsvy9VY,21619
170
+ benchmark_runner/workloads/bootstorm_vm.py,sha256=mVEn8ZDdfZ8deyCA2YEwL0K-oZA5CJIfF5mrpbDDjLo,21758
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=8utD-uU_MNZn5JOC2r5OVq5BfCPkxlUvP3xlUP9oIGk,27160
177
- benchmark_runner-1.0.838.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
178
- benchmark_runner-1.0.838.dist-info/METADATA,sha256=78oDkfvkRDTgur6tUghpqCHcqPSJGoEoBCothjWkRpU,11582
179
- benchmark_runner-1.0.838.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
180
- benchmark_runner-1.0.838.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
181
- benchmark_runner-1.0.838.dist-info/RECORD,,
176
+ benchmark_runner/workloads/workloads_operations.py,sha256=jqNsq7yRkfI0TGyypz0TnGhIu8tHAQOrvrRHCvGA240,27252
177
+ benchmark_runner-1.0.840.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
178
+ benchmark_runner-1.0.840.dist-info/METADATA,sha256=JUgzJHN7xYGf_kjxBq8B7y9Lw9i90a5-inzthAptFV0,11582
179
+ benchmark_runner-1.0.840.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
180
+ benchmark_runner-1.0.840.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
181
+ benchmark_runner-1.0.840.dist-info/RECORD,,