From 66817d5fc0d9433abe44cfee1ad99159f1a9463d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 14 Dec 2015 15:32:00 +0100 Subject: reproducible rpms: detect builds killed by timeout --- bin/reproducible_html_rpms.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin/reproducible_html_rpms.sh') diff --git a/bin/reproducible_html_rpms.sh b/bin/reproducible_html_rpms.sh index fb5794e7..03c5584e 100755 --- a/bin/reproducible_html_rpms.sh +++ b/bin/reproducible_html_rpms.sh @@ -58,7 +58,11 @@ for PKG in $(find $RPMBASE/$RELEASE/$ARCH/* -maxdepth 1 -type d -exec basename { elif [ ! -z "$(egrep '^ERROR: Command failed. See logs for output.' $RPMBASE/$RELEASE/$ARCH/$PKG/build1.log)" ] ; then HTML_TARGET=$HTML_FTBFS let NR_FTBFS+=1 - echo " \"ftbfs failed to verify source" >> $HTML_BUFFER + echo " \"ftbfs failed to build" >> $HTML_BUFFER + elif [ ! -z "$(egrep 'mock was killed by timeout after' $RPMBASE/$RELEASE/$ARCH/$PKG/build1.log)" ] ; then + HTML_TARGET=$HTML_FTBFS + let NR_FTBFS+=1 + echo " \"ftbfs killed by timeout" >> $HTML_BUFFER else echo " probably failed to build from source, please investigate" >> $HTML_BUFFER HTML_TARGET=$HTML_UNKNOWN -- cgit v1.2.3-54-g00ecf