Skip to content

CICS READ: NOTFND RESP2 80 and INVREQ 25/26/42 on both runtimes; 20 ASSUMED, option-gated REFUSED (Part of #5092) - #5201

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5092-20261015T1840Z
Oct 15, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5092-20261015T1840Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5092 (box 4: the full-key READ's INVREQ / NOTFND RESP2 values). Boxes 1-3 were #5103.

Class: IBM-stated INVREQ / NOTFND RESP2 of EXEC CICS READ (CICS TS 6.x summary-read) that the full-key READ answered with 0 or refused.

Value IBM Status
NOTFND 80 no record for the search argument modelled, both runtimes, plain / UPDATE / TOKEN / GTEQ / GENERIC (one spec Outcome, no raised_by split); a NOTFND holds nothing
INVREQ 26 KEYLENGTH without GENERIC, not the key's length modelled (stub, CicsTask readInvalid, translator for a constant KEYLENGTH on a known file)
INVREQ 25 GENERIC KEYLENGTH >= the full key modelled (was refused)
INVREQ 42 GENERIC KEYLENGTH < 0 modelled (was refused); translator reads a -n literal
INVREQ 20 not allowed by the resource definition ASSUMED never to arise (no such attribute in files.cfg), X52
INVREQ 40, 44, 51-53, 55-57, 59, NOTFND 81 BDAM, CFDT, RREPL, RBA / XRBA / CONSISTENT / REPEATABLE / NOSUSPEND REFUSED by name with their options / files, X52
GENERIC KEYLENGTH 0 IBM silent still REFUSED by name (translator and stub)

Order on both runtimes: INVREQ 28 (second READ UPDATE), then a planned fault, then the KEYLENGTH check. An INVREQ / NOTFND holds nothing. The harness now names a given non-GENERIC KEYLENGTH to the stub in GG-FLAGS (KEYLENGTH), since the stub cannot tell it from LENGTH OF RIDFLD. The stub also no longer crashes on a negative keylen in its event line.

Tests: new tests/cics_crucible/test_read_resp2_5092.py (one 32-op scenario list run on the stub and on CicsTask, zero-GENERIC refusal, planned-fault order, spec Outcomes); translator tests for 25 / 26 / 42 and the remaining refusals; expectations moved from RESP2 0 to 80 in five existing test files.

Evidence: pr_gates --fast 6/6; --ratchets 8/8 (cics-spec, ports, port-surface, estate, fact-crosscheck, completeness, ground-truth, time); 170 targeted tests pass. det_port.py check vs origin/main: 98 of 112 ports changed, every one only in the generated CicsTask.java (16 lines: NOTFND 80 and readInvalid); no translated program text moved. I did not re-prove the 98 ports (a runtime-only change, both runtimes moved together; the ports ratchet passes). No golden masters touched (no detector / language-rule change).

Sibling gaps (not here): FILENOTFOUND RESP2 1, WRITE DUPREC 150, LENGERR 10 / 13, DISABLED 50, NOTOPEN 60, IOERR 120 (spec PR 6); INVREQ 22 (GENERIC DELETE on a non-KSDS file); DELETE GENERIC KEYLENGTH 25 / 42 still refuse (ggcics.c GGCDELT, Cics.delete): the DELETE page's values are not checked here.

Cross-repo: none. Overlaps open #5196 in cobol_to_java_transaction_forge.py, det/cics.py, ggcics.c: small hunks; whichever merges second merges main.

Box 4 of #5092 is covered for READ; DELETE GENERIC's 25 / 42 is the one named leftover.

🤖 Generated with Claude Code

…SSUMED, option-gated values REFUSED (Part of #5092)

Co-Authored-By: Claude Opus 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 15, 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 15, 2026 19:02
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 15, 2026 19:02
@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 #5201 @ 67103f3: 2 failed check(s)

== crucible (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38790561646/job/116613700944
repro: tests/tools/box/heavy-run.sh python -m pytest -q tests/cics_crucible && tests/tools/box/heavy-run.sh python tests/tools/cics_crucible.py --ci --out /tmp/gitgalaxy-scratch/ci-digest/cics
failing tests: tests/cics_crucible/test_cics_set_pointer_5042.py::test_cics_task_hands_out_set_pointers_as_the_stub_does tests/cics_crucible/test_cics_set_pointer_5042.py::test_the_stub_hands_out_set_pointers_as_ibm_documents
errors:
fail-on-cache-miss: false
E AssertionError: (['rf 0 ZZ'], 'rf 13/80
tests/cics_crucible/test_cics_set_pointer_5042.py:406: AssertionError
E AssertionError: (['rf 0 ZZ'], ['rf 13/80'], ['rf 13/0'])
tests/cics_crucible/test_cics_set_pointer_5042.py:429: AssertionError
FAILED tests/cics_crucible/test_cics_set_pointer_5042.py::test_the_stub_hands_out_set_pointers_as_ibm_documents - AssertionError: (['rf 0 ZZ'], 'rf 13/80
FAILED tests/cics_crucible/test_cics_set_pointer_5042.py::test_cics_task_hands_out_set_pointers_as_the_stub_does - AssertionError: (['rf 0 ZZ'], ['rf 13/80'], ['rf 13/0'])
##[error]Process completed with exit code 1.
log tail:
with:
name: cics-crucible-results
path: /home/runner/work/_temp/cics_crucible
if-no-files-found: ignore
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
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
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
GITGALAXY_ORACLE_PREBUILT: 1
##[endgroup]
No files were found with the provided path: /home/runner/work/_temp/cics_crucible. No artifacts will be uploaded.
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/64ca8079-7064-49bf-b062-8998ed4bdb25' 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

== db2 2/4 (failure) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/38790561622/job/116614410263
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-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 642
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is c0c82455a1d4f57de2c1b339ffffc61d0296118b7dc95f94448cfdec8a85edd4
Finalizing artifact upload
Artifact det-sweep-db2-logs-1 successfully finalized. Artifact ID 12000522458
Artifact det-sweep-db2-logs-1 has been successfully uploaded! Final size is 642 bytes. Artifact ID is 12000522458
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/38790561622/artifacts/12000522458
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/4f51c3b7-558b-481b-8e49-e65113b0fe05' 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 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 labels Oct 15, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (921acfd) 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 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:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 15, 2026 19:47
squid-protocol added a commit that referenced this pull request Oct 15, 2026
…and det-port skills (Closes #5197) (#5205)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@squid-protocol
squid-protocol merged commit b78e753 into main Oct 15, 2026
67 checks passed
@squid-protocol
squid-protocol deleted the churn/5092-20261015T1840Z branch October 15, 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