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/misc: TestReferencesInTestVariants/default failures #68689

Open
gopherbot opened this issue Aug 1, 2024 · 1 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.
Milestone

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/misc" && test == "TestReferencesInTestVariants/default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestReferencesInTestVariants/default
    runner.go:250: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/07/31 21:30:47 Created View (#135)\n\tdirecto...
        
...
panic: test timed out after 10m0s
running tests:
	TestReferencesInTestVariants (6s)
	TestReferencesInTestVariants/default (6s)

goroutine 45663 [running]:
testing.(*M).startAlarm.func1()
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
golang.org/x/tools/gopls/internal/cache.(*Snapshot).WorkspaceMetadata(0x4001576360, {0x7ff767e05688?, 0x40027ef0b0?})
	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo4250663394/gopls/internal/cache/snapshot.go:1008 +0x44
golang.org/x/tools/gopls/internal/server.(*server).diagnose(0x40014de780, {0x7ff767e05688, 0x40027eef00}, 0x4001576360)
	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo4250663394/gopls/internal/server/diagnostics.go:379 +0x2fc
golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot(0x7ff767dfc580?, {0x7ff767e056c0, 0x4002798140}, 0x400018eb88?, {0x0, 0x0, 0x0}, 0x0)
	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo4250663394/gopls/internal/server/diagnostics.go:231 +0x224
golang.org/x/tools/gopls/internal/server.(*server).addFolders.func3()
	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo4250663394/gopls/internal/server/general.go:338 +0x54
created by golang.org/x/tools/gopls/internal/server.(*server).addFolders in goroutine 45700
	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo4250663394/gopls/internal/server/general.go:337 +0x680

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

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/misc" && test == "TestReferencesInTestVariants/default"
2024-07-31 20:28 x_tools-go1.21-windows-arm64 tools@ead76ab5 release-branch.go1.21@dabed2e0 x/tools/gopls/internal/test/integration/misc.TestReferencesInTestVariants/default [ABORT] (log)
=== RUN   TestReferencesInTestVariants/default
    runner.go:250: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/07/31 21:30:47 Created View (#135)\n\tdirecto...
        
...
panic: test timed out after 10m0s
running tests:
	TestReferencesInTestVariants (6s)
	TestReferencesInTestVariants/default (6s)

goroutine 45663 [running]:
testing.(*M).startAlarm.func1()
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
golang.org/x/tools/gopls/internal/cache.(*Snapshot).WorkspaceMetadata(0x4001576360, {0x7ff767e05688?, 0x40027ef0b0?})
	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo4250663394/gopls/internal/cache/snapshot.go:1008 +0x44
golang.org/x/tools/gopls/internal/server.(*server).diagnose(0x40014de780, {0x7ff767e05688, 0x40027eef00}, 0x4001576360)
	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo4250663394/gopls/internal/server/diagnostics.go:379 +0x2fc
golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot(0x7ff767dfc580?, {0x7ff767e056c0, 0x4002798140}, 0x400018eb88?, {0x0, 0x0, 0x0}, 0x0)
	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo4250663394/gopls/internal/server/diagnostics.go:231 +0x224
golang.org/x/tools/gopls/internal/server.(*server).addFolders.func3()
	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo4250663394/gopls/internal/server/general.go:338 +0x54
created by golang.org/x/tools/gopls/internal/server.(*server).addFolders in goroutine 45700
	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo4250663394/gopls/internal/server/general.go:337 +0x680

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 Aug 1, 2024
@gopherbot gopherbot added this to the Unreleased milestone Aug 1, 2024
@hyangah hyangah modified the milestones: Unreleased, gopls/v0.17.0 Aug 4, 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
Status: No status
Development

No branches or pull requests

2 participants