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 tidy stuck finding dependencies #32421

Open
diogogmt opened this issue Jun 4, 2019 · 4 comments

Comments

Projects
None yet
3 participants
@diogogmt
Copy link

commented Jun 4, 2019

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

go version go1.12.5 darwin/amd64

Does this issue reproduce with the latest release?

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

go env Output
GOARCH="amd64"
GOBIN=""
GOCACHE="/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/go"
GOPROXY=""
GORACE=""
GOROOT="/.gvm/gos/go1.12.5"
GOTMPDIR=""
GOTOOLDIR="/.gvm/gos/go1.12.5/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
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/b2/329xb1jx43vglh8m1kv5mwtc0000gn/T/go-build139959108=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

Ran GO111MODULE=on go mod tidy -v

What did you expect to see?

Expected go.mod and go.sum files to be populated with the project's dependencies.

What did you see instead?

The command would run for ~15s and get stuck at go: finding ...
Ran the same command a few times and got stuck finding different dependencies.

Below follows the stack trace;

Stack trace
Fetching https://github.com?go-get=1
Parsing meta tags from https://github.com?go-get=1 (status code 200)
Fetching https://gopkg.in/gemnasium/logrus-airbrake-hook.v2?go-get=1
go: finding github.com/gogo/protobuf/proto/testdata latest
go: finding github.com/gogo/protobuf/proto latest
Parsing meta tags from https://gopkg.in/gemnasium/logrus-airbrake-hook.v2?go-get=1 (status code 200)
get "gopkg.in/gemnasium/logrus-airbrake-hook.v2": found meta tag get.metaImport{Prefix:"gopkg.in/gemnasium/logrus-airbrake-hook.v2", VCS:"git", RepoRoot:"https://gopkg.in/gemnasium/logrus-airbrake-hook.v2"} at https://gopkg.in/gemnasium/logrus-airbrake-hook.v2?go-get=1
go: finding github.com/ziutek/telnet latest
go: finding github.com/stevvooe/resumable latest
go: finding github.com/Juniper/go-netconf/netconf latest
go: finding github.com/shurcooL/httpfs/vfsutil latest
go: finding github.com/shurcooL/httpfs latest
go: finding github.com/stevvooe/resumable/sha256 latest
go: finding github.com/elazarl/goproxy latest
go: finding github.com/docker/libtrust latest
go: finding github.com/scottdware/go-junos latest
go: finding github.com/gorhill/cronexpr latest
go: finding github.com/xdg/scram latest
Fetching https://upper.io/db.v3/internal/cache/hashstructure?go-get=1
Parsing meta tags from https://upper.io/db.v3/internal/cache/hashstructure?go-get=1 (status code 200)
get "upper.io/db.v3/internal/cache/hashstructure": found meta tag get.metaImport{Prefix:"upper.io/db.v3", VCS:"git", RepoRoot:"https://upper.io/db.v3"} at https://upper.io/db.v3/internal/cache/hashstructure?go-get=1
get "upper.io/db.v3/internal/cache/hashstructure": verifying non-authoritative meta tag
go: finding upper.io/db.v3/internal/cache/hashstructure latest
SIGABRT: abort
PC=0x7fff5eb69270 m=0 sigcode=0

goroutine 0 [idle]:
syscall.syscall(0x10a34e0, 0x7, 0x2, 0x0, 0x0, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/runtime/sys_darwin.go:63 +0x2e fp=0xc000846910 sp=0xc0008468e8 pc=0x104ad7e
syscall.Flock(0x7, 0x2, 0x10c004f, 0xc000284bd0)
/.gvm/gos/go1.12.5/src/syscall/zsyscall_darwin_amd64.go:626 +0x58 fp=0xc000846958 sp=0xc000846910 pc=0x10a0d08
cmd/go/internal/lockedfile/internal/filelock.lock(0x16c6de0, 0xc0003c6e90, 0x2, 0x1b6, 0xc0003c6e90)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/internal/filelock/filelock_unix.go:23 +0x51 fp=0xc0008469b8 sp=0xc000846958 pc=0x11d5881
cmd/go/internal/lockedfile/internal/filelock.Lock(...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/internal/filelock/filelock.go:42
cmd/go/internal/lockedfile.openFile(0xc000284bd0, 0x6a, 0x202, 0x1b6, 0x1, 0xc000284bd0, 0xc000284c35)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/lockedfile_filelock.go:28 +0xa9 fp=0xc000846a28 sp=0xc0008469b8 pc=0x11d6069
cmd/go/internal/lockedfile.OpenFile(0xc000284bd0, 0x6a, 0x202, 0xc0000001b6, 0x2, 0x2, 0xc000284bd0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/lockedfile.go:43 +0x65 fp=0xc000846a78 sp=0xc000846a28 pc=0x11d5c15
cmd/go/internal/lockedfile.(*Mutex).Lock(0xc000846c48, 0xc000284b60, 0x65, 0x15dd932)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/mutex.go:55 +0x55 fp=0xc000846ac8 sp=0xc000846a78 pc=0x11d6415
cmd/go/internal/modfetch/codehost.WorkDir(0x15dd633, 0x4, 0xc0005d1600, 0x20, 0xc000284b60, 0x65, 0xc000284bd0, 0x6a, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/codehost.go:163 +0x4ee fp=0xc000846ce8 sp=0xc000846ac8 pc=0x11f614e
cmd/go/internal/modfetch/codehost.newGitRepo(0xc0005d1600, 0x20, 0xc000931600, 0x0, 0x0, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/git.go:62 +0xe8 fp=0xc000846e60 sp=0xc000846ce8 pc=0x11f8548
cmd/go/internal/modfetch/codehost.newVCSRepo(0x15dd11f, 0x3, 0xc0005d1600, 0x20, 0x0, 0x0, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:85 +0x85b fp=0xc000846f88 sp=0xc000846e60 pc=0x11ff92b
cmd/go/internal/modfetch/codehost.NewRepo.func1(0xc00034f144, 0x1575660)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:54 +0x57 fp=0xc000847018 sp=0xc000846f88 pc=0x1206067
cmd/go/internal/par.(*Cache).Do(0x1a53640, 0x1575660, 0xc00034f120, 0xc0008470c8, 0x18, 0x15dcf6c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3 fp=0xc000847078 sp=0xc000847018 pc=0x11da723
cmd/go/internal/modfetch/codehost.NewRepo(0x15dd11f, 0x3, 0xc0005d1600, 0x20, 0xc00034e340, 0xc00057df00, 0x0, 0x1004226)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:53 +0xed fp=0xc000847100 sp=0xc000847078 pc=0x11ff04d
cmd/go/internal/modfetch.lookupCodeRepo(0xc00057df00, 0x18, 0x1, 0x0, 0xc00057df00)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:241 +0x5e fp=0xc000847190 sp=0xc000847100 pc=0x147fa1e
cmd/go/internal/modfetch.lookup(0xc00072a541, 0x18, 0x1512ba0, 0xc0003c6e80, 0x1b91008, 0xc00034f0c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:233 +0x10d fp=0xc000847238 sp=0xc000847190 pc=0x147f5ed
cmd/go/internal/modfetch.Lookup.func1(0xc00034f0c4, 0x152b3c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:193 +0x45 fp=0xc0008472c8 sp=0xc000847238 pc=0x1483b25
cmd/go/internal/par.(*Cache).Do(0x1a535c0, 0x152b3c0, 0xc00087f9d0, 0xc000847358, 0x22, 0xc0007c2331)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3 fp=0xc000847328 sp=0xc0008472c8 pc=0x11da723
cmd/go/internal/modfetch.Lookup(0xc00072a541, 0x18, 0x100a24d, 0xc0007c2330, 0x7968aa951edb1f95, 0x22)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:192 +0x9a fp=0xc000847380 sp=0xc000847328 pc=0x147f46a
cmd/go/internal/modload.Query(0xc00072a541, 0x18, 0x15de3d4, 0x6, 0x161dbd8, 0x36, 0x1, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:135 +0xd9 fp=0xc000847968 sp=0xc000847380 pc=0x14a0e59
cmd/go/internal/modload.QueryPackage(0xc00072a541, 0x18, 0x15de3d4, 0x6, 0x161dbd8, 0x53, 0x5, 0x0, 0x36, 0x40, ...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:227 +0x1c8 fp=0xc000847a90 sp=0xc000847968 pc=0x14a2f88
cmd/go/internal/modload.Import(0xc00072a541, 0x18, 0x3, 0x0, 0xffffffffffffffff, 0xc00057de40, 0x4, 0x8, 0xc000847f38, 0x11d964c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/import.go:181 +0xa42 fp=0xc000847ed0 sp=0xc000847a90 pc=0x14934a2
cmd/go/internal/modload.(*loader).doPkg(0xc0001d9da0, 0x1556dc0, 0xc0006e7ae0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:618 +0x2f3 fp=0xc000847f70 sp=0xc000847ed0 pc=0x149dac3
cmd/go/internal/modload.(*loader).doPkg-fm(0x1556dc0, 0xc0006e7ae0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:599 +0x3e fp=0xc000847f98 sp=0xc000847f70 pc=0x14a7d8e
cmd/go/internal/par.(*Work).runner(0xc00012a080)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:101 +0x135 fp=0xc000847fd8 sp=0xc000847f98 pc=0x11da5f5
runtime.goexit()
/.gvm/gos/go1.12.5/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc000847fe0 sp=0xc000847fd8 pc=0x1059f41
created by cmd/go/internal/par.(*Work).Do
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 50 [syscall, 1327 minutes]:
syscall.syscall(0x10a34e0, 0x7, 0x2, 0x0, 0x0, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/runtime/sys_darwin.go:63 +0x2e fp=0xc000846910 sp=0xc0008468e8 pc=0x104ad7e
syscall.Flock(0x7, 0x2, 0x10c004f, 0xc000284bd0)
/.gvm/gos/go1.12.5/src/syscall/zsyscall_darwin_amd64.go:626 +0x58 fp=0xc000846958 sp=0xc000846910 pc=0x10a0d08
cmd/go/internal/lockedfile/internal/filelock.lock(0x16c6de0, 0xc0003c6e90, 0x2, 0x1b6, 0xc0003c6e90)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/internal/filelock/filelock_unix.go:23 +0x51 fp=0xc0008469b8 sp=0xc000846958 pc=0x11d5881
cmd/go/internal/lockedfile/internal/filelock.Lock(...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/internal/filelock/filelock.go:42
cmd/go/internal/lockedfile.openFile(0xc000284bd0, 0x6a, 0x202, 0x1b6, 0x1, 0xc000284bd0, 0xc000284c35)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/lockedfile_filelock.go:28 +0xa9 fp=0xc000846a28 sp=0xc0008469b8 pc=0x11d6069
cmd/go/internal/lockedfile.OpenFile(0xc000284bd0, 0x6a, 0x202, 0xc0000001b6, 0x2, 0x2, 0xc000284bd0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/lockedfile.go:43 +0x65 fp=0xc000846a78 sp=0xc000846a28 pc=0x11d5c15
cmd/go/internal/lockedfile.(*Mutex).Lock(0xc000846c48, 0xc000284b60, 0x65, 0x15dd932)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/mutex.go:55 +0x55 fp=0xc000846ac8 sp=0xc000846a78 pc=0x11d6415
cmd/go/internal/modfetch/codehost.WorkDir(0x15dd633, 0x4, 0xc0005d1600, 0x20, 0xc000284b60, 0x65, 0xc000284bd0, 0x6a, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/codehost.go:163 +0x4ee fp=0xc000846ce8 sp=0xc000846ac8 pc=0x11f614e
cmd/go/internal/modfetch/codehost.newGitRepo(0xc0005d1600, 0x20, 0xc000931600, 0x0, 0x0, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/git.go:62 +0xe8 fp=0xc000846e60 sp=0xc000846ce8 pc=0x11f8548
cmd/go/internal/modfetch/codehost.newVCSRepo(0x15dd11f, 0x3, 0xc0005d1600, 0x20, 0x0, 0x0, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:85 +0x85b fp=0xc000846f88 sp=0xc000846e60 pc=0x11ff92b
cmd/go/internal/modfetch/codehost.NewRepo.func1(0xc00034f144, 0x1575660)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:54 +0x57 fp=0xc000847018 sp=0xc000846f88 pc=0x1206067
cmd/go/internal/par.(*Cache).Do(0x1a53640, 0x1575660, 0xc00034f120, 0xc0008470c8, 0x18, 0x15dcf6c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3 fp=0xc000847078 sp=0xc000847018 pc=0x11da723
cmd/go/internal/modfetch/codehost.NewRepo(0x15dd11f, 0x3, 0xc0005d1600, 0x20, 0xc00034e340, 0xc00057df00, 0x0, 0x1004226)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:53 +0xed fp=0xc000847100 sp=0xc000847078 pc=0x11ff04d
cmd/go/internal/modfetch.lookupCodeRepo(0xc00057df00, 0x18, 0x1, 0x0, 0xc00057df00)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:241 +0x5e fp=0xc000847190 sp=0xc000847100 pc=0x147fa1e
cmd/go/internal/modfetch.lookup(0xc00072a541, 0x18, 0x1512ba0, 0xc0003c6e80, 0x1b91008, 0xc00034f0c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:233 +0x10d fp=0xc000847238 sp=0xc000847190 pc=0x147f5ed
cmd/go/internal/modfetch.Lookup.func1(0xc00034f0c4, 0x152b3c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:193 +0x45 fp=0xc0008472c8 sp=0xc000847238 pc=0x1483b25
cmd/go/internal/par.(*Cache).Do(0x1a535c0, 0x152b3c0, 0xc00087f9d0, 0xc000847358, 0x22, 0xc0007c2331)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3 fp=0xc000847328 sp=0xc0008472c8 pc=0x11da723
cmd/go/internal/modfetch.Lookup(0xc00072a541, 0x18, 0x100a24d, 0xc0007c2330, 0x7968aa951edb1f95, 0x22)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:192 +0x9a fp=0xc000847380 sp=0xc000847328 pc=0x147f46a
cmd/go/internal/modload.Query(0xc00072a541, 0x18, 0x15de3d4, 0x6, 0x161dbd8, 0x36, 0x1, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:135 +0xd9 fp=0xc000847968 sp=0xc000847380 pc=0x14a0e59
cmd/go/internal/modload.QueryPackage(0xc00072a541, 0x18, 0x15de3d4, 0x6, 0x161dbd8, 0x53, 0x5, 0x0, 0x36, 0x40, ...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:227 +0x1c8 fp=0xc000847a90 sp=0xc000847968 pc=0x14a2f88
cmd/go/internal/modload.Import(0xc00072a541, 0x18, 0x3, 0x0, 0xffffffffffffffff, 0xc00057de40, 0x4, 0x8, 0xc000847f38, 0x11d964c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/import.go:181 +0xa42 fp=0xc000847ed0 sp=0xc000847a90 pc=0x14934a2
cmd/go/internal/modload.(*loader).doPkg(0xc0001d9da0, 0x1556dc0, 0xc0006e7ae0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:618 +0x2f3 fp=0xc000847f70 sp=0xc000847ed0 pc=0x149dac3
cmd/go/internal/modload.(*loader).doPkg-fm(0x1556dc0, 0xc0006e7ae0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:599 +0x3e fp=0xc000847f98 sp=0xc000847f70 pc=0x14a7d8e
cmd/go/internal/par.(*Work).runner(0xc00012a080)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:101 +0x135 fp=0xc000847fd8 sp=0xc000847f98 pc=0x11da5f5
runtime.goexit()
/.gvm/gos/go1.12.5/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc000847fe0 sp=0xc000847fd8 pc=0x1059f41
created by cmd/go/internal/par.(*Work).Do
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 1 [syscall, 1327 minutes]:
syscall.syscall(0x10a34e0, 0xc, 0x2, 0x0, 0x0, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/runtime/sys_darwin.go:63 +0x2e
syscall.Flock(0xc, 0x2, 0x10c004f, 0xc0003f8700)
/.gvm/gos/go1.12.5/src/syscall/zsyscall_darwin_amd64.go:626 +0x58
cmd/go/internal/lockedfile/internal/filelock.lock(0x16c6de0, 0xc0003c6388, 0x2, 0x1b6, 0xc0003c6388)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/internal/filelock/filelock_unix.go:23 +0x51
cmd/go/internal/lockedfile/internal/filelock.Lock(...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/internal/filelock/filelock.go:42
cmd/go/internal/lockedfile.openFile(0xc0003f8700, 0x6a, 0x202, 0x1b6, 0x1, 0xc0003f8700, 0xc0003f8765)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/lockedfile_filelock.go:28 +0xa9
cmd/go/internal/lockedfile.OpenFile(0xc0003f8700, 0x6a, 0x202, 0xc0000001b6, 0x2, 0x2, 0xc0003f8700)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/lockedfile.go:43 +0x65
cmd/go/internal/lockedfile.(*Mutex).Lock(0xc0004262a0, 0xc0004009a0, 0x65, 0x15dd932)
/.gvm/gos/go1.12.5/src/cmd/go/internal/lockedfile/mutex.go:55 +0x55
cmd/go/internal/modfetch/codehost.WorkDir(0x15dd633, 0x4, 0xc000026b80, 0x1e, 0xc0004009a0, 0x65, 0xc0003f8700, 0x6a, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/codehost.go:163 +0x4ee
cmd/go/internal/modfetch/codehost.newGitRepo(0xc000026b80, 0x1e, 0x37c33e1bf9351200, 0x0, 0x0, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/git.go:62 +0xe8
cmd/go/internal/modfetch/codehost.newVCSRepo(0x15dd11f, 0x3, 0xc000026b80, 0x1e, 0x0, 0x0, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:85 +0x85b
cmd/go/internal/modfetch/codehost.NewRepo.func1(0xc0000ad3a4, 0x1575660)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:54 +0x57
cmd/go/internal/par.(*Cache).Do(0x1a53640, 0x1575660, 0xc0000ad380, 0xc000426720, 0x21, 0x15dcf6c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3
cmd/go/internal/modfetch/codehost.NewRepo(0x15dd11f, 0x3, 0xc000026b80, 0x1e, 0x12, 0xc000020e80, 0x0, 0x1004226)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:53 +0xed
cmd/go/internal/modfetch.lookupCodeRepo(0xc000020e80, 0x21, 0x1, 0x0, 0xc000020e80)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:241 +0x5e
cmd/go/internal/modfetch.lookup(0xc0005e6a21, 0x21, 0x1512ba0, 0xc000010420, 0x1b916d0, 0xc0000ad2c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:233 +0x10d
cmd/go/internal/modfetch.Lookup.func1(0xc0000ad2c4, 0x152b3c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:193 +0x45
cmd/go/internal/par.(*Cache).Do(0x1a535c0, 0x152b3c0, 0xc00010da90, 0xc0000f29b0, 0x2, 0xffffffffffffffff)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3
cmd/go/internal/modfetch.Lookup(0xc0005e6a21, 0x21, 0x1a5a5c0, 0x53b31c8, 0xc0000f2aa8, 0x120ade2)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:192 +0x9a
cmd/go/internal/modload.Query(0xc0005e6a21, 0x21, 0x15de3d4, 0x6, 0x161dbd8, 0x36, 0x1, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:135 +0xd9
cmd/go/internal/modload.QueryPackage(0xc0005e6a21, 0x21, 0x15de3d4, 0x6, 0x161dbd8, 0x35, 0x2, 0x0, 0x117, 0x200, ...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:227 +0x1c8
cmd/go/internal/modload.Import(0xc0005e6a21, 0x21, 0x3, 0x0, 0xffffffffffffffff, 0xc000020d40, 0x4, 0x8, 0xc0000f3590, 0x11d964c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/import.go:181 +0xa42
cmd/go/internal/modload.(*loader).doPkg(0xc0001d9da0, 0x1556dc0, 0xc000259e00)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:618 +0x2f3
cmd/go/internal/par.(*Work).runner(0xc00012a080)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:101 +0x135
cmd/go/internal/par.(*Work).Do(0xc00012a080, 0xa, 0xc0003f7c80)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:69 +0xbf
cmd/go/internal/modload.(*loader).load(0xc0001d9da0, 0xc000427a60)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:507 +0x6fd
cmd/go/internal/modload.loadAll(0xc3e8b001, 0x8, 0x161ec78, 0xc000139b08)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:321 +0x19e
cmd/go/internal/modload.LoadALL(...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:299
cmd/go/internal/modcmd.runTidy(0x1a49860, 0xc0000200f0, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modcmd/tidy.go:48 +0xb2
main.main()
/.gvm/gos/go1.12.5/src/cmd/go/main.go:219 +0x7a4

goroutine 3 [syscall, 1327 minutes]:
os/signal.signal_recv(0x0)
/.gvm/gos/go1.12.5/src/runtime/sigqueue.go:139 +0x9f
os/signal.loop()
/.gvm/gos/go1.12.5/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
/.gvm/gos/go1.12.5/src/os/signal/signal_unix.go:29 +0x41

goroutine 51 [semacquire, 1327 minutes]:
sync.runtime_SemacquireMutex(0xc0000ad3a8, 0xc000586b00)
/.gvm/gos/go1.12.5/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc0000ad3a4)
/.gvm/gos/go1.12.5/src/sync/mutex.go:134 +0x109
cmd/go/internal/par.(*Cache).Do(0x1a53640, 0x1575660, 0xc000586b60, 0xc0000ef0c8, 0x1d, 0x15dcf6c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:126 +0xa9
cmd/go/internal/modfetch/codehost.NewRepo(0x15dd11f, 0x3, 0xc00050a8c0, 0x1e, 0x6869a3b527916fd8, 0xc00023f0c0, 0x0, 0x1004226)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:53 +0xed
cmd/go/internal/modfetch.lookupCodeRepo(0xc00023f0c0, 0x1d, 0x1, 0x0, 0xc00023f0c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:241 +0x5e
cmd/go/internal/modfetch.lookup(0xc00050a921, 0x1d, 0x1512ba0, 0xc0003f52f0, 0x1b93f80, 0xc000586b00)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:233 +0x10d
cmd/go/internal/modfetch.Lookup.func1(0xc000586b04, 0x152b3c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:193 +0x45
cmd/go/internal/par.(*Cache).Do(0x1a535c0, 0x152b3c0, 0xc0003a6e10, 0xc0000ef358, 0x20, 0xb4bd438e9f4c9e6b)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3
cmd/go/internal/modfetch.Lookup(0xc00050a921, 0x1d, 0x0, 0x1000000000000, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:192 +0x9a
cmd/go/internal/modload.Query(0xc00050a921, 0x1d, 0x15de3d4, 0x6, 0x161dbd8, 0x36, 0x1, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:135 +0xd9
cmd/go/internal/modload.QueryPackage(0xc00050a921, 0x1d, 0x15de3d4, 0x6, 0x161dbd8, 0x39, 0x9, 0x0, 0xd5, 0x100, ...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:227 +0x1c8
cmd/go/internal/modload.Import(0xc00050a921, 0x1d, 0x3, 0x0, 0xffffffffffffffff, 0xc00023efc0, 0x4, 0x8, 0xc0000eff38, 0x11d964c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/import.go:181 +0xa42
cmd/go/internal/modload.(*loader).doPkg(0xc0001d9da0, 0x1556dc0, 0xc0006e6be0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:618 +0x2f3
cmd/go/internal/par.(*Work).runner(0xc00012a080)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:101 +0x135
created by cmd/go/internal/par.(*Work).Do
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 52 [semacquire, 1327 minutes]:
sync.runtime_SemacquireMutex(0xc0000ad3a8, 0xc0002a0b00)
/.gvm/gos/go1.12.5/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc0000ad3a4)
/.gvm/gos/go1.12.5/src/sync/mutex.go:134 +0x109
cmd/go/internal/par.(*Cache).Do(0x1a53640, 0x1575660, 0xc0002a0b20, 0xc0003490c8, 0x1f, 0x15dcf6c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:126 +0xa9
cmd/go/internal/modfetch/codehost.NewRepo(0x15dd11f, 0x3, 0xc000543260, 0x1e, 0x1015245, 0xc000021d80, 0x0, 0x1004226)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:53 +0xed
cmd/go/internal/modfetch.lookupCodeRepo(0xc000021d80, 0x1f, 0x1, 0x0, 0xc000021d80)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:241 +0x5e
cmd/go/internal/modfetch.lookup(0xc00044dcb1, 0x1f, 0x1512ba0, 0xc00050cab8, 0x1b916d0, 0xc0002a0aa0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:233 +0x10d
cmd/go/internal/modfetch.Lookup.func1(0xc0002a0aa4, 0x152b3c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:193 +0x45
cmd/go/internal/par.(*Cache).Do(0x1a535c0, 0x152b3c0, 0xc0003a7f90, 0xc000349358, 0x190, 0x190)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3
cmd/go/internal/modfetch.Lookup(0xc00044dcb1, 0x1f, 0x1f, 0xc00067f800, 0x20, 0x20)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:192 +0x9a
cmd/go/internal/modload.Query(0xc00044dcb1, 0x1f, 0x15de3d4, 0x6, 0x161dbd8, 0x36, 0x1, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:135 +0xd9
cmd/go/internal/modload.QueryPackage(0xc00044dcb1, 0x1f, 0x15de3d4, 0x6, 0x161dbd8, 0x88, 0x1, 0x0, 0x1fa, 0x200, ...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:227 +0x1c8
cmd/go/internal/modload.Import(0xc00044dcb1, 0x1f, 0x3, 0x0, 0xffffffffffffffff, 0xc000021cc0, 0x4, 0x8, 0xc000349f38, 0x11d964c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/import.go:181 +0xa42
cmd/go/internal/modload.(*loader).doPkg(0xc0001d9da0, 0x1556dc0, 0xc0006e6aa0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:618 +0x2f3
cmd/go/internal/par.(*Work).runner(0xc00012a080)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:101 +0x135
created by cmd/go/internal/par.(*Work).Do
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 53 [semacquire, 1327 minutes]:
sync.runtime_SemacquireMutex(0xc0000ad3a8, 0xc0005ec400)
/.gvm/gos/go1.12.5/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc0000ad3a4)
/.gvm/gos/go1.12.5/src/sync/mutex.go:134 +0x109
cmd/go/internal/par.(*Cache).Do(0x1a53640, 0x1575660, 0xc0005ec440, 0xc00042b0c8, 0x1c, 0x15dcf6c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:126 +0xa9
cmd/go/internal/modfetch/codehost.NewRepo(0x15dd11f, 0x3, 0xc0006a2200, 0x1e, 0x1b92b28, 0xc000308340, 0x0, 0x1004226)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:53 +0xed
cmd/go/internal/modfetch.lookupCodeRepo(0xc000308340, 0x1c, 0x1, 0x0, 0xc000308340)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:241 +0x5e
cmd/go/internal/modfetch.lookup(0xc0003f2741, 0x1c, 0x1512ba0, 0xc0000be498, 0x1b92b28, 0xc0005ec3c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:233 +0x10d
cmd/go/internal/modfetch.Lookup.func1(0xc0005ec3c4, 0x152b3c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:193 +0x45
cmd/go/internal/par.(*Cache).Do(0x1a535c0, 0x152b3c0, 0xc0004ba7c0, 0xc00042b358, 0x1a71b60, 0x1482040)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3
cmd/go/internal/modfetch.Lookup(0xc0003f2741, 0x1c, 0x13, 0xc000550050, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:192 +0x9a
cmd/go/internal/modload.Query(0xc0003f2741, 0x1c, 0x15de3d4, 0x6, 0x161dbd8, 0x36, 0x1, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:135 +0xd9
cmd/go/internal/modload.QueryPackage(0xc0003f2741, 0x1c, 0x15de3d4, 0x6, 0x161dbd8, 0xc0003d6941, 0xe, 0xc000517900, 0x13, 0xc000550050, ...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:227 +0x1c8
cmd/go/internal/modload.Import(0xc0003f2741, 0x1c, 0x3, 0x0, 0xffffffffffffffff, 0xc0003bc080, 0x8, 0x10, 0xc00042bf38, 0x11d964c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/import.go:181 +0xa42
cmd/go/internal/modload.(*loader).doPkg(0xc0001d9da0, 0x1556dc0, 0xc000259b80)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:618 +0x2f3
cmd/go/internal/par.(*Work).runner(0xc00012a080)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:101 +0x135
created by cmd/go/internal/par.(*Work).Do
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 54 [semacquire, 1327 minutes]:
sync.runtime_SemacquireMutex(0xc0000ad3a8, 0xc0004b9a00)
/.gvm/gos/go1.12.5/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc0000ad3a4)
/.gvm/gos/go1.12.5/src/sync/mutex.go:134 +0x109
cmd/go/internal/par.(*Cache).Do(0x1a53640, 0x1575660, 0xc0004b9ae0, 0xc0007350c8, 0x23, 0x15dcf6c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:126 +0xa9
cmd/go/internal/modfetch/codehost.NewRepo(0x15dd11f, 0x3, 0xc0003d7b20, 0x1e, 0x100e6f2, 0xc00057c1c0, 0x0, 0x1004226)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:53 +0xed
cmd/go/internal/modfetch.lookupCodeRepo(0xc00057c1c0, 0x23, 0x1, 0x0, 0xc00057c1c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:241 +0x5e
cmd/go/internal/modfetch.lookup(0xc00085cbd1, 0x23, 0x1512ba0, 0xc0003ce5b0, 0x1b91008, 0xc0004b9a20)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:233 +0x10d
cmd/go/internal/modfetch.Lookup.func1(0xc0004b9a24, 0x152b3c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:193 +0x45
cmd/go/internal/par.(*Cache).Do(0x1a535c0, 0x152b3c0, 0xc00087e810, 0xc000735358, 0x1a71b60, 0x1482040)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3
cmd/go/internal/modfetch.Lookup(0xc00085cbd1, 0x23, 0x13, 0xc000550230, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:192 +0x9a
cmd/go/internal/modload.Query(0xc00085cbd1, 0x23, 0x15de3d4, 0x6, 0x161dbd8, 0x36, 0x1, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:135 +0xd9
cmd/go/internal/modload.QueryPackage(0xc00085cbd1, 0x23, 0x15de3d4, 0x6, 0x161dbd8, 0xc0003357a1, 0xe, 0xc000517900, 0x13, 0xc000550230, ...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:227 +0x1c8
cmd/go/internal/modload.Import(0xc00085cbd1, 0x23, 0x3, 0x0, 0xffffffffffffffff, 0xc0004b99c0, 0x2, 0x4, 0xc000735f38, 0x11d964c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/import.go:181 +0xa42
cmd/go/internal/modload.(*loader).doPkg(0xc0001d9da0, 0x1556dc0, 0xc00092eaa0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:618 +0x2f3
cmd/go/internal/par.(*Work).runner(0xc00012a080)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:101 +0x135
created by cmd/go/internal/par.(*Work).Do
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 55 [semacquire, 1327 minutes]:
sync.runtime_SemacquireMutex(0xc0000ad3a8, 0xc000290400)
/.gvm/gos/go1.12.5/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc0000ad3a4)
/.gvm/gos/go1.12.5/src/sync/mutex.go:134 +0x109
cmd/go/internal/par.(*Cache).Do(0x1a53640, 0x1575660, 0xc0002904a0, 0xc0003450c8, 0x22, 0x15dcf6c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:126 +0xa9
cmd/go/internal/modfetch/codehost.NewRepo(0x15dd11f, 0x3, 0xc000459060, 0x1e, 0xc000290160, 0xc0000cd0c0, 0x0, 0x1004226)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:53 +0xed
cmd/go/internal/modfetch.lookupCodeRepo(0xc0000cd0c0, 0x22, 0x1, 0x0, 0xc0000cd0c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:241 +0x5e
cmd/go/internal/modfetch.lookup(0xc00029cdb1, 0x22, 0x1512ba0, 0xc0003f53c8, 0x1b92460, 0xc000290400)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:233 +0x10d
cmd/go/internal/modfetch.Lookup.func1(0xc000290404, 0x152b3c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:193 +0x45
cmd/go/internal/par.(*Cache).Do(0x1a535c0, 0x152b3c0, 0xc00032a950, 0xc000345358, 0x22, 0xc0007c20f1)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3
cmd/go/internal/modfetch.Lookup(0xc00029cdb1, 0x22, 0x100a24d, 0xc0007c20f0, 0xd22629b20a5deb25, 0x22)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:192 +0x9a
cmd/go/internal/modload.Query(0xc00029cdb1, 0x22, 0x15de3d4, 0x6, 0x161dbd8, 0x36, 0x1, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:135 +0xd9
cmd/go/internal/modload.QueryPackage(0xc00029cdb1, 0x22, 0x15de3d4, 0x6, 0x161dbd8, 0x58, 0x5, 0x0, 0x1a1, 0x200, ...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:227 +0x1c8
cmd/go/internal/modload.Import(0xc00029cdb1, 0x22, 0x3, 0x0, 0xffffffffffffffff, 0xc00012a000, 0x8, 0x10, 0xc000345f38, 0x11d964c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/import.go:181 +0xa42
cmd/go/internal/modload.(*loader).doPkg(0xc0001d9da0, 0x1556dc0, 0xc000674e60)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:618 +0x2f3
cmd/go/internal/par.(*Work).runner(0xc00012a080)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:101 +0x135
created by cmd/go/internal/par.(*Work).Do
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 56 [semacquire, 1327 minutes]:
sync.runtime_SemacquireMutex(0xc0000ad3a8, 0xc00010da00)
/.gvm/gos/go1.12.5/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc0000ad3a4)
/.gvm/gos/go1.12.5/src/sync/mutex.go:134 +0x109
cmd/go/internal/par.(*Cache).Do(0x1a53640, 0x1575660, 0xc0003d5540, 0xc0003430c8, 0x21, 0x15dcf6c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:126 +0xa9
cmd/go/internal/modfetch/codehost.NewRepo(0x15dd11f, 0x3, 0xc00011b5c0, 0x1e, 0x0, 0xc00023e840, 0x0, 0x1004226)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:53 +0xed
cmd/go/internal/modfetch.lookupCodeRepo(0xc00023e840, 0x21, 0x1, 0x0, 0xc00023e840)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:241 +0x5e
cmd/go/internal/modfetch.lookup(0xc0005e6991, 0x21, 0x1512ba0, 0xc0003f5080, 0x1b92b28, 0xc0003d5460)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:233 +0x10d
cmd/go/internal/modfetch.Lookup.func1(0xc0003d5464, 0x152b3c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:193 +0x45
cmd/go/internal/par.(*Cache).Do(0x1a535c0, 0x152b3c0, 0xc000503930, 0xc000343358, 0x2, 0xffffffffffffffff)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3
cmd/go/internal/modfetch.Lookup(0xc0005e6991, 0x21, 0x0, 0x0, 0xc000343450, 0x120ade2)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:192 +0x9a
cmd/go/internal/modload.Query(0xc0005e6991, 0x21, 0x15de3d4, 0x6, 0x161dbd8, 0x36, 0x1, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:135 +0xd9
cmd/go/internal/modload.QueryPackage(0xc0005e6991, 0x21, 0x15de3d4, 0x6, 0x161dbd8, 0x4d, 0x1, 0x0, 0x34b, 0x400, ...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:227 +0x1c8
cmd/go/internal/modload.Import(0xc0005e6991, 0x21, 0x3, 0x0, 0xffffffffffffffff, 0xc0003f5078, 0x0, 0x1, 0xc000343f38, 0x11d964c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/import.go:181 +0xa42
cmd/go/internal/modload.(*loader).doPkg(0xc0001d9da0, 0x1556dc0, 0xc000259cc0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:618 +0x2f3
cmd/go/internal/par.(*Work).runner(0xc00012a080)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:101 +0x135
created by cmd/go/internal/par.(*Work).Do
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 57 [semacquire, 1327 minutes]:
sync.runtime_SemacquireMutex(0xc0000ad3a8, 0xc000444d00)
/.gvm/gos/go1.12.5/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc0000ad3a4)
/.gvm/gos/go1.12.5/src/sync/mutex.go:134 +0x109
cmd/go/internal/par.(*Cache).Do(0x1a53640, 0x1575660, 0xc000444da0, 0xc0007390c8, 0x16, 0x15dcf6c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:126 +0xa9
cmd/go/internal/modfetch/codehost.NewRepo(0x15dd11f, 0x3, 0xc0005d09e0, 0x1e, 0xc0001a52b8, 0xc00023f600, 0x0, 0x1)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:53 +0xed
cmd/go/internal/modfetch.lookupCodeRepo(0xc00023f600, 0x16, 0x1, 0x0, 0xc00023f600)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:241 +0x5e
cmd/go/internal/modfetch.lookup(0xc0005fb5a1, 0x16, 0x1512ba0, 0xc0003c6c18, 0x1b93f80, 0xc000444d40)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:233 +0x10d
cmd/go/internal/modfetch.Lookup.func1(0xc000444d44, 0x152b3c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:193 +0x45
cmd/go/internal/par.(*Cache).Do(0x1a535c0, 0x152b3c0, 0xc000834e40, 0xc000739358, 0xc000739390, 0x101937e)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3
cmd/go/internal/modfetch.Lookup(0xc0005fb5a1, 0x16, 0x100a24d, 0xc00085c690, 0x457e12c40ba0863, 0x22)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:192 +0x9a
cmd/go/internal/modload.Query(0xc0005fb5a1, 0x16, 0x15de3d4, 0x6, 0x161dbd8, 0x36, 0x1, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:135 +0xd9
cmd/go/internal/modload.QueryPackage(0xc0005fb5a1, 0x16, 0x15de3d4, 0x6, 0x161dbd8, 0x69, 0x2, 0x0, 0x11b, 0x200, ...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:227 +0x1c8
cmd/go/internal/modload.Import(0xc0005fb5a1, 0x16, 0x3, 0x0, 0xffffffffffffffff, 0xc000834e30, 0x1, 0x2, 0xc000739f38, 0x11d964c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/import.go:181 +0xa42
cmd/go/internal/modload.(*loader).doPkg(0xc0001d9da0, 0x1556dc0, 0xc00080b360)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:618 +0x2f3
cmd/go/internal/par.(*Work).runner(0xc00012a080)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:101 +0x135
created by cmd/go/internal/par.(*Work).Do
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:67 +0x9b

goroutine 58 [semacquire, 1327 minutes]:
sync.runtime_SemacquireMutex(0xc0000ad3a8, 0xc0004d1d00)
/.gvm/gos/go1.12.5/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc0000ad3a4)
/.gvm/gos/go1.12.5/src/sync/mutex.go:134 +0x109
cmd/go/internal/par.(*Cache).Do(0x1a53640, 0x1575660, 0xc0004d1d80, 0xc00084b0c8, 0x23, 0x15dcf6c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:126 +0xa9
cmd/go/internal/modfetch/codehost.NewRepo(0x15dd11f, 0x3, 0xc00067fda0, 0x1e, 0xc0001a5428, 0xc000309c80, 0x0, 0x2)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/codehost/vcs.go:53 +0xed
cmd/go/internal/modfetch.lookupCodeRepo(0xc000309c80, 0x23, 0x1, 0x0, 0xc000309c80)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:241 +0x5e
cmd/go/internal/modfetch.lookup(0xc0002a2f91, 0x23, 0x1512ba0, 0xc0003cf320, 0x1b916d0, 0xc0004d1c20)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:233 +0x10d
cmd/go/internal/modfetch.Lookup.func1(0xc0004d1c24, 0x152b3c0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:193 +0x45
cmd/go/internal/par.(*Cache).Do(0x1a535c0, 0x152b3c0, 0xc0006c81b0, 0xc00084b358, 0x2, 0xffffffffffffffff)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:128 +0xd3
cmd/go/internal/modfetch.Lookup(0xc0002a2f91, 0x23, 0x100a24d, 0xc0007c29f0, 0xc00084b450, 0x120ade2)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modfetch/repo.go:192 +0x9a
cmd/go/internal/modload.Query(0xc0002a2f91, 0x23, 0x15de3d4, 0x6, 0x161dbd8, 0x36, 0x1, 0x0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:135 +0xd9
cmd/go/internal/modload.QueryPackage(0xc0002a2f91, 0x23, 0x15de3d4, 0x6, 0x161dbd8, 0x55, 0x1, 0x0, 0x54, 0x80, ...)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/query.go:227 +0x1c8
cmd/go/internal/modload.Import(0xc0002a2f91, 0x23, 0x3, 0x0, 0xffffffffffffffff, 0xc000309bc0, 0x4, 0x8, 0xc00084bf38, 0x11d964c)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/import.go:181 +0xa42
cmd/go/internal/modload.(*loader).doPkg(0xc0001d9da0, 0x1556dc0, 0xc0004d35e0)
/.gvm/gos/go1.12.5/src/cmd/go/internal/modload/load.go:618 +0x2f3
cmd/go/internal/par.(*Work).runner(0xc00012a080)
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:101 +0x135
created by cmd/go/internal/par.(*Work).Do
/.gvm/gos/go1.12.5/src/cmd/go/internal/par/work.go:67 +0x9b

rax 0x2000083
rbx 0xc000846910
rcx 0x7ffeefbfecd8
rdx 0x0
rdi 0x7
rsi 0x2
rbp 0x7ffeefbfecf0
rsp 0x7ffeefbfecd8
r8 0xc00048ec00
r9 0x0
r10 0x10a34e0
r11 0x246
r12 0xc
r13 0x32
r14 0x16ac6f0
r15 0x0
rip 0x7fff5eb69270
rflags 0x246
cs 0x7
fs 0x0
gs 0x0

Please advise if there are other ways to get more insights on why the command is not completing.

@agnivade agnivade changed the title Go mod tidy stuck finding dependencies cmd/go: mod tidy stuck finding dependencies Jun 4, 2019

@agnivade

This comment has been minimized.

Copy link
Member

commented Jun 4, 2019

Can you provide us with a sample repo to reproduce this issue ?

@bcmills @jayconrod

@bcmills

This comment has been minimized.

Copy link
Member

commented Jun 5, 2019

That stack trace is helpful, thanks for including it.

This particular block is interesting:

goroutine 1 [syscall, 1327 minutes]:
syscall.syscall(0x10a34e0, 0xc, 0x2, 0x0, 0x0, 0x0, 0x0)
/.gvm/gos/go1.12.5/src/runtime/sys_darwin.go:63 +0x2e
syscall.Flock(0xc, 0x2, 0x10c004f, 0xc0003f8700)

That indicates that the go command is waiting on a file-lock, which is presumably held by some other process or goroutine. It guards a git directory, so the most likely holder of that file lock is another go command blocked on a git subprocess.

I'd like to rule out a lock-ordering bug or other deadlock within the go command. The next time this happens, could you try running pgrep -x go -a and pgrep -x git -a and see what else is running? (But please redact any sensitive paths before posting the output.)

@bcmills bcmills added this to the Go1.13 milestone Jun 5, 2019

@bcmills bcmills self-assigned this Jun 5, 2019

@diogogmt

This comment has been minimized.

Copy link
Author

commented Jun 18, 2019

@bcmills

To workaround the problem I ran GO111MODULE=on go mod tidy -v on an environment that had a clean GOPATH.
I sill hit some errors, however, in this case the go command returned a more descriptive error message instead of locking (invalid import paths)

I'll try to run the same command on the environment where I had other dependencies downloaded on the GOPATH and share back the output of pgrep -x git -a & pgrep -x go -a

@bcmills bcmills removed the WaitingForInfo label Jun 18, 2019

@bcmills

This comment has been minimized.

Copy link
Member

commented Jun 18, 2019

Thanks for the update. Keep us posted on what you find with pgrep!

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