microsoft / microsoft/openvmm

vmm_tests/petri: add ability to lower severity of com3 emitted logs, for tests that print too much to com3

Open
#2,000 2 comments 0 reactions 1 assignee View on GitHub

@damanm24 is already working on this.

Since Sep 12, 2025.

enhancement testing
Dominant language
Rust
Stars
1.9k
Forks
238
Avg merge
1d 15h
Merged PRs (30d)
100

Description

Some tests (like the newly added MNF one) emit a lot of logs over com3 due to some components emitting a lot of logs. This is slow, and can cause timeout issues in the guest due to openhcl being too busy writing logs over emulated com3. This is especially apparent when openvmm is the virtstack, and running nested due to high intercept cost.

We need the ability to set the console serial threshold after we get a kmsg connection, so we can have the early logs available, but later logs only high severity ones go over com3. Petri should do this so that the tests are more reliable.

A design probably looks like adding a new explicit grpc message to change the com3 logging level that petri can send, once it has kmsg connected.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.