Skip to content

Oracle images: apt retries, no swallowed install, bounded Db2 image pull (Part of #5048) - #5097

Merged
squid-protocol merged 5 commits into
mainfrom
churn/5048-20261013T2102Z
Oct 14, 2026
Merged

squid-protocol merged 5 commits into
mainfrom
churn/5048-20261013T2102Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5048 (non-workflow members; the three workflow members are left open).

Class: CI/oracle-image network fetches with no retry, or with a failure that is hidden or reads as a code defect (the #4980 / #5047 mechanism).

Member Status
gnucobol-db2.Dockerfile apt-get install libxml2 || true removed: libcob4 in the base image already depends on libxml2 (checked dpkg -s libxml2 in gitgalaxy-gnucobol:3), so nothing was needed and a failure was being hidden
gnucobol.Dockerfile apt -o Acquire::Retries=5 on update and install; BASE/GNUCOBOL/COBC pins untouched
Db2 image pull equivalence_db2.pull_image(): bounded retry (4 attempts, doubling backoff), digest pin kept, final failure raises Db2ImagePullError starting INFRASTRUCTURE (not a code defect); called before docker run
tri-comparison-audit, tri-comparison-history, graph-accuracy-audit workflows open (.github/workflows out of scope here)

Plan deviation: none, except the libxml2 step was dropped (the plan's first branch).

Tests (tests/cobol_mainframe/test_db2_odbc_pin.py): Dockerfile text checks (no || true, every apt update/install retries); pull present / first-try / retry-then-ok with backoff / bound + INFRASTRUCTURE message with digest / docker missing or hanging. The Db2 image was not rebuilt.

Gates: pr_gates --fast 6/6, --ratchets 7/7, 0 skipped.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 14, 2026 10:06
@squid-protocol
squid-protocol enabled auto-merge (squash) October 14, 2026 10:06
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5097 @ cb61e9a: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38546138525/job/115843777075
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
Traceback (most recent call last):
ValueError: det carddemo-intcalc-generated: in two shards (shards/det-sweep-shard-14/sweep.json)
##[error]Process completed with exit code 1.
log tail:
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
PLAN_RESULT: success
MODE: full
CASES: all
SHARDS: 20
DB2_CASES: all
DB2_SHARDS: 4
EVENT: pull_request
##[endgroup]
Traceback (most recent call last):
File "/home/runner/work/gitgalaxy/gitgalaxy/tests/tools/proof_sweep.py", line 364, in
sys.exit(main())
^^^^^^
File "/home/runner/work/gitgalaxy/gitgalaxy/tests/tools/proof_sweep.py", line 272, in main
results = merge_sweeps(args.aggregate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/gitgalaxy/gitgalaxy/tests/tools/proof_sweep.py", line 137, in merge_sweeps
raise ValueError(f"{sweep} {case}: in two shards ({f})")
ValueError: det carddemo-intcalc-generated: in two shards (shards/det-sweep-shard-14/sweep.json)
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/26f2aed9-7a93-4000-ad35-51fe2419b1bc' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5097 @ 3b174d7: 1 failed check(s)

== db2 3/4 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38566947634/job/115862629847
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --db2-only --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
fail-on-cache-miss: false
Traceback (most recent call last):
equivalence_db2.Db2ImagePullError: INFRASTRUCTURE (not a code defect): could not pull the pinned Db2 image icr.io/db2_community/db2@sha256:2de8151713c261843868c5c3411b57be6ae79d99d70a5b3022337836776bfda6 after 4 attempts: docker pull -q icr
##[error]the background Db2 start did not finish
##[error]Process completed with exit code 1.
log tail:
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
GITGALAXY_ORACLE_PREBUILT: 1
DB2_JOBS: 4
GITGALAXY_DB2_POOL: 4
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
MAVEN_ARGS: -ntp
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-db2-logs-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 643
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is cc1c6ac6d8195d1b93c643f05f136d14c5979b165c07ae4522b7106c461be0af
Finalizing artifact upload
Artifact det-sweep-db2-logs-2 successfully finalized. Artifact ID 11896362534
Artifact det-sweep-db2-logs-2 has been successfully uploaded! Final size is 643 bytes. Artifact ID is 11896362534
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/38566947634/artifacts/11896362534
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/58b3817f-3a7f-42c5-870c-5eb81e435e6a' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 14, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (7a6f57c) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 14, 2026
…pull workflow steps (Part of #5048)"

This reverts commit 4c8785c.
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 14, 2026 13:54
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant