-
Notifications
You must be signed in to change notification settings - Fork 406
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
ko v0.11.1 can deadlock/hang #678
Comments
Seems related to the removal of watch mode in #585 -- there was a lot of fiddly concurrency involved in there before, and removing it may not have cleaned everything up correctly. |
So this isn't specific to that code in I'm seeing this when the docker credential helper process ( |
I think there's something broken on my system that's preventing the credential helper/go build from starting properly and it hangs when ko is calling |
I wonder if this is related to golang/go#50246 |
Made an go issue here: golang/go#52086 |
This issue is stale because it has been open for 90 days with no |
/lifecycle frozen |
This is fixed upstream - we just need to wait for a release and rebuild |
This is done |
System Details
OS: macOS Monterey Version 12.3 (21E230)
Arch: amd64 (Intel i9)
Go Version:
go1.17.8 darwin/amd64
&go version go1.18 darwin/amd64
Bash: GNU bash, version 5.1.16(1)-release (x86_64-apple-darwin20.6.0)
KO_DOCKER_REPO
set to a gcr repo - but I've reproduced this usingkind.local
as well (see kind setup)Terminal: iTerm2 Build 3.4.15
Repro Steps
In another terminal run
ps -l
to see the fork succeed by the exec failWorkaround
Using Apple's Terminal.app I couldn't reproduce the issue (~10 runs). Comparing the difference between the shells I noticed iTerm had some extra env vars.
Setting
__CF_USER_TEXT_ENCODING
of those did causeko
in Apple's Terminal.app to fail sporadicallyAfter
unset
'ing that env var in iTerm I didn't encounter a hangExample run with backtraces
https://gist.github.com/dprotaso/c2725de85ce0e3226709071a29f97bc3
The text was updated successfully, but these errors were encountered: