[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] djm: add support for powercycling arm64 and armhf nodes

Holger Levsen (@holger) gitlab at salsa.debian.org
Sat Apr 15 12:36:13 BST 2023



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


Commits:
ef9ffa5f by Holger Levsen at 2023-04-15T13:34:54+02:00
djm: add support for powercycling arm64 and armhf nodes

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

- - - - -


2 changed files:

- TODO
- bin/djm


Changes:

=====================================
TODO
=====================================
@@ -37,7 +37,7 @@ See link:https://jenkins.debian.net/userContent/about.html["about jenkins.debian
 ** cleanup/backup logs on the first of the month
 ** document running "mosh jenkins shell-monitor" processes :) (same with my_btop to be renamed and git added...)
 ** create osuosl tickets?
-** add support for powercycling the others archs
+** launch "comeback terminal" after powercycling nodes like after rebooting nodes
 ** document jenkins plugin updates -> manually / though my local script which calls the webpages can log this
 ** document other jenkins ui actions. are there any?
 * djm-logparser:


=====================================
bin/djm
=====================================
@@ -206,7 +206,19 @@ EOF
 							fi
 							./bin/powercycle_x86_nodes.py $node
 							;;
-					*)		echo FIXME, not yet implemented.
+					virt*-armhf-rb) echo "Sorry, I do not yet know how to handle $NODE, skipping."
+							echo "But the steps are documented in README.infrastructure."
+							echo "One can powercycle mst0X however...."
+							exit 1
+							;;
+					*-armhf-rb)	./bin/powercycle_armhf_nodes.sh $NODE
+							;;
+					codethink*)	./bin/powercycle_arm64_nodes.sh $(echo ${SHORTNODE:9} | cut -d '-' -f1)
+							;;
+					osuosl*)	echo "We cannot powercycle nodes at OSUOSL on our own. Please contact #osuosl on libera.chat or send email to support at osuosl.org"
+							exit 1
+							;;
+					*)		echo "This should not happen, please investigate and fixup."
 							exit 1
 							;;
 				esac



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ef9ffa5f3770ea165ccdbd0db9a923f46ae2ae13

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ef9ffa5f3770ea165ccdbd0db9a923f46ae2ae13
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/20230415/00047026/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list