Skip to content

Add a container cleanup job to the linux builders #3814

@finestructure

Description

@finestructure

We've had multiple occasions during the Wasm and Android processing where "stalled" containers blocked processing:

 docker-user@bastion  lb1  ~  docker ps                                                                                                                                                                                      Sat May 31 09:46:36 2025
CONTAINER ID   IMAGE                                                             COMMAND                  CREATED             STATUS             PORTS     NAMES
5252dab38279   registry.gitlab.com/finestructure/spi-images:basic-6.1-latest     "swift build --tripl…"   About an hour ago   Up About an hour             interesting_hamilton
991a521491bf   registry.gitlab.com/finestructure/spi-images:android-6.1-latest   "swift build --swift…"   2 hours ago         Up 2 hours                   musing_hypatia
3e1558adbc95   registry.gitlab.com/finestructure/spi-images:android-6.1-latest   "swift build --swift…"   2 hours ago         Up 2 hours                   recursing_ishizaka
a8a0b51382c2   registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest      "swift build --swift…"   2 hours ago         Up 2 hours                   angry_wilbur

We should have a job running (perhaps as part of the builder itself) that force removes containers older than 15 mins. The only thing we need to be careful about is not to remove deployment containers, as these have a longer timeout. The IMAGE is probably something we'll want to look at for that purpose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions