Closed jeunii closed 4 years ago
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.70. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
The Dockerfile for my jnlp image is as follows :
FROM jenkinsci/slave:3.29-2 AS jenkinscislave
FROM <base-image>:1.0.2
ARG TRACEABILITY
ARG JENKINS_DIR="/srv/jenkins"
ARG USER=jenkins
ARG GROUP=jenkins
ARG UID=10000
ARG GID=10000
ARG JENKINS_HOME="/var/lib/${USER}"
#Jenkinsdocker
RUN groupadd -g ${GID} ${GROUP} && \
useradd -c "Jenkins user" -d ${JENKINS_HOME} -u ${UID} -g ${GID} -m ${USER}
RUN apt-get update && apt-get install -y --no-install-recommends \
bc \
jq \
git \
zip \
xvfb \
curl \
lsof \
wget \
patch \
unzip \
uidmap \
procps \
pstack \
strace \
openssl \
mlocate \
python3 \
python-pip \
shellcheck \
libseccomp-dev \
python-setuptools \
&& rm -rf /var/lib/apt/lists/*
COPY --from=jenkinscislave /usr/share/jenkins /usr/share/jenkins
# img
ARG IMG_VERSION=v0.5.7
RUN curl -fSL https://github.com/genuinetools/img/releases/download/${IMG_VERSION}/img-linux-amd64 -o /usr/local/bin/img && \
chmod a+x /usr/local/bin/img
RUN mkdir -p /run/${USER}/${UID} \
&& chown -R ${USER} /run/${USER}/${UID} \
&& echo ${USER}:100000:65536 | tee /etc/subuid | tee /etc/subgid
ENV XDG_RUNTIME_DIR=/run/${USER}/${UID}
ARG TINI_VERSION=v0.18.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
RUN chmod +x /usr/local/bin/jenkins-slave
USER ${USER}
WORKDIR /var/lib/${USER}
# Pre-load pre-commit environment for hooks
ENV PRE_COMMIT_HOME /var/lib/jenkins/.cache
ENV npm_config_cache /var/lib/jenkins/.npm
RUN mkdir -p ${npm_config_cache}
ENTRYPOINT ["/tini", "--", "/usr/local/bin/jenkins-slave"]
I've had the same problem, but could solve it with building img from source (didn't fine the time yet to bisect the commits though):
FROM golang:1.12.17-buster AS builder
ENV BUILDTAGS="seccomp noembed"
RUN set -eux; \
mkdir -p /go/src/github.com/genuinetools; \
git clone https://github.com/genuinetools/img /go/src/github.com/genuinetools/img; \
cd /go/src/github.com/genuinetools/img; \
make
FROM debian:buster-slim
COPY --from=builder /go/src/github.com/genuinetools/img/img /usr/local/bin/
ENV IMG_DISABLE_EMBEDDED_RUNC=1
RUN set -eux; \
apt-get update; \
apt-get install runc
[...]
Will try to look into further when I find the time ;)
I build img from master and still gets the same issue on a pod running in k8s
[rootless@rootless img]$ img version
img:
version : v0.5.7
git hash : 9856fcb9
go version : go1.12.17
go compiler : gc
platform : linux/amd64
runc:
version :
commit :
spec :
[rootless@rootless img]$ cat Dockerfile.ubuntu
FROM docker.io/ubuntu
RUN echo john.doe
[rootless@rootless img]$ img build -t ubuntu -f Dockerfile.ubuntu .
Building docker.io/library/ubuntu:latest
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] git source cannot be enabled: failed to find git binary: exec: "git": executable file not found in $PATH
[+] Building 0.7s (5/5)
=> [internal] load build definition from Dockerfile.ubuntu 0.1s
=> => transferring dockerfile: 38B 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:latest 0.2s
=> [1/2] FROM docker.io/library/ubuntu@sha256:04d48df82c938587820d7b6006f5071dbbffceb7ca01d2814f81857c631d44df 0.0s
=> => resolve docker.io/library/ubuntu@sha256:04d48df82c938587820d7b6006f5071dbbffceb7ca01d2814f81857c631d44df 0.0s
=> CACHED [2/2] RUN echo john.doe 0.0s
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xe5 pc=0x7f98d83bd780]
runtime stack:
runtime.throw(0x10b07bc, 0x2a)
/home/vagrant/go1.12/src/runtime/panic.go:617 +0x72
runtime.sigpanic()
/home/vagrant/go1.12/src/runtime/signal_unix.go:374 +0x4a9
goroutine 271 [syscall]:
runtime.cgocall(0xd6c9e0, 0xc000233870, 0xc0000ac410)
/home/vagrant/go1.12/src/runtime/cgocall.go:128 +0x5b fp=0xc000233840 sp=0xc000233808 pc=0x404e7b
os/user._Cfunc_mygetgrgid_r(0x2b, 0xc0006c45a0, 0x7f98c8000c80, 0x400, 0xc0000ac410, 0x0)
_cgo_gotypes.go:106 +0x4d fp=0xc000233870 sp=0xc000233840 pc=0x4f77ad
os/user.lookupUnixGid.func1.1(0x2b, 0xc0006c45a0, 0xc0006ac0f0, 0xc0000ac410, 0xc8000c8000d6cb10)
/home/vagrant/go1.12/src/os/user/cgo_lookup_unix.go:183 +0x14c fp=0xc0002338c0 sp=0xc000233870 pc=0x4f980c
os/user.lookupUnixGid.func1(0x40e108)
/home/vagrant/go1.12/src/os/user/cgo_lookup_unix.go:183 +0x45 fp=0xc0002338f8 sp=0xc0002338c0 pc=0x4f98a5
os/user.retryWithBuffer(0xc0006ac0f0, 0xc0002339f0, 0xc0006ac0f0, 0xc000233a98)
/home/vagrant/go1.12/src/os/user/cgo_lookup_unix.go:251 +0x3b fp=0xc000233960 sp=0xc0002338f8 pc=0x4f8a1b
os/user.lookupUnixGid(0x2b, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/src/os/user/cgo_lookup_unix.go:176 +0x130 fp=0xc000233a28 sp=0xc000233960 pc=0x4f84e0
os/user.lookupGroupId(0x10c734d, 0x2, 0x10c734d, 0x2, 0x0)
/home/vagrant/go1.12/src/os/user/cgo_lookup_unix.go:166 +0x73 fp=0xc000233a60 sp=0xc000233a28 pc=0x4f8373
os/user.LookupGroupId(...)
/home/vagrant/go1.12/src/os/user/lookup.go:57
archive/tar.statUnix(0x120f2c0, 0xc0001abc70, 0xc000307180, 0x1a48d60, 0x0)
/home/vagrant/go1.12/src/archive/tar/stat_unix.go:45 +0x38b fp=0xc000233ac0 sp=0xc000233a60 pc=0x50306b
archive/tar.FileInfoHeader(0x120f2c0, 0xc0001abc70, 0x0, 0x0, 0x39, 0x7f98dd284008, 0x0)
/home/vagrant/go1.12/src/archive/tar/common.go:702 +0x447 fp=0xc000233c00 sp=0xc000233ac0 pc=0x4fc4e7
github.com/genuinetools/img/vendor/github.com/containerd/containerd/archive.(*changeWriter).HandleChange(0xc000662050, 0x2, 0xc000609160, 0xd, 0x120f2c0, 0xc0001abc70, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/containerd/archive/tar.go:489 +0x45e fp=0xc000233e58 sp=0xc000233c00 pc=0xbc391e
github.com/genuinetools/img/vendor/github.com/containerd/containerd/archive.(*changeWriter).HandleChange-fm(0x2, 0xc000609160, 0xd, 0x120f2c0, 0xc0001abc70, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/containerd/archive/tar.go:451 +0x7d fp=0xc000233eb8 sp=0xc000233e58 pc=0xbc604d
github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs.doubleWalkDiff.func3(0x8, 0x10d2ca8)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs/diff.go:318 +0x250 fp=0xc000233f88 sp=0xc000233eb8 pc=0x63cd30
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0004ae1e0, 0xc0006620a0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57 fp=0xc000233fd0 sp=0xc000233f88 pc=0x636c27
runtime.goexit()
/home/vagrant/go1.12/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc000233fd8 sp=0xc000233fd0 pc=0x45b411
created by github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc0003592a0)
/home/vagrant/go1.12/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0xc000359298)
/home/vagrant/go1.12/src/sync/waitgroup.go:130 +0x65
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Wait(0xc000359290, 0xc000337de0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:41 +0x31
main.(*buildCommand).Run(0xc0003c8000, 0xc000396550, 0x1, 0x5, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/build.go:299 +0xef1
main.newBuildCommand.func1(0xc0003a1900, 0xc000396550, 0x1, 0x5, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/build.go:59 +0x48
github.com/genuinetools/img/vendor/github.com/spf13/cobra.(*Command).execute(0xc0003a1900, 0xc0000b2020, 0x5, 0x5, 0xc0003a1900, 0xc0000b2020)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/spf13/cobra/command.go:826 +0x465
github.com/genuinetools/img/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc0003a1680, 0xc00003e700, 0x1089b82, 0x5)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/spf13/cobra/command.go:914 +0x2fc
github.com/genuinetools/img/vendor/github.com/spf13/cobra.(*Command).Execute(...)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/spf13/cobra/command.go:864
main.main()
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/main.go:138 +0x6b5
goroutine 19 [syscall]:
os/signal.signal_recv(0x0)
/home/vagrant/go1.12/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
/home/vagrant/go1.12/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
/home/vagrant/go1.12/src/os/signal/signal_unix.go:29 +0x41
goroutine 23 [chan receive]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/appcontext.Context.func1.1(0xc000213f20, 0xc00030fa20, 0xc000352d70)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/appcontext/appcontext.go:30 +0x38
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/appcontext.Context.func1
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/appcontext/appcontext.go:28 +0xff
goroutine 24 [select]:
github.com/genuinetools/img/vendor/golang.org/x/net/http2.(*serverConn).serve(0xc000089e00)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/net/http2/server.go:814 +0x504
github.com/genuinetools/img/vendor/golang.org/x/net/http2.(*Server).ServeConn(0xc0002cd380, 0x1214600, 0xc000359170, 0xc000060da0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/net/http2/server.go:435 +0x715
github.com/genuinetools/img/vendor/github.com/moby/buildkit/session.serve(0x1207c00, 0xc0002cd2c0, 0xc000088d80, 0x1214600, 0xc000359170)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/session/grpc.go:24 +0x11c
github.com/genuinetools/img/vendor/github.com/moby/buildkit/session.(*Session).Run(0xc000360e70, 0x1207c00, 0xc0002cd2c0, 0xc000337da0, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/session/session.go:103 +0x675
main.(*buildCommand).Run.func1(0x8, 0x10d2ca8)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/build.go:258 +0x45
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000359290, 0xc0003592f0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
goroutine 25 [semacquire]:
sync.runtime_Semacquire(0xc000393d50)
/home/vagrant/go1.12/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0xc000393d48)
/home/vagrant/go1.12/src/sync/waitgroup.go:130 +0x65
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Wait(0xc000393d40, 0xc000393e30, 0xc000393d40)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:41 +0x31
github.com/genuinetools/img/client.(*Client).Solve(0xc0002cd100, 0x1207c00, 0xc0000b1100, 0xc0003d6360, 0xc000085260, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/client/solve.go:48 +0x1c6
main.(*buildCommand).Run.func2(0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/build.go:283 +0x21c
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000359290, 0xc00041c000)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
goroutine 26 [select]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progressui.DisplaySolveStatus(0x1207c40, 0xc0000a8018, 0x0, 0x0, 0x121a600, 0xc00030fb10, 0x11ea100, 0xc0000ac010, 0xc0000852c0, 0x0, ...)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progressui/display.go:55 +0x3b8
main.showProgress(0xc000085260, 0xc000078500, 0x0, 0xc000051790)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/build.go:499 +0xc9
main.(*buildCommand).Run.func3(0x8, 0x10d2ca8)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/build.go:297 +0x39
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000359290, 0xc000337de0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
goroutine 27 [chan receive]:
main.showProgress.func1(0xc000085260, 0xc0000852c0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/build.go:456 +0x74a
created by main.showProgress
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/build.go:455 +0x6b
goroutine 29 [chan receive]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/session.(*Manager).handleConn(0xc000337d20, 0x1207c00, 0xc0002cd840, 0x1214600, 0xc000359140, 0xc0003593e0, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/session/manager.go:144 +0x491
github.com/genuinetools/img/vendor/github.com/moby/buildkit/session.(*Manager).HandleConn(0xc000337d20, 0x1207c40, 0xc0000a8018, 0x1214600, 0xc000359140, 0xc0003593e0, 0x1207c00, 0xc0002cd2c0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/session/manager.go:97 +0x75
github.com/genuinetools/img/vendor/github.com/moby/buildkit/session/testutil.TestStream.func1.1(0xc00030fab0, 0xc000359140, 0xc0003593e0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/session/testutil/testutil.go:23 +0x63
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/session/testutil.TestStream.func1
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/session/testutil/testutil.go:22 +0x5a
goroutine 30 [chan receive]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/session.serve.func1(0x1207c00, 0xc0002cd2c0, 0x1214600, 0xc000359170)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/session/grpc.go:20 +0x48
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/session.serve
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/session/grpc.go:19 +0x64
goroutine 43 [sync.Cond.Wait]:
runtime.goparkunlock(...)
/home/vagrant/go1.12/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000b1010, 0xf)
/home/vagrant/go1.12/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000b1000)
/home/vagrant/go1.12/src/sync/cond.go:56 +0x9e
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/cond.(*StatefulCond).Wait(0xc000393d10)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/cond/cond.go:28 +0x98
github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver.(*scheduler).loop(0xc000033490)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver/scheduler.go:101 +0x168
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver.newScheduler
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver/scheduler.go:35 +0x1ad
goroutine 38 [select]:
io.(*pipe).Read(0xc0002c4ff0, 0xc000306498, 0x9, 0x9, 0xc000061de0, 0x8fdc4b, 0xc0006cc2c0)
/home/vagrant/go1.12/src/io/pipe.go:50 +0xe7
io.(*PipeReader).Read(0xc0000ac580, 0xc000306498, 0x9, 0x9, 0x0, 0xc000061d48, 0x458847)
/home/vagrant/go1.12/src/io/pipe.go:127 +0x4c
io.ReadAtLeast(0x7f98d9024450, 0xc000359170, 0xc000306498, 0x9, 0x9, 0x9, 0x10000008ff5f5, 0x0, 0x1)
/home/vagrant/go1.12/src/io/io.go:310 +0x88
io.ReadFull(...)
/home/vagrant/go1.12/src/io/io.go:329
github.com/genuinetools/img/vendor/golang.org/x/net/http2.readFrameHeader(0xc000306498, 0x9, 0x9, 0x7f98d9024450, 0xc000359170, 0x0, 0xc000000000, 0xc000061f28, 0xc000085c80)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/net/http2/frame.go:237 +0x88
github.com/genuinetools/img/vendor/golang.org/x/net/http2.(*Framer).ReadFrame(0xc000306460, 0xc000061ee0, 0x2, 0x0, 0x1)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/net/http2/frame.go:492 +0xa1
github.com/genuinetools/img/vendor/golang.org/x/net/http2.(*serverConn).readFrames(0xc000089e00)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/net/http2/server.go:701 +0xa4
created by github.com/genuinetools/img/vendor/golang.org/x/net/http2.(*serverConn).serve
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/net/http2/server.go:806 +0x2de
goroutine 33 [select]:
github.com/genuinetools/img/vendor/google.golang.org/grpc.(*ccResolverWrapper).watcher(0xc000359710)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/resolver_conn_wrapper.go:109 +0x13f
created by github.com/genuinetools/img/vendor/google.golang.org/grpc.(*ccResolverWrapper).start
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/resolver_conn_wrapper.go:95 +0x3f
goroutine 34 [select]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/session.monitorHealth(0x1207c00, 0xc0002cd840, 0xc000312b00, 0xc00030fc20)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/session/grpc.go:69 +0x189
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/session.grpcClientConn
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/session/grpc.go:55 +0x270
goroutine 35 [select]:
github.com/genuinetools/img/vendor/google.golang.org/grpc.(*ccBalancerWrapper).watcher(0xc0002cd8c0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/balancer_conn_wrappers.go:122 +0x110
created by github.com/genuinetools/img/vendor/google.golang.org/grpc.newCCBalancerWrapper
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/balancer_conn_wrappers.go:113 +0x13e
goroutine 36 [select]:
github.com/genuinetools/img/vendor/google.golang.org/grpc.(*addrConn).transportMonitor(0xc00034f680)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/clientconn.go:1070 +0x1c4
github.com/genuinetools/img/vendor/google.golang.org/grpc.(*addrConn).connect.func1(0xc00034f680)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/clientconn.go:622 +0x1d9
created by github.com/genuinetools/img/vendor/google.golang.org/grpc.(*addrConn).connect
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/clientconn.go:613 +0xe1
goroutine 37 [select]:
io.(*pipe).Read(0xc0002c5040, 0xc000440000, 0x8000, 0x8000, 0x11, 0x0, 0x0)
/home/vagrant/go1.12/src/io/pipe.go:50 +0xe7
io.(*PipeReader).Read(0xc0000ac590, 0xc000440000, 0x8000, 0x8000, 0x1060100000011, 0x8, 0xc00043de58)
/home/vagrant/go1.12/src/io/pipe.go:127 +0x4c
bufio.(*Reader).Read(0xc00041acc0, 0xc000306578, 0x9, 0x9, 0xc00031ca80, 0x7f98dd2846d0, 0x0)
/home/vagrant/go1.12/src/bufio/bufio.go:223 +0x23e
io.ReadAtLeast(0x11e8720, 0xc00041acc0, 0xc000306578, 0x9, 0x9, 0x9, 0x8ff5f5, 0xc0006cc2ec, 0xc00043de48)
/home/vagrant/go1.12/src/io/io.go:310 +0x88
io.ReadFull(...)
/home/vagrant/go1.12/src/io/io.go:329
github.com/genuinetools/img/vendor/golang.org/x/net/http2.readFrameHeader(0xc000306578, 0x9, 0x9, 0x11e8720, 0xc00041acc0, 0x0, 0xc000000000, 0x18b1424d, 0x1a48d60)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/net/http2/frame.go:237 +0x88
github.com/genuinetools/img/vendor/golang.org/x/net/http2.(*Framer).ReadFrame(0xc000306540, 0xc0006cc2e0, 0xc0006cc2e0, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/net/http2/frame.go:492 +0xa1
github.com/genuinetools/img/vendor/google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc0000cd380)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/internal/transport/http2_client.go:1178 +0x123
created by github.com/genuinetools/img/vendor/google.golang.org/grpc/internal/transport.newHTTP2Client
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/internal/transport/http2_client.go:261 +0xbc9
goroutine 41 [select]:
github.com/genuinetools/img/vendor/google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc0002cd9c0, 0x1, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/internal/transport/controlbuf.go:317 +0x104
github.com/genuinetools/img/vendor/google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc00041af60, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/internal/transport/controlbuf.go:435 +0x1b6
github.com/genuinetools/img/vendor/google.golang.org/grpc/internal/transport.newHTTP2Client.func3(0xc0000cd380)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/internal/transport/http2_client.go:301 +0x7b
created by github.com/genuinetools/img/vendor/google.golang.org/grpc/internal/transport.newHTTP2Client
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/google.golang.org/grpc/internal/transport/http2_client.go:299 +0xd21
goroutine 44 [semacquire]:
sync.runtime_Semacquire(0xc0003935d0)
/home/vagrant/go1.12/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0xc0003935c8)
/home/vagrant/go1.12/src/sync/waitgroup.go:130 +0x65
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Wait(0xc0003935c0, 0xc0001f8d20, 0xc0003754f0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:41 +0x31
github.com/genuinetools/img/vendor/github.com/moby/buildkit/cache/blobs.getDiffPairs(0x1207c00, 0xc000079040, 0x1216a60, 0xc00003ea20, 0x121d4a0, 0xc0000788c0, 0x11e8ac0, 0xc00003eae0, 0x12169a0, 0xc000375410, ...)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/cache/blobs/blobs.go:135 +0x218
github.com/genuinetools/img/vendor/github.com/moby/buildkit/cache/blobs.GetDiffPairs(0x1207cc0, 0xc000492210, 0x1216a60, 0xc00003ea20, 0x121d4a0, 0xc0000788c0, 0x11e8ac0, 0xc00003eae0, 0x12169a0, 0xc000375410, ...)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/cache/blobs/blobs.go:44 +0x13f
github.com/genuinetools/img/vendor/github.com/moby/buildkit/worker/base.(*Worker).GetRemote(0xc0000fc000, 0x1207cc0, 0xc000492210, 0x12169a0, 0xc000375410, 0xc0002a3b01, 0xc0000bd8f8, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/worker/base/worker.go:281 +0xba
github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver/llbsolver.inlineCache(0x1207cc0, 0xc000492210, 0x1208040, 0xc000202340, 0x1208200, 0xc0002a3b80, 0xc0003589f0, 0x0, 0x0, 0x0, ...)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver/llbsolver/solver.go:252 +0xf7
github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver/llbsolver.(*Solver).Solve(0xc000033420, 0x1207cc0, 0xc000492210, 0xc00035e641, 0x19, 0x0, 0x1091b09, 0xd, 0xc0003589f0, 0x0, ...)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver/llbsolver/solver.go:161 +0x1078
github.com/genuinetools/img/vendor/github.com/moby/buildkit/control.(*Controller).Solve(0xc00031ec00, 0x1207c00, 0xc0000b1100, 0xc0003d6360, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/control/control.go:266 +0x467
github.com/genuinetools/img/client.(*Client).Solve.func1(0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/client/solve.go:32 +0xa6
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000393d40, 0xc000393d70)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
goroutine 45 [semacquire]:
sync.runtime_Semacquire(0xc000492070)
/home/vagrant/go1.12/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0xc000492068)
/home/vagrant/go1.12/src/sync/waitgroup.go:130 +0x65
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Wait(0xc000492060, 0xc000202300, 0xc000492060)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:41 +0x31
github.com/genuinetools/img/vendor/github.com/moby/buildkit/control.(*Controller).Status(0xc00031ec00, 0xc000393ef0, 0x1211ae0, 0xc000393e60, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/control/control.go:336 +0x174
github.com/genuinetools/img/client.(*Client).Solve.func2(0x8, 0x10d2ca8)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/client/solve.go:44 +0xed
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000393d40, 0xc000393e30)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
goroutine 46 [sync.Cond.Wait]:
runtime.goparkunlock(...)
/home/vagrant/go1.12/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000b1710, 0xc000000012)
/home/vagrant/go1.12/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000b1700)
/home/vagrant/go1.12/src/sync/cond.go:56 +0x9e
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc000358ea0, 0x1207c00, 0xc0000b1180, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:125 +0x10b
github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver.(*Job).Status(0xc000033500, 0x1207c00, 0xc0000b1180, 0xc00007ae40, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver/progress.go:25 +0xd14
github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver/llbsolver.(*Solver).Status(0xc000033420, 0x1207c00, 0xc0000b1180, 0xc00035e641, 0x19, 0xc00007ae40, 0x0, 0xc000433790)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver/llbsolver/solver.go:280 +0xbe
github.com/genuinetools/img/vendor/github.com/moby/buildkit/control.(*Controller).Status.func1(0x8, 0x10d2ca8)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/control/control.go:289 +0x5e
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000492060, 0xc0004920c0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
goroutine 47 [chan receive]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/control.(*Controller).Status.func2(0x8, 0x10d2ca8)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/control/control.go:294 +0x782
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000492060, 0xc000202300)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
goroutine 48 [chan receive]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver.(*scheduler).loop.func2(0xc000033490)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver/scheduler.go:76 +0x38
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver.(*scheduler).loop
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/solver/scheduler.go:75 +0x6d
goroutine 49 [chan receive]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.pipe.func1(0x1207c00, 0xc0000b1280, 0xc000492900)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:165 +0x48
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.pipe
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:164 +0x131
goroutine 262 [sync.Cond.Wait]:
runtime.goparkunlock(...)
/home/vagrant/go1.12/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000790d0, 0xc000000000)
/home/vagrant/go1.12/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000790c0)
/home/vagrant/go1.12/src/sync/cond.go:56 +0x9e
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc000393710, 0x1207c40, 0xc0000a8018, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:125 +0x10b
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol.(*progressState).run(0xc000393680, 0x11e9640, 0xc000393710)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:274 +0x163
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol.newCall
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:109 +0x1a8
goroutine 54 [chan receive]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.pipe.func1(0x1207c00, 0xc0000b16c0, 0xc000358ea0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:165 +0x48
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.pipe
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:164 +0x131
goroutine 55 [select]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*MultiReader).Reader.func1(0x1207cc0, 0xc000358f30, 0xc000492f60, 0xc000202dc0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/multireader.go:37 +0xbb
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*MultiReader).Reader
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/multireader.go:36 +0x195
goroutine 56 [sync.Cond.Wait]:
runtime.goparkunlock(...)
/home/vagrant/go1.12/src/runtime/proc.go:307
sync.runtime_notifyListWait(0xc0000b12d0, 0xc000000012)
/home/vagrant/go1.12/src/runtime/sema.go:510 +0xf9
sync.(*Cond).Wait(0xc0000b12c0)
/home/vagrant/go1.12/src/sync/cond.go:56 +0x9e
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc000492900, 0x1207c40, 0xc0000a8018, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:125 +0x10b
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*MultiReader).handle(0xc000492f60, 0xc000358f30, 0xc000492f60)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/multireader.go:56 +0x118
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*MultiReader).Reader
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/multireader.go:47 +0x1ea
goroutine 183 [IO wait]:
internal/poll.runtime_pollWait(0x7f98d90201d8, 0x72, 0xffffffffffffffff)
/home/vagrant/go1.12/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc00039b818, 0x72, 0x1700, 0x1746, 0xffffffffffffffff)
/home/vagrant/go1.12/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
/home/vagrant/go1.12/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00039b800, 0xc0003f9000, 0x1746, 0x1746, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc00039b800, 0xc0003f9000, 0x1746, 0x1746, 0x203000, 0xc00001c1a2, 0x2)
/home/vagrant/go1.12/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0000ac6d0, 0xc0003f9000, 0x1746, 0x1746, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/src/net/net.go:177 +0x69
crypto/tls.(*atLeastReader).Read(0xc0006b0500, 0xc0003f9000, 0x1746, 0x1746, 0xc00041b200, 0xc000019940, 0xc000019938)
/home/vagrant/go1.12/src/crypto/tls/conn.go:761 +0x60
bytes.(*Buffer).ReadFrom(0xc0000873d8, 0x11e88e0, 0xc0006b0500, 0x40b985, 0xf571c0, 0x1057e40)
/home/vagrant/go1.12/src/bytes/buffer.go:207 +0xbd
crypto/tls.(*Conn).readFromUntil(0xc000087180, 0x11e9d40, 0xc0000ac6d0, 0x5, 0xc0000ac6d0, 0x203000)
/home/vagrant/go1.12/src/crypto/tls/conn.go:783 +0xf8
crypto/tls.(*Conn).readRecordOrCCS(0xc000087180, 0x10d2c00, 0xc0000872b8, 0xc000019dd0)
/home/vagrant/go1.12/src/crypto/tls/conn.go:590 +0x125
crypto/tls.(*Conn).readRecord(...)
/home/vagrant/go1.12/src/crypto/tls/conn.go:558
crypto/tls.(*Conn).Read(0xc000087180, 0xc00001c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/src/crypto/tls/conn.go:1236 +0x137
net/http.(*persistConn).Read(0xc000406120, 0xc00001c000, 0x1000, 0x1000, 0x4587f0, 0xc000019e88, 0x2)
/home/vagrant/go1.12/src/net/http/transport.go:1527 +0x7b
bufio.(*Reader).fill(0xc00041b200)
/home/vagrant/go1.12/src/bufio/bufio.go:100 +0x10f
bufio.(*Reader).Peek(0xc00041b200, 0x1, 0x2, 0x0, 0x0, 0xc0003be800, 0x0)
/home/vagrant/go1.12/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc000406120)
/home/vagrant/go1.12/src/net/http/transport.go:1680 +0x1a3
created by net/http.(*Transport).dialConn
/home/vagrant/go1.12/src/net/http/transport.go:1360 +0xaf8
goroutine 245 [select]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*progressReader).Read.func1(0xc0003acd80, 0x1207c00, 0xc0000b1180, 0xc000358ea0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:101 +0xb7
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*progressReader).Read
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:100 +0xdd
goroutine 244 [select]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*progressReader).Read.func1(0xc0003acd20, 0x1207c40, 0xc0000a8018, 0xc000492900)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:101 +0xb7
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*progressReader).Read
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:100 +0xdd
goroutine 261 [chan receive]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.pipe.func1(0x1207c00, 0xc000079080, 0xc000393710)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:165 +0x48
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.pipe
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:164 +0x131
goroutine 184 [select]:
net/http.(*persistConn).writeLoop(0xc000406120)
/home/vagrant/go1.12/src/net/http/transport.go:1979 +0x113
created by net/http.(*Transport).dialConn
/home/vagrant/go1.12/src/net/http/transport.go:1361 +0xb1d
goroutine 263 [chan receive]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol.(*Group).do.func1(0xc0001e4090, 0x1a44cb0, 0xc000039680, 0x19)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:71 +0x3c
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol.(*Group).do
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:69 +0x125
goroutine 260 [select]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol.(*call).wait(0xc0001e4090, 0x1207c00, 0xc000079040, 0x1a44cb0, 0xc000039680, 0x19, 0xb0dde5)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:144 +0x220
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol.(*Group).do(0x1a44cb0, 0x1207c00, 0xc000079040, 0xc000039680, 0x19, 0xc0000d9590, 0xc00020be90, 0x471553, 0xc000000010, 0xc00020bea8)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:77 +0x155
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol.(*Group).Do(0x1a44cb0, 0x1207c00, 0xc000079040, 0xc000039680, 0x19, 0xc0000d9590, 0xc0000b12d0, 0xc0000d8550, 0xc0003c0000, 0xc0000b1300)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:37 +0x7d
github.com/genuinetools/img/vendor/github.com/moby/buildkit/cache/blobs.getDiffPairs.func2(0xc000000008, 0x10d2ca8)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/cache/blobs/blobs.go:68 +0x1c7
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0003935c0, 0xc0001f8d20)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
goroutine 264 [semacquire]:
sync.runtime_Semacquire(0xc0004ae1f0)
/home/vagrant/go1.12/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0xc0004ae1e8)
/home/vagrant/go1.12/src/sync/waitgroup.go:130 +0x65
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Wait(0xc0004ae1e0, 0xc0006620a0, 0xc000084120)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:41 +0x31
github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs.doubleWalkDiff(0x1207c00, 0xc0002cc080, 0xc000692020, 0xc00003b170, 0x2c, 0xc00003b230, 0x2c, 0xc0004ae120, 0xc000662050)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs/diff.go:325 +0x31f
github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs.Changes(0x1208340, 0xc00069a820, 0xc00003b170, 0x2c, 0xc00003b230, 0x2c, 0xc000692020, 0xfee2c0, 0xc0006a0180)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs/diff.go:111 +0x259
github.com/genuinetools/img/vendor/github.com/containerd/containerd/archive.WriteDiff(0x1208340, 0xc00069a820, 0x11e9c20, 0xc0006a01c0, 0xc00003b170, 0x2c, 0xc00003b230, 0x2c, 0xc00069a820, 0xc0004afd70)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/containerd/archive/tar.go:76 +0xe3
github.com/genuinetools/img/vendor/github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1.1(0xc00003b230, 0x2c, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/containerd/diff/walking/differ.go:121 +0x4f4
github.com/genuinetools/img/vendor/github.com/containerd/containerd/mount.WithTempMount(0x1208340, 0xc00069a820, 0xc0004b2740, 0x1, 0x1, 0xc0004c7a58, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/containerd/mount/temp.go:65 +0x263
github.com/genuinetools/img/vendor/github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1(0xc00003b170, 0x2c, 0x1, 0xc00003b170)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/containerd/diff/walking/differ.go:83 +0xe0
github.com/genuinetools/img/vendor/github.com/containerd/containerd/mount.WithTempMount(0x1208340, 0xc00069a820, 0xc000079740, 0x1, 0x1, 0xc0004c7c08, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/containerd/mount/temp.go:65 +0x263
github.com/genuinetools/img/vendor/github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare(0xc00003eae0, 0x1208340, 0xc00069a820, 0xc000079740, 0x1, 0x1, 0xc0004b2740, 0x1, 0x1, 0xc00068ca20, ...)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/containerd/diff/walking/differ.go:82 +0x33f
github.com/genuinetools/img/vendor/github.com/moby/buildkit/cache/blobs.getDiffPairs.func2.1(0x1208340, 0xc00069a820, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/cache/blobs/blobs.go:102 +0x5d8
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol.(*call).run(0xc0001e4090)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:116 +0x65
sync.(*Once).Do(0xc0001e40e8, 0xc000375540)
/home/vagrant/go1.12/src/sync/once.go:44 +0xb3
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol.(*call).wait
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:142 +0x18b
goroutine 270 [select]:
github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs.pathWalk.func1(0xc0003a5580, 0x3d, 0x120f2c0, 0xc0001abe10, 0x0, 0x0, 0x4ce4da, 0xc0001abe10)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs/path.go:210 +0x2eb
path/filepath.walk(0xc0003a5580, 0x3d, 0x120f2c0, 0xc0001abe10, 0xc0004ae510, 0x0, 0x0)
/home/vagrant/go1.12/src/path/filepath/path.go:358 +0x426
path/filepath.walk(0xc000675500, 0x34, 0x120f2c0, 0xc00088c8f0, 0xc0004ae510, 0x0, 0x0)
/home/vagrant/go1.12/src/path/filepath/path.go:382 +0x300
path/filepath.walk(0xc000136d50, 0x30, 0x120f2c0, 0xc0001892b0, 0xc0004ae510, 0x0, 0x0)
/home/vagrant/go1.12/src/path/filepath/path.go:382 +0x300
path/filepath.walk(0xc00003b230, 0x2c, 0x120f2c0, 0xc0004964e0, 0xc0004ae510, 0x0, 0x30)
/home/vagrant/go1.12/src/path/filepath/path.go:382 +0x300
path/filepath.Walk(0xc00003b230, 0x2c, 0xc0004ae510, 0xc0003c0900, 0xc000050720)
/home/vagrant/go1.12/src/path/filepath/path.go:404 +0xff
github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs.pathWalk(0x1207c00, 0xc0002cc080, 0xc00003b230, 0x2c, 0xc000084120, 0x2, 0xc000050778)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs/path.go:186 +0x96
github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs.doubleWalkDiff.func2(0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs/diff.go:250 +0xb3
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0004ae1e0, 0xc0004ae360)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
goroutine 265 [select]:
github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*progressReader).Read.func1(0xc0003bf800, 0x1207c40, 0xc0000a8018, 0xc000393710)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:101 +0xb7
created by github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress.(*progressReader).Read
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/moby/buildkit/util/progress/progress.go:100 +0xdd
goroutine 214 [IO wait]:
internal/poll.runtime_pollWait(0x7f98d9020108, 0x72, 0xffffffffffffffff)
/home/vagrant/go1.12/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc00031fa18, 0x72, 0x1700, 0x1746, 0xffffffffffffffff)
/home/vagrant/go1.12/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
/home/vagrant/go1.12/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00031fa00, 0xc0003fa800, 0x1746, 0x1746, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc00031fa00, 0xc0003fa800, 0x1746, 0x1746, 0x203000, 0x40d879, 0xc000410840)
/home/vagrant/go1.12/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0000ac048, 0xc0003fa800, 0x1746, 0x1746, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/src/net/net.go:177 +0x69
crypto/tls.(*atLeastReader).Read(0xc0002a2320, 0xc0003fa800, 0x1746, 0x1746, 0xc000410840, 0x414d3e, 0xc00043a938)
/home/vagrant/go1.12/src/crypto/tls/conn.go:761 +0x60
bytes.(*Buffer).ReadFrom(0xc000057058, 0x11e88e0, 0xc0002a2320, 0x40b985, 0xf571c0, 0x1057e40)
/home/vagrant/go1.12/src/bytes/buffer.go:207 +0xbd
crypto/tls.(*Conn).readFromUntil(0xc000056e00, 0x11e9d40, 0xc0000ac048, 0x5, 0xc0000ac048, 0x203000)
/home/vagrant/go1.12/src/crypto/tls/conn.go:783 +0xf8
crypto/tls.(*Conn).readRecordOrCCS(0xc000056e00, 0x10d2c00, 0xc000056f38, 0xc00043ab88)
/home/vagrant/go1.12/src/crypto/tls/conn.go:590 +0x125
crypto/tls.(*Conn).readRecord(...)
/home/vagrant/go1.12/src/crypto/tls/conn.go:558
crypto/tls.(*Conn).Read(0xc000056e00, 0xc000262000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/vagrant/go1.12/src/crypto/tls/conn.go:1236 +0x137
net/http.(*persistConn).Read(0xc0003d6d80, 0xc000262000, 0x1000, 0x1000, 0xc00043ac88, 0x406d15, 0xc0003ac4e0)
/home/vagrant/go1.12/src/net/http/transport.go:1527 +0x7b
bufio.(*Reader).fill(0xc0000af6e0)
/home/vagrant/go1.12/src/bufio/bufio.go:100 +0x10f
bufio.(*Reader).Peek(0xc0000af6e0, 0x1, 0x0, 0x0, 0x1, 0xc0003ac400, 0x0)
/home/vagrant/go1.12/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc0003d6d80)
/home/vagrant/go1.12/src/net/http/transport.go:1680 +0x1a3
created by net/http.(*Transport).dialConn
/home/vagrant/go1.12/src/net/http/transport.go:1360 +0xaf8
goroutine 268 [select]:
context.propagateCancel.func1(0x1208340, 0xc00069a820, 0x11f67c0, 0xc0002cc080)
/home/vagrant/go1.12/src/context/context.go:259 +0xd8
created by context.propagateCancel
/home/vagrant/go1.12/src/context/context.go:258 +0x18a
goroutine 215 [select]:
net/http.(*persistConn).writeLoop(0xc0003d6d80)
/home/vagrant/go1.12/src/net/http/transport.go:1979 +0x113
created by net/http.(*Transport).dialConn
/home/vagrant/go1.12/src/net/http/transport.go:1361 +0xb1d
goroutine 269 [select]:
github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs.pathWalk.func1(0xc0003a5440, 0x3d, 0x120f2c0, 0xc0001abd40, 0x0, 0x0, 0x4ce4da, 0xc0001abd40)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs/path.go:210 +0x2eb
path/filepath.walk(0xc0003a5440, 0x3d, 0x120f2c0, 0xc0001abd40, 0xc0004ae390, 0x0, 0x0)
/home/vagrant/go1.12/src/path/filepath/path.go:358 +0x426
path/filepath.walk(0xc0003a4d40, 0x34, 0x120f2c0, 0xc0001ab790, 0xc0004ae390, 0x0, 0x0)
/home/vagrant/go1.12/src/path/filepath/path.go:382 +0x300
path/filepath.walk(0xc000136db0, 0x30, 0x120f2c0, 0xc000189380, 0xc0004ae390, 0x0, 0x0)
/home/vagrant/go1.12/src/path/filepath/path.go:382 +0x300
path/filepath.walk(0xc00003b170, 0x2c, 0x120f2c0, 0xc0004960d0, 0xc0004ae390, 0x0, 0x30)
/home/vagrant/go1.12/src/path/filepath/path.go:382 +0x300
path/filepath.Walk(0xc00003b170, 0x2c, 0xc0004ae390, 0xc0001d3200, 0xc00049df20)
/home/vagrant/go1.12/src/path/filepath/path.go:404 +0xff
github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs.pathWalk(0x1207c00, 0xc0002cc080, 0xc00003b170, 0x2c, 0xc0000840c0, 0x2, 0xc00049df78)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs/path.go:186 +0x96
github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs.doubleWalkDiff.func1(0x0, 0x0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/github.com/containerd/continuity/fs/diff.go:246 +0xb3
github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0004ae1e0, 0xc0004ae2d0)
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go1.12/gopath/src/github.com/genuinetools/img/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
[rootless@rootless img]$
and this is the pod spec yaml
---
apiVersion: v1
kind: Pod
metadata:
name: rootless
namespace: frezbo
labels:
name: rootless
annotations:
container.apparmor.security.beta.kubernetes.io/rootless: unconfined
spec:
imagePullSecrets:
- name: docker-artifactory
containers:
- name: rootless
image: "docker.io/frezbo/container-tools:0.1.4"
imagePullPolicy: Always
# securityContext:
# # procMount: Unmasked
command:
- sleep
- infinity
Yikes, I have run into this as well. Any updates around this? Wonderful repo by the way!! Way to go for all the amazing work that is being done here!!
How can I reproduce this? I'm not able to pull the docker.io/frezbo/container-tools:0.1.4
image to replicate, and not sure how that container was built. I wonder if it's missing runc?
@kekoav This is the dockerfile:
FROM docker.io/alpine AS runner
FROM registry.access.redhat.com/ubi8/ubi
COPY rootlesskit /usr/local/bin/rootlesskit
COPY img /usr/local/bin/img
RUN dnf reinstall -y shadow-utils && \
dnf clean all && \
rm -rf /var/cache/* && \
useradd rootless && \
mkdir -p /run/rootless/1000 && \
chown rootless:rootless /run/rootless/1000 && \
echo 'rootless:100000:65536' > /etc/subuid && \
echo 'rootless:100000:65536' > /etc/subgid && \
# curl -SLo /usr/local/bin/img https://github.com/genuinetools/img/releases/download/v0.5.7/img-linux-amd64 && \
curl -SLo /usr/local/bin/runc https://github.com/opencontainers/runc/releases/download/v1.0.0-rc10/runc.amd64 && \
curl -SLo /usr/local/bin/crun https://github.com/containers/crun/releases/download/0.12.2.1/crun-0.12.2.1-static-x86_64 && \
chmod +x /usr/local/bin/{rootlesskit,img,runc,crun} && \
mkdir -p /home/rootless/{runc/rootfs,img} && \
chown -R rootless:rootless /home/rootless/{runc,img}
COPY --from=runner --chown=rootless:rootless / /home/rootless/runc/rootfs/
COPY --chown=rootless:rootless Dockerfile.dummy /home/rootless/img/Dockerfile
COPY --chown=rootless:rootless oci_spec.json /home/rootless/runc/config.json
ENV USER rootless
ENV HOME /home/rootless
ENV XDG_RUNTIME_DIR /run/rootless/1000
USER rootless
WORKDIR /home/rootless
@frezbo I had to modify the Dockerfile a bit. I am downloading rootless directly, also building img (WARNING: from my fork on a branch at the moment). I also didn't have Dockerfile.dummy or the runc config you're using so I commented out.
FROM docker.io/alpine AS runner
FROM docker.io/alpine AS rootlesskit
ARG ROOTLESSKIT_VERSION=v0.9.3
RUN apk add wget gzip \
&& wget https://github.com/rootless-containers/rootlesskit/releases/download/${ROOTLESSKIT_VERSION}/rootlesskit-x86_64.tar.gz \
&& tar zxvf rootlesskit-x86_64.tar.gz
FROM golang:1.13-alpine AS img-build
RUN apk add --no-cache \
bash \
build-base \
gcc \
git \
libseccomp-dev \
linux-headers \
make
RUN go get github.com/jteeuwen/go-bindata/go-bindata
RUN git clone https://github.com/kekoav/img -b dependency-update-2020 /img
WORKDIR /img
ENV BUILDTAGS="seccomp noembed"
RUN make static
FROM registry.access.redhat.com/ubi8/ubi
COPY --from=rootlesskit /rootlesskit /usr/local/bin/rootlesskit
COPY --from=img-build /img/img /usr/local/bin/img
RUN dnf reinstall -y shadow-utils && \
dnf clean all && \
rm -rf /var/cache/* && \
useradd rootless && \
mkdir -p /run/rootless/1000 && \
chown rootless:rootless /run/rootless/1000 && \
echo 'rootless:100000:65536' > /etc/subuid && \
echo 'rootless:100000:65536' > /etc/subgid && \
# curl -SLo /usr/local/bin/img https://github.com/genuinetools/img/releases/download/v0.5.7/img-linux-amd64 && \
curl -SLo /usr/local/bin/runc https://github.com/opencontainers/runc/releases/download/v1.0.0-rc10/runc.amd64 && \
curl -SLo /usr/local/bin/crun https://github.com/containers/crun/releases/download/0.12.2.1/crun-0.12.2.1-static-x86_64 && \
chmod +x /usr/local/bin/{rootlesskit,img,runc,crun} && \
mkdir -p /home/rootless/{runc/rootfs,img} && \
chown -R rootless:rootless /home/rootless/{runc,img}
COPY --from=runner --chown=rootless:rootless / /home/rootless/runc/rootfs/
#COPY --chown=rootless:rootless Dockerfile.dummy /home/rootless/img/Dockerfile
#COPY --chown=rootless:rootless oci_spec.json /home/rootless/runc/config.json
ENV USER rootless
ENV HOME /home/rootless
ENV XDG_RUNTIME_DIR /run/rootless/1000
USER rootless
WORKDIR /home/rootless
docker build -t container-tools - < Dockerfile.container-tools
$ docker run -it --rm --security-opt seccomp=unconfined --security-opt apparmor=unconfined container-tools
[rootless@dfbfb7f2708f ~]$ cat <<EOT >> Dockerfile.ubuntu
> FROM docker.io/ubuntu
> RUN echo john.doe
> EOT
[rootless@dfbfb7f2708f ~]$ img build -t test -f Dockerfile.ubuntu .
Building docker.io/library/test:latest
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
WARN[0000] git source cannot be enabled: failed to find git binary: exec: "git": executable file not found in $PATH
[+] Building 7.6s (7/7) FINISHED
=> [internal] load build definition from Dockerfile.ubuntu 0.0s
=> => transferring dockerfile: 84B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:latest 1.1s
=> [1/2] FROM docker.io/library/ubuntu@sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 4.9s
=> => resolve docker.io/library/ubuntu@sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 0.0s
=> => sha256:5bed26d33875e6da1d9ff9a1054c5fef3bbeb22ee979e14b72acf72528de007b 26.69MB / 26.69MB 1.8s
=> => sha256:f11b29a9c7306674a9479158c1b4259938af11b97359d9ac02030cc1095e9ed1 35.37kB / 35.37kB 0.4s
=> => sha256:4e5021d210f65ebe915670c7089120120bc0a303b90208592851708c1b8c04bd 3.41kB / 3.41kB 0.0s
=> => sha256:930bda195c84cf132344bf38edcad255317382f910503fef234a9ce3bff0f4dd 848B / 848B 0.4s
=> => sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 1.42kB / 1.42kB 0.0s
=> => sha256:e5dd9dbb37df5b731a6688fa49f4003359f6f126958c9c928f937bec69836320 1.15kB / 1.15kB 0.0s
=> => sha256:78bf9a5ad49e4ae42a83f4995ade4efc096f78fd38299cf05bc041e8cdda2a36 162B / 162B 0.3s
=> => sha256:f11b29a9c7306674a9479158c1b4259938af11b97359d9ac02030cc1095e9ed1 35.37kB / 35.37kB 0.4s
=> => unpacking docker.io/library/ubuntu@sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 2.9s
=> [2/2] RUN echo john.doe 1.1s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => exporting manifest sha256:c91587dc44c6c904e688c5a87da4eb964cd4c968e9633bc8c03109f64461f61f 0.0s
=> => exporting config sha256:9f4929a681a2b5bfcf5993201c4238e51a2f1ab9c662224d95ea508ca8efc81a 0.0s
=> => naming to docker.io/library/test:latest 0.0s
=> exporting cache 0.0s
=> => preparing build cache for export 0.0s
Successfully built docker.io/library/test:latest
[rootless@dfbfb7f2708f ~]$ exit
So it works for me in Docker, can you see if this helps? Does it work for you in Docker but fails in Kubernetes?
@kekoav I will build an image with the dockerfile you used (basically build img from your branch) and test in k8s
Seems I'm hitting the same issue in kubernetes again:
[rootless@rootless img]$ img build -t bar .
Building docker.io/library/bar:latest
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
WARN[0000] git source cannot be enabled: failed to find git binary: exec: "git": executable file not found in $PATH
[+] Building 9.0s (5/5)
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 78B 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:latest 0.9s
=> [1/2] FROM docker.io/library/ubuntu@sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 6.8s
=> => resolve docker.io/library/ubuntu@sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 0.0s
=> => sha256:e5dd9dbb37df5b731a6688fa49f4003359f6f126958c9c928f937bec69836320 1.15kB / 1.15kB 0.0s
=> => sha256:78bf9a5ad49e4ae42a83f4995ade4efc096f78fd38299cf05bc041e8cdda2a36 162B / 162B 0.2s
=> => sha256:5bed26d33875e6da1d9ff9a1054c5fef3bbeb22ee979e14b72acf72528de007b 26.69MB / 26.69MB 2.3s
=> => sha256:4e5021d210f65ebe915670c7089120120bc0a303b90208592851708c1b8c04bd 3.41kB / 3.41kB 0.0s
=> => sha256:f11b29a9c7306674a9479158c1b4259938af11b97359d9ac02030cc1095e9ed1 35.37kB / 35.37kB 0.2s
=> => sha256:930bda195c84cf132344bf38edcad255317382f910503fef234a9ce3bff0f4dd 848B / 848B 0.3s
=> => sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 1.42kB / 1.42kB 0.0s
=> => unpacking docker.io/library/ubuntu@sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 4.3s
=> [2/2] RUN echo john.doe 1.1s
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xe5 pc=0x7f1485f8a780]
runtime stack:
runtime.throw(0x1170f97, 0x2a)
/usr/lib/golang/src/runtime/panic.go:774 +0x72
runtime.sigpanic()
/usr/lib/golang/src/runtime/signal_unix.go:378 +0x47c
goroutine 655 [syscall]:
runtime.cgocall(0xdee140, 0xc00089f810, 0xc000826338)
/usr/lib/golang/src/runtime/cgocall.go:128 +0x5b fp=0xc00089f7e0 sp=0xc00089f7a8 pc=0x404e0b
os/user._Cfunc_mygetgrgid_r(0x0, 0xc0002751c0, 0x7f145c000b60, 0x400, 0xc000826338, 0xc000000000)
_cgo_gotypes.go:106 +0x4d fp=0xc00089f810 sp=0xc00089f7e0 pc=0x50364d
os/user.lookupUnixGid.func1.1(0x0, 0xc0002751c0, 0xc00029aa20, 0xc000826338, 0xc00089f8b0)
/usr/lib/golang/src/os/user/cgo_lookup_unix.go:183 +0x14c fp=0xc00089f860 sp=0xc00089f810 pc=0x505bec
os/user.lookupUnixGid.func1(0x1034520)
/usr/lib/golang/src/os/user/cgo_lookup_unix.go:183 +0x45 fp=0xc00089f898 sp=0xc00089f860 pc=0x505c85
os/user.retryWithBuffer(0xc00029aa20, 0xc00089f9a8, 0x4040e5, 0xc00089fa48)
/usr/lib/golang/src/os/user/cgo_lookup_unix.go:251 +0x3b fp=0xc00089f8f0 sp=0xc00089f898 pc=0x504d3b
os/user.lookupUnixGid(0x0, 0x0, 0x0, 0x0)
/usr/lib/golang/src/os/user/cgo_lookup_unix.go:176 +0x14c fp=0xc00089f9e0 sp=0xc00089f8f0 pc=0x50484c
os/user.lookupGroupId(0x1169829, 0x1, 0x1169829, 0x1, 0x0)
/usr/lib/golang/src/os/user/cgo_lookup_unix.go:166 +0x73 fp=0xc00089fa18 sp=0xc00089f9e0 pc=0x5046c3
os/user.LookupGroupId(...)
/usr/lib/golang/src/os/user/lookup.go:57
archive/tar.statUnix(0x12e2920, 0xc0007cfe10, 0xc000305180, 0x1a42b60, 0x38)
/usr/lib/golang/src/archive/tar/stat_unix.go:45 +0x385 fp=0xc00089fa78 sp=0xc00089fa18 pc=0x50f265
archive/tar.FileInfoHeader(0x12e2920, 0xc0007cfe10, 0x0, 0x0, 0x38, 0x6fffffff, 0x1)
/usr/lib/golang/src/archive/tar/common.go:702 +0x43f fp=0xc00089fb98 sp=0xc00089fa78 pc=0x50889f
github.com/containerd/containerd/archive.(*changeWriter).HandleChange(0xc00053e410, 0x0, 0xc000360650, 0xc, 0x12e2920, 0xc0007cfe10, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/containerd/archive/tar.go:500 +0x45c fp=0xc00089fe28 sp=0xc00089fb98 pc=0xc1c7bc
github.com/containerd/containerd/archive.(*changeWriter).HandleChange-fm(0x0, 0xc000360650, 0xc, 0x12e2920, 0xc0007cfe10, 0x0, 0x0, 0xc00045ff58, 0xc000042500)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/containerd/archive/tar.go:462 +0x7d fp=0xc00089fe88 sp=0xc00089fe28 pc=0xc209ad
github.com/containerd/continuity/fs.doubleWalkDiff.func3(0xc00045ff68, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/continuity/fs/diff.go:318 +0x24f fp=0xc00089ff58 sp=0xc00089fe88 pc=0x6bfcaf
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc00031a8d0, 0xc00053e460)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x64 fp=0xc00089ffd0 sp=0xc00089ff58 pc=0x6b9a04
runtime.goexit()
/usr/lib/golang/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc00089ffd8 sp=0xc00089ffd0 pc=0x45db01
created by golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x66
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc0001d4c70)
/usr/lib/golang/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc0001d4c68)
/usr/lib/golang/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc0001d4c60, 0xc000200a00, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:40 +0x31
main.(*buildCommand).Run(0xc0000c3b80, 0xc0001d4030, 0x1, 0x3, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/build.go:299 +0xefc
main.newBuildCommand.func1(0xc000126a00, 0xc0001d4030, 0x1, 0x3, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/build.go:59 +0x48
github.com/spf13/cobra.(*Command).execute(0xc000126a00, 0xc0000b4020, 0x3, 0x3, 0xc000126a00, 0xc0000b4020)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/spf13/cobra/command.go:826 +0x460
github.com/spf13/cobra.(*Command).ExecuteC(0xc000126780, 0xc0001566c0, 0x11469ba, 0x5)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/spf13/cobra/command.go:914 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/spf13/cobra/command.go:864
main.main()
/home/vagrant/go/src/github.com/kekoav/img/main.go:138 +0x6b4
goroutine 19 [syscall]:
os/signal.signal_recv(0x0)
/usr/lib/golang/src/runtime/sigqueue.go:147 +0x9c
os/signal.loop()
/usr/lib/golang/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
/usr/lib/golang/src/os/signal/signal_unix.go:29 +0x41
goroutine 21 [chan receive]:
github.com/moby/buildkit/util/pull.newResolverCache.func1(0xc00041ccc0, 0xc0003e2780)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/pull/resolver.go:174 +0x49
created by github.com/moby/buildkit/util/pull.newResolverCache
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/pull/resolver.go:172 +0x95
goroutine 25 [select]:
google.golang.org/grpc.(*ccBalancerWrapper).watcher(0xc0002d63c0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/google.golang.org/grpc/balancer_conn_wrappers.go:69 +0xc2
created by google.golang.org/grpc.newCCBalancerWrapper
/home/vagrant/go/src/github.com/kekoav/img/vendor/google.golang.org/grpc/balancer_conn_wrappers.go:60 +0x16d
goroutine 11 [chan receive]:
github.com/moby/buildkit/util/appcontext.Context.func1.1(0xc00022c3c0, 0xc000156780, 0xc00010f920)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/appcontext/appcontext.go:30 +0x38
created by github.com/moby/buildkit/util/appcontext.Context.func1
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/appcontext/appcontext.go:28 +0xfe
goroutine 12 [select]:
golang.org/x/net/http2.(*serverConn).serve(0xc00001cf00)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/net/http2/server.go:858 +0x588
golang.org/x/net/http2.(*Server).ServeConn(0xc0000846c0, 0x12e7ea0, 0xc0001d4a80, 0xc000065cf0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/net/http2/server.go:472 +0x73a
github.com/moby/buildkit/session.serve(0x12dac20, 0xc000084640, 0xc00001c480, 0x12e7ea0, 0xc0001d4a80)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/session/grpc.go:24 +0x12a
github.com/moby/buildkit/session.(*Session).Run(0xc000129dc0, 0x12dac20, 0xc000084640, 0xc0002009c0, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/session/session.go:103 +0x6a2
main.(*buildCommand).Run.func1(0xc00013bf68, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/build.go:258 +0x45
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0001d4c60, 0xc0001d4cc0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x66
goroutine 13 [semacquire]:
sync.runtime_Semacquire(0xc0002a9120)
/usr/lib/golang/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc0002a9118)
/usr/lib/golang/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc0002a9110, 0xc0002a9170, 0x12dac20)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:40 +0x31
github.com/genuinetools/img/client.(*Client).Solve(0xc0002d6000, 0x12dac20, 0xc0000845c0, 0xc000118240, 0xc000086600, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/client/solve.go:48 +0x244
main.(*buildCommand).Run.func2(0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/build.go:283 +0x249
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0001d4c60, 0xc000312210)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x66
goroutine 14 [runnable]:
github.com/moby/buildkit/util/progress/progressui.DisplaySolveStatus(0x12dac60, 0xc0000ac018, 0x0, 0x0, 0x12edc40, 0xc000200a20, 0x12bab20, 0xc0000b0010, 0xc000086660, 0x0, ...)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progressui/display.go:55 +0x3db
main.showProgress(0xc000086600, 0x42f300, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/build.go:499 +0xc8
main.(*buildCommand).Run.func3(0xc000055f68, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/build.go:297 +0x39
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0001d4c60, 0xc000200a00)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x66
goroutine 15 [chan receive]:
main.showProgress.func1(0xc000086600, 0xc000086660)
/home/vagrant/go/src/github.com/kekoav/img/build.go:456 +0x74a
created by main.showProgress
/home/vagrant/go/src/github.com/kekoav/img/build.go:455 +0x6b
goroutine 16 [chan receive]:
github.com/moby/buildkit/session.(*Manager).handleConn(0xc000200900, 0x12dac20, 0xc0002d6480, 0x12e7ea0, 0xc0001d4a50, 0xc0001d4d80, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/session/manager.go:144 +0x4c2
github.com/moby/buildkit/session.(*Manager).HandleConn(0xc000200900, 0x12dac60, 0xc0000ac018, 0x12e7ea0, 0xc0001d4a50, 0xc0001d4d80, 0x6b9a04, 0xc00013bf68)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/session/manager.go:97 +0x74
github.com/moby/buildkit/session/testutil.TestStream.func1.1(0xc000156810, 0xc0001d4a50, 0xc0001d4d80)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/session/testutil/testutil.go:23 +0x62
created by github.com/moby/buildkit/session/testutil.TestStream.func1
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/session/testutil/testutil.go:22 +0x5a
goroutine 34 [chan receive]:
github.com/moby/buildkit/session.serve.func1(0x12dac20, 0xc000084640, 0x12e7ea0, 0xc0001d4a80)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/session/grpc.go:20 +0x48
created by github.com/moby/buildkit/session.serve
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/session/grpc.go:19 +0x67
goroutine 33 [chan receive]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12dac20, 0xc0002d6640, 0xc00031a630)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:166 +0x12f
goroutine 29 [select]:
io.(*pipe).Read(0xc0000b4730, 0xc0004fa3b8, 0x9, 0x9, 0xc000567de0, 0x8d16eb, 0xc0005b8120)
/usr/lib/golang/src/io/pipe.go:50 +0xe7
io.(*PipeReader).Read(0xc0000b0160, 0xc0004fa3b8, 0x9, 0x9, 0x0, 0xc000567d48, 0x45af87)
/usr/lib/golang/src/io/pipe.go:127 +0x4c
io.ReadAtLeast(0x7f14840449e0, 0xc0001d4a80, 0xc0004fa3b8, 0x9, 0x9, 0x9, 0x10000008d3075, 0x0, 0x1)
/usr/lib/golang/src/io/io.go:310 +0x87
io.ReadFull(...)
/usr/lib/golang/src/io/io.go:329
golang.org/x/net/http2.readFrameHeader(0xc0004fa3b8, 0x9, 0x9, 0x7f14840449e0, 0xc0001d4a80, 0x0, 0xc000000000, 0xc000567f28, 0xc0004db1a0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/net/http2/frame.go:237 +0x87
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0004fa380, 0xc000567ee0, 0x2, 0x0, 0x1)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/net/http2/frame.go:492 +0xa1
golang.org/x/net/http2.(*serverConn).readFrames(0xc00001cf00)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/net/http2/server.go:745 +0xa4
created by golang.org/x/net/http2.(*serverConn).serve
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/net/http2/server.go:850 +0x347
goroutine 26 [chan receive]:
google.golang.org/grpc.(*addrConn).resetTransport(0xc00030e840)
/home/vagrant/go/src/github.com/kekoav/img/vendor/google.golang.org/grpc/clientconn.go:1179 +0x6ea
created by google.golang.org/grpc.(*addrConn).connect
/home/vagrant/go/src/github.com/kekoav/img/vendor/google.golang.org/grpc/clientconn.go:815 +0x128
goroutine 27 [select]:
github.com/moby/buildkit/session.monitorHealth(0x12dac20, 0xc0002d6480, 0xc000088e00, 0xc000096a50)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/session/grpc.go:69 +0x1cb
created by github.com/moby/buildkit/session.grpcClientConn
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/session/grpc.go:55 +0x270
goroutine 28 [select]:
io.(*pipe).Read(0xc0000b4780, 0xc0001a8000, 0x8000, 0x8000, 0x11, 0x0, 0x0)
/usr/lib/golang/src/io/pipe.go:50 +0xe7
io.(*PipeReader).Read(0xc0000b0170, 0xc0001a8000, 0x8000, 0x8000, 0x1060100000011, 0x8, 0xc000061df8)
/usr/lib/golang/src/io/pipe.go:127 +0x4c
bufio.(*Reader).Read(0xc00022c960, 0xc000304118, 0x9, 0x9, 0xc000088a80, 0x7f148a570008, 0x0)
/usr/lib/golang/src/bufio/bufio.go:226 +0x26a
io.ReadAtLeast(0x12b8d20, 0xc00022c960, 0xc000304118, 0x9, 0x9, 0x9, 0x8d3075, 0xc0005b818c, 0xc000061de8)
/usr/lib/golang/src/io/io.go:310 +0x87
io.ReadFull(...)
/usr/lib/golang/src/io/io.go:329
golang.org/x/net/http2.readFrameHeader(0xc000304118, 0x9, 0x9, 0x12b8d20, 0xc00022c960, 0x0, 0xbfa06f9200000000, 0x21c3b44b3, 0x1a42b60)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/net/http2/frame.go:237 +0x87
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0003040e0, 0xc0005b8180, 0xc0005b8180, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/net/http2/frame.go:492 +0xa1
google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc00050e380)
/home/vagrant/go/src/github.com/kekoav/img/vendor/google.golang.org/grpc/internal/transport/http2_client.go:1265 +0x183
created by google.golang.org/grpc/internal/transport.newHTTP2Client
/home/vagrant/go/src/github.com/kekoav/img/vendor/google.golang.org/grpc/internal/transport/http2_client.go:300 +0xd23
goroutine 30 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc0002b0190, 0x1, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/google.golang.org/grpc/internal/transport/controlbuf.go:395 +0x122
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc00022d140, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/google.golang.org/grpc/internal/transport/controlbuf.go:513 +0x1e3
google.golang.org/grpc/internal/transport.newHTTP2Client.func3(0xc00050e380)
/home/vagrant/go/src/github.com/kekoav/img/vendor/google.golang.org/grpc/internal/transport/http2_client.go:346 +0x7b
created by google.golang.org/grpc/internal/transport.newHTTP2Client
/home/vagrant/go/src/github.com/kekoav/img/vendor/google.golang.org/grpc/internal/transport/http2_client.go:344 +0xedb
goroutine 38 [sync.Cond.Wait]:
runtime.goparkunlock(...)
/usr/lib/golang/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc000408290, 0xc000000011)
/usr/lib/golang/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc000408280)
/usr/lib/golang/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/cond.(*StatefulCond).Wait(0xc0002a90e0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/cond/cond.go:28 +0xaf
github.com/moby/buildkit/solver.(*scheduler).loop(0xc00015e7e0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/solver/scheduler.go:101 +0x18a
created by github.com/moby/buildkit/solver.newScheduler
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/solver/scheduler.go:35 +0x1ab
goroutine 39 [semacquire]:
sync.runtime_Semacquire(0xc000420040)
/usr/lib/golang/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc000420038)
/usr/lib/golang/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc000420030, 0xc00022c240, 0xc00029a040)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:40 +0x31
github.com/moby/buildkit/cache/blobs.getDiffPairs(0x12dace0, 0xc0004504e0, 0x12ea2a0, 0xc000200de0, 0x12b9100, 0xc000156c00, 0x12eebc0, 0xc0003fe000, 0x1194b01, 0x1, ...)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/cache/blobs/blobs.go:172 +0x23b
github.com/moby/buildkit/cache/blobs.GetDiffPairs(0x12dace0, 0xc0004504e0, 0x12ea2a0, 0xc000200de0, 0x12b9100, 0xc000156c00, 0x12eebc0, 0xc0003fe000, 0xc000450401, 0x1, ...)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/cache/blobs/blobs.go:53 +0x155
github.com/moby/buildkit/worker/base.(*Worker).GetRemote(0xc000119c20, 0x12dace0, 0xc0004504e0, 0x12eebc0, 0xc0003fe000, 0x1, 0x0, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/worker/base/worker.go:365 +0x1b1
github.com/moby/buildkit/solver/llbsolver.inlineCache(0x12dace0, 0xc0002a9290, 0x12daee0, 0xc000321440, 0x12db160, 0xc0002a1080, 0x0, 0x0, 0x0, 0x0, ...)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/solver/llbsolver/solver.go:280 +0xf7
github.com/moby/buildkit/solver/llbsolver.(*Solver).Solve(0xc00015e770, 0x12dace0, 0xc0002a9290, 0xc0000af3c1, 0x19, 0x0, 0x114f039, 0xd, 0xc0002e7050, 0x0, ...)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/solver/llbsolver/solver.go:181 +0x1276
github.com/moby/buildkit/control.(*Controller).Solve(0xc00011b710, 0x12dac20, 0xc000408380, 0xc000118240, 0x0, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/control/control.go:276 +0x4ff
github.com/genuinetools/img/client.(*Client).Solve.func1(0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/client/solve.go:32 +0xcd
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0002a9110, 0xc0002a9140)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x66
goroutine 40 [semacquire]:
sync.runtime_Semacquire(0xc0002a9240)
/usr/lib/golang/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc0002a9238)
/usr/lib/golang/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc0002a9230, 0xc000321400, 0x12dac20)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:40 +0x31
github.com/moby/buildkit/control.(*Controller).Status(0xc00011b710, 0xc0002a91d0, 0x12e5740, 0xc0002a91a0, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/control/control.go:347 +0x1a3
github.com/genuinetools/img/client.(*Client).Solve.func2(0xc000375768, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/client/solve.go:44 +0xed
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0002a9110, 0xc0002a9170)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x66
goroutine 41 [sync.Cond.Wait]:
runtime.goparkunlock(...)
/usr/lib/golang/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0002d6690, 0xc000000026)
/usr/lib/golang/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0002d6680)
/usr/lib/golang/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc00031a630, 0x12dac20, 0xc000408400, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:127 +0x12e
github.com/moby/buildkit/solver.(*Job).Status(0xc00015e850, 0x12dac20, 0xc000408400, 0xc00036c420, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/solver/progress.go:25 +0xd29
github.com/moby/buildkit/solver/llbsolver.(*Solver).Status(0xc00015e770, 0x12dac20, 0xc000408400, 0xc0000af3c1, 0x19, 0xc00036c420, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/solver/llbsolver/solver.go:308 +0xbe
github.com/moby/buildkit/control.(*Controller).Status.func1(0xc000375f68, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/control/control.go:300 +0x5e
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0002a9230, 0xc0002a9260)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x66
goroutine 42 [chan receive]:
github.com/moby/buildkit/control.(*Controller).Status.func2(0xc000134768, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/control/control.go:305 +0x782
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0002a9230, 0xc000321400)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x66
goroutine 43 [chan receive]:
github.com/moby/buildkit/solver.(*scheduler).loop.func2(0xc00015e7e0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/solver/scheduler.go:76 +0x3c
created by github.com/moby/buildkit/solver.(*scheduler).loop
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/solver/scheduler.go:75 +0x77
goroutine 44 [chan receive]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12dac20, 0xc000408500, 0xc0002a9350)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:166 +0x12f
goroutine 50 [select]:
github.com/moby/buildkit/util/progress.(*MultiReader).Reader.func1(0x12dace0, 0xc00031a6c0, 0xc0002a9440, 0xc0000a47a0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/multireader.go:37 +0xc1
created by github.com/moby/buildkit/util/progress.(*MultiReader).Reader
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/multireader.go:36 +0x1c2
goroutine 51 [sync.Cond.Wait]:
runtime.goparkunlock(...)
/usr/lib/golang/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc000408550, 0xc000000027)
/usr/lib/golang/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc000408540)
/usr/lib/golang/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc0002a9350, 0x12dac60, 0xc0000ac018, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:127 +0x12e
github.com/moby/buildkit/util/progress.(*MultiReader).handle(0xc0002a9440, 0xc00031a6c0, 0xc0002a9440)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/multireader.go:56 +0x11d
created by github.com/moby/buildkit/util/progress.(*MultiReader).Reader
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/multireader.go:47 +0x220
goroutine 647 [select]:
github.com/moby/buildkit/util/flightcontrol.(*call).wait(0xc0004e7ef0, 0x12dac20, 0xc000248800, 0x1a3e580, 0xc0003aa901, 0x19, 0xc00053dc60)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:150 +0x2a9
github.com/moby/buildkit/util/flightcontrol.(*Group).do(0x1a3e580, 0x12dac20, 0xc000248800, 0xc0003aa901, 0x19, 0xc00053e2d0, 0x6, 0x1a67bc0, 0x1013000, 0xc000463e30)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:78 +0x1eb
github.com/moby/buildkit/util/flightcontrol.(*Group).Do(0x1a3e580, 0x12dac20, 0xc000248800, 0xc0003aa901, 0x19, 0xc00053e2d0, 0xc000463ea0, 0x0, 0x10, 0x10130a0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:37 +0x7a
github.com/moby/buildkit/cache/blobs.getDiffPairs.func2(0xc000463f68, 0xc000408e98)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/cache/blobs/blobs.go:78 +0x1a4
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000420030, 0xc00022c240)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x66
goroutine 241 [select]:
net/http.(*persistConn).writeLoop(0xc000411560)
/usr/lib/golang/src/net/http/transport.go:2210 +0x123
created by net/http.(*Transport).dialConn
/usr/lib/golang/src/net/http/transport.go:1581 +0xb32
goroutine 652 [select]:
context.propagateCancel.func1(0x12db2a0, 0xc000241920, 0x12c83e0, 0xc000248900)
/usr/lib/golang/src/context/context.go:259 +0xd8
created by context.propagateCancel
/usr/lib/golang/src/context/context.go:258 +0x1ce
goroutine 648 [chan receive]:
github.com/moby/buildkit/util/progress.pipe.func1(0x12dac20, 0xc000248840, 0xc000420180)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:167 +0x4c
created by github.com/moby/buildkit/util/progress.pipe
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:166 +0x12f
goroutine 653 [select]:
github.com/containerd/continuity/fs.pathWalk.func1(0xc0004c8240, 0x36, 0x12e2920, 0xc0007f0000, 0x0, 0x0, 0x4d9ac9, 0xc0007f0000)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/continuity/fs/path.go:210 +0x2e9
path/filepath.walk(0xc0004c8240, 0x36, 0x12e2920, 0xc0007f0000, 0xc00048ae70, 0x0, 0x0)
/usr/lib/golang/src/path/filepath/path.go:358 +0x425
path/filepath.walk(0xc00003a990, 0x30, 0x12e2920, 0xc0007cfad0, 0xc00048ae70, 0x0, 0x0)
/usr/lib/golang/src/path/filepath/path.go:382 +0x2ff
path/filepath.walk(0xc00003a5a0, 0x2c, 0x12e2920, 0xc0007cfa00, 0xc00048ae70, 0x0, 0x12dac20)
/usr/lib/golang/src/path/filepath/path.go:382 +0x2ff
path/filepath.Walk(0xc00003a5a0, 0x2c, 0xc000460670, 0x0, 0xc000460618)
/usr/lib/golang/src/path/filepath/path.go:404 +0xff
github.com/containerd/continuity/fs.pathWalk(0x12dac20, 0xc0000852c0, 0xc00003a5a0, 0x2c, 0xc00090eb40, 0x42fc51, 0xc000248900)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/continuity/fs/path.go:186 +0x8f
github.com/containerd/continuity/fs.doubleWalkDiff.func1(0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/continuity/fs/diff.go:246 +0xe0
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc00031a8d0, 0xc00031a900)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x66
goroutine 240 [IO wait]:
internal/poll.runtime_pollWait(0x7f14863102c8, 0x72, 0xffffffffffffffff)
/usr/lib/golang/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc0004af618, 0x72, 0x1700, 0x1746, 0xffffffffffffffff)
/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0004af600, 0xc0001b6800, 0x1746, 0x1746, 0x0, 0x0, 0x0)
/usr/lib/golang/src/internal/poll/fd_unix.go:169 +0x1cf
net.(*netFD).Read(0xc0004af600, 0xc0001b6800, 0x1746, 0x1746, 0x203000, 0x0, 0x1739)
/usr/lib/golang/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0000b0058, 0xc0001b6800, 0x1746, 0x1746, 0x0, 0x0, 0x0)
/usr/lib/golang/src/net/net.go:184 +0x68
crypto/tls.(*atLeastReader).Read(0xc0003fa160, 0xc0001b6800, 0x1746, 0x1746, 0x28, 0x8, 0xc0004898a0)
/usr/lib/golang/src/crypto/tls/conn.go:780 +0x60
bytes.(*Buffer).ReadFrom(0xc000498cd8, 0x12b8f00, 0xc0003fa160, 0x40bf45, 0xfe9820, 0x1110da0)
/usr/lib/golang/src/bytes/buffer.go:204 +0xb4
crypto/tls.(*Conn).readFromUntil(0xc000498a80, 0x12ba740, 0xc0000b0058, 0x5, 0xc0000b0058, 0x12)
/usr/lib/golang/src/crypto/tls/conn.go:802 +0xec
crypto/tls.(*Conn).readRecordOrCCS(0xc000498a80, 0x0, 0x0, 0x3)
/usr/lib/golang/src/crypto/tls/conn.go:609 +0x124
crypto/tls.(*Conn).readRecord(...)
/usr/lib/golang/src/crypto/tls/conn.go:577
crypto/tls.(*Conn).Read(0xc000498a80, 0xc000144000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/golang/src/crypto/tls/conn.go:1255 +0x161
net/http.(*persistConn).Read(0xc000411560, 0xc000144000, 0x1000, 0x1000, 0xc0004db500, 0xc000489c20, 0x406ca5)
/usr/lib/golang/src/net/http/transport.go:1758 +0x75
bufio.(*Reader).fill(0xc0000b3440)
/usr/lib/golang/src/bufio/bufio.go:100 +0x103
bufio.(*Reader).Peek(0xc0000b3440, 0x1, 0x0, 0x0, 0x1, 0xc0004a9900, 0x0)
/usr/lib/golang/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc000411560)
/usr/lib/golang/src/net/http/transport.go:1911 +0x1d6
created by net/http.(*Transport).dialConn
/usr/lib/golang/src/net/http/transport.go:1580 +0xb0d
goroutine 654 [select]:
github.com/containerd/continuity/fs.pathWalk.func1(0xc0004c8400, 0x36, 0x12e2920, 0xc0007f00d0, 0x0, 0x0, 0x4d9ac9, 0xc0007f00d0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/continuity/fs/path.go:210 +0x2e9
path/filepath.walk(0xc0004c8400, 0x36, 0x12e2920, 0xc0007f00d0, 0xc000485e70, 0x0, 0x0)
/usr/lib/golang/src/path/filepath/path.go:358 +0x425
path/filepath.walk(0xc0003e8210, 0x30, 0x12e2920, 0xc000771ee0, 0xc000485e70, 0x0, 0x0)
/usr/lib/golang/src/path/filepath/path.go:382 +0x2ff
path/filepath.walk(0xc00003a6c0, 0x2c, 0x12e2920, 0xc000771e10, 0xc000485e70, 0x0, 0x0)
/usr/lib/golang/src/path/filepath/path.go:382 +0x2ff
path/filepath.Walk(0xc00003a6c0, 0x2c, 0xc00020ee70, 0x0, 0x0)
/usr/lib/golang/src/path/filepath/path.go:404 +0xff
github.com/containerd/continuity/fs.pathWalk(0x12dac20, 0xc0000852c0, 0xc00003a6c0, 0x2c, 0xc00090eba0, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/continuity/fs/path.go:186 +0x8f
github.com/containerd/continuity/fs.doubleWalkDiff.func2(0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/continuity/fs/diff.go:250 +0xe0
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc00031a8d0, 0xc00031a930)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x66
goroutine 651 [semacquire]:
sync.runtime_Semacquire(0xc00031a8e0)
/usr/lib/golang/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc00031a8d8)
/usr/lib/golang/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc00031a8d0, 0xc00053e460, 0xc00090eba0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/golang.org/x/sync/errgroup/errgroup.go:40 +0x31
github.com/containerd/continuity/fs.doubleWalkDiff(0x12dac20, 0xc000248900, 0xc00029a8c0, 0xc00003a5a0, 0x2c, 0xc00003a6c0, 0x2c, 0xc00031a870, 0xc00053e410)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/continuity/fs/diff.go:325 +0x355
github.com/containerd/continuity/fs.Changes(0x12dac20, 0xc000248900, 0xc00003a5a0, 0x2c, 0xc00003a6c0, 0x2c, 0xc00029a8c0, 0x108c560, 0xc000275120)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/continuity/fs/diff.go:111 +0x254
github.com/containerd/containerd/archive.WriteDiff(0x12dac20, 0xc000248900, 0x12ba620, 0xc000275140, 0xc00003a5a0, 0x2c, 0xc00003a6c0, 0x2c, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/containerd/archive/tar.go:74 +0xe3
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1.1(0xc00003a6c0, 0x2c, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/containerd/diff/walking/differ.go:121 +0x51f
github.com/containerd/containerd/mount.WithTempMount(0x12dac20, 0xc000248900, 0xc000249e40, 0x1, 0x1, 0xc0001a3768, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/containerd/mount/temp.go:65 +0x2ce
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1(0xc00003a5a0, 0x2c, 0x1, 0xc00003a5a0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/containerd/diff/walking/differ.go:83 +0xe0
github.com/containerd/containerd/mount.WithTempMount(0x12dac20, 0xc000248900, 0xc0002491c0, 0x1, 0x1, 0xc0001a39c0, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/containerd/mount/temp.go:65 +0x2ce
github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare(0xc000156c00, 0x12dac20, 0xc000248900, 0xc0002491c0, 0x1, 0x1, 0xc000249e40, 0x1, 0x1, 0xc00029a630, ...)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/containerd/containerd/diff/walking/differ.go:82 +0x33f
github.com/moby/buildkit/cache/blobs.getDiffPairs.func2.1(0x12dac20, 0xc000248900, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/cache/blobs/blobs.go:135 +0x70b
github.com/moby/buildkit/util/flightcontrol.(*call).run(0xc0004e7ef0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:121 +0xee
sync.(*Once).doSlow(0xc0004e7f50, 0xc00029a090)
/usr/lib/golang/src/sync/once.go:66 +0xe3
sync.(*Once).Do(0xc0004e7f50, 0xc00029a090)
/usr/lib/golang/src/sync/once.go:57 +0x45
created by github.com/moby/buildkit/util/flightcontrol.(*call).wait
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:148 +0x214
goroutine 639 [select]:
github.com/moby/buildkit/util/progress.(*progressReader).Read.func1(0xc0004a8000, 0x12dac60, 0xc0000ac018, 0xc0002a9350)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:101 +0xb7
created by github.com/moby/buildkit/util/progress.(*progressReader).Read
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:100 +0xf5
goroutine 436 [select]:
net/http.(*persistConn).writeLoop(0xc000735440)
/usr/lib/golang/src/net/http/transport.go:2210 +0x123
created by net/http.(*Transport).dialConn
/usr/lib/golang/src/net/http/transport.go:1581 +0xb32
goroutine 270 [IO wait]:
internal/poll.runtime_pollWait(0x7f14863101f8, 0x72, 0xffffffffffffffff)
/usr/lib/golang/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc000777598, 0x72, 0xc000, 0xc0df, 0xffffffffffffffff)
/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000777580, 0xc0007f2000, 0xc0df, 0xc0df, 0x0, 0x0, 0x0)
/usr/lib/golang/src/internal/poll/fd_unix.go:169 +0x1cf
net.(*netFD).Read(0xc000777580, 0xc0007f2000, 0xc0df, 0xc0df, 0x203000, 0x0, 0x2590)
/usr/lib/golang/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc000010358, 0xc0007f2000, 0xc0df, 0xc0df, 0x0, 0x0, 0x0)
/usr/lib/golang/src/net/net.go:184 +0x68
crypto/tls.(*atLeastReader).Read(0xc00026d1c0, 0xc0007f2000, 0xc0df, 0xc0df, 0xd, 0xc0007fa047, 0xc00085b970)
/usr/lib/golang/src/crypto/tls/conn.go:780 +0x60
bytes.(*Buffer).ReadFrom(0xc0004993d8, 0x12b8f00, 0xc00026d1c0, 0x40bf45, 0xfe9820, 0x1110da0)
/usr/lib/golang/src/bytes/buffer.go:204 +0xb4
crypto/tls.(*Conn).readFromUntil(0xc000499180, 0x12ba740, 0xc000010358, 0x5, 0xc000010358, 0x9)
/usr/lib/golang/src/crypto/tls/conn.go:802 +0xec
crypto/tls.(*Conn).readRecordOrCCS(0xc000499180, 0x0, 0x0, 0x0)
/usr/lib/golang/src/crypto/tls/conn.go:609 +0x124
crypto/tls.(*Conn).readRecord(...)
/usr/lib/golang/src/crypto/tls/conn.go:577
crypto/tls.(*Conn).Read(0xc000499180, 0xc0003d6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/golang/src/crypto/tls/conn.go:1255 +0x161
bufio.(*Reader).Read(0xc0000b2ba0, 0xc0005bb378, 0x9, 0x9, 0xc00085bd10, 0x0, 0x87e662)
/usr/lib/golang/src/bufio/bufio.go:226 +0x26a
io.ReadAtLeast(0x12b8d20, 0xc0000b2ba0, 0xc0005bb378, 0x9, 0x9, 0x9, 0xc000096050, 0x0, 0x12b9020)
/usr/lib/golang/src/io/io.go:310 +0x87
io.ReadFull(...)
/usr/lib/golang/src/io/io.go:329
net/http.http2readFrameHeader(0xc0005bb378, 0x9, 0x9, 0x12b8d20, 0xc0000b2ba0, 0x0, 0x0, 0xc000d3c7e0, 0x0)
/usr/lib/golang/src/net/http/h2_bundle.go:1477 +0x87
net/http.(*http2Framer).ReadFrame(0xc0005bb340, 0xc000d3c7e0, 0x0, 0x0, 0x0)
/usr/lib/golang/src/net/http/h2_bundle.go:1735 +0xa1
net/http.(*http2clientConnReadLoop).run(0xc00085bfb8, 0x8585ad, 0xc00022d800)
/usr/lib/golang/src/net/http/h2_bundle.go:8175 +0x8e
net/http.(*http2ClientConn).readLoop(0xc0002bd980)
/usr/lib/golang/src/net/http/h2_bundle.go:8103 +0xa3
created by net/http.(*http2Transport).newClientConn
/usr/lib/golang/src/net/http/h2_bundle.go:7162 +0x62f
goroutine 272 [sleep]:
runtime.goparkunlock(...)
/usr/lib/golang/src/runtime/proc.go:310
time.Sleep(0xdf8475800)
/usr/lib/golang/src/runtime/time.go:105 +0x157
github.com/moby/buildkit/util/throttle.throttle.func1.1(0xc0002d1018, 0xc0002d1010, 0xc0002d1011, 0xc000087200, 0xdf8475800, 0xc000157720)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/throttle/throttle.go:52 +0x12c
created by github.com/moby/buildkit/util/throttle.throttle.func1
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/throttle/throttle.go:31 +0x13d
goroutine 435 [IO wait]:
internal/poll.runtime_pollWait(0x7f1486310058, 0x72, 0xffffffffffffffff)
/usr/lib/golang/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc00032ce98, 0x72, 0x1700, 0x1746, 0xffffffffffffffff)
/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00032ce80, 0xc0001e0800, 0x1746, 0x1746, 0x0, 0x0, 0x0)
/usr/lib/golang/src/internal/poll/fd_unix.go:169 +0x1cf
net.(*netFD).Read(0xc00032ce80, 0xc0001e0800, 0x1746, 0x1746, 0x203000, 0x0, 0x1739)
/usr/lib/golang/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc000010010, 0xc0001e0800, 0x1746, 0x1746, 0x0, 0x0, 0x0)
/usr/lib/golang/src/net/net.go:184 +0x68
crypto/tls.(*atLeastReader).Read(0xc000321460, 0xc0001e0800, 0x1746, 0x1746, 0x1, 0xa, 0xc0000608a0)
/usr/lib/golang/src/crypto/tls/conn.go:780 +0x60
bytes.(*Buffer).ReadFrom(0xc000499058, 0x12b8f00, 0xc000321460, 0x40bf45, 0xfe9820, 0x1110da0)
/usr/lib/golang/src/bytes/buffer.go:204 +0xb4
crypto/tls.(*Conn).readFromUntil(0xc000498e00, 0x12ba740, 0xc000010010, 0x5, 0xc000010010, 0x40df66)
/usr/lib/golang/src/crypto/tls/conn.go:802 +0xec
crypto/tls.(*Conn).readRecordOrCCS(0xc000498e00, 0x0, 0x0, 0xc000060dd0)
/usr/lib/golang/src/crypto/tls/conn.go:609 +0x124
crypto/tls.(*Conn).readRecord(...)
/usr/lib/golang/src/crypto/tls/conn.go:577
crypto/tls.(*Conn).Read(0xc000498e00, 0xc00021e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/golang/src/crypto/tls/conn.go:1255 +0x161
net/http.(*persistConn).Read(0xc000735440, 0xc00021e000, 0x1000, 0x1000, 0xc000060ed8, 0x45af30, 0xc000060ed8)
/usr/lib/golang/src/net/http/transport.go:1758 +0x75
bufio.(*Reader).fill(0xc00036d620)
/usr/lib/golang/src/bufio/bufio.go:100 +0x103
bufio.(*Reader).Peek(0xc00036d620, 0x1, 0x2, 0x0, 0x0, 0xc000087900, 0x0)
/usr/lib/golang/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc000735440)
/usr/lib/golang/src/net/http/transport.go:1911 +0x1d6
created by net/http.(*Transport).dialConn
/usr/lib/golang/src/net/http/transport.go:1580 +0xb0d
goroutine 650 [chan receive]:
github.com/moby/buildkit/util/flightcontrol.(*Group).do.func1(0xc0004e7ef0, 0x1a3e580, 0xc0003aa901, 0x19)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:71 +0x3c
created by github.com/moby/buildkit/util/flightcontrol.(*Group).do
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:69 +0x1b4
goroutine 649 [sync.Cond.Wait]:
runtime.goparkunlock(...)
/usr/lib/golang/src/runtime/proc.go:310
sync.runtime_notifyListWait(0xc0002488d0, 0xc000000000)
/usr/lib/golang/src/runtime/sema.go:510 +0xf8
sync.(*Cond).Wait(0xc0002488c0)
/usr/lib/golang/src/sync/cond.go:56 +0x9d
github.com/moby/buildkit/util/progress.(*progressReader).Read(0xc000420180, 0x12dac60, 0xc0000ac018, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:127 +0x12e
github.com/moby/buildkit/util/flightcontrol.(*progressState).run(0xc0004200f0, 0x12b9d00, 0xc000420180)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:280 +0x16d
created by github.com/moby/buildkit/util/flightcontrol.newCall
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:112 +0x1d8
goroutine 613 [select]:
github.com/moby/buildkit/util/progress.(*progressReader).Read.func1(0xc00057c000, 0x12dac20, 0xc000408400, 0xc00031a630)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:101 +0xb7
created by github.com/moby/buildkit/util/progress.(*progressReader).Read
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:100 +0xf5
goroutine 432 [IO wait]:
internal/poll.runtime_pollWait(0x7f1486310468, 0x72, 0xffffffffffffffff)
/usr/lib/golang/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc000777398, 0x72, 0x1700, 0x1746, 0xffffffffffffffff)
/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000777380, 0xc0001df000, 0x1746, 0x1746, 0x0, 0x0, 0x0)
/usr/lib/golang/src/internal/poll/fd_unix.go:169 +0x1cf
net.(*netFD).Read(0xc000777380, 0xc0001df000, 0x1746, 0x1746, 0x203000, 0x0, 0x1739)
/usr/lib/golang/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc000010008, 0xc0001df000, 0x1746, 0x1746, 0x0, 0x0, 0x0)
/usr/lib/golang/src/net/net.go:184 +0x68
crypto/tls.(*atLeastReader).Read(0xc0005a2620, 0xc0001df000, 0x1746, 0x1746, 0x1, 0xa, 0xc0004888a0)
/usr/lib/golang/src/crypto/tls/conn.go:780 +0x60
bytes.(*Buffer).ReadFrom(0xc000498958, 0x12b8f00, 0xc0005a2620, 0x40bf45, 0xfe9820, 0x1110da0)
/usr/lib/golang/src/bytes/buffer.go:204 +0xb4
crypto/tls.(*Conn).readFromUntil(0xc000498700, 0x12ba740, 0xc000010008, 0x5, 0xc000010008, 0x40df66)
/usr/lib/golang/src/crypto/tls/conn.go:802 +0xec
crypto/tls.(*Conn).readRecordOrCCS(0xc000498700, 0x0, 0x0, 0xc000488dd0)
/usr/lib/golang/src/crypto/tls/conn.go:609 +0x124
crypto/tls.(*Conn).readRecord(...)
/usr/lib/golang/src/crypto/tls/conn.go:577
crypto/tls.(*Conn).Read(0xc000498700, 0xc000853000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/golang/src/crypto/tls/conn.go:1255 +0x161
net/http.(*persistConn).Read(0xc000735320, 0xc000853000, 0x1000, 0x1000, 0xc000488ed8, 0x45af30, 0xc000488ed8)
/usr/lib/golang/src/net/http/transport.go:1758 +0x75
bufio.(*Reader).fill(0xc000584d20)
/usr/lib/golang/src/bufio/bufio.go:100 +0x103
bufio.(*Reader).Peek(0xc000584d20, 0x1, 0x2, 0x0, 0x0, 0xc000614300, 0x0)
/usr/lib/golang/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc000735320)
/usr/lib/golang/src/net/http/transport.go:1911 +0x1d6
created by net/http.(*Transport).dialConn
/usr/lib/golang/src/net/http/transport.go:1580 +0xb0d
goroutine 433 [select]:
net/http.(*persistConn).writeLoop(0xc000735320)
/usr/lib/golang/src/net/http/transport.go:2210 +0x123
created by net/http.(*Transport).dialConn
/usr/lib/golang/src/net/http/transport.go:1581 +0xb32
goroutine 689 [select]:
github.com/moby/buildkit/util/progress.(*progressReader).Read.func1(0xc00087ec60, 0x12dac60, 0xc0000ac018, 0xc000420180)
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:101 +0xb7
created by github.com/moby/buildkit/util/progress.(*progressReader).Read
/home/vagrant/go/src/github.com/kekoav/img/vendor/github.com/moby/buildkit/util/progress/progress.go:100 +0xf5
[rootless@rootless img]$ cat Dockerfile
FROM docker.io/ubuntu
RUN echo john.doe
[rootless@rootless img]$ img version
img:
version : v0.5.7
git hash : 7f1c176e
go version : go1.13.9
go compiler : gc
platform : linux/amd64
runc:
version : 1.0.0-rc10
commit :
spec : 1.0.1-dev
[rootless@rootless img]$
Building an alpine
image works though
@kekoav Yes it's working now with your branch:
[rootless@rootless img]$ img build -t foo .
Building docker.io/library/foo:latest
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
WARN[0000] git source cannot be enabled: failed to find git binary: exec: "git": executable file not found in $PATH
[+] Building 9.9s (7/7) FINISHED
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 78B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:latest 0.9s
=> [1/2] FROM docker.io/library/ubuntu@sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 6.8s
=> => resolve docker.io/library/ubuntu@sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 0.0s
=> => sha256:f11b29a9c7306674a9479158c1b4259938af11b97359d9ac02030cc1095e9ed1 35.37kB / 35.37kB 0.3s
=> => sha256:930bda195c84cf132344bf38edcad255317382f910503fef234a9ce3bff0f4dd 848B / 848B 0.3s
=> => sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 1.42kB / 1.42kB 0.0s
=> => sha256:e5dd9dbb37df5b731a6688fa49f4003359f6f126958c9c928f937bec69836320 1.15kB / 1.15kB 0.0s
=> => sha256:78bf9a5ad49e4ae42a83f4995ade4efc096f78fd38299cf05bc041e8cdda2a36 162B / 162B 0.3s
=> => sha256:5bed26d33875e6da1d9ff9a1054c5fef3bbeb22ee979e14b72acf72528de007b 26.69MB / 26.69MB 2.4s
=> => sha256:4e5021d210f65ebe915670c7089120120bc0a303b90208592851708c1b8c04bd 3.41kB / 3.41kB 0.0s
=> => sha256:f11b29a9c7306674a9479158c1b4259938af11b97359d9ac02030cc1095e9ed1 35.37kB / 35.37kB 0.3s
=> => unpacking docker.io/library/ubuntu@sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d 4.3s
=> => sha256:5bed26d33875e6da1d9ff9a1054c5fef3bbeb22ee979e14b72acf72528de007b 26.69MB / 26.69MB 2.4s
=> [2/2] RUN echo john.doe 1.1s
=> exporting to image 0.2s
=> => exporting layers 0.0s
=> => exporting manifest sha256:1343bcd7bac358525b609afd46820d11a77fb18f753605be27c9e1fe83ea3d2a 0.0s
=> => exporting config sha256:e8a9d33085f4e556090c45601183056f33c246786cfe97bd99907eaa2b416007 0.0s
=> => naming to docker.io/library/foo:latest 0.0s
=> exporting cache 0.1s
=> => preparing build cache for export 0.1s
Successfully built docker.io/library/foo:latest
[rootless@rootless img]$
Sorry for the confusion, on the first try I built img
from your branch with go1.14, then I saw the comment on your PR. Build with 1.13 and everything works fine. Since your PR is merged, this could be closed out. cc: @AkihiroSuda
img details
jnlp container is Debian stretch.
I have loaded the
img
binary into my jnlp image. Now once my container is up and running in privileged mode in kubernetes (GKE), I build a image. The image building process seems to run ok but when I it starts exporting the layers, the following error is generated.Full log