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/diagnostics: TestConflictingMainPackageErrors/default failures #70486

Closed
gopherbot opened this issue Nov 21, 2024 · 2 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

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestConflictingMainPackageErrors/default
    diagnostics_test.go:652: waiting on:
        Unmeetable: once "All of:\ncompleted work \"diagnosing opened files\" at least 1 time(s)" is met, must have:
        any diagnostics at the first position (0:0) matching `^` in "x/x.go", with message containing "found packages main (main.go) and x (x.go)"
        any diagnostics at the first position (0:0) matching `^` in "x/main.go", with message containing "found packages main (main.go) and x (x.go)"
        
        err:condition has final verdict Unmeetable
        
        state:
        #### log messages (see RPC logs for full text):
...
[Trace - 18:31:49.844 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-4162441554/TestConflictingMainPackageErrors/default/gopath/src/x/x.go","version":1,"diagnostics":[{"range":{"start":{"line":0,"character":8},"end":{"line":0,"character":9}},"severity":2,"source":"go list","message":"initialization failed: packages.Load error: err: fork/exec /home/swarming/.swarming/w/ir/x/w/goroot/bin/go: bad file descriptor: stderr:"}]}


[Trace - 18:31:49.857 PM] Received notification '$/progress'.
Params: {"token":"6589339574520040141","value":{"kind":"end","message":"Done."}}


#### End Gopls Test Logs for "TestConflictingMainPackageErrors/default"
--- FAIL: TestConflictingMainPackageErrors/default (0.86s)

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

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/diagnostics" && test == "TestConflictingMainPackageErrors/default"
2024-11-20 16:07 x_tools-gotip-netbsd-arm tools@e7517567 go@a311754d x/tools/gopls/internal/test/integration/diagnostics.TestConflictingMainPackageErrors/default (log)
=== RUN   TestConflictingMainPackageErrors/default
    diagnostics_test.go:652: waiting on:
        Unmeetable: once "All of:\ncompleted work \"diagnosing opened files\" at least 1 time(s)" is met, must have:
        any diagnostics at the first position (0:0) matching `^` in "x/x.go", with message containing "found packages main (main.go) and x (x.go)"
        any diagnostics at the first position (0:0) matching `^` in "x/main.go", with message containing "found packages main (main.go) and x (x.go)"
        
        err:condition has final verdict Unmeetable
        
        state:
        #### log messages (see RPC logs for full text):
...
[Trace - 18:31:49.844 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-4162441554/TestConflictingMainPackageErrors/default/gopath/src/x/x.go","version":1,"diagnostics":[{"range":{"start":{"line":0,"character":8},"end":{"line":0,"character":9}},"severity":2,"source":"go list","message":"initialization failed: packages.Load error: err: fork/exec /home/swarming/.swarming/w/ir/x/w/goroot/bin/go: bad file descriptor: stderr:"}]}


[Trace - 18:31:49.857 PM] Received notification '$/progress'.
Params: {"token":"6589339574520040141","value":{"kind":"end","message":"Done."}}


#### End Gopls Test Logs for "TestConflictingMainPackageErrors/default"
--- FAIL: TestConflictingMainPackageErrors/default (0.86s)

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 Nov 21, 2024
@gopherbot gopherbot added this to the Unreleased milestone Nov 21, 2024
@adonovan
Copy link
Member

Dup of #70492

@adonovan adonovan closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 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: Done
Development

No branches or pull requests

2 participants