Repository navigation
pipeline: timeouts on docker/javac/java/mvn calls, a Db2 pool deadline, workflow timeout-minutes; GnuCOBOL image cache in cics-crucible (#4904) - #4908
Conversation
…e, workflow timeout-minutes; GnuCOBOL image cache in cics-crucible (#4904) - cics_crucible: add CONTAINER_START_TIMEOUT, CONTAINER_EXEC_TIMEOUT, CONTAINER_STOP_TIMEOUT with container cleanup - equivalence_common: add DOCKER_STEP_TIMEOUT, DOCKER_CLEANUP_TIMEOUT and explicit docker rm -f on timeout - equivalence_java: add JAVAC_RUNNER_TIMEOUT, JAVA_DIRECT_TIMEOUT, JAVAC_OVERLAY_TIMEOUT, MAVEN_TEST_TIMEOUT - equivalence_db2: add DB2_POOL_DEADLINE and Db2PoolTimeoutError in hold_lock - det_survey: add MVN_COMPILE_TIMEOUT, MVN_CLASSPATH_TIMEOUT, JAVAC_PORT_TIMEOUT - mutation: add MVN_CLASSPATH_TIMEOUT, JAVAC_MUTANT_TIMEOUT, KILL_WAIT_TIMEOUT - porting_loop: add PORTING_RUN_TIMEOUT, BASELINE_WAIT_TIMEOUT, RUN_MANY_CASE_TIMEOUT - workflows: add timeout-minutes to publish.yml and mirror-tag-sync.yml; lower evidence-refresh.yml refresh job to 60m; copy GnuCOBOL image cache step to cics-crucible.yml - tests: add tests/tools/test_timeouts_4904.py Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
…nds (#4904 review) agy's first values (docker step 180 s, java 180 s, mvn test 300 s, javac 60 s, exec 120 s) were 3-5x a typical run; a large CICS or Db2 case on a loaded runner can take longer, which would fail honest runs. Raised to well above the slowest honest run: whole-case docker / java / mvn test 1200 s, mvn compile 900 s, classpath 600 s, javac 300-600 s, crucible exec 300 s. Container start/stop limits and the 20-min Db2 pool deadline stay. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
|
CI shepherd: the head of this PR (4da3ccd) is not the one a maintainer labelled |
|
No description provided. |
|
CI shepherd: the head of this PR (4da3ccd) is not the one a maintainer labelled |
| check=False, # noqa: S603, S607 | ||
| timeout=CONTAINER_STOP_TIMEOUT, | ||
| ) | ||
| except subprocess.TimeoutExpired: |
| check=False, # noqa: S603, S607 | ||
| timeout=DOCKER_CLEANUP_TIMEOUT, | ||
| ) | ||
| except subprocess.TimeoutExpired: |
| monkeypatch.setattr(equivalence_db2, "pool", lambda: ["GGDB_TEST"]) | ||
|
|
||
| # Simulate all slot locks failing with BlockingIOError | ||
| class DummyLock: |
|
No description provided. |
|
PR #4908 @ 4da3ccd: 3 failed check(s) == full-suite (failure) -- real == full-suite part 2/3 (failure) -- real == ground-truth (failure) -- real |
…ead the volume at a fixed position) Fixes test_time_zones::test_equivalence_harness_zone_plumbing on #4908. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
|
CI shepherd: the head of this PR (7e7a3dd) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Fixes #4904
From the 2026-10-11 pipeline audit (scout C): unbounded steps that could hang and burn a job's whole time limit.
Changes
TimeoutExpiredrouted into the tool's existing failure path and a message naming the step:cics_crucible: docker run / exec / rm, with the container removed on timeout;equivalence_common: the GnuCOBOL docker pass, withdocker rm -fon timeout so no container is orphaned;equivalence_java: javac, java andmvn test;det_survey,mutation,porting_loop: mvn and javac, plus a bounded wait after kill.DB2_POOL_DEADLINE) that raisesDb2PoolTimeoutError. Before, it waswhile True.timeout-minuteson everypublish.ymljob and onmirror-tag-sync.yml(previously GitHub's 360-minute default);refreshjob capped at 60 minutes instead of 300 (it takes about 11);cics-crucible.yml, copied from det-sweep.Review note
agy wrote the first values at 3–5× a typical run (docker step 180 s, java 180 s,
mvn test300 s). A large CICS or Db2 case on a loaded runner can exceed those and fail an honest run, so I raised the per-case steps to hang-guard levels: 1200 s for whole-case docker/java/mvn test, 900 s for mvn compile, 300–600 s for javac, 300 s for crucible exec. That's a separate commit.Tests
tests/tools/test_timeouts_4904.py(12 pass) covers:publish.yml,mirror-tag-sync.ymlandcics-crucible.ymlhastimeout-minutes.pr_gates --fastPASS (the gauntlet took 42 s, down from about 180 s before #4899).--ratchets7/7 PASS, nothing skipped.Provenance
Implemented by agy (Gemini) in its own worktree: its first run was cut off by a headless command denial with no edits saved; the second run succeeded. Reviewed, timeouts adjusted, gated and pushed by the orchestrator.
🤖 Generated with Claude Code
https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX