[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: marb cb3a-armhf as temporarily offline

Holger Levsen gitlab at salsa.debian.org
Sun Mar 31 11:29:07 BST 2019



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
81c9cc0b by Holger Levsen at 2019-03-31T10:28:57Z
reproducible Debian: marb cb3a-armhf as temporarily offline

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


3 changed files:

- bin/reproducible_compare_Debian_sha1sums.sh
- bin/reproducible_maintenance.sh
- jenkins-home/offline_nodes


Changes:

=====================================
bin/reproducible_compare_Debian_sha1sums.sh
=====================================
@@ -50,9 +50,9 @@ bdn_url="https://buildinfo.debian.net/api/v1/buildinfos/checksums/sha1"
 log=$(mktemp --tmpdir=$TMPDIR sha1-log-XXXXXXX)
 echo "$(date -u) - logfile used is $log"
 
-FORCE_DATE=$(date -u -d "14 days ago" '+%Y-%m-%d')
+FORCE_DATE=$(date -u -d "14 days ago" '+%Y-%m-%d %H:%M')
 DUMMY_FILE=$(mktemp --tmpdir=$TMPDIR sha1-date-XXXXXXX)
-touch -d "$(date '+%Y-%m-%d') 00:00 UTC" $DUMMY_FILE
+touch -d "$FORCE_DATE" $DUMMY_FILE
 
 SHA1DIR=/srv/reproducible-results/debian-sha1
 mkdir -p $SHA1DIR
@@ -160,7 +160,7 @@ for package in $packages ; do
 		touch $LOCK
 	fi
 	version=$(grep-dctrl -X -P ${package} -s Version -n $PACKAGES | head -1)
-	arch=$(grep-dctrl -X -P ${package} -s Architecture -n $PACKAGES | head -1)
+	arch=$(grep-dctrl -X -P ${package} -F -s Architecture -n $PACKAGES | head -1)
 	package_file="${package}_$(echo $version | sed 's#:#%3a#')_${arch}.deb"
 	pool_dir="$SHA1DIR/$(dirname $(grep-dctrl -X -P ${package} -s Filename -n $PACKAGES | head -1))"
 	mkdir -p $pool_dir


=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -181,6 +181,15 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
 				echo "Skipping ${NODE}..."
 				continue
 				;;
+		case $NODE in
+			jenkins)	echo 'Skipping jenkins...' ; continue ;;
+			profitbricks-build9-amd64) 
+				echo "Skipping $NODE..." # not used for r-b and sometimes too busy to run healthcheck / maintenance jobs
+				continue ;;
+			profitbricks-build10-amd64) 
+				echo "Skipping $NODE..." # not used for r-b and sometimes too busy to run healthcheck / maintenance jobs
+				continue ;;
+			*)	;;
 		esac
 		cd $i/builds
 		LAST=$(ls -rt1 | tail -1)


=====================================
jenkins-home/offline_nodes
=====================================
@@ -18,6 +18,7 @@
 # Also see https://pad.sfconservancy.org/p/rb-build-nodes-keep
 
 ## temporary problems
+cb3a-armhf-rb
 
 # Down here nodes are automtically added by the maintenance job when they have
 # been failing their health check for too long.



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/81c9cc0b815eebdda3920c9890e8d16c7aa04ba7

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/81c9cc0b815eebdda3920c9890e8d16c7aa04ba7
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190331/37a86199/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list