benchmark-runner 1.0.798__py3-none-any.whl → 1.0.799__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.
- benchmark_runner/workloads/workloads_operations.py +9 -3
- {benchmark_runner-1.0.798.dist-info → benchmark_runner-1.0.799.dist-info}/METADATA +1 -1
- {benchmark_runner-1.0.798.dist-info → benchmark_runner-1.0.799.dist-info}/RECORD +6 -6
- {benchmark_runner-1.0.798.dist-info → benchmark_runner-1.0.799.dist-info}/WHEEL +1 -1
- {benchmark_runner-1.0.798.dist-info → benchmark_runner-1.0.799.dist-info}/licenses/LICENSE +0 -0
- {benchmark_runner-1.0.798.dist-info → benchmark_runner-1.0.799.dist-info}/top_level.txt +0 -0
|
@@ -120,8 +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', '
|
|
124
|
-
self._upgrade_workers_duration_seconds = self._environment_variables_dict.get('upgrade_workers_duration_seconds', '
|
|
123
|
+
self._upgrade_masters_duration_seconds = self._environment_variables_dict.get('upgrade_masters_duration_seconds', '')
|
|
124
|
+
self._upgrade_workers_duration_seconds = self._environment_variables_dict.get('upgrade_workers_duration_seconds', '')
|
|
125
125
|
self._run_strategy = self._environment_variables_dict.get('run_strategy', '')
|
|
126
126
|
|
|
127
127
|
def _get_workload_file_name(self, workload):
|
|
@@ -444,6 +444,12 @@ class WorkloadsOperations:
|
|
|
444
444
|
"""
|
|
445
445
|
self._es_operations.verify_elasticsearch_data_uploaded(index=index, uuid=uuid)
|
|
446
446
|
|
|
447
|
+
def __parse_duration(self, value):
|
|
448
|
+
try:
|
|
449
|
+
return int(float(value))
|
|
450
|
+
except (TypeError, ValueError):
|
|
451
|
+
return None
|
|
452
|
+
|
|
447
453
|
@logger_time_stamp
|
|
448
454
|
def update_ci_status(self, status: str, ci_minutes_time: int, benchmark_runner_id: str, benchmark_operator_id: str, benchmark_wrapper_id: str, ocp_install_minutes_time: int = 0, ocp_resource_install_minutes_time: int = 0):
|
|
449
455
|
"""
|
|
@@ -468,7 +474,7 @@ class WorkloadsOperations:
|
|
|
468
474
|
if ocp_resource_install_minutes_time != 0:
|
|
469
475
|
bm_operations = BareMetalOperations(user=self._environment_variables_dict.get('provision_user', ''))
|
|
470
476
|
ocp_install_minutes_time = bm_operations.get_ocp_install_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':
|
|
477
|
+
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': self.__parse_duration(self._upgrade_masters_duration_seconds), 'upgrade_workers_duration_seconds': self.__parse_duration(self._upgrade_workers_duration_seconds)})
|
|
472
478
|
self._es_operations.upload_to_elasticsearch(index=es_index, data=metadata)
|
|
473
479
|
|
|
474
480
|
@logger_time_stamp
|
|
@@ -172,9 +172,9 @@ benchmark_runner/workloads/vdbench_vm.py,sha256=4rRbE-jAbmNrhP-k8F_OREkJ59VfQ7wL
|
|
|
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=
|
|
176
|
-
benchmark_runner-1.0.
|
|
177
|
-
benchmark_runner-1.0.
|
|
178
|
-
benchmark_runner-1.0.
|
|
179
|
-
benchmark_runner-1.0.
|
|
180
|
-
benchmark_runner-1.0.
|
|
175
|
+
benchmark_runner/workloads/workloads_operations.py,sha256=IZ1-4yvFfl_9YTeZkrv3fMYSZ72JpDUOG3-wpbUO3a4,25957
|
|
176
|
+
benchmark_runner-1.0.799.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
177
|
+
benchmark_runner-1.0.799.dist-info/METADATA,sha256=D4AqDeKZXlpiHkzvBAr1M9y2UJvr8_9R_pe_4onu0kI,11520
|
|
178
|
+
benchmark_runner-1.0.799.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
|
|
179
|
+
benchmark_runner-1.0.799.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
|
|
180
|
+
benchmark_runner-1.0.799.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|