crash-test-oracle · research · also recovery correctness checker

Crash-test oracle

A crash-test oracle is a checker that decides whether a recovered state satisfies the specified correctness and durability contract.

Related Observatory article: Read on hesela.com

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

  1. Pillai et al. All File Systems Are Not Created Equal: On the Complexity of Crafting Crash-Consistent Applications. OSDI 2014; sections 3-4. (accessed 2026-11-12)
  2. University of Wisconsin-Madison ADSL. ALICE user documentation: checker contract and caveats. (accessed 2026-11-12)
  3. ALICE documentation at commit 6afda210b96b: ignore_mmap and the released-tool limitations, chapters 2 and 4. (accessed 2026-11-30)

Further reading

  1. Hesela. Crash-consistency tests: the oracle is part of the result. (accessed 2026-10-12)

JSON: /data/terms/crash-test-oracle.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Crash-test oracle. Hesela. 2026-12-01. https://hesela.dev/terms/crash-test-oracle/