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

cmd/api: test particularly slow in wsl2 #65670

Open
qiulaidongfeng opened this issue Feb 12, 2024 · 4 comments · May be fixed by #66613
Open

cmd/api: test particularly slow in wsl2 #65670

qiulaidongfeng opened this issue Feb 12, 2024 · 4 comments · May be fixed by #66613
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. ToolSpeed

Comments

@qiulaidongfeng
Copy link
Contributor

Go version

go version devel go1.23-628b1015b97 Mon Feb 12 07:15:06 2024 +0000 linux/amd64

Output of go env in your module/workspace:

GO111MODULE='auto'
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/qiulaidongfeng/.cache/go-build'
GOENV='/home/qiulaidongfeng/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/qiulaidongfeng/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/qiulaidongfeng/go'
GOPRIVATE=''
GOPROXY='https://goproxy.cn,direct'
GOROOT='/mnt/d/file/gofile/gogit/go1'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/mnt/d/file/gofile/gogit/go1/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='devel go1.23-628b1015b97 Mon Feb 12 07:15:06 2024 +0000'
GCCGO='gccgo'
GOAMD64='v3'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/mnt/d/file/gofile/gogit/go1/src/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3296680104=/tmp/go-build -gno-record-gcc-switches'

What did you do?

in wsl2

./all.bash

What did you see happen?

The test time is not too slow compared to windows.

What did you expect to see?

ok cmd/api 971.468s

API check

ok cmd/api 763.277s

in

./all.bash
Building Go cmd/dist using /usr/lib/go-1.21. (go1.21.6 linux/amd64)
Building Go toolchain1 using /usr/lib/go-1.21.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for linux/amd64.

##### Test execution environment.
# GOARCH: amd64
# CPU: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
# GOOS: linux
# OS Version: Linux 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64

##### Testing packages.
ok      archive/tar     0.359s
ok      archive/zip     0.381s
ok      bufio   0.043s
ok      bytes   0.095s
ok      cmp     0.007s
ok      compress/bzip2  0.071s
ok      compress/flate  0.437s
ok      compress/gzip   0.620s
ok      compress/lzw    0.016s
ok      compress/zlib   0.047s
ok      container/heap  0.005s
ok      container/list  0.004s
ok      container/ring  0.003s
ok      context 0.023s
ok      crypto  0.002s
ok      crypto/aes      0.014s
ok      crypto/cipher   0.009s
ok      crypto/des      0.009s
ok      crypto/dsa      0.006s
ok      crypto/ecdh     0.033s
ok      crypto/ecdsa    0.022s
ok      crypto/ed25519  0.057s
ok      crypto/elliptic 0.009s
ok      crypto/hmac     0.009s
ok      crypto/internal/alias   0.017s
ok      crypto/internal/bigmod  0.044s
ok      crypto/internal/boring  0.005s
ok      crypto/internal/boring/bcache   0.047s
ok      crypto/internal/edwards25519    0.050s
ok      crypto/internal/edwards25519/field      0.022s
ok      crypto/internal/nistec  0.150s
ok      crypto/internal/nistec/fiat     0.005s [no tests to run]
ok      crypto/md5      0.033s
ok      crypto/rand     0.049s
ok      crypto/rc4      0.022s
ok      crypto/rsa      0.217s
ok      crypto/sha1     0.042s
ok      crypto/sha256   0.003s
ok      crypto/sha512   0.031s
ok      crypto/subtle   0.048s
ok      crypto/tls      0.934s
ok      crypto/x509     0.233s
ok      database/sql    0.480s
ok      database/sql/driver     0.007s
ok      debug/buildinfo 0.009s
ok      debug/dwarf     1.348s
ok      debug/elf       0.429s
ok      debug/gosym     5.606s
ok      debug/macho     0.141s
ok      debug/pe        1.211s
ok      debug/plan9obj  0.015s
ok      embed   0.006s [no tests to run]
ok      embed/internal/embedtest        0.012s
ok      encoding/ascii85        0.007s
ok      encoding/asn1   0.007s
ok      encoding/base32 0.013s
ok      encoding/base64 0.020s
ok      encoding/binary 0.010s
ok      encoding/csv    0.010s
ok      encoding/gob    1.107s
ok      encoding/hex    0.010s
ok      encoding/json   0.188s
ok      encoding/pem    0.417s
ok      encoding/xml    0.116s
ok      errors  0.034s
ok      expvar  0.027s
ok      flag    0.077s
ok      fmt     0.041s
ok      go/ast  0.008s
ok      go/build        17.022s
ok      go/build/constraint     0.016s
ok      go/constant     0.012s
ok      go/doc  1.084s
ok      go/doc/comment  47.034s
ok      go/format       0.020s
ok      go/importer     8.535s
ok      go/internal/gccgoimporter       0.360s
ok      go/internal/gcimporter  52.504s
ok      go/internal/srcimporter 112.183s
ok      go/parser       0.501s
ok      go/printer      0.115s
ok      go/scanner      0.007s
ok      go/token        0.011s
ok      go/types        335.395s
ok      go/version      0.005s
ok      hash    0.004s
ok      hash/adler32    0.008s
ok      hash/crc32      0.008s
ok      hash/crc64      0.006s
ok      hash/fnv        0.006s
ok      hash/maphash    0.042s
ok      html    0.003s
ok      html/template   0.120s
ok      image   0.140s
ok      image/color     0.014s
ok      image/draw      0.056s
ok      image/gif       0.130s
ok      image/jpeg      0.230s
ok      image/png       0.361s
ok      index/suffixarray       0.093s
ok      internal/abi    1.620s
ok      internal/buildcfg       0.004s
ok      internal/chacha8rand    0.006s
ok      internal/coverage/cformat       0.024s
ok      internal/coverage/cmerge        0.007s
ok      internal/coverage/pods  0.007s
ok      internal/coverage/slicereader   0.006s
ok      internal/coverage/slicewriter   0.005s
ok      internal/coverage/test  0.009s
ok      internal/cpu    0.008s
ok      internal/dag    0.006s
ok      internal/diff   0.097s
ok      internal/fmtsort        0.005s
ok      internal/fuzz   0.011s
ok      internal/godebug        4.341s
ok      internal/godebugs       0.014s
ok      internal/gover  0.006s
ok      internal/intern 0.089s
ok      internal/itoa   0.006s
ok      internal/platform       4.020s
ok      internal/poll   0.178s
ok      internal/profile        0.010s
ok      internal/reflectlite    0.010s
ok      internal/safefilepath   0.009s
ok      internal/saferio        0.019s
ok      internal/singleflight   0.021s
ok      internal/testenv        4.780s
ok      internal/trace  0.343s
ok      internal/trace/v2       51.291s
ok      internal/types/errors   12.088s
ok      internal/unsafeheader   0.009s
ok      internal/xcoff  1.278s
ok      internal/zstd   0.391s
ok      io      0.027s
ok      io/fs   0.188s
ok      io/ioutil       0.039s
ok      log     0.003s
ok      log/slog        0.023s
ok      log/slog/internal/benchmarks    0.015s
ok      log/slog/internal/buffer        0.014s
ok      log/syslog      1.224s
ok      maps    0.024s
ok      math    0.009s
ok      math/big        0.495s
ok      math/bits       0.006s
ok      math/cmplx      0.005s
ok      math/rand       0.059s
ok      math/rand/v2    0.132s
ok      mime    0.066s
ok      mime/multipart  0.358s
ok      mime/quotedprintable    0.040s
ok      net     2.992s
ok      net/http        10.325s
ok      net/http/cgi    0.075s
ok      net/http/cookiejar      0.008s
ok      net/http/fcgi   0.207s
ok      net/http/httptest       0.023s
ok      net/http/httptrace      0.005s
ok      net/http/httputil       0.552s
ok      net/http/internal       0.094s
ok      net/http/internal/ascii 0.005s
ok      net/http/pprof  5.059s
ok      net/internal/cgotest    0.005s
ok      net/internal/socktest   0.006s
ok      net/mail        0.007s
ok      net/netip       4.169s
ok      net/rpc 0.026s
ok      net/rpc/jsonrpc 0.012s
ok      net/smtp        0.023s
ok      net/textproto   0.037s
ok      net/url 0.011s
ok      os      5.989s
ok      os/exec 1.049s
ok      os/exec/internal/fdtest 0.010s
ok      os/signal       5.249s
ok      os/user 0.008s
ok      path    0.004s
ok      path/filepath   0.418s
ok      plugin  0.009s
ok      reflect 0.185s
ok      regexp  0.320s
ok      regexp/syntax   0.488s
ok      runtime 183.389s
ok      runtime/cgo     0.006s
ok      runtime/coverage        0.006s
ok      runtime/debug   0.077s
ok      runtime/internal/atomic 0.027s
ok      runtime/internal/math   0.015s
ok      runtime/internal/sys    0.005s
ok      runtime/internal/syscall        0.006s
ok      runtime/internal/wasitest       0.006s
ok      runtime/metrics 0.014s
ok      runtime/pprof   16.108s
ok      runtime/trace   0.254s
ok      slices  0.065s
ok      sort    0.049s
ok      strconv 0.245s
ok      strings 0.071s
ok      sync    0.307s
ok      sync/atomic     0.674s
ok      syscall 9.768s
ok      testing 0.604s
ok      testing/fstest  0.008s
ok      testing/iotest  0.006s
ok      testing/quick   0.023s
ok      testing/slogtest        0.007s
ok      text/scanner    0.009s
ok      text/tabwriter  0.008s
ok      text/template   0.104s
ok      text/template/parse     0.010s
ok      time    1.624s
ok      unicode 0.005s
ok      unicode/utf16   0.005s
ok      unicode/utf8    0.007s
ok      cmd/addr2line   5.074s
ok      cmd/api 971.468s
ok      cmd/asm/internal/asm    3.578s
ok      cmd/asm/internal/lex    0.035s
ok      cmd/cgo/internal/swig   0.254s
ok      cmd/cgo/internal/test   0.743s
ok      cmd/cgo/internal/testcarchive   0.007s
ok      cmd/cgo/internal/testcshared    0.007s
ok      cmd/cgo/internal/testerrors     123.853s
ok      cmd/cgo/internal/testfortran    0.188s
ok      cmd/cgo/internal/testgodefs     8.052s
ok      cmd/cgo/internal/testlife       6.360s
ok      cmd/cgo/internal/testnocgo      0.006s
ok      cmd/cgo/internal/testplugin     0.007s
ok      cmd/cgo/internal/testsanitizers 124.615s
ok      cmd/cgo/internal/testshared     0.006s
ok      cmd/cgo/internal/testso 20.044s
ok      cmd/cgo/internal/teststdio      25.692s
ok      cmd/cgo/internal/testtls        0.008s
ok      cmd/compile/internal/abt        0.010s
ok      cmd/compile/internal/amd64      1.873s
ok      cmd/compile/internal/base       0.006s
ok      cmd/compile/internal/compare    0.007s
ok      cmd/compile/internal/devirtualize       0.008s
ok      cmd/compile/internal/dwarfgen   5.808s
ok      cmd/compile/internal/importer   113.393s
ok      cmd/compile/internal/inline/inlheur     19.208s
ok      cmd/compile/internal/ir 0.016s
ok      cmd/compile/internal/logopt     3.934s
ok      cmd/compile/internal/loopvar    373.680s
ok      cmd/compile/internal/noder      0.008s
ok      cmd/compile/internal/reflectdata        0.007s [no tests to run]
ok      cmd/compile/internal/ssa        212.648s
ok      cmd/compile/internal/syntax     1.021s
ok      cmd/compile/internal/test       83.925s
ok      cmd/compile/internal/typecheck  8.976s
ok      cmd/compile/internal/types      0.006s
ok      cmd/compile/internal/types2     375.294s
ok      cmd/covdata     0.108s
ok      cmd/cover       21.313s
ok      cmd/dist        0.007s
ok      cmd/distpack    0.007s
ok      cmd/doc 48.289s
ok      cmd/fix 2.779s
ok      cmd/go  404.929s
ok      cmd/go/internal/auth    0.014s
ok      cmd/go/internal/cache   0.153s
ok      cmd/go/internal/cfg     0.019s [no tests to run]
ok      cmd/go/internal/envcmd  0.100s
ok      cmd/go/internal/fsys    0.165s
ok      cmd/go/internal/generate        0.153s
ok      cmd/go/internal/gover   0.018s
ok      cmd/go/internal/imports 0.892s
ok      cmd/go/internal/load    0.011s
ok      cmd/go/internal/lockedfile      0.051s
ok      cmd/go/internal/lockedfile/internal/filelock    0.070s
ok      cmd/go/internal/modfetch        0.021s
ok      cmd/go/internal/modfetch/codehost       0.832s
ok      cmd/go/internal/modfetch/zip_sum_test   0.026s
ok      cmd/go/internal/modindex        37.210s
ok      cmd/go/internal/modload 0.011s
ok      cmd/go/internal/mvs     0.011s
ok      cmd/go/internal/par     0.030s
ok      cmd/go/internal/str     0.030s
ok      cmd/go/internal/test    1.286s
ok      cmd/go/internal/toolchain       0.115s
ok      cmd/go/internal/vcs     0.017s
ok      cmd/go/internal/vcweb   0.021s
ok      cmd/go/internal/vcweb/vcstest   2.022s
ok      cmd/go/internal/web     0.060s
ok      cmd/go/internal/work    0.298s
ok      cmd/gofmt       5.579s
ok      cmd/internal/archive    49.621s
ok      cmd/internal/bootstrap_test     0.013s
ok      cmd/internal/buildid    0.185s
ok      cmd/internal/cov        31.088s
ok      cmd/internal/dwarf      0.019s
ok      cmd/internal/edit       0.018s
ok      cmd/internal/goobj      0.040s
ok      cmd/internal/moddeps    360.735s
ok      cmd/internal/notsha256  0.014s
ok      cmd/internal/obj        20.070s
ok      cmd/internal/obj/ppc64  4.200s
ok      cmd/internal/obj/riscv  2.641s
ok      cmd/internal/obj/s390x  0.022s
ok      cmd/internal/obj/x86    16.308s
ok      cmd/internal/objabi     26.070s
ok      cmd/internal/pkgpath    0.031s
ok      cmd/internal/pkgpattern 0.017s
ok      cmd/internal/quoted     0.014s
ok      cmd/internal/src        0.017s
ok      cmd/internal/test2json  0.980s
ok      cmd/link        111.197s
ok      cmd/link/internal/benchmark     0.016s
ok      cmd/link/internal/ld    70.432s
ok      cmd/link/internal/loader        0.033s
ok      cmd/nm  34.282s
ok      cmd/objdump     77.020s
ok      cmd/pack        50.569s
ok      cmd/pprof       25.333s
ok      cmd/relnote     0.031s
ok      cmd/trace       0.030s
ok      cmd/trace/v2    0.266s
ok      cmd/vet 51.575s

##### os/user with tag osusergo
ok      os/user 0.006s

##### hash/maphash purego implementation
ok      hash/maphash    0.044s

##### GOMAXPROCS=2 runtime -cpu=1,2,4 -quick
ok      runtime 27.821s

##### GOEXPERIMENT=rangefunc go test iter
ok      iter    0.002s

##### Testing without libgcc.
ok      net     0.007s
ok      os/user 0.005s

##### internal linking of -buildmode=pie
ok      reflect 0.076s
ok      os/user 0.005s

##### sync -cpu=10
ok      sync    0.307s

##### Testing race detector
ok      runtime/race    36.983s
ok      flag    1.011s
ok      net     1.088s
ok      os      1.089s
ok      os/exec 2.024s
ok      encoding/gob    1.022s
ok      flag    1.010s
ok      os/exec 2.020s

##### Testing cgo
ok      cmd/cgo/internal/test   0.700s
ok      cmd/cgo/internal/test   0.697s
ok      cmd/cgo/internal/testtls        0.005s
ok      cmd/cgo/internal/testtls        0.011s
ok      cmd/cgo/internal/testnocgo      0.003s
ok      cmd/cgo/internal/testnocgo      0.003s
ok      cmd/cgo/internal/test   0.702s
ok      cmd/cgo/internal/test   0.712s
ok      cmd/cgo/internal/test   0.710s
ok      cmd/cgo/internal/test   0.718s
ok      cmd/cgo/internal/testtls        0.006s
ok      cmd/cgo/internal/testnocgo      0.005s

##### ../test
ok      cmd/internal/testdir    198.828s

##### API check
ok      cmd/api 763.277s

##### API release note check
ok      cmd/relnote     0.025s

ALL TESTS PASSED
---
Installed Go for linux/amd64 in /mnt/d/file/gofile/gogit/go1
Installed commands in /mnt/d/file/gofile/gogit/go1/bin
*** You need to add /mnt/d/file/gofile/gogit/go1/bin to your PATH.
@seankhliao
Copy link
Member

I think it's well known that accessing a windows filesystem from WSL is quite slow, see "Performance across OS file systems":
https://learn.microsoft.com/en-us/windows/wsl/compare-versions#comparing-features

I don't think there's much for the Go project to do?

qiulaidongfeng added a commit to qiulaidongfeng/go that referenced this issue Feb 12, 2024
DO NOT SUBMIT

Fixes golang#65670

Change-Id: I446734dd4c63b1fbf4dd48e00bef016c52a23914
@gopherbot
Copy link

Change https://go.dev/cl/563335 mentions this issue: cmd/api: optimize Walker.loadImports get go list

@qiulaidongfeng
Copy link
Contributor Author

An idea, how about tcp communication after starting go list?
Another idea is that go list seems to be looking for dep, is there a way to read std once to get the dep of all the libraries?

stack trace

../bin/go tool dist test -run=cmd/api

##### Test execution environment.
# GOARCH: amd64
# CPU: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
# GOOS: linux
# OS Version: Linux 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64

##### Testing packages.
panic: test timed out after 9m0s
running tests:
        TestIssue64958 (8m43s)

goroutine 76 gp=0xc000005880 m=6 mp=0xc0004e0008 [running]:
panic({0x655220?, 0xc000024150?})
        /mnt/d/file/gofile/gogit/go1/src/runtime/panic.go:778 +0x16f fp=0xc000299f10 sp=0xc000299e60 pc=0x43864f
testing.(*M).startAlarm.func1()
        /mnt/d/file/gofile/gogit/go1/src/testing/testing.go:2366 +0x385 fp=0xc000299fe0 sp=0xc000299f10 pc=0x4f19c5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000299fe8 sp=0xc000299fe0 pc=0x4720e1
created by time.goFunc
        /mnt/d/file/gofile/gogit/go1/src/time/sleep.go:177 +0x2d

goroutine 1 gp=0xc0000041c0 m=nil [chan receive, 8 minutes]:
runtime.gopark(0xc0002676c0?, 0xc000267748?, 0xc0?, 0x76?, 0x668dc0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc0000d3958 sp=0xc0000d3938 pc=0x43bf8e
runtime.chanrecv(0xc000224310, 0xc0000d3a3f, 0x1)
        /mnt/d/file/gofile/gogit/go1/src/runtime/chan.go:583 +0x3bf fp=0xc0000d39d0 sp=0xc0000d3958 pc=0x4070bf
runtime.chanrecv1(0x87ab40?, 0x655220?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/chan.go:442 +0x12 fp=0xc0000d39f8 sp=0xc0000d39d0 pc=0x406cf2
testing.(*T).Run(0xc0000b84e0, {0x6a56de?, 0x0?}, 0x6b79a8)
        /mnt/d/file/gofile/gogit/go1/src/testing/testing.go:1750 +0x3ab fp=0xc0000d3ab8 sp=0xc0000d39f8 pc=0x4ee62b
testing.runTests.func1(0xc0000b84e0)
        /mnt/d/file/gofile/gogit/go1/src/testing/testing.go:2161 +0x37 fp=0xc0000d3af8 sp=0xc0000d3ab8 pc=0x4f0717
testing.tRunner(0xc0000b84e0, 0xc0000d3c08)
        /mnt/d/file/gofile/gogit/go1/src/testing/testing.go:1689 +0xfb fp=0xc0000d3b48 sp=0xc0000d3af8 pc=0x4ed75b
testing.runTests(0xc00000e090, {0x873060, 0x8, 0x8}, {0x3ff0000000000000?, 0x1?, 0x87aec0?})
        /mnt/d/file/gofile/gogit/go1/src/testing/testing.go:2159 +0x445 fp=0xc0000d3c38 sp=0xc0000d3b48 pc=0x4f0605
testing.(*M).Run(0xc00009c8c0)
        /mnt/d/file/gofile/gogit/go1/src/testing/testing.go:2027 +0x68b fp=0xc0000d3e68 sp=0xc0000d3c38 pc=0x4ef00b
cmd/api.TestMain(0xc00009c8c0)
        /mnt/d/file/gofile/gogit/go1/src/cmd/api/api_test.go:29 +0xf3 fp=0xc0000d3e98 sp=0xc0000d3e68 pc=0x631233
main.main()
        _testmain.go:65 +0x195 fp=0xc0000d3f50 sp=0xc0000d3e98 pc=0x63ccd5
runtime.main()
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:271 +0x29d fp=0xc0000d3fe0 sp=0xc0000d3f50 pc=0x43bb3d
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000d3fe8 sp=0xc0000d3fe0 pc=0x4720e1

goroutine 2 gp=0xc000004700 m=nil [force gc (idle), 8 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc00005efa8 sp=0xc00005ef88 pc=0x43bf8e
runtime.goparkunlock(...)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:408 pc=0x43bdf3
runtime.forcegchelper()
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:326 +0x91 fp=0xc00005efe0 sp=0xc00005efa8 pc=0x43bdd1
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005efe8 sp=0xc00005efe0 pc=0x4720e1
created by runtime.init.6 in goroutine 1
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:314 +0x1a

goroutine 3 gp=0xc000004c40 m=nil [GC sweep wait]:
runtime.gopark(0x87ab01?, 0x0?, 0x0?, 0x0?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc00005f780 sp=0xc00005f760 pc=0x43bf8e
runtime.goparkunlock(...)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:408 pc=0x42647f
runtime.bgsweep(0xc00007e000)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgcsweep.go:318 +0xbd fp=0xc00005f7c8 sp=0xc00005f780 pc=0x42645d
runtime.gcenable.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:203 +0x25 fp=0xc00005f7e0 sp=0xc00005f7c8 pc=0x41acc5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005f7e8 sp=0xc00005f7e0 pc=0x4720e1
created by runtime.gcenable in goroutine 1
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:203 +0x66

goroutine 4 gp=0xc000004e00 m=nil [GC scavenge wait]:
runtime.gopark(0x87afe0?, 0xb97e5?, 0x0?, 0x0?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc00005ff78 sp=0xc00005ff58 pc=0x43bf8e
runtime.goparkunlock(...)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:408 pc=0x423e89
runtime.(*scavengerState).park(0x87afe0)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgcscavenge.go:425 +0x2e fp=0xc00005ffa8 sp=0xc00005ff78 pc=0x423e6e
runtime.bgscavenge(0xc00007e000)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc00005ffc8 sp=0xc00005ffa8 pc=0x424439
runtime.gcenable.gowrap2()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:204 +0x25 fp=0xc00005ffe0 sp=0xc00005ffc8 pc=0x41ac65
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005ffe8 sp=0xc00005ffe0 pc=0x4720e1
created by runtime.gcenable in goroutine 1
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:204 +0xa5

goroutine 5 gp=0xc000005340 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x6b7a00?, 0x0?, 0x20?, 0x2000000020?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc00008ee20 sp=0xc00008ee00 pc=0x43bf8e
runtime.runfinq()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mfinal.go:194 +0x107 fp=0xc00008efe0 sp=0xc00008ee20 pc=0x419d07
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00008efe8 sp=0xc00008efe0 pc=0x4720e1
created by runtime.createfing in goroutine 1
        /mnt/d/file/gofile/gogit/go1/src/runtime/mfinal.go:164 +0x3d

goroutine 23 gp=0xc000005500 m=5 mp=0xc000180008 [syscall]:
syscall.Syscall6(0xf7, 0x1, 0x5510, 0xc0000cfa30, 0x1000004, 0x0, 0x0)
        /mnt/d/file/gofile/gogit/go1/src/syscall/syscall_linux.go:91 +0x39 fp=0xc0000cf9f8 sp=0xc0000cf998 pc=0x47fc99
os.(*Process).blockUntilWaitable(0xc0003d5e30)
        /mnt/d/file/gofile/gogit/go1/src/os/wait_waitid.go:32 +0x76 fp=0xc0000cfad0 sp=0xc0000cf9f8 pc=0x4a3ad6
os.(*Process).wait(0xc0003d5e30)
        /mnt/d/file/gofile/gogit/go1/src/os/exec_unix.go:22 +0x25 fp=0xc0000cfb30 sp=0xc0000cfad0 pc=0x4a0b65
os.(*Process).Wait(...)
        /mnt/d/file/gofile/gogit/go1/src/os/exec.go:134 pc=0x524c45
os/exec.(*Cmd).Wait(0xc0001c6000)
        /mnt/d/file/gofile/gogit/go1/src/os/exec/exec.go:897 +0x3d fp=0xc0000cfb90 sp=0xc0000cfb30 pc=0x524c3d
os/exec.(*Cmd).Run(0xc0001c6000)
        /mnt/d/file/gofile/gogit/go1/src/os/exec/exec.go:607 +0x2d fp=0xc0000cfba8 sp=0xc0000cfb90 pc=0x5238ad
os/exec.(*Cmd).Output(0xc0001c6000)
        /mnt/d/file/gofile/gogit/go1/src/os/exec/exec.go:991 +0xb6 fp=0xc0000cfbf8 sp=0xc0000cfba8 pc=0x525316
cmd/api.(*Walker).loadImports(0xc0001b4000)
        /mnt/d/file/gofile/gogit/go1/src/cmd/api/main_test.go:494 +0x231 fp=0xc0000cfe90 sp=0xc0000cfbf8 pc=0x636ab1
cmd/api.NewWalker(0x875360, {0x6a90ae, 0x17})
        /mnt/d/file/gofile/gogit/go1/src/cmd/api/main_test.go:373 +0x145 fp=0xc0000cfed8 sp=0xc0000cfe90 pc=0x636325
cmd/api.TestIssue64958(0xc0001e9520)
        /mnt/d/file/gofile/gogit/go1/src/cmd/api/api_test.go:298 +0xca fp=0xc0000cff70 sp=0xc0000cfed8 pc=0x63326a
testing.tRunner(0xc0001e9520, 0x6b79a8)
        /mnt/d/file/gofile/gogit/go1/src/testing/testing.go:1689 +0xfb fp=0xc0000cffc0 sp=0xc0000cff70 pc=0x4ed75b
testing.(*T).Run.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/testing/testing.go:1742 +0x25 fp=0xc0000cffe0 sp=0xc0000cffc0 pc=0x4ee785
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000cffe8 sp=0xc0000cffe0 pc=0x4720e1
created by testing.(*T).Run in goroutine 1
        /mnt/d/file/gofile/gogit/go1/src/testing/testing.go:1742 +0x390

goroutine 75 gp=0xc0000056c0 m=nil [IO wait]:
runtime.gopark(0x10100000000?, 0x7f3cc56f8588?, 0x0?, 0x2?, 0xb?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc00008fba0 sp=0xc00008fb80 pc=0x43bf8e
runtime.netpollblock(0x47edf8?, 0x405306?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/netpoll.go:573 +0xf7 fp=0xc00008fbd8 sp=0xc00008fba0 pc=0x435237
internal/poll.runtime_pollWait(0x7f3c7ec1fd20, 0x72)
        /mnt/d/file/gofile/gogit/go1/src/runtime/netpoll.go:345 +0x85 fp=0xc00008fbf8 sp=0xc00008fbd8 pc=0x46d4a5
internal/poll.(*pollDesc).wait(0xc000082660?, 0xc0000e4000?, 0x1)
        /mnt/d/file/gofile/gogit/go1/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00008fc20 sp=0xc00008fbf8 pc=0x49bd47
internal/poll.(*pollDesc).waitRead(...)
        /mnt/d/file/gofile/gogit/go1/src/internal/poll/fd_poll_runtime.go:89 pc=0x49c4da
internal/poll.(*FD).Read(0xc000082660, {0xc0000e4000, 0x200, 0x200})
        /mnt/d/file/gofile/gogit/go1/src/internal/poll/fd_unix.go:164 +0x268 fp=0xc00008fcb8 sp=0xc00008fc20 pc=0x49c4c8
os.(*File).read(...)
        /mnt/d/file/gofile/gogit/go1/src/os/file_posix.go:29 pc=0x4a10d2
os.(*File).Read(0xc000062088, {0xc0000e4000?, 0x7f3c7ec02818?, 0x0?})
        /mnt/d/file/gofile/gogit/go1/src/os/file.go:118 +0x4a fp=0xc00008fcf8 sp=0xc00008fcb8 pc=0x4a10ca
os.(*fileWithoutWriteTo).Read(0xc0004ce4e0?, {0xc0000e4000?, 0x40bb3f?, 0x6645c0?})
        <autogenerated>:1 +0x25 fp=0xc00008fd28 sp=0xc00008fcf8 pc=0x4a5385
bytes.(*Buffer).ReadFrom(0xc0004ce4e0, {0x704000, 0xc0004ec030})
        /mnt/d/file/gofile/gogit/go1/src/bytes/buffer.go:211 +0x98 fp=0xc00008fd80 sp=0xc00008fd28 pc=0x4d6218
io.copyBuffer({0x704140, 0xc0004ce4e0}, {0x704000, 0xc0004ec030}, {0x0, 0x0, 0x0})
        /mnt/d/file/gofile/gogit/go1/src/io/io.go:415 +0x151 fp=0xc00008fdf8 sp=0xc00008fd80 pc=0x499551
io.Copy(...)
        /mnt/d/file/gofile/gogit/go1/src/io/io.go:388 pc=0x4a1818
os.genericWriteTo(0xc000062088?, {0x704140, 0xc0004ce4e0})
        /mnt/d/file/gofile/gogit/go1/src/os/file.go:269 +0xf fp=0xc00008fe48 sp=0xc00008fdf8 pc=0x4a17cf
os.(*File).WriteTo(0xc000062088, {0x704140, 0xc0004ce4e0})
        /mnt/d/file/gofile/gogit/go1/src/os/file.go:247 +0x9c fp=0xc00008fe88 sp=0xc00008fe48 pc=0x4a173c
io.copyBuffer({0x704140, 0xc0004ce4e0}, {0x704060, 0xc000062088}, {0x0, 0x0, 0x0})
        /mnt/d/file/gofile/gogit/go1/src/io/io.go:411 +0x9d fp=0xc00008ff00 sp=0xc00008fe88 pc=0x49949d
io.Copy(...)
        /mnt/d/file/gofile/gogit/go1/src/io/io.go:388 pc=0x523834
os/exec.(*Cmd).writerDescriptor.func1()
        /mnt/d/file/gofile/gogit/go1/src/os/exec/exec.go:577 +0x20 fp=0xc00008ff60 sp=0xc00008ff00 pc=0x523820
os/exec.(*Cmd).Start.func2(0x0?)
        /mnt/d/file/gofile/gogit/go1/src/os/exec/exec.go:724 +0x2c fp=0xc00008ffc8 sp=0xc00008ff60 pc=0x5244cc
os/exec.(*Cmd).Start.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/os/exec/exec.go:736 +0x24 fp=0xc00008ffe0 sp=0xc00008ffc8 pc=0x524464
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00008ffe8 sp=0xc00008ffe0 pc=0x4720e1
created by os/exec.(*Cmd).Start in goroutine 23
        /mnt/d/file/gofile/gogit/go1/src/os/exec/exec.go:723 +0x9ab

goroutine 25 gp=0xc000182380 m=nil [GC worker (idle), 8 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc00005af38 sp=0xc00005af18 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc00005afc8 sp=0xc00005af38 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc00005afe0 sp=0xc00005afc8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005afe8 sp=0xc00005afe0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 26 gp=0xc000182540 m=nil [GC worker (idle), 8 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc00005b738 sp=0xc00005b718 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc00005b7c8 sp=0xc00005b738 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc00005b7e0 sp=0xc00005b7c8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005b7e8 sp=0xc00005b7e0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 27 gp=0xc000182700 m=nil [GC worker (idle), 8 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc00005bf38 sp=0xc00005bf18 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc00005bfc8 sp=0xc00005bf38 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc00005bfe0 sp=0xc00005bfc8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 28 gp=0xc0001828c0 m=nil [GC worker (idle), 8 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc00005c738 sp=0xc00005c718 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc00005c7c8 sp=0xc00005c738 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc00005c7e0 sp=0xc00005c7c8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005c7e8 sp=0xc00005c7e0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 29 gp=0xc000182a80 m=nil [GC worker (idle), 8 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc00005cf38 sp=0xc00005cf18 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc00005cfc8 sp=0xc00005cf38 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc00005cfe0 sp=0xc00005cfc8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005cfe8 sp=0xc00005cfe0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 30 gp=0xc000182c40 m=nil [GC worker (idle), 8 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc00005d738 sp=0xc00005d718 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc00005d7c8 sp=0xc00005d738 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc00005d7e0 sp=0xc00005d7c8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005d7e8 sp=0xc00005d7e0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 31 gp=0xc000182e00 m=nil [GC worker (idle), 8 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc00005df38 sp=0xc00005df18 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc00005dfc8 sp=0xc00005df38 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc00005dfe0 sp=0xc00005dfc8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 32 gp=0xc000182fc0 m=nil [GC worker (idle), 8 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc0003e2738 sp=0xc0003e2718 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc0003e27c8 sp=0xc0003e2738 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc0003e27e0 sp=0xc0003e27c8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e27e8 sp=0xc0003e27e0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 33 gp=0xc000183180 m=nil [GC worker (idle)]:
runtime.gopark(0x740c21a0fc2?, 0x1?, 0x50?, 0x33?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc0003e2f38 sp=0xc0003e2f18 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc0003e2fc8 sp=0xc0003e2f38 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc0003e2fe0 sp=0xc0003e2fc8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e2fe8 sp=0xc0003e2fe0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 34 gp=0xc000183340 m=nil [GC worker (idle), 1 minutes]:
runtime.gopark(0x730df1ef286?, 0x1?, 0xd7?, 0x7d?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc0003e3738 sp=0xc0003e3718 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc0003e37c8 sp=0xc0003e3738 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc0003e37e0 sp=0xc0003e37c8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e37e8 sp=0xc0003e37e0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 35 gp=0xc000183500 m=nil [GC worker (idle)]:
runtime.gopark(0x738d4d8a29d?, 0x1?, 0xf?, 0x9a?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc0003e3f38 sp=0xc0003e3f18 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc0003e3fc8 sp=0xc0003e3f38 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc0003e3fe0 sp=0xc0003e3fc8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e3fe8 sp=0xc0003e3fe0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 36 gp=0xc0001836c0 m=nil [GC worker (idle)]:
runtime.gopark(0x740c219deae?, 0x1?, 0x9d?, 0x4b?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc0003e4738 sp=0xc0003e4718 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc0003e47c8 sp=0xc0003e4738 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc0003e47e0 sp=0xc0003e47c8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e47e8 sp=0xc0003e47e0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 37 gp=0xc000183880 m=nil [GC worker (idle)]:
runtime.gopark(0x738d4d8a1c9?, 0x3?, 0x37?, 0xc7?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc0003e4f38 sp=0xc0003e4f18 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc0003e4fc8 sp=0xc0003e4f38 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc0003e4fe0 sp=0xc0003e4fc8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e4fe8 sp=0xc0003e4fe0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 38 gp=0xc000183a40 m=nil [GC worker (idle), 1 minutes]:
runtime.gopark(0x730df1ef562?, 0x3?, 0xfe?, 0xe?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc0003e5738 sp=0xc0003e5718 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc0003e57c8 sp=0xc0003e5738 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc0003e57e0 sp=0xc0003e57c8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e57e8 sp=0xc0003e57e0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 39 gp=0xc000183c00 m=nil [GC worker (idle)]:
runtime.gopark(0x740c219fe07?, 0x3?, 0xc7?, 0x4?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc0003e5f38 sp=0xc0003e5f18 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc0003e5fc8 sp=0xc0003e5f38 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc0003e5fe0 sp=0xc0003e5fc8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e5fe8 sp=0xc0003e5fe0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105

goroutine 40 gp=0xc000183dc0 m=nil [GC worker (idle)]:
runtime.gopark(0x8dc5e0?, 0x3?, 0x3f?, 0x2b?, 0x0?)
        /mnt/d/file/gofile/gogit/go1/src/runtime/proc.go:402 +0xce fp=0xc0003de738 sp=0xc0003de718 pc=0x43bf8e
runtime.gcBgMarkWorker(0xc000234420)
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1333 +0xe9 fp=0xc0003de7c8 sp=0xc0003de738 pc=0x41cf09
runtime.gcBgMarkStartWorkers.gowrap1()
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x25 fp=0xc0003de7e0 sp=0xc0003de7c8 pc=0x41cde5
runtime.goexit({})
        /mnt/d/file/gofile/gogit/go1/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003de7e8 sp=0xc0003de7e0 pc=0x4720e1
created by runtime.gcBgMarkStartWorkers in goroutine 24
        /mnt/d/file/gofile/gogit/go1/src/runtime/mgc.go:1249 +0x105
FAIL    cmd/api 548.103s
FAIL
go tool dist: Failed: exit status 1

@thanm thanm added Performance NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Feb 12, 2024
qiulaidongfeng added a commit to qiulaidongfeng/go that referenced this issue Mar 30, 2024
In wsl2, accessing the Windows file system from WSL is very slow, and the final test execution can be longer than 10 minutes if the degree of parallelism is low.
By adding parallelism to make io start faster, the test time in wsl2 was reduced from 700+s to 280+s.

Fixes golang#65670

Change-Id: I148b14bbdf009d38e2ade946300c1bab59ea32d1
@qiulaidongfeng qiulaidongfeng linked a pull request Mar 30, 2024 that will close this issue
@gopherbot
Copy link

Change https://go.dev/cl/575297 mentions this issue: cmd/api: Increase test parallelism

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. ToolSpeed
Projects
None yet
5 participants