Console Output
05:56:29 [2020-05-01T05:56:29.409Z] + make test
05:56:29 [2020-05-01T05:56:29.409Z] bin/linuxkit pkg build -org docker -hash test binfmt
05:56:29 [2020-05-01T05:56:29.409Z] Building "docker/binfmt:test"
05:56:29 [2020-05-01T05:56:29.666Z] No valid trust data for test
05:56:29 [2020-05-01T05:56:29.666Z] No image pulled, continuing with build
05:56:29 [2020-05-01T05:56:29.666Z] Sending build context to Docker daemon 11.26kB
05:56:29 [2020-05-01T05:56:29.666Z] Step 1/23 : FROM debian@sha256:2f04d3d33b6027bb74ecc81397abe780649ec89f1a2af18d7022737d0482cefe AS qemu
05:56:29 [2020-05-01T05:56:29.666Z] ---> 85c4fd36a543
05:56:29 [2020-05-01T05:56:29.666Z] Step 2/23 : ARG VERSION=v4.1.0
05:56:29 [2020-05-01T05:56:29.666Z] ---> Using cache
05:56:29 [2020-05-01T05:56:29.666Z] ---> 84daad74f5b5
05:56:29 [2020-05-01T05:56:29.666Z] Step 3/23 : RUN apt-get update && apt-get install -y build-essential git libtool libpixman-1-dev libglib2.0-dev pkg-config python
05:56:29 [2020-05-01T05:56:29.666Z] ---> Using cache
05:56:29 [2020-05-01T05:56:29.666Z] ---> b3a5bc8a58cf
05:56:29 [2020-05-01T05:56:29.666Z] Step 4/23 : RUN git clone -b moby/$VERSION https://github.com/moby/qemu && cd qemu && scripts/git-submodule.sh update ui/keycodemapdb tests/fp/berkeley-testfloat-3 tests/fp/berkeley-softfloat-3 dtc
05:56:29 [2020-05-01T05:56:29.666Z] ---> Using cache
05:56:29 [2020-05-01T05:56:29.666Z] ---> aa69c56749e7
05:56:29 [2020-05-01T05:56:29.666Z] Step 5/23 : WORKDIR /qemu
05:56:29 [2020-05-01T05:56:29.666Z] ---> Using cache
05:56:29 [2020-05-01T05:56:29.666Z] ---> 510aec920d19
05:56:29 [2020-05-01T05:56:29.666Z] Step 6/23 : RUN ./configure --prefix=/usr --with-pkgversion=$VERSION --enable-linux-user --disable-system --static --disable-blobs --disable-bluez --disable-brlapi --disable-cap-ng --disable-capstone --disable-curl --disable-curses --disable-docs --disable-gcrypt --disable-gnutls --disable-gtk --disable-guest-agent --disable-guest-agent-msi --disable-libiscsi --disable-libnfs --disable-mpath --disable-nettle --disable-opengl --disable-sdl --disable-spice --disable-tools --disable-vte --target-list="aarch64-linux-user arm-linux-user ppc64le-linux-user s390x-linux-user riscv64-linux-user"
05:56:29 [2020-05-01T05:56:29.666Z] ---> Using cache
05:56:29 [2020-05-01T05:56:29.666Z] ---> 41c834115bc1
05:56:29 [2020-05-01T05:56:29.666Z] Step 7/23 : RUN make -j "$(getconf _NPROCESSORS_ONLN)"
05:56:29 [2020-05-01T05:56:29.666Z] ---> Using cache
05:56:29 [2020-05-01T05:56:29.666Z] ---> 86097e401a52
05:56:29 [2020-05-01T05:56:29.666Z] Step 8/23 : RUN make install
05:56:29 [2020-05-01T05:56:29.666Z] ---> Using cache
05:56:29 [2020-05-01T05:56:29.666Z] ---> 66cba751bfb3
05:56:29 [2020-05-01T05:56:29.666Z] Step 9/23 : FROM linuxkit/alpine:27df8a8be139cd19cd7348c21efca8843b424f2b AS mirror
05:56:29 [2020-05-01T05:56:29.666Z] ---> f6b40cd6d610
05:56:29 [2020-05-01T05:56:29.666Z] Step 10/23 : COPY --from=qemu usr/bin/qemu-* tmp/dist/
05:56:29 [2020-05-01T05:56:29.923Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.180Z] ---> 51aeb26f3807
05:56:30 [2020-05-01T05:56:30.180Z] Step 11/23 : COPY main.go tmp/binfmt/
05:56:30 [2020-05-01T05:56:30.180Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.180Z] ---> 12d2f0d08bbc
05:56:30 [2020-05-01T05:56:30.180Z] Step 12/23 : RUN apk add --no-cache go musl-dev && GOBIN=/tmp/dist go-compile.sh /tmp/binfmt
05:56:30 [2020-05-01T05:56:30.180Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.180Z] ---> d06b4c3c7bc6
05:56:30 [2020-05-01T05:56:30.180Z] Step 13/23 : FROM scratch
05:56:30 [2020-05-01T05:56:30.180Z] --->
05:56:30 [2020-05-01T05:56:30.180Z] Step 14/23 : ENTRYPOINT []
05:56:30 [2020-05-01T05:56:30.180Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.180Z] ---> f040d702d7e4
05:56:30 [2020-05-01T05:56:30.180Z] Step 15/23 : WORKDIR /
05:56:30 [2020-05-01T05:56:30.180Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.180Z] ---> 19a7836967ea
05:56:30 [2020-05-01T05:56:30.180Z] Step 16/23 : COPY --from=mirror /tmp/dist/* usr/bin/
05:56:30 [2020-05-01T05:56:30.180Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.180Z] ---> 93a592101fb0
05:56:30 [2020-05-01T05:56:30.180Z] Step 17/23 : COPY etc/binfmt.d/00_linuxkit.conf etc/binfmt.d/00_linuxkit.conf
05:56:30 [2020-05-01T05:56:30.180Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.180Z] ---> c1cc608af674
05:56:30 [2020-05-01T05:56:30.180Z] Step 18/23 : CMD ["/usr/bin/binfmt"]
05:56:30 [2020-05-01T05:56:30.180Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.180Z] ---> fb78f257db2e
05:56:30 [2020-05-01T05:56:30.180Z] Step 19/23 : LABEL org.mobyproject.config={"capabilities":["CAP_SYS_ADMIN"],"net":"new","ipc":"new","readonly":true}
05:56:30 [2020-05-01T05:56:30.180Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.180Z] ---> a9818582caf6
05:56:30 [2020-05-01T05:56:30.181Z] Step 20/23 : LABEL org.mobyproject.linuxkit.revision=4f4f7feae125e1b2796806fff708fd3ac9c20657
05:56:30 [2020-05-01T05:56:30.181Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.181Z] ---> 1c9c9628ce2d
05:56:30 [2020-05-01T05:56:30.181Z] Step 21/23 : LABEL org.mobyproject.linuxkit.version=v0.7
05:56:30 [2020-05-01T05:56:30.181Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.181Z] ---> bcb01f4d5cd2
05:56:30 [2020-05-01T05:56:30.181Z] Step 22/23 : LABEL org.opencontainers.image.revision=2eb93f0104c2dbc0fcafaf30ded822f8de69d3cd
05:56:30 [2020-05-01T05:56:30.181Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.181Z] ---> 92f5e5cbf938
05:56:30 [2020-05-01T05:56:30.181Z] Step 23/23 : LABEL org.opencontainers.image.source=https://github.com/linuxkit/linuxkit
05:56:30 [2020-05-01T05:56:30.181Z] ---> Using cache
05:56:30 [2020-05-01T05:56:30.181Z] ---> a228bdf79db1
05:56:30 [2020-05-01T05:56:30.181Z] Successfully built a228bdf79db1
05:56:30 [2020-05-01T05:56:30.181Z] Successfully tagged docker/binfmt:test-amd64
05:56:30 [2020-05-01T05:56:30.181Z] Tagging docker/binfmt:test-amd64 as docker/binfmt:test
05:56:30 [2020-05-01T05:56:30.181Z] Build complete, not pushing, all done.
05:56:30 [2020-05-01T05:56:30.181Z] docker run --rm --privileged docker/binfmt:test
05:56:31 [2020-05-01T05:56:31.110Z] docker run --rm arm64v8/alpine uname -a
05:56:31 [2020-05-01T05:56:31.111Z] Unable to find image 'arm64v8/alpine:latest' locally
05:56:31 [2020-05-01T05:56:31.111Z] latest: Pulling from arm64v8/alpine
05:56:31 [2020-05-01T05:56:31.111Z] 29e5d40040c1: Pulling fs layer
05:56:31 [2020-05-01T05:56:31.367Z] 29e5d40040c1: Verifying Checksum
05:56:31 [2020-05-01T05:56:31.367Z] 29e5d40040c1: Download complete
05:56:31 [2020-05-01T05:56:31.626Z] 29e5d40040c1: Pull complete
05:56:31 [2020-05-01T05:56:31.626Z] Digest: sha256:ad295e950e71627e9d0d14cdc533f4031d42edae31ab57a841c5b9588eacc280
05:56:31 [2020-05-01T05:56:31.626Z] Status: Downloaded newer image for arm64v8/alpine:latest
05:56:32 [2020-05-01T05:56:32.189Z] Linux 7c17c5b48e39 4.15.0-1065-aws #69-Ubuntu SMP Thu Mar 26 02:17:29 UTC 2020 aarch64 Linux
05:56:32 [2020-05-01T05:56:32.446Z] docker run --rm arm32v7/alpine uname -a
05:56:32 [2020-05-01T05:56:32.446Z] Unable to find image 'arm32v7/alpine:latest' locally
05:56:32 [2020-05-01T05:56:32.703Z] latest: Pulling from arm32v7/alpine
05:56:32 [2020-05-01T05:56:32.703Z] 3cfb62949d9d: Pulling fs layer
05:56:32 [2020-05-01T05:56:32.960Z] 3cfb62949d9d: Verifying Checksum
05:56:32 [2020-05-01T05:56:32.960Z] 3cfb62949d9d: Download complete
05:56:33 [2020-05-01T05:56:33.217Z] 3cfb62949d9d: Pull complete
05:56:33 [2020-05-01T05:56:33.217Z] Digest: sha256:19c4e520fa84832d6deab48cd911067e6d8b0a9fa73fc054c7b9031f1d89e4cf
05:56:33 [2020-05-01T05:56:33.217Z] Status: Downloaded newer image for arm32v7/alpine:latest
05:56:33 [2020-05-01T05:56:33.781Z] Linux 1dc17b105a76 4.15.0-1065-aws #69-Ubuntu SMP Thu Mar 26 02:17:29 UTC 2020 armv7l Linux
05:56:34 [2020-05-01T05:56:34.346Z] docker run --rm ppc64le/alpine uname -a
05:56:34 [2020-05-01T05:56:34.346Z] Unable to find image 'ppc64le/alpine:latest' locally
05:56:34 [2020-05-01T05:56:34.346Z] latest: Pulling from ppc64le/alpine
05:56:34 [2020-05-01T05:56:34.346Z] 9a8fdc5b6983: Pulling fs layer
05:56:34 [2020-05-01T05:56:34.346Z] 9a8fdc5b6983: Verifying Checksum
05:56:34 [2020-05-01T05:56:34.346Z] 9a8fdc5b6983: Download complete
05:56:34 [2020-05-01T05:56:34.604Z] 9a8fdc5b6983: Pull complete
05:56:34 [2020-05-01T05:56:34.604Z] Digest: sha256:e095eb9ac24e21bf2621f4d243274197ef12b91c67cde023092301b2db1e073c
05:56:34 [2020-05-01T05:56:34.604Z] Status: Downloaded newer image for ppc64le/alpine:latest
05:56:35 [2020-05-01T05:56:35.169Z] Linux 66c084174c23 4.15.0-1065-aws #69-Ubuntu SMP Thu Mar 26 02:17:29 UTC 2020 ppc64le Linux
05:56:35 [2020-05-01T05:56:35.426Z] docker run --rm s390x/alpine uname -a
05:56:35 [2020-05-01T05:56:35.682Z] Unable to find image 's390x/alpine:latest' locally
05:56:35 [2020-05-01T05:56:35.682Z] latest: Pulling from s390x/alpine
05:56:35 [2020-05-01T05:56:35.682Z] 7184c046fdf1: Pulling fs layer
05:56:35 [2020-05-01T05:56:35.940Z] 7184c046fdf1: Verifying Checksum
05:56:35 [2020-05-01T05:56:35.940Z] 7184c046fdf1: Download complete
05:56:36 [2020-05-01T05:56:36.198Z] 7184c046fdf1: Pull complete
05:56:36 [2020-05-01T05:56:36.198Z] Digest: sha256:41ba0806c6113064dd4cff12212eea3088f40ae23f182763ccc07f430b3a52f8
05:56:36 [2020-05-01T05:56:36.198Z] Status: Downloaded newer image for s390x/alpine:latest
05:56:36 [2020-05-01T05:56:36.764Z] Linux 89a779d84105 4.15.0-1065-aws #69-Ubuntu SMP Thu Mar 26 02:17:29 UTC 2020 s390x Linux