-
Notifications
You must be signed in to change notification settings - Fork 33
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
Enable rust-vmm coverage test in CI #11
Conversation
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.
Temporarily blocking this until we have the kcov patches merged upstream.
Related to the actual changes: the problem that I see is that some crates don't really have arm support. So even though you don't support arm, you would still need to have the coverage file for both platforms. I am wondering if we can configure this somehow per crate.
I can maybe look into this early next week because right now I am attending a conference and don't really have a lot of spare cycles.
Updated the commit to fix #6 I think I also need to update the new |
@MrXinWang I published a new version of rust-vmm-container (v5). I will check how your PR works with kvm-ioctls and I will dismiss my review so we can merge this one. |
@andreeaflorescu Thanks very much for that. I remember from our last discussion we also need to upload the coverage.json file for aarch64 to seperate the x86_64 and arm64 coverage files. |
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.
We should also update the Buildkite pipeline to use rustvmm/dev:v5 because that is the version that contains the kcov fix on aarch64.
@andreeaflorescu yes sure. I will upload a commit together with the coverage file thing after you are happy with every change in this PR :) |
To recap, to merge this we need to do the following:
I hope I am not missing anything. After these changes are address, we can merge the PR. |
@andreeaflorescu Thanks for the recap. I think I have updated all of them, also changed the container version used in README.md from v3 to v5. Please review. |
1. Enabled the aarch64 coverage test in `test_coverage` script. 2. Seperated the coverage json sample file to two sample files for different machine achitectures. 3. Updated Buildkite pipeline container version. 4. Updated README for the description of coverage files and container version. Signed-off-by: Henry Wang <[email protected]>
@andreeaflorescu I am sorry but do we both missed the one of the most important thing: add another pipeline in Buildkite for arm coverage test...? I have updated the code, now it looks ok to me.
|
@MrXinWang hahaha yap, we totally missed that. |
Referencing discussion in kvm-ioctls/issue#9 and issue#10, proposing a draft PR for enabling coverage test on arm64.
I think we also need to rename the old coverage path file in each repository to avoid misunderstanding. What do you think @andreeaflorescu ?
Signed-off-by: Henry Wang <[email protected]>