Skip to content

Bloodhound v0.1.0

Choose a tag to compare

@nerdsane nerdsane released this 08 Jan 19:20
· 64 commits to master since this release

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 tests
  • bloodhound explore - Explore state space with multiple seeds
  • bloodhound debug - Debug failures with time-travel
  • bloodhound replay - Replay execution traces
  • bloodhound 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-mode without --async-vm for 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