Skip to content

Conversation

@JackThomson2
Copy link
Contributor

@JackThomson2 JackThomson2 commented Apr 2, 2025

Updated our kernel install script to now work for AL2023.

To run on AL2023 we need to also install the ENA driver to allow us to connect to the instance after boot. So the script will now do this during the installation process.

I have been able to run this script in my ec2 image builder pipeline and boot metals from the generated AMIS

Signed-off-by: Jack Thomson [email protected]

Changes

...

Reason

...

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

  • I have read and understand CONTRIBUTING.md.
  • I have run tools/devtool checkstyle to verify that the PR passes the
    automated style checks.
  • I have described what is done in these changes, why they are needed, and
    how they are solving the problem in a clear and encompassing way.
  • I have updated any relevant documentation (both in code and in the docs)
    in the PR.
  • I have mentioned all user-facing changes in CHANGELOG.md.
  • If a specific issue led to this PR, this PR closes the issue.
  • When making API changes, I have followed the
    Runbook for Firecracker API changes.
  • I have tested all new and changed functionalities in unit tests and/or
    integration tests.
  • I have linked an issue to every new TODO.

  • This functionality cannot be added in rust-vmm.

@codecov
Copy link

codecov bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.03%. Comparing base (002b675) to head (0bb84fe).
Report is 1 commits behind head on feature/secret-hiding.

Additional details and impacted files
@@                  Coverage Diff                   @@
##           feature/secret-hiding    #5134   +/-   ##
======================================================
  Coverage                  83.03%   83.03%           
======================================================
  Files                        250      250           
  Lines                      26911    26911           
======================================================
  Hits                       22345    22345           
  Misses                      4566     4566           
Flag Coverage Δ
5.10-c5n.metal 83.54% <ø> (-0.01%) ⬇️
5.10-m5n.metal 83.55% <ø> (-0.01%) ⬇️
5.10-m6a.metal 82.71% <ø> (-0.01%) ⬇️
5.10-m6g.metal 79.37% <ø> (ø)
5.10-m6i.metal 83.55% <ø> (-0.01%) ⬇️
5.10-m7a.metal-48xl 82.72% <ø> (+<0.01%) ⬆️
5.10-m7g.metal 79.37% <ø> (ø)
6.1-c5n.metal 83.59% <ø> (-0.01%) ⬇️
6.1-m5n.metal 83.59% <ø> (ø)
6.1-m6a.metal 82.76% <ø> (ø)
6.1-m6g.metal 79.37% <ø> (ø)
6.1-m6i.metal 83.59% <ø> (-0.01%) ⬇️
6.1-m7a.metal-48xl 82.76% <ø> (+<0.01%) ⬆️
6.1-m7g.metal 79.37% <ø> (ø)
6.14-c5n.metal 83.60% <ø> (+<0.01%) ⬆️
6.14-m5n.metal 83.59% <ø> (ø)
6.14-m6a.metal 82.75% <ø> (-0.01%) ⬇️
6.14-m6g.metal 79.36% <ø> (ø)
6.14-m6i.metal 83.59% <ø> (ø)
6.14-m7a.metal-48xl 82.76% <ø> (ø)
6.14-m7g.metal 79.36% <ø> (-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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JackThomson2 JackThomson2 added the Status: Awaiting review Indicates that a pull request is ready to be reviewed label Apr 2, 2025
@roypat roypat force-pushed the feature/secret-hiding branch from bf38d65 to cfd4d8b Compare April 3, 2025 05:39
@roypat roypat force-pushed the feature/al2023_kernel_install branch from 8d2b809 to f3e5f0d Compare April 3, 2025 05:40
@roypat roypat removed request for Manciukic, pb8o and xmarcalx April 3, 2025 05:41
Update the build script to allow us to install the secret hidden kernels
onto Amazon Linux 2023 instances.

We have to as part of this include a script to download and install ena
drivers for the instance to allow us to boot.

Signed-off-by: Jack Thomson <[email protected]>
@JackThomson2 JackThomson2 force-pushed the feature/al2023_kernel_install branch from f3e5f0d to c0cb176 Compare April 3, 2025 09:36
@JackThomson2 JackThomson2 enabled auto-merge (rebase) April 4, 2025 09:08
@JackThomson2 JackThomson2 merged commit 4738610 into firecracker-microvm:feature/secret-hiding Apr 4, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants