Compare commits

..
3 Commits
Author SHA1 Message Date
Dragonish 18475ea0a5 fix(ci): give the molecule job a 90 minute timeout
Lint / lint (pull_request) In progress
Molecule / molecule (pull_request) Waiting to run
Build / build (pull_request) Waiting to run
Removing timeout-minutes left the sweep step's 45 minute bound without
the job timeout it must equal, and the script test that holds the two
equal failed with a KeyError. Restore the key at 90 minutes, which also
leaves a full run under load (PR #405 took 44m53s) real margin, and move
the sweep bound to match so a live run's containers are never removed.

Assisted-by: Claude Code
2026-11-27 08:47:25 +00:00
Defame1297 e2df672be7 remove molecule.yml timeout
Build / build (pull_request) Successful in 1m13s
Lint / lint (pull_request) Failing after 6m27s
Molecule / molecule (pull_request) Canceled after 26m38s
2026-11-27 08:15:45 +00:00
Defame1297 2e92b11cbc remove image.yml timeout 2026-11-27 08:15:18 +00:00
2 changed files with 4 additions and 6 deletions

No files matched your search

-1
View File
@@ -62,7 +62,6 @@ jobs:
github.event_name != 'pull_request' && github.event_name != 'pull_request' &&
github.ref == 'refs/heads/main' github.ref == 'refs/heads/main'
runs-on: kamino-docker runs-on: kamino-docker
timeout-minutes: 45
# max-parallel: 1 keeps the builds to one at a time. The runner takes two jobs, so a build # max-parallel: 1 keeps the builds to one at a time. The runner takes two jobs, so a build
# may share it with one other job (Lint, Build or Molecule). An empty subpath means the # may share it with one other job (Lint, Build or Molecule). An empty subpath means the
# repository root is the build context. # repository root is the build context.
+4 -5
View File
@@ -47,10 +47,9 @@ jobs:
(github.event_name != 'pull_request' || (github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name == github.repository) github.event.pull_request.head.repo.full_name == github.repository)
runs-on: [kamino-molecule] runs-on: [kamino-molecule]
# Two full runs sharing the runner (a nightly run and a dispatch) take more than 30 minutes. # A full run under load takes about 45 minutes (PR #405: 44m53s), so 45 left no margin. Also the
# Also the age past which the sweep step removes a run's containers; a script test holds the # age past which the sweep step removes a run's containers; a script test holds the two equal.
# two equal. timeout-minutes: 90
timeout-minutes: 45
env: env:
# The tools and collections molecule runs with: the image Lint and Build use. # The tools and collections molecule runs with: the image Lint and Build use.
CI_IMAGE: >- CI_IMAGE: >-
@@ -98,7 +97,7 @@ jobs:
ids="$(docker ps -aq --filter 'label=net.rkdr.mortis.molecule-run')" ids="$(docker ps -aq --filter 'label=net.rkdr.mortis.molecule-run')"
# The job's timeout-minutes (a script test holds them equal): a shorter bound would remove a # The job's timeout-minutes (a script test holds them equal): a shorter bound would remove a
# live run's containers. # live run's containers.
cutoff="$(date -d '45 minutes ago' +%s)" cutoff="$(date -d '90 minutes ago' +%s)"
old="" old=""
for id in $ids; do for id in $ids; do
# a container removed since the listing, by its run or another run's sweep, is skipped # a container removed since the listing, by its run or another run's sweep, is skipped