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

Revert "vsock: Skip tests causing CI failure" #728

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

stefano-garzarella
Copy link
Member

@stefano-garzarella stefano-garzarella commented Sep 26, 2024

This reverts commit cec57c9.

Thanks to rust-vmm/rust-vmm-ci#165 our CI is now able to use AF_VSOCK, so let's force the tests to run to discover any problems in the future.

Thanks to @roypat for the help on debugging and finding the solution :-)

roypat added a commit to roypat/rust-vmm-ci that referenced this pull request Sep 26, 2024
The code coverage tests already run in a privileged container, so this
does not affect our security posture. Additionally, it will unblock
vsock unit tests in the vhost-user-vsock crate, see also
rust-vmm/vhost-device#706 and
rust-vmm/vhost-device#728

Signed-off-by: Patrick Roy <[email protected]>
roypat added a commit to rust-vmm/rust-vmm-ci that referenced this pull request Oct 10, 2024
The code coverage tests already run in a privileged container, so this
does not affect our security posture. Additionally, it will unblock
vsock unit tests in the vhost-user-vsock crate, see also
rust-vmm/vhost-device#706 and
rust-vmm/vhost-device#728

Signed-off-by: Patrick Roy <[email protected]>
@stefano-garzarella stefano-garzarella force-pushed the vsock-enable-af-vsock-tests branch 2 times, most recently from 906efa3 to 9d06de5 Compare October 10, 2024 06:59
rust-vmm/rust-vmm-ci#165 allows us to
run unittests in a privileged container, so we can use AF_VSOCK
in our CI which was otherwise not allowed by docker.
This was already enabled for coverage tests.

Signed-off-by: Stefano Garzarella <[email protected]>
This reverts commit cec57c9.

Now our CI is able to use AF_VSOCK, so let's force the tests
to run to discover any problems in the future.

Signed-off-by: Stefano Garzarella <[email protected]>
@vireshk vireshk enabled auto-merge (rebase) October 10, 2024 07:18
Copy link

@roypat roypat left a comment

Choose a reason for hiding this comment

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

🎉

@vireshk vireshk merged commit e9819c0 into rust-vmm:main Oct 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants