-
Notifications
You must be signed in to change notification settings - Fork 17.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
runtime,misc/cgo/test: timeout in TestSetgidStress on linux-amd64 #54787
Comments
BTW, I can't reproduce it on another PC( |
Duplicate of #53641? (@cherrymui, does the fix for that need to be backported to 1.18?) |
Hmm, @zhangyunhao116, the |
The test failed on the master branch, go1.18.4 is used for bootstrap, updated the issue :) |
Hm... ideally it'd be great to reproduce this with no timeout set, get it to hang, and try to see what's going on.
|
The test now is fairly inexpensive, and certainly shouldn't take 11 minutes on a reasonable machine (unless the machine is extremely overloaded?). In both stack traces I saw one goroutine doing the
I wonder if it is stuck in the C function |
glibc version:
When running the tests, the CPU( I'm not familiar with these tests, could you please give me a way to debug this? Thanks! |
After updating the system version(ubuntu 22.04.01 with Ubuntu GLIBC 2.35-0ubuntu3.1), this problem disappeared. Since there is no environment, I closed this issue for now :) |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputGCC: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0
OS: Ubuntu 21.10 (GNU/Linux 5.13.0-44-generic x86_64)
What did you do?
cd src && ./all.bash
What did you expect to see?
ALL TESTS PASSED
What did you see instead?
Output
Maybe similar to https://go-review.googlesource.com/c/go/+/415677/ ?
The text was updated successfully, but these errors were encountered: