From 699f6114f818c8d6cdd1d04d500cfba13c09958f Mon Sep 17 00:00:00 2001 From: Matthew G McGovern Date: Tue, 12 Nov 2024 09:08:45 -0800 Subject: [PATCH] TarDownloader: enable skip_old_files option in tar extract Dpdk: chi comments --- microsoft/testsuites/dpdk/common.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/microsoft/testsuites/dpdk/common.py b/microsoft/testsuites/dpdk/common.py index 6269925b24..5a78d134a1 100644 --- a/microsoft/testsuites/dpdk/common.py +++ b/microsoft/testsuites/dpdk/common.py @@ -152,10 +152,13 @@ def download(self) -> PurePath: self.asset_path = work_path.joinpath(tar_root_folder) # unpack into the dest dir # force name as tarfile name + # add option to skip files which already exist on disk + # in the event we have already extracted this specific tar node.tools[Tar].extract( file=str(remote_path), dest_dir=str(work_path), gzip=True, + skip_existing_files=True, ) return self.asset_path