img icon indicating copy to clipboard operation
img copied to clipboard

Not able to build simple docker file

Open astrixj opened this issue 4 years ago • 9 comments

I've upgrade to the latest version v0.5.10 and there is a big regression as the following simple docker doesnt works

os: debian:buster

img build -t test .

FROM alpine:3.11

RUN apk update
RUN apk add vim
RUN apk add curl

This happen also with other docker files which works with version v0.5.7

This is the error

Setting up the rootfs... this may take a bit.
WARN[0000] Process sandbox is not available, consider unmasking procfs: mount: /proc: permission denied. 
WARN[0000] using host network as the default            
[+] Building 8.6s (2/3)                                                                                                                                                                  
 => [internal] load build definition from Dockerfile                                                                                                                                0.0s
 => => transferring dockerfile: 101B                                                                                                                                                0.0s
 => [internal] load .dockerignore                                                                                                                                                   0.0s
 => => transferring context: 104B                                                                                                                                                   0.0s
 => [internal] load metadata for docker.io/library/alpine:3.4                                                                                                                       8.5s
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xe5 pc=0x7f3d8c20a270]

runtime stack:
runtime.throw(0x116b440, 0x2a)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/panic.go:774 +0x72
runtime.sigpanic()
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/signal_unix.go:378 +0x47c

goroutine 458 [syscall]:
runtime.cgocall(0xdea5c0, 0xc00080d810, 0xc0001a0040)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/cgocall.go:128 +0x5b fp=0xc00080d7e0 sp=0xc00080d7a8 pc=0x403d0b
os/user._Cfunc_mygetgrgid_r(0x0, 0xc00048a060, 0x7f3d44000c50, 0x400, 0xc0001a0040, 0xc000000000)
        _cgo_gotypes.go:106 +0x4d fp=0xc00080d810 sp=0xc00080d7e0 pc=0x50251d
os/user.lookupUnixGid.func1.1(0x0, 0xc00048a060, 0xc0002c0100, 0xc0001a0040, 0xc00080d8b0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:183 +0x14c fp=0xc00080d860 sp=0xc00080d810 pc=0x504abc
os/user.lookupUnixGid.func1(0x102e7e0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:183 +0x45 fp=0xc00080d898 sp=0xc00080d860 pc=0x504b55
os/user.retryWithBuffer(0xc0002c0100, 0xc00080d9a8, 0x402fe5, 0xc00080da48)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:251 +0x3b fp=0xc00080d8f0 sp=0xc00080d898 pc=0x503c0b
os/user.lookupUnixGid(0x0, 0x0, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:176 +0x14c fp=0xc00080d9e0 sp=0xc00080d8f0 pc=0x50371c
os/user.lookupGroupId(0x1163cd2, 0x1, 0x1163cd2, 0x1, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:166 +0x73 fp=0xc00080da18 sp=0xc00080d9e0 pc=0x503593
os/user.LookupGroupId(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/lookup.go:57
archive/tar.statUnix(0x12dd7a0, 0xc00049c410, 0xc0005e6700, 0x2070b80, 0x2c)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/archive/tar/stat_unix.go:45 +0x385 fp=0xc00080da78 sp=0xc00080da18 pc=0x50e135
archive/tar.FileInfoHeader(0x12dd7a0, 0xc00049c410, 0x0, 0x0, 0x2c, 0x7f3d905f2b28, 0x100000000000000)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/archive/tar/common.go:702 +0x43f fp=0xc00080db98 sp=0xc00080da78 pc=0x50776f
github.com/containerd/containerd/archive.(*changeWriter).HandleChange(0xc000032140, 0x2, 0xc000131f10, 0xe, 0x12dd7a0, 0xc00049c410, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/archive/tar.go:500 +0x45c fp=0xc00080de28 sp=0xc00080db98 pc=0xc174ac
github.com/containerd/containerd/archive.(*changeWriter).HandleChange-fm(0x2, 0xc000131f10, 0xe, 0x12dd7a0, 0xc00049c410, 0x0, 0x0, 0xc0004b0750, 0x406a75)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/archive/tar.go:462 +0x7d fp=0xc00080de88 sp=0xc00080de28 pc=0xc1b69d
github.com/containerd/continuity/fs.doubleWalkDiff.func3(0xc0004b0768, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:318 +0x24f fp=0xc00080df58 sp=0xc00080de88 pc=0x6ba99f
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0005b8c90, 0xc000032190)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64 fp=0xc00080dfd0 sp=0xc00080df58 pc=0x6b46f4
runtime.goexit()
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc00080dfd8 sp=0xc00080dfd0 pc=0x45ca91
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc0001f9030)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc0001f9028)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc0001f9020, 0xc0000c9960, 0x0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
main.(*buildCommand).Run(0xc000151400, 0xc0001f80f0, 0x1, 0x3, 0x0, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:299 +0xefc
main.newBuildCommand.func1(0xc000323680, 0xc0001f80f0, 0x1, 0x3, 0x0, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:59 +0x48
github.com/spf13/cobra.(*Command).execute(0xc000323680, 0xc0000d8020, 0x3, 0x3, 0xc000323680, 0xc0000d8020)
        /home/travis/gopath/pkg/mod/github.com/spf13/[email protected]/command.go:826 +0x460
github.com/spf13/cobra.(*Command).ExecuteC(0xc000322c80, 0xc0000bb2f0, 0x1140e1d, 0x5)
        /home/travis/gopath/pkg/mod/github.com/spf13/[email protected]/command.go:914 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
        /home/travis/gopath/pkg/mod/github.com/spf13/[email protected]/command.go:864
main.main()
        /home/travis/gopath/src/github.com/genuinetools/img/main.go:138 +0x6b4

goroutine 19 [syscall]:
os/signal.signal_recv(0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sigqueue.go:147 +0x9c
os/signal.loop()
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/signal/signal_unix.go:29 +0x41

goroutine 51 [chan receive]:
github.com/moby/buildkit/util/pull.newResolverCache.func1(0xc00050c0f0, 0xc00052e000)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/pull/resolver.go:174 +0x49
created by github.com/moby/buildkit/util/pull.newResolverCache
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/pull/resolver.go:172 +0x95

goroutine 39 [chan receive]:
google.golang.org/grpc.(*addrConn).resetTransport(0xc000270000)
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/clientconn.go:1179 +0x6ea
created by google.golang.org/grpc.(*addrConn).connect
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/clientconn.go:815 +0x128

goroutine 38 [select]:
google.golang.org/grpc.(*ccBalancerWrapper).watcher(0xc00051a280)
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/balancer_conn_wrappers.go:69 +0xc2
created by google.golang.org/grpc.newCCBalancerWrapper
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/balancer_conn_wrappers.go:60 +0x16d

goroutine 71 [chan receive]:
github.com/moby/buildkit/util/appcontext.Context.func1.1(0xc0000d7080, 0xc0000bb490, 0xc000131b28)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/appcontext/appcontext.go:30 +0x38
created by github.com/moby/buildkit/util/appcontext.Context.func1
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/appcontext/appcontext.go:28 +0xfe

goroutine 73 [select]:
golang.org/x/net/http2.(*serverConn).serve(0xc000510780)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/server.go:858 +0x588
golang.org/x/net/http2.(*Server).ServeConn(0xc0002fc080, 0x12e2d80, 0xc0001f8ea0, 0xc000079cf0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/server.go:472 +0x73a
github.com/moby/buildkit/session.serve(0x12d5aa0, 0xc0002fc000, 0xc0004f2d80, 0x12e2d80, 0xc0001f8ea0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/grpc.go:24 +0x12a
github.com/moby/buildkit/session.(*Session).Run(0xc000226c40, 0x12d5aa0, 0xc0002fc000, 0xc0000c9920, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/session.go:103 +0x6a2
main.(*buildCommand).Run.func1(0xc0001aef68, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:258 +0x45
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0001f9020, 0xc0001f9080)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 74 [semacquire]:
sync.runtime_Semacquire(0xc000471570)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc000471568)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc000471560, 0xc0004715c0, 0x12d5aa0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/genuinetools/img/client.(*Client).Solve(0xc0000a8540, 0x12d5aa0, 0xc0000a8640, 0xc00013afc0, 0xc0000aa780, 0x0, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/client/solve.go:48 +0x244
main.(*buildCommand).Run.func2(0x0, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:283 +0x249
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0001f9020, 0xc000168420)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 75 [select]:
github.com/moby/buildkit/util/progress/progressui.DisplaySolveStatus(0x12d5ae0, 0xc0000d0018, 0x0, 0x0, 0x12e8b20, 0xc0000c9980, 0x12b5a40, 0xc0000d4010, 0xc0000aa7e0, 0x0, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progressui/display.go:55 +0x3db
main.showProgress(0xc0000aa780, 0x42e300, 0x0, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:499 +0xc8
main.(*buildCommand).Run.func3(0xc0001aff68, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:297 +0x39
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0001f9020, 0xc0000c9960)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 76 [chan receive]:
main.showProgress.func1(0xc0000aa780, 0xc0000aa7e0)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:456 +0x74a
created by main.showProgress
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:455 +0x6b

goroutine 24 [chan receive]:
github.com/moby/buildkit/session.(*Manager).handleConn(0xc0000c9860, 0x12d5aa0, 0xc00051a300, 0x12e2d80, 0xc0001f8e70, 0xc000310cf0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/manager.go:144 +0x4c2
github.com/moby/buildkit/session.(*Manager).HandleConn(0xc0000c9860, 0x12d5ae0, 0xc0000d0018, 0x12e2d80, 0xc0001f8e70, 0xc000310cf0, 0x6b46f4, 0xc0001aef68)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/manager.go:97 +0x74
github.com/moby/buildkit/session/testutil.TestStream.func1.1(0xc0000bb510, 0xc0001f8e70, 0xc000310cf0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/testutil/testutil.go:23 +0x62
created by github.com/moby/buildkit/session/testutil.TestStream.func1
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/testutil/testutil.go:22 +0x5a

goroutine 25 [chan receive]:
github.com/moby/buildkit/session.serve.func1(0x12d5aa0, 0xc0002fc000, 0x12e2d80, 0xc0001f8ea0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/grpc.go:20 +0x48
created by github.com/moby/buildkit/session.serve
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/grpc.go:19 +0x67

goroutine 79 [chan receive]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12d5aa0, 0xc0000a86c0, 0xc0001f9200)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:166 +0x12f

goroutine 42 [select]:
io.(*pipe).Read(0xc0000d8780, 0xc00021c1f8, 0x9, 0x9, 0xc0003b3de0, 0x8cc3db, 0xc000670140)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/pipe.go:50 +0xe7
io.(*PipeReader).Read(0xc0000d41a0, 0xc00021c1f8, 0x9, 0x9, 0x0, 0xc0003b3d78, 0x4319e3)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/pipe.go:127 +0x4c
io.ReadAtLeast(0x7f3d8c392e60, 0xc0001f8ea0, 0xc00021c1f8, 0x9, 0x9, 0x9, 0x10000008cdd65, 0x0, 0x1)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/io.go:310 +0x87
io.ReadFull(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/io.go:329
golang.org/x/net/http2.readFrameHeader(0xc00021c1f8, 0x9, 0x9, 0x7f3d8c392e60, 0xc0001f8ea0, 0x0, 0xc000000000, 0xc0003b3f28, 0xc00024e7e0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/frame.go:237 +0x87
golang.org/x/net/http2.(*Framer).ReadFrame(0xc00021c1c0, 0xc0003b3ee0, 0x2, 0x0, 0x1)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/frame.go:492 +0xa1
golang.org/x/net/http2.(*serverConn).readFrames(0xc000510780)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/server.go:745 +0xa4
created by golang.org/x/net/http2.(*serverConn).serve
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/server.go:850 +0x347

goroutine 40 [select]:
github.com/moby/buildkit/session.monitorHealth(0x12d5aa0, 0xc00051a300, 0xc000035880, 0xc0002c00e0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/grpc.go:69 +0x1cb
created by github.com/moby/buildkit/session.grpcClientConn
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/grpc.go:55 +0x270

goroutine 41 [select]:
io.(*pipe).Read(0xc0000d87d0, 0xc00027e000, 0x8000, 0x8000, 0xc0002c0160, 0xfb7bc0, 0xc00024ea78)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/pipe.go:50 +0xe7
io.(*PipeReader).Read(0xc0000d41b0, 0xc00027e000, 0x8000, 0x8000, 0x1060100000001, 0x8, 0xc000076df8)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/pipe.go:127 +0x4c
bufio.(*Reader).Read(0xc000252480, 0xc000296038, 0x9, 0x9, 0xc00009a000, 0x7f3d905f2460, 0xc0004a1080)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/bufio/bufio.go:226 +0x26a
io.ReadAtLeast(0x12b3c40, 0xc000252480, 0xc000296038, 0x9, 0x9, 0x9, 0x8cdd65, 0xc0006dc02c, 0xc000076de8)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/io.go:310 +0x87
io.ReadFull(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/io.go:329
golang.org/x/net/http2.readFrameHeader(0xc000296038, 0x9, 0x9, 0x12b3c40, 0xc000252480, 0x0, 0xbfa6319c00000000, 0x1ddbf3ff0, 0x2070b80)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/frame.go:237 +0x87
golang.org/x/net/http2.(*Framer).ReadFrame(0xc000296000, 0xc0006dc020, 0xc0006dc020, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/frame.go:492 +0xa1
google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc000298000)
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:1265 +0x183
created by google.golang.org/grpc/internal/transport.newHTTP2Client
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:300 +0xd23

goroutine 52 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00052e280, 0x1, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/internal/transport/controlbuf.go:395 +0x122
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc000526180, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/internal/transport/controlbuf.go:513 +0x1e3
google.golang.org/grpc/internal/transport.newHTTP2Client.func3(0xc000298000)
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:346 +0x7b
created by google.golang.org/grpc/internal/transport.newHTTP2Client
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:344 +0xedb

goroutine 9 [sync.Cond.Wait]:
runtime.goparkunlock(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc000451a50, 0xc00000000f)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc000451a40)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/cond.(*StatefulCond).Wait(0xc000471530)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/cond/cond.go:28 +0xaf
github.com/moby/buildkit/solver.(*scheduler).loop(0xc0002bb2d0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/scheduler.go:101 +0x18a
created by github.com/moby/buildkit/solver.newScheduler
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/scheduler.go:35 +0x1ab

goroutine 11 [semacquire]:
sync.runtime_Semacquire(0xc000470700)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc0004706f8)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc0004706f0, 0xc00052cc60, 0xc00038d830)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/moby/buildkit/cache/blobs.getDiffPairs(0x12d5b60, 0xc0005b9b30, 0x12e5180, 0xc000505cc0, 0x12b4020, 0xc0005035d0, 0x12e9aa0, 0xc00041ecc0, 0x118fe01, 0x1, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:172 +0x23b
github.com/moby/buildkit/cache/blobs.GetDiffPairs(0x12d5b60, 0xc0005b9b30, 0x12e5180, 0xc000505cc0, 0x12b4020, 0xc0005035d0, 0x12e9aa0, 0xc00041ecc0, 0xc0005b9b01, 0x1, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:53 +0x155
github.com/moby/buildkit/worker/base.(*Worker).GetRemote(0xc0004379e0, 0x12d5b60, 0xc0005b9b30, 0x12e9aa0, 0xc00041ecc0, 0x1, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/worker/base/worker.go:365 +0x1b1
github.com/moby/buildkit/solver/llbsolver.inlineCache(0x12d5b60, 0xc0004716e0, 0x12d5d60, 0xc000473240, 0x12d5fe0, 0xc0003d5bc0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/llbsolver/solver.go:280 +0xf7
github.com/moby/buildkit/solver/llbsolver.(*Solver).Solve(0xc0002bb260, 0x12d5b60, 0xc0004716e0, 0xc0000d3ae1, 0x19, 0x0, 0x11494ae, 0xd, 0xc0001f8540, 0x0, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/llbsolver/solver.go:181 +0x1276
github.com/moby/buildkit/control.(*Controller).Solve(0xc000482000, 0x12d5aa0, 0xc000451b40, 0xc00013afc0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/control/control.go:276 +0x4ff
github.com/genuinetools/img/client.(*Client).Solve.func1(0x0, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/client/solve.go:32 +0xcd
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000471560, 0xc000471590)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 12 [semacquire]:
sync.runtime_Semacquire(0xc000471690)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc000471688)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc000471680, 0xc000473200, 0x12d5aa0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/moby/buildkit/control.(*Controller).Status(0xc000482000, 0xc000471620, 0x12e0620, 0xc0004715f0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/control/control.go:347 +0x1a3
github.com/genuinetools/img/client.(*Client).Solve.func2(0xc00006df68, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/client/solve.go:44 +0xed
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000471560, 0xc0004715c0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 13 [sync.Cond.Wait]:
runtime.goparkunlock(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0000a8710, 0xc000000012)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0000a8700)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc0001f9200, 0x12d5aa0, 0xc000451bc0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:127 +0x12e
github.com/moby/buildkit/solver.(*Job).Status(0xc0002bb3b0, 0x12d5aa0, 0xc000451bc0, 0xc00052c360, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/progress.go:25 +0xd29
github.com/moby/buildkit/solver/llbsolver.(*Solver).Status(0xc0002bb260, 0x12d5aa0, 0xc000451bc0, 0xc0000d3ae1, 0x19, 0xc00052c360, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/llbsolver/solver.go:308 +0xbe
github.com/moby/buildkit/control.(*Controller).Status.func1(0xc0004b3f68, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/control/control.go:300 +0x5e
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000471680, 0xc0004716b0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 14 [chan receive]:
github.com/moby/buildkit/control.(*Controller).Status.func2(0xc0004b4768, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/control/control.go:305 +0x782
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000471680, 0xc000473200)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 15 [chan receive]:
github.com/moby/buildkit/solver.(*scheduler).loop.func2(0xc0002bb2d0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/scheduler.go:76 +0x3c
created by github.com/moby/buildkit/solver.(*scheduler).loop
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/scheduler.go:75 +0x77

goroutine 16 [chan receive]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12d5aa0, 0xc000451c80, 0xc0004717a0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:166 +0x12f

goroutine 80 [select]:
github.com/moby/buildkit/util/progress.(*MultiReader).Reader.func1(0x12d5b60, 0xc0001f92f0, 0xc000471890, 0xc0000c9aa0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/multireader.go:37 +0xc1
created by github.com/moby/buildkit/util/progress.(*MultiReader).Reader
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/multireader.go:36 +0x1c2

goroutine 81 [sync.Cond.Wait]:
runtime.goparkunlock(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc000451cd0, 0xc000000014)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc000451cc0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc0004717a0, 0x12d5ae0, 0xc0000d0018, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:127 +0x12e
github.com/moby/buildkit/util/progress.(*MultiReader).handle(0xc000471890, 0xc0001f92f0, 0xc000471890)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/multireader.go:56 +0x11d
created by github.com/moby/buildkit/util/progress.(*MultiReader).Reader
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/multireader.go:47 +0x220

goroutine 440 [chan receive]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12d5aa0, 0xc0000a9d40, 0xc000644750)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:166 +0x12f

goroutine 423 [chan receive]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12d5aa0, 0xc000426080, 0xc000438450)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:166 +0x12f

goroutine 439 [select]:
github.com/moby/buildkit/util/flightcontrol.(*call).wait(0xc00047c990, 0x12d5aa0, 0xc0000a9d00, 0x206c590, 0xc00038be20, 0x19, 0xc0001aee30)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:150 +0x2a9
github.com/moby/buildkit/util/flightcontrol.(*Group).do(0x206c590, 0x12d5aa0, 0xc0000a9d00, 0xc00038be20, 0x19, 0xc00044aeb0, 0x0, 0xc0001aef18, 0x43fc91, 0xc0001aee30)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:78 +0x1eb
github.com/moby/buildkit/util/flightcontrol.(*Group).Do(0x206c590, 0x12d5aa0, 0xc0000a9d00, 0xc00038be20, 0x19, 0xc00044aeb0, 0x5, 0xc0001aeea8, 0x0, 0xc000392e88)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:37 +0x7a
github.com/moby/buildkit/cache/blobs.getDiffPairs.func2(0xc0001aef68, 0xc00024ec60)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:78 +0x1a4
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000644660, 0xc000592000)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

astrixj avatar May 10 '20 19:05 astrixj

I'm also seeing this issue in my environment.

liorokman avatar May 11 '20 06:05 liorokman

The img build for docker works, this issue was related to my complicated env , I was able to make it work. currently there are missing logs to understand where the problem is, using -d doesn't helps much

astrixj avatar May 18 '20 09:05 astrixj

The img build for docker works, this issue was related to my complicated env , I was able to make it work. currently there are missing logs to understand where the problem is, using -d doesn't helps much

Could you explain what the issue was and how you fixed it? I'm still seeing this panic in my environment.

Regardless, the img tool should not panic. If there's a problem, there should be a nice error message explaining the problem as an output instead of a panic dump.

liorokman avatar May 18 '20 09:05 liorokman

Sorry this related to our on-premise env hence I cannot share, I needed to make some tweaks to make it work. Did you try run it in a clean linux env ? if not could you try and share your feedback ? maybe I can assist, I agree about the panic this should be fixed in the upstream!

astrixj avatar May 18 '20 09:05 astrixj

I tried running img on the real host - not inside any sort of container.

The first thing I tried was the binary that can be downloaded from the releases page. This binary crashed spectacularly on my host with the following panic:

$ /tmp/img-linux-amd64 
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7fcf097331e7]

runtime stack:
runtime.throw(0x116b440, 0x2a)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/panic.go:774 +0x72
runtime.sigpanic()
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/signal_unix.go:378 +0x47c

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0xdea640, 0xc0004f9b90, 0xc00052a028)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/cgocall.go:128 +0x5b fp=0xc0004f9b60 sp=0xc0004f9b28 pc=0x403d0b
os/user._Cfunc_mygetpwnam_r(0xc00010d4c0, 0xc0000f62a0, 0x26332e0, 0x400, 0xc00052a028, 0x0)
	_cgo_gotypes.go:156 +0x4d fp=0xc0004f9b90 sp=0xc0004f9b60 pc=0x5026fd
os/user.lookupUser.func1.1(0xc00010d4c0, 0x7, 0x7, 0xc0000f62a0, 0xc00056e030, 0xc00052a028, 0xc0004f9c40)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:70 +0x15f fp=0xc0004f9be0 sp=0xc0004f9b90 pc=0x50469f
os/user.lookupUser.func1(0x102e7e0)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:70 +0x57 fp=0xc0004f9c28 sp=0xc0004f9be0 pc=0x504747
os/user.retryWithBuffer(0xc00056e030, 0xc0004f9d48, 0x6, 0xc00010d4c0)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:251 +0x3b fp=0xc0004f9c80 sp=0xc0004f9c28 pc=0x503c0b
os/user.lookupUser(0x11418cd, 0x6, 0x0, 0x0, 0x0)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:61 +0x1c9 fp=0xc0004f9d90 sp=0xc0004f9c80 pc=0x502cb9
os/user.Lookup(0x11418cd, 0x6, 0xc561ec, 0xc00050e180, 0xc0004f9e30)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/lookup.go:36 +0x70 fp=0xc0004f9de0 sp=0xc0004f9d90 pc=0x5020b0
github.com/docker/docker/pkg/chrootarchive.init.0()
	/home/travis/gopath/pkg/mod/github.com/docker/[email protected]/pkg/chrootarchive/archive.go:19 +0x36 fp=0xc0004f9e40 sp=0xc0004f9de0 pc=0xc56236
runtime.doInit(0x1bf50c0)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:5222 +0x8a fp=0xc0004f9e70 sp=0xc0004f9e40 pc=0x43d32a
runtime.doInit(0x1bf3e60)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:5217 +0x57 fp=0xc0004f9ea0 sp=0xc0004f9e70 pc=0x43d2f7
runtime.doInit(0x1bfbbe0)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:5217 +0x57 fp=0xc0004f9ed0 sp=0xc0004f9ea0 pc=0x43d2f7
runtime.doInit(0x1bfbf60)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:5217 +0x57 fp=0xc0004f9f00 sp=0xc0004f9ed0 pc=0x43d2f7
runtime.doInit(0x1bfdc60)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:5217 +0x57 fp=0xc0004f9f30 sp=0xc0004f9f00 pc=0x43d2f7
runtime.doInit(0x1bfb700)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:5217 +0x57 fp=0xc0004f9f60 sp=0xc0004f9f30 pc=0x43d2f7
runtime.main()
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:190 +0x1da fp=0xc0004f9fe0 sp=0xc0004f9f60 pc=0x430f3a
runtime.goexit()
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0004f9fe8 sp=0xc0004f9fe0 pc=0x45ca91

goroutine 35 [syscall]:
os/signal.signal_recv(0x0)
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sigqueue.go:147 +0x9c
os/signal.loop()
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
	/home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/signal/signal_unix.go:29 +0x41

I cloned the repository, and built my own img binary. This binary worked correctly and I was able it use it to build docker images. I then cleaned up the environment and rebuilt using the v0.5.10 tag - and that worked as well. I tried both "embedded runc" and "non-embedded run" variants - and as long as I build img myself - it runs correctly in my clean environment.

My guess is that there's some subtle difference in the build environments. The Golang version used by travis is 1.13.10 (as seen in the stack trace), while I'm using Golang 1.14.3. This is the most prominent difference - there may very well be more.

liorokman avatar May 23 '20 17:05 liorokman

I believe #295 fixes this.

fr33jc avatar Jun 11 '20 07:06 fr33jc

EDIT: I was able to alleviate the error when building from source with the noembed build tag! This means @fr33jc 's PR #295 worked for me. Would love to have to have an official release tagged for this. :pray:


Getting the same issue here with version 0.5.10. I've tried in the following environments:

  • Ubuntu 20.04
  • Ubuntu 18.04 container
  • Ubuntu 20.04 container
  • Debian latest container

Building a simple Dockerfile. It'll run a few steps and then throw an error and exit. Here's the error I've generally been getting:

fatal error: unexpected signal during runtime execution
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xe5 pc=0x7fd164da2270]

runtime stack:
runtime.throw(0x116b440, 0x2a)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/panic.go:774 +0x72
runtime.sigpanic()
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/signal_unix.go:378 +0x47c

goroutine 7215 [syscall]:
runtime.cgocall(0xdea5c0, 0xc002a7b810, 0xc000011110)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/cgocall.go:128 +0x5b fp=0xc002a7b7e0 sp=0xc002a7b7a8 pc=0x403d0b
os/user._Cfunc_mygetgrgid_r(0x0, 0xc0007b1560, 0x7fd130000b20, 0x400, 0xc000011110, 0xc000000000)
        _cgo_gotypes.go:106 +0x4d fp=0xc002a7b810 sp=0xc002a7b7e0 pc=0x50251d
os/user.lookupUnixGid.func1.1(0x0, 0xc0007b1560, 0xc00070f5b0, 0xc000011110, 0xc002a7b8b0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:183 +0x14c fp=0xc002a7b860 sp=0xc002a7b810 pc=0x504abc
os/user.lookupUnixGid.func1(0x102e7e0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:183 +0x45 fp=0xc002a7b898 sp=0xc002a7b860 pc=0x504b55
os/user.retryWithBuffer(0xc00070f5b0, 0xc002a7b9a8, 0x402fe5, 0xc002a7ba48)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:251 +0x3b fp=0xc002a7b8f0 sp=0xc002a7b898 pc=0x503c0b
os/user.lookupUnixGid(0x0, 0x0, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:176 +0x14c fp=0xc002a7b9e0 sp=0xc002a7b8f0 pc=0x50371c
os/user.lookupGroupId(0x1163cd2, 0x1, 0x1163cd2, 0x1, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:166 +0x73 fp=0xc002a7ba18 sp=0xc002a7b9e0 pc=0x503593
os/user.LookupGroupId(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/lookup.go:57
archive/tar.statUnix(0x12dd7a0, 0xc000593040, 0xc000867420, 0x113f186, 0x1)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/archive/tar/stat_unix.go:45 +0x385 fp=0xc002a7ba78 sp=0xc002a7ba18 pc=0x50e135
archive/tar.FileInfoHeader(0x12dd7a0, 0xc000593040, 0x0, 0x0, 0x26, 0x7fd16898a008, 0x100000000000000)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/archive/tar/common.go:702 +0x43f fp=0xc002a7bb98 sp=0xc002a7ba78 pc=0x50776f
github.com/containerd/containerd/archive.(*changeWriter).HandleChange(0xc00260ce60, 0x1, 0xc002c56240, 0x8, 0x12dd7a0, 0xc000593040, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/archive/tar.go:500 +0x45c fp=0xc002a7be28 sp=0xc002a7bb98 pc=0xc174ac
github.com/containerd/containerd/archive.(*changeWriter).HandleChange-fm(0x1, 0xc002c56240, 0x8, 0x12dd7a0, 0xc000593040, 0x0, 0x0, 0x636f6c0072737500, 0x6574006f67006c61)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/archive/tar.go:462 +0x7d fp=0xc002a7be88 sp=0xc002a7be28 pc=0xc1b69d
github.com/containerd/continuity/fs.doubleWalkDiff.func3(0xc000c6c768, 0x6465786966007473)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:318 +0x24f fp=0xc002a7bf58 sp=0xc002a7be88 pc=0x6ba99f
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0014672f0, 0xc00260ceb0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64 fp=0xc002a7bfd0 sp=0xc002a7bf58 pc=0x6b46f4
runtime.goexit()
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc002a7bfd8 sp=0xc002a7bfd0 pc=0x45ca91
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 1 [semacquire, 2 minutes]:
sync.runtime_Semacquire(0xc0001d6bb0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc0001d6ba8)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc0001d6ba0, 0xc000202100, 0x0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
main.(*buildCommand).Run(0xc0000c5900, 0xc000088b40, 0x1, 0x4, 0x0, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:299 +0xefc
main.newBuildCommand.func1(0xc0002c2000, 0xc000088b40, 0x1, 0x4, 0x0, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:59 +0x48
github.com/spf13/cobra.(*Command).execute(0xc0002c2000, 0xc0000861a0, 0x4, 0x4, 0xc0002c2000, 0xc0000861a0)
        /home/travis/gopath/pkg/mod/github.com/spf13/[email protected]/command.go:826 +0x460
github.com/spf13/cobra.(*Command).ExecuteC(0xc000129b80, 0xc0000413b0, 0x1140e1d, 0x5)
        /home/travis/gopath/pkg/mod/github.com/spf13/[email protected]/command.go:914 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
        /home/travis/gopath/pkg/mod/github.com/spf13/[email protected]/command.go:864
main.main()
        /home/travis/gopath/src/github.com/genuinetools/img/main.go:138 +0x6b4

goroutine 19 [syscall, 2 minutes]:
os/signal.signal_recv(0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sigqueue.go:147 +0x9c
os/signal.loop()
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/signal/signal_unix.go:29 +0x41

goroutine 21 [chan receive]:
github.com/moby/buildkit/util/pull.newResolverCache.func1(0xc00041ed80, 0xc0003f4780)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/pull/resolver.go:174 +0x49
created by github.com/moby/buildkit/util/pull.newResolverCache
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/pull/resolver.go:172 +0x95

goroutine 25 [select]:
golang.org/x/net/http2.(*serverConn).serve(0xc00008f680)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/server.go:858 +0x588
golang.org/x/net/http2.(*Server).ServeConn(0xc0000881c0, 0x12e2d80, 0xc0001d69c0, 0xc00024bcf0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/server.go:472 +0x73a
github.com/moby/buildkit/session.serve(0x12d5aa0, 0xc000088100, 0xc0001fa000, 0x12e2d80, 0xc0001d69c0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/grpc.go:24 +0x12a
github.com/moby/buildkit/session.(*Session).Run(0xc000504000, 0x12d5aa0, 0xc000088100, 0xc0002020c0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/session.go:103 +0x6a2
main.(*buildCommand).Run.func1(0xc0000dbf68, 0x4065ff)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:258 +0x45
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0001d6ba0, 0xc0001d6c00)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 24 [chan receive, 2 minutes]:
github.com/moby/buildkit/util/appcontext.Context.func1.1(0xc000086900, 0xc00041e010, 0xc00010ebf0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/appcontext/appcontext.go:30 +0x38
created by github.com/moby/buildkit/util/appcontext.Context.func1
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/appcontext/appcontext.go:28 +0xfe

goroutine 26 [semacquire, 2 minutes]:
sync.runtime_Semacquire(0xc000320b80)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc000320b78)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc000320b70, 0xc000320c60, 0x12d5aa0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/genuinetools/img/client.(*Client).Solve(0xc0000880c0, 0x12d5aa0, 0xc0002da200, 0xc000118120, 0xc00008a420, 0x0, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/client/solve.go:48 +0x244
main.(*buildCommand).Run.func2(0x0, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:283 +0x249
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0001d6ba0, 0xc0002160b0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 27 [select]:
github.com/moby/buildkit/util/progress/progressui.DisplaySolveStatus(0x12d5ae0, 0xc0000b2018, 0x0, 0x0, 0x12e8b20, 0xc000202120, 0x12b5a40, 0xc0000b6010, 0xc00008a480, 0x0, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progressui/display.go:55 +0x3db
main.showProgress(0xc00008a420, 0x42e300, 0x0, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:499 +0xc8
main.(*buildCommand).Run.func3(0xc0000d7f68, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:297 +0x39
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0001d6ba0, 0xc000202100)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 28 [chan receive]:
main.showProgress.func1(0xc00008a420, 0xc00008a480)
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:456 +0x74a
created by main.showProgress
        /home/travis/gopath/src/github.com/genuinetools/img/build.go:455 +0x6b

goroutine 11 [chan receive, 2 minutes]:
github.com/moby/buildkit/session.(*Manager).handleConn(0xc000202000, 0x12d5aa0, 0xc000088580, 0x12e2d80, 0xc0001d6990, 0xc0004caf30, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/manager.go:144 +0x4c2
github.com/moby/buildkit/session.(*Manager).HandleConn(0xc000202000, 0x12d5ae0, 0xc0000b2018, 0x12e2d80, 0xc0001d6990, 0xc0004caf30, 0x6b46f4, 0xc0000dbf68)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/manager.go:97 +0x74
github.com/moby/buildkit/session/testutil.TestStream.func1.1(0xc00041e0b0, 0xc0001d6990, 0xc0004caf30)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/testutil/testutil.go:23 +0x62
created by github.com/moby/buildkit/session/testutil.TestStream.func1
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/testutil/testutil.go:22 +0x5a

goroutine 12 [chan receive, 2 minutes]:
github.com/moby/buildkit/session.serve.func1(0x12d5aa0, 0xc000088100, 0x12e2d80, 0xc0001d69c0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/grpc.go:20 +0x48
created by github.com/moby/buildkit/session.serve
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/grpc.go:19 +0x67

goroutine 42 [chan receive, 2 minutes]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12d5aa0, 0xc000088700, 0xc00009d320)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:166 +0x12f

goroutine 37 [select]:
io.(*pipe).Read(0xc0004cc050, 0xc000306578, 0x9, 0x9, 0xc000533de0, 0x8cc3db, 0xc0001cc300)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/pipe.go:50 +0xe7
io.(*PipeReader).Read(0xc0000b6020, 0xc000306578, 0x9, 0x9, 0x0, 0xc000533d48, 0x459f17)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/pipe.go:127 +0x4c
io.ReadAtLeast(0x7fd1641ee818, 0xc0001d69c0, 0xc000306578, 0x9, 0x9, 0x9, 0x10000008cdd65, 0x0, 0x1)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/io.go:310 +0x87
io.ReadFull(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/io.go:329
golang.org/x/net/http2.readFrameHeader(0xc000306578, 0x9, 0x9, 0x7fd1641ee818, 0xc0001d69c0, 0x0, 0xc000000000, 0xc000533f28, 0xc000513020)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/frame.go:237 +0x87
golang.org/x/net/http2.(*Framer).ReadFrame(0xc000306540, 0xc000533ee0, 0x2, 0x0, 0x1)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/frame.go:492 +0xa1
golang.org/x/net/http2.(*serverConn).readFrames(0xc00008f680)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/server.go:745 +0xa4
created by golang.org/x/net/http2.(*serverConn).serve
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/server.go:850 +0x347

goroutine 16 [select, 2 minutes]:
google.golang.org/grpc.(*ccBalancerWrapper).watcher(0xc000088500)
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/balancer_conn_wrappers.go:69 +0xc2
created by google.golang.org/grpc.newCCBalancerWrapper
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/balancer_conn_wrappers.go:60 +0x16d

goroutine 34 [chan receive, 2 minutes]:
google.golang.org/grpc.(*addrConn).resetTransport(0xc000312b00)
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/clientconn.go:1179 +0x6ea
created by google.golang.org/grpc.(*addrConn).connect
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/clientconn.go:815 +0x128

goroutine 35 [select]:
github.com/moby/buildkit/session.monitorHealth(0x12d5aa0, 0xc000088580, 0xc0002ee000, 0xc0000402b0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/grpc.go:69 +0x1cb
created by github.com/moby/buildkit/session.grpcClientConn
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/session/grpc.go:55 +0x270

goroutine 36 [select]:
io.(*pipe).Read(0xc0004cc0a0, 0xc000264000, 0x8000, 0x8000, 0x11, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/pipe.go:50 +0xe7
io.(*PipeReader).Read(0xc0000b6030, 0xc000264000, 0x8000, 0x8000, 0x1060100000011, 0x8, 0xc000064df8)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/pipe.go:127 +0x4c
bufio.(*Reader).Read(0xc000087680, 0xc000306658, 0x9, 0x9, 0xc000498000, 0x7fd16898a008, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/bufio/bufio.go:226 +0x26a
io.ReadAtLeast(0x12b3c40, 0xc000087680, 0xc000306658, 0x9, 0x9, 0x9, 0x8cdd65, 0xc0001cc34c, 0xc000064de8)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/io.go:310 +0x87
io.ReadFull(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/io/io.go:329
golang.org/x/net/http2.readFrameHeader(0xc000306658, 0x9, 0x9, 0x12b3c40, 0xc000087680, 0x0, 0xbfbc978300000000, 0x1dd9fbdb75, 0x2070b80)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/frame.go:237 +0x87
golang.org/x/net/http2.(*Framer).ReadFrame(0xc000306620, 0xc0001cc340, 0xc0001cc340, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/http2/frame.go:492 +0xa1
google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc000308700)
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:1265 +0x183
created by google.golang.org/grpc/internal/transport.newHTTP2Client
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:300 +0xd23

goroutine 40 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc0000d23c0, 0x1, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/internal/transport/controlbuf.go:395 +0x122
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc000087920, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/internal/transport/controlbuf.go:513 +0x1e3
google.golang.org/grpc/internal/transport.newHTTP2Client.func3(0xc000308700)
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:346 +0x7b
created by google.golang.org/grpc/internal/transport.newHTTP2Client
        /home/travis/gopath/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:344 +0xedb

goroutine 7198 [chan receive]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12d5aa0, 0xc001c2aec0, 0xc001815500)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:166 +0x12f

goroutine 30 [sync.Cond.Wait]:
runtime.goparkunlock(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0002dab10, 0xc00000002c)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0002dab00)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/cond.(*StatefulCond).Wait(0xc000320b40)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/cond/cond.go:28 +0xaf
github.com/moby/buildkit/solver.(*scheduler).loop(0xc000504b60)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/scheduler.go:101 +0x18a
created by github.com/moby/buildkit/solver.newScheduler
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/scheduler.go:35 +0x1ab

goroutine 31 [semacquire]:
sync.runtime_Semacquire(0xc0017dd210)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc0017dd208)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc0017dd200, 0xc00323eea0, 0xc0008155a0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/moby/buildkit/cache/blobs.getDiffPairs(0x12d5b60, 0xc001ab0d80, 0x12e5180, 0xc0002024a0, 0x12b4020, 0xc00041e3d0, 0x12e9aa0, 0xc00041ef50, 0x118fe01, 0x1, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:172 +0x23b
github.com/moby/buildkit/cache/blobs.GetDiffPairs(0x12d5b60, 0xc001ab0d80, 0x12e5180, 0xc0002024a0, 0x12b4020, 0xc00041e3d0, 0x12e9aa0, 0xc00041ef50, 0xc001ab0d01, 0x1, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:53 +0x155
github.com/moby/buildkit/worker/base.(*Worker).GetRemote(0xc0001186c0, 0x12d5b60, 0xc001ab0d80, 0x12e9aa0, 0xc00041ef50, 0x1, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/worker/base/worker.go:365 +0x1b1
github.com/moby/buildkit/solver/llbsolver.inlineCache(0x12d5b60, 0xc000320de0, 0x12d5d60, 0xc000202ca0, 0x12d5fe0, 0xc0008023c0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/llbsolver/solver.go:280 +0xf7
github.com/moby/buildkit/solver/llbsolver.(*Solver).Solve(0xc000504a80, 0x12d5b60, 0xc000320de0, 0xc0000b4801, 0x19, 0x0, 0x11494ae, 0xd, 0xc0004cad80, 0x0, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/llbsolver/solver.go:181 +0x1276
github.com/moby/buildkit/control.(*Controller).Solve(0xc00011c480, 0x12d5aa0, 0xc0002dac00, 0xc000118120, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/control/control.go:276 +0x4ff
github.com/genuinetools/img/client.(*Client).Solve.func1(0x0, 0x0)
        /home/travis/gopath/src/github.com/genuinetools/img/client/solve.go:32 +0xcd
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000320b70, 0xc000320bd0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 32 [semacquire, 2 minutes]:
sync.runtime_Semacquire(0xc000320d60)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc000320d58)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc000320d50, 0xc000202c60, 0x12d5aa0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/moby/buildkit/control.(*Controller).Status(0xc00011c480, 0xc000320cc0, 0x12e0620, 0xc000320c90, 0x2, 0x28)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/control/control.go:347 +0x1a3
github.com/genuinetools/img/client.(*Client).Solve.func2(0xc0000d9768, 0x1)
        /home/travis/gopath/src/github.com/genuinetools/img/client/solve.go:44 +0xed
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000320b70, 0xc000320c60)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 33 [sync.Cond.Wait]:
runtime.goparkunlock(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc000088750, 0xc00000004d)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc000088740)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc00009d320, 0x12d5aa0, 0xc0002dac80, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:127 +0x12e
github.com/moby/buildkit/solver.(*Job).Status(0xc000504cb0, 0x12d5aa0, 0xc0002dac80, 0xc0002159e0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/progress.go:25 +0xd29
github.com/moby/buildkit/solver/llbsolver.(*Solver).Status(0xc000504a80, 0x12d5aa0, 0xc0002dac80, 0xc0000b4801, 0x19, 0xc0002159e0, 0x0, 0x8c000)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/llbsolver/solver.go:308 +0xbe
github.com/moby/buildkit/control.(*Controller).Status.func1(0xc0000d9f68, 0x1bfb700)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/control/control.go:300 +0x5e
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000320d50, 0xc000320db0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 50 [chan receive]:
github.com/moby/buildkit/control.(*Controller).Status.func2(0xc0000da768, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/control/control.go:305 +0x782
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000320d50, 0xc000202c60)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 51 [chan receive, 2 minutes]:
github.com/moby/buildkit/solver.(*scheduler).loop.func2(0xc000504b60)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/scheduler.go:76 +0x3c
created by github.com/moby/buildkit/solver.(*scheduler).loop
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/solver/scheduler.go:75 +0x77

goroutine 52 [chan receive, 2 minutes]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12d5aa0, 0xc0002dad40, 0xc000320ea0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:166 +0x12f

goroutine 43 [select, 2 minutes]:
github.com/moby/buildkit/util/progress.(*MultiReader).Reader.func1(0x12d5b60, 0xc00009d3b0, 0xc000320f90, 0xc00000f1a0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/multireader.go:37 +0xc1
created by github.com/moby/buildkit/util/progress.(*MultiReader).Reader
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/multireader.go:36 +0x1c2

goroutine 44 [sync.Cond.Wait]:
runtime.goparkunlock(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0002dad90, 0xc00000004f)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0002dad80)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc000320ea0, 0x12d5ae0, 0xc0000b2018, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:127 +0x12e
github.com/moby/buildkit/util/progress.(*MultiReader).handle(0xc000320f90, 0xc00009d3b0, 0xc000320f90)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/multireader.go:56 +0x11d
created by github.com/moby/buildkit/util/progress.(*MultiReader).Reader
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/multireader.go:47 +0x220

goroutine 7181 [sync.Cond.Wait]:
runtime.goparkunlock(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc001c01e50, 0xc000000000)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc001c01e40)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc0017dd770, 0x12d5ae0, 0xc0000b2018, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:127 +0x12e
github.com/moby/buildkit/util/flightcontrol.(*progressState).run(0xc0017dd4a0, 0x12b4c20, 0xc0017dd770)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:280 +0x16d
created by github.com/moby/buildkit/util/flightcontrol.newCall
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:112 +0x1d8

goroutine 7195 [select]:
context.propagateCancel.func1(0x12d6120, 0xc000647bc0, 0x12c33e0, 0xc001c2a940)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/context/context.go:259 +0xd8
created by context.propagateCancel
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/context/context.go:258 +0x1ce

goroutine 7201 [semacquire]:
sync.runtime_Semacquire(0xc001467300)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc0014672f8)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc0014672f0, 0xc00260ceb0, 0xc00156b0e0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/containerd/continuity/fs.doubleWalkDiff(0x12d5aa0, 0xc001c2b200, 0xc00070f1c0, 0xc0028a8d60, 0x1e, 0xc0028a9060, 0x1e, 0xc001467110, 0xc00260ce60)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:325 +0x355
github.com/containerd/continuity/fs.Changes(0x12d5aa0, 0xc001c2b200, 0xc0028a8d60, 0x1e, 0xc0028a9060, 0x1e, 0xc00070f1c0, 0x10869c0, 0xc0007bf5c0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:111 +0x254
github.com/containerd/containerd/archive.WriteDiff(0x12d5aa0, 0xc001c2b200, 0x12b5540, 0xc0007bf5e0, 0xc0028a8d60, 0x1e, 0xc0028a9060, 0x1e, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/archive/tar.go:74 +0xe3
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1.1(0xc0028a9060, 0x1e, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/diff/walking/differ.go:121 +0x51f
github.com/containerd/containerd/mount.WithTempMount(0x12d5aa0, 0xc001c2b200, 0xc001abfcc0, 0x1, 0x1, 0xc000143768, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/mount/temp.go:65 +0x2ce
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1(0xc0028a8d60, 0x1e, 0x1, 0xc0028a8d60)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/diff/walking/differ.go:83 +0xe0
github.com/containerd/containerd/mount.WithTempMount(0x12d5aa0, 0xc001c2b200, 0xc001a8da40, 0x1, 0x1, 0xc0001439c0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/mount/temp.go:65 +0x2ce
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare(0xc00041e3d0, 0x12d5aa0, 0xc001c2b200, 0xc001a8da40, 0x1, 0x1, 0xc001abfcc0, 0x1, 0x1, 0xc000815ac0, ...)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/diff/walking/differ.go:82 +0x33f
github.com/moby/buildkit/cache/blobs.getDiffPairs.func2.1(0x12d5aa0, 0xc001c2b200, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:135 +0x70b
github.com/moby/buildkit/util/flightcontrol.(*call).run(0xc000ac79e0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:121 +0xee
sync.(*Once).doSlow(0xc000ac7a40, 0xc00070e740)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/once.go:66 +0xe3
sync.(*Once).Do(0xc000ac7a40, 0xc00070e740)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/once.go:57 +0x45
created by github.com/moby/buildkit/util/flightcontrol.(*call).wait
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:148 +0x214

goroutine 7182 [chan receive]:
github.com/moby/buildkit/util/flightcontrol.(*Group).do.func1(0xc000a1ccf0, 0x206c590, 0xc002c46ae1, 0x19)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:71 +0x3c
created by github.com/moby/buildkit/util/flightcontrol.(*Group).do
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:69 +0x1b4

goroutine 7219 [syscall]:
os/user._Cfunc_mygetgrgid_r(0x0, 0xc00087f000, 0x7fd13c000b20, 0x400, 0xc0000b6c70, 0xc000000000)
        _cgo_gotypes.go:106 +0x4d fp=0xc000d9d810 sp=0xc000d9d7e0 pc=0x50251d
os/user.lookupUnixGid.func1.1(0x0, 0xc00087f000, 0xc000815f40, 0xc0000b6c70, 0xc000d9d8b0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:183 +0x14c fp=0xc000d9d860 sp=0xc000d9d810 pc=0x504abc
os/user.lookupUnixGid.func1(0x102e7e0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:183 +0x45 fp=0xc000d9d898 sp=0xc000d9d860 pc=0x504b55
os/user.retryWithBuffer(0xc000815f40, 0xc000d9d9a8, 0x402fe5, 0xc000d9da48)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:251 +0x3b fp=0xc000d9d8f0 sp=0xc000d9d898 pc=0x503c0b
os/user.lookupUnixGid(0x0, 0x0, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:176 +0x14c fp=0xc000d9d9e0 sp=0xc000d9d8f0 pc=0x50371c
os/user.lookupGroupId(0x1163cd2, 0x1, 0x1163cd2, 0x1, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:166 +0x73 fp=0xc000d9da18 sp=0xc000d9d9e0 pc=0x503593
os/user.LookupGroupId(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/lookup.go:57
archive/tar.statUnix(0x12dd7a0, 0xc0004b2000, 0xc0029035e0, 0x2070b80, 0x23)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/archive/tar/stat_unix.go:45 +0x385 fp=0xc000d9da78 sp=0xc000d9da18 pc=0x50e135
archive/tar.FileInfoHeader(0x12dd7a0, 0xc0004b2000, 0x0, 0x0, 0x23, 0x6476396d55673432, 0x4974415351444243)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/archive/tar/common.go:702 +0x43f fp=0xc000d9db98 sp=0xc000d9da78 pc=0x50776f
github.com/containerd/containerd/archive.(*changeWriter).HandleChange(0xc00072bcc0, 0x1, 0xc0007671b0, 0x5, 0x12dd7a0, 0xc0004b2000, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/archive/tar.go:500 +0x45c fp=0xc000d9de28 sp=0xc000d9db98 pc=0xc174ac
github.com/containerd/continuity/fs.doubleWalkDiff.func3(0xc00050df68, 0xc0028b2458)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:318 +0x24f fp=0xc000d9df58 sp=0xc000d9de88 pc=0x6ba99f
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc00149e690, 0xc00072bd10)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64 fp=0xc000d9dfd0 sp=0xc000d9df58 pc=0x6b46f4
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7200 [chan receive]:
github.com/moby/buildkit/util/flightcontrol.(*Group).do.func1(0xc000ac79e0, 0x206c590, 0xc0027f99a1, 0x19)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:71 +0x3c
created by github.com/moby/buildkit/util/flightcontrol.(*Group).do
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:69 +0x1b4

goroutine 7184 [select]:
context.propagateCancel.func1(0x12d6120, 0xc0007e1260, 0x12c33e0, 0xc001bde0c0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/context/context.go:259 +0xd8
created by context.propagateCancel
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/context/context.go:258 +0x1ce

goroutine 7196 [semacquire]:
sync.runtime_Semacquire(0xc001815fc0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc001815fb8)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc001815fb0, 0xc002a7e540, 0x0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/moby/buildkit/cache/blobs.getDiffPairs(0x12d5aa0, 0xc001c2ac80, 0x12e5180, 0xc0002024a0, 0x12b4020, 0xc00041e3d0, 0x12e9aa0, 0xc00070e6a0, 0xc001e65901, 0x1, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:172 +0x23b
github.com/moby/buildkit/cache/blobs.getDiffPairs.func1(0xc0000d6f68, 0xc0015b4960)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:69 +0x95
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc001815020, 0xc002a7e420)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7212 [select]:
github.com/moby/buildkit/util/progress.(*progressReader).Read.func1(0xc00156a8a0, 0x12d5ae0, 0xc0000b2018, 0xc0017dd770)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:101 +0xb7
created by github.com/moby/buildkit/util/progress.(*progressReader).Read
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:100 +0xf5

goroutine 7235 [runnable]:
github.com/containerd/continuity/fs.pathWalk.func1(0xc001f00640, 0x40, 0x12dd7a0, 0xc0004b2a90, 0x0, 0x0, 0x4d89b9, 0xc0004b2a90)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/path.go:210 +0x2e9
path/filepath.walk(0xc001f00640, 0x40, 0x12dd7a0, 0xc0004b2a90, 0xc000063e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:358 +0x425
path/filepath.walk(0xc001a13bc0, 0x2c, 0x12dd7a0, 0xc0004b29c0, 0xc000063e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.walk(0xc001a13a40, 0x26, 0x12dd7a0, 0xc0004b28f0, 0xc000063e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.walk(0xc001a13110, 0x22, 0x12dd7a0, 0xc0004b24e0, 0xc000063e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.walk(0xc0008339e0, 0x1e, 0x12dd7a0, 0xc0004b2410, 0xc000063e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.Walk(0xc0008339e0, 0x1e, 0xc000c6be70, 0xc000c6cfc0, 0x2b)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:404 +0xff
github.com/containerd/continuity/fs.pathWalk(0x12d5aa0, 0xc0015445c0, 0xc0008339e0, 0x1e, 0xc00156bda0, 0x0, 0xc000c6d080)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/path.go:186 +0x8f
github.com/containerd/continuity/fs.doubleWalkDiff.func1(0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:246 +0xe0
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc001376480, 0xc001376510)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7207 [chan receive]:
github.com/moby/buildkit/util/flightcontrol.(*Group).do.func1(0xc000ac7b00, 0x206c590, 0xc001d2d541, 0x19)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:71 +0x3c
created by github.com/moby/buildkit/util/flightcontrol.(*Group).do
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:69 +0x1b4

goroutine 7236 [runnable]:
github.com/containerd/continuity/fs.pathWalk.func1(0xc001f006c0, 0x40, 0x12dd7a0, 0xc0004b2c30, 0x0, 0x0, 0x4d89b9, 0xc0004b2c30)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/path.go:210 +0x2e9
path/filepath.walk(0xc001f006c0, 0x40, 0x12dd7a0, 0xc0004b2c30, 0xc000246e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:358 +0x425
path/filepath.walk(0xc001a13f20, 0x2c, 0x12dd7a0, 0xc0004b2b60, 0xc000246e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.walk(0xc001a13860, 0x26, 0x12dd7a0, 0xc0004b2820, 0xc000246e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.walk(0xc001a23f20, 0x22, 0x12dd7a0, 0xc000593450, 0xc000246e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.walk(0xc000833d20, 0x1e, 0x12dd7a0, 0xc000593380, 0xc000246e70, 0x0, 0xc000540f90)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.Walk(0xc000833d20, 0x1e, 0xc000540e70, 0xba9dcf, 0xc002ebed40)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:404 +0xff
github.com/containerd/continuity/fs.pathWalk(0x12d5aa0, 0xc0015445c0, 0xc000833d20, 0x1e, 0xc00156be60, 0x10f19e0, 0xc00059e3c0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/path.go:186 +0x8f
github.com/containerd/continuity/fs.doubleWalkDiff.func2(0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:250 +0xe0
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc001376480, 0xc001376570)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7211 [select]:
github.com/moby/buildkit/util/progress.(*progressReader).Read.func1(0xc00156a7e0, 0x12d5ae0, 0xc0000b2018, 0xc00175e1b0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:101 +0xb7
created by github.com/moby/buildkit/util/progress.(*progressReader).Read
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:100 +0xf5

goroutine 7191 [chan receive]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12d5aa0, 0xc001c2a500, 0xc0018147b0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:166 +0x12f

goroutine 7183 [semacquire]:
sync.runtime_Semacquire(0xc001376490)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc001376488)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc001376480, 0xc00260d090, 0xc00156be60)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/containerd/continuity/fs.doubleWalkDiff(0x12d5aa0, 0xc001bde0c0, 0xc00070f5f0, 0xc0008339e0, 0x1e, 0xc000833d20, 0x1e, 0xc0013762d0, 0xc00260d040)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:325 +0x355
github.com/containerd/continuity/fs.Changes(0x12d5aa0, 0xc001bde0c0, 0xc0008339e0, 0x1e, 0xc000833d20, 0x1e, 0xc00070f5f0, 0x10869c0, 0xc0007b1b60)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:111 +0x254
github.com/containerd/containerd/archive.WriteDiff(0x12d5aa0, 0xc001bde0c0, 0x12b5540, 0xc0007b1ba0, 0xc0008339e0, 0x1e, 0xc000833d20, 0x1e, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/archive/tar.go:74 +0xe3
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1.1(0xc000833d20, 0x1e, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/diff/walking/differ.go:121 +0x51f
github.com/containerd/containerd/mount.WithTempMount(0x12d5aa0, 0xc001bde0c0, 0xc00173ab80, 0x1, 0x1, 0xc000147768, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/mount/temp.go:65 +0x2ce
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1(0xc0008339e0, 0x1e, 0x1, 0xc0008339e0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/diff/walking/differ.go:83 +0xe0
github.com/containerd/containerd/mount.WithTempMount(0x12d5aa0, 0xc001bde0c0, 0xc001b56ac0, 0x1, 0x1, 0xc0001479c0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/mount/temp.go:65 +0x2ce
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare(0xc00041e3d0, 0x12d5aa0, 0xc001bde0c0, 0xc001b56ac0, 0x1, 0x1, 0xc00173ab80, 0x1, 0x1, 0xc00070f330, ...)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/diff/walking/differ.go:82 +0x33f
github.com/moby/buildkit/cache/blobs.getDiffPairs.func2.1(0x12d5aa0, 0xc001bde0c0, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:135 +0x70b
github.com/moby/buildkit/util/flightcontrol.(*call).run(0xc000a1ccf0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:121 +0xee
sync.(*Once).doSlow(0xc000a1cd50, 0xc000815600)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/once.go:66 +0xe3
sync.(*Once).Do(0xc000a1cd50, 0xc000815600)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/once.go:57 +0x45
created by github.com/moby/buildkit/util/flightcontrol.(*call).wait
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:148 +0x214

goroutine 7210 [select]:
github.com/moby/buildkit/util/progress.(*progressReader).Read.func1(0xc00156a3c0, 0x12d5ae0, 0xc0000b2018, 0xc001815500)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:101 +0xb7
created by github.com/moby/buildkit/util/progress.(*progressReader).Read
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:100 +0xf5

goroutine 7180 [chan receive]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12d5aa0, 0xc001c01900, 0xc0017dd770)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:166 +0x12f

goroutine 7192 [sync.Cond.Wait]:
runtime.goparkunlock(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc001c2a890, 0xc000000000)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc001c2a880)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc0018147b0, 0x12d5ae0, 0xc0000b2018, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:127 +0x12e
github.com/moby/buildkit/util/flightcontrol.(*progressState).run(0xc001814660, 0x12b4c20, 0xc0018147b0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:280 +0x16d
created by github.com/moby/buildkit/util/flightcontrol.newCall
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:112 +0x1d8

goroutine 7199 [sync.Cond.Wait]:
runtime.goparkunlock(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc001c2b1d0, 0xc000000000)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc001c2b1c0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc001815500, 0x12d5ae0, 0xc0000b2018, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:127 +0x12e
github.com/moby/buildkit/util/flightcontrol.(*progressState).run(0xc001815290, 0x12b4c20, 0xc001815500)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:280 +0x16d
created by github.com/moby/buildkit/util/flightcontrol.newCall
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:112 +0x1d8

goroutine 7189 [semacquire]:
sync.runtime_Semacquire(0xc001815030)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc001815028)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc001815020, 0xc002a7e4e0, 0xc00070e6a0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/moby/buildkit/cache/blobs.getDiffPairs(0x12d5aa0, 0xc001c2a400, 0x12e5180, 0xc0002024a0, 0x12b4020, 0xc00041e3d0, 0x12e9aa0, 0xc00070e4a0, 0xc001e65901, 0x1, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:172 +0x23b
github.com/moby/buildkit/cache/blobs.getDiffPairs.func1(0xc0000d6f68, 0xc0015b4960)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:69 +0x95
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc001814420, 0xc002a7e360)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7204 [select]:
github.com/moby/buildkit/util/flightcontrol.(*call).wait(0xc000ac7b00, 0x12d5aa0, 0xc001c2b800, 0x206c590, 0xc001d2d541, 0x19, 0xc0000d5dd0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:150 +0x2a9
github.com/moby/buildkit/util/flightcontrol.(*Group).do(0x206c590, 0x12d5aa0, 0xc001c2b800, 0xc001d2d541, 0x19, 0xc00260cd20, 0xc00008a060, 0xc001786301, 0x12d5ae0, 0xc0000d5e30)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:78 +0x1eb
github.com/moby/buildkit/util/flightcontrol.(*Group).Do(0x206c590, 0x12d5aa0, 0xc001c2b800, 0xc001d2d541, 0x19, 0xc00260cd20, 0xc00300d800, 0x4, 0xc0000d5ea0, 0x440def)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:37 +0x7a
github.com/moby/buildkit/cache/blobs.getDiffPairs.func2(0xc0000d5f68, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:78 +0x1a4
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc001815fb0, 0xc002a7e540)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7206 [sync.Cond.Wait]:
runtime.goparkunlock(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc001c2ba50, 0xc000000000)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc001c2ba40)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc00175e1b0, 0x12d5ae0, 0xc0000b2018, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:127 +0x12e
github.com/moby/buildkit/util/flightcontrol.(*progressState).run(0xc00175e060, 0x12b4c20, 0xc00175e1b0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:280 +0x16d
created by github.com/moby/buildkit/util/flightcontrol.newCall
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:112 +0x1d8

goroutine 7208 [semacquire]:
sync.runtime_Semacquire(0xc00142a820)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc00142a818)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc00142a810, 0xc00260cf50, 0xc00156b800)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/containerd/continuity/fs.doubleWalkDiff(0x12d5aa0, 0xc001bb6200, 0xc00070f2b0, 0xc0028a92a0, 0x1e, 0xc0028a9360, 0x1e, 0xc00142a660, 0xc00260cf00)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:325 +0x355
github.com/containerd/continuity/fs.Changes(0x12d5aa0, 0xc001bb6200, 0xc0028a92a0, 0x1e, 0xc0028a9360, 0x1e, 0xc00070f2b0, 0x10869c0, 0xc0007b01c0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:111 +0x254
github.com/containerd/containerd/archive.WriteDiff(0x12d5aa0, 0xc001bb6200, 0x12b5540, 0xc0007b01e0, 0xc0028a92a0, 0x1e, 0xc0028a9360, 0x1e, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/archive/tar.go:74 +0xe3
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1.1(0xc0028a9360, 0x1e, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/diff/walking/differ.go:121 +0x51f
github.com/containerd/containerd/mount.WithTempMount(0x12d5aa0, 0xc001bb6200, 0xc001a8da40, 0x1, 0x1, 0xc000239768, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/mount/temp.go:65 +0x2ce
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1(0xc0028a92a0, 0x1e, 0x0, 0xc0028a92a0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/diff/walking/differ.go:83 +0xe0
github.com/containerd/containerd/mount.WithTempMount(0x12d5aa0, 0xc001bb6200, 0x0, 0x0, 0x0, 0xc0000639c0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/mount/temp.go:65 +0x2ce
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare(0xc00041e3d0, 0x12d5aa0, 0xc001bb6200, 0x0, 0x0, 0x0, 0xc001a8da40, 0x1, 0x1, 0xc000815ca0, ...)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/diff/walking/differ.go:82 +0x33f
github.com/moby/buildkit/cache/blobs.getDiffPairs.func2.1(0x12d5aa0, 0xc001bb6200, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:135 +0x70b
github.com/moby/buildkit/util/flightcontrol.(*call).run(0xc000ac7b00)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:121 +0xee
sync.(*Once).doSlow(0xc000ac7b60, 0xc00070e940)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/once.go:66 +0xe3
sync.(*Once).Do(0xc000ac7b60, 0xc00070e940)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/once.go:57 +0x45
created by github.com/moby/buildkit/util/flightcontrol.(*call).wait
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:148 +0x214

goroutine 7178 [semacquire]:
sync.runtime_Semacquire(0xc001814430)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc001814428)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc001814420, 0xc002a7e3c0, 0xc00070e4a0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/moby/buildkit/cache/blobs.getDiffPairs(0x12d5aa0, 0xc001c01680, 0x12e5180, 0xc0002024a0, 0x12b4020, 0xc00041e3d0, 0x12e9aa0, 0xc0008155a0, 0xc002b78301, 0x1, ...)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:172 +0x23b
github.com/moby/buildkit/cache/blobs.getDiffPairs.func1(0xc00050af68, 0xc00050af01)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:69 +0x95
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0017dd200, 0xc00323ee40)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7203 [select]:
github.com/moby/buildkit/util/progress.(*progressReader).Read.func1(0xc00157f800, 0x12d5ae0, 0xc0000b2018, 0xc0018147b0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:101 +0xb7
created by github.com/moby/buildkit/util/progress.(*progressReader).Read
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:100 +0xf5

goroutine 7217 [select]:
github.com/containerd/continuity/fs.pathWalk.func1(0xc001a23d70, 0x28, 0x12dd7a0, 0xc0005931e0, 0x0, 0x0, 0x4d89b9, 0xc0005931e0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/path.go:210 +0x2e9
path/filepath.walk(0xc001a23d70, 0x28, 0x12dd7a0, 0xc0005931e0, 0xc000067e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:358 +0x425
path/filepath.walk(0xc001a12e40, 0x22, 0x12dd7a0, 0xc0004b2270, 0xc000067e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.walk(0xc0028a9360, 0x1e, 0x12dd7a0, 0xc0004b21a0, 0xc000067e70, 0x0, 0x6574006f67006c61)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.Walk(0xc0028a9360, 0x1e, 0xc000c6ce70, 0x672e323631356575, 0x6f)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:404 +0xff
github.com/containerd/continuity/fs.pathWalk(0x12d5aa0, 0xc0016a9ec0, 0xc0028a9360, 0x1e, 0xc00156b800, 0x6574006f67006c61, 0x6465786966007473)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/path.go:186 +0x8f
github.com/containerd/continuity/fs.doubleWalkDiff.func2(0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:250 +0xe0
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc00142a810, 0xc00142a9f0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7237 [runnable]:
os.(*File).Read(0xc0000b6cc8, 0xc000dc5df8, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/file.go:112 +0x267
github.com/containerd/continuity/fs.compareFileContent(0xc001f00680, 0x40, 0xc001f00700, 0x40, 0x6b8700, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/path.go:168 +0x1ba
github.com/containerd/continuity/fs.sameFile(0xc001302630, 0xc001302990, 0x2, 0xc0019e0150, 0x22)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/path.go:124 +0x3f7
github.com/containerd/continuity/fs.doubleWalkDiff.func3(0xc000c6d768, 0x642e373539356575)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:299 +0x3de
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc001376480, 0xc00260d090)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7234 [syscall]:
os/user._Cfunc_mygetgrgid_r(0x0, 0xc00087f0c0, 0x7fd144000b20, 0x400, 0xc0000b6c90, 0xc000000000)
        _cgo_gotypes.go:106 +0x4d fp=0xc002a79810 sp=0xc002a797e0 pc=0x50251d
os/user.lookupUnixGid.func1.1(0x0, 0xc00087f0c0, 0xc000815f80, 0xc0000b6c90, 0xc002a798b0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:183 +0x14c fp=0xc002a79860 sp=0xc002a79810 pc=0x504abc
os/user.lookupUnixGid.func1(0x102e7e0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:183 +0x45 fp=0xc002a79898 sp=0xc002a79860 pc=0x504b55
os/user.retryWithBuffer(0xc000815f80, 0xc002a799a8, 0x402fe5, 0xc002a79a48)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:251 +0x3b fp=0xc002a798f0 sp=0xc002a79898 pc=0x503c0b
os/user.lookupUnixGid(0x0, 0x0, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:176 +0x14c fp=0xc002a799e0 sp=0xc002a798f0 pc=0x50371c
os/user.lookupGroupId(0x1163cd2, 0x1, 0x1163cd2, 0x1, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/cgo_lookup_unix.go:166 +0x73 fp=0xc002a79a18 sp=0xc002a799e0 pc=0x503593
os/user.LookupGroupId(...)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/os/user/lookup.go:57
archive/tar.statUnix(0x12dd7a0, 0xc0004b2270, 0xc0029036c0, 0x113f186, 0x1)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/archive/tar/stat_unix.go:45 +0x385 fp=0xc002a79a78 sp=0xc002a79a18 pc=0x50e135
archive/tar.FileInfoHeader(0x12dd7a0, 0xc0004b2270, 0x0, 0x0, 0x22, 0x60, 0xc002a7f3e0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/archive/tar/common.go:702 +0x43f fp=0xc002a79b98 sp=0xc002a79a78 pc=0x50776f
github.com/containerd/containerd/archive.(*changeWriter).HandleChange(0xc00260cf00, 0x1, 0xc0007671fc, 0x4, 0x12dd7a0, 0xc0004b2270, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/archive/tar.go:500 +0x45c fp=0xc002a79e28 sp=0xc002a79b98 pc=0xc174ac
github.com/containerd/continuity/fs.doubleWalkDiff.func3(0xc000c6d768, 0x642e373539356575)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:318 +0x24f fp=0xc002a79f58 sp=0xc002a79e88 pc=0x6ba99f
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc00142a810, 0xc00260cf50)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64 fp=0xc002a79fd0 sp=0xc002a79f58 pc=0x6b46f4
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7197 [select]:
github.com/moby/buildkit/util/flightcontrol.(*call).wait(0xc000ac79e0, 0x12d5aa0, 0xc001c2ac80, 0x206c590, 0xc0027f99a1, 0x19, 0x12d6120)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:150 +0x2a9
github.com/moby/buildkit/util/flightcontrol.(*Group).do(0x206c590, 0x12d5aa0, 0xc001c2ac80, 0xc0027f99a1, 0x19, 0xc00260caa0, 0xc00070e590, 0x42e38a, 0xc001c2a940, 0xc000509e30)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:78 +0x1eb
github.com/moby/buildkit/util/flightcontrol.(*Group).Do(0x206c590, 0x12d5aa0, 0xc001c2ac80, 0xc0027f99a1, 0x19, 0xc00260caa0, 0xb17f7f, 0xc00070e590, 0x0, 0xc000509e98)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:37 +0x7a
github.com/moby/buildkit/cache/blobs.getDiffPairs.func2(0xc000509f68, 0xc000509f10)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:78 +0x1a4
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc001815020, 0xc002a7e4e0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7194 [semacquire]:
sync.runtime_Semacquire(0xc00149e6a0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc00149e698)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc00149e690, 0xc00072bd10, 0xc001564000)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/containerd/continuity/fs.doubleWalkDiff(0x12d5aa0, 0xc001c2a940, 0xc000815e80, 0xc00267d5e0, 0x1e, 0xc00267d760, 0x1e, 0xc00149e4e0, 0xc00072bcc0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:325 +0x355
github.com/containerd/continuity/fs.Changes(0x12d5aa0, 0xc001c2a940, 0xc00267d5e0, 0x1e, 0xc00267d760, 0x1e, 0xc000815e80, 0x10869c0, 0xc00087ecc0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:111 +0x254
github.com/containerd/containerd/archive.WriteDiff(0x12d5aa0, 0xc001c2a940, 0x12b5540, 0xc00087ed00, 0xc00267d5e0, 0x1e, 0xc00267d760, 0x1e, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/archive/tar.go:74 +0xe3
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1.1(0xc00267d760, 0x1e, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/diff/walking/differ.go:121 +0x51f
github.com/containerd/containerd/mount.WithTempMount(0x12d5aa0, 0xc001c2a940, 0xc001b56ac0, 0x1, 0x1, 0xc000b47768, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/mount/temp.go:65 +0x2ce
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1(0xc00267d5e0, 0x1e, 0x1, 0xc00267d5e0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/diff/walking/differ.go:83 +0xe0
github.com/containerd/containerd/mount.WithTempMount(0x12d5aa0, 0xc001c2a940, 0xc001abfcc0, 0x1, 0x1, 0xc000b479c0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/mount/temp.go:65 +0x2ce
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare(0xc00041e3d0, 0x12d5aa0, 0xc001c2a940, 0xc001abfcc0, 0x1, 0x1, 0xc001b56ac0, 0x1, 0x1, 0xc00070ef60, ...)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/diff/walking/differ.go:82 +0x33f
github.com/moby/buildkit/cache/blobs.getDiffPairs.func2.1(0x12d5aa0, 0xc001c2a940, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:135 +0x70b
github.com/moby/buildkit/util/flightcontrol.(*call).run(0xc000ac78c0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:121 +0xee
sync.(*Once).doSlow(0xc000ac7920, 0xc00070e580)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/once.go:66 +0xe3
sync.(*Once).Do(0xc000ac7920, 0xc00070e580)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/sync/once.go:57 +0x45
created by github.com/moby/buildkit/util/flightcontrol.(*call).wait
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:148 +0x214

goroutine 7179 [select]:
github.com/moby/buildkit/util/flightcontrol.(*call).wait(0xc000a1ccf0, 0x12d5aa0, 0xc001c01680, 0x206c590, 0xc002c46ae1, 0x19, 0xf697e0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:150 +0x2a9
github.com/moby/buildkit/util/flightcontrol.(*Group).do(0x206c590, 0x12d5aa0, 0xc001c01680, 0xc002c46ae1, 0x19, 0xc00072bb80, 0x0, 0xc0005c2718, 0x43fc91, 0xc0005c2630)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:78 +0x1eb
github.com/moby/buildkit/util/flightcontrol.(*Group).Do(0x206c590, 0x12d5aa0, 0xc001c01680, 0xc002c46ae1, 0x19, 0xc00072bb80, 0x5, 0xc0005c26a8, 0x40701a, 0xc00008a840)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:37 +0x7a
github.com/moby/buildkit/cache/blobs.getDiffPairs.func2(0xc0005c2768, 0xc00158f680)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:78 +0x1a4
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0017dd200, 0xc00323eea0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7150 [select]:
github.com/moby/buildkit/util/progress.(*progressReader).Read.func1(0xc0015a8840, 0x12d5aa0, 0xc0002dac80, 0xc00009d320)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:101 +0xb7
created by github.com/moby/buildkit/util/progress.(*progressReader).Read
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:100 +0xf5

goroutine 7190 [select]:
github.com/moby/buildkit/util/flightcontrol.(*call).wait(0xc000ac78c0, 0x12d5aa0, 0xc001c2a400, 0x206c590, 0xc002b51281, 0x19, 0xc000507dd0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:150 +0x2a9
github.com/moby/buildkit/util/flightcontrol.(*Group).do(0x206c590, 0x12d5aa0, 0xc001c2a400, 0xc002b51281, 0x19, 0xc00260c960, 0x1, 0xc000507f18, 0x43fc91, 0xc000507e30)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:78 +0x1eb
github.com/moby/buildkit/util/flightcontrol.(*Group).Do(0x206c590, 0x12d5aa0, 0xc001c2a400, 0xc002b51281, 0x19, 0xc00260c960, 0x0, 0x4, 0x0, 0xc0001eff38)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:37 +0x7a
github.com/moby/buildkit/cache/blobs.getDiffPairs.func2(0xc000507f68, 0xc0015b58c0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/cache/blobs/blobs.go:78 +0x1a4
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc001814420, 0xc002a7e3c0)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7205 [chan receive]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12d5aa0, 0xc001c2b900, 0xc00175e1b0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:166 +0x12f

goroutine 7209 [select]:
context.propagateCancel.func1(0x12d6120, 0xc000647e80, 0x12c33e0, 0xc001bb6200)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/context/context.go:259 +0xd8
created by context.propagateCancel
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/context/context.go:258 +0x1ce

goroutine 7214 [select]:
github.com/containerd/continuity/fs.pathWalk.func1(0xc001a23ad0, 0x2c, 0x12dd7a0, 0xc000593110, 0x0, 0x0, 0x0, 0xc000593110)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/path.go:210 +0x2e9
path/filepath.walk(0xc001a23ad0, 0x2c, 0x12dd7a0, 0xc000593110, 0xc002931e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:362 +0xe3
path/filepath.walk(0xc001a238f0, 0x26, 0x12dd7a0, 0xc000593040, 0xc002931e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.walk(0xc001a22f30, 0x22, 0x12dd7a0, 0xc0003b7ba0, 0xc002931e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.walk(0xc0028a9060, 0x1e, 0x12dd7a0, 0xc0003b7ad0, 0xc002931e70, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:382 +0x2ff
path/filepath.Walk(0xc0028a9060, 0x1e, 0xc000c6be70, 0xc000c6cfc0, 0x2b)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/path/filepath/path.go:404 +0xff
github.com/containerd/continuity/fs.pathWalk(0x12d5aa0, 0xc0016a8680, 0xc0028a9060, 0x1e, 0xc00156b0e0, 0x0, 0xc000c6d080)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/path.go:186 +0x8f
github.com/containerd/continuity/fs.doubleWalkDiff.func2(0x0, 0x0)
        /home/travis/gopath/pkg/mod/github.com/containerd/[email protected]/fs/diff.go:250 +0xe0
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0014672f0, 0xc001467560)
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/travis/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 7176 [select]:
github.com/moby/buildkit/util/progress.(*progressReader).Read.func1(0xc0015a70e0, 0x12d5ae0, 0xc0000b2018, 0xc000320ea0)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:101 +0xb7
created by github.com/moby/buildkit/util/progress.(*progressReader).Read
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/progress/progress.go:100 +0xf5

goroutine 7202 [select]:
context.propagateCancel.func1(0x12d6120, 0xc000647ce0, 0x12c33e0, 0xc001c2b200)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/context/context.go:259 +0xd8
created by context.propagateCancel
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/context/context.go:258 +0x1ce

goroutine 7193 [chan receive]:
github.com/moby/buildkit/util/flightcontrol.(*Group).do.func1(0xc000ac78c0, 0x206c590, 0xc002b51281, 0x19)
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:71 +0x3c
created by github.com/moby/buildkit/util/flightcontrol.(*Group).do
        /home/travis/gopath/pkg/mod/github.com/moby/[email protected]/util/flightcontrol/flightcontrol.go:69 +0x1b4
[signal SIGSEGV: segmentation violation code=0x1 addr=0xe5 pc=0x7fd164da2270]

runtime stack:
runtime.throw(0x116b440, 0x2a)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/panic.go:774 +0x72
runtime.sigpanic()
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/signal_unix.go:378 +0x47c
[signal SIGSEGV: segmentation violation code=0x1 addr=0xe5 pc=0x7fd164da2270]

runtime stack:
runtime.throw(0x116b440, 0x2a)
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/panic.go:774 +0x72
runtime.sigpanic()
        /home/travis/.gimme/versions/go1.13.10.linux.amd64/src/runtime/signal_unix.go:378 +0x47c

austinorth avatar Jul 17 '20 18:07 austinorth

Same issue here, from what I've seen whenever a RUN instruction is present, also with v0.5.10. Can't use v0.5.7 since we export as tar's :) (which does not seem to be a feature in previous versions).

ghost avatar Jul 21 '20 11:07 ghost

I think this can be closed since v0.5.11 has been released... works fine here.

fr33jc avatar Jan 25 '21 00:01 fr33jc