[Piuparts-commits] [piuparts] 06/16: report_newly_bugged_packages: report if piuparts-analyze was killed after timeout
Holger Levsen
holger at layer-acht.org
Thu Apr 13 15:04:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 336f494568ccedef09036c2a5f6407305b302a5d
Author: Andreas Beckmann <anbe at debian.org>
Date: Tue Apr 11 12:14:47 2017 +0200
report_newly_bugged_packages: report if piuparts-analyze was killed after timeout
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
master-bin/report_newly_bugged_packages.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/master-bin/report_newly_bugged_packages.in b/master-bin/report_newly_bugged_packages.in
index 55d880d..b77e28c 100755
--- a/master-bin/report_newly_bugged_packages.in
+++ b/master-bin/report_newly_bugged_packages.in
@@ -36,6 +36,11 @@ for SECTION in $SECTIONS ; do
distro=${DISTROS##* }
distro=${distro%-proposed}
timeout 60m @sharedir@/piuparts/piuparts-analyze $distro 2>&1 > $OUTPUT
+ if [ $? = 124 ]; then
+ echo >> $OUTPUT
+ echo "Killed after timeout" >> $OUTPUT
+ fi
+
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