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/internal/test/integration/codelens: TestUpgradeCodelens_Workspace failures #67727

Closed
gopherbot opened this issue May 30, 2024 · 24 comments
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 May 30, 2024

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test ~ `TestUpgradeCodelens_Workspace`

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestUpgradeCodelens_Workspace

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 May 30, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test == "TestUpgradeCodelens_Workspace"
2024-05-30 16:14 x_tools-gotip-windows-amd64-race tools@8d54ca12 go@e6504ce6 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace

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 May 30, 2024
@gopherbot gopherbot added this to the Unreleased milestone May 30, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test == "TestUpgradeCodelens_Workspace"
2024-05-30 17:27 x_tools-gotip-windows-amd64-race tools@2e977ddd go@3f4be127 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace

watchflakes

@adonovan
Copy link
Member

Dup of #54461

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test == "TestUpgradeCodelens_Workspace"
2024-05-30 19:19 x_tools-go1.21-windows-amd64-race tools@6887e998 release-branch.go1.21@9488a444 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace

watchflakes

@gopherbot gopherbot reopened this May 31, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test == "TestUpgradeCodelens_Workspace"
2024-05-31 21:13 x_tools-gotip-windows-amd64-race tools@1e9d12dd go@9b43bfbc x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace

watchflakes

@github-project-automation github-project-automation bot moved this from Done to Active in Test Flakes May 31, 2024
@findleyr
Copy link
Contributor

findleyr commented Jun 4, 2024

Still a dupe. Added more debug info in https://go.dev/cl/589956. (EDIT: fixed link).

@findleyr findleyr closed this as not planned Won't fix, can't repro, duplicate, stale Jun 4, 2024
@github-project-automation github-project-automation bot moved this from Active to Done in Test Flakes Jun 4, 2024
@gopherbot gopherbot reopened this Jun 6, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test == "TestUpgradeCodelens_Workspace"
2024-06-06 18:30 x_tools-go1.21-windows-amd64-race tools@5e0f1d8d release-branch.go1.21@48103d97 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace

watchflakes

@github-project-automation github-project-automation bot moved this from Done to Active in Test Flakes Jun 6, 2024
@findleyr findleyr modified the milestones: Unreleased, gopls/v0.16.0 Jun 10, 2024
@findleyr
Copy link
Contributor

This may be worth understanding before [email protected]. Added to the milestone, but I don't think this should block the prerelease.

@findleyr
Copy link
Contributor

Still not understood. The last failure has the new debugging output:

panic: detected hanging go command (golang/go#54461); waited 1m0.0112265s
	command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -m -e -json ...
	pid:2576

1m for go list -m seems like a deadlock or contention of some form. CC @matloob @samthanawalla for ideas.
Note that this test uses a file-based proxy.

@findleyr findleyr modified the milestones: gopls/v0.16.0, gopls/v0.17.0 Jun 18, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test == "TestUpgradeCodelens_Workspace"
2024-06-20 20:57 x_tools-go1.21-windows-amd64-race tools@dfdfa49f release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test ~ `TestUpgradeCodelens_Workspace`
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)
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)
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/integration/codelens" && test ~ `TestUpgradeCodelens_Workspace`
2024-09-09 15:46 x_tools-go1.22-openbsd-amd64 tools@4bcf6a3b release-branch.go1.22@6fab4b9a 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 @ 0x434511 0x47389d 0x600191 0x5fffc5 0x5fcdeb 0xe9f190 0xe9ede7 0x548554 0x47d7a1
#	0x600190	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:793
#	0x5fffc4	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:752
#	0x5fcdea	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:374
#	0xe9f18f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2205970306/gopls/internal/test/integration/runner.go:198
#	0xe9ede6	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x966	/home/swarming/.swarming/w/ir/x/w/targetrepo2205970306/gopls/internal/test/integration/runner.go:240
#	0x548553	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1690

...

1 @ 0x4748ee 0x40b4dc 0x40b0b2 0x6cab07 0x47d7a1
#	0x6cab06	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo2205970306/gopls/internal/protocol/context.go:47

1 @ 0x4748ee 0x478f85 0x7f49c5 0x47d7a1
#	0x478f84	time.Sleep+0xe4						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/time.go:285
#	0x7f49c4	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo2205970306/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-2376176743/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (34.61s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test ~ `TestUpgradeCodelens_Workspace`
2024-09-20 14:52 x_tools-go1.23-openbsd-amd64 tools@3921b593 release-branch.go1.23@c8c6f9ab 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 @ 0x434dd1 0x4741dd 0x600d11 0x600b45 0x5fd96b 0xe9fdb0 0xe9fa07 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
#	0xe9fdaf	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2167128013/gopls/internal/test/integration/runner.go:198
#	0xe9fa06	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x966	/home/swarming/.swarming/w/ir/x/w/targetrepo2167128013/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 0x6cb6a7 0x47e0e1
#	0x6cb6a6	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo2167128013/gopls/internal/protocol/context.go:47

1 @ 0x47522e 0x4798c5 0x7f8b85 0x47e0e1
#	0x4798c4	time.Sleep+0xe4						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:285
#	0x7f8b84	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo2167128013/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-2473499092/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (33.63s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test ~ `TestUpgradeCodelens_Workspace`
2024-09-22 20:55 x_tools-go1.23-windows-arm64 tools@d2c1642d release-branch.go1.23@c8c6f9ab x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=false/default [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=false/default
fatal error: runtime: cannot allocate memory

runtime stack:
runtime.throw({0x7ff757192868?, 0x40000527b4?})
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:1067 +0x38 fp=0x18d81ffbf0 sp=0x18d81ffbc0 pc=0x7ff7565c47d8
runtime.persistentalloc1(0x3fc0, 0xe10?, 0x7ff757bab380)
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/malloc.go:1609 +0x284 fp=0x18d81ffc40 sp=0x18d81ffbf0 pc=0x7ff75655fb74
runtime.persistentalloc.func1()
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/malloc.go:1562 +0x30 fp=0x18d81ffc70 sp=0x18d81ffc40 pc=0x7ff75655f8d0
...
sync.runtime_Semacquire(0x4007775650?)
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/sema.go:71 +0x2c fp=0x4006bb5f60 sp=0x4006bb5f20 pc=0x7ff7565c5cfc
sync.(*WaitGroup).Wait(0x4007c9b3a0)
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/sync/waitgroup.go:118 +0x74 fp=0x4006bb5f80 sp=0x4006bb5f60 pc=0x7ff7565decf4
golang.org/x/tools/gopls/internal/server.(*server).didModifyFiles.func1()
	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo372529505/gopls/internal/server/text_synchronization.go:237 +0x38 fp=0x4006bb5fd0 sp=0x4006bb5f80 pc=0x7ff756ebbae8
runtime.goexit({})
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x4006bb5fd0 sp=0x4006bb5fd0 pc=0x7ff7565cd834
created by golang.org/x/tools/gopls/internal/server.(*server).didModifyFiles in goroutine 942
	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo372529505/gopls/internal/server/text_synchronization.go:236 +0x174
2024-09-22 20:55 x_tools-go1.22-windows-arm64 tools@f8ce0052 release-branch.go1.22@b4086b7c x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=false/default (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=false/default
goroutine profile: total 6
1 @ 0x7ff6676d2a8c 0x7ff6677135f4 0x7ff6678a2454 0x7ff6678a2270 0x7ff66789f808 0x7ff66805b5a8 0x7ff66805b264 0x7ff6677f6784 0x7ff66771d7e4
#	0x7ff6678a2453	runtime/pprof.writeRuntimeProfile+0xb3						C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:793
#	0x7ff6678a226f	runtime/pprof.writeGoroutine+0x4f						C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:752
#	0x7ff66789f807	runtime/pprof.(*Profile).WriteTo+0x147						C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:374
#	0x7ff66805b5a7	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x67	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo1103156347/gopls/internal/test/integration/runner.go:198
#	0x7ff66805b263	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x703	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo1103156347/gopls/internal/test/integration/runner.go:240
#	0x7ff6677f6783	testing.tRunner+0xc3								C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1690

...

1 @ 0x7ff6677148a8 0x7ff6676a87b4 0x7ff6676a8374 0x7ff667960858 0x7ff66771d7e4
#	0x7ff667960857	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x47	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo1103156347/gopls/internal/protocol/context.go:47

1 @ 0x7ff6677148a8 0x7ff667718ef0 0x7ff667a7379c 0x7ff66771d7e4
#	0x7ff667718eef	time.Sleep+0xdf						C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/time.go:285
#	0x7ff667a7379b	golang.org/x/tools/gopls/internal/filecache.gc+0xcb	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo1103156347/gopls/internal/filecache/filecache.go:443

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: ): fork/exec C:\Users\swarming\.swarming\w\ir\x\w\gopath\pkg\mod\golang.org\[email protected]\bin\go.exe: The paging file is too small for this operation to complete.; removing files: <nil>
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=false/default (10.58s)
2024-09-22 20:55 x_tools-go1.23-windows-arm64 tools@f8ce0052 release-branch.go1.23@c8c6f9ab x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=false/default (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=false/default
    codelens_test.go:232: waiting on:
        Unmeetable: once "completed work \"diagnosing from resetting go.mod diagnostics\" at least 1 time(s)" is met, must have:
        no diagnostics for file "b/go.mod"
        
        err:condition has final verdict Unmeetable
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/09/22 22:42:31 Created View (#5)\n\tdirectory...
...
        fatal error: runtime: cannot allocate memory
        
        goroutine 1 gp=0x400004e000 m=0 mp=0x7ff7f9c78440 [running, locked to thread]:
        runtime.throw({0x7ff7f9522b35?, 0x7ff7f8bec370?})
        	runtime/panic.go:1067 +0x38 fp=0x400015bbc0 sp=0x400015bb90 pc=0x7ff7f8bff498
        runtime.stkbucket(0x1, 0x1ea000, {0x400003c000, 0x5, 0x400015bc60?}, 0x1)
        	runtime/mprof.go:284 +0x3f4 fp=0x400015bc20 sp=0x400015bbc0 pc=0x7ff7f8bb6f94
        runtime.mProf_Malloc(0x7ff7f9c78440, 0x4000180000, 0x1ea000)
        	runtime/mprof.go:450 +0xc0 fp=0x400015bcb0 sp=0x400015bc20 pc=0x7ff7f8bb73c0
        runtime.profilealloc(0x7ff7f9c78440?, 0x4000180000?, 0x1ea000?)
...
        internal/cpu.Initialize({0x0, 0x0})
        	internal/cpu/cpu.go:139 +0x30 fp=0x7bf31ffa40 sp=0x7bf31ffa10 pc=0x7ff669554240
        runtime.cpuinit(...)
        	runtime/proc.go:727
        runtime.schedinit()
        	runtime/proc.go:820 +0xf0 fp=0x7bf31ffaa0 sp=0x7bf31ffa40 pc=0x7ff66958c960
        runtime.rt0_go()
        	runtime/asm_arm64.s:86 +0xac fp=0x7bf31ffad0 sp=0x7bf31ffaa0 pc=0x7ff6695c5d3c
        ): exit status 2; removing files: <nil>
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=false/default (2.49s)
2024-09-25 18:18 x_tools-go1.22-openbsd-amd64 tools@06b986b1 release-branch.go1.22@b4086b7c 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 @ 0x434db1 0x47419d 0x600cd1 0x600b05 0x5fd92b 0xe9fb70 0xe9f7c7 0x548e54 0x47e0a1
#	0x600cd0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:793
#	0x600b04	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:752
#	0x5fd92a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:374
#	0xe9fb6f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo1683861817/gopls/internal/test/integration/runner.go:198
#	0xe9f7c6	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x966	/home/swarming/.swarming/w/ir/x/w/targetrepo1683861817/gopls/internal/test/integration/runner.go:240
#	0x548e53	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1690

...
1 @ 0x4751ee 0x40b4dc 0x40b0b2 0x6cb687 0x47e0a1
#	0x6cb686	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo1683861817/gopls/internal/protocol/context.go:47

1 @ 0x4751ee 0x479885 0x7f8425 0x47e0a1
#	0x479884	time.Sleep+0xe4						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/time.go:285
#	0x7f8424	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo1683861817/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-277072822/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 (34.56s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test ~ `TestUpgradeCodelens_Workspace`
2024-10-02 18:38 x_tools-go1.22-openbsd-amd64 tools@dd745ec1 release-branch.go1.22@29252e4c 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 @ 0x434db1 0x47419d 0x600cd1 0x600b05 0x5fd92b 0xea04f0 0xea0147 0x548e54 0x47e0a1
#	0x600cd0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:793
#	0x600b04	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:752
#	0x5fd92a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/pprof/pprof.go:374
#	0xea04ef	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo3459681314/gopls/internal/test/integration/runner.go:198
#	0xea0146	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x966	/home/swarming/.swarming/w/ir/x/w/targetrepo3459681314/gopls/internal/test/integration/runner.go:240
#	0x548e53	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1690

...

1 @ 0x4751ee 0x40b4dc 0x40b0b2 0x6cb687 0x47e0a1
#	0x6cb686	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo3459681314/gopls/internal/protocol/context.go:47

1 @ 0x4751ee 0x479885 0x7f85e5 0x47e0a1
#	0x479884	time.Sleep+0xe4						/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/time.go:285
#	0x7f85e4	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo3459681314/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-3240467397/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (35.22s)

watchflakes

@adonovan
Copy link
Member

adonovan commented Oct 3, 2024

Dup of #68087 (openbsd, directory not empty).

@adonovan adonovan closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2024
@github-project-automation github-project-automation bot moved this from Active to Done in Test Flakes Oct 3, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test ~ `TestUpgradeCodelens_Workspace`
2024-10-08 22:13 x_tools-go1.22-windows-amd64-race tools@cf8979b7 release-branch.go1.22@29252e4c x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default (451.92s)

watchflakes

@gopherbot gopherbot reopened this Oct 9, 2024
@github-project-automation github-project-automation bot moved this from Done to Active in Test Flakes Oct 9, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test ~ `TestUpgradeCodelens_Workspace`
2024-10-10 20:22 x_tools-gotip-openbsd-amd64 tools@feffeaab go@d20a4c24 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 @ 0x434c51 0x4755bd 0x6002d1 0x600105 0x5fcf2b 0xea01f0 0xe9fe4e 0x5499d4 0x47e481
#	0x6002d0	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x600104	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fcf2a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xea01ef	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2265958576/gopls/internal/test/integration/runner.go:198
#	0xe9fe4d	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x94d	/home/swarming/.swarming/w/ir/x/w/targetrepo2265958576/gopls/internal/test/integration/runner.go:240
#	0x5499d3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1764

...
#	0x494c44	syscall.wait4+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/zsyscall_openbsd_amd64.go:43
#	0x4922c4	syscall.Wait4+0x24						/home/swarming/.swarming/w/ir/x/w/goroot/src/syscall/syscall_bsd.go:144
#	0x4c5165	os.(*Process).pidWait+0x85					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:70
#	0x4c509a	os.(*Process).wait+0x1a						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:30
#	0x595fa4	os.(*Process).Wait+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:358
#	0x595f9c	os/exec.(*Cmd).Wait+0x3c					/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:922
#	0x781364	golang.org/x/tools/internal/gocommand.runCmdContext.func4+0x24	/home/swarming/.swarming/w/ir/x/w/targetrepo2265958576/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-4140455245/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (35.00s)

watchflakes

@findleyr
Copy link
Contributor

Both dupes.

@findleyr findleyr closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2024
@github-project-automation github-project-automation bot moved this from Active to Done in Test Flakes Oct 23, 2024
@gopherbot gopherbot reopened this Oct 25, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test ~ `TestUpgradeCodelens_Workspace`
2024-10-25 17:52 x_tools-go1.23-openbsd-amd64 tools@044b16f3 release-branch.go1.23@58babf6e 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 @ 0x434e31 0x4742fd 0x600e31 0x600c65 0x5fda8b 0xea4710 0xea4367 0x548fb4 0x47e201
#	0x600e30	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x600c64	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fda8a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xea470f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo1269072149/gopls/internal/test/integration/runner.go:198
#	0xea4366	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x966	/home/swarming/.swarming/w/ir/x/w/targetrepo1269072149/gopls/internal/test/integration/runner.go:240
#	0x548fb3	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
1 @ 0x47534e 0x40b4dc 0x40b0b2 0x6cbe87 0x47e201
#	0x6cbe86	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo1269072149/gopls/internal/protocol/context.go:47

1 @ 0x47534e 0x4799e5 0x7f94c5 0x47e201
#	0x4799e4	time.Sleep+0xe4						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:300
#	0x7f94c4	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo1269072149/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-3377079791/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-3377079791/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (33.65s)

watchflakes

@github-project-automation github-project-automation bot moved this from Done to Active in Test Flakes Oct 25, 2024
@adonovan
Copy link
Member

Dup of #68087

@adonovan adonovan closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
@github-project-automation github-project-automation bot moved this from Active to Done in Test Flakes Nov 7, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test ~ `TestUpgradeCodelens_Workspace`
2024-11-06 21:25 x_tools-go1.23-openbsd-amd64 tools@1115af6f release-branch.go1.23@c390a1c2 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 @ 0x434e11 0x4742dd 0x600e11 0x600c45 0x5fda6b 0xec20b0 0xec1d07 0x548f94 0x47e1e1
#	0x600e10	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x600c44	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fda6a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xec20af	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2442074228/gopls/internal/test/integration/runner.go:198
#	0xec1d06	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x966	/home/swarming/.swarming/w/ir/x/w/targetrepo2442074228/gopls/internal/test/integration/runner.go:240
#	0x548f93	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...

1 @ 0x47532e 0x40b4dc 0x40b0b2 0x6cbe67 0x47e1e1
#	0x6cbe66	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x46	/home/swarming/.swarming/w/ir/x/w/targetrepo2442074228/gopls/internal/protocol/context.go:47

1 @ 0x47532e 0x4799c5 0x7f3f65 0x47e1e1
#	0x4799c4	time.Sleep+0xe4						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:300
#	0x7f3f64	golang.org/x/tools/gopls/internal/filecache.gc+0x124	/home/swarming/.swarming/w/ir/x/w/targetrepo2442074228/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-4027837512/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (34.44s)

watchflakes

@gopherbot gopherbot reopened this Nov 15, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test ~ `TestUpgradeCodelens_Workspace`
2024-11-15 16:15 x_tools-go1.23-openbsd-amd64 tools@56ec1110 release-branch.go1.23@c390a1c2 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 @ 0x434e11 0x4742dd 0x600e11 0x600c45 0x5fda6b 0xec9650 0xec92a7 0x548f94 0x47e1e1
#	0x600e10	runtime/pprof.writeRuntimeProfile+0xb0						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:793
#	0x600c44	runtime/pprof.writeGoroutine+0x44						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:752
#	0x5fda6a	runtime/pprof.(*Profile).WriteTo+0x14a						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:374
#	0xec964f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	/home/swarming/.swarming/w/ir/x/w/targetrepo2874249675/gopls/internal/test/integration/runner.go:198
#	0xec92a6	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x966	/home/swarming/.swarming/w/ir/x/w/targetrepo2874249675/gopls/internal/test/integration/runner.go:240
#	0x548f93	testing.tRunner+0xf3								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1690

...
#	0x4cb9e8	os.statNolog.func1+0x48							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/stat_unix.go:32
#	0x4cb9d9	os.ignoringEINTR+0x39							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:251
#	0x4cb9cd	os.statNolog+0x2d							/home/swarming/.swarming/w/ir/x/w/goroot/src/os/stat_unix.go:31
#	0x4cb60b	os.Stat+0x2b								/home/swarming/.swarming/w/ir/x/w/goroot/src/os/stat.go:13
#	0xbc62ae	golang.org/x/tools/internal/gopathwalk.walkDir+0x6e			/home/swarming/.swarming/w/ir/x/w/targetrepo2874249675/internal/gopathwalk/walk.go:86
#	0xbdbd05	golang.org/x/tools/internal/gopathwalk.WalkSkip+0x305			/home/swarming/.swarming/w/ir/x/w/targetrepo2874249675/internal/gopathwalk/walk.go:77
#	0xbdbbf2	golang.org/x/tools/internal/imports.(*ModuleResolver).scan.func4+0x1f2	/home/swarming/.swarming/w/ir/x/w/targetrepo2874249675/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-3602598429/TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default: directory not empty
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=true/default (33.94s)

watchflakes

@github-project-automation github-project-automation bot moved this from Done to Active in Test Flakes Nov 15, 2024
@findleyr findleyr removed this from Test Flakes Nov 15, 2024
@findleyr
Copy link
Contributor

Still a dupe. Removed from the test flakes project.

@findleyr findleyr closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2024
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
None yet
Development

No branches or pull requests

3 participants