Skip to content

x/tools/gopls/test: TestClearAnalysisDiagnostics failures #57890

Closed
@gopherbot

Description

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

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestClearAnalysisDiagnostics (1.61s)
    --- FAIL: TestClearAnalysisDiagnostics/default (1.61s)
        env.go:322: 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 matching `fmt.Print` in "pkg/main2.go"

            err:condition has final verdict Unmeetable

            state:
            #### log messages (see RPC logs for full text):
...

[Trace - 22:26:12.292 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///ramdisk8GB/workdir-host-aix-ppc64-osuosl/tmp/gopls-regtest-1628532372/TestChangeTestVariant_Issue52500/default/work/main_test.go","diagnostics":[{"range":{"start":{"line":4,"character":18},"end":{"line":4,"character":28}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: otherConst"}]}


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


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

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions