Created
December 29, 2015 21:47
-
-
Save dnephin/8046cca0b87e2d1b62ee to your computer and use it in GitHub Desktop.
Panic in `glide up`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.5 | |
ARG GLIDE_VERSION=0.8.2 | |
RUN curl -sL \ | |
https://github.com/Masterminds/glide/releases/download/${GLIDE_VERSION}/glide-${GLIDE_VERSION}-linux-amd64.tar.gz | \ | |
tar -xz linux-amd64/glide && \ | |
mv linux-amd64/glide /usr/bin/glide && \ | |
chmod +x /usr/bin/glide | |
WORKDIR /go/src/github.com/dnephin/glide-panic | |
ENV CGO_ENABLED=0 | |
ENV GO15VENDOREXPERIMENT=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package: github.com/dnephin/glide-panic | |
import: | |
- package: github.com/docker/docker | |
version: 8b68853ef5015f5dea9fb5a06e6715d0876a1eef |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
panic: runtime error: index out of range | |
goroutine 1 [running]: | |
github.com/Masterminds/glide/vendor/github.com/Masterminds/vcs.NewHgRepo(0xc8202a5860, 0x22, 0xc8205d9ea0, 0x48, 0xc8202a5801, 0x0, 0x0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/Masterminds/vcs/hg.go:42 +0x549 | |
github.com/Masterminds/glide/vendor/github.com/Masterminds/vcs.NewRepo(0xc8202a5860, 0x22, 0xc8205d9ea0, 0x48, 0x0, 0x0, 0x0, 0x0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/Masterminds/vcs/repo.go:155 +0x25a | |
github.com/Masterminds/glide/cfg.(*Dependency).GetRepo(0xc8201ab5e0, 0xc8205d9ea0, 0x48, 0x0, 0x0, 0x0, 0x0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/cfg/config.go:353 +0x12e | |
github.com/Masterminds/glide/cmd.VcsExists(0xc8201ab5e0, 0xc8205d9ea0, 0x48, 0xc8205d9ea0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/cmd/get_imports.go:251 +0x35 | |
github.com/Masterminds/glide/cmd.flattenGlideUp(0xc8201c6280, 0xc820626be0, 0x44, 0x0, 0x0, 0xc800000000, 0x0, 0x0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/cmd/flatten.go:169 +0x289 | |
github.com/Masterminds/glide/cmd.recFlatten(0xc8201c6280, 0xc8201c6200, 0x0, 0x0, 0x0, 0xc82006f7a0, 0x0, 0x0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/cmd/flatten.go:141 +0x6d6 | |
github.com/Masterminds/glide/cmd.recFlatten(0xc8200ea5f0, 0xc8200ea500, 0x0, 0x0, 0x0, 0xc82006f7a0, 0x0, 0x0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/cmd/flatten.go:148 +0x845 | |
github.com/Masterminds/glide/cmd.recFlatten(0xc820134cb0, 0x0, 0x0, 0x0, 0xc820000000, 0xc82006f7a0, 0x0, 0x0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/cmd/flatten.go:148 +0x845 | |
github.com/Masterminds/glide/cmd.Flatten(0x7f40224c8310, 0xc82016c7e0, 0xc82002c160, 0x0, 0x0, 0x0, 0x0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/cmd/flatten.go:71 +0x1490 | |
github.com/Masterminds/glide/vendor/github.com/Masterminds/cookoo.(*Router).doCommand(0xc820190460, 0xc82016d8f0, 0x7f40224c8310, 0xc82016c7e0, 0x0, 0x0, 0x0, 0x0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/Masterminds/cookoo/router.go:209 +0x86 | |
github.com/Masterminds/glide/vendor/github.com/Masterminds/cookoo.(*Router).runRoute(0xc820190460, 0x9508b0, 0x6, 0x7f40224c8310, 0xc82016c7e0, 0x950800, 0x0, 0x0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/Masterminds/cookoo/router.go:164 +0x4c9 | |
github.com/Masterminds/glide/vendor/github.com/Masterminds/cookoo.(*Router).HandleRequest(0xc820190460, 0x9508b0, 0x6, 0x7f40224c8310, 0xc82016c7e0, 0xc820135000, 0x0, 0x0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/Masterminds/cookoo/router.go:131 +0x2fc | |
main.setupHandler(0xc8200eca20, 0x9508b0, 0x6, 0x7f40224c8310, 0xc82016c7e0, 0xc820190460) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/glide.go:515 +0x48c | |
main.commands.func10(0xc8200eca20) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/glide.go:467 +0x89f | |
github.com/Masterminds/glide/vendor/github.com/codegangsta/cli.Command.Run(0x9508b0, 0x6, 0x9508a8, 0x2, 0x0, 0x0, 0x0, 0x9aaf20, 0x1f, 0xa55c20, ...) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/codegangsta/cli/command.go:137 +0x107e | |
github.com/Masterminds/glide/vendor/github.com/codegangsta/cli.(*App).Run(0xc8200ec7e0, 0xc82000a0a0, 0x2, 0x2, 0x0, 0x0) | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/vendor/github.com/codegangsta/cli/app.go:175 +0xfff | |
main.main() | |
/Users/mfarina/Code/go/src/github.com/Masterminds/glide/glide.go:119 +0x73e | |
goroutine 153 [select]: | |
net/http.(*persistConn).writeLoop(0xc820336160) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:1009 +0x40c | |
created by net/http.(*Transport).dialConn | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:686 +0xc9d | |
goroutine 1919 [select]: | |
net/http.(*persistConn).writeLoop(0xc820360370) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:1009 +0x40c | |
created by net/http.(*Transport).dialConn | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:686 +0xc9d | |
goroutine 152 [IO wait]: | |
net.runtime_pollWait(0x7f40223c9498, 0x72, 0xc820010130) | |
/usr/local/Cellar/go/1.5.2/libexec/src/runtime/netpoll.go:157 +0x60 | |
net.(*pollDesc).Wait(0xc8200d2220, 0x72, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:73 +0x3a | |
net.(*pollDesc).WaitRead(0xc8200d2220, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:78 +0x36 | |
net.(*netFD).Read(0xc8200d21c0, 0xc820482c00, 0x400, 0x400, 0x0, 0x7f4022508050, 0xc820010130) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/fd_unix.go:232 +0x23a | |
net.(*conn).Read(0xc82002c668, 0xc820482c00, 0x400, 0x400, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/net.go:172 +0xe4 | |
crypto/tls.(*block).readFromUntil(0xc82025e090, 0x7f40223c9618, 0xc82002c668, 0x5, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/crypto/tls/conn.go:455 +0xcc | |
crypto/tls.(*Conn).readRecord(0xc820116b00, 0xa4a217, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/crypto/tls/conn.go:540 +0x2d1 | |
crypto/tls.(*Conn).Read(0xc820116b00, 0xc820196000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/crypto/tls/conn.go:901 +0x167 | |
net/http.noteEOFReader.Read(0x7f4022519510, 0xc820116b00, 0xc8203361b8, 0xc820196000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:1370 +0x67 | |
net/http.(*noteEOFReader).Read(0xc820353a60, 0xc820196000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
<autogenerated>:126 +0xd0 | |
bufio.(*Reader).fill(0xc8204e8720) | |
/usr/local/Cellar/go/1.5.2/libexec/src/bufio/bufio.go:97 +0x1e9 | |
bufio.(*Reader).Peek(0xc8204e8720, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/bufio/bufio.go:132 +0xcc | |
net/http.(*persistConn).readLoop(0xc820336160) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:876 +0xf7 | |
created by net/http.(*Transport).dialConn | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:685 +0xc78 | |
goroutine 2401 [select]: | |
net/http.(*persistConn).writeLoop(0xc820146000) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:1009 +0x40c | |
created by net/http.(*Transport).dialConn | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:686 +0xc9d | |
goroutine 312 [select]: | |
net/http.(*persistConn).writeLoop(0xc8201460b0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:1009 +0x40c | |
created by net/http.(*Transport).dialConn | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:686 +0xc9d | |
goroutine 311 [IO wait]: | |
net.runtime_pollWait(0x7f40223c93d8, 0x72, 0xc820010130) | |
/usr/local/Cellar/go/1.5.2/libexec/src/runtime/netpoll.go:157 +0x60 | |
net.(*pollDesc).Wait(0xc82046d800, 0x72, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:73 +0x3a | |
net.(*pollDesc).WaitRead(0xc82046d800, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:78 +0x36 | |
net.(*netFD).Read(0xc82046d7a0, 0xc82022c000, 0x2000, 0x2000, 0x0, 0x7f4022508050, 0xc820010130) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/fd_unix.go:232 +0x23a | |
net.(*conn).Read(0xc82002cc28, 0xc82022c000, 0x2000, 0x2000, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/net.go:172 +0xe4 | |
crypto/tls.(*block).readFromUntil(0xc8202a2e10, 0x7f40223c9618, 0xc82002cc28, 0x5, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/crypto/tls/conn.go:455 +0xcc | |
crypto/tls.(*Conn).readRecord(0xc8204ea000, 0xa4a217, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/crypto/tls/conn.go:540 +0x2d1 | |
crypto/tls.(*Conn).Read(0xc8204ea000, 0xc820126000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/crypto/tls/conn.go:901 +0x167 | |
net/http.noteEOFReader.Read(0x7f4022519510, 0xc8204ea000, 0xc820146108, 0xc820126000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:1370 +0x67 | |
net/http.(*noteEOFReader).Read(0xc82033a340, 0xc820126000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
<autogenerated>:126 +0xd0 | |
bufio.(*Reader).fill(0xc8202abd40) | |
/usr/local/Cellar/go/1.5.2/libexec/src/bufio/bufio.go:97 +0x1e9 | |
bufio.(*Reader).Peek(0xc8202abd40, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/bufio/bufio.go:132 +0xcc | |
net/http.(*persistConn).readLoop(0xc8201460b0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:876 +0xf7 | |
created by net/http.(*Transport).dialConn | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:685 +0xc78 | |
goroutine 2400 [IO wait]: | |
net.runtime_pollWait(0x7f40223c9198, 0x72, 0xc820010130) | |
/usr/local/Cellar/go/1.5.2/libexec/src/runtime/netpoll.go:157 +0x60 | |
net.(*pollDesc).Wait(0xc82046c290, 0x72, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:73 +0x3a | |
net.(*pollDesc).WaitRead(0xc82046c290, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:78 +0x36 | |
net.(*netFD).Read(0xc82046c230, 0xc820145000, 0x1000, 0x1000, 0x0, 0x7f4022508050, 0xc820010130) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/fd_unix.go:232 +0x23a | |
net.(*conn).Read(0xc82002c000, 0xc820145000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/net.go:172 +0xe4 | |
crypto/tls.(*block).readFromUntil(0xc820522210, 0x7f40223c9618, 0xc82002c000, 0x5, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/crypto/tls/conn.go:455 +0xcc | |
crypto/tls.(*Conn).readRecord(0xc8204eab00, 0xa4a217, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/crypto/tls/conn.go:540 +0x2d1 | |
crypto/tls.(*Conn).Read(0xc8204eab00, 0xc820017000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/crypto/tls/conn.go:901 +0x167 | |
net/http.noteEOFReader.Read(0x7f4022519510, 0xc8204eab00, 0xc820146058, 0xc820017000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:1370 +0x67 | |
net/http.(*noteEOFReader).Read(0xc8202565c0, 0xc820017000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
<autogenerated>:126 +0xd0 | |
bufio.(*Reader).fill(0xc8204fea20) | |
/usr/local/Cellar/go/1.5.2/libexec/src/bufio/bufio.go:97 +0x1e9 | |
bufio.(*Reader).Peek(0xc8204fea20, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/bufio/bufio.go:132 +0xcc | |
net/http.(*persistConn).readLoop(0xc820146000) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:876 +0xf7 | |
created by net/http.(*Transport).dialConn | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:685 +0xc78 | |
goroutine 1918 [IO wait]: | |
net.runtime_pollWait(0x7f40223c9318, 0x72, 0xc820010130) | |
/usr/local/Cellar/go/1.5.2/libexec/src/runtime/netpoll.go:157 +0x60 | |
net.(*pollDesc).Wait(0xc82015d2c0, 0x72, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:73 +0x3a | |
net.(*pollDesc).WaitRead(0xc82015d2c0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:78 +0x36 | |
net.(*netFD).Read(0xc82015d260, 0xc82064a000, 0x400, 0x400, 0x0, 0x7f4022508050, 0xc820010130) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/fd_unix.go:232 +0x23a | |
net.(*conn).Read(0xc8200b6eb0, 0xc82064a000, 0x400, 0x400, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/net.go:172 +0xe4 | |
crypto/tls.(*block).readFromUntil(0xc820221770, 0x7f40223c9618, 0xc8200b6eb0, 0x5, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/crypto/tls/conn.go:455 +0xcc | |
crypto/tls.(*Conn).readRecord(0xc820117080, 0xa4a217, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/crypto/tls/conn.go:540 +0x2d1 | |
crypto/tls.(*Conn).Read(0xc820117080, 0xc820545000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/crypto/tls/conn.go:901 +0x167 | |
net/http.noteEOFReader.Read(0x7f4022519510, 0xc820117080, 0xc8203603c8, 0xc820545000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:1370 +0x67 | |
net/http.(*noteEOFReader).Read(0xc8203627e0, 0xc820545000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
<autogenerated>:126 +0xd0 | |
bufio.(*Reader).fill(0xc8200e6900) | |
/usr/local/Cellar/go/1.5.2/libexec/src/bufio/bufio.go:97 +0x1e9 | |
bufio.(*Reader).Peek(0xc8200e6900, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) | |
/usr/local/Cellar/go/1.5.2/libexec/src/bufio/bufio.go:132 +0xcc | |
net/http.(*persistConn).readLoop(0xc820360370) | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:876 +0xf7 | |
created by net/http.(*Transport).dialConn | |
/usr/local/Cellar/go/1.5.2/libexec/src/net/http/transport.go:685 +0xc78 | |
make: *** [deps] Error 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker build -t glide-panic . | |
docker run --rm -ti -v $PWD:/go/src/github.com/dnephin/glide-panic glide-panic glide up | |
sudo chown $USER:$USER -R vendor/ | |
# This time it panics | |
docker run --rm -ti -v $PWD:/go/src/github.com/dnephin/glide-panic glide-panic glide up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment