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

tools/sandbox changes #4609

Merged
merged 5 commits into from
May 9, 2024
Merged

Conversation

pb8o
Copy link
Contributor

@pb8o pb8o commented May 8, 2024

Changes

Some recent changes that are useful while reproducing issues.

Reason

Improve Quality of life and Developer Experience

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 the Priority: Low Indicates that an issue or pull request should be resolved behind issues or pull requests labelled ` label May 8, 2024
@pb8o pb8o self-assigned this May 8, 2024
@pb8o pb8o added the Status: Awaiting author Indicates that an issue or pull request requires author action label May 8, 2024
pb8o added 5 commits May 8, 2024 21:05
Sandbox gains an option to specify CPU template.

Default to no CPU template like before.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
Installing iptables is not needed now, as it is part of the devctr.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
This is a quality-of-life measure to automate processes and build
scripts.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
Some other software or cloud providers can make use of private IP space,
which can result in a conflict. Ideally we would detect what block to
use, but just changing the block is much simpler and quicker.

Use the last /16 within the 10.x.x.x /8 to try to avoid these kind of
conflicts.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
The current `devtool sandbox` command uses our devctr .

It is desirable to be able to run in the host OS directly when running
performance tests or when troubleshooting.

Add a command to run Firecracker natively, by installing the necessary
Python packages.

Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
@pb8o pb8o changed the title tools/sandox changes tools/sandbox changes May 8, 2024
Copy link

codecov bot commented May 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.13%. Comparing base (5859007) to head (bd73437).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4609   +/-   ##
=======================================
  Coverage   82.13%   82.13%           
=======================================
  Files         255      255           
  Lines       31267    31267           
=======================================
  Hits        25682    25682           
  Misses       5585     5585           
Flag Coverage Δ
4.14-c5n.metal 79.63% <ø> (ø)
4.14-c7g.metal ?
4.14-m5n.metal 79.61% <ø> (ø)
4.14-m6a.metal 78.85% <ø> (ø)
4.14-m6g.metal 76.68% <ø> (ø)
4.14-m6i.metal 79.61% <ø> (ø)
4.14-m7g.metal 76.68% <ø> (?)
5.10-c5n.metal 82.15% <ø> (ø)
5.10-c7g.metal ?
5.10-m5n.metal 82.13% <ø> (ø)
5.10-m6a.metal 81.44% <ø> (ø)
5.10-m6g.metal 79.46% <ø> (ø)
5.10-m6i.metal 82.13% <ø> (+<0.01%) ⬆️
5.10-m7g.metal 79.46% <ø> (?)
6.1-c5n.metal 82.15% <ø> (ø)
6.1-m5n.metal 82.13% <ø> (ø)
6.1-m6a.metal 81.44% <ø> (-0.01%) ⬇️
6.1-m6g.metal 79.45% <ø> (-0.01%) ⬇️
6.1-m6i.metal 82.13% <ø> (+<0.01%) ⬆️
6.1-m7g.metal 79.45% <ø> (?)

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.

@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 May 8, 2024
@zulinx86 zulinx86 merged commit 1f4982c into firecracker-microvm:main May 9, 2024
8 checks passed
@pb8o pb8o deleted the sandox-changes branch May 10, 2024 07:48
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 ` 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.

None yet

3 participants