[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible Debian sudoers: allow systemctl reset-failed with arguments for node health job
Holger Levsen
gitlab at salsa.debian.org
Sun Jul 26 00:16:15 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
135c33a4 by Holger Levsen at 2020-07-26T01:15:10+02:00
reproducible Debian sudoers: allow systemctl reset-failed with arguments for node health job
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
700d2775 by Holger Levsen at 2020-07-26T01:16:03+02:00
reproducible trbo system health check: also notice pbuilder failures
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
6 changed files:
- bin/reproducible_system_health.sh
- hosts/common/etc/sudoers.d/jenkins
- hosts/jenkins-test-vm/etc/sudoers.d/jenkins
- hosts/jenkins/etc/sudoers.d/jenkins
- hosts/profitbricks-build10-amd64/etc/sudoers.d/jenkins
- hosts/profitbricks-build9-amd64/etc/sudoers.d/jenkins
Changes:
=====================================
bin/reproducible_system_health.sh
=====================================
@@ -129,6 +129,8 @@ for JOB in reproducible_* ; do
small_note " (rc-local.service failed)"
elif $(egrep -q "failed Session [0-9]+ of user jenkins" $JOB/builds/$LAST/log) ; then
small_note " (session failed for user jenkins)"
+ elif $(egrep -q "failed failed pbuilder_build" $JOB/builds/$LAST/log) ; then
+ small_note " (pbuilder build scope failed)"
fi
if ! $SUSPECT ; then
echo " <li><a href=\"https://jenkins.debian.net/job/$JOB/\">$JOB</a>$NOTE</li>" >> ${UNSTABLE_JOBS}
=====================================
hosts/common/etc/sudoers.d/jenkins
=====================================
@@ -3,7 +3,7 @@ jenkins ALL= \
/usr/bin/mmdebstrap *, \
/usr/bin/sbuild-createchroot *, \
/usr/bin/sbuild-update *, \
- /bin/systemctl reset-failed, \
+ /bin/systemctl reset-failed*, \
/usr/bin/tee /schroots/*, \
/usr/bin/tee -a /schroots/*, \
/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
=====================================
hosts/jenkins-test-vm/etc/sudoers.d/jenkins
=====================================
@@ -1,7 +1,7 @@
jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \
/usr/bin/mmdebstrap *, \
- /bin/systemctl reset-failed, \
+ /bin/systemctl reset-failed*, \
/usr/bin/tee /schroots/*, \
/usr/bin/tee -a /schroots/*, \
/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
=====================================
hosts/jenkins/etc/sudoers.d/jenkins
=====================================
@@ -1,7 +1,7 @@
jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \
/usr/bin/mmdebstrap *, \
- /bin/systemctl reset-failed, \
+ /bin/systemctl reset-failed*, \
/usr/bin/tee /schroots/*, \
/usr/bin/tee -a /schroots/*, \
/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
=====================================
hosts/profitbricks-build10-amd64/etc/sudoers.d/jenkins
=====================================
@@ -1,7 +1,7 @@
jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \
/usr/bin/mmdebstrap *, \
- /bin/systemctl reset-failed, \
+ /bin/systemctl reset-failed*, \
/usr/bin/tee /schroots/*, \
/usr/bin/tee -a /schroots/*, \
/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
=====================================
hosts/profitbricks-build9-amd64/etc/sudoers.d/jenkins
=====================================
@@ -1,7 +1,7 @@
jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \
/usr/bin/mmdebstrap *, \
- /bin/systemctl reset-failed, \
+ /bin/systemctl reset-failed*, \
/usr/sbin/chroot /chroots/*, \
/bin/rm -rf --one-file-system /chroots/*, \
/bin/umount -l /chroots/*, \
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/5595d7f941ca3632b2af07c2a6cb3a676fd102f6...700d2775a9e841cb22863315e6cd384d72f8bf69
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/5595d7f941ca3632b2af07c2a6cb3a676fd102f6...700d2775a9e841cb22863315e6cd384d72f8bf69
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/20200725/ec4ad951/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list