benchmark-runner 1.0.787__py3-none-any.whl → 1.0.788__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 +6 -6
- {benchmark_runner-1.0.787.dist-info → benchmark_runner-1.0.788.dist-info}/METADATA +1 -1
- {benchmark_runner-1.0.787.dist-info → benchmark_runner-1.0.788.dist-info}/RECORD +6 -6
- {benchmark_runner-1.0.787.dist-info → benchmark_runner-1.0.788.dist-info}/WHEEL +0 -0
- {benchmark_runner-1.0.787.dist-info → benchmark_runner-1.0.788.dist-info}/licenses/LICENSE +0 -0
- {benchmark_runner-1.0.787.dist-info → benchmark_runner-1.0.788.dist-info}/top_level.txt +0 -0
|
@@ -17,7 +17,7 @@ from benchmark_runner.common.clouds.shared.s3.s3_operations import S3Operations
|
|
|
17
17
|
from benchmark_runner.common.prometheus.prometheus_snapshot import PrometheusSnapshot
|
|
18
18
|
from benchmark_runner.common.prometheus.prometheus_snapshot_exceptions import PrometheusSnapshotError
|
|
19
19
|
from benchmark_runner.common.template_operations.template_operations import TemplateOperations
|
|
20
|
-
from benchmark_runner.common.clouds.
|
|
20
|
+
from benchmark_runner.common.clouds.BareMetal.bare_metal_operations import BareMetalOperations
|
|
21
21
|
from benchmark_runner.common.prometheus.prometheus_metrics_operations import PrometheusMetricsOperation
|
|
22
22
|
from benchmark_runner.common.google_drive.google_drive_operations import GoogleDriveOperations
|
|
23
23
|
|
|
@@ -390,7 +390,7 @@ class WorkloadsOperations:
|
|
|
390
390
|
"""
|
|
391
391
|
date_format = '%Y_%m_%d'
|
|
392
392
|
metadata = {'ocp_version': self._oc.get_ocp_server_version(),
|
|
393
|
-
'previous_ocp_version': self._oc.get_previous_ocp_version()
|
|
393
|
+
'previous_ocp_version': '' if len(self._oc.get_previous_ocp_version()) > 10 else self._oc.get_previous_ocp_version(),
|
|
394
394
|
'cnv_version': self._oc.get_cnv_version(),
|
|
395
395
|
'kata_version': self._oc.get_kata_operator_version(),
|
|
396
396
|
'kata_rpm_version': self._oc.get_kata_rpm_version(node=self._pin_node1),
|
|
@@ -455,15 +455,15 @@ class WorkloadsOperations:
|
|
|
455
455
|
"""
|
|
456
456
|
if self._run_type == 'test_ci':
|
|
457
457
|
es_index = 'ci-status-test'
|
|
458
|
+
elif self._run_type == 'chaos_ci':
|
|
459
|
+
es_index = 'ci-status-chaos'
|
|
458
460
|
else:
|
|
459
461
|
es_index = 'ci-status'
|
|
460
462
|
status_dict = {'failed': 0, 'pass': 1}
|
|
461
463
|
metadata = self.__get_metadata()
|
|
462
464
|
if ocp_resource_install_minutes_time != 0:
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
ocp_install_minutes_time = ibm_operations.get_ocp_install_time()
|
|
466
|
-
ibm_operations.ibm_disconnect()
|
|
465
|
+
bm_operations = BareMetalOperations(user=self._environment_variables_dict.get('provision_user', ''))
|
|
466
|
+
ocp_install_minutes_time = bm_operations.get_ocp_install_time()
|
|
467
467
|
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})
|
|
468
468
|
self._es_operations.upload_to_elasticsearch(index=es_index, data=metadata)
|
|
469
469
|
|
|
@@ -172,9 +172,9 @@ benchmark_runner/workloads/vdbench_vm.py,sha256=Yhoz-GbvZwA8q6qGIeSUsYhEIERj8SmJ
|
|
|
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=DtnlJKvJTlswKS6Xem4eA9rfIyUr1tMdJWz7qThgAPI,25228
|
|
176
|
+
benchmark_runner-1.0.788.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
177
|
+
benchmark_runner-1.0.788.dist-info/METADATA,sha256=uV4TawdMrVct8rjfXi8dYGMqtJDmo0To10vGE_L_qS0,11520
|
|
178
|
+
benchmark_runner-1.0.788.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
179
|
+
benchmark_runner-1.0.788.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
|
|
180
|
+
benchmark_runner-1.0.788.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|