Skip to content

Console Output

+ make -f docker.Makefile TAG=jenkins-app-PR-754-6-coverage coverage-run
docker build --build-arg TAG=jenkins-app-PR-754-6-coverage --build-arg COMMIT=ede60f1c --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-754-6 .
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 4.18kB done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 73B done
#2 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/8] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea...
#8 DONE 0.0s

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

#21 [internal] load build context
#21 transferring context: 73.72MB 1.3s done
#21 DONE 1.3s

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

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

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

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

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

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

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

#15 [cli-build 8/8] RUN make binary-windows
#15 CACHED

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

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

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

#14 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab...
#14 CACHED

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

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

#22 [dev 9/9] COPY . .
#22 DONE 4.2s

#23 exporting to image
#23 exporting layers
#23 exporting layers 3.0s done
#23 writing image sha256:0b494ebf122c8e2d39de7586e2ba4c7a9fbfc33aa52ab22ca42e03fa116e6031 done
#23 naming to docker.io/library/docker-app-dev:jenkins-app-PR-754-6 done
#23 DONE 3.0s
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-754-6-coverage --network="host" -t docker-app-dev:jenkins-app-PR-754-6 make COMMIT=ede60f1c TAG=jenkins-app-PR-754-6-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=ede60f1c -X github.com/docker/app/internal.Version=jenkins-app-PR-754-6-coverage -X github.com/docker/app/internal.BuildTime=2019-11-19T17:18:58Z" -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/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/relocated 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
∅  .
∅  cmd/cnab-run
∅  cmd/docker-app
∅  docs/yaml
✓  internal (29ms)
✓  internal/bundle (30ms)
∅  internal/cliopts
✓  internal/cnab (40ms)
✓  internal/commands (498ms)
✓  internal/commands/build (46ms)
✓  internal/compose (4ms)
✓  internal/formatter (19ms)
✓  internal/commands/image (27ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
✓  internal/inspect (92ms)
∅  internal/log
✓  internal/slices (3ms)
✓  internal/store (34ms)
✓  internal/packager (86ms)
∅  internal/relocated
✓  internal/yaml (8ms)
✓  loader (33ms)
✓  render (85ms)
✓  specification (9ms)
✓  types (23ms)
✓  types/parameters (13ms)
✓  types/metadata (16ms)

DONE 254 tests in 117.874s
CGO_ENABLED=0 go test -tags=" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=ede60f1c -X github.com/docker/app/internal.Version=jenkins-app-PR-754-6-coverage -X github.com/docker/app/internal.BuildTime=2019-11-19T17:18:58Z" -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=ede60f1c -X github.com/docker/app/internal.Version=jenkins-app-PR-754-6-coverage -X github.com/docker/app/internal.BuildTime=2019-11-19T17:18:58Z" -v ./e2e 

=== Failed
=== FAIL: e2e TestBuild (55.68s)
    build_test.go:31: assertion failed: 
        Command:  docker app build --tag single:1.0.0 --iidfile /tmp/TestBuild-977872045/iidfile -f testdata/build/single.dockerapp testdata/build
        ExitCode: 141
        Error:    exit status 141
        Stdout:   #1 [com.docker.app.invocation-image internal] load remote build context
        #1 DONE 0.0s
        
        #3 [worker internal] load build definition from Dockerfile.worker
        #3 transferring dockerfile: 199B done
        #3 DONE 0.0s
        
        #4 [web internal] load .dockerignore
        #4 transferring context: 2B done
        #4 DONE 0.1s
        
        #2 [worker internal] load .dockerignore
        #2 transferring context: 2B done
        #2 DONE 0.1s
        
        #5 [web internal] load build definition from Dockerfile
        #5 transferring dockerfile: 49B done
        #5 DONE 0.1s
        
        #7 [worker] exporting to image
        #7 writing image sha256:2ea0967552f08b383be943ea872a1a346a1752652164c2127ee013ef9a94d793
        #7 writing image sha256:2ea0967552f08b383be943ea872a1a346a1752652164c2127ee013ef9a94d793 done
        #7 writing image sha256:71de1148337f4d1845be01eb4caf15d78e4eb15a1ab96030809826698a5b7e30 done
        #7 DONE 0.0s
        
        #6 [com.docker.app.invocation-image] copy /context /
        #6 DONE 0.1s
        
        #8 [com.docker.app.invocation-image internal] load metadata for docker.io/d...
        #8 DONE 0.0s
        
        #9 [com.docker.app.invocation-image 1/2] FROM docker.io/docker/cnab-app-bas...
        #9 resolve docker.io/docker/cnab-app-base:jenkins-app-PR-754-6-coverage done
        #9 DONE 0.0s
        
        #10 [com.docker.app.invocation-image 2/2] COPY . .
        #10 DONE 0.3s
        
        #7 [com.docker.app.invocation-image] exporting to image
        #7 exporting layers 0.0s done
        #7 writing image sha256:ac4a2541b546294516b3903bbc06f4b63f387296e4420cef233b94bc7e4e654c done
        #7 DONE 0.0s
        
        Stderr:   
        
        Failures:
        ExitCode was 141 expected 0
        Expected no error

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

goroutine 936 [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(0xc0004ec500, 0x14d2dca, 0x1a, 0x1560350, 0x4c0101)
	/usr/local/go/src/testing/testing.go:961 +0x377
testing.runTests.func1(0xc0004ec300)
	/usr/local/go/src/testing/testing.go:1202 +0x78
testing.tRunner(0xc0004ec300, 0xc0004d7cd0)
	/usr/local/go/src/testing/testing.go:909 +0xc9
testing.runTests(0xc00000c8a0, 0x20b13a0, 0x24, 0x24, 0x0)
	/usr/local/go/src/testing/testing.go:1200 +0x2a7
testing.(*M).Run(0xc0002fc880, 0x0)
	/usr/local/go/src/testing/testing.go:1117 +0x176
github.com/docker/app/e2e.TestMain(0xc0002fc880)
	/go/src/github.com/docker/app/e2e/main_test.go:119 +0x2ad
main.main()
	_testmain.go:112 +0x135

goroutine 7 [select]:
github.com/docker/app/vendor/github.com/globalsign/mgo.newcoarseTimeProvider.func1(0x17d7840, 0xc000089560)
	/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 9 [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 10 [chan receive]:
github.com/docker/app/vendor/k8s.io/klog.(*loggingT).flushDaemon(0x20c2900)
	/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 888 [syscall]:
syscall.Syscall6(0xf7, 0x1, 0x38a7, 0xc0000cd1d0, 0x1000004, 0x0, 0x0, 0x20, 0x20, 0x1344620)
	/usr/local/go/src/syscall/asm_linux_amd64.s:44 +0x5
os.(*Process).blockUntilWaitable(0xc00033cb70, 0xc000167b00, 0x824488, 0xc0000cd3c8)
	/usr/local/go/src/os/wait_waitid.go:31 +0x98
os.(*Process).wait(0xc00033cb70, 0x7f28552bf6d0, 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(0xc0004eb600, 0x1562778, 0x1562780)
	/usr/local/go/src/os/exec/exec.go:501 +0x60
github.com/docker/app/vendor/gotest.tools/icmd.WaitOnCmd(0x0, 0xc000086e40, 0x5)
	/go/src/github.com/docker/app/vendor/gotest.tools/icmd/command.go:266 +0x2b8
github.com/docker/app/vendor/gotest.tools/icmd.RunCmd(0xc00003a550, 0x5, 0x5, 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.TestRelocationMapOnInspect.func1(0xc000042b40, 0x13, 0xc0000427e0, 0x13, 0xc000086880, 0x4, 0x4, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/relocation_test.go:120 +0xdcb
github.com/docker/app/e2e.runWithDindSwarmAndRegistry(0xc0004ec500, 0xc0000cdf50)
	/go/src/github.com/docker/app/e2e/helper_test.go:91 +0x1b2d
github.com/docker/app/e2e.TestRelocationMapOnInspect(0xc0004ec500)
	/go/src/github.com/docker/app/e2e/relocation_test.go:95 +0x4e
testing.tRunner(0xc0004ec500, 0x1560350)
	/usr/local/go/src/testing/testing.go:909 +0xc9
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:960 +0x350

goroutine 934 [IO wait]:
internal/poll.runtime_pollWait(0x7f285305af08, 0x72, 0xffffffffffffffff)
	/usr/local/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc00007d9f8, 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(0xc00007d9e0, 0xc000562000, 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(0xc000164478, 0xc000562000, 0x8000, 0x8000, 0x0, 0xc00049ff00, 0x40523a)
	/usr/local/go/src/os/file.go:116 +0x71
io.copyBuffer(0x1673e40, 0xc000086dc0, 0x16744e0, 0xc000164478, 0xc000562000, 0x8000, 0x8000, 0x404d15, 0xc0003bf6e0, 0xc00049ffb0)
	/usr/local/go/src/io/io.go:402 +0x122
io.Copy(...)
	/usr/local/go/src/io/io.go:364
os/exec.(*Cmd).writerDescriptor.func1(0xc0003bf6e0, 0xc00049ffb0)
	/usr/local/go/src/os/exec/exec.go:311 +0x63
os/exec.(*Cmd).Start.func1(0xc0004eb600, 0xc0002cafa0)
	/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 935 [IO wait]:
internal/poll.runtime_pollWait(0x7f285305ad68, 0x72, 0xffffffffffffffff)
	/usr/local/go/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc00007dab8, 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(0xc00007daa0, 0xc00056a000, 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(0xc0001644a8, 0xc00056a000, 0x8000, 0x8000, 0x0, 0xc00049bf00, 0x40523a)
	/usr/local/go/src/os/file.go:116 +0x71
io.copyBuffer(0x1673e40, 0xc000086e00, 0x16744e0, 0xc0001644a8, 0xc00056a000, 0x8000, 0x8000, 0x404d15, 0xc0003bf6e0, 0xc00049bfb0)
	/usr/local/go/src/io/io.go:402 +0x122
io.Copy(...)
	/usr/local/go/src/io/io.go:364
os/exec.(*Cmd).writerDescriptor.func1(0xc0003bf6e0, 0xc00049bfb0)
	/usr/local/go/src/os/exec/exec.go:311 +0x63
os/exec.(*Cmd).Start.func1(0xc0004eb600, 0xc0002cafe0)
	/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.019s


DONE 55 tests, 2 failures in 603.712s
make: *** [Makefile:96: coverage-test-e2e] Error 1
docker.Makefile:79: recipe for target 'coverage-run' failed
make: *** [coverage-run] Error 2