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/go: mod init hangs while importing Gopkg.lock #33543

Open
k opened this issue Aug 8, 2019 · 10 comments

Comments

@k
Copy link

commented Aug 8, 2019

What version of Go are you using (go version)?

$ go version
go version go1.12.7 darwin/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/kbambridge/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/kbambridge/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12.7/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12.7/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/kbambridge/repos/argo-events/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/19/5nv_d80x3b9c19y_qqlqgnyc54pqd9/T/go-build738969796=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

git clone https://github.com/argoproj/argo-events
cd argo-events
go mod init github.com/argoproj/argo-events

What did you expect to see?

an initialized go.mod file

What did you see instead?

go: creating new go.mod: module github.com/argoproj/argo-events
go: copying requirements from Gopkg.lock

it just hung with the above output

@agnivade

This comment has been minimized.

Copy link
Member

commented Aug 8, 2019

I tried with 1.13beta1. It goes till this and gets stuck again

go: creating new go.mod: module github.com/argoproj/argo-events
go: copying requirements from Gopkg.lock
go: converting Gopkg.lock: stat github.com/pierrec/lz4@v2.2.3: github.com/pierrec/lz4@v2.2.3: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2
go: converting Gopkg.lock: stat github.com/googleapis/gax-go@v2.0.4: github.com/googleapis/gax-go@v2.0.4: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2
go: converting Gopkg.lock: stat github.com/minio/minio-go@v6.0.24: github.com/minio/minio-go@v6.0.24: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v6

goroutine dump after it got stuck

^\SIGQUIT: quit
PC=0x495438 m=0 sigcode=128

goroutine 1 [syscall]:
syscall.Syscall6(0xf7, 0x1, 0x39b1, 0xc0000abc18, 0x1000004SIGQUIT: quit, 
0x0PC=, 0x45e0710x0 m=, 00x0 sigcode=, 1280xc0000abc60
, 
0x4a928cgoroutine )
0	 [/usr/local/go/src/syscall/asm_linux_amd64.sidle:]:
44 +0x5runtime.futex fp=(0xc0000abbc80xeb0c48 sp=0xc0000abbc0,  pc=0x4954150x80
, 0x0os.(*Process).blockUntilWaitable, (0x00xc0000924e0, , 0x00x4, , 0x7fbd000000000x3c3f1dd800010400, , 0x10xc0000f4000, )
0x11d32cb98	, /usr/local/go/src/os/wait_waitid.go0x7ffd1d32ca48:, 310x40c2cf +, ...0x98)
 fp=	0xc0000abcb8/usr/local/go/src/runtime/sys_linux_amd64.s sp=:0xc0000abbc8535 pc= +0x4ae3280x21

os.(*Process).waitruntime.futexsleep((0xc0000924e00xeb0c48, , 0x7000180x7fbd00000000, , 0x7000200xffffffffffffffff, )
0x700010	)
/usr/local/go/src/runtime/os_linux.go	:/usr/local/go/src/os/exec_unix.go44: +220x46 +
0x39runtime.notesleep fp=(0xc0000abd300xeb0c48 sp=)
0xc0000abcb8	 pc=/usr/local/go/src/runtime/lock_futex.go0x4a9c49:
151 +os.(*Process).Wait0x9f(...)

	/usr/local/go/src/os/exec.goruntime.stopm:(125)

	os/exec.(*Cmd).Wait/usr/local/go/src/runtime/proc.go(:0xc0000e05801928,  +0x00xc0, 
0x0)
	runtime.findrunnable/usr/local/go/src/os/exec/exec.go(:0xc00003af00474, 0x0)
	 +/usr/local/go/src/runtime/proc.go0x61: fp=0xc0000abda82391 +0x53f sp=
0xc0000abd30 pc=0x650b01runtime.schedule
os/exec.(*Cmd).Run(()
0xc0000e0580	, 0xc0000ca900/usr/local/go/src/runtime/proc.go:2524,  +0x450x2be)
	/usr/local/go/src/os/exec/exec.go
:318 +runtime.park_m0x5c( fp=0xc000179c800xc0000abdd0 sp=)
0xc0000abda8	 pc=/usr/local/go/src/runtime/proc.go0x65002c:
2610 +golang.org/dl/internal/version.Run0x9d(
0x6ed16bruntime.mcall, (0xb0x0)
)
		/home/agniva/play/go/src/golang.org/dl/internal/version/version.go/usr/local/go/src/runtime/asm_amd64.s::64318 +0x51c fp= +0xc0000abf780x5b sp=
0xc0000abdd0
goroutine 1 pc= [sync.Cond.Wait]:
0x6524cc
runtime.goparkunlockmain.main(...)
(	)
/usr/local/go/src/runtime/proc.go	:/home/agniva/play/go/src/golang.org/dl/go1.13beta1/main.go310:
23 +sync.runtime_notifyListWait0x36( fp=0xc0000ba2480xc0000abf98,  sp=0x50xc0000abf78)
 pc=	0x657186/usr/local/go/src/runtime/sema.go
:510 +0xf8runtime.main
(sync.(*Cond).Wait)
(	0xc0000ba238/usr/local/go/src/runtime/proc.go)
:	200/usr/local/go/src/sync/cond.go +:0x20c56 fp= +0xc0000abfe00x9d sp=
0xc0000abf98 pc=cmd/go/internal/par.(*Work).runner0x42e7dc(
0xc0000ba200runtime.goexit)
(	)
/usr/local/go/src/cmd/go/internal/par/work.go	:/usr/local/go/src/runtime/asm_amd64.s87: +13370x38 +
0x1cmd/go/internal/par.(*Work).Do fp=(0xc0000abfe80xc0000ba200 sp=, 0xc0000abfe00xa pc=, 0x4588610xc000119710
)
	
/usr/local/go/src/cmd/go/internal/par/work.gorax    :0xf769
 +rbx    0xbf0xc000028500
rcx    
0x49543a
cmd/go/internal/modconv.ConvertLegacyConfigrdx    (0xc0000abc180xc00006e300
, rdi    0x1
0xc000028840rsi    , 0x39b10x28
, rbp    0xc00014e0000xc0000abca8, 0x7d95, 
0x7f95rsp    , 0xc0000abbc00x1
, r8     0x290x0)

	r9     /usr/local/go/src/cmd/go/internal/modconv/convert.go0x0:
67r10     +0x10000040x517

r11    0x206cmd/go/internal/modload.legacyModInit
(r12    )
0xffffffffffffffff	/usr/local/go/src/cmd/go/internal/modload/init.go:
437r13     +0x2ab0x5

cmd/go/internal/modload.InitModr14    (0x4)

	r15    /usr/local/go/src/cmd/go/internal/modload/init.go0x55:
312rip     +0x4954380x488

rflags cmd/go/internal/modcmd.runInit0x206(
0xea4460cs     , 0x330xc0000200f0
, fs     0x10x0, 
0x1gs     )
0x0	
/usr/local/go/src/cmd/go/internal/modcmd/init.go:47 +0xf6
main.main()
	/usr/local/go/src/cmd/go/main.go:189 +0x57f

goroutine 6 [syscall, 3 minutes]:
os/signal.signal_recv(0x0)
	/usr/local/go/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
	/usr/local/go/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
	/usr/local/go/src/os/signal/signal_unix.go:29 +0x41

goroutine 7 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0000ba248, 0x3)
	/usr/local/go/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0000ba238)
	/usr/local/go/src/sync/cond.go:56 +0x9d
cmd/go/internal/par.(*Work).runner(0xc0000ba200)
	/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x38
created by cmd/go/internal/par.(*Work).Do
	/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 8 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0000ba248, 0x2)
	/usr/local/go/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0000ba238)
	/usr/local/go/src/sync/cond.go:56 +0x9d
cmd/go/internal/par.(*Work).runner(0xc0000ba200)
	/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x38
created by cmd/go/internal/par.(*Work).Do
	/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 9 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0000ba248, 0x4)
	/usr/local/go/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0000ba238)
	/usr/local/go/src/sync/cond.go:56 +0x9d
cmd/go/internal/par.(*Work).runner(0xc0000ba200)
	/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x38
created by cmd/go/internal/par.(*Work).Do
	/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 10 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0000ba248, 0x7)
	/usr/local/go/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0000ba238)
	/usr/local/go/src/sync/cond.go:56 +0x9d
cmd/go/internal/par.(*Work).runner(0xc0000ba200)
	/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x38
created by cmd/go/internal/par.(*Work).Do
	/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 11 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0000ba248, 0x0)
	/usr/local/go/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0000ba238)
	/usr/local/go/src/sync/cond.go:56 +0x9d
cmd/go/internal/par.(*Work).runner(0xc0000ba200)
	/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x38
created by cmd/go/internal/par.(*Work).Do
	/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 12 [runnable]:
syscall.Syscall6(0x3d, 0x3d8f, 0xc0002f359c, 0x0, 0xc000323b90, 0x0, 0x0, 0x3d8f, 0x0, 0x0)
	/usr/local/go/src/syscall/asm_linux_amd64.s:44 +0x5
syscall.wait4(0x3d8f, 0xc0002f359c, 0x0, 0xc000323b90, 0x90, 0xa26b80, 0x2f3501)
	/usr/local/go/src/syscall/zsyscall_linux_amd64.go:193 +0x7b
syscall.Wait4(0x3d8f, 0xc0002f35ec, 0x0, 0xc000323b90, 0x13, 0xc0004b6280, 0x1)
	/usr/local/go/src/syscall/syscall_linux.go:341 +0x51
os.(*Process).wait(0xc000730120, 0xa841c8, 0xa841d0, 0xa841c0)
	/usr/local/go/src/os/exec_unix.go:38 +0xa8
os.(*Process).Wait(...)
	/usr/local/go/src/os/exec.go:125
os/exec.(*Cmd).Wait(0xc0002c0840, 0x0, 0x0)
	/usr/local/go/src/os/exec/exec.go:501 +0x60
os/exec.(*Cmd).Run(0xc0002c0840, 0x3, 0xc000286090)
	/usr/local/go/src/os/exec/exec.go:341 +0x5c
cmd/go/internal/modfetch/codehost.RunWithStdin(0xc0002d59d0, 0x67, 0x0, 0x0, 0xc0002f3920, 0x7, 0x7, 0x0, 0x0, 0x0, ...)
	/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:313 +0x693
cmd/go/internal/modfetch/codehost.Run(...)
	/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:253
cmd/go/internal/modfetch/codehost.(*gitRepo).fetchUnshallow(0xc0002ec840, 0xc000459980, 0x2, 0x2, 0x0, 0xc0004e62a0)
	/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:419 +0x22d
cmd/go/internal/modfetch/codehost.(*gitRepo).fetchRefsLocked(0xc0002ec840, 0xc000459940, 0x0)
	/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:400 +0x8e
cmd/go/internal/modfetch/codehost.(*gitRepo).stat(0xc0002ec840, 0xc00015aa5d, 0x28, 0x0, 0x0, 0x0)
	/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:382 +0x331
cmd/go/internal/modfetch/codehost.(*gitRepo).Stat.func1(0xc0002ec888, 0x973f20)
	/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:483 +0x40
cmd/go/internal/par.(*Cache).Do(0xc0002ec888, 0x973f20, 0xc0001f8800, 0xc0002f3da0, 0x9c29a0, 0x8b3510)
	/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xec
cmd/go/internal/modfetch/codehost.(*gitRepo).Stat(0xc0002ec840, 0xc00015aa5d, 0x28, 0x0, 0x0, 0x0)
	/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:482 +0xbd
cmd/go/internal/modfetch.ImportRepoRev(0xc00015a976, 0x1a, 0xc00015aa5d, 0x28, 0xc0006a4cc8, 0xc0004c4100, 0xc000372aa0, 0x0, 0x0)
	/usr/local/go/src/cmd/go/internal/modfetch/repo.go:308 +0x1e4
cmd/go/internal/modconv.ConvertLegacyConfig.func1(0x9c3120, 0xc00000f8a0)
	/usr/local/go/src/cmd/go/internal/modconv/convert.go:69 +0xc0
cmd/go/internal/par.(*Work).runner(0xc0000ba200)
	/usr/local/go/src/cmd/go/internal/par/work.go:101 +0x157
created by cmd/go/internal/par.(*Work).Do
	/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 13 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0000ba248, 0x1)
	/usr/local/go/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0000ba238)
	/usr/local/go/src/sync/cond.go:56 +0x9d
cmd/go/internal/par.(*Work).runner(0xc0000ba200)
	/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x38
created by cmd/go/internal/par.(*Work).Do
	/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 14 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0000ba248, 0x8)
	/usr/local/go/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0000ba238)
	/usr/local/go/src/sync/cond.go:56 +0x9d
cmd/go/internal/par.(*Work).runner(0xc0000ba200)
	/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x38
created by cmd/go/internal/par.(*Work).Do
	/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 15 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0000ba248, 0x6)
	/usr/local/go/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0000ba238)
	/usr/local/go/src/sync/cond.go:56 +0x9d
cmd/go/internal/par.(*Work).runner(0xc0000ba200)
	/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x38
created by cmd/go/internal/par.(*Work).Do
	/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 909 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x7fbd17833748, 0x72, 0xffffffffffffffff)
	/usr/local/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc0002ac5b8, 0x72, 0x201, 0x200, 0xffffffffffffffff)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0002ac5a0, 0xc00067a600, 0x200, 0x200, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf
os.(*File).read(...)
	/usr/local/go/src/os/file_unix.go:259
os.(*File).Read(0xc00018e0f8, 0xc00067a600, 0x200, 0x200, 0xc00066ce90, 0x440922, 0xc00066cea0)
	/usr/local/go/src/os/file.go:112 +0x71
bytes.(*Buffer).ReadFrom(0xc0005a8600, 0xb27f00, 0xc00018e0f8, 0x7fbd177f3048, 0xc0005a8600, 0xc00066cf01)
	/usr/local/go/src/bytes/buffer.go:204 +0xb4
io.copyBuffer(0xb273a0, 0xc0005a8600, 0xb27f00, 0xc00018e0f8, 0x0, 0x0, 0x0, 0x406765, 0xc00006f320, 0xc00066cfb0)
	/usr/local/go/src/io/io.go:388 +0x2ed
io.Copy(...)
	/usr/local/go/src/io/io.go:364
os/exec.(*Cmd).writerDescriptor.func1(0xc00006f320, 0xc00066cfb0)
	/usr/local/go/src/os/exec/exec.go:311 +0x63
os/exec.(*Cmd).Start.func1(0xc0002c0840, 0xc000459ae0)
	/usr/local/go/src/os/exec/exec.go:435 +0x27
created by os/exec.(*Cmd).Start
	/usr/local/go/src/os/exec/exec.go:434 +0x608

rax    0xca
rbx    0xeb0b00
rcx    0x45e073
rdx    0x0
rdi    0xeb0c48
rsi    0x80
rbp    0x7ffd1d32ca10
rsp    0x7ffd1d32c9c8
r8     0x0
r9     0x0
r10    0x0
r11    0x286
r12    0xffffffffffffffff
r13    0x7
r14    0x6
r15    0x10
rip    0x45e071
rflags 0x286
cs     0x33
fs     0x0
gs     0x0

@bcmills @jayconrod

@agnivade agnivade changed the title go mod init hangs while importing Gopkg.lock cmd/go: mod init hangs while importing Gopkg.lock Aug 8, 2019

@agnivade agnivade added this to the Go1.14 milestone Aug 8, 2019

@bcmills

This comment has been minimized.

Copy link
Member

commented Aug 8, 2019

@agnivade, that goroutine dump shows that the go command is waiting on some other process. Are you sure it's stuck and not just slow? (What does pstree tell you about the stuck command?)

@agnivade

This comment has been minimized.

Copy link
Member

commented Aug 9, 2019

Woops, on running it again, it exits cleanly. I guess it was just slow. @k, could you try 1.13beta1 and confirm that it does not get stuck ?

@LinuxGit

This comment has been minimized.

Copy link

commented Aug 14, 2019

I have the same problem.

✗ go version
go version go1.12.7 darwin/amd64
@jayconrod

This comment has been minimized.

Copy link
Contributor

commented Aug 14, 2019

@LinuxGit Are you able to reproduce this? Can you post a goroutine dump (which you can capture by sending SIGQUIT to the stuck process)? pstree output would be helpful, too.

We need to confirm whether the process is actually stuck or merely waiting on a slow network transfer.

@LinuxGit

This comment has been minimized.

Copy link

commented Aug 15, 2019

@jayconrod

➜  tmp ps
  PID TTY           TIME CMD
73126 ttys001    0:00.06 /Applications/iTerm.app/Contents/MacOS/iTerm2 --server /usr/bin/login -fpl ruby /Applications/iTerm.app/Contents/MacOS/iTerm2 --laun
73129 ttys001    0:01.75 -zsh
73497 ttys001    0:01.61 go mod init
73636 ttys001    0:00.01 /Library/Developer/CommandLineTools/usr/bin/git ls-remote -q https://github.com/kubernetes/kubernetes
73639 ttys001    0:00.24 /Library/Developer/CommandLineTools/usr/libexec/git-core/git-remote-https https://github.com/kubernetes/kubernetes https://github.co
73327 ttys002    0:00.06 /Applications/iTerm.app/Contents/MacOS/iTerm2 --server /usr/bin/login -fpl ruby /Applications/iTerm.app/Contents/MacOS/iTerm2 --laun
73329 ttys002    0:01.62 -zsh
51063 ttys003    0:00.06 /Applications/iTerm.app/Contents/MacOS/iTerm2 --server /usr/bin/login -fpl ruby /Applications/iTerm.app/Contents/MacOS/iTerm2 --laun
51065 ttys003    0:02.68 -zsh
➜  tmp kill -l
HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH INFO USR1 USR2
➜  tmp kill -3 73497
➜  metrics-server git:(master) GO111MODULE=on  go mod init
go: creating new go.mod: module github.com/kubernetes-incubator/metrics-server
go: copying requirements from Gopkg.lock
SIGQUIT: quit
PC=0x7fff7c260a16 m=0 sigcode=0

goroutine 0 [idle]:
runtime.pthread_cond_wait(0x1a563e8, 0x1a563a8, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/sys_darwin.go:357 +0x3b
runtime.semasleep(0xffffffffffffffff, 0xc00006cd48)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/os_darwin.go:63 +0x85
runtime.notesleep(0x1a561a8)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/lock_sema.go:167 +0xe0
runtime.stopm()
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/proc.go:1936 +0xc1
runtime.exitsyscall0(0xc000409680)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/proc.go:3128 +0x118
runtime.mcall(0x1057d8b)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/asm_amd64.s:299 +0x5b

goroutine 1 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000fc948, 0x2)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000fc938)
	/usr/local/Cellar/go/1.12.8/libexec/src/sync/cond.go:56 +0x9e
cmd/go/internal/par.(*Work).runner(0xc0000fc900)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:87 +0x33
cmd/go/internal/par.(*Work).Do(0xc0000fc900, 0xa, 0xc00026b350)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:69 +0xbf
cmd/go/internal/modconv.ConvertLegacyConfig(0xc0002be000, 0xc000296760, 0x1e, 0xc0002c0000, 0x77f3, 0x79f3, 0x1, 0x29)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/modconv/convert.go:57 +0x30c
cmd/go/internal/modload.legacyModInit()
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/modload/init.go:411 +0x2b2
cmd/go/internal/modload.InitMod()
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/modload/init.go:324 +0x54d
cmd/go/internal/modcmd.runInit(0x1a4a6e0, 0xc0000c2020, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/modcmd/init.go:44 +0xc0
main.main()
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/main.go:219 +0x7a4

goroutine 4 [syscall, 1 minutes]:
os/signal.signal_recv(0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/sigqueue.go:139 +0x9f
os/signal.loop()
	/usr/local/Cellar/go/1.12.8/libexec/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
	/usr/local/Cellar/go/1.12.8/libexec/src/os/signal/signal_unix.go:29 +0x41

goroutine 19 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000fc948, 0x6)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000fc938)
	/usr/local/Cellar/go/1.12.8/libexec/src/sync/cond.go:56 +0x9e
cmd/go/internal/par.(*Work).runner(0xc0000fc900)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:87 +0x33
created by cmd/go/internal/par.(*Work).Do
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 20 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000fc948, 0x1)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000fc938)
	/usr/local/Cellar/go/1.12.8/libexec/src/sync/cond.go:56 +0x9e
cmd/go/internal/par.(*Work).runner(0xc0000fc900)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:87 +0x33
created by cmd/go/internal/par.(*Work).Do
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 21 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000fc948, 0x4)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000fc938)
	/usr/local/Cellar/go/1.12.8/libexec/src/sync/cond.go:56 +0x9e
cmd/go/internal/par.(*Work).runner(0xc0000fc900)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:87 +0x33
created by cmd/go/internal/par.(*Work).Do
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 22 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000fc948, 0x7)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000fc938)
	/usr/local/Cellar/go/1.12.8/libexec/src/sync/cond.go:56 +0x9e
cmd/go/internal/par.(*Work).runner(0xc0000fc900)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:87 +0x33
created by cmd/go/internal/par.(*Work).Do
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 23 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000fc948, 0x5)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000fc938)
	/usr/local/Cellar/go/1.12.8/libexec/src/sync/cond.go:56 +0x9e
cmd/go/internal/par.(*Work).runner(0xc0000fc900)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:87 +0x33
created by cmd/go/internal/par.(*Work).Do
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 24 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000fc948, 0x3)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000fc938)
	/usr/local/Cellar/go/1.12.8/libexec/src/sync/cond.go:56 +0x9e
cmd/go/internal/par.(*Work).runner(0xc0000fc900)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:87 +0x33
created by cmd/go/internal/par.(*Work).Do
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 25 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000fc948, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000fc938)
	/usr/local/Cellar/go/1.12.8/libexec/src/sync/cond.go:56 +0x9e
cmd/go/internal/par.(*Work).runner(0xc0000fc900)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:87 +0x33
created by cmd/go/internal/par.(*Work).Do
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 26 [sync.Cond.Wait]:
runtime.goparkunlock(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000fc948, 0x8)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000fc938)
	/usr/local/Cellar/go/1.12.8/libexec/src/sync/cond.go:56 +0x9e
cmd/go/internal/par.(*Work).runner(0xc0000fc900)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:87 +0x33
created by cmd/go/internal/par.(*Work).Do
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 27 [syscall]:
syscall.syscall6(0x10a3310, 0x1206d, 0xc00035377c, 0x0, 0xc0003c0000, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/sys_darwin.go:74 +0x2e
syscall.wait4(0x1206d, 0xc00035377c, 0x0, 0xc0003c0000, 0x90, 0x15ca120, 0xc0004e8401)
	/usr/local/Cellar/go/1.12.8/libexec/src/syscall/zsyscall_darwin_amd64.go:42 +0x88
syscall.Wait4(0x1206d, 0xc0003537cc, 0x0, 0xc0003c0000, 0xc000317d40, 0x1, 0x2)
	/usr/local/Cellar/go/1.12.8/libexec/src/syscall/syscall_bsd.go:129 +0x51
os.(*Process).wait(0xc0004e84b0, 0x161ead8, 0x161eae0, 0x161ead0)
	/usr/local/Cellar/go/1.12.8/libexec/src/os/exec_unix.go:38 +0x7c
os.(*Process).Wait(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/os/exec.go:125
os/exec.(*Cmd).Wait(0xc00031c000, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/os/exec/exec.go:474 +0x61
os/exec.(*Cmd).Run(0xc00031c000, 0x3, 0xc00031a010)
	/usr/local/Cellar/go/1.12.8/libexec/src/os/exec/exec.go:318 +0x5c
cmd/go/internal/modfetch/codehost.RunWithStdin(0xc0006b4fc0, 0x61, 0x0, 0x0, 0xc000353c38, 0x6, 0x6, 0x0, 0x0, 0x0, ...)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/modfetch/codehost/codehost.go:285 +0x676
cmd/go/internal/modfetch/codehost.Run(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/modfetch/codehost/codehost.go:225
cmd/go/internal/modfetch/codehost.(*gitRepo).stat(0xc0005180b0, 0xc0002cecdb, 0x28, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/modfetch/codehost/git.go:361 +0x624
cmd/go/internal/modfetch/codehost.(*gitRepo).Stat.func1(0xc000449c04, 0x152b700)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/modfetch/codehost/git.go:460 +0x40
cmd/go/internal/par.(*Cache).Do(0xc0005180f0, 0x152b700, 0xc0001f6c90, 0xc000353d90, 0x15758c0, 0xc000126f80)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:128 +0xd3
cmd/go/internal/modfetch/codehost.(*gitRepo).Stat(0xc0005180b0, 0xc0002cecdb, 0x28, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/modfetch/codehost/git.go:459 +0xbd
cmd/go/internal/modfetch.ImportRepoRev(0xc0002cec76, 0x11, 0xc0002cecdb, 0x28, 0xc0000d1078, 0xc0001b0600, 0xc0004eccd0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/modfetch/repo.go:277 +0x224
cmd/go/internal/modconv.ConvertLegacyConfig.func1(0x1575fa0, 0xc0000e1700)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/modconv/convert.go:59 +0xc0
cmd/go/internal/par.(*Work).runner(0xc0000fc900)
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:101 +0x135
created by cmd/go/internal/par.(*Work).Do
	/usr/local/Cellar/go/1.12.8/libexec/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 576 [IO wait]:
internal/poll.runtime_pollWait(0x2019b30, 0x72, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc000120678, 0x72, 0x201, 0x200, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000120660, 0xc000592000, 0x200, 0x200, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_unix.go:169 +0x1f2
os.(*File).read(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/os/file_unix.go:263
os.(*File).Read(0xc000010098, 0xc000592000, 0x200, 0x200, 0x0, 0xc00043ae90, 0xc00043aea0)
	/usr/local/Cellar/go/1.12.8/libexec/src/os/file.go:108 +0x70
bytes.(*Buffer).ReadFrom(0xc000020120, 0x16bce00, 0xc000010098, 0x2051028, 0xc000020120, 0xc00043af01)
	/usr/local/Cellar/go/1.12.8/libexec/src/bytes/buffer.go:207 +0xbd
io.copyBuffer(0x16bc2e0, 0xc000020120, 0x16bce00, 0xc000010098, 0x0, 0x0, 0x0, 0x1006a85, 0xc0000bff20, 0xc00043afb0)
	/usr/local/Cellar/go/1.12.8/libexec/src/io/io.go:388 +0x2fc
io.Copy(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/io/io.go:364
os/exec.(*Cmd).writerDescriptor.func1(0xc0000bff20, 0xc00043afb0)
	/usr/local/Cellar/go/1.12.8/libexec/src/os/exec/exec.go:288 +0x63
os/exec.(*Cmd).Start.func1(0xc00031c000, 0xc000980fe0)
	/usr/local/Cellar/go/1.12.8/libexec/src/os/exec/exec.go:409 +0x27
created by os/exec.(*Cmd).Start
	/usr/local/Cellar/go/1.12.8/libexec/src/os/exec/exec.go:408 +0x58f

goroutine 119 [IO wait]:
internal/poll.runtime_pollWait(0x2019c00, 0x72, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc00031a518, 0x72, 0x1d00, 0x1d25, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00031a500, 0xc0004fc000, 0x1d25, 0x1d25, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_unix.go:169 +0x1f2
net.(*netFD).Read(0xc00031a500, 0xc0004fc000, 0x1d25, 0x1d25, 0x203000, 0x21, 0xf0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0001327d8, 0xc0004fc000, 0x1d25, 0x1d25, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/net.go:177 +0x69
crypto/tls.(*atLeastReader).Read(0xc0002ecc80, 0xc0004fc000, 0x1d25, 0x1d25, 0xc00062b9c8, 0x3, 0xc00062b9e0)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:761 +0x60
bytes.(*Buffer).ReadFrom(0xc000418958, 0x16bc580, 0xc0002ecc80, 0x100b505, 0x155e0a0, 0x15c52a0)
	/usr/local/Cellar/go/1.12.8/libexec/src/bytes/buffer.go:207 +0xbd
crypto/tls.(*Conn).readFromUntil(0xc000418700, 0x20d1008, 0xc0001327d8, 0x5, 0xc0001327d8, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:783 +0xf8
crypto/tls.(*Conn).readRecordOrCCS(0xc000418700, 0x161f000, 0xc000418838, 0xc00062bc68)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:590 +0x125
crypto/tls.(*Conn).readRecord(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:558
crypto/tls.(*Conn).Read(0xc000418700, 0xc000516000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:1236 +0x137
bufio.(*Reader).Read(0xc000120a80, 0xc000402118, 0x9, 0x9, 0xc000418700, 0xc0004eb000, 0x11)
	/usr/local/Cellar/go/1.12.8/libexec/src/bufio/bufio.go:223 +0x23e
io.ReadAtLeast(0x16bc280, 0xc000120a80, 0xc000402118, 0x9, 0x9, 0x9, 0x1000, 0x3, 0xc000036a70)
	/usr/local/Cellar/go/1.12.8/libexec/src/io/io.go:310 +0x88
io.ReadFull(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/io/io.go:329
net/http.http2readFrameHeader(0xc000402118, 0x9, 0x9, 0x16bc280, 0xc000120a80, 0x0, 0x0, 0xc0000e2ec0, 0xc00062bdd0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:1476 +0x88
net/http.(*http2Framer).ReadFrame(0xc0004020e0, 0xc0000e2ec0, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:1734 +0xa1
net/http.(*http2clientConnReadLoop).run(0xc00062bfb8, 0x161e928, 0xc0002e87b8)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:8132 +0x8f
net/http.(*http2ClientConn).readLoop(0xc000088780)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:8060 +0x76
created by net/http.(*http2Transport).newClientConn
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:7123 +0x637

goroutine 121 [IO wait]:
internal/poll.runtime_pollWait(0x2019da0, 0x72, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc00011ce18, 0x72, 0x1100, 0x1194, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00011ce00, 0xc000237300, 0x1194, 0x1194, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_unix.go:169 +0x1f2
net.(*netFD).Read(0xc00011ce00, 0xc000237300, 0x1194, 0x1194, 0x203000, 0x21, 0xf0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc000010140, 0xc000237300, 0x1194, 0x1194, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/net.go:177 +0x69
crypto/tls.(*atLeastReader).Read(0xc0002c6aa0, 0xc000237300, 0x1194, 0x1194, 0xc0003519c8, 0x3, 0xc0003519e0)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:761 +0x60
bytes.(*Buffer).ReadFrom(0xc00041f058, 0x16bc580, 0xc0002c6aa0, 0x100b505, 0x155e0a0, 0x15c52a0)
	/usr/local/Cellar/go/1.12.8/libexec/src/bytes/buffer.go:207 +0xbd
crypto/tls.(*Conn).readFromUntil(0xc00041ee00, 0x20d1008, 0xc000010140, 0x5, 0xc000010140, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:783 +0xf8
crypto/tls.(*Conn).readRecordOrCCS(0xc00041ee00, 0x161f000, 0xc00041ef38, 0xc000351c68)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:590 +0x125
crypto/tls.(*Conn).readRecord(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:558
crypto/tls.(*Conn).Read(0xc00041ee00, 0xc000670000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:1236 +0x137
bufio.(*Reader).Read(0xc000120d80, 0xc000402498, 0x9, 0x9, 0xc00041ee00, 0xc000517000, 0x11)
	/usr/local/Cellar/go/1.12.8/libexec/src/bufio/bufio.go:223 +0x23e
io.ReadAtLeast(0x16bc280, 0xc000120d80, 0xc000402498, 0x9, 0x9, 0x9, 0x1000, 0x3, 0xc000038f70)
	/usr/local/Cellar/go/1.12.8/libexec/src/io/io.go:310 +0x88
io.ReadFull(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/io/io.go:329
net/http.http2readFrameHeader(0xc000402498, 0x9, 0x9, 0x16bc280, 0xc000120d80, 0x0, 0x0, 0xc0004148a0, 0xc000351dd0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:1476 +0x88
net/http.(*http2Framer).ReadFrame(0xc000402460, 0xc0004148a0, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:1734 +0xa1
net/http.(*http2clientConnReadLoop).run(0xc000351fb8, 0x161e928, 0xc000439fb8)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:8132 +0x8f
net/http.(*http2ClientConn).readLoop(0xc000088900)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:8060 +0x76
created by net/http.(*http2Transport).newClientConn
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:7123 +0x637

goroutine 575 [IO wait]:
internal/poll.runtime_pollWait(0x201ac00, 0x72, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc0001205b8, 0x72, 0x201, 0x200, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0001205a0, 0xc00040c400, 0x200, 0x200, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_unix.go:169 +0x1f2
os.(*File).read(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/os/file_unix.go:263
os.(*File).Read(0xc000010068, 0xc00040c400, 0x200, 0x200, 0x0, 0xc000438e90, 0xc000438ea0)
	/usr/local/Cellar/go/1.12.8/libexec/src/os/file.go:108 +0x70
bytes.(*Buffer).ReadFrom(0xc000020180, 0x16bce00, 0xc000010068, 0x2051028, 0xc000020180, 0xc000438f01)
	/usr/local/Cellar/go/1.12.8/libexec/src/bytes/buffer.go:207 +0xbd
io.copyBuffer(0x16bc2e0, 0xc000020180, 0x16bce00, 0xc000010068, 0x0, 0x0, 0x0, 0x1006a85, 0xc00045c960, 0xc000438fb0)
	/usr/local/Cellar/go/1.12.8/libexec/src/io/io.go:388 +0x2fc
io.Copy(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/io/io.go:364
os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/os/exec/exec.go:288 +0x63
os/exec.(*Cmd).Start.func1(0xc00031c000, 0xc000980fa0)
	/usr/local/Cellar/go/1.12.8/libexec/src/os/exec/exec.go:409 +0x27
created by os/exec.(*Cmd).Start
	/usr/local/Cellar/go/1.12.8/libexec/src/os/exec/exec.go:408 +0x58f

goroutine 376 [IO wait]:
internal/poll.runtime_pollWait(0x20198c0, 0x72, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc00011c318, 0x72, 0x1d00, 0x1d25, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00011c300, 0xc0004d8000, 0x1d25, 0x1d25, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_unix.go:169 +0x1f2
net.(*netFD).Read(0xc00011c300, 0xc0004d8000, 0x1d25, 0x1d25, 0x203000, 0x21, 0xf0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0000bc1f0, 0xc0004d8000, 0x1d25, 0x1d25, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/net.go:177 +0x69
crypto/tls.(*atLeastReader).Read(0xc0004432c0, 0xc0004d8000, 0x1d25, 0x1d25, 0xc0006249c8, 0x3, 0xc0006249e0)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:761 +0x60
bytes.(*Buffer).ReadFrom(0xc000418cd8, 0x16bc580, 0xc0004432c0, 0x100b505, 0x155e0a0, 0x15c52a0)
	/usr/local/Cellar/go/1.12.8/libexec/src/bytes/buffer.go:207 +0xbd
crypto/tls.(*Conn).readFromUntil(0xc000418a80, 0x20d1008, 0xc0000bc1f0, 0x5, 0xc0000bc1f0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:783 +0xf8
crypto/tls.(*Conn).readRecordOrCCS(0xc000418a80, 0x161f000, 0xc000418bb8, 0xc000624c68)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:590 +0x125
crypto/tls.(*Conn).readRecord(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:558
crypto/tls.(*Conn).Read(0xc000418a80, 0xc00063c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:1236 +0x137
bufio.(*Reader).Read(0xc000460540, 0xc0002e0c78, 0x9, 0x9, 0xc000418a80, 0xc000483000, 0x11)
	/usr/local/Cellar/go/1.12.8/libexec/src/bufio/bufio.go:223 +0x23e
io.ReadAtLeast(0x16bc280, 0xc000460540, 0xc0002e0c78, 0x9, 0x9, 0x9, 0x1000, 0x3, 0xc000038f70)
	/usr/local/Cellar/go/1.12.8/libexec/src/io/io.go:310 +0x88
io.ReadFull(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/io/io.go:329
net/http.http2readFrameHeader(0xc0002e0c78, 0x9, 0x9, 0x16bc280, 0xc000460540, 0x0, 0x0, 0xc0005b0740, 0xc000624dd0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:1476 +0x88
net/http.(*http2Framer).ReadFrame(0xc0002e0c40, 0xc0005b0740, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:1734 +0xa1
net/http.(*http2clientConnReadLoop).run(0xc000624fb8, 0x161e928, 0xc0002e57b8)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:8132 +0x8f
net/http.(*http2ClientConn).readLoop(0xc00039fe00)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:8060 +0x76
created by net/http.(*http2Transport).newClientConn
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:7123 +0x637

goroutine 535 [IO wait]:
internal/poll.runtime_pollWait(0x201a990, 0x72, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.12.8/libexec/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc00012e518, 0x72, 0x1100, 0x1194, 0xffffffffffffffff)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00012e500, 0xc000238600, 0x1194, 0x1194, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/internal/poll/fd_unix.go:169 +0x1f2
net.(*netFD).Read(0xc00012e500, 0xc000238600, 0x1194, 0x1194, 0x203000, 0x21, 0xf0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0000103a8, 0xc000238600, 0x1194, 0x1194, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/net.go:177 +0x69
crypto/tls.(*atLeastReader).Read(0xc00048d6a0, 0xc000238600, 0x1194, 0x1194, 0xc0006909c8, 0x3, 0xc0006909e0)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:761 +0x60
bytes.(*Buffer).ReadFrom(0xc00086a258, 0x16bc580, 0xc00048d6a0, 0x100b505, 0x155e0a0, 0x15c52a0)
	/usr/local/Cellar/go/1.12.8/libexec/src/bytes/buffer.go:207 +0xbd
crypto/tls.(*Conn).readFromUntil(0xc00086a000, 0x20d1008, 0xc0000103a8, 0x5, 0xc0000103a8, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:783 +0xf8
crypto/tls.(*Conn).readRecordOrCCS(0xc00086a000, 0x161f000, 0xc00086a138, 0xc000690c68)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:590 +0x125
crypto/tls.(*Conn).readRecord(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:558
crypto/tls.(*Conn).Read(0xc00086a000, 0xc0006ee000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/crypto/tls/conn.go:1236 +0x137
bufio.(*Reader).Read(0xc0006e8120, 0xc00053a1f8, 0x9, 0x9, 0xc00086a000, 0xc000871000, 0x11)
	/usr/local/Cellar/go/1.12.8/libexec/src/bufio/bufio.go:223 +0x23e
io.ReadAtLeast(0x16bc280, 0xc0006e8120, 0xc00053a1f8, 0x9, 0x9, 0x9, 0x1000, 0x3, 0xc000034570)
	/usr/local/Cellar/go/1.12.8/libexec/src/io/io.go:310 +0x88
io.ReadFull(...)
	/usr/local/Cellar/go/1.12.8/libexec/src/io/io.go:329
net/http.http2readFrameHeader(0xc00053a1f8, 0x9, 0x9, 0x16bc280, 0xc0006e8120, 0x0, 0x0, 0xc0004e5660, 0xc000690dd0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:1476 +0x88
net/http.(*http2Framer).ReadFrame(0xc00053a1c0, 0xc0004e5660, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:1734 +0xa1
net/http.(*http2clientConnReadLoop).run(0xc000690fb8, 0x161e928, 0xc000041fb8)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:8132 +0x8f
net/http.(*http2ClientConn).readLoop(0xc00011fc80)
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:8060 +0x76
created by net/http.(*http2Transport).newClientConn
	/usr/local/Cellar/go/1.12.8/libexec/src/net/http/h2_bundle.go:7123 +0x637

rax    0x104
rbx    0x1ab00
rcx    0x7ffeefbff278
rdx    0x1ab00
rdi    0x1a563e8
rsi    0x1af010001b000
rbp    0x7ffeefbff310
rsp    0x7ffeefbff278
r8     0x0
r9     0x60
r10    0x0
r11    0x202
r12    0x1a563e8
r13    0x7ffeefbff298
r14    0x1
r15    0x7fffb4b5e380
rip    0x7fff7c260a16
rflags 0x203
cs     0x7
fs     0x0
gs     0x0

Please note that I've upgraded golang to to 1.12.8, the above operation was done upon golang 1.12.8.

go version
go version go1.12.8 darwin/amd64
@jayconrod

This comment has been minimized.

Copy link
Contributor

commented Aug 15, 2019

@LinuxGit Thanks. Looks like it's waiting on this command:

git ls-remote -q https://github.com/kubernetes/kubernetes
@bcmills

This comment has been minimized.

Copy link
Member

commented Aug 15, 2019

@LinuxGit, that ps output looks like it's still making progress: the git ls-remote subcommand has been running for less than a quarter of a second, and the go command for less than two seconds.

Please wait until the go command has stopped issuing new subcommands — and until any subcommand that it's stuck on has already taken at least an order of magnitude longer than it should — and repeat that diagnostic.

@LinuxGit

This comment has been minimized.

Copy link

commented Aug 16, 2019

  ps
  PID TTY           TIME CMD
78141 ttys001    0:00.07 /Applications/iTerm.app/Contents/MacOS/iTerm2 --server /usr/bin/login -fpl ruby /Applications/iTerm.app/Contents/MacOS/iTerm2 --laun
78146 ttys001    0:01.76 -zsh
78452 ttys001    0:01.52 go mod init
79060 ttys001    0:00.06 /Library/Developer/CommandLineTools/usr/bin/git -c protocol.version=0 fetch --unshallow -f https://github.com/kubernetes/kubernetes
79061 ttys001    0:05.18 /Library/Developer/CommandLineTools/usr/libexec/git-core/git-remote-https https://github.com/kubernetes/kubernetes https://github.co
79238 ttys001    0:01.00 /Library/Developer/CommandLineTools/usr/libexec/git-core/git fetch-pack --stateless-rpc --stdin --lock-pack --include-tag --thin --n
79418 ttys001    0:03.00 /Library/Developer/CommandLineTools/usr/libexec/git-core/git --shallow-file  index-pack --stdin --fix-thin --keep=fetch-pack 79238 o
78352 ttys002    0:00.05 /Applications/iTerm.app/Contents/MacOS/iTerm2 --server /usr/bin/login -fpl ruby /Applications/iTerm.app/Contents/MacOS/iTerm2 --laun
78354 ttys002    0:02.31 -zsh
51063 ttys003    0:00.07 /Applications/iTerm.app/Contents/MacOS/iTerm2 --server /usr/bin/login -fpl ruby /Applications/iTerm.app/Contents/MacOS/iTerm2 --laun
51065 ttys003    0:02.74 -zsh

go mod init command has run about 6 min.

@bcmills bcmills removed the WaitingForInfo label Aug 16, 2019

@bcmills

This comment has been minimized.

Copy link
Member

commented Aug 16, 2019

That sure looks like the go command is blocked on the git command.

So what are those git commands doing? They're not using much CPU — are they producing disk or network activity? Are they stuck on a network operation? Do the git subprocess PIDs change over time (indicating ongoing git activity)?

Is there anything in your global Git config that changes the way you connect to github.com? (SSH auth or a personal access token or anything like that?)

Is your connection direct, or do you have an HTTPS proxy configured?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.