From f149fbdbcad61142a9851f652b5d4f1793b1627c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 3 Oct 2015 19:59:48 +0200 Subject: reproducible: run df on pbuilder failures to debug diskspace issues --- hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup | 4 ++++ hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup | 4 ++++ hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup | 4 ++++ hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup | 4 ++++ .../profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup | 4 ++++ .../profitbricks-build2-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup | 4 ++++ .../profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup | 4 ++++ hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup | 4 ++++ 8 files changed, 32 insertions(+) (limited to 'hosts') 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 -- cgit v1.2.3-70-g09d2