aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-05-21 18:48:02 +0100
committerPascal Terjan <pterjan@gmail.com>2016-05-21 18:48:02 +0100
commit21e953932a1380b2746b2707ea9faef3cd1a8a2e (patch)
treeb4defb7d1e7d707aae541534f302762a741164d4 /ulri
parent998ae0fe95d34ed1040ab963023627ae9ee8e380 (diff)
downloadiurt-21e953932a1380b2746b2707ea9faef3cd1a8a2e.tar
iurt-21e953932a1380b2746b2707ea9faef3cd1a8a2e.tar.gz
iurt-21e953932a1380b2746b2707ea9faef3cd1a8a2e.tar.bz2
iurt-21e953932a1380b2746b2707ea9faef3cd1a8a2e.tar.xz
iurt-21e953932a1380b2746b2707ea9faef3cd1a8a2e.zip
Do not retry when a build succeeds while it is already being retried
Diffstat (limited to 'ulri')
-rwxr-xr-xulri4
1 files changed, 2 insertions, 2 deletions
diff --git a/ulri b/ulri
index 4473eaa..f632134 100755
--- a/ulri
+++ b/ulri
@@ -383,6 +383,8 @@ foreach my $prefix (keys %pkg_tree) {
next bot if $later;
+ next bot if $success && !$fail;
+
if (!$ended && !$fail) {
plog('FAIL', "$bot timed out on $host/$arch ($seconds sec) or " .
"it's dead (status $proc_state), removing lock");
@@ -390,8 +392,6 @@ foreach my $prefix (keys %pkg_tree) {
next bot;
}
- next bot if $success && !$fail;
-
if (!$status) {
plog('ERROR', "build bot died on $host, reschedule compilation");
next bot;