benchmark-runner 1.0.800__py3-none-any.whl → 1.0.802__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 +11 -3
- {benchmark_runner-1.0.800.dist-info → benchmark_runner-1.0.802.dist-info}/METADATA +1 -1
- {benchmark_runner-1.0.800.dist-info → benchmark_runner-1.0.802.dist-info}/RECORD +6 -6
- {benchmark_runner-1.0.800.dist-info → benchmark_runner-1.0.802.dist-info}/WHEEL +1 -1
- {benchmark_runner-1.0.800.dist-info → benchmark_runner-1.0.802.dist-info}/licenses/LICENSE +0 -0
- {benchmark_runner-1.0.800.dist-info → benchmark_runner-1.0.802.dist-info}/top_level.txt +0 -0
|
@@ -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
|
|
318
|
-
:
|
|
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
|
-
|
|
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
|
|
|
@@ -419,6 +425,8 @@ class WorkloadsOperations:
|
|
|
419
425
|
metadata.update({'vm_os_version': 'fedora37'})
|
|
420
426
|
if 'windows' in self._workload:
|
|
421
427
|
metadata.update({'vm_os_version': self._windows_os})
|
|
428
|
+
if self._test_name:
|
|
429
|
+
metadata.update({'test_name': self._test_name})
|
|
422
430
|
if result:
|
|
423
431
|
metadata.update(result)
|
|
424
432
|
|
|
@@ -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=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,,
|
|
File without changes
|
|
File without changes
|