[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: temporarily disable building as build2 and build as…
Holger Levsen
gitlab at salsa.debian.org
Thu Oct 11 10:01:33 BST 2018
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
1fb1230d by Holger Levsen at 2018-10-11T09:01:21Z
reproducible Archlinux: temporarily disable building as build2 and build as jenkins user (to see if this fixes those path variations we now see in almost all archlinux builds)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_build_archlinux_pkg.sh
Changes:
=====================================
bin/reproducible_build_archlinux_pkg.sh
=====================================
@@ -245,8 +245,12 @@ second_build() {
VERSION="$epoch$pkgver-$pkgrel"
echo $VERSION > $TMPDIR/b2/$SRCPACKAGE/build2.version
# nicely run makepkg with a timeout of $TIMEOUT hours
+ ###temporarily disable building as build2 and build as jenkins user
+ ###timeout -k $TIMEOUT.1h ${TIMEOUT}h /usr/bin/ionice -c 3 /usr/bin/nice \
+ ### schroot --run-session -c $SESSION --directory "$BUILDDIR/$ACTUAL_SRCPACKAGE/trunk" -u root -- su -c "bash -l -c '$MAKEPKG_ENV_VARS makepkg $MAKEPKG_OPTIONS 2>&1'" build2 | tee -a $LOG
timeout -k $TIMEOUT.1h ${TIMEOUT}h /usr/bin/ionice -c 3 /usr/bin/nice \
- schroot --run-session -c $SESSION --directory "$BUILDDIR/$ACTUAL_SRCPACKAGE/trunk" -u root -- su -c "bash -l -c '$MAKEPKG_ENV_VARS makepkg $MAKEPKG_OPTIONS 2>&1'" build2 | tee -a $LOG
+ schroot --run-session -c $SESSION --directory "$BUILDDIR/$ACTUAL_SRCPACKAGE/trunk" -- bash -l -c "$MAKEPKG_ENV_VARS makepkg $MAKEPKG_OPTIONS 2>&1" | tee -a $LOG
+
PRESULT=${PIPESTATUS[0]}
if [ $PRESULT -eq 124 ] ; then
echo "$(date -u) - makepkg was killed by timeout after ${TIMEOUT}h." | tee -a $LOG
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/1fb1230df6d15ceefa2a5d13b3cc7819a0e2be5c
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/1fb1230df6d15ceefa2a5d13b3cc7819a0e2be5c
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/20181011/ed951faa/attachment.html>
More information about the Qa-jenkins-scm
mailing list