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

fix: Pass through no-API shutdown exit code (1.5) #4179

Conversation

JonathanWoollett-Light
Copy link
Contributor

Changes

Pass through no-API shutdown exit code

Reason

#4176

Without passing through the exit code a non-zero exit code was returned on a successful no-API shutdown.

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.

@JonathanWoollett-Light JonathanWoollett-Light added Priority: High Indicates than an issue or pull request should be resolved ahead of issues or pull requests labelled Status: Awaiting review Indicates that a pull request is ready to be reviewed labels Oct 16, 2023
@JonathanWoollett-Light JonathanWoollett-Light changed the title fix: Pass through no-API shutdown exit code fix: Pass through no-API shutdown exit code (1.5) Oct 16, 2023
@codecov
Copy link

codecov bot commented Oct 16, 2023

Codecov Report

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

Comparison is base (8a43b32) 82.99% compared to head (bf8b13d) 82.98%.

Additional details and impacted files
@@                 Coverage Diff                  @@
##           firecracker-v1.5    #4179      +/-   ##
====================================================
- Coverage             82.99%   82.98%   -0.01%     
====================================================
  Files                   223      223              
  Lines                 28448    28449       +1     
====================================================
  Hits                  23609    23609              
- Misses                 4839     4840       +1     
Flag Coverage Δ
4.14-c7g.metal 78.52% <0.00%> (-0.01%) ⬇️
4.14-m5d.metal 80.31% <0.00%> (-0.03%) ⬇️
4.14-m6a.metal 79.46% <0.00%> (-0.01%) ⬇️
4.14-m6g.metal 78.52% <0.00%> (-0.01%) ⬇️
4.14-m6i.metal 80.31% <0.00%> (-0.01%) ⬇️
5.10-c7g.metal ?
5.10-m5d.metal 83.00% <0.00%> (-0.02%) ⬇️
5.10-m6a.metal 82.23% <0.00%> (-0.01%) ⬇️
5.10-m6g.metal ?
5.10-m6i.metal 82.98% <0.00%> (-0.01%) ⬇️
6.1-c7g.metal 81.44% <0.00%> (-0.01%) ⬇️
6.1-m5d.metal 83.00% <0.00%> (-0.02%) ⬇️
6.1-m6a.metal 82.23% <0.00%> (-0.01%) ⬇️
6.1-m6g.metal 81.44% <0.00%> (-0.01%) ⬇️
6.1-m6i.metal 82.98% <0.00%> (-0.01%) ⬇️

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

Files Coverage Δ
src/firecracker/src/main.rs 0.22% <0.00%> (-0.01%) ⬇️

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

@JonathanWoollett-Light JonathanWoollett-Light added Status: Blocked Indicates that an issue or pull request cannot currently be worked on and removed Status: Awaiting review Indicates that a pull request is ready to be reviewed labels Oct 18, 2023
Without passing through the exit code a non-zero exit code was returned
on a successful no-API shutdown.

Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
@JonathanWoollett-Light JonathanWoollett-Light removed the Status: Blocked Indicates that an issue or pull request cannot currently be worked on label Oct 18, 2023
@JonathanWoollett-Light JonathanWoollett-Light merged commit e6fb1f3 into firecracker-microvm:firecracker-v1.5 Oct 18, 2023
5 of 7 checks passed
@pb8o pb8o mentioned this pull request Nov 28, 2023
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High Indicates than an issue or pull request should be resolved ahead of issues or pull requests labelled
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants