From b1782c09a036dccb238842174eb5eaf882069fcf Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 30 Apr 2015 21:43:54 +0200 Subject: reproducible: maintenance: also auto-reschedule package which fail due to apt fails due to "Bad Gateway" --- bin/reproducible_maintenance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 893008c1..93afa3ff 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -62,7 +62,7 @@ fi # only grep through the last 5h (300 minutes) of builds... # (ignore "*None.rbuild.log" because these are build which were just started) # this job runs every 4h -FAILED_BUILDS=$(find $BASE/rbuild -type f ! -name "*None.rbuild.log" ! -mmin +300 -exec egrep -l -e 'E: Failed to fetch.*(Connection failed|Size mismatch|Cannot initiate the connection to)' {} \; || true) +FAILED_BUILDS=$(find $BASE/rbuild -type f ! -name "*None.rbuild.log" ! -mmin +300 -exec egrep -l -e 'E: Failed to fetch.*(Connection failed|Size mismatch|Cannot initiate the connection to|Bad Gateway)' {} \; || true) if [ ! -z "$FAILED_BUILDS" ] ; then echo echo "Warning: the following failed builds have been found" -- cgit v1.2.3-70-g09d2