Open gopherbot opened 1 month ago
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/vulndb/internal/symbols" && test == "TestPatchedSymbols"
This can be reproduced locally by running the test in the x/vulndb module located in the module cache, rather than a git repository checkout. For example:
$ cd $(mktemp -d)
$ go mod init example
go: creating new go.mod: module example
$ go get -t golang.org/x/vulndb
go: added golang.org/x/vulndb v0.0.0-20240925174358-74aba449dd50
$ go test golang.org/x/vulndb/internal/symbols
--- FAIL: TestPatchedSymbols (0.00s)
patched_functions_test.go:42: lstat testdata/module: no such file or directory
patched_functions_test.go:46: lstat testdata/fixed-module: no such file or directory
patched_functions_test.go:54: (-got, want+):
map[symbols.symKey]bool{
+ {pkg: "golang.org/module", symbol: "Foo"}: true,
+ {pkg: "golang.org/module/internal", symbol: "Bar"}: true,
}
patched_functions_test.go:42: lstat testdata/module: no such file or directory
patched_functions_test.go:46: lstat testdata/fixed-module: no such file or directory
patched_functions_test.go:54: (-got, want+):
map[symbols.symKey]bool{
+ {pkg: "golang.org/nestedmodule", file: "main_linux.go", symbol: "main"}: true,
}
--- FAIL: TestModuleSymbols (0.00s)
patched_functions_test.go:85: lstat testdata/module: no such file or directory
patched_functions_test.go:89: (-got, want+):
map[symbols.symKey]bool{
+ {pkg: "golang.org/module", symbol: "Foo"}: true,
+ {pkg: "golang.org/module", symbol: "main"}: true,
+ {pkg: "golang.org/module/internal", symbol: "Bar"}: true,
}
patched_functions_test.go:85: lstat testdata/module/submodule: no such file or directory
patched_functions_test.go:89: (-got, want+):
map[symbols.symKey]bool{
+ {pkg: "golang.org/nestedmodule", file: "main_linux.go", symbol: "main"}: true,
+ {pkg: "golang.org/nestedmodule", file: "main_windows.go", symbol: "main"}: true,
}
--- FAIL: TestModuleRootAndFiles (0.00s)
patched_functions_test.go:127: lstat testdata/module: no such file or directory
patched_functions_test.go:132: got []; want [bar.go foo.go main.go]
patched_functions_test.go:137: module root: got ; want module
patched_functions_test.go:127: lstat testdata/module: no such file or directory
patched_functions_test.go:132: got []; want [main_linux.go main_windows.go]
patched_functions_test.go:137: module root: got ; want module/submodule
patched_functions_test.go:127: lstat testdata/module: no such file or directory
patched_functions_test.go:127: lstat testdata/module: no such file or directory
--- FAIL: TestModuleRoots (0.00s)
patched_functions_test.go:157: lstat testdata/module: no such file or directory
FAIL
FAIL golang.org/x/vulndb/internal/symbols 0.633s
FAIL
This particular failure wasn't reported by builders until #65267 was resolved. Since it's a pre-existing issue, x/vulndb was opted out in crrev.com/c/5889407.
Issue created automatically to collect these failures.
Example (log):
— watchflakes