go icon indicating copy to clipboard operation
go copied to clipboard

x/tools/gopls/internal/test/marker: Test/*.txt failures

Open gopherbot opened this issue 4 months ago • 11 comments

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test ~ `^Test/.+txt$`

Issue created automatically to collect these failures.

Example (log):

=== RUN   Test/mcptools/workspace_diagnostics_empty.txt
=== PAUSE Test/mcptools/workspace_diagnostics_empty.txt
=== CONT  Test/mcptools/workspace_diagnostics_empty.txt
    marker_test.go:1033: fail to connect to mcp server: Post "http://127.0.0.1:42279/?sessionid=DVBGS7Q4JB465CCM6LYQH3AH2Y": net/http: HTTP/1.x transport connection broken: http: CloseIdleConnections called
--- FAIL: Test/mcptools/workspace_diagnostics_empty.txt (0.45s)

watchflakes

gopherbot avatar Aug 20 '25 20:08 gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test == "Test/mcptools/workspace_diagnostics_empty.txt"
2025-08-20 13:57 x_tools-go1.24-linux-amd64-nocgo tools@52b7d1c5 release-branch.go1.24@fe83d4bc x/tools/gopls/internal/test/marker.Test/mcptools/workspace_diagnostics_empty.txt (log)
=== RUN   Test/mcptools/workspace_diagnostics_empty.txt
=== PAUSE Test/mcptools/workspace_diagnostics_empty.txt
=== CONT  Test/mcptools/workspace_diagnostics_empty.txt
    marker_test.go:1033: fail to connect to mcp server: Post "http://127.0.0.1:42279/?sessionid=DVBGS7Q4JB465CCM6LYQH3AH2Y": net/http: HTTP/1.x transport connection broken: http: CloseIdleConnections called
--- FAIL: Test/mcptools/workspace_diagnostics_empty.txt (0.45s)

watchflakes

gopherbot avatar Aug 20 '25 20:08 gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test == "Test/mcptools/workspace_diagnostics_empty.txt"
2025-09-08 21:01 x_tools-go1.25-linux-arm64-longtest tools@e548c709 release-branch.go1.25@56ebf80e x/tools/gopls/internal/test/marker.Test/mcptools/workspace_diagnostics_empty.txt (log)
=== RUN   Test/mcptools/workspace_diagnostics_empty.txt
=== PAUSE Test/mcptools/workspace_diagnostics_empty.txt
=== CONT  Test/mcptools/workspace_diagnostics_empty.txt
    marker_test.go:2508: go.mod:6:3 (mcptools/workspace_diagnostics_empty.txt:12:3): failed to call mcp tool: calling "tools/call": connection closed
    marker_test.go:2508: go.mod:7:3 (mcptools/workspace_diagnostics_empty.txt:13:3): failed to call mcp tool: calling "tools/call": connection closed
--- FAIL: Test/mcptools/workspace_diagnostics_empty.txt (0.67s)

watchflakes

gopherbot avatar Sep 08 '25 22:09 gopherbot

Widened the pattern here to catch all Test/*.txt failures, otherwise watchflakes defaults to creating too many individual ones. (If their failure modes end up being different, they can be split up as needed.)

dmitshur avatar Nov 27 '25 17:11 dmitshur

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test ~ `^Test/.+txt$`
2025-10-22 17:39 x_tools-gotip-darwin-amd64-race tools@6d92aa4b go@5a42af7f x/tools/gopls/internal/test/marker.Test/completion/unimported.txt [SKIP] (log)
=== RUN   Test/completion/unimported.txt
=== PAUSE Test/completion/unimported.txt
=== CONT  Test/completion/unimported.txt
2025-10-23 19:25 x_tools-gotip-darwin-arm64-race tools@b53508c8 go@dfac9722 x/tools/gopls/internal/test/marker.Test/rename/shadow.txt [SKIP] (log)
=== RUN   Test/rename/shadow.txt
=== PAUSE Test/rename/shadow.txt
=== CONT  Test/rename/shadow.txt
2025-10-24 14:51 x_tools-gotip-darwin-arm64-race tools@5889d2aa go@6ac40051 x/tools/gopls/internal/test/marker.Test/mcptools/context.txt [SKIP] (log)
=== RUN   Test/mcptools/context.txt
=== PAUSE Test/mcptools/context.txt
=== CONT  Test/mcptools/context.txt
2025-10-24 14:51 x_tools-gotip-darwin-arm64-race tools@5889d2aa go@6ac40051 x/tools/gopls/internal/test/marker.Test/mcptools/package_api.txt [SKIP] (log)
=== RUN   Test/mcptools/package_api.txt
=== PAUSE Test/mcptools/package_api.txt
=== CONT  Test/mcptools/package_api.txt
2025-10-24 14:51 x_tools-gotip-darwin-arm64-race tools@5889d2aa go@6ac40051 x/tools/gopls/internal/test/marker.Test/zeroconfig/adhoc.txt [SKIP] (log)
=== RUN   Test/zeroconfig/adhoc.txt
=== PAUSE Test/zeroconfig/adhoc.txt
=== CONT  Test/zeroconfig/adhoc.txt
2025-10-29 12:49 x_tools-gotip-darwin-amd64-race tools@aaa29729 go@041f564b x/tools/gopls/internal/test/marker.Test/completion/func_value.txt (log)
=== RUN   Test/completion/func_value.txt
=== PAUSE Test/completion/func_value.txt
=== CONT  Test/completion/func_value.txt
    marker_test.go:1017: the following condition is Unmeetable:
          once the following is met:
            completed work "diagnosing initial workspace load" 1 time
          must have:
            received no ShowMessage requests
        reason:
          postcondition is not met:
            observed the following message:
              """
              Error loading workspace folders (expected 1, got 0)
              failed to load view for file:///Volumes/Work/s/w/ir/x/t/Testcompletionfunc_value.txt1917912975/001/work: err: signal: segmentation fault: stderr:
              """
--- FAIL: Test/completion/func_value.txt (0.48s)
2025-11-04 14:32 x_tools-gotip-darwin-amd64-race tools@c84854ad go@34fec512 x/tools/gopls/internal/test/marker.Test/completion/deep.txt [SKIP] (log)
=== RUN   Test/completion/deep.txt
=== PAUSE Test/completion/deep.txt
=== CONT  Test/completion/deep.txt
2025-11-04 14:32 x_tools-gotip-darwin-amd64-race tools@c84854ad go@34fec512 x/tools/gopls/internal/test/marker.Test/format/format.txt [SKIP] (log)
=== RUN   Test/format/format.txt
=== PAUSE Test/format/format.txt
=== CONT  Test/format/format.txt
2025-11-04 22:26 x_tools-gotip-darwin-amd64-race tools@b74c0986 go@6914dd11 x/tools/gopls/internal/test/marker.Test/mcptools/context.txt [SKIP] (log)
=== RUN   Test/mcptools/context.txt
=== PAUSE Test/mcptools/context.txt
=== CONT  Test/mcptools/context.txt
2025-11-07 18:25 x_tools-gotip-darwin-arm64-race tools@ca7a362d go@ad3ccd92 x/tools/gopls/internal/test/marker.Test/workspacesymbol/allscope.txt [SKIP] (log)
=== RUN   Test/workspacesymbol/allscope.txt
=== PAUSE Test/workspacesymbol/allscope.txt
=== CONT  Test/workspacesymbol/allscope.txt
2025-11-10 19:52 x_tools-gotip-darwin-amd64-race tools@4cf8d342 go@5241d114 x/tools/gopls/internal/test/marker.Test/codeaction/functionextraction_issue73972.txt (log)
=== RUN   Test/codeaction/functionextraction_issue73972.txt
=== PAUSE Test/codeaction/functionextraction_issue73972.txt
=== CONT  Test/codeaction/functionextraction_issue73972.txt
    marker_test.go:1017: the following condition is Unmeetable:
          once the following is met:
            completed work "diagnosing initial workspace load" 1 time
          must have:
            received no ShowMessage requests
        reason:
          postcondition is not met:
            observed the following message:
              """
              Error loading workspace folders (expected 1, got 0)
              failed to load view for file:///Volumes/Work/s/w/ir/x/t/Testcodeactionfunctionextraction_issue73972.txt1864404877/001/work: err: signal: segmentation fault: stderr:
              """
--- FAIL: Test/codeaction/functionextraction_issue73972.txt (0.67s)
2025-11-10 19:52 x_tools-gotip-darwin-arm64-race tools@86286a9e go@052c192a x/tools/gopls/internal/test/marker.Test/mcptools/file_diagnostics.txt [SKIP] (log)
=== RUN   Test/mcptools/file_diagnostics.txt
=== PAUSE Test/mcptools/file_diagnostics.txt
=== CONT  Test/mcptools/file_diagnostics.txt
2025-11-10 19:52 x_tools-gotip-darwin-arm64-race tools@86286a9e go@052c192a x/tools/gopls/internal/test/marker.Test/quickfix/stubmethods/issue61830.txt [SKIP] (log)
=== RUN   Test/quickfix/stubmethods/issue61830.txt
=== PAUSE Test/quickfix/stubmethods/issue61830.txt
=== CONT  Test/quickfix/stubmethods/issue61830.txt
2025-11-10 19:52 x_tools-gotip-darwin-arm64-race tools@86286a9e go@052c192a x/tools/gopls/internal/test/marker.Test/rename/crosspkg.txt (log)
=== RUN   Test/rename/crosspkg.txt
=== PAUSE Test/rename/crosspkg.txt
=== CONT  Test/rename/crosspkg.txt
    marker_test.go:1898: crosspkg/other/other.go:6:17 (rename/crosspkg.txt:40:17): no diagnostic at crosspkg/other/other.go:6:2-10 (rename/crosspkg.txt:40:2-10) matches "not used"
    marker_test.go:290: go.mod:1:1-34 (rename/crosspkg.txt:4:1-34): unexpected diagnostic: "context deadline exceeded"
    marker_test.go:308: unmeetable expectation:
          once the following is met:
            completed work "diagnosing opened files" at least 4 times
          must have:
            no Error log messages
...
--- FAIL: Test/rename/crosspkg.txt (600.53s)
panic: test timed out after 20m0s
	running tests:
		Test/mcptools/file_diagnostics.txt (18m0s)
		Test/quickfix/stubmethods/issue61830.txt (18m0s)

goroutine 489106 [running]:
testing.(*M).startAlarm.func1()
	/Users/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2795 +0x494
created by time.goFunc
...
github.com/modelcontextprotocol/go-sdk/internal/jsonrpc2.(*Connection).readIncoming(0xc00663a270, {0x102e24478, 0xc0079b5150}, {0x13bfa2a70, 0xc027ff9448}, {0x102e17080, 0xc027ff9458})
	/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/github.com/modelcontextprotocol/[email protected]/internal/jsonrpc2/conn.go:536 +0x58
created by github.com/modelcontextprotocol/go-sdk/internal/jsonrpc2.NewConnection.(*Connection).start.func1 in goroutine 437068
	/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/github.com/modelcontextprotocol/[email protected]/internal/jsonrpc2/conn.go:279 +0x1a4

goroutine 435392 [select]:
golang.org/x/tools/gopls/internal/cache.(*parseCache).gc(0xc01d951630)
	/Users/swarming/.swarming/w/ir/x/w/targetrepo3017235975/gopls/internal/cache/parse_cache.go:261 +0x110
created by golang.org/x/tools/gopls/internal/cache.newParseCache in goroutine 435390
	/Users/swarming/.swarming/w/ir/x/w/targetrepo3017235975/gopls/internal/cache/parse_cache.go:118 +0x16c
2025-11-11 14:25 x_tools-go1.25-openbsd-amd64 tools@44dda2b5 release-branch.go1.25@f2cd93aa x/tools/gopls/internal/test/marker.Test/mcptools/file_diagnostics.txt (log)
=== RUN   Test/mcptools/file_diagnostics.txt
=== PAUSE Test/mcptools/file_diagnostics.txt
=== CONT  Test/mcptools/file_diagnostics.txt
    marker_test.go:1025: fail to connect to mcp server: calling "initialize": Post "http://127.0.0.1:39915/?sessionid=X435JN4YSAT4E55DK4H66J6OIV": net/http: HTTP/1.x transport connection broken: http: CloseIdleConnections called
--- FAIL: Test/mcptools/file_diagnostics.txt (16.78s)
2025-11-11 17:09 x_tools-gotip-darwin-amd64-race tools@edb95876 go@2750f952 x/tools/gopls/internal/test/marker.Test/completion/unimported.txt [SKIP] (log)
=== RUN   Test/completion/unimported.txt
=== PAUSE Test/completion/unimported.txt
=== CONT  Test/completion/unimported.txt
2025-11-11 17:09 x_tools-gotip-darwin-amd64-race tools@c24121c9 go@2750f952 x/tools/gopls/internal/test/marker.Test/configuration/static.txt [SKIP] (log)
=== RUN   Test/configuration/static.txt
=== PAUSE Test/configuration/static.txt
=== CONT  Test/configuration/static.txt
2025-11-13 17:03 x_tools-gotip-darwin-arm64-race tools@5fe2dd89 go@7a372aff x/tools/gopls/internal/test/marker.Test/completion/address.txt [SKIP] (log)
=== RUN   Test/completion/address.txt
=== PAUSE Test/completion/address.txt
=== CONT  Test/completion/address.txt
2025-11-14 16:31 x_tools-gotip-darwin-amd64-race tools@c6ecbb79 go@ddd8558e x/tools/gopls/internal/test/marker.Test/codeaction/moveparam.txt [SKIP] (log)
=== RUN   Test/codeaction/moveparam.txt
=== PAUSE Test/codeaction/moveparam.txt
=== CONT  Test/codeaction/moveparam.txt
2025-11-14 16:31 x_tools-gotip-darwin-amd64-race tools@c6ecbb79 go@ddd8558e x/tools/gopls/internal/test/marker.Test/diagnostics/issue60605.txt (log)
=== RUN   Test/diagnostics/issue60605.txt
=== PAUSE Test/diagnostics/issue60605.txt
=== CONT  Test/diagnostics/issue60605.txt
    marker_test.go:1017: the following condition is Unmeetable:
          once the following is met:
            completed work "diagnosing initial workspace load" 1 time
          must have:
            received no ShowMessage requests
        reason:
          postcondition is not met:
            observed the following message:
              """
              Error loading workspace folders (expected 1, got 0)
              failed to load view for file:///Volumes/Work/s/w/ir/x/t/Testdiagnosticsissue60605.txt1002502827/001/work: err: signal: segmentation fault: stderr:
              """
--- FAIL: Test/diagnostics/issue60605.txt (1.32s)
2025-11-19 23:41 x_tools-gotip-darwin-arm64-race tools@488d49ef go@2239520d x/tools/gopls/internal/test/marker.Test/workfile/godebug.txt [SKIP] (log)
=== RUN   Test/workfile/godebug.txt
=== PAUSE Test/workfile/godebug.txt
=== CONT  Test/workfile/godebug.txt
2025-11-20 14:38 x_tools-gotip-darwin-arm64-race tools@855ec1bb go@c4bb9653 x/tools/gopls/internal/test/marker.Test/codeaction/removeparam_imports.txt (log)
=== RUN   Test/codeaction/removeparam_imports.txt
=== PAUSE Test/codeaction/removeparam_imports.txt
=== CONT  Test/codeaction/removeparam_imports.txt
    wrappers.go:634: cleaning up sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: ): signal: segmentation fault; removing files: <nil>
--- FAIL: Test/codeaction/removeparam_imports.txt (0.97s)
2025-11-20 14:38 x_tools-gotip-darwin-arm64-race tools@855ec1bb go@c4bb9653 x/tools/gopls/internal/test/marker.Test/completion/fuzzy.txt (log)
=== RUN   Test/completion/fuzzy.txt
=== PAUSE Test/completion/fuzzy.txt
=== CONT  Test/completion/fuzzy.txt
    wrappers.go:634: cleaning up sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: ): signal: segmentation fault; removing files: <nil>
--- FAIL: Test/completion/fuzzy.txt (0.86s)
2025-11-20 15:53 x_tools-gotip-darwin-amd64-race tools@c07802bc go@4b0e3cc1 x/tools/gopls/internal/test/marker.Test/definition/asm.txt [SKIP] (log)
=== RUN   Test/definition/asm.txt
=== PAUSE Test/definition/asm.txt
=== CONT  Test/definition/asm.txt

watchflakes

gopherbot avatar Nov 27 '25 17:11 gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test ~ `^Test/.+txt$`
2025-11-27 00:02 x_tools-gotip-darwin-amd64-race tools@92a09499 go@08bf23cb x/tools/gopls/internal/test/marker.Test/completion/address.txt (log)
=== RUN   Test/completion/address.txt
=== PAUSE Test/completion/address.txt
=== CONT  Test/completion/address.txt
    wrappers.go:634: cleaning up sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: ): signal: segmentation fault; removing files: <nil>
--- FAIL: Test/completion/address.txt (7.55s)

watchflakes

gopherbot avatar Nov 28 '25 16:11 gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test ~ `^Test/.+txt$`
2025-11-28 22:10 x_tools-gotip-darwin-amd64-race tools@4a3f2f81 go@0c69e773 x/tools/gopls/internal/test/marker.Test/configuration/static.txt (log)
=== RUN   Test/configuration/static.txt
=== PAUSE Test/configuration/static.txt
=== CONT  Test/configuration/static.txt
    marker_test.go:1017: the following condition is Unmeetable:
          once the following is met:
            completed work "diagnosing initial workspace load" 1 time
          must have:
            received no ShowMessage requests
        reason:
          postcondition is not met:
            observed the following message:
              """
              Error loading workspace folders (expected 1, got 0)
              failed to load view for file:///Volumes/Work/s/w/ir/x/t/Testconfigurationstatic.txt3806767500/001/work: err: signal: segmentation fault: stderr:
              """
--- FAIL: Test/configuration/static.txt (0.33s)

watchflakes

gopherbot avatar Nov 30 '25 23:11 gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test ~ `^Test/.+txt$`
2025-12-01 17:57 x_tools-gotip-darwin-arm64-race tools@869ced31 go@ac3e0ae5 x/tools/gopls/internal/test/marker.Test/completion/danglingstmt.txt (log)
=== RUN   Test/completion/danglingstmt.txt
=== PAUSE Test/completion/danglingstmt.txt
=== CONT  Test/completion/danglingstmt.txt
    wrappers.go:634: cleaning up sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: ): signal: segmentation fault; removing files: <nil>
--- FAIL: Test/completion/danglingstmt.txt (1.04s)

watchflakes

gopherbot avatar Dec 01 '25 21:12 gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test ~ `^Test/.+txt$`
2025-12-01 17:57 x_tools-gotip-darwin-amd64-race tools@869ced31 go@ac3e0ae5 x/tools/gopls/internal/test/marker.Test/quickfix/stubmethods/fromcall_returns.txt (log)
=== RUN   Test/quickfix/stubmethods/fromcall_returns.txt
=== PAUSE Test/quickfix/stubmethods/fromcall_returns.txt
=== CONT  Test/quickfix/stubmethods/fromcall_returns.txt
    marker_test.go:1017: the following condition is Unmeetable:
          once the following is met:
            completed work "diagnosing initial workspace load" 1 time
          must have:
            received no ShowMessage requests
        reason:
          postcondition is not met:
            observed the following message:
              """
              Error loading workspace folders (expected 1, got 0)
              failed to load view for file:///Volumes/Work/s/w/ir/x/t/Testquickfixstubmethodsfromcall_returns.txt457973649/001/work: err: signal: segmentation fault: stderr:
              """
--- FAIL: Test/quickfix/stubmethods/fromcall_returns.txt (2.01s)

watchflakes

gopherbot avatar Dec 01 '25 22:12 gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test ~ `^Test/.+txt$`
2025-12-02 16:41 x_tools-gotip-darwin-amd64-race tools@d1bcb8b1 go@509ddf38 x/tools/gopls/internal/test/marker.Test/codeaction/extract_variable_all.txt (log)
=== RUN   Test/codeaction/extract_variable_all.txt
=== PAUSE Test/codeaction/extract_variable_all.txt
=== CONT  Test/codeaction/extract_variable_all.txt
    marker_test.go:1017: the following condition is Unmeetable:
          once the following is met:
            completed work "diagnosing initial workspace load" 1 time
          must have:
            received no ShowMessage requests
        reason:
          postcondition is not met:
            observed the following message:
              """
              Error loading workspace folders (expected 1, got 0)
              failed to load view for file:///Volumes/Work/s/w/ir/x/t/Testcodeactionextract_variable_all.txt356932355/001/work: err: signal: segmentation fault: stderr:
              """
--- FAIL: Test/codeaction/extract_variable_all.txt (0.27s)

watchflakes

gopherbot avatar Dec 03 '25 05:12 gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test ~ `^Test/.+txt$`
2025-12-04 19:56 x_tools-gotip-darwin-amd64-race tools@91192559 go@1681c3b6 x/tools/gopls/internal/test/marker.Test/typedef/typedef.txt [SKIP] (log)
=== RUN   Test/typedef/typedef.txt
=== PAUSE Test/typedef/typedef.txt
=== CONT  Test/typedef/typedef.txt

watchflakes

gopherbot avatar Dec 05 '25 00:12 gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test ~ `^Test/.+txt$`
2025-12-08 22:22 x_tools-go1.26-darwin-amd64-race tools@36bb3456 release-branch.go1.26@6b694d01 x/tools/gopls/internal/test/marker.Test/rename/generics.txt [SKIP] (log)
=== RUN   Test/rename/generics.txt
=== PAUSE Test/rename/generics.txt
=== CONT  Test/rename/generics.txt

watchflakes

gopherbot avatar Dec 09 '25 00:12 gopherbot