aboutsummaryrefslogtreecommitdiff
path: root/tcwg-cleanup-stale-containers.yaml
AgeCommit message (Collapse)Author
2020-12-06tcwg-cleanup-stale-containers: Fix syntax for mail bodyChristophe Lyon
This is not a job template, so we need only single '{'. Change-Id: I29dd6cc10a53a35652f30208c60061a3f107fd1d
2020-12-05tcwg-cleanup-stale-containers: Print NODE_NAME in mail bodyChristophe Lyon
So that we don't need additional clicks to know on which node a build failed. Change-Id: I17f54272ebba727e0ba225a1ca76f1e0b8ddd823
2020-08-14tcwg-cleanup-stale-containers: Do not try to connect remotely to tcwg-stm32-01Christophe Lyon
It is a virtual node, and does not have a DNS entry nor ssh alias. Change-Id: I31a3623bea82a9135b414d2395885616478d0c5b
2020-05-28tcwg-cleanup-stale-containers: Add ssh key for tcwg-benchmarkMaxim Kuvyrkov
... to be able to handle benchmarking boards via ssh. Change-Id: Ibcf1ce0c92b904030d50983b85742c89bf79d0fe
2020-05-28tcwg-cleanup-stale-containers: Fix typoMaxim Kuvyrkov
Change-Id: I3dd9d5ab8c0f21732e5b6ca739622340f1db2e7f
2020-05-28tcwg-cleanup-stale-containers: Cleanup docker images on benchmarking boardsMaxim Kuvyrkov
... otherwise they run out of disk space. Change-Id: Ie502f30f77afb7ceb1b560cad00020f3f7180d51
2020-04-16tcwg-cleanup-stale-containers: Avoid workspace aliasingMaxim Kuvyrkov
... for tcwg-bmk-* and tcwg-*-short nodes, which are secondary nodes running on machines with other "primary" nodes. We need to make sure workspace paths contain $NODE_NAME. Change-Id: I959df5096b7baafa901c6ad952e705d18ebb687b
2020-04-15tcwg-cleanup-stale-containers: Update and simplifyMaxim Kuvyrkov
Change-Id: I9d83882d1a7635257b3d83c6a6000f8dd2d81bcb
2019-12-09tcwg-*: Remove tcwg-thx1-01Christophe Lyon
We have stopped this machine, so removed it from the jobs that target it. Change-Id: Ifc70037608775054290fb143a45aeb69164ba5d0
2019-10-25tcwg-*: Use git.linaro.org instead of git-us.linaro.orgChristophe Lyon
We've seen sporadic failures where Jenkins couldn't get git-us.linaro.org's certificate and we switched a subset of our jobs to git.linaro.org instead. There was no such failure since then, so apply the same change to all our jobs, since we just got that problem with tcwg-cleanup-stale-workspaces. Change-Id: Id6452208f93f4a3c3eed90a0b0c02bd9dc0dc0b9
2019-08-09tcwg-*: Handle tcwg-m1-* nodesMaxim Kuvyrkov
... by switching to use tcwg-build label, which is set on tcwg-amp-* and tcwg-m1-* nodes for the moment, but will be applied to other nodes as well. Change-Id: I4bf555332ccddff6a8aca206051cd7e93aefc677
2019-08-01tcwg-*: Remove tcwg-lc* slave/machineChristophe Lyon
We have removed this slave from our pool, this patch avoids spawning jobs that will keep pending until they timeout, possibly blocking other builds. Change-Id: Iaed05f70a203a6bc2f7080457f6e75283d79f01c
2019-08-01tcwg-buildslave-command, tcwg-cleanup-stale-containers, ↵Christophe Lyon
tcwg-cleanup-stale-workspaces, tcwg-infra-update-home, tcwg-update-snapshots_ref: Add support for tcwg-amp* machines. These are the infrastructure-related jobs, needed by other jobs. Change-Id: I38fa50d2c19e0429c7e212528f92c277e4b30ebc
2019-04-30tcwg-*: Add tcwg-lc_64-build target labelChristophe Lyon
Change-Id: I243878b6515ede0fd0ec086c763ede36832bec5a
2019-03-22tcwg-*: Increate num-to-keepChristophe Lyon
For jobs recently converted from matrix to freestyle, because now there is one build per slave, instead of one per matrix build, leading quickly to a very long list. Change-Id: If64cd025e9ba43b7de44beadcb41b1d5dca863c1
2019-03-22tcwg-cleanup-stale-containers: Fix typo.Christophe Lyon
Change-Id: I945308389ecd4088f6eba28bdfbde560d9a7736f
2019-03-21tcwg-cleanup-stale-containers: Handle dangling volumes on dev machinesMaxim Kuvyrkov
Change-Id: I4fc7a72c1398f8f24f57eedeb3cbeda3d29dff11
2019-03-15tcwg-<node maintenance jobs>: Add $NODE_NAME to build-nameMaxim Kuvyrkov
Change-Id: Ic548cdf34d623b7930b69ca5163fd95733cf8a74
2019-03-15tcwg-cleanup-stale-containers: UpdateMaxim Kuvyrkov
Change-Id: I20ecfa5cbfa8c79c210d81db97fd1737e9bd84ca
2019-03-11tcwg-cleanup-stale-containers: Update from tcwg-cleanup-stale-containers-maximMaxim Kuvyrkov
... and delete the latter. Change-Id: Id9e0621e12c15776ae94f61160c9dbd4ce5dc18f
2019-03-11tcwg-cleanup-stale-containers: Remove job to convert from matrix to freestyleMaxim Kuvyrkov
... in preparation for update from tcwg-cleanup-stale-containers-maxim. Change-Id: Ic6fd56a499d549cbc8632aad79ad7d4427604c59
2019-03-06tcwg-cleanup-stale-*: Add missing tcwg-tk1-09 and tcwg-tx1-05Christophe Lyon
Change-Id: Ic780913def67b481a993e3e0441c3fd8be426339
2019-02-08tcwg-cleanup-*: Add new builders.Maxim Kuvyrkov
Change-Id: I0669680ea963b4a5b1e85528c9d722caeee3ab5e
2018-12-10tcwg-cleanup-stale-containers*: Add tcwg-sq-0[12] machinesChristophe Lyon
Add tcwg-sq-0[12] to the list of machines to clean up. Change-Id: Iafb8b70329faabee36667f433b0c995eeaee3021
2018-11-07tcwg-*: Switch to email-ext, set 'aborted' to true.Christophe Lyon
'email' does not send an email when a build was aborted, which made us miss some infrastruture problems. This patch replaces 'email' with 'email-ext' in all tcwg* jobs using 'email', and adds 'aborted: true'. In some cases where we had both 'email' and 'email-ext', use only the latter as it is more flexible/powerful. Do not add 'aborted: true' in the jobs that already have 'always: true'. Change-Id: I60a8dc287216bd1eb5705690505928f85fcf4815
2018-07-12tcwg-cleanup-stale-containers: Add tcwg-tk1-0[1234]Christophe Lyon
They were missing from the list, preventing cleanup from running on them. Change-Id: I6b483510c303cf2306c92668d73e4c5a15c35d38
2018-07-10Revert "tcwg-cleanup-stale-containers, tcwg-cleanup-stale-workspaces, ↵Christophe Lyon
tcwg-trigger-binutils, tcwg-trigger-gcc-trunk-ubsan: Remove tcwg-tk1-*" This reverts commit e8e0574f84867655494fe372272aab63afdaeef8. Our tcwg-tk1 boards are back online, so re-enabled the jobs that use them, especially the cleanup ones. Change-Id: I4736d1d01ef500567e3473b3d1ca01f35226db2d
2018-06-24tcwg-cleanup-stale-containers, tcwg-cleanup-stale-containers: Add ↵Christophe Lyon
tcwg-d05-01 and tcwg-thx1-01 These new boards need to be cleaned up regularly like the other slaves. Change-Id: I502c3cf370106e1ea184905d996be8088bdbcc27
2018-06-16tcwg-*: Update email addresses.Maxim Kuvyrkov
Change-Id: I8f398e89173a26fbcea841397aa5bea4c0c878a2
2018-06-12tcwg-cleanup-stale-containers: Don't fail for dev-bmk nodes.Maxim Kuvyrkov
Change-Id: I3e46b5ecd2b2e0016b8b795decacf20133bae1ae
2018-06-05tcwg-cleanup-stale-containers: Fix parameter documentation.Maxim Kuvyrkov
Change-Id: I3c4534c79226b6d7f93b494e92098c0b09aea2c4
2018-06-05tcwg-cleanup-stale-containers: Cleanup stale ssh-agent processesMaxim Kuvyrkov
... of both tcwg-buildslave and tcwg-benchmark users. Change-Id: If5ed1657a64c3dd4b2e89cb944292fe01fb0e241
2018-05-11tcwg-cleanup-stale-containers: Add dev boxes to the host listMaxim Kuvyrkov
This should be merged after https://review.linaro.org/#/c/25189/ , which is where we restrict cleanup script to automation containers that are named NNN-job_name. Change-Id: I6978ce60cf14076fd8f7bce7f205351f76c3fb55
2018-05-03tcwg-cleanup-stale-containers, tcwg-cleanup-stale-workspaces, ↵Christophe Lyon
tcwg-trigger-binutils, tcwg-trigger-gcc-trunk-ubsan: Remove tcwg-tk1-* Our tcwg-tk1-* slaves fail to connect to Jenkins since a few days ago: remove them from the target lists to avoid jobs timeouts. Change-Id: Ibd36df4c79630127d1dea0f7a0197aa86268316b
2017-11-07tcwg-cleanup-stale-containers: Cleanup running containersMaxim Kuvyrkov
... left on the testing boards after an aborted build. Change-Id: Ic4ba0170189e648d088211bc60e1bf33eb7b97ba
2017-07-24tcwg-cleanup-stale-containers: Update refspec.Maxim Kuvyrkov
Change-Id: If018fa98a68c1226cca43cbf6be506832ef833e6
2017-05-26tcwg-cleanup-stale-containers: Add missing slaveMaxim Kuvyrkov
Change-Id: I2334d53faae5368fe1e167826a21c8cdba5f1aad
2017-05-26tcwg-cleanup-stale-containers: Add tcwg-apm-03 (former test-armv8-01)Maxim Kuvyrkov
Change-Id: I282afe87c22d75818fead11e87ca93125dceb143
2017-05-17tcwg-*: Send emails for failures in cleanup jobs to tcwg@linaro.org.Maxim Kuvyrkov
Change-Id: I33c5adae5db0824549930031642a0de8624aa8d7
2017-05-04tcwg-*: Switch all matrix and multijob jobs to tcwg-coordinatorMaxim Kuvyrkov
This change makes all TCWG matrix and multijob "coordination" jobs to run on tcwg-coordinator label. The "coordination" jobs do not consume significant resources and just wait for other jobs to finish. In case of matrix jobs these are "flyweight" jobs, and all TCWG multijobs behave similarly. Another benefit from this change is that git checkouts for "coordination" jobs will no longer be mixed with workspaces of matrix sub-builds of the same jobs, if sub-builds happen to start on the same node as coordination job. This has been auto-generated with the following script $ cat > tcwg-coordinator.sh <<EOF for f in tcwg-*.yaml; do type=$(grep "project-type" $f | sed -e "s/.*: //") case $f in tcwg-bkk16-buildfarm-benchmark.yaml) continue ;; esac case $type in freestyle) continue ;; matrix|multijob) sed -e "s/ node:.*/ node: tcwg-coordinator/" -i $f ;; *) echo "ERROR: Wrong job type: $type"; exit 1 ;; esac done EOF Change-Id: I216abbf903537da2c2bfd3f6d5a1fbf6b8fe4877
2017-04-26tcwg-cleanup-stale-containers: Update to match script changes.Maxim Kuvyrkov
tcwg-cleanup-stale-dormant-containers: Disable and prepare for remove. Change-Id: Id3e7a781e5a8dd84d913036f548819bd87182795
2017-04-18tcwg-*: Update names of tcwg-aarch64-* nodes and labelsMaxim Kuvyrkov
tcwg-aarch64-build-01 -> tcwg-apm-01 tcwg-aarch64-build-02 -> tcwg-apm-02 tcwg-aarch64-test-01 -> tcwg-apm-03 tcwg-aarch64-test-02 -> tcwg-apm-04 tcwg-aarch64-build -> tcwg-apm_64-build tcwg-aarch64-test -> tcwg-apm_64-test Change-Id: Ibf77b821efa7fd83e4240b09419510d3a1fdd6eb
2017-04-17tcwg-cleanup-stale-containers: Add TK1s and TX1s to cleanup listMaxim Kuvyrkov
Change-Id: Idab4bd8ab57570c6026f370b4d5da4677cb2952d
2017-04-17tcwg-cleanup-stale-containers: Convert to dynamic slave axisMaxim Kuvyrkov
Change-Id: I413e315a8bf8ce6f242e3b82de6f2997168ee2cc
2017-04-12tcwg-cleanup-stale-containers: Enable image cleanupMaxim Kuvyrkov
Change-Id: I7a78a2051cb1e3ffc835f30a7fb67275e19f3a82
2017-03-22tcwg-abe-extended: Replace label tcwg-x86_64-cam with tcwg-x86_64-build.Christophe Lyon
This is the new label we should use. A side effect of this change is that we'll stop using build-0[16] which do not belong to the new label. We plan to repurpose/deprecate these builders. tcwg-abe-extended/builders.sh: Likewise. tcwg-abe-manifest-test: Likewise. tcwg-abe-test-gerrit-cambridge-christophe: Likewise. tcwg-abe-test-gerrit-cambridge: Likewise. tcwg-abe-test-yvan: Likewise. tcwg-backup-files: Likewise. tcwg-binutils-docker: Likewise. tcwg-binutils: Likewise. tcwg-bkk16-buildfarm-benchmark-christophe: Likewise. tcwg-bkk16-buildfarm-benchmark: Likewise. tcwg-bkk16-buildfarm: Likewise. tcwg-bkk16-trigger-extended: Likewise. tcwg-buildapp: Likewise. tcwg-buildbench: Likewise. tcwg-buildfarm-christophe: Likewise. tcwg-buildfarm-cmp: Likewise. tcwg-buildfarm-maxim: Likewise. tcwg-buildfarm-startcontainer: Likewise. tcwg-buildfarm: Likewise. tcwg-cleanup-stale-containers: Likewise. tcwg-cleanup-stale-dormant-containers: Likewise. tcwg-cleanup-stale-schroot-sessions: Likewise. tcwg-cleanup-stale-tcwg-test-schroot-sessions: Likewise. tcwg-cleanup-stale-workspaces: Likewise. tcwg-container-christophe: Likewise. tcwg-gcc-bisect: Likewise. tcwg-gcc-idle: Likewise. tcwg-llvm-build-christophe: Likewise. tcwg-llvm-build: Likewise. tcwg-make-release-christophe: Likewise. tcwg-make-release: Likewise. tcwg-race-bernie: Likewise. tcwg-test-release-christophe: Likewise. tcwg-validate-abetests: Likewise. Change-Id: I37601fcb7a2a39e17ac6594185995fbbc8f5bbab
2017-02-22tcwg-cleanup-stale-containers: Switch to dry-run mode.Maxim Kuvyrkov
Change-Id: Ie98339622584cb4e66cb3d2d056675ca418fb94a
2016-12-06tcwg-cleanup-stale-containers: Remove tx1-0[12].Christophe Lyon
Do not clean container on these boards for the time being. We use them for benchmarking. Change-Id: Ia7c80c0b1cedff5649a2a8a04e8d36504354f809
2016-11-11tcwg-cleanup-stale-containers: Improve time checkMaxim Kuvyrkov
Change-Id: Ib2f87050c1530b4bd69d0ecfbc2cf3328ca695bb
2016-11-08tcwg-cleanup-stale-*: Add tcwg-x86_64-build-0[78] nodesMaxim Kuvyrkov
Change-Id: I7a0862976da97704288db719873bc65cc77d848b