witcher · research · also Witcher crash-consistency testing

Witcher

Witcher is a persistent-memory testing framework that selects crash states using inferred dependencies and checks recovered outputs against allowed executions.

Dependencies guide testing, not a proof: the SOSP 2021 design infers likely ordering and atomicity requirements, generates candidate persistent-memory images, and compares a recovered execution with committed or rolled-back alternatives. A dependency violation alone is not a reported correctness bug. [1]

The oracle observes the remaining test operations. Corruption without a visible symptom can escape detection, and deterministic output is required. Thread-interleaving coverage is limited. [1]

The pinned artifact compares complete output suffixes, rather than choosing an allowed answer independently for each line. A bounded source-method probe rejects mixed outcomes, stale values, truncation and extra output. It also accepts an injected invalid UTF-8 byte and CRLF/LF differences after text decoding, despite unequal bytes. This is a conditional observation boundary, not evidence that the paper's workloads missed corruption. [2] [4]

The artifact README describes a selected application subset and substantial VM requirements. Running the isolated comparison methods does not reproduce crash-state exploration, benchmark results or hardware persistence. [3] [4]

Relations

related
RECIPE persistent-index conversion, Crash-test oracle, Persistent memory, Durable linearizability, Persistence ordering

Limitations

  • Heuristic pruning can omit faulty states, so a successful run is not an exhaustive correctness certificate. [1]
  • Binary-output adapters must define an injective representation or reject malformed text if byte identity is part of their contract. [2, 4]

Citations

  1. Fu et al. Witcher: Systematic Crash Consistency Testing for Non-Volatile Memory Key-Value Stores. SOSP 2021, sections 3-7. (accessed 2026-12-05)
  2. Witcher ad69038: compare_to_oracles and compare_to_oracle_from_index. (accessed 2026-12-05)
  3. Witcher SOSP 2021 artifact, pinned README and reproduction requirements. (accessed 2026-12-05)
  4. Hesela: Witcher comparator observation boundary, executable probe and retained results. (accessed 2026-12-05)

Further reading

  1. Hesela: Crash-consistency tests and oracle coverage. (accessed 2026-12-05)
Sources & caveats
  • Reviewed SOSP 2021 (DOI 10.1145/3477132.3483556), the pinned official artifact and its comparator source.
  • Executed two unchanged comparator method bodies on ten synthetic output-file cases with UTF-8 decoding; source SHA-256 and Python version are retained.
  • No full Witcher run, PMDK crash exploration, hardware experiment or reproduction of the paper's bug counts is claimed.

JSON: /data/terms/witcher.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Witcher. Hesela. 2026-12-05. https://hesela.dev/terms/witcher/