Integrate Antithesis using MOOG into Cardano node test suite
Maintainers usually reply within 1 day
@saratomaz is already working on this.
Since Feb 4, 2026.
Assessment
This issue has not been assessed yet.
Description
We want to integrate Antithesis to run the existing Cardano node tests in an autonomous simulation environment with fault injection (network delays, crashes, timing reordering, etc.), in order to find concurrency and distributed-system bugs that are hard to catch in CI alone.
MOOG will be used to invoke Antithesis runs, the full system under test, including Cardano nodes, supporting services, and the pytest test runner, will be provided via prebuilt Docker images.
The goal is to reuse the current pytest-based test suite unchanged where possible, while enabling deterministic execution and replay of failures within Antithesis.
Motivation
- The current test suite runs pytest-based integration tests against a running Cardano cluster.
- CI validates expected behavior, but does not systematically explore alternative schedules, timing variations, or failure scenarios.
- Antithesis allows us to:
- explore many possible executions of the same workload,
- replay failures deterministically,
- find bugs that do not reproduce reliably in CI.
High-level approach
- Build Docker images using the existing Nix-based build logic:
- Cardano node and related binaries
- Python test environment
- Publish Docker images on a public registry (like DockerHub or GHCR).
- Use MOOG only to invoke Antithesis
- Image references will be immutable (e.g. git SHA or digest)
Required changes
Containerization
- Create Docker images for:
- Cardano node services
- Pytest test runner
- Move Nix-based builds to image build time.
Test adjustments
- Run the existing pytest test suite in Antithesis unchanged.
- Identify environment and execution assumptions (e.g. networking, paths, timing).
- Fix issues that prevent reliable execution under fault injection (e.g. configuration, retries for eventual consistency).
- Optionally introduce Antithesis Python SDK assertions where they add value.
- Dominant language
- Python
- Stars
- 59
- Forks
- 28
- Avg merge
- 13h 57m
- Merged PRs (30d)
- 87
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from IntersectMBO/cardano-node-tests
-
node upstream bug
Difficulty 5/5 Over a week Newbie friendliness 25/100
IntersectMBO/cardano-node-tests#3670 · 1 comment ·
Maintainers usually reply within 1 day
-
node upstream bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
IntersectMBO/cardano-node-tests#3669 ·
Maintainers usually reply within 1 day
-
db-sync enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
IntersectMBO/cardano-node-tests#2653 · 1 comment ·
Maintainers usually reply within 1 day
-
[FR] cardano-db-sync - Create tests for new db-sync configurationPossibly taken @ArturWieczorek claimed this 122 days ago. Opendb-sync enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
IntersectMBO/cardano-node-tests#2652 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 3/5 1-2 days Newbie friendliness 45/100
IntersectMBO/cardano-node-tests#2421 ·
Maintainers usually reply within 1 day
All issues in IntersectMBO/cardano-node-tests
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
deepchem/deepchem#5289 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
UKGovernmentBEIS/inspect_evals#2892 · 1 comment ·
Maintainers usually reply within 1 day
-
Versioning docs: say that no output from the 0.46 warning check means nothing is affectedPossibly taken @grelinfo claimed this today. Opendocumentation priority:low size:S
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
alphacrack/readme2demo#293 ·