Repository navigation
equivalence: clear the COBOL fault log before a fault step so --reuse stops doubling it (Part of #4047) - #5748
Conversation
… stops doubling it (Part of #4047) ggfault.c appends to work/FAULTS; a second pass over a kept work dir doubled each fired fault, and --reuse copied the doubled log into every mutant, so posttran's fast mode killed all mutants on open-dalytran ("COBOL [x2], Java [x1]"). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5748 @ be9f150: 1 failed check(s) == det (failure) -- real |
… its install placeholders (Part of #5089) The engine now reads zECS's ZCEXPIRE.idcams as a define whose name keeps @ECS_HLQ@/@Environment@, so stub_files took it as the file's base ("no data for @ECS_HLQ@...") and zecs-zecs000 went NOT PROVEN on main too. A name resolved through the case's install_symbols that has a stated vsam now takes that, as before. Found fixing the det check on #5748. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (4a8a5cc) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
…nd 2; bbd92e25af not reproduced (Part of #4047) (#5759) * equivalence: clear the COBOL fault log before a fault step so --reuse stops doubling it (Part of #4047) ggfault.c appends to work/FAULTS; a second pass over a kept work dir doubled each fired fault, and --reuse copied the doubled log into every mutant, so posttran's fast mode killed all mutants on open-dalytran ("COBOL [x2], Java [x1]"). Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * equivalence: a case-stated vsam wins over an IDCAMS define that keeps its install placeholders (Part of #5089) The engine now reads zECS's ZCEXPIRE.idcams as a define whose name keeps @ECS_HLQ@/@Environment@, so stub_files took it as the file's base ("no data for @ECS_HLQ@...") and zecs-zecs000 went NOT PROVEN on main too. A name resolved through the case's install_symbols that has a stated vsam now takes that, as before. Found fixing the det check on #5748. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * mutation: fast mode agrees with --full on fresh posttran and cardlist samples at --jobs 1 and 2; bbd92e25af not reproduced (Part of #4047) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Part of #4047. Checklist: partial [c:0f9790f1] -- slice 1 of 3 (fault-log fix; slice 2 re-runs
mutation.py compare, slice 3 flips the--one-jvmdefault).Cross-repo
None: tests/tools only. Companion work is the later slices of #4047.
What
ggfault.c/ the SQL fault shim append towork/FAULTS.equivalence.run_cobolnever cleared it, so a second pass over a kept work dir logged each fired fault twice, and--reusecopied that doubled log into every mutant's COBOL side: "faults fired differ: COBOL [x2], Java [x1]" = a false kill on posttranopen-dalytran(every fast mutant killed). Evidence:open-dalytran/cobol/FAULTSheldDALYTRAN OPEN 1 35twice in the fast/one-jvm/full baselines, once in a fresh run.equivalence.fresh_fault_log(work, fault): removeswork/FAULTSbefore a fault step that is not reused (a reused step keeps the earlier log).equivalence_java.py: the Java fault area'sout/FAULTSis cleared before the run (same append log).tests/tools/test_equivalence_reuse_faults.py: doubled/clean/empty log, main run untouched, reused step keeps the earlier log, two passes log once.Class
--reusestate that is not idempotent (append-mode fault logs). BatchFAULTS(incl. SQL faults, same file) and the Java fault area: handled. CICSfaults.txt: already cleared byrmtree(work/"scenarios")(equivalence_cics.py:3257), no change.Evidence
Fast mode on carddemo-posttran, the same 30-mutant
--onlyset as the earlier full run: 24 killed, 4 survived, 2 stillborn; every mutant the full run judged agrees (0328895b0b, df62c6ebf3 survive in--fulltoo). Before: 28/28 killed. Six mutants haveerrorin the old full reference (full's own errors), so they are not judged either way.pr_gates --fast6/6 pass; new test file passes. No parsing logic touched: no golden bless.cardlist
No cardlist code change: with the fix, the same 30-mutant
--onlyset in fast mode gives 0 errors (was 13no report), 21 killed / 6 survived / 3 stillborn, and 29 of 30 agree with the earlier--full(was 12). Theno reporterrors were not a harness defect: the earlier validation's stages shared a work dir (proof/javawas deleted under a running proof). One disagreement remains,bbd92e25af(RET, CocrdlicService.java:997): full survived, the batch fast run killed it ("faults fired differ", Java fired the READNEXT/READPREV fault twice). Not reproduced: the same mutant alone, fast (--reuse,--first-difference) and--full, is proven (survives) with the Java log written once. Cause open (suspect: two--jobssharing the reused baseline's build); slice 2 re-runscompareon a fresh sample.🤖 Generated with Claude Code