Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare Firecracker v1.5.1 #4277

Merged
merged 10 commits into from
Dec 5, 2023

Conversation

pb8o
Copy link
Contributor

@pb8o pb8o commented Nov 28, 2023

Changes

Prepare v1.5.1 release

Reason

Added

  • #4287
    Document a caveat to the jailer docs when using the --parent-cgroup option,
    which results in it being ignored by the jailer. Refer to the jailer
    documentation
    for a workaround.

Changed

  • #4191:
    Refactored error propagation to avoid logging and printing an error on
    exits with a zero exit code. Now, on successful exit
    "Firecracker exited successfully" is logged.

Fixed

  • #4277: Fixed a
    bug that ignored the --show-log-origin option, preventing it from printing
    the source code file of the log messages.
  • #4179:
    Fixed a bug reporting a non-zero exit code on successful shutdown when
    starting Firecracker with --no-api.
  • #4271: Fixed
    a bug where Firecracker would log "RunWithApiError error: MicroVMStopped
    without an error: GenericError" when exiting after encountering an emulation
    error. It now correctly prints "RunWithApiError error: MicroVMStopped with an
    error: GenericError".
  • #4270:
    Fixed a bug introduced in Update logger #4047 that limited the --level option of logger
    to Pascal-cased values (e.g. accepting "Info", but not "info"). It now
    ignores case again.
  • #4295:
    Fixed a bug in the asynchronous virtio-block engine that rendered the device
    non-functional after a PATCH request was issued to Firecracker for updating
    the path to the host-side backing file of the device.

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

  • If a specific issue led to this PR, this PR closes the issue.
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this PR.
  • API changes follow the Runbook for Firecracker API changes.
  • User-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.
  • New TODOs link to an issue.
  • Commits meet contribution quality standards.

  • This functionality cannot be added in rust-vmm.

@pb8o pb8o added Priority: Low Indicates that an issue or pull request should be resolved behind issues or pull requests labelled ` Status: Awaiting author Indicates that an issue or pull request requires author action Release Indicates that an issue or pull request is part of the next release labels Nov 28, 2023
@pb8o pb8o self-assigned this Nov 28, 2023
Copy link

codecov bot commented Nov 28, 2023

Codecov Report

Attention: 25 lines in your changes are missing coverage. Please review.

Comparison is base (3edba6d) 83.02% compared to head (588090f) 83.02%.

Files Patch % Lines
src/firecracker/src/main.rs 0.00% 25 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                @@
##           firecracker-v1.5    #4277   +/-   ##
=================================================
  Coverage             83.02%   83.02%           
=================================================
  Files                   223      223           
  Lines                 28494    28493    -1     
=================================================
  Hits                  23656    23656           
+ Misses                 4838     4837    -1     
Flag Coverage Δ
4.14-c7g.metal 78.54% <3.84%> (+<0.01%) ⬆️
4.14-m5d.metal 80.33% <3.84%> (-0.01%) ⬇️
4.14-m6a.metal 79.46% <3.84%> (+<0.01%) ⬆️
4.14-m6g.metal 78.54% <3.84%> (+<0.01%) ⬆️
4.14-m6i.metal 80.32% <3.84%> (+<0.01%) ⬆️
5.10-c7g.metal 81.47% <3.84%> (+<0.01%) ⬆️
5.10-m5d.metal 83.01% <3.84%> (-0.02%) ⬇️
5.10-m6a.metal 82.26% <3.84%> (+<0.01%) ⬆️
5.10-m6g.metal 81.47% <3.84%> (+<0.01%) ⬆️
5.10-m6i.metal 83.01% <3.84%> (+<0.01%) ⬆️
6.1-c7g.metal 81.47% <3.84%> (+<0.01%) ⬆️
6.1-m5d.metal 83.01% <3.84%> (-0.02%) ⬇️
6.1-m6a.metal 82.26% <3.84%> (+<0.01%) ⬆️
6.1-m6g.metal 81.47% <3.84%> (+<0.01%) ⬆️
6.1-m6i.metal 83.01% <3.84%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

roypat
roypat previously approved these changes Nov 28, 2023
CHANGELOG.md Outdated Show resolved Hide resolved
@pb8o pb8o added Status: Awaiting review Indicates that a pull request is ready to be reviewed and removed Status: Awaiting author Indicates that an issue or pull request requires author action labels Nov 28, 2023
@wearyzen
Copy link
Contributor

some of the commits are missing where they were cherrypicked from, it will help to understand if a commit was cherry-picked or a new fix.

@pb8o
Copy link
Contributor Author

pb8o commented Nov 28, 2023

some of the commits are missing where they were cherrypicked from, it will help to understand if a commit was cherry-picked or a new fix.

Yes, the release fixes only exist in this branch at the moment. Depending on this release experience, we will forward port them to the main branch.

wearyzen
wearyzen previously approved these changes Nov 28, 2023
roypat
roypat previously approved these changes Nov 30, 2023
Move the message after the logger has been configured, so it actually
gets printed.

Eliminate redundant message that outputs internal vmm crate version
0.1.0.

Fixes: 96ed457, 332f218

(cherry picked from commit 78c26af)

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
show-log-origin was turned on by the --show-level option.

Use the correct flag to enable it.

Fixes: 332f218

(cherry picked from commit 22eb608)

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
This enables us to run a pipeline against an existing binary.

The binary has to exist in the Buildkite artifacts buckets.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
The tests will be run at a later stage as part of the release
automation.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
Fix missing brackets and add snapshot-editor.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
Add PR link to changelog.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
docs/RELEASE_POLICY.md Outdated Show resolved Hide resolved
That way it won't leave the repo in an inconsistent state.

It is supported by GitHub[1].

[1]: https://github.blog/2015-04-30-git-2-4-atomic-pushes-push-to-deploy-and-more/

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
@pb8o pb8o force-pushed the firecracker-v1.5 branch 2 times, most recently from d899c93 to 8059f83 Compare December 4, 2023 14:10
roypat
roypat previously approved these changes Dec 4, 2023
Copy link
Contributor

@xmarcalx xmarcalx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some nit regarding documentation files.

docs/jailer.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Document the issue in firecracker-microvm#4287 so customers are aware of it.

We will continue working on providing a resolution for it.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
Set the release date as today.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
Update version number / CHANGELOG / CREDITS

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
Copy link
Contributor

@xmarcalx xmarcalx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the changes.

@pb8o pb8o merged commit 2f68459 into firecracker-microvm:firecracker-v1.5 Dec 5, 2023
4 of 7 checks passed
@pb8o pb8o deleted the firecracker-v1.5 branch December 5, 2023 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Indicates that an issue or pull request should be resolved behind issues or pull requests labelled ` Release Indicates that an issue or pull request is part of the next release Status: Awaiting review Indicates that a pull request is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants