Skip to content

Console Output

+ make -f docker.Makefile TAG=jenkins-app-PR-783-3-coverage coverage-run
docker build --build-arg TAG=jenkins-app-PR-783-3-coverage --build-arg COMMIT=922bc481 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-783-3 .
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 4.74kB done
#2 DONE 0.0s

#1 [internal] load .dockerignore
#1 transferring context: 73B done
#1 DONE 0.0s

#4 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh...
#4 DONE 0.0s

#3 [internal] load metadata for docker.io/library/golang:1.13.3
#3 DONE 0.1s

#8 [cli-build 1/10] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3e...
#8 DONE 0.0s

#5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816...
#5 DONE 0.0s

#23 [internal] load build context
#23 transferring context: 74.02MB 1.4s done
#23 DONE 1.4s

#6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom...
#6 CACHED

#13 [cli-build 6/10] RUN curl -fL https://download.docker.com/linux/static/s...
#13 CACHED

#16 [cli-build 9/10] RUN curl -fL https://download.docker.com/mac/static/sta...
#16 CACHED

#19 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele...
#19 CACHED

#18 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock...
#18 CACHED

#17 [cli-build 10/10] RUN make binary-windows
#17 CACHED

#14 [cli-build 7/10] RUN curl -fL https://download.docker.com/linux/static/s...
#14 CACHED

#10 [cli-build 3/10] WORKDIR /go/src/github.com/docker/cli
#10 CACHED

#15 [cli-build 8/10] RUN curl -fL https://download.docker.com/linux/static/s...
#15 CACHED

#9 [cli-build 2/10] RUN apt-get install -y -q --no-install-recommends   cor...
#9 CACHED

#12 [cli-build 5/10] RUN mkdir build
#12 CACHED

#7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/
#7 CACHED

#11 [cli-build 4/10] RUN git clone https://github.com/docker/cli . && git ch...
#11 CACHED

#21 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux     ...
#21 CACHED

#20 [dev 6/9] RUN mkdir /go/src/gotest.tools &&   git clone -q https://githu...
#20 CACHED

#22 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 &&   cd /go/src/github.c...
#22 CACHED

#24 [dev 9/9] COPY . .
#24 DONE 1.9s

#25 exporting to image
#25 exporting layers
#25 exporting layers 0.8s done
#25 writing image sha256:0f6f4c9c4df21ed258ca98f7353097bfa48a3590a718a1e320e342bbc55d058b done
#25 naming to docker.io/library/docker-app-dev:jenkins-app-PR-783-3 done
#25 DONE 0.8s
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-783-3-coverage --network="host" -t docker-app-dev:jenkins-app-PR-783-3 make COMMIT=922bc481 TAG=jenkins-app-PR-783-3-coverage 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=922bc481 -X github.com/docker/app/internal.Version=jenkins-app-PR-783-3-coverage -X github.com/docker/app/internal.BuildTime=2019-12-11T15:14:05Z" -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/docs/yaml github.com/docker/app/internal github.com/docker/app/internal/bundle github.com/docker/app/internal/cliopts github.com/docker/app/internal/cnab github.com/docker/app/internal/commands github.com/docker/app/internal/commands/build 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/image 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/validator github.com/docker/app/internal/validator/rules 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
∅  .
∅  cmd/cnab-run
∅  cmd/docker-app
∅  docs/yaml
✓  internal (17ms)
✓  internal/bundle (38ms)
∅  internal/cliopts
✓  internal/cnab (28ms)
✓  internal/commands (375ms)
✓  internal/commands/build (48ms)
✓  internal/compose (3ms)
✓  internal/commands/image (28ms)
✓  internal/formatter (23ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
∅  internal/image
✓  internal/inspect (120ms)
∅  internal/log
✓  internal/slices (2ms)
✓  internal/packager (79ms)
✓  internal/store (61ms)
✓  internal/validator/rules (13ms)
✓  internal/yaml (20ms)
✓  internal/validator (24ms)
✓  loader (33ms)
✓  specification (6ms)
✓  render (51ms)
✓  types (37ms)
✓  types/metadata (18ms)
✓  types/parameters (4ms)

DONE 276 tests in 124.245s
CGO_ENABLED=0 go test -tags=" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=922bc481 -X github.com/docker/app/internal.Version=jenkins-app-PR-783-3-coverage -X github.com/docker/app/internal.BuildTime=2019-12-11T15:14:05Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app
Running e2e tests (coverage)...
DOCKERAPP_BINARY=../e2e/coverage-bin CGO_ENABLED=0 gotestsum --junitfile _build/test-results/e2e-coverage.xml -- -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=922bc481 -X github.com/docker/app/internal.Version=jenkins-app-PR-783-3-coverage -X github.com/docker/app/internal.BuildTime=2019-12-11T15:14:05Z" -v ./e2e 

=== Failed
=== FAIL: e2e TestBackwardsCompatibilityV1/Kubernetes (271.87s)
    --- FAIL: TestBackwardsCompatibilityV1/Kubernetes (271.87s)
        helper_test.go:219: assertion failed: 
            Command:  docker app push 10.100.93.141:5000/app-e2e:v0.9.0
            ExitCode: 1
            Error:    exit status 1
            Stdout:   Handling image app-e2e:0.1.0-invoc...
            Failure: failed to resolve or push image for service "InvocationImage"
            
            Stderr:   fixing up "10.100.93.141:5000/app-e2e:v0.9.0" for push: failed to resolve or push image for service "InvocationImage"
            
            
            Failures:
            ExitCode was 1 expected 0
            Expected no error

=== FAIL: e2e TestBackwardsCompatibilityV1 (304.32s)

=== FAIL: e2e TestImageTag (600.02s)
panic: test timed out after 10m0s

goroutine 1001 [running]:
testing.(*M).startAlarm.func1()
	/usr/local/go/src/testing/testing.go:1377 +0xdf
created by time.goFunc
	/usr/local/go/src/time/sleep.go:168 +0x44

goroutine 1 [chan receive]:
testing.(*T).Run(0xc000252000, 0x14e263b, 0xc, 0x1581748, 0x4c0101)
	/usr/local/go/src/testing/testing.go:961 +0x377
testing.runTests.func1(0xc0000cc500)
	/usr/local/go/src/testing/testing.go:1202 +0x78
testing.tRunner(0xc0000cc500, 0xc0004cfcd0)
	/usr/local/go/src/testing/testing.go:909 +0xc9
testing.runTests(0xc00034cc80, 0x20eb4c0, 0x2a, 0x2a, 0x0)
	/usr/local/go/src/testing/testing.go:1200 +0x2a7
testing.(*M).Run(0xc00015ab80, 0x0)
	/usr/local/go/src/testing/testing.go:1117 +0x176
github.com/docker/app/e2e.TestMain(0xc00015ab80)
	/go/src/github.com/docker/app/e2e/main_test.go:119 +0x2ad
main.main()
	_testmain.go:124 +0x135

goroutine 19 [select]:
github.com/docker/app/vendor/github.com/globalsign/mgo.newcoarseTimeProvider.func1(0x17d7840, 0xc00008d560)
	/go/src/github.com/docker/app/vendor/github.com/globalsign/mgo/coarse_time.go:51 +0x129
created by github.com/docker/app/vendor/github.com/globalsign/mgo.newcoarseTimeProvider
	/go/src/github.com/docker/app/vendor/github.com/globalsign/mgo/coarse_time.go:48 +0x102

goroutine 6 [syscall, 10 minutes]:
os/signal.signal_recv(0x45f026)
	/usr/local/go/src/runtime/sigqueue.go:147 +0x9c
os/signal.loop()
	/usr/local/go/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
	/usr/local/go/src/os/signal/signal_unix.go:29 +0x41

goroutine 7 [chan receive]:
github.com/docker/app/vendor/k8s.io/klog.(*loggingT).flushDaemon(0x20faac0)
	/go/src/github.com/docker/app/vendor/k8s.io/klog/klog.go:943 +0x8b
created by github.com/docker/app/vendor/k8s.io/klog.init.0
	/go/src/github.com/docker/app/vendor/k8s.io/klog/klog.go:403 +0x6c

goroutine 984 [syscall]:
syscall.Syscall6(0xf7, 0x1, 0x370c, 0xc0004ab6c0, 0x1000004, 0x0, 0x0, 0x20, 0x20, 0x1361a60)
	/usr/local/go/src/syscall/asm_linux_amd64.s:44 +0x5
os.(*Process).blockUntilWaitable(0xc0002a0900, 0xc00049f800, 0x81fc08, 0xc0004ab8b8)
	/usr/local/go/src/os/wait_waitid.go:31 +0x98
os.(*Process).wait(0xc0002a0900, 0x7fb4737d26d0, 0x0, 0x2)
	/usr/local/go/src/os/exec_unix.go:22 +0x39
os.(*Process).Wait(...)
	/usr/local/go/src/os/exec.go:125
os/exec.(*Cmd).Wait(0xc00054a840, 0x1583c00, 0x1583c08)
	/usr/local/go/src/os/exec/exec.go:501 +0x60
github.com/docker/app/vendor/gotest.tools/icmd.WaitOnCmd(0x0, 0xc0002b9140, 0x4)
	/go/src/github.com/docker/app/vendor/gotest.tools/icmd/command.go:266 +0x2b8
github.com/docker/app/vendor/gotest.tools/icmd.RunCmd(0xc0002b9040, 0x4, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/vendor/gotest.tools/icmd/command.go:216 +0x14f
github.com/docker/app/e2e.initInfoAndRegistry.func2(0xc0002b3e60, 0x3, 0x3, 0xc0002a08d0, 0x30)
	/go/src/github.com/docker/app/e2e/helper_test.go:218 +0x1d3
github.com/docker/app/e2e.runWithDindSwarmAndRegistry(0xc000252000, 0xc0004abf50)
	/go/src/github.com/docker/app/e2e/helper_test.go:281 +0x65a
github.com/docker/app/e2e.TestImageTag(0xc000252000)
	/go/src/github.com/docker/app/e2e/images_test.go:160 +0x4e
testing.tRunner(0xc000252000, 0x1581748)
	/usr/local/go/src/testing/testing.go:909 +0xc9
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:960 +0x350

goroutine 1000 [IO wait]:
internal/poll.runtime_pollWait(0x7fb471572458, 0x72, 0xffffffffffffffff)
	/usr/local/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc00007ccd8, 0x72, 0x8001, 0x8000, 0xffffffffffffffff)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00007ccc0, 0xc000790000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf
os.(*File).read(...)
	/usr/local/go/src/os/file_unix.go:259
os.(*File).Read(0xc00000e538, 0xc000790000, 0x8000, 0x8000, 0x0, 0xc0001e7f00, 0x4051d9)
	/usr/local/go/src/os/file.go:116 +0x71
io.copyBuffer(0x169a040, 0xc0002b9100, 0x169a700, 0xc00000e538, 0xc000790000, 0x8000, 0x8000, 0x404d15, 0xc00007c960, 0xc0001e7fb0)
	/usr/local/go/src/io/io.go:402 +0x122
io.Copy(...)
	/usr/local/go/src/io/io.go:364
os/exec.(*Cmd).writerDescriptor.func1(0xc00007c960, 0xc0001e7fb0)
	/usr/local/go/src/os/exec/exec.go:311 +0x63
os/exec.(*Cmd).Start.func1(0xc00054a840, 0xc0004bd2c0)
	/usr/local/go/src/os/exec/exec.go:435 +0x27
created by os/exec.(*Cmd).Start
	/usr/local/go/src/os/exec/exec.go:434 +0x608

goroutine 999 [IO wait]:
internal/poll.runtime_pollWait(0x7fb471572528, 0x72, 0xffffffffffffffff)
	/usr/local/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc00007ca38, 0x72, 0x8001, 0x8000, 0xffffffffffffffff)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00007ca20, 0xc000788000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf
os.(*File).read(...)
	/usr/local/go/src/os/file_unix.go:259
os.(*File).Read(0xc00000e520, 0xc000788000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
	/usr/local/go/src/os/file.go:116 +0x71
io.copyBuffer(0x169a040, 0xc0002b90c0, 0x169a700, 0xc00000e520, 0xc000788000, 0x8000, 0x8000, 0x404d15, 0xc00007c720, 0xc0002aafb0)
	/usr/local/go/src/io/io.go:402 +0x122
io.Copy(...)
	/usr/local/go/src/io/io.go:364
os/exec.(*Cmd).writerDescriptor.func1(0xc00007c720, 0xc0002aafb0)
	/usr/local/go/src/os/exec/exec.go:311 +0x63
os/exec.(*Cmd).Start.func1(0xc00054a840, 0xc0004bd240)
	/usr/local/go/src/os/exec/exec.go:435 +0x27
created by os/exec.(*Cmd).Start
	/usr/local/go/src/os/exec/exec.go:434 +0x608
FAIL	github.com/docker/app/e2e	600.021s


DONE 46 tests, 3 failures in 603.644s
make: *** [Makefile:104: coverage-test-e2e] Error 1
docker.Makefile:83: recipe for target 'coverage-run' failed
make: *** [coverage-run] Error 2