From 20da1c9e6d98879f61053404306e1c010919b021 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 13 Mar 2015 17:42:08 +0100 Subject: reproducible: fix strange syntax error by triggering warnings instead --- bin/reproducible_build.sh | 2 +- logparse/reproducible.rules | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index f8efd220..a2a12ac9 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -191,7 +191,7 @@ else # preserve RBUILDLOG as TMPLOG, then cleanup userContent from previous builds, # and then access RBUILDLOG with it's correct name (=eversion) TMPLOG=$(mktemp) - mv ${RBUILDLOG} ${TMPLOG} || { echo "Warning, package ${SRCPACKAGE} in ${SUITE} on ${ARCH} is probably already building elsewhere, exiting." ; echo "Warning, package ${SRCPACKAGE} in ${SUITE} on ${ARCH} is probably already building elsewhere, exiting." | mail -s "race condition found" qa-jenkins-scm@lists.alioth.debian.org ; exit 0 } + mv ${RBUILDLOG} ${TMPLOG} || { echo "Warning, package ${SRCPACKAGE} in ${SUITE} on ${ARCH} is probably already building elsewhere, exiting." ; exit 0 } cleanup_userContent RBUILDLOG=/var/lib/jenkins/userContent/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_${EVERSION}.rbuild.log mv ${TMPLOG} ${RBUILDLOG} diff --git a/logparse/reproducible.rules b/logparse/reproducible.rules index dcb928da..8350eece 100644 --- a/logparse/reproducible.rules +++ b/logparse/reproducible.rules @@ -12,3 +12,4 @@ warning /Warning: .+ could not be fully removed./ warning /Warning: could not download.+/ warning /Warning: the following failed builds have been found/ warning /Warning: cannot update html pages for.+/ +warning /Warning: package .+is probably already building elsewhere, exiting./ -- cgit v1.2.3-70-g09d2