Commit baafa49f authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible archlinux: follow up on 321db951 but revert the conditions to fail...

reproducible archlinux: follow up on 321db951 but revert the conditions to fail loudly and silently, to confirm the observations…
parent a7e43895
...@@ -234,13 +234,11 @@ remote_build() { ...@@ -234,13 +234,11 @@ remote_build() {
if [ $RESULT -ne 0 ] ; then if [ $RESULT -ne 0 ] ; then
ssh -p $PORT $FQDN "rm -r $TMPDIR" || true ssh -p $PORT $FQDN "rm -r $TMPDIR" || true
if [ $RESULT -eq 23 ] ; then if [ $RESULT -eq 23 ] ; then
echo "$(date -u) - remote job could not end schroot session properly, failing loudly so we get a pointer for investigations." echo "$(date -u) - remote job could not end schroot session properly and sent error 23 so we could abort silently."
exit 1
elif [ $RESULT -eq 42 ] ; then
echo "$($date -u) - sigh, we know this problem and need to debug it and end the session cleanly. Failing silently for now." # FIXME
exec /srv/jenkins/bin/abort.sh exec /srv/jenkins/bin/abort.sh
elif [ $RESULT -eq 42 ] ; then
echo "$($date -u) - sigh, we know this problem and need to debug it and end the session cleanly. Failing loudly now so we can see this used to indeed silence things… (but we'll get noise from the other failures enabled in this commit…" # FIXME
exit 1
else else
handle_remote_error "with exit code $RESULT from $NODE for build #$BUILDNR for ${SRCPACKAGE} from $REPOSITORY" handle_remote_error "with exit code $RESULT from $NODE for build #$BUILDNR for ${SRCPACKAGE} from $REPOSITORY"
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment