-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
x-pack/elastic-agent-packaging-arm-arm - mage package failed #26239
Comments
Checking the Jenkins logs, we see that the environment variables (PLATFORM, PACKAGES) are set create an arm docker image for :
The
Not sure if this is a typo, or if we really try to build an x86 image here. The command to cross compile filebeat for ARM eventually succeeds:
For some reason mage tries to cross compile agent for windows and darwin as well:
linux/amd64, windows/amd64, darwin/amd64 cross compilations are the ones that fail. But it looks like these should not have been run at all. The problem appears to be in the Magefile not using (or passing along) environment variables correctly. |
linking fix we have for
|
workaround to not build x86 binaries on ARM hosts #26387, this also generates a Docker image only with the Elastic Agent binary. |
finally, I've managed to build the arm64 dependencies at #26415 |
Pinging @elastic/agent (Team:Agent) |
merged, we will backport the fix to 7.x and 7.13 |
Flaky Test
Stack Trace
The text was updated successfully, but these errors were encountered: