You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: db2 jobs flake when the IBM ODBC CLI driver download times out; cache the driver #4980
Bug (CI flake): the db2 N/4 jobs intermittently fail before running any case because the Db2 COBOL image build downloads the IBM ODBC CLI driver from IBM's server and the connection times out:
equivalence_db2.py:201 _ensure_container -> docker build -q -t ...
RuntimeError: docker build -q -t: ERROR: failed to build: failed to solve: failed to load cache key:
Get "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz": dial tcp 170.225.126.18:443: i/o timeout
followed by ::error title=Db2::the background Db2 start did not finish.
Seen on #4960, #4966, #4967 (e.g. #4967 job 114765386455, 2026-10-12 10:29Z). It sends otherwise-good PRs to shepherd:needs-fix and burns a full re-run.
Proposed fix: stop fetching the driver from IBM on every cold runner.
Cache linuxx64_odbc_cli.tar.gz with actions/cache (key: URL + a pinned sha256), fetched with curl --retry 5 --retry-all-errors --connect-timeout 30 only on a cache miss.
Have the Dockerfile COPY the tarball from the build context instead of fetching it by URL; verify the sha256.
Optionally also cache the built image layer. In any case, a driver-download failure should name itself as infrastructure (not as a case failure) so the shepherd can retry it, not send the PR back.
Found during the 2026-10-12 churn-stall review (handoff fix 5). Not the cause of the red Evidence Refresh (#4977, which is the BMS race fixed in #4978).
Activity
squid-protocol commentedon Oct 13, 2026
Siblings: #5048 (class sweep from PR #5047)
CI: pin, cache and retry the Db2 ODBC driver download; a failure name…