Revert "Replace autotest.tar.bz2 with autotest.tar at Dev server"
No control files are found in the autotest.tar. Reverting for now.
This reverts commit d4d426532ea2286ef53dc2550200d53b93fc621c
Change-Id: Ic2cbe8c64a4b444e8c4ca669056ca43ac5abf461
Reviewed-on: https://gerrit.chromium.org/gerrit/27015
Commit-Ready: Scott Zawalski <scottz@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: Scott Zawalski <scottz@chromium.org>
diff --git a/downloadable_artifact.py b/downloadable_artifact.py
index 1936e2b..bf16885 100644
--- a/downloadable_artifact.py
+++ b/downloadable_artifact.py
@@ -17,7 +17,7 @@
STATEFUL_UPDATE = 'stateful.tgz'
TEST_IMAGE = 'chromiumos_test_image.bin'
ROOT_UPDATE = 'update.gz'
-AUTOTEST_PACKAGE = 'autotest.tar'
+AUTOTEST_PACKAGE = 'autotest.tar.bz2'
TEST_SUITES_PACKAGE = 'test_suites.tar.bz2'
@@ -109,17 +109,6 @@
class AutotestTarball(Tarball):
"""Wrapper around the autotest tarball to download from gsutil."""
- def _ExtractTarball(self, exclude=None):
- """Extracts the tarball into the install_path with optional exclude path."""
- exclude_str = '--exclude=%s' % exclude if exclude else ''
- cmd = 'tar xf %s %s --directory=%s' % (
- self._tmp_stage_path, exclude_str, self._install_path)
- msg = 'An error occurred when attempting to untar %s' % self._tmp_stage_path
- try:
- subprocess.check_call(cmd, shell=True)
- except subprocess.CalledProcessError, e:
- raise ArtifactDownloadError('%s %s' % (msg, e))
-
def Stage(self):
"""Untars the autotest tarball into the install path excluding test suites.
"""