Repository: go
Issue: x/tools/go/packages: TestLoadImportsGraph/Modules failures
Labels: NeedsInvestigation,Tools

```
#!watchflakes
default <- pkg == "golang.org/x/tools/go/packages" && test == "TestLoadImportsGraph/Modules"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8744060760749961057)):

    === RUN   TestLoadImportsGraph/Modules
    === PAUSE TestLoadImportsGraph/Modules
    === CONT  TestLoadImportsGraph/Modules
        invoke.go:206: starting GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modcache GO111MODULE=off GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/fake go list -e -f {{context.ReleaseTags}} -- unsafe
        invoke.go:206: 56.705674ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modcache GO111MODULE=off GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/fake go list -e -f {{context.ReleaseTags}} -- unsafe
        invoke.go:206: starting GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/fake go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- golang.org/fake/c golang.org/fake/subdir/d golang.org/fake/e
        invoke.go:206: 2.547530624s for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/fake go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- golang.org/fake/c golang.org/fake/subdir/d golang.org/fake/e
        invoke.go:206: starting GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modcache GO111MODULE=off GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/fake go list -e -f {{context.ReleaseTags}} -- unsafe
        invoke.go:206: 186.439887ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modcache GO111MODULE=off GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/fake go list -e -f {{context.ReleaseTags}} -- unsafe
        invoke.go:206: starting GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestLoadImportsGraph_Modules3602186144/fake go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- golang.org/fake/c golang.org/fake/subdir/d golang.org/fake/e
    ...
            a7  0x6d794	s2  0x3f746b1ed0
            s3  0x3f74191c08	s4  0x3f746c6000
            s5  0x3f741d2690	s6  0xffffffff
            s7  0x90445b41	s8  0x3f74041c88
            s9  0x3f746b1fa0	s10 0x6c8168
            s11 0x3f744bc1c0	t3  0x30be4d264921e3
            t4  0xffffffffffffffff	t5  0x9c99ec6bdcf
            t6  0x0	pc  0x56548
            
    --- FAIL: TestLoadImportsGraph/Modules (4.17s)


— [watchflakes](https://go.dev/wiki/Watchflakes)