Skip to content

equivalence: a BMP case coverage reads the rewritten text; CBPAUP0C 4/40 -> 30/40 branches (Part of #5857) - #5938

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5857-20261021T2354Z
Oct 22, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5857-20261021T2354Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5857.

Checklist: partial [c:fa4d89fe] -- evidence.py prove still records no level for a det-only case (no port/); owner choice: commit a det-generated port or have evidence read the det-sweep ledger. Also 10/40 branches uncovered (DL/I error statuses).

What

tests/tools/equivalence.py cobol_coverage mapped the GnuCOBOL trace against the unrewritten source for a BMP case (only Db2 read the staged PROGRAM.cbl), but the BMP runs the rewrite_bmp text (DIB inserted, EXEC DLI expanded to CALLs), so every line after the first EXEC DLI was lost. It now reads the staged text for a BMP too. CBPAUP0C: 4/40 -> 30/40 branches (15/16 paragraphs unchanged), measured by proof_sweep.py --det-only --cases carddemo-cbpaup0c --faults all (PROVED, 5 runs); ledger det_sweep_coverage/carddemo-cbpaup0c.json re-recorded.

Class table

member status
BMP (ims + USING I/O PCB) coverage text fixed here
Db2 staged text already correct
non-BMP IMS (DLITCBL), source not rewritten unaffected
CICS rewritten programs via compile_options, not touched

Remaining slices of [c:fa4d89fe]

  1. Evidence record for a det-only case (needs owner choice, above).
  2. Scenarios for the 10 uncovered branches (l.160, 196, 228, 259, 287, 315, 331, 340, 358, 360: DL/I error statuses, failed DLET/CHKP arms).

Gates

pr_gates --fast 7/7, --ratchets 9/9; pytest of the case test, coverage ledger, sysin override, det_dli, source_reads, proof_reach: 198 passed. Harness fingerprint moved (harness:core): other ledger entries are non-blocking stale warnings.

🤖 Generated with Claude Code

…BPAUP0C 4/40 -> 30/40 branches (Part of #5857)

cobol_coverage mapped the trace against the unrewritten source for a BMP (only Db2 read the staged text), so every
line after the first EXEC DLI was lost. It now reads the staged PROGRAM.cbl for a BMP too.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 22, 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 22, 2026 00:05
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 00:08
@squid-protocol squid-protocol added shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md and removed shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5938 @ 56e900d: 2 failed check(s)

== db2 5/6 (failure) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/39699693340/job/119567554610
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 bring up GGDB
##[error]Process completed with exit code 1.
log tail:
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
GITGALAXY_ORACLE_PREBUILT: 1
DB2_JOBS: 4
GITGALAXY_DB2_POOL: 4
GITGALAXY_DB2_READY_DIR: /home/runner/work/_temp/db2-ready.d
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-4.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 597
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is a611cc1d5280f3cb08ad081a4b8512ed7093e6d06477c0b0f8a8ebd734269caf
Finalizing artifact upload
Artifact det-sweep-db2-logs-4 successfully finalized. Artifact ID 12392894070
Artifact det-sweep-db2-logs-4 has been successfully uploaded! Final size is 597 bytes. Artifact ID is 12392894070
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39699693340/artifacts/12392894070
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/cb75d39c-6846-4605-9d5c-e55b7d367b83' 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

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39699693340/job/119576474948
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases cbsa-crecust,mortgage-cmort,mortgage-csmrt,mortgage-mpmt --work /tmp/gitgalaxy-scratch/ci-digest/sweep
det cases not proven: cbsa-crecust,mortgage-cmort,mortgage-csmrt,mortgage-mpmt
errors:
det mortgage-csmrt NOT PROVEN proven on 5 scenarios, covering 1/1 paragraphs and 1/2 branches
det mortgage-mpmt NOT PROVEN
det cbsa-crecust NOT PROVEN
det mortgage-cmort NOT PROVEN proven on 16 scenarios, covering 6/6 paragraphs and 18/21 branches
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
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
##[endgroup]
With the provided path, there will be 162 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 130878
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 9322ce077827e3a4b720a9682054e4a73226863e2d7ae9182ca88da95bb1b53f
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12394410110
Artifact det-sweep-ledger has been successfully uploaded! Final size is 130878 bytes. Artifact ID is 12394410110
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39699693340/artifacts/12394410110
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/231dbba6-74f8-4116-bc67-a0ec04c8d36f' 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 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

Rescue (Opus): the red at 56e900d was one infrastructure failure, not a code defect. db2 5/6 could not pull the pinned Db2 image, so that shard's cases were missing from the merged sweep. The det ratchet then reported exactly those Db2 cases (cbsa-crecust, mortgage-cmort / csmrt / mpmt) as NOT PROVEN. This PR leaves the Db2 coverage path unchanged: rewritten is still true for every db2 case. Merged origin/main (a4d0219), and pr_gates --fast passes 7/7. Pushed so CI runs fresh. Merge before #5944, which is stacked on this.

@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:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit e52d31f into main Oct 22, 2026
40 checks passed
@squid-protocol
squid-protocol deleted the churn/5857-20261021T2354Z branch October 22, 2026 02:12
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