Crash-test oracle
A crash-test oracle is a checker that decides whether a recovered state satisfies the specified correctness and durability contract.
The allowed outcome can depend on which durable acknowledgements were observed before the fault. Merely opening recovered files does not check that contract; ALICE requires application-specific checkers. Record successful restart, structural correctness and user-data correctness as separate outcomes; a restart-only check cannot establish all three.
ALICE's 2014 evaluation checked documented invariants when clear and otherwise typical user expectations. Table 3(b) marks the latter separately; its 60 static vulnerabilities are not all violations of documented application guarantees. Name the contract and recovery steps used by each checker. [1]
ALICE supplies each checker with a crash-state directory and the standard-output history up to that crash. Inference: use the matching acknowledgement history, not the completed workload log. Applications requiring the original absolute path need relocation; those that cannot run concurrently may require serial checking despite separate candidate directories. [2]
Relations
- related
- Crash consistency, Bounded crash testing, Persistence ordering, Fault model, Fault injection, Crash refinement, Semantic filesystem fuzzing, ALICE, dm-log-writes
Limitations
- Trace coverage limits what a checker can validate: the public ALICE recorder omits memory-mapped writes even though the paper's version traced them. [4]
Citations
- Pillai et al. All File Systems Are Not Created Equal: On the Complexity of Crafting Crash-Consistent Applications. OSDI 2014; sections 3-4.
- University of Wisconsin-Madison ADSL. ALICE user documentation: checker contract and caveats.
- ALICE documentation at commit 6afda210b96b: ignore_mmap and the released-tool limitations, chapters 2 and 4.