[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: jenkins: don't complain about reprotest jobs existence

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Apr 10 15:20:18 BST 2023



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


Commits:
245ed906 by Holger Levsen at 2023-04-10T16:19:16+02:00
jenkins: don't complain about reprotest jobs existence

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

- - - - -
f8595599 by Holger Levsen at 2023-04-10T16:19:56+02:00
djm: fixup 762ff4f10: add support for marking nodes as online again

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

- - - - -


2 changed files:

- bin/common-functions.sh
- bin/djm


Changes:

=====================================
bin/common-functions.sh
=====================================
@@ -233,7 +233,7 @@ jenkins_zombie_check() {
 	# related however is that I issued a reboot (via running 
 	# /sbin/reboot) right before the zombies appeared...
 	#
-	ZOMBIES="$(ls -1d /var/lib/jenkins/jobs/* | grep -E 'strip-nondeterminism|reprotest|reproducible_(builder_(amd64|i386|armhf|arm64)|setup_(pbuilder|schroot)_testing)|chroot-installation_wheezy|aptdpkg|stretch_install_education-thin-client-server|jessie_multiarch_versionskew|dpkg_stretch_find_trigger_cycles|sid_install_education-services|buster_install_education-services|lvc|chroot-installation_stretch_.*_upgrade_to_sid|chroot-installation_buster_.*_upgrade_to_sid|piuparts_.*_jessie|udd_stretch|d-i_pu-build|debsums-tests_stretch|debian-archive-keyring-tests_stretch|chroot-installation_jessie|chroot-installation_.*education-lang-|kirkwoot|rebootstrap_.*_gcc[5-9]($|_)|rebootstrap_.*_gcc1[01]($|_)|brcm47xx|rebootstrap_kfreebsd|diffoscope_from_git_|disorderfs_from_git_master|diffoscope_pypi|diffoscope_freebsd|diffoscope_netbsd|diffoscope_macports|diffoscope_archlinux|openwrt-target-ath97|profitbricks|pool_buildinfos_suites|g-i-installation|reproducible_compare_Debian_sha1sums|bbx15|cb3a|ff2a|ff2b|jtk1a|jtk1b|odxu4a|odxu4b|odu3a|opi2a|opi2c|p64b|p64c|ar71xx|reproducible_debian_live_build$|chroot-installation_stretch|chroot-installation_bullseye*upgrade_to_sid|rebuilder_prototype|osuosl167|osuosl168|osuosl169|osuosl170|osuosl171|osuosl172|osuosl173|osuosl174|osuosl184fakeroot-foreign|fdroid|reproducible_.*_reproducible?$|health_check_amd64_snapshot' || true)"
+	ZOMBIES="$(ls -1d /var/lib/jenkins/jobs/* | grep -E 'strip-nondeterminism|reproducible_(builder_(amd64|i386|armhf|arm64)|setup_(pbuilder|schroot)_testing)|chroot-installation_wheezy|aptdpkg|stretch_install_education-thin-client-server|jessie_multiarch_versionskew|dpkg_stretch_find_trigger_cycles|sid_install_education-services|buster_install_education-services|lvc|chroot-installation_stretch_.*_upgrade_to_sid|chroot-installation_buster_.*_upgrade_to_sid|piuparts_.*_jessie|udd_stretch|d-i_pu-build|debsums-tests_stretch|debian-archive-keyring-tests_stretch|chroot-installation_jessie|chroot-installation_.*education-lang-|kirkwoot|rebootstrap_.*_gcc[5-9]($|_)|rebootstrap_.*_gcc1[01]($|_)|brcm47xx|rebootstrap_kfreebsd|diffoscope_from_git_|disorderfs_from_git_master|diffoscope_pypi|diffoscope_freebsd|diffoscope_netbsd|diffoscope_macports|diffoscope_archlinux|openwrt-target-ath97|profitbricks|pool_buildinfos_suites|g-i-installation|reproducible_compare_Debian_sha1sums|bbx15|cb3a|ff2a|ff2b|jtk1a|jtk1b|odxu4a|odxu4b|odu3a|opi2a|opi2c|p64b|p64c|ar71xx|reproducible_debian_live_build$|chroot-installation_stretch|chroot-installation_bullseye*upgrade_to_sid|rebuilder_prototype|osuosl167|osuosl168|osuosl169|osuosl170|osuosl171|osuosl172|osuosl173|osuosl174|osuosl184fakeroot-foreign|fdroid|reproducible_.*_reproducible?$|health_check_amd64_snapshot' || true)"
 	if [ -n "$ZOMBIES" ] ; then
 		DIRTY=true
 		figlet 'zombies!!!'


=====================================
bin/djm
=====================================
@@ -222,8 +222,9 @@ EOF
 		jenkins-ui)	echo "Documenting one manual action in the jenkins-ui."
 				;;
 		bring-back)	TMPFILE=$(mktemp -u)
-				echo "Trying to mark $SHORTNODE as online. This is the diff for ~jenkins/offline_nodes on jenkins.debian.net:"
-				ssh jenkins.debian.net "grep -v $SHORTNODE ~jenkins/offline_nodes > $TMPFILE ; diff ~jenkins/offline_nodes $TMPFILE ; mv $TMPFILE ~jenkins/offline_nodes"
+				OFF_NODES=~jenkins/offline_nodes
+				echo "Trying to mark $SHORTNODE as online. This is the diff for $OFF_NODES on jenkins.debian.net:"
+				ssh jenkins.debian.net "grep -v $SHORTNODE $OFF_NODES > $TMPFILE ; diff $OFF_NODES $TMPFILE ; mv $TMPFILE $OFF_NODES ; chown jenkins:jenkins $OFF_NODES"
 				;;
 		*)	echo unsupported action, sorry, please improve.
 			exit 1



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/a2682c749ff97d5d04a2475bd664ea1de44726ee...f8595599df4d4de0e20b29d0c642ceeec42b5c65

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/a2682c749ff97d5d04a2475bd664ea1de44726ee...f8595599df4d4de0e20b29d0c642ceeec42b5c65
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/20230410/1dbadfa3/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list