summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-29 18:19:40 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-29 18:19:40 +0200
commit756f736506ff97f196cdcee38be25295b826fc1d (patch)
tree32e8f64deb39f515fe55aa9d9170436583e63956
parent76472612590f0c1ffa1dd105f6efbd096f69318d (diff)
downloadjenkins.debian.net-756f736506ff97f196cdcee38be25295b826fc1d.tar.xz
reproducible: add logparse warnings for common failures
-rwxr-xr-xbin/reproducible_build.sh1
-rw-r--r--logparse/reproducible.rules5
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 73d89f28..c09fa2e4 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -140,6 +140,7 @@ for SRCPACKAGE in $PACKAGES ; do
fi
rm b1 b2 -rf
else
+ echo "Warning: ${SRCPACKAGE} failed to build from source."
sqlite3 -init $INIT $PACKAGES_DB "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"FTBFS\", \"$DATE\", \"\")"
mv ${SRCPACKAGE}_${VERSION}.pbuilder.log /var/lib/jenkins/userContent/pbuilder/
dcmd rm ${SRCPACKAGE}_${VERSION}.dsc
diff --git a/logparse/reproducible.rules b/logparse/reproducible.rules
index a7df1333..b0853ad9 100644
--- a/logparse/reproducible.rules
+++ b/logparse/reproducible.rules
@@ -1,6 +1,7 @@
# see https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin
# list of warnings here...
-warning /Warning: .+ failed to build reproducibly/
-
+warning /Warning: .+ failed to build reproducibly./
+warning /Warning: .+ is not a source package, or was removed or renamed. Please investigate./
+warning /Warning: .+ failed to build from source./