[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian rebuilder 'thing': turn known failures into clean warnings...
Holger Levsen
gitlab at salsa.debian.org
Sat May 2 16:08:04 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
226fac45 by Holger Levsen at 2020-05-02T17:07:55+02:00
reproducible Debian rebuilder 'thing': turn known failures into clean warnings if the cause is out-of-scope here
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_debian_rebuilder_prototype.sh
Changes:
=====================================
bin/reproducible_debian_rebuilder_prototype.sh
=====================================
@@ -76,10 +76,11 @@ if [ -z "$BUILTINPHOPATH" ] ; then
echo
cat $OTHER_FILES
else
- echo "Warning: no .buildinfo exists for $PKG and (arch_amd64 or arch_all)."
+ echo "Warning: no .buildinfo exists for $PKG ($VERSION) and (arch_amd64 or arch_all)."
fi
rm -f $OTHER_FILES
- exit 1
+ output_echo "Warning: NBIFA - no .buildinfo file available. Exiting cleanly as this is out-of-scope here."
+ exit 0
fi
output_echo "Found $BUILTINPHOPATH"
FILE="$(echo $BUILTINPHOPATH | cut -d '/' -f5-)"
@@ -144,11 +145,17 @@ case $DISTRO in
*) output_echo "debrebuild failed."
if egrep -q 'cannot find .* in dumpavail' $DEBREBUILD ; then
#FIXME: file bug, debrebuild should fail clearly on this (and not this subtile)
- echo "The following build-dependencies are not available on snapshot.debian.org:\n$(egrep 'cannot find .* in dumpavail' $DEBREBUILD)"
+ echo "The following build-dependencies are not available on snapshot.debian.org:"
+ echo
+ egrep 'cannot find .* in dumpavail' $DEBREBUILD
+ echo
+ echo "Warning: this should not happen and it's unclear why it did. Still exiting cleanly as this is out-of-scope here."
+ exit 0
else
echo "Unknown distro, something went wrong with debrebuild..."
+ echo
+ exit 1
fi
- exit 1
;;
esac
output_echo "preparing chroot for $DISTRO"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/226fac45bde2328de2f0b39d25def2644c8a0885
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/226fac45bde2328de2f0b39d25def2644c8a0885
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200502/279f5330/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list