Console Output
+ make -f docker.Makefile cli-cross cross e2e-cross tars
docker build --build-arg TAG=jenkins-app-PR-702-4 --build-arg COMMIT=c1aef501 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=build -t docker-app-cli:jenkins-app-PR-702-4 .
Sending build context to Docker daemon 76.14MB
Step 1/8 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
---> 518d5e4626aa
Step 2/8 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1
---> Running in def1cfcb6444
Removing intermediate container def1cfcb6444
---> c459846a8a46
Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime
---> Running in 83bdb1191d2a
Reading package lists...
Building dependency tree...
Reading state information...
coreutils is already the newest version (8.30-3).
coreutils set to manually installed.
util-linux is already the newest version (2.33.1-0.1).
util-linux set to manually installed.
The following NEW packages will be installed:
uuid-runtime
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 95.2 kB of archives.
After this operation, 211 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB]
[91mdebconf: delaying package configuration, since apt-utils is not installed
[0mFetched 95.2 kB in 0s (367 kB/s)
Selecting previously unselected package uuid-runtime.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 25419 files and directories currently installed.)
Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ...
Unpacking uuid-runtime (2.33.1-0.1) ...
Setting up uuid-runtime (2.33.1-0.1) ...
Adding group `uuidd' (GID 102) ...
Done.
Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory
Adding system user `uuidd' (UID 101) ...
Adding new user `uuidd' (UID 101) with group `uuidd' ...
Not creating home directory `/run/uuidd'.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Removing intermediate container 83bdb1191d2a
---> a8637a61baea
Step 4/8 : WORKDIR /go/src/github.com/docker/cli
---> Running in 81d3518eaf84
Removing intermediate container 81d3518eaf84
---> 0fe02e1d144d
Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
---> Running in 9c04d81373c5
[91mCloning into '.'...
[0m[91mNote: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact
[0mRemoving intermediate container 9c04d81373c5
---> dbd715849284
Step 6/8 : ARG GOPROXY
---> Running in 34682430d933
Removing intermediate container 34682430d933
---> f84d48a0ae33
Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker
---> Running in b1f37c047ecf
./scripts/build/osx
Building build/docker-darwin-amd64
./scripts/build/windows
Generating windows resources
Building build/docker-windows-amd64
WARNING: binary creates a Linux executable. Use cross for macOS or Windows.
./scripts/build/binary
Building statically linked build/docker-linux-amd64
Removing intermediate container b1f37c047ecf
---> a5da2515bef6
Step 8/8 : WORKDIR /go/src/github.com/docker/app/
---> Running in 0e852f381278
Removing intermediate container 0e852f381278
---> 6e92d13be1b4
[Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed
Successfully built 6e92d13be1b4
Successfully tagged docker-app-cli:jenkins-app-PR-702-4
docker create --name docker-app-cli-jenkins-app-PR-702-4 docker-app-cli:jenkins-app-PR-702-4 noop
dfaa003b7bf836bdf247e30d7c8501524ee7867c36a14c227f5557ff67f36d28
docker cp docker-app-cli-jenkins-app-PR-702-4:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux
docker cp docker-app-cli-jenkins-app-PR-702-4:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin
docker cp docker-app-cli-jenkins-app-PR-702-4:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe
docker rm docker-app-cli-jenkins-app-PR-702-4
docker-app-cli-jenkins-app-PR-702-4
docker build --build-arg TAG=jenkins-app-PR-702-4 --build-arg COMMIT=c1aef501 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-702-4 .
Sending build context to Docker daemon 76.14MB
Step 1/21 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
---> 518d5e4626aa
Step 2/21 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1
---> Using cache
---> c459846a8a46
Step 3/21 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime
---> Using cache
---> a8637a61baea
Step 4/21 : WORKDIR /go/src/github.com/docker/cli
---> Using cache
---> 0fe02e1d144d
Step 5/21 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
---> Using cache
---> dbd715849284
Step 6/21 : ARG GOPROXY
---> Using cache
---> f84d48a0ae33
Step 7/21 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker
---> Using cache
---> a5da2515bef6
Step 8/21 : WORKDIR /go/src/github.com/docker/app/
---> Using cache
---> 6e92d13be1b4
Step 9/21 : FROM build AS dev
---> 6e92d13be1b4
Step 10/21 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
---> Running in 8748aa43c3a1
Removing intermediate container 8748aa43c3a1
---> 3d18d93e5f7d
Step 11/21 : ARG DEP_VERSION=v0.5.4
---> Running in 1bff2610f28d
Removing intermediate container 1bff2610f28d
---> 1d954cbbced7
Step 12/21 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep
---> Running in 493aa495c798
[91m % Total %[0m[91m Received % Xferd Average Speed Time Time Time Current
[0m[91mDload Upload Total Spent [0m[91m Left Speed
0 [0m[91m 0 0 0 0 0[0m[91m 0 0 --:--:-- --:-[0m[91m-:-- --:--:-- 0[0m[91m
0 0 0 0 [0m[91m 0 0 0 0 --:--:-- --:--:-- --:--:-- 0[0m[91m
100 605[0m[91m 0 605 0 0 5817 0[0m[91m --:--:-- --:--:-- --:--:-- 5761
[0m[91m
100 10.5M 100 10.5M 0 0 41.1M [0m[91m 0 --:--:-- --:--:-- --:--:-- 41.1M
[0mRemoving intermediate container 493aa495c798
---> 26bd5111146f
Step 13/21 : ARG GOTESTSUM_VERSION=v0.3.4
---> Running in 5508331a6d57
Removing intermediate container 5508331a6d57
---> 3950debdd79c
Step 14/21 : ARG GOPROXY
---> Running in ed4ba96cb6db
Removing intermediate container ed4ba96cb6db
---> 4d639b017a11
Step 15/21 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum
---> Running in cd072077e5ce
[91mgo: finding github.com/pkg/errors v0.8.0
[0m[91mgo: finding github.com/google/go-cmp v0.2.0
[0m[91mgo: finding github.com/spf13/pflag v1.0.1
[0m[91mgo: finding github.com/onsi/gomega v1.4.3
[0m[91mgo: finding github.com/fatih/color v1.6.0
[0m[91mgo: finding github.com/stretchr/testify v1.3.0
[0m[91mgo: finding github.com/sirupsen/logrus v1.0.5
[0m[91mgo: finding github.com/mattn/go-isatty v0.0.3
[0m[91mgo: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
[0m[91mgo: finding gotest.tools v2.1.0+incompatible
[0m[91mgo: finding github.com/mattn/go-colorable v0.0.9
[0m[91mgo: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
[0m[91mgo: finding github.com/fsnotify/fsnotify v1.4.7
[0m[91mgo: finding github.com/hpcloud/tail v1.0.0
[0m[91mgo: finding github.com/jonboulle/clockwork v0.1.0
[0m[91mgo: finding github.com/golang/protobuf v1.2.0
[0m[91mgo: finding golang.org/x/text v0.3.0
[0m[91mgo: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
[0m[91mgo: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
[0m[91mgo: finding github.com/onsi/ginkgo v1.8.0
[0m[91mgo: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
[0m[91mgo: finding github.com/davecgh/go-spew v1.1.0
[0m[91mgo: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
[0m[91mgo: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
[0m[91mgo: finding github.com/pmezard/go-difflib v1.0.0
[0m[91mgo: finding github.com/stretchr/objx v0.1.0
[0m[91mgo: finding gopkg.in/fsnotify.v1 v1.4.7
[0m[91mgo: finding gopkg.in/yaml.v2 v2.2.1
[0m[91mgo: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
[0m[91mgo: finding github.com/onsi/ginkgo v1.6.0
[0m[91mgo: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
[0m[91mgo: downloading gotest.tools v2.1.0+incompatible
[0m[91mgo: extracting gotest.tools v2.1.0+incompatible
[0m[91mgo: downloading github.com/spf13/pflag v1.0.1
[0m[91mgo: downloading github.com/pkg/errors v0.8.0
[0m[91mgo: downloading github.com/fatih/color v1.6.0
[0m[91mgo: downloading github.com/sirupsen/logrus v1.0.5
[0m[91mgo: extracting github.com/pkg/errors v0.8.0
[0m[91mgo: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
[0m[91mgo: downloading github.com/jonboulle/clockwork v0.1.0
[0m[91mgo: extracting github.com/spf13/pflag v1.0.1
[0m[91mgo: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
[0m[91mgo: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
[0m[91mgo: extracting github.com/sirupsen/logrus v1.0.5
[0m[91mgo: extracting github.com/jonboulle/clockwork v0.1.0
[0m[91mgo: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
[0m[91mgo: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
[0m[91mgo: extracting github.com/fatih/color v1.6.0
[0m[91mgo: downloading github.com/mattn/go-colorable v0.0.9
[0m[91mgo: downloading github.com/mattn/go-isatty v0.0.3
[0m[91mgo: extracting github.com/mattn/go-colorable v0.0.9
[0m[91mgo: extracting github.com/mattn/go-isatty v0.0.3
[0m[91mgo: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
[0m[91mgo: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
[0m[91mgo: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
[0mRemoving intermediate container cd072077e5ce
---> be11b1d6bfd6
Step 16/21 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json
---> Running in 6bac60ee3b6c
Removing intermediate container 6bac60ee3b6c
---> e475ddbce2b2
Step 17/21 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/*
---> Running in cab86d366fb5
[91mgolang.org/x/tools/internal/semver
[0m[91mgithub.com/pkg/errors
[0m[91mgolang.org/x/tools/go/ast/astutil
[0m[91mgolang.org/x/tools/go/internal/gcimporter
[0m[91mgolang.org/x/tools/go/internal/packagesdriver
[0m[91mgolang.org/x/tools/internal/fastwalk
[0m[91mgolang.org/x/tools/internal/gopathwalk
[0m[91mgolang.org/x/tools/internal/span
[0m[91mgolang.org/x/tools/go/gcexportdata
[0m[91mgolang.org/x/tools/internal/module
[0m[91mgolang.org/x/tools/go/packages
[0m[91mgolang.org/x/tools/internal/imports
[0m[91mgolang.org/x/tools/imports
[0m[91mgithub.com/mjibson/esc/embed
[0m[91mgithub.com/mjibson/esc
[0mRemoving intermediate container cab86d366fb5
---> 284387eb0c22
Step 18/21 : COPY . .
---> 939ecee0bef8
Step 19/21 : FROM dev AS cross
---> 939ecee0bef8
Step 20/21 : ARG TAG="unknown"
---> Running in f5bfaabac960
Removing intermediate container f5bfaabac960
---> 8e6b70bf58c6
Step 21/21 : RUN make TAG=${TAG} cross
---> Running in 75759ab41365
GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=c1aef501 -X github.com/docker/app/internal.Version=jenkins-app-PR-702-4 -X github.com/docker/app/internal.BuildTime=2019-10-22T11:00:44Z" -o bin/docker-app-linux ./cmd/docker-app
[91m# github.com/docker/app/internal/commands
internal/commands/run.go:58:46: syntax error: unexpected newline, expecting comma or }
internal/commands/run.go:59:44: syntax error: unexpected ) at end of statement
[0m[91mmake: *** [Makefile:54: bin/docker-app-linux] Error 2
[0mThe command '/bin/sh -c make TAG=${TAG} cross' returned a non-zero code: 2
docker.Makefile:40: recipe for target 'cross' failed
make: *** [cross] Error 2