[Piuparts-commits] [piuparts] 02/20: p-s: stop section processing if the chroot-tgz is missing

Holger Levsen holger at moszumanska.debian.org
Sat Nov 23 20:23:33 UTC 2013


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 1a1486078ed0c5564db016283f8237e787355b78
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sat Nov 9 17:03:50 2013 +0100

    p-s: stop section processing if the chroot-tgz is missing
    
    and try again later
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 piuparts-slave.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/piuparts-slave.py b/piuparts-slave.py
index fc1dc52..37c6b3d 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -599,6 +599,9 @@ class Section:
             self._throttle_if_overloaded()
             if interrupted or got_sighup:
                 break
+            if not os.path.exists(self._get_tarball()):
+                logging.error("Missing chroot-tgz %s" % self._get_tarball())
+                break
             test_count += 1
             self._test_package(package_name, version, packages_files)
             self._slave.forget_reserved(package_name, version)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list