Repository navigation
CardDemo nightly job case: POSTTRAN..COMBTRAN..CREASTMT proven, TRANIDX refused by name (Part of #8885) - #9072
Conversation
…DX refused by name (Part of #8885) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #9072 @ 01933cc: 2 failed check(s) == full-suite (failure) -- real == full-suite part 2/5 (failure) -- real |
|
No description provided. |
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
|
No description provided. |
|
CI shepherd: the head of this PR (ab34b32) is not the one a maintainer labelled |
|
CI shepherd: the head of this PR (ab34b32) is not the one a maintainer labelled |
|
No description provided. |
Part of #8885 (Part of #8878, Graveyard Shift 2).
Adds
tests/equivalence/jobs/carddemo-nightly.json: CardDemo's nightly as ONE job case (POSTTRAN, INTCALC, TRANBKP, COMBTRAN, CREASTMT, TRANIDX) from CardDemo's shipped data. It is not fully proven: steps 1-6 are equal on both sides; the last step (TRANIDX) is refused by name by the IDCAMS model. The case stays unproven until the slices under "Remaining slices" land.File-cap exception: harness, tests, decks and port are one atomic case
What changed
tests/tools/equivalence_job.py(harness): a GDG generation (gdg_in/gdg_out) on an IDCAMS step's sequential DD; a sequential DD may read a KSDS an IDCAMS step left; anibm_stopsICE043A stop now ends only the JCL job the stopped step belongs to (itsjobkey), so the later TRANIDX job still runs, and a later job that reads a step the stop never reached is refused by name._idcams_steptakes the GDG catalog (optional).carddemo-nightly.json+carddemo-tranbkp.idc+carddemo-combtran-step10.idc: the case and its two IDCAMS decks (case data).tests/equivalence/carddemo-sort-creastmt/port/+evidence.json: the det port of CREASTMT STEP010 (the lowered DFSORT), generated bydet_port.py run carddemo-sort-creastmt --faults none, which PROVED it standalone (13/13 translated). The nightly's Java side needs it; two list entries (MUTATION_PENDING,test_estate_evidence) record that its L5 mutation run is a follow-up, as for the sibling sort cases.tests/cobol_mainframe/test_job_case_nightly_8885.py: wiring and harness-rule tests, no Docker (one existing refusal test updated:gdg_inon an IDCAMS step is now allowed, a malformed one is still refused).Proof, per job and step (
equivalence.py run carddemo-nightly, local)Verdict: NOT proven over 7 of 9 steps (6 equal, 2 not reached by IBM's own stop, 1 refused).
What the chain claims
GnuCOBOL plus the models (IDCAMS det model, DFSORT lowering), not z/OS. Each step is proven as its own case and what a step reads is the COBOL side's output of the step before, the same bytes the Java side is given. The wiring (which step feeds which, the BKUP / SYSTRAN / COMBINED generations, the KSDS TRANBKP redefines empty and COMBTRAN STEP10 reloads) is written from the case, not read from the JCL (Graveyard Shift 3).
One deviation from the JCL, stated: the TRANBKP deck leaves out the
DELETE ... ALTERNATEINDEX(an absent entry: code 8, thenSET MAXCC = 0, no effect) because the IDCAMS model refuses that parameter by name (the IDCAMS DELETE ALTERNATEINDEX parameter). With it in, the run stops at step 3.Gates
ruff format --checkon the changed.pyfiles: clean.audit_check.py: all clear.pr_gates --fast: xray, gen-docs, derived, workflows, gauntlet pass; the affected-tests lane failed only on the new port's missing evidence record (fixed here) and ontest_call_compare_4778(a hard-coded/home/joe/gitgalaxy/repo/.mainframe_corpora/example-health-apispath that is not on this box).pr_gates --ratchets: estate, det-mutation, time pass; fact-crosscheck, completeness, ground-truth fail only becauseexample-health-apisis not fetched at its pin on this box (no engine file changed).test_evidence.pyandtest_estate_evidence.pypass (97).Class / Sibling gaps
Class: a chained job case needs every IDCAMS or sort step's model and committed port to cover the real deck and data, not only the harness. Siblings: (1) the IDCAMS model and
Idcams.javarefuseDELETE ... ALTERNATEINDEX(TRANBKP's real deck); (2) the model refuses a BLDINDEX whose busiest alternate key overflows RECORDSIZE (TRANIDX on this chain's 314 TRANSACT records; IBM's outcome needs a citation); (3)carddemo-sort-creastmthas no L5 mutation run; (4) the harness cannot run the CREASTMT steps after the stop, by IBM's own stop.Remaining slices
Idcams.javaparity forDELETE ... ALTERNATEINDEXof an absent entry (code 8), then restore the line incarddemo-tranbkp.idc.det_mutation.py runforcarddemo-sort-creastmt.Checklist: done [c:8eedb9bc] the nightly case file
tests/equivalence/jobs/carddemo-nightly.jsonChecklist: partial [c:69f0e953] proven locally for steps 1-6 with per-step records and condition codes above; TRANIDX refused by the model, TRANBKP's DELETE AIX omitted, det sweep not run
Checklist: done [c:718a1629] the note on what the chain claims (above and in the case's
notes)Lessons for agents
port/needsevidence.json(evidence.py prove KEY) and aMUTATION_PENDING+test_estate_evidenceentry, ortest_records_cover_the_portsand two estate tests go red.equivalence.py runof a 9-step job exceeds 10 minutes: start it withbg-job.sh, never as a background shell (the 600 s cap kills it with an empty log).det_port.py run CASE --faults none), or the Java side fails withcannot find symbol DfsortstService.🤖 Generated with Claude Code