PR Validation Tracking Issue: Occasional QEMU "Failed with error #-11" message

Open
#2,024 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
rust
Domain
ci-cd, testing

Research direction

This is a tracking issue for an intermittent, non-reproducible QEMU failure, so there is no patch to start from. Begin with the attached test-apps-Q35-DEBUG.log and compare it against a passing run of the same UEFI test-app job to see whether the failure sits in the guest's FAT filesystem setup or in the host-side QEMU invocation. Locate that job's workflow definition and the drive configuration it passes to QEMU, since the thread suspects filesystem access rather than the guest code. Done means either a reproduction recipe or a root cause, not a code change.

Written by the indexing model from the issue text.

Description

On Linux (Ubuntu 24.04.5 LTS) hosts, an occasional QEMU error has been observed at this point in boot in UEFI test app workflow runs:

OnFileSystemNotification: Entry...
OnFileSystemNotification: processing a potential log device on handle D41585D1EF6CE1B4
FSOpen: Created new directory entry 'UefiLogs'
FSOpen: Created new directory entry '.'
FSOpen: Created new directory entry '..'
FSOpen: Open '\UefiLogs' Success
Failed with error #-11.

Full boot log attached for reference - test-apps-Q35-DEBUG.log

Usually, the issue does not reproduce if the job is rerun. This appears to be a sporadic problem with accessing the attached file system.

In that past we've seen a QEMU vfat instability issues with fat:rw storage, however this is a Linux host.

This issue tracks the problem. If it occurs too frequently before a fix is identified, that PR validation job can be disabled temporarily.

Dominant language
Rust
Stars
568
Forks
63
Avg merge
1d 16h
Merged PRs (30d)
60

Getting set up

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.

More from OpenDevicePartnership/patina

All issues in OpenDevicePartnership/patina

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.