[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible_openwrt|lede: add debug to fix rsync bug

Holger Levsen holger at layer-acht.org
Wed Oct 12 20:02:48 UTC 2016


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 f4031a9f5d3d5047fea0170b6aa38ae4d8f335ec
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Wed Oct 12 22:00:41 2016 +0200

    reproducible_openwrt|lede: add debug to fix rsync bug
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_lede.sh           |  1 +
 bin/reproducible_openwrt.sh        |  1 +
 bin/reproducible_openwrt_common.sh | 13 +++++++++++++
 3 files changed, 15 insertions(+)

diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index cf19221..fe4adcb 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -28,6 +28,7 @@ case $1 in
 			openwrt_download |\
 			openwrt_get_banner |\
 			node_create_tmpdirs |\
+			node_debug |\
 			node_cleanup_tmpdirs) ;; # this is the allowed list
 			*)
 				echo "Unsupported remote node function $@"
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index 07233d2..c071cf4 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -28,6 +28,7 @@ case $1 in
 			openwrt_download |\
 			openwrt_get_banner |\
 			node_create_tmpdirs |\
+			node_debug |\
 			node_cleanup_tmpdirs) ;; # this is the allowed list
 			*)
 				echo "Unsupported remote node function $@"
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index b9478d4..f878720 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -10,6 +10,11 @@ GENERIC_NODE1=profitbricks-build3-amd64.debian.net
 GENERIC_NODE2=profitbricks-build4-amd64.debian.net
 
 # run on jenkins master
+node_debug() {
+	ls -al "$1" || true
+	ls -al "$1/" || true
+	ls -al "$1/download" || true
+}
 
 # only called direct on a remote build node
 node_cleanup_tmpdirs() {
@@ -311,6 +316,14 @@ build_two_times() {
 
 	# download and prepare openwrt on node b1
 	ssh $GENERIC_NODE1 reproducible_$TYPE node openwrt_download $TYPE $TARGET $CONFIG $TMPDIR
+
+	echo "== master"
+	ls -la "$TMPDIR/download/" || true
+	echo "== node1"
+	ssh $GENERIC_NODE2 reproducible_$TYPE node node_debug $TMPDIR
+	echo "== node2"
+	ssh $GENERIC_NODE2 reproducible_$TYPE node node_debug $TMPDIR
+
 	rsync -av $GENERIC_NODE1:$TMPDIR/download/ $TMPDIR/download/
 	rsync -av $TMPDIR/download/ $GENERIC_NODE2:$TMPDIR/download/
 

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