-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
go build: get randomly stuck when building inside arm64 docker multi arch image #68464
Comments
Related Issues and Documentation
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
how is it doing a cross compilation, is this using go's native support, or running on qemu, or something else? where exactly is it getting stuck (use the -x flag)? |
It's using docker buildx which seems to be running qemu to create an arm64 build container. I will add -x flag and report back |
see also #67355 |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
We are seeing this as well when building with buildkit. When we send SIGQUIT to the child process, we get this stack trace |
Go version
using the golang:1.22 docker image
Output of
go env
in your module/workspace:What did you do?
go build -tags=viper_bind_struct -ldflags="-X main.dsn=*** -X main.version=0.8.1 -X main.api_server_uri=https://api.***.io/" -o ***-enterprise .
What did you see happen?
The go build commands is stuck for 1 hour+ . The entire GHA build completes in less than 6 mins usually.
PFA the log file
go-build-logs.txt
What did you expect to see?
The build should be completed in less than 60 seconds - which does happen 50% of the time.
The text was updated successfully, but these errors were encountered: