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

Tests failing on ARM64 platform #1517

Closed
odidev opened this issue Dec 28, 2021 · 11 comments
Closed

Tests failing on ARM64 platform #1517

odidev opened this issue Dec 28, 2021 · 11 comments
Assignees
Labels

Comments

@odidev
Copy link
Contributor

odidev commented Dec 28, 2021

Hi Team,
I have been working on running and testing Flannel on arm64 platform but the make test command fails on arm64 platform with the following error:

etcd cluster is unavailable or misconfigured

Since the make test command works fine on amd64 platform I changed etcd version in functional-test.sh to latest 3.5.1 which gave the following error:

Couldn't fetch network config: client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint

I followed  recommendations given here but following the recommendations makes the test command stuck in infinite loop. If you would be able to give some pointers on how to resolve the issue on arm64 platform it would be very helpful.

Are you interested in enabling testing on arm64 platform in GitHub Actions?

@odidev
Copy link
Contributor Author

odidev commented Jan 12, 2022

Hi Team,
A gentle reminder to take a look at above issue and provide some pointers for resolving the issue on arm64 platform.

@luthermonson
Copy link
Contributor

@odidev hi we're taking a look

@odidev
Copy link
Contributor Author

odidev commented Mar 25, 2022

Hi @luthermonson,
Any updates on above issue?

@AleksandrNull
Copy link
Contributor

Sorry, was quite busy and forgot to send MR =(
Since whole build process was done with assumption it will be running on x86 platform to compile and test other platform binaries (using statically compiled qemu binary) there is no good way of fixing it without full build system redesign.
The commit above solves problem with builds on ARM64 (and probably other architectures like arm,ppc64le, s390x, and mips64le) using explicit definition of ARCH env variable for make command (like ARCH=arm64 make test).
There is no good way of building cross-arch binaries on the other than x86 platform because that functionality is limited by using statically compiled qemu which is usually compiled for x86 only but in this case all the permutations of all the ARCHs are required.
@odidev Please confirm it works for you.

@odidev
Copy link
Contributor Author

odidev commented Apr 27, 2022

Hi @AleksandrNull,

Thanks for your help, the issue is fixed. The tests were passing after some modifications in test files but now the ipsec and vxlan tests are failing with same error as here.

Would you be interested in adding ARM64 tests in GitHub Actions using self-hosted arm64 runners. If interested, Please have a look at  worksonarm, can get access to ARM H/W through this.

@odidev
Copy link
Contributor Author

odidev commented May 24, 2022

Hi @luthermonson @AleksandrNull ,
Any updates on the above issue?

@odidev
Copy link
Contributor Author

odidev commented Aug 3, 2022

Thanks for your help, the issue is fixed as the etcd version has been upgraded to 3. The tests were passing after some modifications that can be seen in the PR.

PR Link:- #1626

Would you be interested in adding ARM64 tests in GitHub Actions using self-hosted arm64 runners. If interested, Please have a look at  worksonarm, can get access to ARM H/W through this.

@odidev
Copy link
Contributor Author

odidev commented Aug 17, 2022

Hi @luthermonson @AleksandrNull ,
Kindly take a look on above query.

1 similar comment
@odidev
Copy link
Contributor Author

odidev commented Aug 31, 2022

Hi @luthermonson @AleksandrNull ,
Kindly take a look on above query.

@odidev
Copy link
Contributor Author

odidev commented Dec 12, 2022

Hi @luthermonson @AleksandrNull ,
Gentle reminder to take a look on above query.

@stale
Copy link

stale bot commented Jun 10, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 10, 2023
@stale stale bot closed this as completed Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants