[Piuparts-commits] [piuparts] 09/13: report_newly_bugged_packages: run piuparts-analyze via timeout

Holger Levsen holger at moszumanska.debian.org
Sun Nov 24 05:28:34 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 0fed2465771d282518b4339f91f9433761a38769
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Nov 24 01:36:47 2013 +0100

    report_newly_bugged_packages: run piuparts-analyze via timeout
    
    to avoid infinite hanging on some network or bts issues
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 master-bin/report_newly_bugged_packages.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/master-bin/report_newly_bugged_packages.in b/master-bin/report_newly_bugged_packages.in
index 3b722ff..55d880d 100755
--- a/master-bin/report_newly_bugged_packages.in
+++ b/master-bin/report_newly_bugged_packages.in
@@ -35,7 +35,7 @@ for SECTION in $SECTIONS ; do
 		get_config_value DISTROS $SECTION upgrade-test-distros ''
 		distro=${DISTROS##* }
 		distro=${distro%-proposed}
-		@sharedir@/piuparts/piuparts-analyze $distro 2>&1 > $OUTPUT
+		timeout 60m @sharedir@/piuparts/piuparts-analyze $distro 2>&1 > $OUTPUT
 		if [ -s $OUTPUT ]; then
 			echo $SECTION
 			cat $OUTPUT

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