[Piuparts-commits] [piuparts] 01/03: p-s: sleep a bit if basetgz creation is in progress or failed

Holger Levsen holger at moszumanska.debian.org
Mon Dec 1 11:57:28 UTC 2014


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

holger pushed a commit to branch develop
in repository piuparts.

commit 547f5fbbc620bf1f5a31324a918047caab9cd315
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Dec 1 12:35:20 2014 +0100

    p-s: sleep a bit if basetgz creation is in progress or failed
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 debian/changelog  | 2 ++
 piuparts-slave.py | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 544758a..98cfbfd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,8 @@ piuparts (0.61) UNRELEASED; urgency=medium
   * distros.conf:
     - Add *updates, *backports, *proposed for jessie.
     - Switch 'testing' alias to 'stretch', but deactivate it for stable.
+  * piuparts-slave.py:
+    - Sleep for 5 minutes if basetgz creation is in progress or failed.
   * Add "AddDefaultCharset utf-8" to the apache2 configuration snipplet
     example, so that logfiles are displayed as UTF-8.
   * pre_install_foreign_architecture: New script to enable foreign
diff --git a/piuparts-slave.py b/piuparts-slave.py
index 87dc810..2e6be31 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -614,6 +614,8 @@ class Section:
 
         test_count = 0
         self._check_tarball()
+        if not os.path.exists(self._get_tarball()):
+            self._error_wait_until = time.time() + 300
         for package_name, version in self._slave.get_reserved():
             self._throttle_if_overloaded()
             if interrupted or got_sighup:

-- 
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