oxidecomputer / oxidecomputer/crucible

Make a repair/reconciliation test that includes powering off a VM

Open
#1,810 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
260
Forks
34
Avg merge
2d 1h
Merged PRs (30d)
8

Description

From #1788, we found our current tests that just killed/restarted downstairs process were not enough to cover what happens when a sled loses power. We should come up with a test framework that will include the hard power off and subsequent reboot and repair to simulate what happens during a sled power loss.

An idea would be to run the downstairs inside a VM, then kill the VM.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing issue #1788 and the existing tests that kill and restart the downstairs process. Investigate how a downstairs instance could run inside a VM, then define the test flow for hard power-off, reboot, and subsequent repair. Done means the framework exercises sled power-loss recovery rather than only process restarts.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
distributed-systems, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.