openvmm: vmm_tests: fetch data from blobs at runtime, rather than requiring user to download them in advance
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.9k
- Forks
- 238
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 100
Description
One of the issues with running vmm tests is that it takes a very long time to download the images used to test. On a recent test machine over good internet, it took me 20 minutes. We have the primitives (thanks to @jstarks and @daprilik) to grab only the used sectors at runtime.
- Update our petri test infra to use
SqliteDisk(BlobDisk(url))instances, instead ofFileDisk(path)instances in tests. Start with this: this gives the simple primitive that we can then evaluate / build from. - Likely depends on a fix for #952
- Play with this some / get some feedback to see if there should be any sort of prefetch.
Reported-By: @daprilik
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start in the petri test infrastructure and inspect the tests that currently construct FileDisk(path) instances; first review the dependency on issue #952. Replace the relevant test setup with SqliteDisk(BlobDisk(url)), then run the VMM tests and evaluate whether runtime fetching needs prefetching.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, sqlite
- Domain
- infrastructure, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100