Skip to content

x/tools/gopls/internal/lsp/cmd/test: TestSignature failures #59895

@gopherbot

Description

@gopherbot
#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/lsp/cmd/test" && test == "TestSignature" && date < "2023-06-01"

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestSignature (12.26s)
    integration_test.go:521: gopls signature a.go:4:15: exited with code 2, want success: true (gopls signature a.go:4:15: exit=2 stdout=<<>> stderr=<<panic: /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/filecache/filecache.go:82: internal error in filecache.Get("export", 776512d931aa3852849cbce8f48f3e56d775c2d86076f95b905cbe57f0a47846): invalid checksum at end of 2418-byte file /Users/gopher/Library/Caches/gopls/b795e6b4/export/77/776512d931aa3852849cbce8f48f3e56d775c2d86076f95b905cbe57f0a47846:
        "f\t\x00\x00\x00\x00\x00\x00\x02\xd6\x06\xe4\x01\a\x00\x85\x01\x97\x01\xa7\x01\xb6\x01\xc6\x01\xd5\x01\xf1\b\x00\x04Info\bFileInfo\x05IsDir\x04Name\x04Type\bFileMode\x04Open\x04name\x04File\x05Close\x04Read\x04Stat\aModTime\x04Time\x04time\x04Mode\x04Size\x03Sys\x04info\bDirEntry\x06String\x01m\tIsRegular\x04Perm\x04fsys\x02FS\apattern\amatches\x03err\x04Glob\x02Op\x04Path\x03Err\x05Error\x01e\tPathError\x06Unwrap\aTimeout\aReadDir\x01n\bReadFile\x03dir\x03Sub\x04root\x02fn\vWalkDirFunc\x04path\x01d /tmp/buildlet/go/src/io/fs/fs.go%/tmp/buildlet/go/src/io/fs/readdir.go\"/tmp/buildlet/go/src/io/fs/glob.go&/tmp/buildlet/go/src/io/fs/readfile.go\"/tmp/buildlet/go/src/io/fs/walk.go\"/tmp/buildlet/go/src/io/fs/stat.go!/tmp/buildlet/go/src/io/fs/sub.go\x02fs\tErrClosed\bErrExist\nErrInvalid\vErrNotExist\rErrPermission\x12FileInfoToDirEntry\x06GlobFS\nModeAppend\x0eModeCharDevice\nModeDevice\aModeDir\rModeExclusive\rModeIrregular\rModeNamedPipe\bModePerm\nModeSetgid\nModeSetuid\nModeSocket\nModeSticky\vModeSymlink\rModeTemporary\bModeType\tReadDirFS\vReadDirFile\nReadFileFS\aSkipDir\x06StatFS\x05SubFS\tValidPath\aWalkDir\x91\x02\xb3I\x82\x026\x14\x83\x05\n\x87\x03\x10\xf7\x05\x1f\xa1\x05\x01\x16\x01\x1a\x01\x1b\x05\x85\x01\x04\x8e\x02\x03K\x04\xa4\x01\b\xdd\x03\a\xb0\x02\x12\xfb\x06\a\xa6\x01\x017\x018\x01:\x01:\n\x94\x03\x01\x1a\x01.\x01W\x01'\x01*\x018\b\xe4\x02\n\xd9\x03\x01E\x01B\x01D\x01R\x01D\x01B\x01H\x01I\x01=\x01=\x01d\x01=\x03\xb0\x01\x02n\x035\x1c\x81\x04\x06\xa9\x01\x05~\x05k\x05\x8a\x01\x01\x18\x01\r\x01\r\x03\x0f\x02Z\x03q\xb2\x02\xad\x0eM\x04\r\xbe\x02\x05\x86\x01\t\xa4\x02,\xcf\a\xd8\x02\x89\x19\x81\x01\x03\v\xf1\x01\x06\x9b\x01\x0f\xd8\x04\xfb\x02\xa0\x0eB\x03\n\xaf\x02\n\x95\x03\v\xc6\x03\xa2\x03\x99$\x81\x01\x03\x0e\xfa\x02.\xf4\x110\xd8\n\xc5\x03\x9d\x06\x1f\x03\a\xdd\x01\x05\x89\x01\a\xd4\x01\xe8\x03\xf5\x1c\x8a\x01\x03\f\xf9\x01\x04^\x11\xea\x06\x00\x06\x00\x00\x1f\x00\b\x00\x00\x04\x01\xcd\x1c\x01\x00\x02\x01\xd5\x1c\x00 \x01\xdf\x1c\x00\x13\x01\xcc\x17\x0f\x00\x01\x01\xd4\x17\x00\x00\x01\x81\x17\x15\x00\x01\x01\x88\x17\x00\x10\x01\xf0\x18\x1a\x00\x01\x01\xf7\x18\x00#T\x01\xf7\x14&V\x01\x81)\x13V\x01\x8d(\x13V\x01\x9e'\x13V\x01\xc7(\x13V\x01\xd5'\x13\x002\x00\b\x00\x00\x01\x01\x8b\b(\x01\x01\x90\b-\x10\x02\x01\x9e\b\x00y\x01\xa4\b\x00\x13\x00T\x01\x88\x05|\x02\x11\b\x00\x00\x03\x01\xee\x137\x00\x01\x01\xf6\x13\x00\x13\x01\xd3\x13=\x01\x01\xd8\x13\x00\x9b\x01\x02\x01\xe1\x13\x00\x01\x01\xe6\x13\x00\x13\x00\x01\xb9\x13B\x00\x02\x01\xc1\x13\x00 \x01\xcb\x13\x00\x13T\x01\xa7\x13\x9d\x01\x00OT\b\x00\x00\x06\x01\x85.\x0f\x00\x01\x01\x8d.\x00\x00\x01\xdb-G\x00\x01\x01\xe5-\x00\xd9\x01\x01\xb4-Y\x00\x01\x01\xbb-\x00#\x01\xaf,\x15\x00\x01\x01\xb6,\x00\x10\x01\xdd,^\x00\x01\x01\xe4,\x00\x05\x01\xbd.c\x00\x01\x01\xc3.\x00\x1fT\x01\x99,\xdc\x01\x00l\x00F\x02\xbc\r\x01\x02\xcf\rg \x01\x02\xde\r\x00\xa9\x02\x00T\x01\xa51\t\x05\x01\xad>u\x01\xa1>|#\x00\x01\x01\xb6>\x00\x10\x01\xaeB\x0f\x01\xa2B|#\x00\x01\x01\xb6B\x00\x00\x01\xd7C~\x01\xcbC|#\x00\x01\x01\xe3C\x00\x00\x01\xd5D\x88\x01\x01\xc9D|#\x00\x01\x01\xdcD\x00#\x01\xc0E\x1a\x01\xb4E|#\x00\x01\x01\xc7E\x00#\x00\x92\x01\x00\x02\x10F\x03\xe9\a\x02\x03\xee\a\x8d\x01\x95\x03\x03\xf7\a\x95\x01\x10\x02\x03\x88\b\x9d\x01\x99\x03\x03\x9a\b\xa5\x01\x13\x00\x02\x10\b\x00\x01\x01\x88\x05\x95\x03\x01\x03\x8d\x03\xa9\x01\x01\x03\x92\x03\x95\x01\x10\x02\x03\xa3\x03\x00\xbc\x03\x03\xad\x03\x00\x13\x00T\x03\xf6\x01\xbe\x03C\x01\xbf5#\x06\xfc@\x00\x00\x00C\x01\xa8:#\x06\xfd \x00\x00C\x01\xdb7#\x06\xfc\x04\x00\x00\x00C\x01\xfa4#\x06\xfc\x80\x00\x00\x00C\x01\x816#\x06\xfc \x00\x00\x00C\x01\xc9;#\x06\xfd\b\x00\x00C\x01\x9d8#\x06\xfc\x02\x00\x00\x00C\x01\xe7=#\x06\xfe\x01\xffC\x01\xeb9#\x06\xfd@\x00\x00C\x01\xae9#\x06\xfd\x80\x00\x00C\x01\xe58#\x06\xfc\x01\x00\x00\x00C\x01\x8c;#\x06\xfd\x10\x00\x00C\x01\x977#\x06\xfc\b\x00\x00\x00C\x01\xc56#\x06\xfc\x10\x00\x00\x00C\x01\xf9<#\x06\xfc\x8f(\x00\x00\a\x00\x03\x01\xd1F\xae\x01\x10\x00\x00\x01\xdeF\xb1\x01\x10\x00\x00\x01\xebF\xb6\x01\x13\x00\x00\x00\xc2\x01\x00\x01\x9f\x05\x01\x9f\x05\x01\x9f\x05T\x01\xbdF\x84\x05\x03\x01\x8dG\xba\x01\x01\xffF\xc0\x01\xa3\x05\x00\x01\x01\x95G\x00\x10\x01\xe7G\xcc\x01\x01\xd9G\xc0\x01\xa6\x05\x00\x01\x01\xf0G\x00\x13\x01\xd8H\xd3\x01\x01\xcaH\xc0\x01\xa9\x05\x00\x01\x01\xe2H\x00\x00\x02\xa9\x02F\x02\xed\x05\x02\x02\xf5\x05\x8d\x01\x95\x03\x02\xfe\x05-\x10\x02\x02\x8c\x06\x00\xec\x05\x02\x98\x06\x00\x13\x00\x02\xa9\x02\b\x00\x01\x01\x88\x05\x95\x03\x01\x02\xc5\x03\xdb\x01\x01\x02\xcd\x03-\x10\x02\x02\xdb\x03\x00\x8d\x06\x02\xe7\x03\x00\x13\x00T\x02\xc3\x02\x90\x06\x02\xa9\x02\b\x00\x01\x01\xa7\x13y\x01\x01\xf8%\xdb\x01\x01\x01\x80&\xe3\x01\x01\x02\x01\x88&\x00\xb7\x06\x01\x94&\x00\x13\x00T\x01\x81\x1f\xba\x06\x02\x11F\x04\x8f\t\x02\x04\x98\t\x8d\x01\x95\x03\x04\xa1\t-\x10\x02\x04\xaf\t\x00\xe1\x06\x04\xb7\t\x00\x13\x00\x02\x11\b\x00\x01\x01\x88\x05\x95\x03\x01\x04\xc5\x05\xe5\x01\x01\x04\xce\x05-\x10\x02\x04\xdc\x05\x00\x81\a\x04\xe4\x05\x00\x13\x00T\x04\xb4\x02\x83\aV\x05\xfe\x02\x13F\x06\xbf\x04\x02\x06\xc4\x04\x8d\x01\x95\x03\x06\xcd\x04-\x10\x02\x06\xdb\x04\x00 \x06\xe5\x04\x00\x13\x00\b\x00\x01\x01\x88\x05\x95\x03\x01\x06\xe7\x02B\x01\x06\xec\x02-\x10\x02\x06\xfa\x02\x00 \x06\x84\x03\x00\x13\x00T\x06\xe2\x01\xcc\aF\a\xc6\t\x02\a\xca\t\x8d\x01\x95\x03\a\xd3\t\xee\x01\x10\x02\a\xe0\t\x00\x95\x03\a\xe4\t\x00\x13\x00\b\x00\x01\x01\x88\x05\x95\x03\x01\a\xd8\x02\xf2\x01\x01\a\xdc\x02\xee\x01\x10\x02\a\xe9\x02\x00\x95\x03\a\xed\x02\x00\x13\x00T\a\xfe\x01\x90\bF\x01\x86\x0e\x01\x01\x90\x0e-\x10\x01\x01\x9d\x0e\x00\x00\x00\x00\xfe\x01\x00F\x05\xcb\x1f\x03\x05\xd3\x1f\x8d\x01\x95\x03\x05\xdc\x1f\xf6\x01\x10\x05\xe9\x1f\xfb\x01\xc9\b\x01\x05\xf9\x1f\x00\x13\x00\x06\x00\x03\x05\x84\x15\x8a\x02\x10\x05\x91\x15\x8f\x02\xa9\x02\x05\x9d\x15\xa5\x01\x13\x01\x05\xa8\x15\x00\x13\x00T\x05\xf3\x14\xed\b\x00\x02\x00\x8a\x04\x00*l;\x8d\x04@\x97\x04E\xa0\x04J\xab\x04O\xb7\x04T\x92\x01v2\xb3\x01\x06\x83\x02\xc5\x04\x8c\x02\x1f\x9e\x02\xa9\x01\xfb\x02\xd8\x04\xc0\x03\xdf\x04\xc6\x03\xea\x04\xd1\x03\xf9\x04\xdb\x03\x84\x05\xe6\x03\x8c\x05\xf1\x03\x9a\x05\xfc\x03\xa8\x05\x86\x04\xb6\x05\x91\x04\xbf\x05\x9a\x04\xca\x05\xa4\x04\xd5\x05\xae\x04\xe0\x05\xb9\x04\xeb\x05\xc3\x04\xf7\x05\xce\x04\x85\x06\xd9\x04\xc2\x01\x8c\x05\xdb\x01\xcf\x05\x8e\x06\x91\x06\x98\x06\xbb\x06\xe5\x01\xc3\x06\xa4\x06\x84\a\xaf\x06\x8a\aB\x8f\a\xb7\x06\xcb\a\xf2\x01\xd1\a\xbe\x06\x92\b\xc4\x06\x98\b\xce\x06\xad\b\xfe\x01\xea\bTT\x00\x00\x00\x00\x00\x00"

        goroutine 747 [running]:
        golang.org/x/tools/gopls/internal/bug.report({0xc002195a80, 0x1a32})
        	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/bug/bug.go:71 +0x479
        golang.org/x/tools/gopls/internal/bug.Errorf({0x100b77a49?, 0x972?}, {0xc001001db0?, 0x4678a4f057be5c90?, 0x100b154e5?})
        	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/bug/bug.go:52 +0x3d
        golang.org/x/tools/gopls/internal/lsp/filecache.Get({0x100b154e5, 0x6}, {0x77, 0x65, 0x12, 0xd9, 0x31, 0xaa, 0x38, 0x52, ...})
        	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/filecache/filecache.go:82 +0x305
        golang.org/x/tools/gopls/internal/lsp/cache.(*typeCheckBatch).getImportPackage(0xc00013c320, {0x100dbfde0, 0xc0008b2210}, {0xc00090ea77, 0x5})
        	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/check.go:456 +0x4b4
        golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).forEachPackageInternal.func1()
        	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/check.go:393 +0x2d
        golang.org/x/sync/errgroup.(*Group).Go.func1()
        	/tmp/buildlet/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x64
        created by golang.org/x/sync/errgroup.(*Group).Go
        	/tmp/buildlet/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:72 +0xa5
        >>)
    integration_test.go:522: gopls signature a.go:4:15: stdout does not match [Println\(a ...]; got <<>>
    integration_test.go:523: gopls signature a.go:4:15: stdout does not match [Println formats using the default formats...]; got <<>>

watchflakes

Metadata

Metadata

Assignees

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