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

@@ -33,7 +33,6 @@ class OC(SSH):
33
33
 
34
34
  def __init__(self, kubeadmin_password: str = ''):
35
35
  super().__init__()
36
- self.__kubeadmin_password = kubeadmin_password
37
36
  self.__environment_variables_dict = environment_variables.environment_variables_dict
38
37
  self._run_artifacts = self.__environment_variables_dict.get('run_artifacts_path', '')
39
38
  self.__elasticsearch_url = self.__environment_variables_dict.get('elasticsearch_url', '')
@@ -43,6 +42,10 @@ class OC(SSH):
43
42
  self.__worker_disk_ids = self.__environment_variables_dict.get('worker_disk_ids', '')
44
43
  if self.__worker_disk_ids:
45
44
  self.__worker_disk_ids = ast.literal_eval(self.__worker_disk_ids)
45
+ if kubeadmin_password:
46
+ self.__kubeadmin_password = kubeadmin_password
47
+ else:
48
+ self.__kubeadmin_password = self.__environment_variables_dict.get('kubeadmin_password', '')
46
49
 
47
50
  def get_ocp_server_version(self):
48
51
  """
@@ -217,6 +217,7 @@ class BootstormVM(WorkloadsOperations):
217
217
  failure_vms = [] # List to store failed VM names
218
218
 
219
219
  if self._wait_for_upgrade_version:
220
+ logger.info(f"wait for ocp upgrade version: {self._wait_for_upgrade_version}")
220
221
  upgrade_done = self._oc.get_cluster_status() == f'Cluster version is {self._wait_for_upgrade_version}'
221
222
  current_wait_time = 0
222
223
 
@@ -391,6 +391,7 @@ class WorkloadsOperations:
391
391
  :return:
392
392
  """
393
393
  date_format = '%Y_%m_%d'
394
+ self._oc.login()
394
395
  metadata = {'ocp_version': self._oc.get_ocp_server_version(),
395
396
  'previous_ocp_version': self._oc.get_previous_ocp_version() if self._upgrade_ocp_version else '',
396
397
  'cnv_version': self._oc.get_cnv_version(),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: benchmark-runner
3
- Version: 1.0.740
3
+ Version: 1.0.741
4
4
  Summary: Benchmark Runner Tool
5
5
  Home-page: https://github.com/redhat-performance/benchmark-runner
6
6
  Author: Red Hat
@@ -46,7 +46,7 @@ benchmark_runner/common/logger/init_logger.py,sha256=ERa-gNqrl2pZybj7v3csvmao7Mv
46
46
  benchmark_runner/common/logger/logger_exceptions.py,sha256=rivdlRm_jIsKQ53rP_-HX8emdtOmQNO4JuIkg8fnBoc,454
47
47
  benchmark_runner/common/logger/logger_time_stamp.py,sha256=2JgugN9LpXF4Ijx0wPRzz3DAGJB8eJpM5g1qPvbWbV8,1479
48
48
  benchmark_runner/common/oc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
- benchmark_runner/common/oc/oc.py,sha256=-ta6Z9H4D0GMX2mNt83M_j6Lr3u_7CgeBB2I_PyQcDs,67742
49
+ benchmark_runner/common/oc/oc.py,sha256=8dVYHOhg8dLN-zBxgFSLA5N-V86HIW3YT_Je1eNajwg,67895
50
50
  benchmark_runner/common/oc/oc_exceptions.py,sha256=4JDebyFqe6yIN6Y70E-oscWnme0t7Ggg_CJBBoOuFPs,6336
51
51
  benchmark_runner/common/ocp_resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
52
  benchmark_runner/common/ocp_resources/create_cnv.py,sha256=AXsyR8_g_RIFHz2rkyHzzvvUDIiGdOi9rZWJPhiPzDQ,3511
@@ -165,15 +165,15 @@ benchmark_runner/main/environment_variables_exceptions.py,sha256=UR0Ith0P0oshsDZ
165
165
  benchmark_runner/main/main.py,sha256=SB-rD4U_978gP8ojGUtIsYzhSsmzeEDsUfOiJQJdz9c,14097
166
166
  benchmark_runner/main/temporary_environment_variables.py,sha256=ODSHkfhgvdr_b2e3XyvykW21MVjSdyqimREyMc2klRE,957
167
167
  benchmark_runner/workloads/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
168
- benchmark_runner/workloads/bootstorm_vm.py,sha256=1dOThOr4QUptjHg-fV4_-T-0TpriyBvO6As94mLKMtU,18511
168
+ benchmark_runner/workloads/bootstorm_vm.py,sha256=gQcAhsu-5aWp55JqzgLUskCZGZrX53KXoE_Cz2O-6HA,18606
169
169
  benchmark_runner/workloads/vdbench_pod.py,sha256=OcmxVr5QlbkhAgY37wsZ7xJUjs9HI-qMVDex1HdL2P0,9778
170
170
  benchmark_runner/workloads/vdbench_vm.py,sha256=Yhoz-GbvZwA8q6qGIeSUsYhEIERj8SmJB1yjetwsGow,9449
171
171
  benchmark_runner/workloads/windows_vm.py,sha256=eHK79ueAkSlNC1uamz19o7CO20wzJi-UIqRuTByTVxg,2373
172
172
  benchmark_runner/workloads/workloads.py,sha256=F9fnk4h715tq7ANSCbDH0jktB8fpr_u3YG61Kdi5_os,1422
173
173
  benchmark_runner/workloads/workloads_exceptions.py,sha256=u7VII95iPRF_YhfpGH1U1RmgiIYESMOtbSF1dz7_ToE,1858
174
- benchmark_runner/workloads/workloads_operations.py,sha256=zhMAL-Zc2JtdI-LG4kxGwbGwHaLY2DfklpzM4bBG-eo,25261
175
- benchmark_runner-1.0.740.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
176
- benchmark_runner-1.0.740.dist-info/METADATA,sha256=y_Yy8xdbItGuAITl1xQJe4blHuymN2ugMbGRou2teuI,11498
177
- benchmark_runner-1.0.740.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
178
- benchmark_runner-1.0.740.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
179
- benchmark_runner-1.0.740.dist-info/RECORD,,
174
+ benchmark_runner/workloads/workloads_operations.py,sha256=SdddQUbAN5biRjZr5CvmlgKxcE4xatCnoSBm9cn1K9A,25286
175
+ benchmark_runner-1.0.741.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
176
+ benchmark_runner-1.0.741.dist-info/METADATA,sha256=CYjJUj8bTiL6JYOjMDsy4FQeULdR3_JDyBeJvunwZJQ,11498
177
+ benchmark_runner-1.0.741.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
178
+ benchmark_runner-1.0.741.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
179
+ benchmark_runner-1.0.741.dist-info/RECORD,,