summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-03 19:59:48 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-03 19:59:48 +0200
commitf149fbdbcad61142a9851f652b5d4f1793b1627c (patch)
tree0a9fec3f7067d31d038b1f968e2569e31806ceb4 /hosts
parent9b390640d4c16b8a4ff8d7011012af437807195d (diff)
downloadjenkins.debian.net-f149fbdbcad61142a9851f652b5d4f1793b1627c.tar.xz
reproducible: run df on pbuilder failures to debug diskspace issues
Diffstat (limited to 'hosts')
-rwxr-xr-xhosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup4
-rwxr-xr-xhosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup4
-rwxr-xr-xhosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup4
-rwxr-xr-xhosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup4
-rwxr-xr-xhosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup4
-rwxr-xr-xhosts/profitbricks-build2-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup4
-rwxr-xr-xhosts/profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup4
-rwxr-xr-xhosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup4
8 files changed, 32 insertions, 0 deletions
diff --git a/hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
index c60a991c..2ac6c207 100755
--- a/hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
+++ b/hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
@@ -2,6 +2,10 @@
set -e
+echo "debug output: disk usage on $HOSTNAME at $(date -u)"
+df -h
+echo
+
# exit if we are in the same UTS namespace as init ( != 2nd build )
[ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0
diff --git a/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
index c60a991c..2ac6c207 100755
--- a/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
+++ b/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
@@ -2,6 +2,10 @@
set -e
+echo "debug output: disk usage on $HOSTNAME at $(date -u)"
+df -h
+echo
+
# exit if we are in the same UTS namespace as init ( != 2nd build )
[ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0
diff --git a/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
index c60a991c..2ac6c207 100755
--- a/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
+++ b/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
@@ -2,6 +2,10 @@
set -e
+echo "debug output: disk usage on $HOSTNAME at $(date -u)"
+df -h
+echo
+
# exit if we are in the same UTS namespace as init ( != 2nd build )
[ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0
diff --git a/hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup
index c60a991c..2ac6c207 100755
--- a/hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup
+++ b/hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup
@@ -2,6 +2,10 @@
set -e
+echo "debug output: disk usage on $HOSTNAME at $(date -u)"
+df -h
+echo
+
# exit if we are in the same UTS namespace as init ( != 2nd build )
[ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0
diff --git a/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup
index c60a991c..2ac6c207 100755
--- a/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup
+++ b/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup
@@ -2,6 +2,10 @@
set -e
+echo "debug output: disk usage on $HOSTNAME at $(date -u)"
+df -h
+echo
+
# exit if we are in the same UTS namespace as init ( != 2nd build )
[ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0
diff --git a/hosts/profitbricks-build2-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/profitbricks-build2-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup
index c60a991c..2ac6c207 100755
--- a/hosts/profitbricks-build2-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup
+++ b/hosts/profitbricks-build2-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup
@@ -2,6 +2,10 @@
set -e
+echo "debug output: disk usage on $HOSTNAME at $(date -u)"
+df -h
+echo
+
# exit if we are in the same UTS namespace as init ( != 2nd build )
[ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0
diff --git a/hosts/profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup
index c60a991c..2ac6c207 100755
--- a/hosts/profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup
+++ b/hosts/profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup
@@ -2,6 +2,10 @@
set -e
+echo "debug output: disk usage on $HOSTNAME at $(date -u)"
+df -h
+echo
+
# exit if we are in the same UTS namespace as init ( != 2nd build )
[ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0
diff --git a/hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
index c60a991c..2ac6c207 100755
--- a/hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
+++ b/hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
@@ -2,6 +2,10 @@
set -e
+echo "debug output: disk usage on $HOSTNAME at $(date -u)"
+df -h
+echo
+
# exit if we are in the same UTS namespace as init ( != 2nd build )
[ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0