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

@@ -44,6 +44,12 @@ class KrknHubWorkloads(WorkloadsOperations):
44
44
  """
45
45
  if self._enable_prometheus_snapshot:
46
46
  self.end_prometheus()
47
+ if self._google_drive_shared_drive_id:
48
+ self.upload_run_artifacts_to_google_drive()
49
+ elif self._endpoint_url:
50
+ self.upload_run_artifacts_to_s3()
51
+ else:
52
+ self._save_artifacts_local = True
47
53
  self.delete_all()
48
54
 
49
55
  @logger_time_stamp
@@ -123,15 +123,15 @@ class BootstormVM(WorkloadsOperations):
123
123
  self._data_dict.update(self._prometheus_result)
124
124
  total_run_time = self._get_bootstorm_vm_total_run_time()
125
125
  self._data_dict.update({'total_run_time': total_run_time})
126
- # Google drive run_artifacts_url folder path
127
- if self._google_drive_path and self.get_run_artifacts_google_drive():
128
- self._data_dict.update({'run_artifacts_url': self.get_run_artifacts_google_drive()})
129
- if self._es_host:
130
- # upload several run results
131
- self._upload_to_elasticsearch(index=self._es_index, kind=self._kind, status=self._status,
132
- result=self._data_dict)
133
- # verify that data upload to elastic search according to unique uuid
134
- self._verify_elasticsearch_data_uploaded(index=self._es_index, uuid=self._uuid)
126
+ # Google drive run_artifacts_url folder path
127
+ if self._google_drive_path and self.get_run_artifacts_google_drive():
128
+ self._data_dict.update({'run_artifacts_url': self.get_run_artifacts_google_drive()})
129
+ if self._es_host:
130
+ # upload several run results
131
+ self._upload_to_elasticsearch(index=self._es_index, kind=self._kind, status=self._status,
132
+ result=self._data_dict)
133
+ # verify that data upload to elastic search according to unique uuid
134
+ self._verify_elasticsearch_data_uploaded(index=self._es_index, uuid=self._uuid)
135
135
 
136
136
  def _run_vm(self):
137
137
  """
@@ -292,19 +292,19 @@ class BootstormVM(WorkloadsOperations):
292
292
  odf_version=self._odf_version)
293
293
  # Error log with details of failed VM, for catching all vm errors
294
294
  logger.error(f"Failed to verify virtctl SSH login for the following VMs: {', '.join(failure_vms)}")
295
- # Upload artifacts
296
- if self._google_drive_shared_drive_id:
297
- self.upload_run_artifacts_to_google_drive()
298
- elif self._endpoint_url and not self._google_drive_shared_drive_id:
299
- self.upload_run_artifacts_to_s3()
300
- else:
301
- self._save_artifacts_local = True
302
- if self._es_host:
303
- self._data_dict.update({'run_artifacts_url': self.get_run_artifacts_google_drive()})
304
- # upload several run results
305
- self._upload_to_elasticsearch(index=self._es_index, kind=self._kind, status=self._status,result=self._data_dict)
306
- # verify that data upload to elastic search according to unique uuid
307
- self._verify_elasticsearch_data_uploaded(index=self._es_index, uuid=self._uuid)
295
+ # Upload artifacts
296
+ if self._google_drive_shared_drive_id:
297
+ self.upload_run_artifacts_to_google_drive()
298
+ elif self._endpoint_url:
299
+ self.upload_run_artifacts_to_s3()
300
+ else:
301
+ self._save_artifacts_local = True
302
+ if self._es_host:
303
+ self._data_dict.update({'run_artifacts_url': self.get_run_artifacts_google_drive(), 'failure_vms': failure_vms, 'verification_failure': True})
304
+ # upload several run results
305
+ self._upload_to_elasticsearch(index=self._es_index, kind=self._kind, status=self._status,result=self._data_dict)
306
+ # verify that data upload to elastic search according to unique uuid
307
+ self._verify_elasticsearch_data_uploaded(index=self._es_index, uuid=self._uuid)
308
308
 
309
309
  except Exception as err:
310
310
  # Save run artifacts logs
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: benchmark-runner
3
- Version: 1.0.802
3
+ Version: 1.0.804
4
4
  Summary: Benchmark Runner Tool
5
5
  Home-page: https://github.com/redhat-performance/benchmark-runner
6
6
  Author: Red Hat
@@ -159,22 +159,22 @@ benchmark_runner/jupyterlab/templates/summary_report/summary_report_operations.p
159
159
  benchmark_runner/jupyterlab/templates/summary_report/summary_report_widgets.py,sha256=CQxcr0jQMZZHb9dMHpEznOOcVB4alr070Vszku8tXLA,12168
160
160
  benchmark_runner/krkn_hub/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
161
161
  benchmark_runner/krkn_hub/krknhub_exceptions.py,sha256=Hk7Co6zZ0u2RSmBmS4ZAi21ffZaQ2ITTfl6tGLtiAdY,180
162
- benchmark_runner/krkn_hub/krknhub_workloads.py,sha256=vUEw5y1rkhspxPdRFTHF_jKo1XwVphtkL-oSQQULVyI,3032
162
+ benchmark_runner/krkn_hub/krknhub_workloads.py,sha256=J81RbmUI0-ldYc2OXBH-aUotQ9kZpIUcbDYvcqZvU1E,3274
163
163
  benchmark_runner/main/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
164
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=zhjl0pchl--H9SD6yxNIDKhDvFyL2-WVZZtdBaddGdE,20636
169
+ benchmark_runner/workloads/bootstorm_vm.py,sha256=N6tcz22anMWvUQC3oOJr6wAM_e2epiR7x2Aze_9Xp1M,20667
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
175
  benchmark_runner/workloads/workloads_operations.py,sha256=cuhGZA1n1Ing0amC-f9Y4MYtwQrFGyaoZUNkpZObKX4,26432
176
- benchmark_runner-1.0.802.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
177
- benchmark_runner-1.0.802.dist-info/METADATA,sha256=ctIyyXcR1YQlhSxzqbvDIsdY-7N0VuqHghVQUrrEZ4M,11520
178
- benchmark_runner-1.0.802.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
179
- benchmark_runner-1.0.802.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
180
- benchmark_runner-1.0.802.dist-info/RECORD,,
176
+ benchmark_runner-1.0.804.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
177
+ benchmark_runner-1.0.804.dist-info/METADATA,sha256=g5A2bNjJMidUKyXQedmnG4YFIa9E22SZON-gYP5fGcU,11520
178
+ benchmark_runner-1.0.804.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
179
+ benchmark_runner-1.0.804.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
180
+ benchmark_runner-1.0.804.dist-info/RECORD,,