-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: TestScript timing out on Plan 9 #29033
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
Comments
Similar (or same) failure can be observed on the /cc @Helflym |
Have you tried with a fresh install fetched from git ? Because, it doesn't happen with it on However, I have noticed that a "sleep 86400" process remains for every build. These should be killed by "cmd/go/testdata/script/script_wait.txt". This timeout might be related to this test. Do you have the same on Plan9 ? |
The issue is different on Plan 9. When running TestScript on ramfs, sometimes the lock file previously opened with exclusive mode remains open, even after a successful close, so the program is stuck in the waiting lock loop.
It doesn't fail on this specific test, but it fails randomly. |
There was an issue in ramfs where the number of open file descriptors wasn't correctly initialized when creating a file. Consequently, a file created with the DMEXCL bit set might not be opened again after close. I'll submit a new Plan 9 image to be deployed on GCE. |
Change https://golang.org/cl/152037 mentions this issue: |
@tklauser, please file a separate issue for |
I'll do it. I was having some |
Since CL 146382, which made use of the newly introduced lockedfile package (CL 145178), TestScript is timing out on Plan 9 when running on ramfs filesystem. However, it still works correctly on Fossil filesystem.
See https://build.golang.org/log/70abb97c6a26e7bd7ee55570a47589ef5407106a
The text was updated successfully, but these errors were encountered: