openvmm-ci-investigation
Skill1.9k starsChanged 2 months agoMITView on GitHub
Investigate CI failures on OpenVMM PRs. Load when a PR has failing CI checks, you need to download and analyze test artifacts, or you need to diagnose build, fmt, clippy, or VMM test failures.
Trending
Quiet since October.about the whole repository
Who's talking about microsoft/openvmm
- A Hacker News story“OpenVMM – A New VMM for Windows and Linux, Written in Rust”Hacker News · Oct 17, 2024 · 171 points
- @timclicks.dev“OpenHCL is a "paravisor" that can provide confidential computing to guest VMs that's hardware enforced. Its …”Bluesky · Nov 26, 2024 · 13 likes
- @github-trending.bsky.social“🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / openvmm ⭐ 1,137 (+647) 🗒 Rust Home of OpenVMM and OpenHCL.”Bluesky · Oct 19, 2024 · 2 likes
- @jim-lawless.bsky.social“Microsoft's new cross-platform VM written in Rust: #rustlang github.com/microsoft/op...”Bluesky · Oct 19, 2024 · 2 likes
- @enrichthesoil.bsky.social“É guys github.com/microsoft/op...”Bluesky · Oct 17, 2024 · 2 likes
The biggest 5 of 34 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 34
Talked about on GitHub, Bluesky and Hacker News (34 times).
On GitHub · 27
- Mar 14, 2025doc: clarify the guaranteeds for `Zoned::{since,until}` — BurntSushi/jiff1 reaction
- Oct 2, 2026[FEATURE] 当最后一个实例关闭之后使用wsl --shutdown而不是wsl --terminate — owu/wsl-dashboard0 reactions · 1 comment
- Sep 30, 2026Switch to big PIC — microsoft/openvmm-deps0 reactions · 1 comment
- Sep 17, 2026Config: Fix DisableSha1Pcr configuration to also apply for ARM64 platforms — microsoft/mu_msvm0 reactions
- Sep 15, 2026【从能人智工到人工智能】第零篇——环境初始化 — WslzGmzs/WslzGmzs.github.io0 reactions
22 more on GitHub
- Aug 30, 2026[ENHANCEMENT][DEVICE] Exclusive physical PCIe device claim/release with full native guest access — iteathen/DevBridge0 reactions · 5 comments
- Aug 14, 2026openvmm: add new package — microsoft/azurelinux0 reactions · 14 comments
- Jul 17, 2026MsvmPkg: unify UEFI parameter configuration handoff — microsoft/mu_msvm0 reactions · 4 comments
- Jun 25, 2026Update Microsoft.WSL.DeviceHost to 1.2.39-0 — microsoft/WSL0 reactions
- May 12, 2026virtiofs: improve virtiofs performance by negotiating MAX_PAGES — microsoft/WSL0 reactions · 2 comments
- Apr 13, 2026mu_msvm: add support for hardware emulated pcie — microsoft/mu_msvm0 reactions
- Mar 23, 2026IGVM: Add support for booting non-SNP guests via native x86-64 VP context — cloud-hypervisor/cloud-hypervisor0 reactions · 3 comments
- Mar 17, 2026Enable DNS tunneling for VirtioProxy networking mode — microsoft/WSL0 reactions
- Mar 1, 2026build(deps): bump tracelimit from `fe7a562` to `dd3a530` — mripard/dradis0 reactions
- Jan 22, 2026refactoring for comments from upstream — hgarvison/openvmm0 reactions
- Jan 21, 2026virtiofs: add support for statx syscall — microsoft/WSL0 reactions
- Jan 9, 2026abstracting out the dll parser into its own package to be shared — hgarvison/openvmm0 reactions · 1 comment
- Jan 1, 2026build(deps): bump tracelimit from `79722f9` to `fe7a562` — mripard/dradis0 reactions
- Dec 1, 2025build(deps): bump tracelimit from `4ebc209` to `009339d` — mripard/dradis0 reactions
- Oct 1, 2025build(deps): bump tracelimit from `5ca22cb` to `4ebc209` — mripard/dradis0 reactions
- Sep 1, 2025build(deps): bump tracelimit from `b9a2abc` to `94889ca` — mripard/dradis0 reactions
- Aug 19, 2025build(deps): bump tracelimit from `53956a2` to `b9a2abc` — mripard/dradis0 reactions
- Aug 1, 2025build(deps): bump tracelimit from `01d7560` to `53956a2` — mripard/dradis0 reactions
- Jun 4, 2025structured logging: Add a list of fields to Metadata — rust-lang/log0 reactions · 5 comments
- May 22, 2025Add support for redirected VTL0 interrupts — microsoft/OHCL-Linux-Kernel0 reactions · 11 comments
- Jan 18, 2025OpenVMM- Project Proposal — confidential-computing/governance0 reactions · 2 comments
- Jan 2, 2025Updating tracing-core from 0.1.30 to 0.1.31 results in singificant binary size increase — tokio-rs/tracing0 reactions · 1 comment
On Bluesky · 6
- Nov 26, 2024OpenHCL is a "paravisor" that can provide confidential computing to guest VMs that's hardware enforced. Its virtual machine manager… — @timclicks.dev13 likes and reposts · 1 reply
- Oct 19, 2024🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / openvmm ⭐ 1,137 (+647) 🗒 Rust Home of OpenVMM and OpenHCL. — @github-trending.bsky.social2 likes and reposts · 1 reply
- Oct 19, 2024Microsoft's new cross-platform VM written in Rust: #rustlang github.com/microsoft/op... — @jim-lawless.bsky.social2 likes and reposts
- Oct 17, 2024É guys github.com/microsoft/op... — @enrichthesoil.bsky.social2 likes and reposts · 2 replies
- Oct 17, 2024OpenVMM – A New VMM for Windows and Linux, Written in Rust Discussion — @hackernewsbot.bsky.social1 likes and repost
1 more on Bluesky
- Nov 20, 2024Discussion of OpenHCL (github.com/microsoft/op...) Confidential Containers, Confidential Containers in Azure Red Hat OpenShift (ARO) and… — @aaronw.dev0 likes and reposts · 1 reply
On Hacker News · 1
- Oct 17, 2024OpenVMM – A New VMM for Windows and Linux, Written in Rust171 points · 118 comments
In this repository4 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- fuzzingSkill
- guide-maintenanceSkill
- vmm-testsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 9 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
When a PR has failing CI checks, always start by running the investigation script.
- Very specific: line 37
If no test or JUnit artifacts exist (build/fmt/clippy failure), shows the tail of the failed job's log
- Distinctive: line 42
Read the script's output to identify:
- Very specific: line 47
When more than one run failed, the output is split by # RUN n of m banners.
- Distinctive: line 48
Check all of them — a docs failure and a build failure are reported in separate runs.
- Distinctive: line 57
Read the relevant test source, trace the error through the code, and form a hypothesis before considering local repro.
- Distinctive: line 62
If you cannot diagnose the failure from logs alone, ask the user whether they want to attempt local reproduction before proceeding.
- Distinctive: line 66
If the user agrees, check whether the failing platform matches the host architecture — you can only reproduce tests locally on the same …
- Distinctive: line 81
If the script isn't available or you need more control, follow these steps:
- Very specific: line 197
Test results are uploaded to Azure Blob Storage and viewable at: https://openvmm.dev/test-results/#/runs/<RUN_ID>_<RUN_ATTEMPT>
- Distinctive: line 217
No test artifacts will exist.
- Distinctive: line 221
Timeout: Test exceeded its time limit.
- Very specific: line 223
Build failure: No test artifacts will exist.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Investigating CI Failures
When a PR has failing CI checks, always start by running the investigation script. Do not manually query the GitHub API or download artifacts by hand — the script handles all of that automatically.
Step 1: Run the Script
# Investigate the current branch's PR (no argument needed)
python3 repo_support/investigate_ci.py
# Investigate a specific PR by number
python3 repo_support/investigate_ci.py 2946
# Or by run ID directly
python3 repo_support/investigate_ci.py 23017249697The script automatically:
- Resolves the PR to every failed CI run for its head commit. A commit
can have multiple workflows (e.g. "OpenVMM PR" and "OpenVMM Docs PR"),
and each failing one is investigated in turn — so don't assume a single
run covers everything. Only the newest run of each workflow is used, so
superseded runs are ignored; a
NOTE: <workflow> is still in_progressline means results are incomplete and more failures may appear later. - Identifies failed jobs
- Downloads
*-unit-tests-junit-xmlartifacts and parses JUnit XML for unit test failures - Downloads
*-vmm-tests-logsartifacts if they exist - Finds tests with
petri.failedmarkers and extracts ERROR/WARN lines - If no test or JUnit artifacts exist (build/fmt/clippy failure), shows the tail of the failed job's log
Step 2: Analyze the Script Output
Read the script's output to identify:
- Which tests failed (unit tests and/or VMM tests)
- Error messages and root causes
- Whether it's a build/fmt/clippy failure vs. a test failure
When more than one run failed, the output is split by # RUN n of m banners.
Check all of them — a docs failure and a build failure are reported in
separate runs.
Then use the information to diagnose the issue and suggest fixes.
Step 3: Diagnose from Logs and Code
Always try to diagnose the failure from CI logs, test code, and error messages first. Most failures can be understood without local reproduction. Read the relevant test source, trace the error through the code, and form a hypothesis before considering local repro.
Step 4: Reproduce Locally (Only If Needed)
If you cannot diagnose the failure from logs alone, ask the user whether they want to attempt local reproduction before proceeding. Do not automatically start building or running tests on the user's machine.
If the user agrees, check whether the failing platform matches the host architecture — you can only reproduce tests locally on the same arch. If it doesn't match, explain this to the user and continue diagnosing from CI logs and test code.
To reproduce locally, load the vmm-tests skill for instructions on
running with cargo xflowey vmm-tests-run. Do not use
cargo nextest run -p vmm_tests directly — it won't have the required
artifacts.
Reference: Manual Commands
Only use these if the script fails or you need to dig deeper into a specific artifact. In normal usage, the script above is sufficient.
If the script isn't available or you need more control, follow these steps:
1. Find the failing run
# Get the run ID for a PR
gh pr checks <PR_NUMBER> -R microsoft/openvmm
# Or list runs for a specific commit
gh run list -R microsoft/openvmm --commit <SHA>2. Identify the failing job
gh run view <RUN_ID> -R microsoft/openvmm --json jobs \
-q '[.jobs[] | select(.conclusion == "failure") | {name, databaseId}]'3. Download test artifacts
Unit test results are stored in JUnit XML artifacts named
{platform}-unit-tests-junit-xml. Known platforms include:
x64-linuxaarch64-linuxaarch64-linux-musl
# Download unit test JUnit XML for a platform
gh run download <RUN_ID> -R microsoft/openvmm \
-n aarch64-linux-unit-tests-junit-xml -D /tmp/junit-xml
# Parse failures from the XML
python3 -c "
import xml.etree.ElementTree as ET, sys
for f in __import__('pathlib').Path(sys.argv[1]).rglob('*.xml'):
for tc in ET.parse(f).iter('testcase'):
fail = tc.find('failure')
if fail is None:
fail = tc.find('error')
if fail is not None:
print(f'FAIL: {tc.get(\"classname\",\"\")}::{tc.get(\"name\",\"\")}')
print(f' {fail.get(\"message\",\"\")[:200]}')
" /tmp/junit-xmlVMM test results are stored in artifacts named {platform}-vmm-tests-logs.
The known platforms are:
x64-windows-intelx64-windows-intel-tdxx64-windows-amdx64-windows-amd-snpx64-linuxaarch64-windows
# Download a specific platform's test logs
gh run download <RUN_ID> -R microsoft/openvmm \
-n x64-windows-amd-snp-vmm-tests-logs -D /tmp/test-logs4. Find failed tests
Each test gets its own directory inside the artifact. Look for petri.failed
marker files (passing tests have petri.passed instead):
find /tmp/test-logs -name "petri.failed"The petri.failed file contains the error petri recorded for the test. The
test's real name is in petri.test, which petri writes before the test body
runs — so a directory with petri.test but no result marker is a test that
was killed or crashed before it could report.
5. Extract errors from petri.jsonl
The petri.jsonl file in each test directory is the primary structured log.
Each line is a JSON object with fields: timestamp, source, severity,
message. Filter for ERROR and WARN severity for a quick diagnosis:
python3 -c "
import json, sys
for line in open(sys.argv[1]):
try:
e = json.loads(line.strip())
if e.get('severity') in ('ERROR', 'WARN'):
print(f'[{e[\"severity\"]}] {e.get(\"source\",\"?\")}: {e.get(\"message\",\"\").strip()[:200]}')
except: pass
" /tmp/test-logs/<test-dir>/petri.jsonlArtifact Contents
Unit test JUnit XML
Artifacts named {platform}-unit-tests-junit-xml contain JUnit XML files
with <testcase> elements. Failed tests have <failure> or <error>
children with message attributes describing the failure. These are the
primary artifacts for diagnosing unit test / cargo-nextest failures.
VMM test logs (petri)
Each test directory contains:
petri.jsonl— Structured JSON Lines log (primary file for investigation)petri.log— Plain text version of the test logpetri.test— The test's name, written before the test body runspetri.passedorpetri.failed— Pass/fail marker; a failure marker holds the erroropenhcl.log— OpenHCL serial console output, if the test exercised OpenHCLhyperv.log— Hyper-V event log, if the test exercises the Hyper-V backendopenvmm.log— OpenVMM serial console output, if the test exercises the OpenVMM backendguest.log,uefi.log— Guest OS serial output- Sometimes:
screenshot_*.png— periodic screenshots of the guest - Sometimes:
dumpfile.dmp
Viewing Results in Browser
Test results are uploaded to Azure Blob Storage and viewable at:
https://openvmm.dev/test-results/#/runs/<RUN_ID>_<RUN_ATTEMPT>
Logs are uploaded per re-run attempt, so the run key includes the attempt
number (1 for the first attempt). investigate_ci.py prints the correct
URL in its summary.
Common Failure Patterns
- Unit test failure: A
unit testsjob failed. The script downloads JUnit XML artifacts and shows the failing test names and messages. Common causes: new test code that relies on OS capabilities not available in CI (e.g. TAP devices, elevated permissions). - Formatting / house-rules: The
quick check [fmt, clippy x64-linux]job failed. No test artifacts will exist. Runcargo xtask fmt --fixlocally and check the job log for the specific rule that failed. - Docs failure: A job in the separate "OpenVMM Docs PR" workflow failed —
either
build mdbook guide(broken Guide markdown/links; mdbook logs[ERROR] (mdbook::...)) orbuild and check docs(rustdoc warnings, which are denied in CI). Reproduce withcargo doc --no-deps -p <package>. No test artifacts will exist. - TripleFault: VM hit a fatal error during boot. Check
petri.jsonlfor Hyper-V Worker/Chipset errors. Often infrastructure-related, not caused by the PR's code changes. - Timeout: Test exceeded its time limit. Check if the VM booted at all.
- Guest assertion failure: Guest-side test failed. Check
guest.log. - Build failure: No test artifacts will exist. Check the job log directly
with
gh run view <RUN_ID> --job <JOB_ID> --log.
Important API Note
The gh run view --json artifacts flag does not exist. To list artifacts
for a run, use the GitHub API directly:
gh api repos/microsoft/openvmm/actions/runs/<RUN_ID>/artifactsDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

