Repository navigation
Db2 abend injection (X73): AD2Z planned on a -911 statement (Part of #6271) - #6350
Conversation
…BEND takes it (Part of #6271) A scenario sql_faults entry naming its statement by line and failing it with -911 may add "abend": "AD2Z": the statement fails as planned, then the task abends AD2Z (IBM: the CICS-Db2 attach's syncpoint rollback after the deadlock fails). The COBOL side plants a GGSQLAB marker after the statement's call; the det port checks task.planned("SQL", ...) in a HANDLE ABEND program. Proven on cbsa-dbcrfun. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…umption in X73 (Part of #6271) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #6350 @ 8f0b77b: 1 failed check(s) == det (failure) -- real |
…AD2Z scenarios (Part of #6271) The det CI ratchet failed on these two entries (case fingerprint stale, coverage moved up: dbcrfun 19->21/22 paragraphs, 28->30/35 branches; xfrfun 46->47/81 branches). Re-measured from a local Db2 sweep at this head; both PROVED with the numbers CI measured. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI shepherd: the head of this PR (ab07113) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Checklist: partial [c:b93f4d8b] -- LINK/CALL abends, non-file commands
What changed
Db2 abend injection (register X73). A scenario
sql_faultsentry that names its statement bylineand fails it with SQLCODE -911 may add"abend": "AD2Z": the statement fails as planned, then the task abends AD2Z (cause system) and the nearest HANDLE ABEND exit runs.equivalence_cics.py:sql_fault_planaccepts/refuses and emits a CICS-side plan lineSQL PROG:LINE NTH -1 0 AD2Z;mark_sql_abendsplantsEXEC CICS GGSQLABafter the planned statement's call (COBOL side);faults.cfgis also written for an abend-only plan.ggcics.c:GGCSQLABstub reads the plan throughinjected().det/sql.py: in a program with HANDLE ABEND, a statement is followed bytask.planned("SQL", ...),abendExit()andended()checks (this moved 25 det ports; all re-proved PROVED).cbsa-dbcrfunupdate-deadlock-abends-ad2z(line 392),cbsa-xfrfunfrom-update-deadlock-abends-ad2z(line 992). Both PROVED.docs/language_status/register/X73.md,tests/tools/test_equivalence_sql_abend_injection.py(13 tests).Evidence level
Executed-equivalent on 2 scenarios (DBCRFUN, XFRFUN), COBOL under GnuCOBOL + stub vs det port, events and faults fired equal. Assumed: the failed rollback (the plan states it), the SQLCA left after the abend, and
sqlerrmc00C90088(the AD2Z arm readsSQLERRMC(1:SQLERRML)). The oracle is GnuCOBOL plus our stub, not z/OS. Refused: other abend codes, other SQLCODEs, table/verb selection, a program with no HANDLE ABEND.Gates
audit_check.pyall clear;pr_gates.py --fast7/7;--ratchets9/9; unit test 13 passed. No parsing files touched (no golden bless).Class / Sibling gaps
cbsa-xfrfun-generated: scenario dropped; the generated Db2 rows never reach the first UPDATE, so nothing fired on either side.Cross-repo: none.
🤖 Generated with Claude Code
Coverage (det sweep, re-recorded in the ledger at ab07113)
Lessons for agents
detcheck whose ci_digest names cases NOT PROVEN is not always the cause. Here the skip-Db2 leg's mortgage cases were expected (baselined FUNCTION ANNUITY hole). The real failure was in the Db2 leg:coverage ledger: <case>: ... coverage movedlines, printed just abovesweep: N unexpected. If a PR adds scenarios to a Db2 case, re-runproof_sweep.py --det-only --cases <case>(Db2 container up) anddet_coverage_ledger.py update <work>before pushing.