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

x/tools/gopls: go clean fails with ENOTEMPTY (openbsd) causing gopls test flakes #68087

Open
gopherbot opened this issue Jun 20, 2024 · 104 comments
Assignees
Labels
gopls Issues related to the Go language server, gopls. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@gopherbot
Copy link
Contributor

gopherbot commented Jun 20, 2024

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestUnknownRevision/bad/nested/default
goroutine profile: total 9
1 @ 0x434011 0x47309d 0x5ff551 0x5ff385 0x5fc3ab 0xe94cb0 0xe9493a 0x547df4 0x47cfc1
#	0x5ff550	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:773
#	0x5ff384	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:732
#	0x5fc3aa	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xe94caf	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2483330872/gopls/internal/test/integration/runner.go:198
#	0xe94939	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xeb9	/home/swarming/.swarming/w/ir/x/w/targetrepo2483330872/gopls/internal/test/integration/runner.go:252
#	0x547df3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
#	0x4c8667	os.(*file).close+0x87							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_unix.go:333
#	0xc2968c	os.(*File).Close+0x2c							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:23
#	0xc2932e	golang.org/x/tools/internal/gopathwalk.(*walker).walk+0x74e		/home/swarming/.swarming/w/ir/x/w/targetrepo2483330872/internal/gopathwalk/walk.go:337
#	0xc28207	golang.org/x/tools/internal/gopathwalk.walkDir+0x347			/home/swarming/.swarming/w/ir/x/w/targetrepo2483330872/internal/gopathwalk/walk.go:120
#	0xc3af25	golang.org/x/tools/internal/gopathwalk.WalkSkip+0x305			/home/swarming/.swarming/w/ir/x/w/targetrepo2483330872/internal/gopathwalk/walk.go:77
#	0xc3ae12	golang.org/x/tools/internal/imports.(*ModuleResolver).scan.func4+0x1f2	/home/swarming/.swarming/w/ir/x/w/targetrepo2483330872/internal/imports/mod.go:643

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3713062884/TestUnknownRevision/bad/nested/default/gopath/pkg/mod: directory not empty
        ): exit status 1; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3713062884/TestUnknownRevision/bad/nested/default/gopath/pkg/mod/cache/download/example.com/@v: directory not empty
--- FAIL: TestUnknownRevision/bad/nested/default (34.95s)

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jun 20, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/modfile" && test == "TestUnknownRevision/bad/nested/default"
2024-06-20 14:20 x_tools-gotip-openbsd-amd64 tools@99779e9a go@4f77a835 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/bad/nested/default (log)
=== RUN   TestUnknownRevision/bad/nested/default
goroutine profile: total 9
1 @ 0x434011 0x47309d 0x5ff551 0x5ff385 0x5fc3ab 0xe94cb0 0xe9493a 0x547df4 0x47cfc1
#	0x5ff550	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:773
#	0x5ff384	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:732
#	0x5fc3aa	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xe94caf	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2483330872/gopls/internal/test/integration/runner.go:198
#	0xe94939	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xeb9	/home/swarming/.swarming/w/ir/x/w/targetrepo2483330872/gopls/internal/test/integration/runner.go:252
#	0x547df3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
#	0x4c8667	os.(*file).close+0x87							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_unix.go:333
#	0xc2968c	os.(*File).Close+0x2c							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:23
#	0xc2932e	golang.org/x/tools/internal/gopathwalk.(*walker).walk+0x74e		/home/swarming/.swarming/w/ir/x/w/targetrepo2483330872/internal/gopathwalk/walk.go:337
#	0xc28207	golang.org/x/tools/internal/gopathwalk.walkDir+0x347			/home/swarming/.swarming/w/ir/x/w/targetrepo2483330872/internal/gopathwalk/walk.go:120
#	0xc3af25	golang.org/x/tools/internal/gopathwalk.WalkSkip+0x305			/home/swarming/.swarming/w/ir/x/w/targetrepo2483330872/internal/gopathwalk/walk.go:77
#	0xc3ae12	golang.org/x/tools/internal/imports.(*ModuleResolver).scan.func4+0x1f2	/home/swarming/.swarming/w/ir/x/w/targetrepo2483330872/internal/imports/mod.go:643

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3713062884/TestUnknownRevision/bad/nested/default/gopath/pkg/mod: directory not empty
        ): exit status 1; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3713062884/TestUnknownRevision/bad/nested/default/gopath/pkg/mod/cache/download/example.com/@v: directory not empty
--- FAIL: TestUnknownRevision/bad/nested/default (34.95s)

watchflakes

@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Jun 20, 2024
@gopherbot gopherbot added this to the Unreleased milestone Jun 20, 2024
@findleyr findleyr changed the title x/tools/gopls/internal/test/integration/modfile: TestUnknownRevision/bad/nested/default failures x/tools/gopls: test flakes cleaning module cache on openbsd: directory not empty Jun 25, 2024
@findleyr findleyr modified the milestones: Unreleased, gopls/v0.17.0 Jun 25, 2024
@gopherbot
Copy link
Contributor Author

Sorry, but there were parse errors in the watch flakes script.
The script I found was:

#!watchflakes
default <- pkg ~ "golang.org/x/tools/gopls/internal/test/.*" && goos == "openbsd" && `cleaning sandbox: cleaning modcache`

And the problems were:

script:2.18: ~ requires backquoted regexp

See https://go.dev/wiki/Watchflakes for details.

watchflakes

@findleyr
Copy link
Member

@matloob @samthanawalla @adonovan

Any particular reason why only on openbsd we'd be seeing these cleanup failures? Was there any recent change to the go command on openbsd? I don't think much has changed in gopls with respect to the integration test cleanup.

Not a super high priority, but curious.

@matloob
Copy link
Contributor

matloob commented Jun 26, 2024

I don't recall any changes specifically to openbsd

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-06-24 03:50 x_tools-go1.23-openbsd-amd64 tools@47bd819e release-branch.go1.23@7dff7439 x/tools/gopls/internal/test/integration/modfile.TestGovimModReadonly/default (log)
=== RUN   TestGovimModReadonly/default
goroutine profile: total 5
1 @ 0x434011 0x47309d 0x5ff551 0x5ff385 0x5fc3ab 0xe95870 0xe954fa 0x547df4 0x47cfc1
#	0x5ff550	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:773
#	0x5ff384	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:732
#	0x5fc3aa	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xe9586f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo1504192603/gopls/internal/test/integration/runner.go:198
#	0xe954f9	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xeb9	/home/swarming/.swarming/w/ir/x/w/targetrepo1504192603/gopls/internal/test/integration/runner.go:252
#	0x547df3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...

1 @ 0x4740ee 0x40b4dc 0x40b0b2 0x6ce567 0x47cfc1
#	0x6ce566	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo1504192603/gopls/internal/protocol/context.go:47

1 @ 0x4740ee 0x478725 0x84b885 0x47cfc1
#	0x478724	time.Sleep+0xe4						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:285
#	0x84b884	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo1504192603/gopls/internal/filecache/filecache.go:443

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2271365929/TestGovimModReadonly/default: directory not empty
--- FAIL: TestGovimModReadonly/default (33.84s)
2024-06-26 14:39 x_tools-go1.23-openbsd-amd64 tools@02912f74 release-branch.go1.23@7dff7439 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/bad/nested/default (log)
=== RUN   TestUnknownRevision/bad/nested/default
goroutine profile: total 11
1 @ 0x434011 0x47309d 0x5ff551 0x5ff385 0x5fc3ab 0xe97b10 0xe9779a 0x547df4 0x47cfc1
#	0x5ff550	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:773
#	0x5ff384	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:732
#	0x5fc3aa	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xe97b0f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo180469137/gopls/internal/test/integration/runner.go:198
#	0xe97799	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xeb9	/home/swarming/.swarming/w/ir/x/w/targetrepo180469137/gopls/internal/test/integration/runner.go:252
#	0x547df3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
#	0x493e64	syscall.wait4+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/zsyscall_openbsd_amd64.go:43
#	0x4914e4	syscall.Wait4+0x24						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/syscall_bsd.go:144
#	0x4c4185	os.(*Process).pidWait+0x85					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:70
#	0x4c40ba	os.(*Process).wait+0x1a						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:30
#	0x596da4	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:358
#	0x596d9c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:901
#	0x72e464	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo180469137/internal/gocommand/invoke.go:382

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2935470729/TestUnknownRevision/bad/nested/default: directory not empty
--- FAIL: TestUnknownRevision/bad/nested/default (37.60s)
2024-06-26 17:06 x_tools-go1.22-openbsd-amd64 tools@b297f5a4 release-branch.go1.22@ceaf26ec x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/bad/nested/default (log)
=== RUN   TestUnknownRevision/bad/nested/default
goroutine profile: total 7
1 @ 0x4371f1 0x472a3d 0x5e7e11 0x5e7c45 0x5e4a6b 0xe693f0 0xe69062 0x53d35b 0x479341
#	0x472a3c	runtime/pprof.runtime_goroutineProfileWithLabels+0x1c				/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mprof.go:1079
#	0x5e7e10	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:774
#	0x5e7c44	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:734
#	0x5e4a6a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:369
#	0xe693ef	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/gopls/internal/test/integration/runner.go:198
#	0xe69061	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xf01	/home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/gopls/internal/test/integration/runner.go:252
#	0x53d35a	testing.tRunner+0xfa								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689
...
1 @ 0x4410ce 0x40c07f 0x40bcb2 0x6a82e7 0x479341
#	0x6a82e6	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/gopls/internal/protocol/context.go:47

1 @ 0x4410ce 0x475b45 0x82a3a5 0x479341
#	0x475b44	time.Sleep+0x104					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:195
#	0x82a3a4	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/gopls/internal/filecache/filecache.go:443

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-276728773/TestUnknownRevision/bad/nested/default/gopath/pkg/mod: directory not empty
        ): exit status 1; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-276728773/TestUnknownRevision/bad/nested/default: directory not empty
--- FAIL: TestUnknownRevision/bad/nested/default (35.54s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-06-27 17:53 x_tools-gotip-openbsd-amd64 tools@5cc2d0b1 go@ea537cca x/tools/gopls/internal/test/integration/modfile.TestBadlyVersionedModule/default/default (log)
=== RUN   TestBadlyVersionedModule/default/default
goroutine profile: total 6
1 @ 0x434011 0x47309d 0x5ff571 0x5ff3a5 0x5fc3cb 0xe98370 0xe97ffa 0x547e14 0x47cfc1
#	0x5ff570	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:773
#	0x5ff3a4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:732
#	0x5fc3ca	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xe9836f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2204670350/gopls/internal/test/integration/runner.go:198
#	0xe97ff9	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xeb9	/home/swarming/.swarming/w/ir/x/w/targetrepo2204670350/gopls/internal/test/integration/runner.go:252
#	0x547e13	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
1 @ 0x4740ee 0x40b4dc 0x40b0b2 0x6ce587 0x47cfc1
#	0x6ce586	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo2204670350/gopls/internal/protocol/context.go:47

1 @ 0x4740ee 0x478725 0x84bc25 0x47cfc1
#	0x478724	time.Sleep+0xe4						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:285
#	0x84bc24	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo2204670350/gopls/internal/filecache/filecache.go:443

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2886103921/TestBadlyVersionedModule/default/default/gopath/pkg/mod/cache/download/example.com/blah: directory not empty
        ): exit status 1; removing files: <nil>
--- FAIL: TestBadlyVersionedModule/default/default (37.62s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-06-27 17:53 x_tools-go1.23-openbsd-ppc64 tools@5cc2d0b1 release-branch.go1.23@7dff7439 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/bad/default/default (log)
=== RUN   TestUnknownRevision/bad/default/default
goroutine profile: total 11
1 @ 0x2b3a0 0x84fec 0x8da24 0x1487b0 0x148188 0x1485b4 0xcb294 0xe0958 0xe0919 0xe088c 0xcb1cc 0x34a878 0x34a855 0x93c24
#	0x1487af	bytes.growSlice+0xaf						/home/swarming/.swarming/w/ir/x/w/goroot/src/bytes/buffer.go:249
#	0x148187	bytes.(*Buffer).grow+0x157					/home/swarming/.swarming/w/ir/x/w/goroot/src/bytes/buffer.go:151
#	0x1485b3	bytes.(*Buffer).ReadFrom+0x63					/home/swarming/.swarming/w/ir/x/w/goroot/src/bytes/buffer.go:209
#	0xcb293		io.copyBuffer+0x1d3						/home/swarming/.swarming/w/ir/x/w/goroot/src/io/io.go:415
#	0xe0957		io.Copy+0x77							/home/swarming/.swarming/w/ir/x/w/goroot/src/io/io.go:388
#	0xe0918		os.genericWriteTo+0x38						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file.go:275
#	0xe088b		os.(*File).WriteTo+0x8b						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file.go:253
...
#	0xac323		syscall.wait4+0x73						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/zsyscall_openbsd_ppc64.go:43
#	0xa96af		syscall.Wait4+0x4f						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/syscall_bsd.go:144
#	0xdf0a7		os.(*Process).pidWait+0xc7					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:70
#	0xdef97		os.(*Process).wait+0x37						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:30
#	0x1b4003	os.(*Process).Wait+0x53						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:358
#	0x1b3ff8	os/exec.(*Cmd).Wait+0x48					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:901
#	0x34a59f	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x2f	/home/swarming/.swarming/w/ir/x/w/targetrepo3113893529/internal/gocommand/invoke.go:382

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-1575803608/TestUnknownRevision/bad/default/default: directory not empty
--- FAIL: TestUnknownRevision/bad/default/default (33.27s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-06-28 20:28 x_tools-go1.23-openbsd-amd64 tools@fcf54632 release-branch.go1.23@7dff7439 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default
goroutine profile: total 8
1 @ 0x434011 0x47309d 0x5ff551 0x5ff385 0x5fc3ab 0xe97e50 0xe97ada 0x547df4 0x47cfc1
#	0x5ff550	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:773
#	0x5ff384	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:732
#	0x5fc3aa	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xe97e4f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo3428335984/gopls/internal/test/integration/runner.go:198
#	0xe97ad9	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xeb9	/home/swarming/.swarming/w/ir/x/w/targetrepo3428335984/gopls/internal/test/integration/runner.go:252
#	0x547df3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
#	0x4c8667	os.(*file).close+0x87							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_unix.go:333
#	0xbebcac	os.(*File).Close+0x2c							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:23
#	0xbeb94e	golang.org/x/tools/internal/gopathwalk.(*walker).walk+0x74e		/home/swarming/.swarming/w/ir/x/w/targetrepo3428335984/internal/gopathwalk/walk.go:337
#	0xbea827	golang.org/x/tools/internal/gopathwalk.walkDir+0x347			/home/swarming/.swarming/w/ir/x/w/targetrepo3428335984/internal/gopathwalk/walk.go:120
#	0xbfd545	golang.org/x/tools/internal/gopathwalk.WalkSkip+0x305			/home/swarming/.swarming/w/ir/x/w/targetrepo3428335984/internal/gopathwalk/walk.go:77
#	0xbfd432	golang.org/x/tools/internal/imports.(*ModuleResolver).scan.func4+0x1f2	/home/swarming/.swarming/w/ir/x/w/targetrepo3428335984/internal/imports/mod.go:643

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3325540296/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default/gopath/pkg/mod: directory not empty
        ): exit status 1; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3325540296/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (33.09s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-07-07 19:31 x_tools-gotip-openbsd-amd64 tools@33be3ef8 go@6d89b38e x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default
goroutine profile: total 6
1 @ 0x434011 0x47317d 0x5ff6d1 0x5ff505 0x5fc52b 0xe985b0 0xe9823a 0x547ef4 0x47d0a1
#	0x5ff6d0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:774
#	0x5ff504	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:733
#	0x5fc52a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xe985af	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo510357261/gopls/internal/test/integration/runner.go:198
#	0xe98239	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xeb9	/home/swarming/.swarming/w/ir/x/w/targetrepo510357261/gopls/internal/test/integration/runner.go:252
#	0x547ef3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
1 @ 0x4741ce 0x40b4dc 0x40b0b2 0x6ce547 0x47d0a1
#	0x6ce546	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo510357261/gopls/internal/protocol/context.go:47

1 @ 0x4741ce 0x478805 0x7f62e5 0x47d0a1
#	0x478804	time.Sleep+0xe4						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:285
#	0x7f62e4	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo510357261/gopls/internal/filecache/filecache.go:443

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2742982158/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default/gopath/pkg/mod: directory not empty
        ): exit status 1; removing files: <nil>
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (32.97s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-07-16 16:13 x_tools-go1.22-openbsd-amd64 tools@25ed04f2 release-branch.go1.22@9e148a41 x/tools/gopls/internal/test/integration/modfile.TestGovimModReadonly/default (log)
=== RUN   TestGovimModReadonly/default
goroutine profile: total 5
1 @ 0x4371f1 0x472a3d 0x5e7eb1 0x5e7ce5 0x5e4b0b 0xe6abb0 0xe6a822 0x53d35b 0x479341
#	0x472a3c	runtime/pprof.runtime_goroutineProfileWithLabels+0x1c				/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mprof.go:1079
#	0x5e7eb0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:774
#	0x5e7ce4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:734
#	0x5e4b0a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:369
#	0xe6abaf	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2880009116/gopls/internal/test/integration/runner.go:198
#	0xe6a821	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xf01	/home/swarming/.swarming/w/ir/x/w/targetrepo2880009116/gopls/internal/test/integration/runner.go:252
#	0x53d35a	testing.tRunner+0xfa								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689
...

1 @ 0x4410ce 0x40c07f 0x40bcb2 0x6a3e07 0x479341
#	0x6a3e06	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo2880009116/gopls/internal/protocol/context.go:47

1 @ 0x4410ce 0x475b45 0x82a965 0x479341
#	0x475b44	time.Sleep+0x104					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:195
#	0x82a964	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo2880009116/gopls/internal/filecache/filecache.go:443

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2617873409/TestGovimModReadonly/default/gopath/pkg/mod/cache/download/example.com/@v: directory not empty
--- FAIL: TestGovimModReadonly/default (34.28s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-07-19 17:32 x_tools-gotip-openbsd-amd64 tools@2fb3ebe9 go@f0de94ff x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default
goroutine profile: total 8
1 @ 0x434511 0x47367d 0x5ffdb1 0x5ffbe5 0x5fca0b 0xe99530 0xe991ba 0x5483d4 0x47d521
#	0x5ffdb0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x5ffbe4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fca0a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xe9952f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo698928008/gopls/internal/test/integration/runner.go:198
#	0xe991b9	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xeb9	/home/swarming/.swarming/w/ir/x/w/targetrepo698928008/gopls/internal/test/integration/runner.go:252
#	0x5483d3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
#	0xcc4684	golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv+0x1a4	/home/swarming/.swarming/w/ir/x/w/targetrepo698928008/gopls/internal/cache/imports.go:245
#	0xcc36e1	golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1+0xc1	/home/swarming/.swarming/w/ir/x/w/targetrepo698928008/gopls/internal/cache/imports.go:73

1 @ 0x4746ce 0x478d05 0x7f3765 0x47d521
#	0x478d04	time.Sleep+0xe4						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:285
#	0x7f3764	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo698928008/gopls/internal/filecache/filecache.go:443

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-186031656/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default/gopath/pkg/mod: directory not empty
        ): exit status 1; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-186031656/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (32.81s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-08-01 00:23 x_tools-gotip-openbsd-amd64 tools@f6a23905 go@6ac87aa5 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/good/default/default (log)
=== RUN   TestUnknownRevision/good/default/default
goroutine profile: total 9
1 @ 0x434711 0x473c5d 0x5fe651 0x5fe485 0x5fb2ab 0xe9d730 0xe9d3ba 0x5487d4 0x47db61
#	0x5fe650	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x5fe484	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fb2aa	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xe9d72f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo3283814227/gopls/internal/test/integration/runner.go:198
#	0xe9d3b9	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xeb9	/home/swarming/.swarming/w/ir/x/w/targetrepo3283814227/gopls/internal/test/integration/runner.go:252
#	0x5487d3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
#	0x4cb368	os.lstatNolog.func1+0x48						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/stat_unix.go:45
#	0x4cb359	os.ignoringEINTR+0x39							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:251
#	0x4cb34d	os.lstatNolog+0x2d							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/stat_unix.go:44
#	0x4caeab	os.Lstat+0x2b								/home/swarming/.swarming/w/ir/x/w/goroot/src/os/stat.go:26
#	0xc2b76a	golang.org/x/tools/internal/gopathwalk.walkDir+0x2ea			/home/swarming/.swarming/w/ir/x/w/targetrepo3283814227/internal/gopathwalk/walk.go:119
#	0xc3e4e5	golang.org/x/tools/internal/gopathwalk.WalkSkip+0x305			/home/swarming/.swarming/w/ir/x/w/targetrepo3283814227/internal/gopathwalk/walk.go:77
#	0xc3e3d2	golang.org/x/tools/internal/imports.(*ModuleResolver).scan.func4+0x1f2	/home/swarming/.swarming/w/ir/x/w/targetrepo3283814227/internal/imports/mod.go:643

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2330518494/TestUnknownRevision/good/default/default: directory not empty
--- FAIL: TestUnknownRevision/good/default/default (33.60s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-08-06 13:34 x_tools-go1.21-openbsd-amd64 tools@4653e48e release-branch.go1.21@8bba868d x/tools/gopls/internal/test/integration/modfile.TestBadlyVersionedModule/default/default (log)
=== RUN   TestBadlyVersionedModule/default/default
goroutine profile: total 8
1 @ 0x4345f1 0x46b71d 0x5d4fb1 0x5d4de5 0x5d1886 0xe2f650 0xe2f2c2 0x531d7f 0x471e61
#	0x46b71c	runtime/pprof.runtime_goroutineProfileWithLabels+0x1c				/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mprof.go:844
#	0x5d4fb0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:734
#	0x5d4de4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:694
#	0x5d1885	runtime/pprof.(*Profile).WriteTo+0x145						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:329
#	0xe2f64f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo3765364792/gopls/internal/test/integration/runner.go:198
#	0xe2f2c1	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xf41	/home/swarming/.swarming/w/ir/x/w/targetrepo3765364792/gopls/internal/test/integration/runner.go:252
#	0x531d7e	testing.tRunner+0xfe								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1595
...
#	0x46e634	syscall.syscall6+0x34						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/sys_openbsd3.go:46
#	0x483824	syscall.wait4+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/zsyscall_openbsd_amd64.go:43
#	0x480d24	syscall.Wait4+0x24						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/syscall_bsd.go:144
#	0x4b422c	os.(*Process).wait+0x6c						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:43
#	0x577ba4	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:134
#	0x577b9c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:890
#	0x6f1664	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo3765364792/internal/gocommand/invoke.go:382

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3214484566/TestBadlyVersionedModule/default/default: directory not empty
--- FAIL: TestBadlyVersionedModule/default/default (33.43s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-08-08 21:40 x_tools-gotip-openbsd-amd64 tools@28ba9914 go@a01820c7 x/tools/gopls/internal/test/integration/modfile.TestGovimModReadonly/default (log)
=== RUN   TestGovimModReadonly/default
goroutine profile: total 7
1 @ 0x434591 0x473a3d 0x5fdcb1 0x5fdae5 0x5fa90b 0xe9d070 0xe9ccfa 0x547db4 0x47d941
#	0x5fdcb0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x5fdae4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fa90a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xe9d06f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo3442794342/gopls/internal/test/integration/runner.go:198
#	0xe9ccf9	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xeb9	/home/swarming/.swarming/w/ir/x/w/targetrepo3442794342/gopls/internal/test/integration/runner.go:252
#	0x547db3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
#	0x4baca4	internal/poll.(*FD).Close+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/poll/fd_unix.go:105
#	0x4c8a87	os.(*file).close+0x87							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_unix.go:333
#	0xc2cb2c	os.(*File).Close+0x2c							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:23
#	0xc2c7ce	golang.org/x/tools/internal/gopathwalk.(*walker).walk+0x74e		/home/swarming/.swarming/w/ir/x/w/targetrepo3442794342/internal/gopathwalk/walk.go:337
#	0xc2b6a7	golang.org/x/tools/internal/gopathwalk.walkDir+0x347			/home/swarming/.swarming/w/ir/x/w/targetrepo3442794342/internal/gopathwalk/walk.go:120
#	0xc3e3c5	golang.org/x/tools/internal/gopathwalk.WalkSkip+0x305			/home/swarming/.swarming/w/ir/x/w/targetrepo3442794342/internal/gopathwalk/walk.go:77
#	0xc3e2b2	golang.org/x/tools/internal/imports.(*ModuleResolver).scan.func4+0x1f2	/home/swarming/.swarming/w/ir/x/w/targetrepo3442794342/internal/imports/mod.go:643

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2600147074/TestGovimModReadonly/default: directory not empty
--- FAIL: TestGovimModReadonly/default (33.55s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-08-30 17:46 x_tools-go1.22-openbsd-amd64 tools@28f3bc0b release-branch.go1.22@e87be983 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/good/default/default (log)
=== RUN   TestUnknownRevision/good/default/default
goroutine profile: total 7
1 @ 0x4371f1 0x472a3d 0x5e7db1 0x5e7be5 0x5e4a0b 0xe70110 0xe6fd6c 0x53d25b 0x479341
#	0x472a3c	runtime/pprof.runtime_goroutineProfileWithLabels+0x1c				/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mprof.go:1079
#	0x5e7db0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:774
#	0x5e7be4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:734
#	0x5e4a0a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:369
#	0xe7010f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo1757581781/gopls/internal/test/integration/runner.go:198
#	0xe6fd6b	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x9ab	/home/swarming/.swarming/w/ir/x/w/targetrepo1757581781/gopls/internal/test/integration/runner.go:240
#	0x53d25a	testing.tRunner+0xfa								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689
...
1 @ 0x4410ce 0x40c07f 0x40bcb2 0x6a3d07 0x479341
#	0x6a3d06	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo1757581781/gopls/internal/protocol/context.go:47

1 @ 0x4410ce 0x475b45 0x82c125 0x479341
#	0x475b44	time.Sleep+0x104					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:195
#	0x82c124	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo1757581781/gopls/internal/filecache/filecache.go:443

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-1251378063/TestUnknownRevision/good/default/default/gopath/pkg/mod: directory not empty
        ): exit status 1; removing files: <nil>
--- FAIL: TestUnknownRevision/good/default/default (35.14s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-09-09 18:20 x_tools-go1.23-openbsd-amd64 tools@c055e89c release-branch.go1.23@e6598e7b x/tools/gopls/internal/test/integration/modfile.TestBadlyVersionedModule/default/default (log)
=== RUN   TestBadlyVersionedModule/default/default
goroutine profile: total 6
1 @ 0x434dd1 0x4741dd 0x600d11 0x600b45 0x5fd96b 0xea0950 0xea05a7 0x548e94 0x47e0e1
#	0x600d10	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x600b44	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fd96a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xea094f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo562229702/gopls/internal/test/integration/runner.go:198
#	0xea05a6	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x966	/home/swarming/.swarming/w/ir/x/w/targetrepo562229702/gopls/internal/test/integration/runner.go:240
#	0x548e93	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
1 @ 0x47522e 0x40b4dc 0x40b0b2 0x6cb827 0x47e0e1
#	0x6cb826	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo562229702/gopls/internal/protocol/context.go:47

1 @ 0x47522e 0x4798c5 0x84f1a5 0x47e0e1
#	0x4798c4	time.Sleep+0xe4						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:285
#	0x84f1a4	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo562229702/gopls/internal/filecache/filecache.go:443

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2487545017/TestBadlyVersionedModule/default/default/gopath/pkg/mod: directory not empty
        ): exit status 1; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2487545017/TestBadlyVersionedModule/default/default/gopath/pkg/mod/cache/download/example.com/blah/@v: directory not empty
--- FAIL: TestBadlyVersionedModule/default/default (36.84s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2024-09-12 14:40 x_tools-gotip-openbsd-amd64 tools@15b8886a go@8efb5ebf x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/good/default/default (log)
=== RUN   TestUnknownRevision/good/default/default
goroutine profile: total 7
1 @ 0x434c11 0x47533d 0x5fe991 0x5fe7c5 0x5fb5eb 0xe9d310 0xe9cf6e 0x549cf4 0x47e1c1
#	0x5fe990	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x5fe7c4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fb5ea	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xe9d30f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2055251719/gopls/internal/test/integration/runner.go:198
#	0xe9cf6d	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x94d	/home/swarming/.swarming/w/ir/x/w/targetrepo2055251719/gopls/internal/test/integration/runner.go:240
#	0x549cf3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1764

...
#	0x528a24	os.Open+0x24						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file.go:370
#	0x528a17	path/filepath.readDirNames+0x17				/home/swarming/.swarming/w/ir/x/w/goroot/src/path/filepath/path.go:438
#	0x5284c7	path/filepath.walk+0x67					/home/swarming/.swarming/w/ir/x/w/goroot/src/path/filepath/path.go:348
#	0x5286b3	path/filepath.walk+0x253				/home/swarming/.swarming/w/ir/x/w/goroot/src/path/filepath/path.go:369
#	0x5286b3	path/filepath.walk+0x253				/home/swarming/.swarming/w/ir/x/w/goroot/src/path/filepath/path.go:369
#	0x528945	path/filepath.Walk+0x65					/home/swarming/.swarming/w/ir/x/w/goroot/src/path/filepath/path.go:427
#	0x84ec95	golang.org/x/tools/gopls/internal/filecache.gc+0x1b5	/home/swarming/.swarming/w/ir/x/w/targetrepo2055251719/gopls/internal/filecache/filecache.go:454

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3761415639/TestUnknownRevision/good/default/default: directory not empty
--- FAIL: TestUnknownRevision/good/default/default (33.53s)
2024-09-12 17:34 x_tools-gotip-openbsd-amd64 tools@beed481f go@8efb5ebf x/tools/gopls/internal/test/integration/modfile.TestBadlyVersionedModule/default/default (log)
=== RUN   TestBadlyVersionedModule/default/default
goroutine profile: total 10
1 @ 0x434c11 0x47533d 0x5fe991 0x5fe7c5 0x5fb5eb 0xe9d290 0xe9ceee 0x549cf4 0x47e1c1
#	0x5fe990	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x5fe7c4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fb5ea	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xe9d28f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo1506932940/gopls/internal/test/integration/runner.go:198
#	0xe9ceed	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x94d	/home/swarming/.swarming/w/ir/x/w/targetrepo1506932940/gopls/internal/test/integration/runner.go:240
#	0x549cf3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1764

...
#	0x494b24	syscall.wait4+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/zsyscall_openbsd_amd64.go:43
#	0x4921a4	syscall.Wait4+0x24						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/syscall_bsd.go:144
#	0x4c5585	os.(*Process).pidWait+0x85					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:70
#	0x4c54ba	os.(*Process).wait+0x1a						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:30
#	0x596084	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:358
#	0x59607c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:922
#	0x72c7e4	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo1506932940/internal/gocommand/invoke.go:382

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-1738993999/TestBadlyVersionedModule/default/default: directory not empty
--- FAIL: TestBadlyVersionedModule/default/default (36.66s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-18 14:38 x_tools-go1.23-openbsd-amd64 tools@94db7107 release-branch.go1.23@a991f9c3 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default
goroutine profile: total 10
1 @ 0x434eb1 0x4743dd 0x6022d1 0x602105 0x5fef2b 0xf365b0 0xf36207 0x5491d4 0x47e2e1
#	0x6022d0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x602104	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fef2a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xf365af	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo1737258579/gopls/internal/test/integration/runner.go:198
#	0xf36206	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x966	/home/swarming/.swarming/w/ir/x/w/targetrepo1737258579/gopls/internal/test/integration/runner.go:240
#	0x5491d3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
#	0x495084	syscall.wait4+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/zsyscall_openbsd_amd64.go:43
#	0x492704	syscall.Wait4+0x24						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/syscall_bsd.go:144
#	0x4c5485	os.(*Process).pidWait+0x85					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:70
#	0x4c53ba	os.(*Process).wait+0x1a						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:30
#	0x599884	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:358
#	0x59987c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:906
#	0x780ee4	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo1737258579/internal/gocommand/invoke.go:378

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-684411224/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (32.42s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-18 21:09 x_tools-go1.23-openbsd-amd64 tools@4b3fdfd8 release-branch.go1.23@a991f9c3 x/tools/gopls/internal/test/integration/modfile.TestGovimModReadonly/default (log)
=== RUN   TestGovimModReadonly/default
goroutine profile: total 9
1 @ 0x434eb1 0x4743dd 0x6022d1 0x602105 0x5fef2b 0xf37f30 0xf37b87 0x5491d4 0x47e2e1
#	0x6022d0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x602104	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fef2a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xf37f2f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo3019411062/gopls/internal/test/integration/runner.go:198
#	0xf37b86	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x966	/home/swarming/.swarming/w/ir/x/w/targetrepo3019411062/gopls/internal/test/integration/runner.go:240
#	0x5491d3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
#	0x495084	syscall.wait4+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/zsyscall_openbsd_amd64.go:43
#	0x492704	syscall.Wait4+0x24						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/syscall_bsd.go:144
#	0x4c5485	os.(*Process).pidWait+0x85					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:70
#	0x4c53ba	os.(*Process).wait+0x1a						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:30
#	0x599884	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:358
#	0x59987c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:906
#	0x6ef204	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo3019411062/internal/gocommand/invoke.go:378

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2190150437/TestGovimModReadonly/default: directory not empty
--- FAIL: TestGovimModReadonly/default (36.34s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-19 20:50 x_tools-go1.24-openbsd-amd64 tools@107c5b25 release-branch.go1.24@0f7b7600 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/bad/default/default (log)
=== RUN   TestUnknownRevision/bad/default/default
goroutine profile: total 7
1 @ 0x43a6f1 0x47801d 0x5fe571 0x5fe3a5 0x5fb1cb 0xf1a6d0 0xf1a323 0x54def4 0x481a21
#	0x5fe570	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5fe3a4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fb1ca	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1a6cf	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2192249794/gopls/internal/test/integration/runner.go:198
#	0xf1a322	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo2192249794/gopls/internal/test/integration/runner.go:240
#	0x54def3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1792

...

1 @ 0x47912e 0x413145 0x412cf2 0x6cde27 0x481a21
#	0x6cde26	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo2192249794/gopls/internal/protocol/context.go:47

1 @ 0x47912e 0x47d6f4 0x85aef4 0x481a21
#	0x47d6f3	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#	0x85aef3	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo2192249794/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2056916857/TestUnknownRevision/bad/default/default/gopath/pkg/mod/cache/download: directory not empty
--- FAIL: TestUnknownRevision/bad/default/default (39.59s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-20 21:23 x_tools-go1.23-openbsd-amd64 tools@9f7a2b61 release-branch.go1.23@22fdd35c x/tools/gopls/internal/test/integration/modfile.TestGovimModReadonly/default (log)
=== RUN   TestGovimModReadonly/default
goroutine profile: total 7
1 @ 0x434eb1 0x4743dd 0x6022d1 0x602105 0x5fef2b 0xf3b110 0xf3ad67 0x5491d4 0x47e2e1
#	0x6022d0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x602104	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fef2a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xf3b10f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2558611840/gopls/internal/test/integration/runner.go:198
#	0xf3ad66	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x966	/home/swarming/.swarming/w/ir/x/w/targetrepo2558611840/gopls/internal/test/integration/runner.go:240
#	0x5491d3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
#	0x495084	syscall.wait4+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/zsyscall_openbsd_amd64.go:43
#	0x492704	syscall.Wait4+0x24						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/syscall_bsd.go:144
#	0x4c5485	os.(*Process).pidWait+0x85					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:70
#	0x4c53ba	os.(*Process).wait+0x1a						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:30
#	0x599884	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:358
#	0x59987c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:906
#	0x6ef204	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo2558611840/internal/gocommand/invoke.go:378

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-1416002828/TestGovimModReadonly/default: directory not empty
--- FAIL: TestGovimModReadonly/default (35.54s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-21 15:23 x_tools-gotip-openbsd-amd64 tools@f95771e6 go@64d82cd7 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/good/nested/default (log)
=== RUN   TestUnknownRevision/good/nested/default
goroutine profile: total 11
1 @ 0x43ac31 0x47893d 0x5ff5b1 0x5ff3c5 0x5fc1eb 0xf1b4b0 0xf1b103 0x54ee4a 0x482341
#	0x5ff5b0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5ff3c4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fc1ea	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1b4af	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2138974437/gopls/internal/test/integration/runner.go:198
#	0xf1b102	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo2138974437/gopls/internal/test/integration/runner.go:240
#	0x54ee49	testing.tRunner+0xe9								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1798

...
#	0x4ca684	os.(*Process).pidWait.func1+0x84				/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:64
#	0x4ca670	os.ignoringEINTR2[...]+0x70					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:261
#	0x4ca64a	os.(*Process).pidWait+0x4a					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:63
#	0x4ca5b9	os.(*Process).wait+0x19						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:28
#	0x599324	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:340
#	0x59931c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:922
#	0x6edc04	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo2138974437/internal/gocommand/invoke.go:378

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-334873890/TestUnknownRevision/good/nested/default: directory not empty
--- FAIL: TestUnknownRevision/good/nested/default (39.00s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-21 15:31 x_tools-go1.23-openbsd-amd64 tools@8b85edcc release-branch.go1.23@22fdd35c x/tools/gopls/internal/test/integration/modfile.TestBadlyVersionedModule/default/default (log)
=== RUN   TestBadlyVersionedModule/default/default
goroutine profile: total 6
1 @ 0x43a6f1 0x47885d 0x5fe571 0x5fe3a5 0x5fb1cb 0xf1ed70 0xf1e9c3 0x54def4 0x481a21
#	0x5fe570	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:796
#	0x5fe3a4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:755
#	0x5fb1ca	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:377
#	0xf1ed6f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2963865508/gopls/internal/test/integration/runner.go:198
#	0xf1e9c2	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo2963865508/gopls/internal/test/integration/runner.go:240
#	0x54def3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1792

...
1 @ 0x47996e 0x413145 0x412cf2 0x6cde27 0x481a21
#	0x6cde26	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo2963865508/gopls/internal/protocol/context.go:47

1 @ 0x47996e 0x47d6f4 0x85b3f4 0x481a21
#	0x47d6f3	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/time.go:338
#	0x85b3f3	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo2963865508/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3164837549/TestBadlyVersionedModule/default/default/gopath/pkg/mod: directory not empty
        ): exit status 1; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3164837549/TestBadlyVersionedModule/default/default/gopath/pkg/mod/cache/download/example.com/blah: directory not empty
--- FAIL: TestBadlyVersionedModule/default/default (38.78s)
2025-02-21 18:18 x_tools-go1.24-openbsd-amd64 tools@23211ff4 release-branch.go1.24@0f7b7600 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/bad/nested/default (log)
=== RUN   TestUnknownRevision/bad/nested/default
goroutine profile: total 7
1 @ 0x43a6f1 0x47801d 0x5fe571 0x5fe3a5 0x5fb1cb 0xf1e950 0xf1e5a3 0x54def4 0x481a21
#	0x5fe570	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5fe3a4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fb1ca	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1e94f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2679929539/gopls/internal/test/integration/runner.go:198
#	0xf1e5a2	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo2679929539/gopls/internal/test/integration/runner.go:240
#	0x54def3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1792

...

1 @ 0x47912e 0x413145 0x412cf2 0x6cde27 0x481a21
#	0x6cde26	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo2679929539/gopls/internal/protocol/context.go:47

1 @ 0x47912e 0x47d6f4 0x85b3f4 0x481a21
#	0x47d6f3	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#	0x85b3f3	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo2679929539/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-1719898457/TestUnknownRevision/bad/nested/default: directory not empty
--- FAIL: TestUnknownRevision/bad/nested/default (37.52s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-21 18:51 x_tools-go1.23-openbsd-amd64 tools@7347766e release-branch.go1.23@22fdd35c x/tools/gopls/internal/test/integration/modfile.TestBadlyVersionedModule/nested/default (log)
=== RUN   TestBadlyVersionedModule/nested/default
goroutine profile: total 6
1 @ 0x43a6f1 0x47885d 0x5fe571 0x5fe3a5 0x5fb1cb 0xf1ec50 0xf1e8a3 0x54def4 0x481a21
#	0x5fe570	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:796
#	0x5fe3a4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:755
#	0x5fb1ca	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:377
#	0xf1ec4f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo3442828361/gopls/internal/test/integration/runner.go:198
#	0xf1e8a2	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo3442828361/gopls/internal/test/integration/runner.go:240
#	0x54def3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1792

...
1 @ 0x47996e 0x413145 0x412cf2 0x6cde27 0x481a21
#	0x6cde26	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo3442828361/gopls/internal/protocol/context.go:47

1 @ 0x47996e 0x47d6f4 0x85b454 0x481a21
#	0x47d6f3	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/time.go:338
#	0x85b453	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo3442828361/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-220433346/TestBadlyVersionedModule/nested/default/gopath/pkg/mod/cache/download/example.com/blah: directory not empty
        ): exit status 1; removing files: <nil>
--- FAIL: TestBadlyVersionedModule/nested/default (37.23s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-21 21:16 x_tools-gotip-openbsd-amd64 tools@6e3d8bca go@f24b299d x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default
goroutine profile: total 8
1 @ 0x43ac31 0x47893d 0x5ff631 0x5ff445 0x5fc26b 0xf1b030 0xf1ac83 0x54eeca 0x482341
#	0x5ff630	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5ff444	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fc26a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1b02f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2440893095/gopls/internal/test/integration/runner.go:198
#	0xf1ac82	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo2440893095/gopls/internal/test/integration/runner.go:240
#	0x54eec9	testing.tRunner+0xe9								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1798

...
#	0x8ea6cd	golang.org/x/tools/internal/imports.(*ModuleResolver).scanDirForPackage+0x56d	/home/swarming/.swarming/w/ir/x/w/targetrepo2440893095/internal/imports/mod.go:779
#	0x8e94ef	golang.org/x/tools/internal/imports.(*ModuleResolver).scan.func3+0x4f		/home/swarming/.swarming/w/ir/x/w/targetrepo2440893095/internal/imports/mod.go:621
#	0x8c34a5	golang.org/x/tools/internal/gopathwalk.(*walker).walk+0x3e5			/home/swarming/.swarming/w/ir/x/w/targetrepo2440893095/internal/gopathwalk/walk.go:268
#	0x8c3928	golang.org/x/tools/internal/gopathwalk.(*walker).walk+0x868			/home/swarming/.swarming/w/ir/x/w/targetrepo2440893095/internal/gopathwalk/walk.go:334
#	0x8c26e7	golang.org/x/tools/internal/gopathwalk.walkDir+0x347				/home/swarming/.swarming/w/ir/x/w/targetrepo2440893095/internal/gopathwalk/walk.go:120
#	0x8e93e5	golang.org/x/tools/internal/gopathwalk.WalkSkip+0x305				/home/swarming/.swarming/w/ir/x/w/targetrepo2440893095/internal/gopathwalk/walk.go:77
#	0x8e92d2	golang.org/x/tools/internal/imports.(*ModuleResolver).scan.func4+0x1f2		/home/swarming/.swarming/w/ir/x/w/targetrepo2440893095/internal/imports/mod.go:646

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-1698262724/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (32.60s)
2025-02-21 22:37 x_tools-gotip-openbsd-amd64 tools@5299dcb7 go@f24b299d x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/good/nested/default (log)
=== RUN   TestUnknownRevision/good/nested/default
goroutine profile: total 7
1 @ 0x43ac31 0x47893d 0x5ff631 0x5ff445 0x5fc26b 0xf1c430 0xf1c083 0x54eeca 0x482341
#	0x5ff630	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5ff444	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fc26a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1c42f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo1623260148/gopls/internal/test/integration/runner.go:198
#	0xf1c082	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo1623260148/gopls/internal/test/integration/runner.go:240
#	0x54eec9	testing.tRunner+0xe9								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1798

...

1 @ 0x479a4e 0x41318e 0x412d32 0x6ccba7 0x482341
#	0x6ccba6	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo1623260148/gopls/internal/protocol/context.go:47

1 @ 0x479a4e 0x47e014 0x859474 0x482341
#	0x47e013	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#	0x859473	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo1623260148/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2211116706/TestUnknownRevision/good/nested/default: directory not empty
--- FAIL: TestUnknownRevision/good/nested/default (41.55s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-24 14:40 x_tools-gotip-openbsd-amd64 tools@2b2a44ed go@fba83cdf x/tools/gopls/internal/test/integration/modfile.TestBadlyVersionedModule/nested/default (log)
=== RUN   TestBadlyVersionedModule/nested/default
goroutine profile: total 6
1 @ 0x43ac31 0x47893d 0x5ff8f1 0x5ff705 0x5fc52b 0xf1c870 0xf1c4c3 0x54f18a 0x482341
#	0x5ff8f0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5ff704	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fc52a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1c86f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo1136219973/gopls/internal/test/integration/runner.go:198
#	0xf1c4c2	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo1136219973/gopls/internal/test/integration/runner.go:240
#	0x54f189	testing.tRunner+0xe9								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1798

...
1 @ 0x479a4e 0x41318e 0x412d32 0x6cce67 0x482341
#	0x6cce66	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo1136219973/gopls/internal/protocol/context.go:47

1 @ 0x479a4e 0x47e014 0x859734 0x482341
#	0x47e013	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#	0x859733	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo1136219973/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-1724388407/TestBadlyVersionedModule/nested/default/gopath/pkg/mod: directory not empty
        ): exit status 1; removing files: <nil>
--- FAIL: TestBadlyVersionedModule/nested/default (43.13s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-24 17:21 x_tools-gotip-openbsd-amd64 tools@3e76cae7 go@dceee2e9 x/tools/gopls/internal/test/integration/codelens.TestUnusedDependenciesCodelens/default (log)
=== RUN   TestUnusedDependenciesCodelens/default
goroutine profile: total 9
1 @ 0x43ac31 0x47893d 0x5ff8f1 0x5ff705 0x5fc52b 0xf1b6d0 0xf1b323 0x54f18a 0x482341
#	0x5ff8f0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5ff704	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fc52a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1b6cf	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo411659672/gopls/internal/test/integration/runner.go:198
#	0xf1b322	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo411659672/gopls/internal/test/integration/runner.go:240
#	0x54f189	testing.tRunner+0xe9								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1798

...
#	0x4ca944	os.(*Process).pidWait.func1+0x84				/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:64
#	0x4ca930	os.ignoringEINTR2[...]+0x70					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:261
#	0x4ca90a	os.(*Process).pidWait+0x4a					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:63
#	0x4ca879	os.(*Process).wait+0x19						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:28
#	0x599664	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:340
#	0x59965c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:922
#	0x783ae4	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo411659672/internal/gocommand/invoke.go:378

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-890885717/TestUnusedDependenciesCodelens/default: directory not empty
--- FAIL: TestUnusedDependenciesCodelens/default (38.14s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-25 21:13 x_tools-go1.24-openbsd-amd64 tools@6f7906b2 release-branch.go1.24@af236716 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/bad/nested/default (log)
=== RUN   TestUnknownRevision/bad/nested/default
goroutine profile: total 11
1 @ 0x43a6f1 0x47801d 0x5fe5d1 0x5fe405 0x5fb22b 0xf20790 0xf203e3 0x54df54 0x481a21
#	0x5fe5d0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5fe404	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fb22a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf2078f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo1037913533/gopls/internal/test/integration/runner.go:198
#	0xf203e2	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo1037913533/gopls/internal/test/integration/runner.go:240
#	0x54df53	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1792

...
#	0x4c9c27	os.(*Process).pidWait.func1+0x87				/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:68
#	0x4c9c15	os.ignoringEINTR2[...]+0x75					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:261
#	0x4c9bef	os.(*Process).pidWait+0x4f					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:67
#	0x4c9b5a	os.(*Process).wait+0x1a						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:30
#	0x597f84	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:358
#	0x597f7c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:922
#	0x6eedc4	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo1037913533/internal/gocommand/invoke.go:378

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2603206198/TestUnknownRevision/bad/nested/default: directory not empty
--- FAIL: TestUnknownRevision/bad/nested/default (35.44s)
2025-02-25 21:13 x_tools-gotip-openbsd-amd64 tools@6f7906b2 go@b38b0c00 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default
goroutine profile: total 10
1 @ 0x43ac31 0x4789dd 0x5ff291 0x5ff0a5 0x5fbecb 0xf1b010 0xf1ac63 0x54efca 0x4823c1
#	0x5ff290	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5ff0a4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fbeca	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1b00f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2158287960/gopls/internal/test/integration/runner.go:198
#	0xf1ac62	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo2158287960/gopls/internal/test/integration/runner.go:240
#	0x54efc9	testing.tRunner+0xe9								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1798

...
#	0x4ca924	os.(*Process).pidWait.func1+0x84				/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:64
#	0x4ca910	os.ignoringEINTR2[...]+0x70					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:261
#	0x4ca8ea	os.(*Process).pidWait+0x4a					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:63
#	0x4ca859	os.(*Process).wait+0x19						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:28
#	0x5992a4	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:340
#	0x59929c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:922
#	0x7839a4	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo2158287960/internal/gocommand/invoke.go:378

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-762452388/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (33.37s)
2025-02-25 21:57 x_tools-go1.24-openbsd-amd64 tools@7fed2a4a release-branch.go1.24@af236716 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/bad/default/default (log)
=== RUN   TestUnknownRevision/bad/default/default
goroutine profile: total 9
1 @ 0x43a6f1 0x47801d 0x5fe5d1 0x5fe405 0x5fb22b 0xf20af0 0xf20743 0x54df54 0x481a21
#	0x5fe5d0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5fe404	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fb22a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf20aef	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo1749124436/gopls/internal/test/integration/runner.go:198
#	0xf20742	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo1749124436/gopls/internal/test/integration/runner.go:240
#	0x54df53	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1792

...
#	0x4c9c27	os.(*Process).pidWait.func1+0x87				/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:68
#	0x4c9c15	os.ignoringEINTR2[...]+0x75					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:261
#	0x4c9bef	os.(*Process).pidWait+0x4f					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:67
#	0x4c9b5a	os.(*Process).wait+0x1a						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:30
#	0x597f84	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:358
#	0x597f7c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:922
#	0x6eedc4	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo1749124436/internal/gocommand/invoke.go:378

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-813322697/TestUnknownRevision/bad/default/default: directory not empty
--- FAIL: TestUnknownRevision/bad/default/default (38.29s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-25 22:05 x_tools-gotip-openbsd-amd64 tools@6399d212 go@767c0fb9 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/good/nested/default (log)
=== RUN   TestUnknownRevision/good/nested/default
goroutine profile: total 11
1 @ 0x43ac31 0x4789dd 0x5ff331 0x5ff145 0x5fbf6b 0xf1c7f0 0xf1c443 0x54efca 0x4823c1
#	0x5ff330	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5ff144	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fbf6a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1c7ef	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2259909772/gopls/internal/test/integration/runner.go:198
#	0xf1c442	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo2259909772/gopls/internal/test/integration/runner.go:240
#	0x54efc9	testing.tRunner+0xe9								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1798

...
#	0x4ca924	os.(*Process).pidWait.func1+0x84				/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:64
#	0x4ca910	os.ignoringEINTR2[...]+0x70					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:261
#	0x4ca8ea	os.(*Process).pidWait+0x4a					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:63
#	0x4ca859	os.(*Process).wait+0x19						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:28
#	0x599344	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:340
#	0x59933c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:922
#	0x6ed4e4	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo2259909772/internal/gocommand/invoke.go:378

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-213340177/TestUnknownRevision/good/nested/default: directory not empty
--- FAIL: TestUnknownRevision/good/nested/default (43.64s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-26 14:50 x_tools-go1.24-openbsd-amd64 tools@779331ac release-branch.go1.24@f5c38831 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default
goroutine profile: total 6
1 @ 0x43a6f1 0x47801d 0x5fe5d1 0x5fe405 0x5fb22b 0xf1f710 0xf1f363 0x54df54 0x481a21
#	0x5fe5d0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5fe404	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fb22a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1f70f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo499158801/gopls/internal/test/integration/runner.go:198
#	0xf1f362	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	/home/swarming/.swarming/w/ir/x/w/targetrepo499158801/gopls/internal/test/integration/runner.go:240
#	0x54df53	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1792

...
1 @ 0x47912e 0x413145 0x412cf2 0x6cdce7 0x481a21
#	0x6cdce6	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo499158801/gopls/internal/protocol/context.go:47

1 @ 0x47912e 0x47d6f4 0x7ff1f4 0x481a21
#	0x47d6f3	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#	0x7ff1f3	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo499158801/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-747234345/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default/gopath/pkg/mod/cache/download/golang.org/x/hello: directory not empty
        ): exit status 1; removing files: <nil>
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (34.63s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-27 21:21 x_tools-go1.23-openbsd-amd64 tools@1cc80ad5 release-branch.go1.23@e4772831 x/tools/gopls/internal/test/integration/modfile.TestBadlyVersionedModule/default/default (log)
=== RUN   TestBadlyVersionedModule/default/default
goroutine profile: total 10
1 @ 0x43a6f1 0x47885d 0x5fe5d1 0x5fe405 0x5fb22b 0xf1bab0 0xf1b703 0x54df54 0x481a21
#	0x5fe5d0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:796
#	0x5fe404	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:755
#	0x5fb22a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:377
#	0xf1baaf	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2449108671/gopls/internal/test/integration/runner.go:198
#	0xf1b702	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo2449108671/gopls/internal/test/integration/runner.go:240
#	0x54df53	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1792

...
#	0x4c9c15	os.ignoringEINTR2[...]+0x75					/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/file_posix.go:261
#	0x4c9bef	os.(*Process).pidWait+0x4f					/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/exec_unix.go:67
#	0x4c9b5a	os.(*Process).wait+0x1a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/exec_unix.go:30
#	0x597f84	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/exec.go:358
#	0x597f7c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/exec/exec.go:922
#	0x6ee944	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo2449108671/internal/gocommand/invoke.go:378

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3946511234/TestBadlyVersionedModule/default/default/gopath/pkg/mod: directory not empty
        ): exit status 1; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3946511234/TestBadlyVersionedModule/default/default: directory not empty
--- FAIL: TestBadlyVersionedModule/default/default (37.48s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-02-28 20:28 x_tools-go1.24-openbsd-amd64 tools@5f02a3e8 release-branch.go1.24@5d692084 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
goroutine profile: total 10
1 @ 0x43a6f1 0x47801d 0x5fee31 0x5fec65 0x5fba8b 0xf1c410 0xf1c063 0x54e714 0x481a21
#	0x5fee30	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5fec64	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fba8a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1c40f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo172131972/gopls/internal/test/integration/runner.go:198
#	0xf1c062	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo172131972/gopls/internal/test/integration/runner.go:240
#	0x54e713	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1792

...
#	0x4c9c27	os.(*Process).pidWait.func1+0x87				/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:68
#	0x4c9c15	os.ignoringEINTR2[...]+0x75					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:261
#	0x4c9bef	os.(*Process).pidWait+0x4f					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:67
#	0x4c9b5a	os.(*Process).wait+0x1a						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:30
#	0x5987e4	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:358
#	0x5987dc	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:922
#	0x785a44	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo172131972/internal/gocommand/invoke.go:378

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2116199858/TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default (33.59s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-03-03 14:37 x_tools-gotip-openbsd-amd64 tools@0efa5e51 go@0312e31e x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/good/default/default (log)
=== RUN   TestUnknownRevision/good/default/default
goroutine profile: total 7
1 @ 0x43ac31 0x4789dd 0x5ffa51 0x5ff865 0x5fc68b 0xf1c370 0xf1bfc3 0x54f6ca 0x4823c1
#	0x5ffa50	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5ff864	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fc68a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1c36f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo3262430062/gopls/internal/test/integration/runner.go:198
#	0xf1bfc2	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo3262430062/gopls/internal/test/integration/runner.go:240
#	0x54f6c9	testing.tRunner+0xe9								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1798

...
1 @ 0x479aee 0x41318e 0x412d32 0x6cf047 0x4823c1
#	0x6cf046	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo3262430062/gopls/internal/protocol/context.go:47

1 @ 0x479aee 0x47e0b4 0x85c634 0x4823c1
#	0x47e0b3	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#	0x85c633	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo3262430062/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3681793705/TestUnknownRevision/good/default/default/gopath/pkg/mod/cache/download/example.com/@v: directory not empty
        ): exit status 1; removing files: <nil>
--- FAIL: TestUnknownRevision/good/default/default (38.38s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-03-03 20:07 x_tools-go1.23-openbsd-amd64 tools@2b1f5503 release-branch.go1.23@e4772831 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/bad/nested/default (log)
=== RUN   TestUnknownRevision/bad/nested/default
goroutine profile: total 7
1 @ 0x43a6f1 0x47885d 0x5fe671 0x5fe4a5 0x5fb2cb 0xf1da10 0xf1d663 0x54df54 0x481a21
#	0x5fe670	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:796
#	0x5fe4a4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:755
#	0x5fb2ca	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:377
#	0xf1da0f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo1738761819/gopls/internal/test/integration/runner.go:198
#	0xf1d662	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo1738761819/gopls/internal/test/integration/runner.go:240
#	0x54df53	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1792

...
1 @ 0x47996e 0x413145 0x412cf2 0x6cdaa7 0x481a21
#	0x6cdaa6	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo1738761819/gopls/internal/protocol/context.go:47

1 @ 0x47996e 0x47d6f4 0x85b594 0x481a21
#	0x47d6f3	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/time.go:338
#	0x85b593	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo1738761819/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3935487538/TestUnknownRevision/bad/nested/default/gopath/pkg/mod/cache/download/example.com/@v: directory not empty
        ): exit status 1; removing files: <nil>
--- FAIL: TestUnknownRevision/bad/nested/default (35.52s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-03-04 19:48 x_tools-go1.23-openbsd-amd64 tools@d81d6fcc release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/good/nested/default (log)
=== RUN   TestUnknownRevision/good/nested/default
goroutine profile: total 7
1 @ 0x43a6f1 0x47885d 0x5fe671 0x5fe4a5 0x5fb2cb 0xf1ecb0 0xf1e903 0x54df54 0x481a21
#	0x5fe670	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:796
#	0x5fe4a4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:755
#	0x5fb2ca	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:377
#	0xf1ecaf	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo4182721838/gopls/internal/test/integration/runner.go:198
#	0xf1e902	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo4182721838/gopls/internal/test/integration/runner.go:240
#	0x54df53	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1792

...

1 @ 0x47996e 0x413145 0x412cf2 0x6cdaa7 0x481a21
#	0x6cdaa6	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo4182721838/gopls/internal/protocol/context.go:47

1 @ 0x47996e 0x47d6f4 0x85b594 0x481a21
#	0x47d6f3	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/time.go:338
#	0x85b593	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo4182721838/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3219893064/TestUnknownRevision/good/nested/default: directory not empty
--- FAIL: TestUnknownRevision/good/nested/default (36.99s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-03-04 21:25 x_tools-gotip-openbsd-amd64 tools@8d38122b go@6f90ae36 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default
goroutine profile: total 7
1 @ 0x43add1 0x478b9d 0x6005d1 0x6003e5 0x5fd20b 0xf1c4b0 0xf1c103 0x54ffaa 0x482581
#	0x6005d0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x6003e4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fd20a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf1c4af	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2488725619/gopls/internal/test/integration/runner.go:198
#	0xf1c102	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo2488725619/gopls/internal/test/integration/runner.go:240
#	0x54ffa9	testing.tRunner+0xe9								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1798

...
#	0x5096f8	context.withCancel+0x58								/home/swarming/.swarming/w/ir/x/w/goroot/src/context/context.go:278
#	0x5096bc	context.WithCancel+0x1c								/home/swarming/.swarming/w/ir/x/w/goroot/src/context/context.go:241
#	0x8eea87	golang.org/x/tools/internal/imports.(*DirInfoCache).ScanAndListen+0x47		/home/swarming/.swarming/w/ir/x/w/targetrepo2488725619/internal/imports/mod_cache.go:125
#	0x8ecb08	golang.org/x/tools/internal/imports.(*ModuleResolver).scan+0x128		/home/swarming/.swarming/w/ir/x/w/targetrepo2488725619/internal/imports/mod.go:591
#	0x8e0b42	golang.org/x/tools/internal/imports.PrimeCache+0x62				/home/swarming/.swarming/w/ir/x/w/targetrepo2488725619/internal/imports/fix.go:762
#	0xd04364	golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv+0x1a4	/home/swarming/.swarming/w/ir/x/w/targetrepo2488725619/gopls/internal/cache/imports.go:309
#	0xd02ce3	golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1+0xc3	/home/swarming/.swarming/w/ir/x/w/targetrepo2488725619/gopls/internal/cache/imports.go:72

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-1840581974/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (34.66s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-03-05 18:38 x_tools-go1.23-openbsd-amd64 tools@db6008cb release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/modfile.TestBadlyVersionedModule/default/default (log)
=== RUN   TestBadlyVersionedModule/default/default
goroutine profile: total 6
1 @ 0x43a6f1 0x47885d 0x5fe671 0x5fe4a5 0x5fb2cb 0xf1ee70 0xf1eac3 0x54df54 0x481a21
#	0x5fe670	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:796
#	0x5fe4a4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:755
#	0x5fb2ca	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:377
#	0xf1ee6f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2621455428/gopls/internal/test/integration/runner.go:198
#	0xf1eac2	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo2621455428/gopls/internal/test/integration/runner.go:240
#	0x54df53	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1792

...
#	0x622427	golang.org/x/tools/internal/event/core.ExportPair+0x107				/home/swarming/.swarming/w/ir/x/w/targetrepo2621455428/internal/event/core/export.go:68
#	0x623eb7	golang.org/x/tools/internal/event.Start+0x357					/home/swarming/.swarming/w/ir/x/w/targetrepo2621455428/internal/event/event.go:91
#	0x69b024	golang.org/x/tools/internal/jsonrpc2.(*conn).Notify+0x304			/home/swarming/.swarming/w/ir/x/w/targetrepo2621455428/internal/jsonrpc2/conn.go:84
#	0x6d2705	golang.org/x/tools/gopls/internal/protocol.clientConn.Notify+0x45		/home/swarming/.swarming/w/ir/x/w/targetrepo2621455428/gopls/internal/protocol/protocol.go:63
#	0x6b6c3a	golang.org/x/tools/gopls/internal/protocol.(*clientDispatcher).LogMessage+0x3a	/home/swarming/.swarming/w/ir/x/w/targetrepo2621455428/gopls/internal/protocol/tsclient.go:246
#	0x6ae9e7	golang.org/x/tools/gopls/internal/protocol.LogEvent.func2+0x27			/home/swarming/.swarming/w/ir/x/w/targetrepo2621455428/gopls/internal/protocol/context.go:57
#	0x6cda97	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x37		/home/swarming/.swarming/w/ir/x/w/targetrepo2621455428/gopls/internal/protocol/context.go:48

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-1380640409/TestBadlyVersionedModule/default/default: directory not empty
--- FAIL: TestBadlyVersionedModule/default/default (36.10s)
2025-03-05 19:59 x_tools-go1.23-openbsd-amd64 tools@25a90bef release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/bad/nested/default (log)
=== RUN   TestUnknownRevision/bad/nested/default
goroutine profile: total 11
1 @ 0x43a6f1 0x47885d 0x5fe671 0x5fe4a5 0x5fb2cb 0xf20470 0xf200c3 0x54df54 0x481a21
#	0x5fe670	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:796
#	0x5fe4a4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:755
#	0x5fb2ca	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:377
#	0xf2046f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo3538865652/gopls/internal/test/integration/runner.go:198
#	0xf200c2	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo3538865652/gopls/internal/test/integration/runner.go:240
#	0x54df53	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1792

...
#	0x4c9c27	os.(*Process).pidWait.func1+0x87				/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/exec_unix.go:68
#	0x4c9c15	os.ignoringEINTR2[...]+0x75					/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/file_posix.go:261
#	0x4c9bef	os.(*Process).pidWait+0x4f					/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/exec_unix.go:67
#	0x4c9b5a	os.(*Process).wait+0x1a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/exec_unix.go:30
#	0x598024	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/exec.go:358
#	0x59801c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/exec/exec.go:922
#	0x6ee9e4	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo3538865652/internal/gocommand/invoke.go:378

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2539063773/TestUnknownRevision/bad/nested/default: directory not empty
--- FAIL: TestUnknownRevision/bad/nested/default (37.12s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-03-06 18:34 x_tools-go1.24-openbsd-amd64 tools@b08c7a26 release-branch.go1.24@0ace2d8a x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/good/nested/default (log)
=== RUN   TestUnknownRevision/good/nested/default
goroutine profile: total 7
1 @ 0x43a6f1 0x4780bd 0x5feed1 0x5fed05 0x5fbb2b 0xf216d0 0xf21323 0x54e7b4 0x481ac1
#	0x5feed0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5fed04	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fbb2a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf216cf	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2333955482/gopls/internal/test/integration/runner.go:198
#	0xf21322	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo2333955482/gopls/internal/test/integration/runner.go:240
#	0x54e7b3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1792

...
#	0x69e1b0	golang.org/x/tools/internal/jsonrpc2.marshalToRaw+0x30				/home/swarming/.swarming/w/ir/x/w/targetrepo2333955482/internal/jsonrpc2/messages.go:233
#	0x69e1b6	golang.org/x/tools/internal/jsonrpc2.NewNotification+0x36			/home/swarming/.swarming/w/ir/x/w/targetrepo2333955482/internal/jsonrpc2/messages.go:69
#	0x69b5fd	golang.org/x/tools/internal/jsonrpc2.(*conn).Notify+0x7d			/home/swarming/.swarming/w/ir/x/w/targetrepo2333955482/internal/jsonrpc2/conn.go:80
#	0x6d2f65	golang.org/x/tools/gopls/internal/protocol.clientConn.Notify+0x45		/home/swarming/.swarming/w/ir/x/w/targetrepo2333955482/gopls/internal/protocol/protocol.go:63
#	0x6b749a	golang.org/x/tools/gopls/internal/protocol.(*clientDispatcher).LogMessage+0x3a	/home/swarming/.swarming/w/ir/x/w/targetrepo2333955482/gopls/internal/protocol/tsclient.go:246
#	0x6af247	golang.org/x/tools/gopls/internal/protocol.LogEvent.func2+0x27			/home/swarming/.swarming/w/ir/x/w/targetrepo2333955482/gopls/internal/protocol/context.go:57
#	0x6ce2f7	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x37		/home/swarming/.swarming/w/ir/x/w/targetrepo2333955482/gopls/internal/protocol/context.go:48

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2027180472/TestUnknownRevision/good/nested/default: directory not empty
--- FAIL: TestUnknownRevision/good/nested/default (37.56s)
2025-03-07 21:08 x_tools-go1.23-openbsd-amd64 tools@29f81e9d release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/modfile.TestBadlyVersionedModule/default/default (log)
=== RUN   TestBadlyVersionedModule/default/default
goroutine profile: total 6
1 @ 0x43a6f1 0x4788fd 0x5fe711 0x5fe545 0x5fb36b 0xf210b0 0xf20d03 0x54dff4 0x481ac1
#	0x5fe710	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:796
#	0x5fe544	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:755
#	0x5fb36a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:377
#	0xf210af	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2869549552/gopls/internal/test/integration/runner.go:198
#	0xf20d02	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo2869549552/gopls/internal/test/integration/runner.go:240
#	0x54dff3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1792

...

1 @ 0x479a0e 0x413145 0x412cf2 0x6cdb47 0x481ac1
#	0x6cdb46	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo2869549552/gopls/internal/protocol/context.go:47

1 @ 0x479a0e 0x47d794 0x85b5d4 0x481ac1
#	0x47d793	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/time.go:338
#	0x85b5d3	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo2869549552/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-1113384220/TestBadlyVersionedModule/default/default: directory not empty
--- FAIL: TestBadlyVersionedModule/default/default (37.28s)
2025-03-07 21:08 x_tools-go1.24-openbsd-amd64 tools@29f81e9d release-branch.go1.24@0ace2d8a x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/good/default/default (log)
=== RUN   TestUnknownRevision/good/default/default
goroutine profile: total 7
1 @ 0x43a6f1 0x4780bd 0x5feed1 0x5fed05 0x5fbb2b 0xf218f0 0xf21543 0x54e7b4 0x481ac1
#	0x5feed0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x5fed04	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fbb2a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf218ef	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo3198113366/gopls/internal/test/integration/runner.go:198
#	0xf21542	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo3198113366/gopls/internal/test/integration/runner.go:240
#	0x54e7b3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1792

...

1 @ 0x4791ce 0x413145 0x412cf2 0x6ce307 0x481ac1
#	0x6ce306	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo3198113366/gopls/internal/protocol/context.go:47

1 @ 0x4791ce 0x47d794 0x85bd94 0x481ac1
#	0x47d793	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#	0x85bd93	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo3198113366/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2436489739/TestUnknownRevision/good/default/default: directory not empty
--- FAIL: TestUnknownRevision/good/default/default (39.54s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-03-08 17:41 x_tools-gotip-openbsd-amd64 tools@8fa586e1 go@bc5f4a55 x/tools/gopls/internal/test/integration/modfile.TestSumUpdateFixesDiagnostics/default (log)
=== RUN   TestSumUpdateFixesDiagnostics/default
goroutine profile: total 5
1 @ 0x43add1 0x478c5d 0x6007b1 0x6005c5 0x5fd3eb 0xf21110 0xf20d63 0x55004a 0x482641
#	0x6007b0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x6005c4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x5fd3ea	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf2110f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo4161807914/gopls/internal/test/integration/runner.go:198
#	0xf20d62	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo4161807914/gopls/internal/test/integration/runner.go:240
#	0x550049	testing.tRunner+0xe9								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1798

...
#	0x624507	golang.org/x/tools/internal/event/core.ExportPair+0x107				/home/swarming/.swarming/w/ir/x/w/targetrepo4161807914/internal/event/core/export.go:68
#	0x625f97	golang.org/x/tools/internal/event.Start+0x357					/home/swarming/.swarming/w/ir/x/w/targetrepo4161807914/internal/event/event.go:91
#	0x69d3e4	golang.org/x/tools/internal/jsonrpc2.(*conn).Notify+0x304			/home/swarming/.swarming/w/ir/x/w/targetrepo4161807914/internal/jsonrpc2/conn.go:84
#	0x6d4765	golang.org/x/tools/gopls/internal/protocol.clientConn.Notify+0x45		/home/swarming/.swarming/w/ir/x/w/targetrepo4161807914/gopls/internal/protocol/protocol.go:63
#	0x6b8c9a	golang.org/x/tools/gopls/internal/protocol.(*clientDispatcher).LogMessage+0x3a	/home/swarming/.swarming/w/ir/x/w/targetrepo4161807914/gopls/internal/protocol/tsclient.go:246
#	0x6b0a47	golang.org/x/tools/gopls/internal/protocol.LogEvent.func2+0x27			/home/swarming/.swarming/w/ir/x/w/targetrepo4161807914/gopls/internal/protocol/context.go:57
#	0x6cfaf7	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x37		/home/swarming/.swarming/w/ir/x/w/targetrepo4161807914/gopls/internal/protocol/context.go:48

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-2113480041/TestSumUpdateFixesDiagnostics/default: directory not empty
--- FAIL: TestSumUpdateFixesDiagnostics/default (34.21s)

watchflakes

@adonovan
Copy link
Member

adonovan commented Mar 11, 2025

This openbsd flake is a regular nuisance for the gopls CI build.

The stderr output of go clean is

go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-3713062884/TestUnknownRevision/bad/nested/default/gopath/pkg/mod: directory not empty

There are three places within os.RemoveAll that create an "unlinkat" error message:

  • the first at GOROOT/src/os/removeall_at.go:75 can't be the one because we know err is EISDIR;
  • the second at L93 can be reached only if err is unix.NoFollowErrno after failing to delete a directory entry;
  • the third at L157 happens when we fail to delete the final root directory.

It's hard to know why this might be a consistent problem on openbsd and not on other platforms. It would be a big help if we could add extra diagnostics to the go command so that in the case where the call to os.RemoveAll done by go clean fails with "unlinkat %s: directory not empty", we do a WalkDir on the directory and print the names of what we find (at least on openbsd).

@matloob @samthanawalla

@adonovan adonovan changed the title x/tools/gopls: test flakes cleaning module cache on openbsd: directory not empty x/tools/gopls: go clean fails with ENOTEMPTY (openbsd) causing gopls test flakes Mar 11, 2025
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-03-12 17:21 x_tools-go1.23-openbsd-amd64 tools@4ee50fe6 release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/bad/default/default (log)
=== RUN   TestUnknownRevision/bad/default/default
goroutine profile: total 7
1 @ 0x43a6f1 0x4788fd 0x5fe711 0x5fe545 0x5fb36b 0xf23ad0 0xf23723 0x54dff4 0x481ac1
#	0x5fe710	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:796
#	0x5fe544	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:755
#	0x5fb36a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:377
#	0xf23acf	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2188804646/gopls/internal/test/integration/runner.go:198
#	0xf23722	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo2188804646/gopls/internal/test/integration/runner.go:240
#	0x54dff3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1792

...
1 @ 0x479a0e 0x413145 0x412cf2 0x6cdb47 0x481ac1
#	0x6cdb46	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo2188804646/gopls/internal/protocol/context.go:47

1 @ 0x479a0e 0x47d794 0x85b5d4 0x481ac1
#	0x47d793	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/time.go:338
#	0x85b5d3	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo2188804646/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-999959079/TestUnknownRevision/bad/default/default/gopath/pkg/mod/cache/download/example.com/@v: directory not empty
        ): exit status 1; removing files: <nil>
--- FAIL: TestUnknownRevision/bad/default/default (38.09s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls/internal/test/.*` && goos == "openbsd" && `cleaning sandbox: cleaning modcache`
2025-03-14 01:02 x_tools-gotip-openbsd-amd64 tools@6c3e542d go@7dd7d70c x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/good/nested/default (log)
=== RUN   TestUnknownRevision/good/nested/default
goroutine profile: total 7
1 @ 0x43a331 0x4781bd 0x603911 0x603725 0x60054b 0xf22470 0xf220c3 0x54ed4a 0x481bc1
#	0x603910	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x603724	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x60054a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xf2246f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo3138129771/gopls/internal/test/integration/runner.go:198
#	0xf220c2	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x942	/home/swarming/.swarming/w/ir/x/w/targetrepo3138129771/gopls/internal/test/integration/runner.go:240
#	0x54ed49	testing.tRunner+0xe9								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1800

...
1 @ 0x4792ce 0x41270e 0x4122b2 0x6d2687 0x481bc1
#	0x6d2686	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo3138129771/gopls/internal/protocol/context.go:47

1 @ 0x4792ce 0x47d8b4 0x85fe94 0x481bc1
#	0x47d8b3	time.Sleep+0x153					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#	0x85fe93	golang.org/x/tools/gopls/internal/filecache.gc+0x133	/home/swarming/.swarming/w/ir/x/w/targetrepo3138129771/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: go: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-1499921895/TestUnknownRevision/good/nested/default/gopath/pkg/mod: directory not empty
        ): exit status 1; removing files: unlinkat /home/swarming/.swarming/w/ir/x/t/gopls-test-1499921895/TestUnknownRevision/good/nested/default: directory not empty
--- FAIL: TestUnknownRevision/good/nested/default (38.66s)

watchflakes

@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/658816 mentions this issue: cmd/go/internal/clean: add logging to help debug openbsd flakes

gopherbot pushed a commit that referenced this issue Mar 18, 2025
This change adds extra logging in the case where there's an error
removing all the files in the gomodcache using modfetch.RemoveAll.
It logs the names of the files found in GOMODCACHE as well as their
modes. The modes are included because they should all be writable by the
time we call robustio.RemoveAll.

For #68087

Change-Id: Id9ae68bf6a3392baf88ec002d08fed1faf525927
Reviewed-on: https://go-review.googlesource.com/c/go/+/658816
Reviewed-by: Alan Donovan <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Auto-Submit: Michael Matloob <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gopls Issues related to the Go language server, gopls. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
Status: No status
Development

No branches or pull requests

5 participants