[TASK] Stop dangling containers in bamboo 38/59338/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 5 Jan 2019 13:51:43 +0000 (14:51 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 5 Jan 2019 14:08:01 +0000 (15:08 +0100)
commitddc9f5c3d40e924874f50a348677011b6cc51807
tree6e20d95b30ce15b96e6edd0536c559657d973ea2
parentd180df0e730eff1735604f992d3702e0caf763fe
[TASK] Stop dangling containers in bamboo

In rare conditions a bamboo agent does not stop all
created sibling containers at the end of a job. These
dangling containers then make consecutive runs on this
agents fail due to container namespace collisions.
As a self-heal mechanism, all jobs that fiddle with
containers now simply stop any possibly dangling containers
as an early task before starting own ones.

Resolves: #87334
Releases: master, 9.5, 8.7
Change-Id: I80332da8f9b1013dc8d961e7e532faf59b3bd3b8
Reviewed-on: https://review.typo3.org/59338
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Build/bamboo/src/main/java/core/AbstractCoreSpec.java