Repository navigation
Run and Report Test Apps and OS Boot Results in Patina QEMU PR Validation [Rebase & FF] - #223
Merged
makubacki merged 5 commits intoNov 21, 2026
Conversation
apop5
reviewed
Nov 20, 2026
apop5
reviewed
Nov 20, 2026
apop5
approved these changes
Nov 20, 2026
Add inputs for an OS image, its boot device, a seed ISO, a test apps directory, and a timeout. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
setup-patina-qemu-validation can now skip the DXE core build to reduce builds across different run scenarios. A couplt of new actions are added to fetch the release firmware, record each run's outcome, timing, and test app/OS image details in a result.json file to be used for the PR comment. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Builds the DXE core once, then runs the pre-compiled test apps from the patina-qemu release and boot Ubuntu and the Windows Validation OS from an SSD on every platform and build target. Every run patches the PR's DXE core into the release ROM through build_and_run_rust_binary.py. OS images come from the cache. A missing image or release without test apps is reported as unavailable instead of failing. Both can be disabled with new run-test-apps and run-os-boot inputs. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Turns the result.json files from the validation jobs into comment sections. The renderer validates the file data before rendering it into markdown. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Downloads the result artifacts, renders them with the new action, and adds the sections to the success and failure comments. Metadata now records whether each check was enabled so the sections are only shown when they apply. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
makubacki
force-pushed
the
patina_pr_val_test_apps_and_os_boot
branch
from
November 20, 2026 22:51
519cfed to
ef6ce5c
Compare
Javagedes
approved these changes
Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #219
run-patina-qemu-validation: Support OS images and test apps
Add inputs for an OS image, its boot device, a seed ISO, a test apps
directory, and a timeout.
Add actions for QEMU jobs that use a prebuilt DXE Core
setup-patina-qemu-validation can now skip the DXE core build to
reduce builds across different run scenarios.
A couplt of new actions are added to fetch the release firmware,
record each run's outcome, timing, and test app/OS image details in
a result.json file to be used for the PR comment.
PR validation: Run test apps and boot OSes on the release firmware
Builds the DXE core once, then runs the pre-compiled test apps from the
patina-qemu release and boot Ubuntu and the Windows Validation OS from
an SSD on every platform and build target.
Every run patches the PR's DXE core into the release ROM through
build_and_run_rust_binary.py.
OS images come from the cache. A missing image or release without
test apps is reported as unavailable instead of failing. Both can be
disabled with new run-test-apps and run-os-boot inputs.
Add an action to render test app and OS boot results
Turns the result.json files from the validation jobs into comment
sections.
The renderer validates the file data before rendering it into markdown.
PatinaQemuPrValidationPost.yml: Report test app and OS boot results
Downloads the result artifacts, renders them with the new action, and
adds the sections to the success and failure comments.
Metadata now records whether each check was enabled so the sections
are only shown when they apply.
Example of a successful run (excluding size report which has a limitation with
base-refin fork testing):Test app result details:
Example of a single test app failure: