aboutsummaryrefslogtreecommitdiff
path: root/tcwg-cleanup-stale-workspaces.yaml
AgeCommit message (Collapse)Author
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-26tcwg-cleanup-stale-workspaces: Set concurrent to 'true'Christophe Lyon
These cleanup jobs run on different machines, they can run in parallel. This also has the advantage that cleanup on all machines does not have to wait for a busy one to finish other tasks. Change-Id: I001ce2d4cd51924db6b907a8482c8494d16d7eb7
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-18Revert "Revert "tcwg-cleanup-stale-workspaces: Block on NODE level""Maxim Kuvyrkov
This reverts commit ec0998881ad64b22f827c02d36be14f3fa6435a1. Change-Id: Ie65858ffbcf7eed16b0a5c38858ca1e44fd003c5
2019-03-18Revert "tcwg-cleanup-stale-workspaces: Block on NODE level"Maxim Kuvyrkov
This reverts commit 2f1ae6cffeda120751b91d415503719557976dcf. Change-Id: I85c552051c656ba099e5f23b5634783af44292ab
2019-03-15tcwg-cleanup-stale-workspaces: Block on NODE levelMaxim Kuvyrkov
Change-Id: Ie48dc1ebdcb8f152a165bc2fc7fb2c447d97f3aa
2019-03-15tcwg-cleanup-stale-workspaces: ExperimentMaxim Kuvyrkov
It seems that block-level: 'NODE' is being ignored. Change-Id: I1c586c2ed3d876928dee7eee6a292cfb3e5a2dbb
2019-03-15tcwg-<node maintenance jobs>: Add $NODE_NAME to build-nameMaxim Kuvyrkov
Change-Id: Ic548cdf34d623b7930b69ca5163fd95733cf8a74
2019-03-15tcwg-cleanup-stale-workspaces: Don't block on queued jobsMaxim Kuvyrkov
Change-Id: I0011c7d45000ca277e8b6631ce1e155647e0970f
2019-03-12tcwg-cleanup-stale-workspaces: Re-deploy (finally!)Maxim Kuvyrkov
Change-Id: Iaa5f459e70e051f8090f6118a8eb675f17a94775
2019-03-12tcwg-cleanup-stale-workspaces: Re-deployMaxim Kuvyrkov
Change-Id: Id4d85111ff473376f1f79079572e72f136f5b97a
2019-03-12tcwg-cleanup-stale-workspaces: Re-deployMaxim Kuvyrkov
Change-Id: I360caf37ca193295289db60a63ff824447d126c5
2019-03-11tcwg-cleanup-stale-workspaces: Convert to freestyleMaxim Kuvyrkov
Change-Id: I10649550d967873b375e7c86f7fdcbc8c86b91e9
2019-03-11tcwg-cleanup-stale-workspaces: Remove to prepare for conversion to freestyleMaxim Kuvyrkov
Change-Id: I63376d532004f3cb28486154f8f167a471fc5e08
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
2019-01-29Revert "tcwg-cleanup-stale-workspaces: Fix job waiting in the queue"Maxim Kuvyrkov
This reverts commit bee7467682a438cd19eba6380ea56ab77ce6b29a. Change-Id: Ib0215c9559032c5609bc26a19202276d3b033385
2019-01-29tcwg-cleanup-stale-workspaces: Fix job waiting in the queueMaxim Kuvyrkov
Due to TCWG nodes being busy all the time the cleanup job waits indefinetely in the queue. Our goal is to avoid starting new jobs on a node that has cleanup running. Occupying all executors should achieve this. We have at most 10 executors (on coordinator nodes), so set weight to 10. Change-Id: Ie4008912c0138cf87b6eb13d2fb438f41592e80b
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-11-02tcwg-cleanup-stale-workspaces: Send email in case the job is aborted.Christophe Lyon
'always' is much too verbose for this job, we don't want messages when everything is OK. 'failure' is true by default, no need to set it explicitly. Change-Id: If975dffe9be09a6f8439ac74272cabc922eb0a9c
2018-11-02tcwg-cleanup-stale-workspaces: Send an email 'always'Christophe Lyon
To check if it covers the 'aborted' case. Change-Id: I2127ad03635747e8ad468c4bfee5563be5203e1d
2018-10-31tcwg-cleanup-stale-workspaces: Send an email in case of abort.Christophe Lyon
We want to receive notifications when this job is aborted, so that we can investigate if there is a problem on the slaves. Change-Id: I57284dfd46e5a34c9b28043cb3c221920f39fff8
2018-08-10tcwg-*: Add "clean: before" git directive when "wipe-workspace: false"Maxim Kuvyrkov
This should fix stale merge problem in tcwg-abe-tested job. Change-Id: Iad7b01d54bd0d421c15fad067a66f3bc3b83736c
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-08tcwg-buildfarm, tcwg-cleanup-stale-workspaces: Minor cleanups.Maxim Kuvyrkov
Change-Id: I3a5cbd3ae5aff10036926bb2e2cbc9eb321ea8be
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-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-05-04tcwg-cleanup-stale-workspaces: fix typo block_level -> block-levelFathi Boudra
JJB documentation has the initial typo... Change-Id: I954207682bc2dc1adf2370b5b90a00166ad51262 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2017-05-04tcwg-cleanup-stale-workspaces: Finish experiments.Maxim Kuvyrkov
JJB seems to be ignoring block-level. Fathi changed it by hand. Change-Id: I365b7f639ac63584e2ab8f04543b550bcf338bfc
2017-05-04tcwg-cleanup-stale-workspaces: Experiment #2.Maxim Kuvyrkov
Change-Id: Iadf4fb3685c1f317aadc2581c461f6f64749b319
2017-05-04tcwg-cleanup-stale-workspaces: ExperimentMaxim Kuvyrkov
Change-Id: I39e17f38e5534fb24e5043808fd0ef0e80f36fa2
2017-05-04tcwg-cleanup-stale-workspaces: Remove obsolete parameterMaxim Kuvyrkov
Change-Id: I417ff1da1a75c7e80c6c47d47cabfb51e2be1ef8
2017-04-28tcwg-cleanup-stale-workspaces: Add TK1s and TX1s.Maxim Kuvyrkov
Change-Id: Id0394568cbd6d962d266ae5014c1b14fee68c2c9
2017-04-28tcwg-cleanup-stale-workspaces: Experiment with build-blocker.Maxim Kuvyrkov
Change-Id: Ie3c57b11afab7bf111cfda0177680c74e6c58499
2017-04-28tcwg-cleanup-stale-workspaces: Move code to jenkins-scriptsMaxim Kuvyrkov
Change-Id: If6ad27dfc1e0b53bb229cb2ff4fad853eae91ece
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-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-01tcwg-cleanup-*: Remove references to tcwg-aarch64-07.Christophe Lyon
This machine is no longer used by ci.l.o. Change-Id: I7ac8a3e68682149134cd65aa8674e474bfe81df6
2017-01-24tcwg-*: Remove references to tcwg-ex40-01 and r1-a*.aus-colo machines.Maxim Kuvyrkov
These machines are no longer used by ci.l.o Change-Id: I2cb4decb20f8b84f7c329da81efd7bf5cc7f6605
2016-11-08tcwg-cleanup-stale-*: Add tcwg-x86_64-build-0[78] nodesMaxim Kuvyrkov
Change-Id: I7a0862976da97704288db719873bc65cc77d848b
2016-10-14tcwg-*: Use build-discarder instead of logrotate.Christophe Lyon
Change-Id: I864b319706660d9fef1daa7b213c5488a7039d8e
2016-09-06tcwg: fix syntax error when using throttle propertyFathi Boudra
Change-Id: I94b1c82e0bac431a459b119cb4e6b873b5f0de01 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-09-04tcwg-cleanup-stale-schroot-sessions-christopheChristophe Lyon
tcwg-cleanup-stale-schroot-sessions tcwg-cleanup-stale-tcwg-build-schroot-sessions-christophe tcwg-cleanup-stale-tcwg-test-schroot-sessions-christophe-freestyle tcwg-cleanup-stale-workspaces: Remove obsolete ex40build-0[789]. Change-Id: I6ee64e1b09f910c0e68af1ad5ab753a77de90c69