oxidecomputer / oxidecomputer/propolis

PHD: support use of multiple guest OS artifacts in a single run

Open
#173 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement testing
Dominant language
Rust
Stars
270
Forks
42
Avg merge
4d 5h
Merged PRs (30d)
6

Description

PHD expects a --default-guest-artifact option that specifies the default guest OS image to use for tests that don't choose a distinct disk image themselves. This means that if someone writes a change and wants to test it manually against a full suite of guest OSes, they'll have to run PHD multiple times (or script those executions, or what-have-you). It would be nice to have an option to fold together runs with multiple guest OSes.

The simplest way to do this is probably to accept multiple guest OSes on the command line and have the runner add all the replications when it converts the test inventory into a collection of tests to execute.

Contributor guide

No contributing guide indexed for this repository

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 at PHD's handling of the --default-guest-artifact option and follow how the runner converts the test inventory into executable tests. Trace how one guest OS artifact becomes replications, then determine how multiple command-line artifacts should be represented and combined. Done means a single run can execute the inventory against multiple guest OSes without requiring separate PHD invocations.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.