Repository navigation
X18: faults planned in a RUN TRANSID child; CRECUST FETCH ANY reaches COMPSTATUS ABEND (Part of #6072) - #6973
Merged
Conversation
… ANY reaches COMPSTATUS ABEND (#6967) A fault with `"child": "<TRANSID>"` is written `@TRANSID CMD NAME NTH RESP RESP2[ ABCODE]`. Both runtimes hand the dispatched child its lines with the prefix off (C: the child dir's faults.cfg; Java: the child CicsTask's withFaults) and append what fired in the child to the parent's fired log, `@TRANSID ` first. The compare of a CHILD event's own events now normalizes nested Java LINK events as the top level already does. CBSA CRECUST: new scenario fetch-any-first-child-abends (OCR1: DELAY INVREQ 6 -> LINK ABNDPROC PGMIDERR 3 -> AEI0), which takes 853 WHEN DFHVALUE(ABEND): 55 -> 56/70 net branches, det proof PROVED on 21 scenarios. Part of #6072, Part of #6967. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
|
Det sweep of the 156 ports that |
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #6072. Part of #6967.
What
A scenario's fault can now be planned in a RUN TRANSID child task:
{"cmd": ..., "child": "OCR1", ...}.fault_lines(tests/tools/equivalence_cics_faults.py) validates a child fault exactly as it validates a root one and writes it@TRANSID CMD NAME NTH RESP RESP2[ ABCODE]. A child that is not a 1-4 character transaction id ([A-Z0-9@#$]) is refused by name. The root lookups never match@...lines, so a task's own faults are unchanged. The key ischild, nottask: cics_crucible'stask_faultsalready usestask.ggcics_taskcontrol.c, dispatch): before the fork, the parent's@TRANSIDlines for that transaction go to the child dir'sfaults.cfgwith the prefix off. After the child exits, itsout/faults.txtis appended to the parent's, each line@TRANSIDfirst.cics_task_taskcontrol.py,dispatchChildren): the same, throughwithFaultson the childCicsTask(childFaults/childFired). The child counts its commands as a task of its own, as the forked C child does.equivalence_cics.py, one line): a CHILD event's nested events are compared after the same LINK normalization (_link_as_compared) the top level gets. Until now no child issued a LINK that was compared, so nothing hit this.Evidence: CBSA CRECUST line 853,
WHEN DFHVALUE(ABEND)New scenario
fetch-any-first-child-abends. CRDTAGYn abends only throughDELAYRESP not NORMAL ->LINK ABNDPROC(no RESP) ->ABEND. ABNDPROC writes ABNDFILE, a region resource a child may not touch (R1). So the IBM-faithful plan is two faults in OCR1:DELAYINVREQ / 6 (the seconds are out of range);LINK ABNDPROCPGMIDERR / 3.The unhandled PGMIDERR abends the child (AEI0), and FETCH ANY answers COMPSTATUS ABEND. Both sides fire
@OCR1 DELAY - 1 16 6and@OCR1 LINK ABNDPROC 1 27 3.--faults all)The det proofs (
det_port.py run --faults all) of every case that runs children also prove: cbsa-crecust, cbsa-crecust-generated, cbsa-bnk1ccs, cbsa-bnk1ccs-generated, asynccc-asyncpnt.det_port.py checklists 156 ports whose only change is CicsTask.java's 43 new lines. Those lines run only for a dispatched child with@-prefixed plan lines. The det sweep of all 156 is in progress; its result follows in a comment.Class: injected faults in a RUN TRANSID child task
fault_linesvalidates it as a root fault then tags it; tests: each form,@OCR1+ the root lineABENDline (X70) in a child@TRANSIDfirst, both sideschild_programsfault_lineshas no case; the CRECUST test pins its scenario's children; see Sibling gapsTests (in
tests/cobol_mainframe/test_det_crecust_case.py, which pins CRECUST's scenario list anyway; the 5-file cap kept them out of a new file):NORMAL 900 KIDA, and the fired log holds@KC DELAY - 1 16 6.Sibling gaps
WHEN DFHVALUE(SECERROR)(CRECUST): IBM, FETCH ANY COMPSTATUS SECERROR, "failed to attach due to a security error. ABCODE is blank". This is a different mechanism: the child never runs. IBM does not document what CHANNEL the FETCH returns for it. Needs an owner ruling on that reply before it can be modelled.WHEN OTHER(CRECUST): IBM lists exactly three COMPSTATUS CVDAs (NORMAL, ABEND, SECERROR). Candidate reviewed-infeasible entry (data, Ladder climb L1->L4: 74 burned programs below L4 by estate and rung (coverage backlog after the translate stage) #6072).child_region_resource). This is why the scenario fails the LINK instead of running ABNDPROC.childnot checked againstchild_programsinfault_linescallers that have the case (equivalence_cics,strengthen.py). A fault naming a transaction no child runs is silently never fired. Small follow-up in the caller.Plan changes
equivalence_cics.py). The plan did not foresee it.X18.mdregister paragraph to stay at 5 hand-written files. Its text is the javadoc / C comments and this body. The new tests went into the existing CRECUST pin file instead of a new one: the pin had to change anyway.Gates
pr_gates.py --fast: 9/9 pass.pr_gates.py --ratchets: 9 pass.audit_check.py: all clear.ladder_refresh.py cbsa-crecust: proven, ledger written, 822 pin tests pass.test_x18_child_scope_4950,test_cics_family_split,test_equivalence_cics,tests/cics_crucible/,test_evidence): 1220 passed.🤖 Generated with Claude Code