Skip to content
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

cmd/go/internal/renameio: TestConcurrentReadsAndWrites flake on darwin-amd64-10_14 #33041

Open
bcmills opened this issue Jul 10, 2019 · 1 comment

Comments

@bcmills
Copy link
Member

commented Jul 10, 2019

Seen on the darwin-amd64-10_14 builder in https://build.golang.org/log/49d29b0fff39a3acd249d95364eada3b72dac5f9:

--- FAIL: TestConcurrentReadsAndWrites (0.49s)
    renameio_test.go:75: unexpected error: rename /var/folders/9w/4l2_g3kx01x199n37fbmv3s80000gn/T/workdir-host-darwin-10_14/tmp/renameio829654755/blob.bin526310928.tmp /var/folders/9w/4l2_g3kx01x199n37fbmv3s80000gn/T/workdir-host-darwin-10_14/tmp/renameio829654755/blob.bin: no such file or directory
    renameio_test.go:128: 127 (of 128) writes succeeded; want ≥ 128
    renameio_test.go:143: 128 (of 128) reads succeeded (ok: ≥ 128)
FAIL
FAIL	cmd/go/internal/renameio	0.517s

I haven't seen this failure on any other builder. Could be a kernel bug on macOS 10.14, perhaps?

Filing an issue mostly so that we have a place to look for patterns.

@bcmills

This comment has been minimized.

Copy link
Member Author

commented Jul 18, 2019

darwin-386-10_14 (https://build.golang.org/log/c5aaf98197e6c80b6ec5b580cac67a4f23fe8b80):

--- FAIL: TestConcurrentReadsAndWrites (0.62s)
    renameio_test.go:75: unexpected error: rename /var/folders/9w/4l2_g3kx01x199n37fbmv3s80000gn/T/workdir-host-darwin-10_14/tmp/renameio740760827/blob.bin932198682.tmp /var/folders/9w/4l2_g3kx01x199n37fbmv3s80000gn/T/workdir-host-darwin-10_14/tmp/renameio740760827/blob.bin: no such file or directory
    renameio_test.go:95: unexpected error: open /var/folders/9w/4l2_g3kx01x199n37fbmv3s80000gn/T/workdir-host-darwin-10_14/tmp/renameio740760827/blob.bin: no such file or directory
    renameio_test.go:75: unexpected error: rename /var/folders/9w/4l2_g3kx01x199n37fbmv3s80000gn/T/workdir-host-darwin-10_14/tmp/renameio740760827/blob.bin381270129.tmp /var/folders/9w/4l2_g3kx01x199n37fbmv3s80000gn/T/workdir-host-darwin-10_14/tmp/renameio740760827/blob.bin: no such file or directory
    renameio_test.go:75: unexpected error: rename /var/folders/9w/4l2_g3kx01x199n37fbmv3s80000gn/T/workdir-host-darwin-10_14/tmp/renameio740760827/blob.bin666815740.tmp /var/folders/9w/4l2_g3kx01x199n37fbmv3s80000gn/T/workdir-host-darwin-10_14/tmp/renameio740760827/blob.bin: no such file or directory
    renameio_test.go:75: unexpected error: rename /var/folders/9w/4l2_g3kx01x199n37fbmv3s80000gn/T/workdir-host-darwin-10_14/tmp/renameio740760827/blob.bin896200421.tmp /var/folders/9w/4l2_g3kx01x199n37fbmv3s80000gn/T/workdir-host-darwin-10_14/tmp/renameio740760827/blob.bin: no such file or directory
    renameio_test.go:128: 124 (of 128) writes succeeded; want ≥ 128
    renameio_test.go:141: 127 (of 128) reads succeeded; want ≥ 128
FAIL
FAIL	cmd/go/internal/renameio	0.658s

(Note that that's still consistent with the “kernel bug on macOS 10.14” theory.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.