microsoft / microsoft/openvmm

openvmm: vmm_tests: fetch data from blobs at runtime, rather than requiring user to download them in advance

Open
#953 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

storage testing
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 of FileDisk(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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.