Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5698 +/- ##
=======================================
Coverage 83.15% 83.15%
=======================================
Files 277 277
Lines 29384 29385 +1
=======================================
+ Hits 24435 24436 +1
Misses 4949 4949
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Manciukic
reviewed
Feb 18, 2026
Contributor
Manciukic
left a comment
There was a problem hiding this comment.
change lgtm. Let's add a changelog line as a fix, although minor.
Also the commit message is a little confusing:
- This change causes the error in metrics init code. Now if the
- metrics file is FIFO and Fircracker uses it as metrics file,
- the `open` will fail if there are no readers already reading from
- the FIFO. The error is `ENXIO` and is described in the `open` call
- man pages:
+ This causes an error during metrics and logs file initialization code if the
+ the file is a FIFO and there are no readers already reading from it.
+ This is because `open` returns `ENXIO` when opening a FIFO write-only as
+ described in the man page:
2ad2624 to
343f962
Compare
ShadowCurse
added a commit
to ShadowCurse/firecracker
that referenced
this pull request
Feb 19, 2026
Add note about fix in the firecracker-microvm#5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
343f962 to
4de1a0d
Compare
ShadowCurse
added a commit
to ShadowCurse/firecracker
that referenced
this pull request
Feb 19, 2026
Add note about fix in the firecracker-microvm#5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
4de1a0d to
3f77de2
Compare
ShadowCurse
added a commit
to ShadowCurse/firecracker
that referenced
this pull request
Feb 19, 2026
Add note about fix in the firecracker-microvm#5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
3f77de2 to
0b9f551
Compare
ShadowCurse
added a commit
to ShadowCurse/firecracker
that referenced
this pull request
Feb 19, 2026
Add note about fix in the firecracker-microvm#5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
0b9f551 to
3115855
Compare
JackThomson2
previously approved these changes
Feb 19, 2026
The commit b656ae3 ("fix: Support creating file with open_file_nonblock") did modify the file opening utility function by adding `open` option, but it also removed the `read` option from it. This causes an error during metrics and logs file initialization code if the the file is a FIFO and there are no readers already reading from it. This is because `open` returns `ENXIO` when opening a FIFO write-only as described in the man page: ``` ENXIO O_NONBLOCK | O_WRONLY is set, the named file is a FIFO, and no process has the FIFO open for reading. ``` Fix is just a partial revert of the part that changed the file opening logic by re-introducing same `open_file_nonblock` as it was before but with added `create` flag. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
ShadowCurse
added a commit
to ShadowCurse/firecracker
that referenced
this pull request
Feb 19, 2026
Add note about fix in the firecracker-microvm#5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
3115855 to
885e374
Compare
Manciukic
reviewed
Feb 19, 2026
No functional change. Just cleanup. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
Add note about fix in the firecracker-microvm#5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
885e374 to
8d28ab2
Compare
Manciukic
approved these changes
Feb 20, 2026
JackThomson2
approved these changes
Feb 20, 2026
ShadowCurse
added a commit
to ShadowCurse/firecracker
that referenced
this pull request
Feb 20, 2026
Add note about fix in the firecracker-microvm#5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
ShadowCurse
added a commit
to ShadowCurse/firecracker
that referenced
this pull request
Feb 20, 2026
Add note about fix in the firecracker-microvm#5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
11 tasks
ShadowCurse
added a commit
to ShadowCurse/firecracker
that referenced
this pull request
Feb 20, 2026
Add note about fix in the firecracker-microvm#5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
ShadowCurse
added a commit
to ShadowCurse/firecracker
that referenced
this pull request
Feb 20, 2026
Add note about fix in the firecracker-microvm#5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
JackThomson2
pushed a commit
that referenced
this pull request
Feb 20, 2026
Add note about fix in the #5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
11 tasks
ShadowCurse
added a commit
to ShadowCurse/firecracker
that referenced
this pull request
Feb 23, 2026
Add note about fix in the firecracker-microvm#5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
ShadowCurse
added a commit
to ShadowCurse/firecracker
that referenced
this pull request
Feb 23, 2026
Add note about fix in the firecracker-microvm#5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
ShadowCurse
added a commit
that referenced
this pull request
Feb 24, 2026
Add note about fix in the #5698 PR. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
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.
Changes
Partial revert of b656ae3 commit by readding the
readflag to open files, since otherwise FIFOs will fail to open if there are no readers already attached to them.Reason
Fix regression
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md.PR Checklist
tools/devtool checkbuild --allto verify that the PR passesbuild checks on all supported architectures.
tools/devtool checkstyleto verify that the PR passes theautomated style checks.
how they are solving the problem in a clear and encompassing way.
in the PR.
CHANGELOG.md.Runbook for Firecracker API changes.
integration tests.
TODO.rust-vmm.