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

@@ -314,12 +314,18 @@ class WorkloadsOperations:
314
314
 
315
315
  def __make_run_artifacts_tarfile(self, workload: str):
316
316
  """
317
- This method compresses the log file and returns the compressed path
318
- :return:
317
+ This method compresses the run artifacts directory and returns the compressed file path.
318
+ :param workload: The name of the workload used to name the archive contents.
319
+ :return: Path to the created tar.gz file.
319
320
  """
320
- tar_run_artifacts_path = f"{self._run_artifacts_path}.tar.gz"
321
+ if self._test_name:
322
+ tar_run_artifacts_path = f"{self._run_artifacts_path}_{self._test_name}.tar.gz"
323
+ else:
324
+ tar_run_artifacts_path = f"{self._run_artifacts_path}.tar.gz"
321
325
  with tarfile.open(tar_run_artifacts_path, mode='w:gz') as archive:
322
326
  workload_file_name = self._get_workload_file_name(workload)
327
+ if self._test_name:
328
+ workload_file_name= f'{workload_file_name}_{self._test_name}'
323
329
  archive.add(self._run_artifacts_path, arcname=workload_file_name, recursive=True)
324
330
  return tar_run_artifacts_path
325
331
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: benchmark-runner
3
- Version: 1.0.800
3
+ Version: 1.0.801
4
4
  Summary: Benchmark Runner Tool
5
5
  Home-page: https://github.com/redhat-performance/benchmark-runner
6
6
  Author: Red Hat
@@ -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=IZ1-4yvFfl_9YTeZkrv3fMYSZ72JpDUOG3-wpbUO3a4,25957
176
- benchmark_runner-1.0.800.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
177
- benchmark_runner-1.0.800.dist-info/METADATA,sha256=uJGDF-2llBRLJEEqx1ymicgfkvRixdQccjIwt64HBbU,11520
178
- benchmark_runner-1.0.800.dist-info/WHEEL,sha256=GHB6lJx2juba1wDgXDNlMTyM13ckjBMKf-OnwgKOCtA,91
179
- benchmark_runner-1.0.800.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
180
- benchmark_runner-1.0.800.dist-info/RECORD,,
175
+ benchmark_runner/workloads/workloads_operations.py,sha256=CEh2YoKe5LQnMHpzlC0-zQnHhp5Y8Obq1Sbqp-CsRuA,26344
176
+ benchmark_runner-1.0.801.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
177
+ benchmark_runner-1.0.801.dist-info/METADATA,sha256=qCkspVO345PMBy_W_enFSJy9P99dZXv4JKcZeeklVkc,11520
178
+ benchmark_runner-1.0.801.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
179
+ benchmark_runner-1.0.801.dist-info/top_level.txt,sha256=MP7UbTCzu59D53uKCZl5VsQeM_vheyMc7FmryczJQbk,17
180
+ benchmark_runner-1.0.801.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.3.0)
2
+ Generator: setuptools (80.3.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5