Repository navigation
Bloodhound v0.1.0
First release of Bloodhound - a deterministic simulation testing platform
for distributed systems.
Highlights
- Actor-based simulation architecture with TimeActor, FaultActor, VmActor,
WorkloadActor, and EventCollectorActor - Deterministic execution via patched QEMU with seeded PRNG
- Fault injection including network partitions, process crashes, disk faults
- Property checking with Safety, Liveness, and Invariant properties
- BUGGIFY-style probabilistic fault injection macros
- Time-travel debugging with snapshot/restore support
- Docker Compose integration for defining system topology
Commands
bloodhound test- Run deterministic simulation testsbloodhound explore- Explore state space with multiple seedsbloodhound debug- Debug failures with time-travelbloodhound replay- Replay execution tracesbloodhound verify- Verify determinism across runs
Platform Support
Linux x86_64 (Fully Tested)
- Full support for real VM mode with QEMU/KVM
- Harness/simulation mode for unit testing
- All 296 unit tests + 44 integration tests passing
macOS (Harness Mode Only)
- Harness/simulation mode works (unit tests pass)
- Real VM mode (
--async-vm) is UNTESTED and likely requires:- QEMU built with HVF (Hypervisor.framework) support
- Different VM configuration
- Use
--actor-modewithout--async-vmfor simulation testing
Known Limitations
- Real VM execution only tested on Linux with KVM
- Patched QEMU fork (nerdsane/qemu) only built for Linux
- macOS real VM support is experimental
Installation
Download the appropriate binary for your platform from the assets below, or build from source:
cargo install --git https://github.com/nerdsane/bloodhound