-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 nightly pr failures #4206
Fix nightly pr failures #4206
Conversation
In ddd9836 a mistake was introduced for `DEFAULT_G3_FEATURES_NO_SSBS_4_14`. Correct it here. Fixes: ddd9836 Signed-off-by: Pablo Barbáchano <[email protected]>
Commit c44b0c6 was refactored in such a way that we could not find an exception for custom CPU templates. It was probably not noticed since the it requires a specific CPU in m5d. Fixes: c44b0c6 Signed-off-by: Pablo Barbáchano <[email protected]>
We compile the UFFD and seccomp example programs as a session fixture. If we run the tests in parallel, there is one session per worker and we end up downloading and compiling the examples for each worker (worst case). Instead, use the same approach as the Firecracker and jailer binaries. Signed-off-by: Pablo Barbáchano <[email protected]>
Currently the test fails when running it outside of a PR, because the checker returns an exit code of 2. Fixes: f79d301 Signed-off-by: Pablo Barbáchano <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4206 +/- ##
=======================================
Coverage 82.93% 82.93%
=======================================
Files 221 221
Lines 28231 28231
=======================================
Hits 23414 23414
Misses 4817 4817
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
The test fails when not run as part of PR tests. The issue is that these tests behave differently when running as part of a PR or independently. This makes testing and troubleshooting more difficult. Workaround the issue by changing the directory so the command runs at the right place. Fixes: 8297c8f Signed-off-by: Pablo Barbáchano <[email protected]>
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.
I think it's important to answer @sudanl0's question regarding the workaround we use.
Changes
PRs #4149 and #4188 had a few regressions bugs that were not reachable from the normal PR tests.
In addition, add a change so we only compile example binaries once, instead of once per worker. This avoids downloading and compiling code.
Reason
To make all pipelines pass.
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
CHANGELOG.md
.TODO
s link to an issue.rust-vmm
.