Skip to content

IOERR gets an oracle abend code (AEIQ); COUSR00C ENDBR IOERR scenarios (Part of #6166) - #6233

Merged
squid-protocol merged 10 commits into
mainfrom
churn/6166-20261023T1149Z
Oct 23, 2026
Merged

squid-protocol merged 10 commits into
mainfrom
churn/6166-20261023T1149Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

What

Part of #6166. An unhandled IOERR had no abend code: the spec table (CONDITION_ABEND) lacked it, so the GnuCOBOL oracle's condition_abcode returned ????, CicsSpec.abcodeFor threw, and the COUSR00C port's abendOn mapped RESP 17 to INVREQ (AEIP). IBM: abend AEIQ, "IOERR condition not handled" (https://www.ibm.com/docs/en/cics-ts/6.x?topic=codes-aeiq).

Changes: IOERR -> AEIQ in gitgalaxy/standards/cics/resp.py; regenerated CicsSpec.java and ggcics_spec.h; cics_crucible.CONDITION_ABCODE (spec-equality test); Cousr00cService.abendOn case 17; two userlist scenarios (endbr-ioerr-after-a-page-forward / -back: IOERR on the ENDBR, which has no RESP, so the task abends AEIQ); test_cics_spec.py pins the code.

Checklist: done [c:f2015898]
Checklist: partial [c:2e323ba5] -- not touched
Checklist: partial [c:da7b5789] -- ledger re-run after the latest merge of main (translator moved, sample reseeded): 110/147 killed, 37 survivors unaccounted, no verdicts stated

Class

Class: conditions CICS abends on that have no code in CONDITION_ABEND. IOERR is added (the only one a burned program reaches here: COUSR00C's file commands). Sibling gaps are listed below.

Facts checked

  • AEIQ = IOERR, read from IBM's AEIQ and AEIA pages.
  • equivalence.py run carddemo-userlist: 61 scenarios (was 59) equal between GnuCOBOL and the port, 16/16 paragraphs, 95/100 branches; AEIQ on both sides in the report. Evidence record re-proven.
  • pr_gates --fast 7/7; --ratchets 9/9 (incl. det-mutation after det_mutation.py run + refresh: re-run after merging main: 120/147 killed, 27 survivors unaccounted).
  • test_cics_spec, test_cics_spec_equality, test_carddemo_failed_xctl_5401, test_evidence, test_proof_reach, test_source_reads pass. Other CardDemo/crucible evidence records show "stale (oracle)" warnings from the regenerated ggcics_spec.h; the scheduled job re-proves them. Full suite not run (CI's job).

Sibling gaps

  • tests/tools/crucible_events.py ABEND_FOR (the crucible oracle's own table) still has no IOERR; needed only by a crucible case that raises it.
  • Other unhandled conditions with no code (NOSPACE AEIR, NOTOPEN AEIS, ENDFILE AEIT, DUPREC AEIN, DUPKEY AEIO, DSIDERR AEIL, ...): needed by any burned program with an unhandled file command that gets them (not checked; CardDemo file programs).
  • Remaining slices: blank-id key variants; unfaulted XCTL sites in useradd/userdel/tranview/signon; two COUSR00C harness gaps (returns after an XCTL: harness change); 27 survivor verdicts.

Cross-repo

None.

Fix round (Opus rescue)

  • The red det check was the coverage ledger, not the five NOT PROVEN rows. The ratchet's "2 unexpected" were both carddemo-userlist ledger lines: the sweep covered 61 scenarios and the ledger had 59. mortgage-csmrt, mortgage-mpmt, mortgage-cmort, cbsa-crecust and cbsa-bnk1ccs-create are NOT PROVEN at main's nightly too (EPSMPMT payment rounding, for example 599550.79 vs 599550.44), and the ratchet expects them. The CicsSpec.java change only makes the plan run the full sweep, which lists them.
  • I re-recorded the ledger with det_coverage_ledger.py update: 61 scenarios, 16/16 paragraphs, 95/100 branches. check passes.
  • I merged origin/main. It moved the translator, so I re-ran det_mutation.py run carddemo-userlist: 110 of 147 killed (7 of them by timeout) and 37 survivors. det_mutation.py check passes.
  • Pre-review fix: docs/language_status/mutation_testing.md conflicted with main. I merged origin/main again, took main's version and regenerated it with mutation_scores.py table; the only remaining diff is the COUSR00C row and the totals that include it. The merged generator moved two det ports, so det-mutation went stale on two ledgers. I re-ran both with det_mutation.py run: carddemo-tranadd 111/148 killed (the branch's generator now matches main's) and carddemo-userlist 110/147 killed with 37 survivors. det_mutation.py check and pr_gates --ratchets --only-ratchets det-mutation pass.
  • Gates: pr_gates --fast 7/7. The ratchets pass except ports, which I couldn't check locally because the local cics-crucible is off its v0.10.0 pin; it is left to CI. The targeted det-mutation, coverage-ledger, cics-spec and proof-reach tests pass (257).

Lessons for agents

  • When a det-sweep ratchet fails, read the aggregate's sweep: N unexpected lines (coverage ledger: ... coverage moved). The NOT PROVEN rows the CI digest lists may be the expected ones from main's nightly.
  • Adding scenarios to a det case moves its tests/equivalence/det_sweep_coverage/<case>.json: run det_coverage_ledger.py update <sweep dir> in the same PR.

🤖 Generated with Claude Code

Fix round (shepherd:needs-fix)

test_proof_reach was red (100 flagged vs 114): the case 17 line in abendOn moved COUSR00C's port sha, staling its recorded mutation survivors. Re-ran the full 510-mutant COUSR00C mutation with --record (killed 379, survived 128: 55 equivalent, 71 unreachable, harness_gap 2, case_gap 0); the 60 new-id survivors were the same operator on the same code one line lower, and their verdicts were carried over with mutation_scores.py retriage. Flagged count is 114 again; the assertion is unchanged.

The det-mutation ledger was re-run again after the second merge of main. The case 17 line shifts the Java lines, so the seeded sample changed: the 10 equivalent claims from #6165 now name mutants the run kills (or that are not sampled), so det_mutation.py check required removing them; mutation_testing.md conflict resolved by regenerating it (mutation_scores.py table).

Lessons for agents

  • A port edit stales that case's mutation record and the test_proof_reach flagged count: re-run mutation.py run CASE --record in the same PR, then mutation_scores.py retriage --triage <results file with verdicts filled> for the line-shifted survivors.
  • pkill -f <pattern> inside a Bash call matches the call's own command line and kills the shell; use bg-job.sh and let jobs finish.
  • A venv glob under /srv/storage_16tb/projects/gitgalaxy/ also matches sfs-venv, which lacks the translator; use venv/bin.

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 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 23, 2026 12:36
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 12:37
@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 #6233 @ 140bad1: 1 failed check(s)

== ground-truth part 1/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39954591833/job/120419235814
repro: python -m pytest -q tests/cobol_mainframe/test_proof_reach.py::test_every_survivor_in_code_no_proof_runs_was_triaged_as_out_of_the_proofs_reach
failing tests: tests/cobol_mainframe/test_proof_reach.py::test_every_survivor_in_code_no_proof_runs_was_triaged_as_out_of_the_proofs_reach
errors:
fail-on-cache-miss: false
tests/cobol_mainframe/test_proof_reach.py:334: AssertionError
FAILED tests/cobol_mainframe/test_proof_reach.py::test_every_survivor_in_code_no_proof_runs_was_triaged_as_out_of_the_proofs_reach - assert (100 == 114)
##[error]Process completed with exit code 1.
log tail:
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
MAINFRAME_ENGINE_KEY: 6483e42d3ff36c09ada1c9e8d50528b69859a29485a969dc86d057b61a34594c
PYTHONUTF8: 1
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 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-ground-truth-part-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 118012
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is bf88e68fd5b4d594d71c04001925b0cc88a6952b03d05182ffbf17e976d22559
Finalizing artifact upload
Artifact test-times-ground-truth-part-1 successfully finalized. Artifact ID 12503410913
Artifact test-times-ground-truth-part-1 has been successfully uploaded! Final size is 118012 bytes. Artifact ID is 12503410913
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39954591833/artifacts/12503410913
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/f9235683-dbf3-40e4-acc6-6d1a898871d3' 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 23, 2026
@squid-protocol squid-protocol added the shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md label Oct 23, 2026
…e IOERR port edit (Part of #6166)

The `case 17 -> "IOERR"` line in abendOn moved the port sha, so COUSR00C's recorded
survivors went stale and test_proof_reach counted 100 flagged instead of 114. A full
510-mutant re-run (killed 379, survived 128) left 60 untriaged survivors, each the same
operator on the same code as an already-triaged one, one line lower; their verdicts are
carried over via mutation_scores.py retriage. Flagged count is 114 again, unchanged.
The det-mutation ledger is re-run after the merge of main moved the det port.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (3ef4c28) 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 shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 23, 2026
squid-protocol and others added 2 commits October 23, 2026 11:30
…stale survivor claims removed (Part of #6166)

The IOERR `case 17` line shifts the Java lines, so the seeded 150-mutant sample no longer
contains the 10 mutants stated equivalent for #6165, and the ones it does contain are
killed (e.g. 2335 and 2386 by the ENDBR IOERR scenarios). det_mutation.py check directs
removing a claim a run contradicts. 27 survivors in the new sample are unaccounted.

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 16:15
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6233 @ 8603bed: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39984613134/job/120537840789
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases cbsa-bnk1ccs-create,cbsa-crecust,mortgage-cmort,mortgage-csmrt,mortgage-mpmt --work /tmp/gitgalaxy-scratch/ci-digest/sweep
det cases not proven: cbsa-bnk1ccs-create,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 not proven; 11 calls cover 4/4 paragraphs and 12/12 branches
det cbsa-bnk1ccs-create 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 175 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 142473
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is d106cbc5493dffcebc1860fc53293f2053aeaf70e8262baa28cbe061caf60c29
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12517482590
Artifact det-sweep-ledger has been successfully uploaded! Final size is 142473 bytes. Artifact ID is 12517482590
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39984613134/artifacts/12517482590
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/7b59be00-6221-4818-8f47-bd181a467173' 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 23, 2026
squid-protocol and others added 2 commits October 23, 2026 13:06
…s); det-mutation re-run after merging main (Part of #6166)

The det sweep failed on "coverage moved" for carddemo-userlist: the two new
ENDBR IOERR scenarios took it from 59 to 61 (16/16 paragraphs, 95/100
branches unchanged). The five NOT PROVEN cbsa/mortgage rows are also NOT
PROVEN on the nightly at main and are not what failed the ratchet.

Merging main moved the translator, so the userlist det port changed and the
det-mutation ledger was re-run: 110/147 killed, 37 survivors without a stated
verdict.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (9f25ce7) 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 23, 2026
squid-protocol and others added 2 commits October 23, 2026 14:15
…149Z

# Conflicts:
#	docs/language_status/mutation_testing.md
…fter merging main (Part of #6166)

The merged generator moved both det ports; refresh would not apply, so both
ledgers were re-run: tranadd 111/148 killed, userlist 110/147 killed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 19:37
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 24edb1a into main Oct 23, 2026
68 checks passed
@squid-protocol
squid-protocol deleted the churn/6166-20261023T1149Z branch October 23, 2026 20:06
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