[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: add niceness variation (Closes: #863440)
Holger Levsen
holger at layer-acht.org
Fri May 26 21:28:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit a3b0ba495360ac94ef72482e971bfa5c704825a7
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri May 26 23:27:53 2017 +0200
reproducible Debian: add niceness variation (Closes: #863440)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_build.sh | 2 +-
bin/reproducible_common.sh | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 3442cd0..9018ceb 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -701,7 +701,7 @@ EOF
# remember to change the sudoers setting if you change the following command
# (the 2nd build gets a longer timeout trying to make sure the first build
# aint wasted when then 2nd happens on a highly loaded node)
- sudo timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice \
+ sudo timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 12 \
/usr/bin/unshare --uts -- \
/usr/sbin/pbuilder --build \
--configfile $TMPCFG \
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 433b297..9c93d3c 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -404,6 +404,7 @@ write_variation_table() {
write_page "<tr><td>env BUILDUSERNAME</td><td>BUILDUSERNAME=\"pbuilder1\"</td><td>BUILDUSERNAME=\"pbuilder2\"</td></tr>"
write_page "<tr><td>env USER</td><td>USER=\"pbuilder1\"</td><td>USER=\"pbuilder2\"</td></tr>"
write_page "<tr><td>env HOME</td><td>HOME=\"/nonexistent/first-build\"</td><td>HOME=\"/nonexistent/second-build\"</td></tr>"
+ write_page "<tr><td>niceness</td><td>10</td><td>12</td></tr>"
write_page "<tr><td>uid</td><td>uid=1111</td><td>uid=2222</td></tr>"
write_page "<tr><td>gid</td><td>gid=1111</td><td>gid=2222</td></tr>"
write_page "<tr><td>/bin/sh</td><td>/bin/dash</td><td>/bin/bash</td></tr>"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list