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/test: TestDiagnosticErrorInNewFile failures #57872

Closed
gopherbot opened this issue Jan 18, 2023 · 3 comments
Closed

x/tools/gopls/test: TestDiagnosticErrorInNewFile failures #57872

gopherbot opened this issue Jan 18, 2023 · 3 comments
Labels
FrozenDueToAge 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

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == "TestDiagnosticErrorInNewFile"

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestDiagnosticErrorInNewFile (28.17s)
    --- FAIL: TestDiagnosticErrorInNewFile/default (28.17s)
        diagnostics_test.go:91: waiting on:
            Unmet: any diagnostics at the first position matching `"abc` in "broken.go"

            err:context deadline exceeded

            state:
            #### log messages (see RPC logs for full text):
            	Info: "2023/01/17 22:34:42 go info for /ramdisk8GB/workdi...
...

[Trace - 22:35:11.130 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///ramdisk8GB/workdir-host-aix-ppc64-osuosl/tmp/gopls-regtest-3061496503/TestDiagnosticClearingOnEdit/default/work/b.go","version":1,"diagnostics":[]}


[Trace - 22:35:11.131 PM] Received notification '$/progress'.
Params: {"token":"2244862336276782702","value":{"kind":"end","message":"Done."}}


#### End Gopls Test Logs for "TestDiagnosticClearingOnEdit/default"

watchflakes

@gopherbot gopherbot added 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. gopls Issues related to the Go language server, gopls. labels Jan 18, 2023
@gopherbot gopherbot added this to the Unreleased milestone Jan 18, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == "TestDiagnosticErrorInNewFile"
2023-01-18 02:12 aix-ppc64 tools@5bedd861 go@7026a8a1 x/tools/gopls/test.TestDiagnosticErrorInNewFile (log)
--- FAIL: TestDiagnosticErrorInNewFile (28.17s)
    --- FAIL: TestDiagnosticErrorInNewFile/default (28.17s)
        diagnostics_test.go:91: waiting on:
            Unmet: any diagnostics at the first position matching `"abc` in "broken.go"

            err:context deadline exceeded

            state:
            #### log messages (see RPC logs for full text):
            	Info: "2023/01/17 22:34:42 go info for /ramdisk8GB/workdi...
...

[Trace - 22:35:11.130 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///ramdisk8GB/workdir-host-aix-ppc64-osuosl/tmp/gopls-regtest-3061496503/TestDiagnosticClearingOnEdit/default/work/b.go","version":1,"diagnostics":[]}


[Trace - 22:35:11.131 PM] Received notification '$/progress'.
Params: {"token":"2244862336276782702","value":{"kind":"end","message":"Done."}}


#### End Gopls Test Logs for "TestDiagnosticClearingOnEdit/default"

watchflakes

@findleyr
Copy link
Contributor

Dupe of #57900.

@findleyr findleyr closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2023
@gopherbot gopherbot reopened this Jan 25, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == "TestDiagnosticErrorInNewFile"
2023-01-17 18:50 aix-ppc64 tools@d958e854 go@dbe327a6 x/tools/gopls/test.TestDiagnosticErrorInNewFile (log)
--- FAIL: TestDiagnosticErrorInNewFile (28.12s)
    --- FAIL: TestDiagnosticErrorInNewFile/default (28.12s)
        diagnostics_test.go:91: waiting on:
            Unmet: any diagnostics at the first position matching `"abc` in "broken.go"

            err:context deadline exceeded

            state:
            #### log messages (see RPC logs for full text):
            	Info: "2023/01/18 03:09:58 go info for /ramdisk8GB/workdi...
...
panic: test timed out after 10m0s
running tests:
	TestDiagnosticClearingOnEdit (1s)
	TestDiagnosticClearingOnEdit/default (1s)

goroutine 4748 [running]:
testing.(*M).startAlarm.func1()
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/testing/testing.go:2241 +0x34c
created by time.goFunc
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/time/sleep.go:176 +0x58
2023-01-17 18:50 aix-ppc64 tools@d958e854 go@f773bef9 x/tools/gopls/test.TestDiagnosticErrorInNewFile (log)
--- FAIL: TestDiagnosticErrorInNewFile (28.19s)
    --- FAIL: TestDiagnosticErrorInNewFile/default (28.19s)
        diagnostics_test.go:91: waiting on:
            Unmet: any diagnostics at the first position matching `"abc` in "broken.go"

            err:context deadline exceeded

            state:
            #### log messages (see RPC logs for full text):
            	Info: "2023/01/18 04:40:47 go info for /ramdisk8GB/workdi...
...
panic: test timed out after 10m0s
running tests:
	TestDiagnosticClearingOnEdit (1s)
	TestDiagnosticClearingOnEdit/default (1s)

goroutine 5219 [running]:
testing.(*M).startAlarm.func1()
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/testing/testing.go:2241 +0x34c
created by time.goFunc
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/time/sleep.go:176 +0x58

goroutine 4961 [running]:
	goroutine running on other thread; stack unavailable
created by testing.(*T).Run
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/testing/testing.go:1629 +0x40c
2023-01-18 02:12 aix-ppc64 tools@5bedd861 go@581603cb x/tools/gopls/test.TestDiagnosticErrorInNewFile (log)
--- FAIL: TestDiagnosticErrorInNewFile (28.03s)
    --- FAIL: TestDiagnosticErrorInNewFile/default (28.03s)
        diagnostics_test.go:91: waiting on:
            Unmet: any diagnostics at the first position matching `"abc` in "broken.go"

            err:context deadline exceeded

            state:
            #### log messages (see RPC logs for full text):
            	Info: "2023/01/17 22:19:48 go info for /ramdisk8GB/workdi...
...


#### End Gopls Test Logs for "TestDiagnosticClearingOnEdit/default"
panic: test timed out after 10m0s

goroutine 4709 [running]:
testing.(*M).startAlarm.func1()
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/testing/testing.go:2029 +0xa0
created by time.goFunc
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/time/sleep.go:176 +0x58
2023-01-18 14:54 aix-ppc64 tools@f0e2d5c5 go@7026a8a1 x/tools/gopls/test.TestDiagnosticErrorInNewFile (log)
--- FAIL: TestDiagnosticErrorInNewFile (28.13s)
    --- FAIL: TestDiagnosticErrorInNewFile/default (28.13s)
        diagnostics_test.go:91: waiting on:
            Unmet: any diagnostics at the first position matching `"abc` in "broken.go"

            err:context deadline exceeded

            state:
            #### log messages (see RPC logs for full text):
            	Info: "2023/01/18 10:01:28 go info for /ramdisk8GB/workdi...
...
panic: test timed out after 10m0s
running tests:
	TestDiagnosticClearingOnEdit (1s)
	TestDiagnosticClearingOnEdit/default (1s)

goroutine 5017 [running]:
testing.(*M).startAlarm.func1()
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/testing/testing.go:2241 +0x34c
created by time.goFunc
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/time/sleep.go:176 +0x58
2023-01-18 14:59 aix-ppc64 tools@957bec5a go@7026a8a1 x/tools/gopls/test.TestDiagnosticErrorInNewFile (log)
--- FAIL: TestDiagnosticErrorInNewFile (28.12s)
    --- FAIL: TestDiagnosticErrorInNewFile/default (28.12s)
        diagnostics_test.go:91: waiting on:
            Unmet: any diagnostics at the first position matching `"abc` in "broken.go"

            err:context deadline exceeded

            state:
            #### log messages (see RPC logs for full text):
            	Info: "2023/01/18 10:16:22 go info for /ramdisk8GB/workdi...
...
panic: test timed out after 10m0s
running tests:
	TestDiagnosticClearingOnEdit (1s)
	TestDiagnosticClearingOnEdit/default (1s)

goroutine 4607 [running]:
testing.(*M).startAlarm.func1()
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/testing/testing.go:2241 +0x34c
created by time.goFunc
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/time/sleep.go:176 +0x58
2023-01-18 15:15 aix-ppc64 tools@2fa6ca1e go@7026a8a1 x/tools/gopls/test.TestDiagnosticErrorInNewFile (log)
--- FAIL: TestDiagnosticErrorInNewFile (28.15s)
    --- FAIL: TestDiagnosticErrorInNewFile/default (28.15s)
        diagnostics_test.go:91: waiting on:
            Unmet: any diagnostics at the first position matching `"abc` in "broken.go"

            err:context deadline exceeded

            state:
            #### log messages (see RPC logs for full text):
            	Info: "2023/01/18 10:31:14 go info for /ramdisk8GB/workdi...
...
panic: test timed out after 10m0s
running tests:
	TestDiagnosticClearingOnEdit (1s)
	TestDiagnosticClearingOnEdit/default (1s)

goroutine 4661 [running]:
testing.(*M).startAlarm.func1()
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/testing/testing.go:2241 +0x34c
created by time.goFunc
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/time/sleep.go:176 +0x58

watchflakes

@golang golang locked and limited conversation to collaborators Jan 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge 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