[Qa-jenkins-scm] [jenkins.debian.net] 01/02: Revert "reproducible Debian: drop check for MTU!=1500, this is appearantly fine…"
Holger Levsen
holger at layer-acht.org
Tue Jan 24 01:30:54 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 17863591b6ab616a0568e2a882224ae031e4c666
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Jan 24 02:29:24 2017 +0100
Revert "reproducible Debian: drop check for MTU!=1500, this is appearantly fine…"
This reverts commit ce9d61f53c49f8bcd937fd5add90bce04e1ef84e.
---
bin/reproducible_maintenance.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 1f775ec..4ccb9e0 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -97,6 +97,13 @@ if ! test -L /run/shm ; then
elif [ "$(readlink /run/shm)" != "/dev/shm" ] ; then
echo "Warning: /run/shm is a link, but not pointing to /dev/shm on $HOSTNAME, please tell the jenkins admins to fix this."
show_fstab_and_mounts
+# check for correct MTU
+echo "$(date -u) - testing whether the network interfaces MTU is 1500..."
+if [ "$(ip link | sed -n '/LOOPBACK\|NOARP/!s/.* mtu \([0-9]*\) .*/\1/p' | sort -u)" != "1500" ] ; then
+ ip link
+ echo "$(date -u) - network interfaces MTU != 1500 - this is wrong. => please \`sudo ifconfig eth0 mtu 1500\`"
+ irc_message debian-reproducible "$HOSTNAME has wrong MTU, please tell the jenkins admins to fix this. (sudo ifconfig eth0 mtu 1500)"
+ 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