Commit c138b325 authored by Holger Levsen's avatar Holger Levsen

reproducible Archlinux: use unregister_build() were appropriate

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 72a6c362
......@@ -323,7 +323,6 @@ See link:https://jenkins.debian.net/userContent/about.html["about jenkins.debian
*** dont delete packages which are building?
*** check/make sure that packages which are newer in trunk than repo are only scheduled once
** make _archlinux_build.sh
*** refactor and reuse unregister_build from _build.sh
*** we share /var/log/jenkins/reproducible-race-conditions.log with debian, is that ok? (else fix maintenance job and handle_race_condition())
*** make build respect pacman exit code, see FIXME in _html_.sh
** html
......@@ -336,17 +335,14 @@ See link:https://jenkins.debian.net/userContent/about.html["about jenkins.debian
** should breakages job look for archlinux breakages?
* rebuilding against the archlinux repos
** only needs to be done once
** only needs to be done once using https://github.com/Foxboron/devtools-repro
** to not (pacman know about trunk and thus) build trunk, we need to configure asp.
** wel'll keep building against repo+trunk as we do now (so that archlinux can also benefit from the QA effects)
** we'll keep building against repo+trunk as we do now (so that archlinux can also benefit from the QA effects)
* fix build.sh:
** build2.log doesnt get deleted if build1 fails
** -> rename build2.log to $version_build2.log (dont include package name...)
* test against real archlinux pkgs:
** https://github.com/Foxboron/devtools-repro
* things to be done before enabling more builders:
** build in /srv/workspace instead of /tmp (once this has been done reduce /tmp size back to 15G)
......
......@@ -456,6 +456,7 @@ remote_build() {
SLEEPTIME=$(echo "$BUILDNR*$BUILDNR*5"|bc)
echo "$(date -u) - $NODE seems to be down, sleeping ${SLEEPTIME}min before aborting this job."
sleep ${SLEEPTIME}m
unregister_build
cleanup_all
exec /srv/jenkins/bin/abort.sh
fi
......@@ -465,10 +466,12 @@ remote_build() {
ssh -o "Batchmode = yes" -p $PORT $FQDN "rm -r $TMPDIR" || true
if [ $RESULT -eq 23 ] ; then
echo "$(date -u) - remote job could not end schroot session properly and sent error 23 so we could abort silently."
unregister_build
cleanup_all
exec /srv/jenkins/bin/abort.sh
elif [ $RESULT -eq 42 ] ; then
echo "$($date -u) - sigh, failure after not being able to verify pgp signatures. work to debug why ahead."
unregister_build
cleanup_all
exec /srv/jenkins/bin/abort.sh
else
......
Markdown is supported
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