Console Output
+ make -f docker.Makefile TAG=jenkins-app-PR-654-1-coverage coverage-run
docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=dev -t docker-app-dev:jenkins-app-PR-654-1 .
Sending build context to Docker daemon 72.93MB
Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
---> 518d5e4626aa
Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1
---> Using cache
---> 0832e4e256e9
Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime
---> Using cache
---> f4bd2a71ac0b
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
---> Using cache
---> 3903fe32b732
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
---> Using cache
---> 63e62fbbfdc3
Step 6/18 : ARG GOPROXY
---> Using cache
---> 485fe154e869
Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker
---> Using cache
---> eab24490343c
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
---> Using cache
---> 30571aef7df0
Step 9/18 : FROM build AS dev
---> 30571aef7df0
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
---> Using cache
---> 3462df077143
Step 11/18 : ARG DEP_VERSION=v0.5.1
---> Using cache
---> f7db1ad315d2
Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep
---> Using cache
---> fd46646cd45d
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
---> Using cache
---> cdfec79bee0f
Step 14/18 : ARG GOPROXY
---> Using cache
---> a690eacd5341
Step 15/18 : 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
---> Using cache
---> 11f359a65579
Step 16/18 : 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
---> Using cache
---> 5c369ea5aa0d
Step 17/18 : 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/*
---> Using cache
---> d377b79f83e7
Step 18/18 : COPY . .
---> b8b26a52f5cf
[Warning] One or more build-args [EXPERIMENTAL TAG ALPINE_VERSION COMMIT] were not consumed
Successfully built b8b26a52f5cf
Successfully tagged docker-app-dev:jenkins-app-PR-654-1
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-654-1-coverage --network="host" -t docker-app-dev:jenkins-app-PR-654-1 make COMMIT=27bbc86d TAG=jenkins-app-PR-654-1-coverage EXPERIMENTAL=off TEST_RESULTS_PREFIX= coverage
Running unit tests (coverage)...
CGO_ENABLED=0 gotestsum --junitfile _build/test-results/unit-coverage.xml -- -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:46:38Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/cmd/docker-app-standalone github.com/docker/app/internal github.com/docker/app/internal/commands github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters
[33m∅[0m .
[33m∅[0m cmd/cnab-run
[33m∅[0m cmd/docker-app
[33m∅[0m cmd/docker-app-standalone
[32m✓[0m internal (21ms)
[32m✓[0m internal/compose (19ms)
[32m✓[0m internal/formatter (3ms)
[32m✓[0m internal/inspect (76ms)
[32m✓[0m internal/commands (391ms)
[33m∅[0m internal/commands/image
[33m∅[0m internal/formatter/driver
[33m∅[0m internal/formatter/json
[33m∅[0m internal/formatter/yaml
[33m∅[0m internal/log
[32m✓[0m internal/slices (2ms)
[32m✓[0m internal/packager (34ms)
[31m✖[0m internal/store (31ms)
[32m✓[0m internal/yaml (1.619s)
[32m✓[0m loader (9ms)
[32m✓[0m render (49ms)
[32m✓[0m specification (9ms)
[32m✓[0m types/metadata (9ms)
[32m✓[0m types (18ms)
[32m✓[0m types/parameters (6ms)
=== [31mFailed[0m
=== [31mFAIL[0m: internal/store TestRemove/error_on_unknown (0.00s)
--- FAIL: TestRemove/error_on_unknown (0.00s)
bundle_test.go:269: assertion failed: no such image my-repo/some-bundle:1.0.0 (string) != no such image docker.io/my-repo/some-bundle:1.0.0 (string)
=== [31mFAIL[0m: internal/store TestRemove (0.00s)
DONE 210 tests, 2 failures in 92.737s
make: *** [Makefile:106: coverage-test-unit] Error 1
docker.Makefile:106: recipe for target 'coverage-run' failed
make: *** [coverage-run] Error 2
+ true