-
Notifications
You must be signed in to change notification settings - Fork 715
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
replace virtme #1321
replace virtme #1321
Conversation
764b078
to
5c190b7
Compare
Test runs are suspiciously fast. |
Not sure if fully applicable, but https://github.com/arighi/virtme-ng is actually supported, and is gaining traction after an article on LWN. Maybe something to look at if we want to replace virtme |
c29043a
to
2daf2c1
Compare
@paulcacheux yeah, I'm aware of virtme-ng! I looked at it a while ago. Pro:
Con:
So even if we use virtme-ng we need some wrapper code. vimto is easy to install when you're in the go ecosystem already, and I want to add go specific things like a delve wrapper. Overall virtme-ng is probably the saner choice. The good news is that we can always rip out vimto if it turns out to be too much of a burden. |
Finally managed to get CI green. @ti-mo @dylandreimerink @rgo3 maybe you can give it a spin on your machines to see whether it works? (I know that Robin's nix setup is mysteriously broken.) |
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.
Awesome, thanks! Left a few nits and lifted the fix to the verifier test to #1367 and merged separately.
Note: you signed the middle commit with both emails.
We should also talk about vimto, who's going to develop and maintain it, and how we're going to organize it. It would be worth growing its userbase so more projects can benefit and contribute. Something to be discussed at the Cilium dev summit.
Current status is that vimto needs a bit more thinking. @ti-mo how about I upstream the non-CI changes so that I can use vimto on my machine to test? Currently stranded without a viable |
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.
LGTM overall, just one thing I noticed
1c5da23
to
b01edb9
Compare
vimto is a lightweight wrapper around qemu with the sole purpose of executing Go unit tests. Use it instead of virtme, which has not had a reliable upstream for a while. Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
Any concerns around merging this? It's at least as useable as virtme from my side. |
I had some issues running vimto locally initially. When I ran the command from the updated index.md to run vimto locally Other than that, everything seems to be working! I say merge |
ci: replace virtme with vimto