-
Notifications
You must be signed in to change notification settings - Fork 957
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(interop-tests): don't hardcode x86_64
for native
#4862
Conversation
@thomaseizinger https://github.com/libp2p/rust-libp2p/actions/runs/6865627713/job/18670058439?pr=4862 is failing, but I believe this is unrelated to my change, isn't it? |
It is related to your change because I'd assume that the base image no longer pulls in the correct Rust version. |
I actually think we should target We can fix this up, make a point-release and swap out the version! |
But I changed the native docker file, and I believe it is failing for the chromium one. |
Oh, I know what the error is. We might have made a mistake and published an MSRV bump as a patch-release of |
x86_64
2a27dbc
to
7e5fd6c
Compare
I rebased your branch onto |
Could you please elaborate more on what your plan is? I believe I can either remove or fix the Rust 0.51 and 0.52 versions used on test-plans, otherwise, I can't run the tests on my machine. |
We've just recently cut the |
x86_64
x86_64
for native
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.
@diegomrsantos Can you test that this dockerfile works for you on ARM? Happy to merge in that case.
Do you plan to remove 0.51 and 0.52 from the transport tests in test-plans? |
I confirm this Dockerfile works on my arm. But I had to change the |
Not yet but eventually, they'll be removed. |
Do you know that you can provide a name-filter to the test runner to not run all tests? |
I didn't, I think it isn't described in the README, could you please share? Could you also please elaborate on why you don't want to fix the current 0.51 and 0.52 versions if they won't be removed soon? Not sure how often it happens, but if other people try to run the tests on arm they will face the same issues. |
Here is the argument parsing: https://github.com/libp2p/test-plans/blob/a87f0ad99880c933b1f7b54282588a2aa56a4501/transport-interop/testplans.ts#L13-L37
I am just not sure it is worth the effort. The tests are primarily intended to be run in CI and they already work there today. I am okay with adding it on as a requirement that they have to work on ARM going forward. Once GitHub has ARM-hosted runners, we can even test that in CI. |
Do you also care about the Chromium-based WASM tests? I believe those will also not run on ARM at the moment. |
Description
Remove hard-coded
x86_64
for the native interop tests. The tests couldn't run on arm64 architecture.Notes & open questions
Change checklist