[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: only emit warnings if shm is not mounted correctly

Holger Levsen holger at layer-acht.org
Fri Jan 13 17:24:17 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 8246c19944970eedc8d8f79a2f94bdc13d8dc798
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Jan 13 18:24:05 2017 +0100

    reproducible Debian: only emit warnings if shm is not mounted correctly
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_maintenance.sh | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index e4cae58..6130901 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -76,17 +76,15 @@ fi
 echo "$(date -u) - testing whether /dev/shm is mounted correctly..."
 mount | egrep -q "^tmpfs on /dev/shm" && test "$(stat -c %a -L /dev/shm)" = 1777
 if [ $? -ne 0 ] ; then
-	irc_message debian-reproducible "/dev/shm is not mounted correctly on $HOSTNAME, please tell the jenkins admins to fix this."
+	irc_message debian-reproducible "Warning: /dev/shm is not mounted correctly on $HOSTNAME, please tell the jenkins admins to fix this."
 	show_fstab_and_mounts
-	exit 1
 fi
 # check for /run/shm being mounted properly
 echo "$(date -u) - testing whether /run/shm is mounted correctly..."
 mount | egrep -q "^tmpfs on /run/shm" && test "$(stat -c %a -L /run/shm)" = 1777
 if [ $? -ne 0 ] ; then
-	irc_message debian-reproducible "/run/shm is not mounted correctly on $HOSTNAME, please tell the jenkins admins to fix this."
+	irc_message debian-reproducible "Warning: /run/shm is not mounted correctly on $HOSTNAME, please tell the jenkins admins to fix this."
 	show_fstab_and_mounts
-	exit 1
 fi
 
 echo "$(date -u) - updating the schroots and pbuilder now..."

-- 
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