benchmark-runner 1.0.796__py3-none-any.whl → 1.0.798__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,8 +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
- # verify after test
96
- self._environment_variables_dict['verify_after_test'] = EnvironmentVariables.get_env('VERIFY_AFTER_TEST', '')
95
+ # test name
96
+ self._environment_variables_dict['test_name'] = EnvironmentVariables.get_env('TEST_NAME', '')
97
97
 
98
98
  # default parameter - change only if needed
99
99
  # Parameters below related to 'run_workload()'
@@ -238,6 +238,11 @@ class EnvironmentVariables:
238
238
  self._environment_variables_dict['wait_for_upgrade_version'] = EnvironmentVariables.get_env('WAIT_FOR_UPGRADE_VERSION', '')
239
239
  # candidate/ stable (default)
240
240
  self._environment_variables_dict['upgrade_channel'] = EnvironmentVariables.get_env('UPGRADE_CHANNEL', '')
241
+ # upgrade masters duration seconds
242
+ self._environment_variables_dict['upgrade_masters_duration_seconds'] = EnvironmentVariables.get_env('UPGRADE_MASTERS_DURATION_SECONDS', '')
243
+ # upgrade workers duration seconds
244
+ self._environment_variables_dict['upgrade_workers_duration_seconds'] = EnvironmentVariables.get_env('UPGRADE_WORKERS_DURATION_SECONDS', '')
245
+
241
246
 
242
247
  # SNO or empty for regular
243
248
  self._environment_variables_dict['cluster_type'] = EnvironmentVariables.get_env('CLUSTER_TYPE', '')
@@ -187,7 +187,7 @@ class BootstormVM(WorkloadsOperations):
187
187
  'node': vm_node,
188
188
  'virtctl_vm': 1 if str(virtctl_status).lower() == "true" else 0, # int value for Grafana
189
189
  'virtctl_status': virtctl_status,
190
- 'verify_after_test': self._verify_after_test,
190
+ 'test_name': self._test_name,
191
191
  'run_artifacts_url': os.path.join(
192
192
  self._run_artifacts_url,
193
193
  f"{self._get_run_artifacts_hierarchy(self._workload_name, True)}-{self._time_stamp_format}.tar.gz"
@@ -104,7 +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._verify_after_test = self._environment_variables_dict.get('verify_after_test', '')
107
+ self._test_name = self._environment_variables_dict.get('test_name', '')
108
108
  self._wait_for_upgrade_version = self._environment_variables_dict.get('wait_for_upgrade_version', '')
109
109
  if self._windows_url:
110
110
  file_name = os.path.basename(self._windows_url)
@@ -120,6 +120,8 @@ class WorkloadsOperations:
120
120
  google_drive_token_file=self._google_drive_token_file,
121
121
  google_drive_shared_drive_id=self._google_drive_shared_drive_id)
122
122
  self._upgrade_ocp_version = self._environment_variables_dict.get('upgrade_ocp_version', '')
123
+ self._upgrade_masters_duration_seconds = self._environment_variables_dict.get('upgrade_masters_duration_seconds', '0')
124
+ self._upgrade_workers_duration_seconds = self._environment_variables_dict.get('upgrade_workers_duration_seconds', '0')
123
125
  self._run_strategy = self._environment_variables_dict.get('run_strategy', '')
124
126
 
125
127
  def _get_workload_file_name(self, workload):
@@ -466,7 +468,7 @@ class WorkloadsOperations:
466
468
  if ocp_resource_install_minutes_time != 0:
467
469
  bm_operations = BareMetalOperations(user=self._environment_variables_dict.get('provision_user', ''))
468
470
  ocp_install_minutes_time = bm_operations.get_ocp_install_time()
469
- metadata.update({'status': status, 'status#': status_dict[status], 'ci_minutes_time': ci_minutes_time, 'benchmark_runner_id': benchmark_runner_id, 'benchmark_operator_id': benchmark_operator_id, 'benchmark_wrapper_id': benchmark_wrapper_id, 'ocp_install_minutes_time': ocp_install_minutes_time, 'ocp_resource_install_minutes_time': ocp_resource_install_minutes_time})
471
+ metadata.update({'status': status, 'status#': status_dict[status], 'ci_minutes_time': ci_minutes_time, 'benchmark_runner_id': benchmark_runner_id, 'benchmark_operator_id': benchmark_operator_id, 'benchmark_wrapper_id': benchmark_wrapper_id, 'ocp_install_minutes_time': ocp_install_minutes_time, 'ocp_resource_install_minutes_time': ocp_resource_install_minutes_time, 'upgrade_masters_duration_seconds': int(float(self._upgrade_masters_duration_seconds)), 'upgrade_workers_duration_seconds': int(float(self._upgrade_workers_duration_seconds))})
470
472
  self._es_operations.upload_to_elasticsearch(index=es_index, data=metadata)
471
473
 
472
474
  @logger_time_stamp
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: benchmark-runner
3
- Version: 1.0.796
3
+ Version: 1.0.798
4
4
  Summary: Benchmark Runner Tool
5
5
  Home-page: https://github.com/redhat-performance/benchmark-runner
6
6
  Author: Red Hat
@@ -161,20 +161,20 @@ benchmark_runner/krkn_hub/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
161
161
  benchmark_runner/krkn_hub/krknhub_exceptions.py,sha256=Hk7Co6zZ0u2RSmBmS4ZAi21ffZaQ2ITTfl6tGLtiAdY,180
162
162
  benchmark_runner/krkn_hub/krknhub_workloads.py,sha256=vUEw5y1rkhspxPdRFTHF_jKo1XwVphtkL-oSQQULVyI,3032
163
163
  benchmark_runner/main/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
164
- benchmark_runner/main/environment_variables.py,sha256=FoyqqzOTpsr1Gg7rYZZn6nNHhz2wrSMGFMMAjQslxG8,28728
164
+ benchmark_runner/main/environment_variables.py,sha256=ZJxetHK3JXIubW6Ph_gjwmvindb4tKYk_24BteXNW_Y,29087
165
165
  benchmark_runner/main/environment_variables_exceptions.py,sha256=UR0Ith0P0oshsDZdJRlRq8ZUTt0h8jFvUtrnP4m4AIY,437
166
166
  benchmark_runner/main/main.py,sha256=A744O550wQh37hhk10H0HlT28LZ_2EOaRlJyWG6Pras,14083
167
167
  benchmark_runner/main/temporary_environment_variables.py,sha256=ODSHkfhgvdr_b2e3XyvykW21MVjSdyqimREyMc2klRE,957
168
168
  benchmark_runner/workloads/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
169
- benchmark_runner/workloads/bootstorm_vm.py,sha256=B30o-9ZHGR5qZT_xhPTNAbF6GDXmlHnL8GBqjisNJks,20652
169
+ benchmark_runner/workloads/bootstorm_vm.py,sha256=zhjl0pchl--H9SD6yxNIDKhDvFyL2-WVZZtdBaddGdE,20636
170
170
  benchmark_runner/workloads/vdbench_pod.py,sha256=feu3lvNumfBCD-An6__xS5Kt9nA50A_-0FmqTXuU9iw,10011
171
171
  benchmark_runner/workloads/vdbench_vm.py,sha256=4rRbE-jAbmNrhP-k8F_OREkJ59VfQ7wLrfRQPwDneJg,9786
172
172
  benchmark_runner/workloads/windows_vm.py,sha256=qFVD3qBFMnVpYXnrpam-7H5-0Yzvx6qtaEEZx4T-ex4,2415
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
- benchmark_runner/workloads/workloads_operations.py,sha256=TDUcCClR6P1h7fuyIpelMx5-vmruHzRd9c6Nb0Ggj7s,25369
176
- benchmark_runner-1.0.796.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
177
- benchmark_runner-1.0.796.dist-info/METADATA,sha256=JkBuK1bexRqOm-5en0DLGi8LyxlQOcfWHbeqGIGOXyo,11520
178
- benchmark_runner-1.0.796.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
179
- benchmark_runner-1.0.796.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
180
- benchmark_runner-1.0.796.dist-info/RECORD,,
175
+ benchmark_runner/workloads/workloads_operations.py,sha256=4bFh7Hd2nVa48rONH7LMiwkNR8AS86IZikY29XI7r6o,25783
176
+ benchmark_runner-1.0.798.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
177
+ benchmark_runner-1.0.798.dist-info/METADATA,sha256=g7uYfYrJGiv6HHS4t4bYuGRXKZjlZmZxgDZ-8Ncd2No,11520
178
+ benchmark_runner-1.0.798.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
179
+ benchmark_runner-1.0.798.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
180
+ benchmark_runner-1.0.798.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.1)
2
+ Generator: setuptools (80.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5