-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Revert "fix: test_sec_audit: ignore cargo audit output" #5078
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
Conversation
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]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this 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?
I left a comment about unpinning cargo deny to our rust toolchain upgrade tracker! |
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]>
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
tools/devtool checkstyle
to verify that the PR passes theautomated style checks.
how they are solving the problem in a clear and encompassing way.
in the PR.
CHANGELOG.md
.Runbook for Firecracker API changes.
integration tests.
TODO
.rust-vmm
.