Skip to content

Conversation

roypat
Copy link
Contributor

@roypat roypat commented Mar 12, 2025

This reverts commit d761b01. The output to stdout was fixed in cargo audit 0.21.2, so if we rebuild the docker container (needed to pick up the new cargo audit version, as currently we're on 0.21.0) the grep is no longer necessary.

In fact, the grep has broken this test in our nightly pipeline because it overwrites the return code of cargo audit itself, meaning the non-PR version of this test (which is supposed to fail if there exist any cargo audit warnings) was never failing.

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.

This reverts commit d761b01. The output
to stdout was fixed in cargo audit 0.21.2, so if we rebuild the docker
container the grep is no longer necessary.

In fact, the grep has broken this test in our nightly pipeline because
it overwrites the return code of cargo audit itself, meaning the non-PR
version of this test (which is supposed to fail if there exist any cargo
audit warnings) was never failing.

Signed-off-by: Patrick Roy <[email protected]>
Copy link

codecov bot commented Mar 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.15%. Comparing base (cce210a) to head (01a6614).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5078   +/-   ##
=======================================
  Coverage   83.15%   83.15%           
=======================================
  Files         248      248           
  Lines       26901    26901           
=======================================
  Hits        22370    22370           
  Misses       4531     4531           
Flag Coverage Δ
5.10-c5n.metal 83.52% <ø> (-0.01%) ⬇️
5.10-m5n.metal 83.50% <ø> (+<0.01%) ⬆️
5.10-m6a.metal 82.71% <ø> (-0.01%) ⬇️
5.10-m6g.metal 79.60% <ø> (ø)
5.10-m6i.metal 83.50% <ø> (ø)
5.10-m7g.metal 79.60% <ø> (ø)
6.1-c5n.metal 83.57% <ø> (ø)
6.1-m5n.metal 83.55% <ø> (-0.01%) ⬇️
6.1-m6a.metal 82.76% <ø> (ø)
6.1-m6g.metal 79.60% <ø> (ø)
6.1-m6i.metal 83.55% <ø> (+0.01%) ⬆️
6.1-m7g.metal 79.60% <ø> (ø)

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.

@roypat roypat marked this pull request as ready for review March 12, 2025 13:38
@roypat roypat added the Status: Awaiting review Indicates that a pull request is ready to be reviewed label Mar 12, 2025
zulinx86
zulinx86 previously approved these changes Mar 12, 2025
Copy link
Contributor

@zulinx86 zulinx86 left a comment

Choose a reason for hiding this comment

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

Do we want to have a TODO comment with a tracking issue?

@roypat
Copy link
Contributor Author

roypat commented Mar 12, 2025

Do we want to have a TODO comment with a tracking issue?

I left a comment about unpinning cargo deny to our rust toolchain upgrade tracker!

roypat added 2 commits March 12, 2025 16:38
The newest 0.18.0 release requires at least rust 1.85.0 to compile.
Needs to be unpinned later after toolchain upgrade.

Signed-off-by: Patrick Roy <[email protected]>
v78 contains updated cargo-audit

Signed-off-by: Patrick Roy <[email protected]>
@roypat roypat merged commit f43f4dc into firecracker-microvm:main Mar 12, 2025
6 of 7 checks passed
@roypat roypat deleted the cargo-audit-fix branch March 21, 2025 07:15
@kalyazin kalyazin mentioned this pull request Mar 24, 2025
4 tasks
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