Open qiulaidongfeng opened 9 months ago
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?
Change https://go.dev/cl/563335 mentions this issue: cmd/api: optimize Walker.loadImports get go list
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
Change https://go.dev/cl/575297 mentions this issue: cmd/api: Increase test parallelism
cc @golang/wsl How can tell if the program is running in wsl2? I asked the ai and the ai said could tell by checking the WSL_DISTRO_NAME environment variable, I tested it on my machine but I didn't find the official documentation, is this a solution that can be used in CL 575297 to check if the program is working in wsl2?
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: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