Skip to content

oracle-gaps e2e: an abort stop owes SIGABRT under a setup file that throws (main and #131) #137

Open

Description

@KyleAMathews

A random unit of the gap report's end-to-end oracle fails on main and on #131 with the same difference. This was found by the merge gate's F6 sweep on #131.

  • Unit: random seed: a declaration fault: setupThrows.
  • Law: greppable stream, checkpoint stopped.
  • Difference: "the stopped run's last line is oracle-gaps: done completed, 4 gaps (provisional), report <package>/out-stop/summary.md, not oracle-gaps: done error, the run's process exited with SIGABRT".
  • Replay: ORACLE_SEED=2039724679 ORACLE_PATH=0 ORACLE_PROPERTY='oracle-gaps.report' ORACLE_UNIT='random seed: a declaration fault: setupThrows' vitest run -t '^oracle-gaps\.report(?: | > )random seed: a declaration fault: setupThrows$'.
  • The replay on main 2552d6a (Arca mc-attr-setup-main) and on fix(oracle-gaps): close the merged-PR conformance gaps (drawn fields, F-D, cold fallback) #131 at 21d37bc (mc-attr-setup-head) fails the same way, so the defect is main's (base-replay attribution, v21.2 R42).

The likely cause:

  • The history combines the setupThrows fault with a stop run whose when is abort.
  • A setup file that throws fails file a before any test runs, so file a's aborting test never runs, and the stop run completes.
  • The law still owes the abort's error line for it. This is a model or driver precondition gap (v21.2 R7: an obligation whose precondition contradicts the model's own prediction). It is not confirmed.

Full history (the M entry "Replay by history"):

Counterexample: [{"functions":[[{"kind":"optional"}]],"containers":[],"overloads":[],"owners":[],"library":[],"libraryOwners":[],"runes":[],"derived":null,"sourceSpelling":"linked","dotGen":false,"ownsSpelling":"plain","wholeFile":"none","template":true,"tests":[{__proto__:null,"file":"b","route":"fixed history","registered":true,"name":"route","fn":0,"input":1,"judges":false,"law":"L","channel":"observe","flaky":false,"judgeBy":"soft","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":true,"cleanupThrows":false,"asProp":false,"then":{__proto__:null,"route":"determinism","input":1},"work":null,"timed":false},{"file":"b","route":"determinism","registered":true,"name":"route","fn":7,"input":0,"judges":true,"law":"reach agreement","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":true,"asProp":true,"then":{"route":"determinism","input":1},"work":null,"timed":false},{__proto__:null,"file":"b","route":"fixed history","registered":true,"name":"route","fn":7,"input":6,"judges":false,"law":"reach agreement","channel":"observe","flaky":false,"judgeBy":"soft","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":true,"asProp":false,"then":{"route":"random seed","input":0},"work":null,"timed":false}],"witness":"capture","authored":{"stmt":19,"kind":"ambiguous"},"declaration":"wrapper","ownerless":false,"fault":"setupThrows","stability":"reformat","ordinary":false,"lazyGate":false,"secondAuthored":false,"consoleOutput":false,"config":"function","configEnv":true,"setupGlobal":true,"native":"none","depSubpath":false,"unbuiltDep":false,"boot":true,"budget":"one","stopRuns":[{"signal":"SIGTERM","pool":"threads","when":"run"},{__proto__:null,"signal":"SIGINT","pool":"forks","when":"abort"}],"onlyRun":false,"pragma":false,"cliPath":"plain","concurrentStart":false,"configFile":"vite.config.mjs","configPlace":"discovered","packageType":"commonjs","configAwait":false,"configRequire":false,"contexts":4,"steps":null,"dataOwners":["none","a","none"],"exportOwners":["a","none","b"],"importer":"a","midrunBy":"b","midrunTarget":"helper","prePlugin":true,"fsRead":"none","laterSteps":[],"tornRows":false,"pauseEngages":true,"warmReplaced":true,"testRoot":"parent","loadPlugin":true,"rejectBatch":0,"replyHeld":false,"spinData":false,"siblingDir":true,"hookStops":false,"spinThrows":true}]

This issue was written by Isaac.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions