diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-17 15:40:59 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-17 15:40:59 +0200 |
commit | 93e819f1f69d84d3d63277a955b424b9c278d61c (patch) | |
tree | 4b7ee45c6b697a751a05daa758f0cc84bed0c17e | |
parent | 7a65d0cd47f228452261ad2996a91ecd7cf94284 (diff) | |
download | jenkins.debian.net-93e819f1f69d84d3d63277a955b424b9c278d61c.tar.xz |
reproducible arch: detect more types of failures
-rwxr-xr-x | bin/reproducible_html_archlinux.sh | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 9aee0734..45e41096 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -48,13 +48,20 @@ for PKG in $(find $ARCHBASE/* -maxdepth 1 -type d -exec basename {} \;) ; do fi done if [ -z "$(cd $ARCHBASE/$PKG/ ; ls *.pkg.tar.xz.html 2>/dev/null)" ] ; then - if [ ! -z "$(grep 'ERROR: Could not resolve all dependencies' $ARCHBASE/$PKG/build1.log)" ] ; then + if [ ! -z "$(grep '==> ERROR: Could not resolve all dependencies' $ARCHBASE/$PKG/build1.log)" ] ; then write_page " <td>could not resolve dependencies</td>" - elif [ ! -z "$(egrep 'ERROR: .pacman. failed to install missing dependencies.' $ARCHBASE/$PKG/build1.log)" ] ; then + elif [ ! -z "$(egrep '==> ERROR: .pacman. failed to install missing dependencies.' $ARCHBASE/$PKG/build1.log)" ] ; then write_page " <td>failed to install dependencies</td>" - - else + elif [ ! -z "$(egrep '==> ERROR: A failure occurred in (build|package)' $ARCHBASE/$PKG/build1.log)" ] ; then write_page " <td>failed to build from source</td>" + elif [ ! -z "$(egrep '==> ERROR: A failure occurred in check' $ARCHBASE/$PKG/build1.log)" ] ; then + write_page " <td>failed to build from source, when running tests</td>" + elif [ ! -z "$(egrep '==> ERROR: Failure while downloading' $ARCHBASE/$PKG/build1.log)" ] ; then + write_page " <td>failed to download source</td>" + elif [ ! -z "$(egrep '==> ERROR: One or more files did not pass the validity check' $ARCHBASE/$PKG/build1.log)" ] ; then + write_page " <td>failed to verify source</td>" + else + write_page " <td>probably failed to build from source, please investigate</td>" fi else write_page " <td>" |