Pull request #729 opened Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from bdbcf4d0a5e482a940e1100606f0ef407b4fbc30 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision 26028d2ce48352c9b2c3f496e963b79a4944a426 using credential jps-reader Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/jps.git > git init /var/cloudbees-jenkins-distribution/workspace/app_PR-729@libs/jps # timeout=10 Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master Checking out Revision 26028d2ce48352c9b2c3f496e963b79a4944a426 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 26028d2ce48352c9b2c3f496e963b79a4944a426 Commit message: "[TAR-1227] Run the sonar container as the current user (#17)" First time build. Skipping changelog. [Pipeline] Start of Pipeline [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: Validate) [Pipeline] { (Branch: Binaries) [Pipeline] { (Branch: Build Invocation image) [Pipeline] stage [Pipeline] { (Validate) [Pipeline] stage [Pipeline] { (Binaries) [Pipeline] stage [Pipeline] { (Build Invocation image) [Pipeline] node [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-035428d2f9a0341a1) in /home/ubuntu/workspace/app_PR-729 [Pipeline] { Running on ubuntu-1804-overlay2 (i-09c2cbae185f44c29) in /home/ubuntu/workspace/app_PR-729 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0da3b136de587d973) in /home/ubuntu/workspace/app_PR-729 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-729/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-729/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-729/src/github.com/docker/app [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] checkout Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-729/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/729/head:refs/remotes/origin/PR-729 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-729/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/729/head:refs/remotes/origin/PR-729 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-729/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/729/head:refs/remotes/origin/PR-729 Fetching without tags Fetching without tags Fetching without tags Checking out Revision bdbcf4d0a5e482a940e1100606f0ef407b4fbc30 (PR-729) Checking out Revision bdbcf4d0a5e482a940e1100606f0ef407b4fbc30 (PR-729) Checking out Revision bdbcf4d0a5e482a940e1100606f0ef407b4fbc30 (PR-729) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/729/head:refs/remotes/origin/PR-729 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/729/head:refs/remotes/origin/PR-729 > git config core.sparsecheckout # timeout=10 > git checkout -f bdbcf4d0a5e482a940e1100606f0ef407b4fbc30 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/729/head:refs/remotes/origin/PR-729 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/729/head:refs/remotes/origin/PR-729 > git config core.sparsecheckout # timeout=10 > git checkout -f bdbcf4d0a5e482a940e1100606f0ef407b4fbc30 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/729/head:refs/remotes/origin/PR-729 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/729/head:refs/remotes/origin/PR-729 > git config core.sparsecheckout # timeout=10 > git checkout -f bdbcf4d0a5e482a940e1100606f0ef407b4fbc30 Commit message: "Add note to enable BuildKit to build in docker" First time build. Skipping changelog. fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426 Commit message: "Add note to enable BuildKit to build in docker" Commit message: "Add note to enable BuildKit to build in docker" fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426 fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-729-1 --build-arg COMMIT=bdbcf4d0 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cli -t docker-app-cli:jenkins-app-PR-729-1 . #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 3.83kB done #2 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 73B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh... #3 DONE 0.0s #4 [cli-build 1/5] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #4 DONE 0.0s #6 [cli-build 3/5] WORKDIR /go/src/github.com/docker/cli #6 CACHED #7 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #7 CACHED #5 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #5 CACHED #8 [cli-build 5/5] RUN make binary-osx binary-windows binary #8 CACHED #9 [cli 1/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-729-1 --build-arg COMMIT=bdbcf4d0 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-729-1 . #2 [internal] load .dockerignore #2 transferring context: 73B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile.invocation-image #1 transferring dockerfile: 614B done #1 DONE 0.0s #4 [internal] load metadata for docker.io/library/golang:1.13.2 #4 DONE 0.1s #3 [internal] load metadata for docker.io/library/alpine:3.10.3 #9 DONE 0.2s #3 DONE 0.1s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 DONE 0.0s #5 [invocation 1/4] FROM docker.io/library/alpine:3.10.3@sha256:c19173c5ada... #5 DONE 0.0s #10 [internal] load build context + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-729-1 -f Dockerfile.lint . #2 [internal] load .dockerignore #2 transferring context: 73B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile.lint #1 transferring dockerfile: 414B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.12.9-alpine3.10 #3 DONE 0.1s #4 [1/5] FROM docker.io/library/golang:1.12.9-alpine3.10@sha256:e0660b4f1e6... #4 DONE 0.0s #8 [internal] load build context #10 [cli 2/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #10 DONE 0.4s #11 [cli 3/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #10 transferring context: 73.22MB 1.4s done #10 DONE 1.4s #8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install... #8 CACHED #9 [build 3/5] WORKDIR /go/src/github.com/docker/app/ #9 CACHED #11 [build 4/5] COPY . . #11 DONE 0.3s #12 exporting to client #12 copying files 35B #8 transferring context: 73.22MB 1.3s done #8 DONE 1.4s #5 [2/5] RUN apk add --no-cache curl git make coreutils #5 CACHED #6 [3/5] RUN GO111MODULE=on go get github.com/golangci/golangci-lint/cm... #6 CACHED #7 [4/5] WORKDIR /go/src/github.com/docker/app #7 CACHED #9 [5/5] COPY . . #12 copying files 181.89MB 1.2s done #9 DONE 1.3s #10 exporting to image #10 exporting layers #12 DONE 1.9s docker build --build-arg TAG=jenkins-app-PR-729-1 --build-arg COMMIT=bdbcf4d0 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cross -t docker-app-cross:jenkins-app-PR-729-1 . #2 [internal] load .dockerignore #2 transferring context: 34B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 38B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh... #3 DONE 0.0s #4 [internal] load metadata for docker.io/library/golang:1.13.3 #4 DONE 0.1s #8 [cli-build 1/5] 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 #18 [internal] load build context #10 exporting layers 0.8s done #10 writing image sha256:541739783f7bed92783a488a285202c2f90315d897367538ad2580341c229de1 done #10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-729-1 done #10 DONE 0.8s docker run --rm docker-app-lint:jenkins-app-PR-729-1 make lint #11 DONE 2.3s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-729-1 bin... #12 0.860 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=bdbcf4d0 -X github.com/docker/app/internal.Version=jenkins-app-PR-729-1 -X github.com/docker/app/internal.BuildTime=2019-11-07T11:14:15Z" -o bin/cnab-run ./cmd/cnab-run #18 transferring context: 73.22MB 1.3s done #18 DONE 1.3s #9 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #12 [cli-build 5/5] RUN make binary-osx binary-windows binary #12 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #10 [cli-build 3/5] WORKDIR /go/src/github.com/docker/cli #10 CACHED #11 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #13 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #13 CACHED #14 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #14 CACHED #15 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #15 CACHED #16 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #16 CACHED #17 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #17 CACHED #19 [dev 9/9] COPY . . Linting... #19 DONE 1.2s #20 [cross-build 1/1] RUN make TAG=jenkins-app-PR-729-1 cross #20 1.163 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=bdbcf4d0 -X github.com/docker/app/internal.Version=jenkins-app-PR-729-1 -X github.com/docker/app/internal.BuildTime=2019-11-07T11:14:18Z" -o bin/docker-app-linux ./cmd/docker-app [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg TAG=jenkins-app-PR-729-1 --build-arg COMMIT=bdbcf4d0 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-729-1 . #2 [internal] load .dockerignore #2 transferring context: 34B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 3.83kB 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/5] 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 #18 [internal] load build context #18 transferring context: 343.74kB 0.2s done #18 DONE 0.2s #16 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #16 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #10 [cli-build 3/5] WORKDIR /go/src/github.com/docker/cli #10 CACHED #11 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #14 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #14 CACHED #9 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #15 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #15 CACHED #12 [cli-build 5/5] RUN make binary-osx binary-windows binary #12 CACHED #13 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #13 CACHED #17 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #17 CACHED #19 [dev 9/9] COPY . . #19 DONE 0.6s #20 exporting to image #20 exporting layers #20 exporting layers 0.8s done #20 writing image sha256:8fe3c646a01bc152143b38a0782c89131026ddc1ff8d99ac5f370d73fa61c824 done #20 naming to docker.io/library/docker-app-dev:jenkins-app-PR-729-1 done #20 DONE 0.8s Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-729-1 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/104) Wrote github.com/beorn7/perks@master (2/104) Wrote github.com/coreos/go-systemd@v20 (3/104) Wrote github.com/containerd/ttrpc@master (4/104) Wrote github.com/containerd/fifo@master (5/104) Wrote github.com/davecgh/go-spew@v1.1.1 (6/104) Wrote github.com/containerd/typeurl@master (7/104) Wrote github.com/Microsoft/hcsshim@v0.8.6 (8/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (9/104) Wrote github.com/containerd/console@master (10/104) Wrote github.com/containerd/cgroups@master (11/104) Wrote github.com/containerd/continuity@master (12/104) Wrote github.com/agl/ed25519@master (13/104) Wrote vbom.ml/util@master (14/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (15/104) Wrote github.com/docker/go@v1.5.1-1 (16/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (17/104) Wrote github.com/docker/go-connections@v0.4.0 (18/104) Wrote github.com/docker/go-events@master (19/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (20/104) Wrote github.com/docker/go-units@v0.3.3 (21/104) Wrote github.com/docker/buildx@v0.3.1 (22/104) Wrote github.com/godbus/dbus@v5.0.1 (23/104) Wrote github.com/gofrs/flock@v0.7.1 (24/104) Wrote github.com/gogo/googleapis@v1.2.0 (25/104) Wrote github.com/google/go-cmp@v0.2.0 (26/104) Wrote github.com/google/gofuzz@v1.0.0 (27/104) Wrote github.com/google/shlex@master (28/104) Wrote github.com/gorilla/mux@v1.7.1 (29/104) Wrote github.com/globalsign/mgo@master (30/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (31/104) Wrote github.com/hashicorp/go-version@v1.1.0 (32/104) Wrote github.com/hashicorp/golang-lru@v0.5.1 (33/104) Wrote github.com/imdario/mergo@master (34/104) Wrote github.com/inconshreveable/mousetrap@v1.0 (35/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (36/104) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 (37/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (38/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (39/104) Wrote github.com/mattn/go-shellwords@v1.0.5 (40/104) Wrote github.com/googleapis/gnostic@v0.2.0 (41/104) Wrote github.com/json-iterator/go@v1.1.6 (42/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (43/104) Wrote github.com/miekg/pkcs11@master (44/104) Wrote github.com/mitchellh/mapstructure@v1.1.2 (45/104) Wrote github.com/modern-go/concurrent@1.0.3 (46/104) Wrote github.com/modern-go/reflect2@1.0.1 (47/104) Wrote github.com/morikuni/aec@master (48/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (49/104) Wrote github.com/oklog/ulid@v1.3.1 Creating placeholder flownodes because failed loading originals. GitHub has been notified of this commit’s build result java.io.IOException: Tried to load head FlowNodes for execution Owner[app/PR-729/1:app/PR-729 #1] but FlowNode was not found in storage for head id:FlowNodeId 1:47 at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.initializeStorage(CpsFlowExecution.java:679) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.onLoad(CpsFlowExecution.java:716) at org.jenkinsci.plugins.workflow.job.WorkflowRun.getExecution(WorkflowRun.java:662) at org.jenkinsci.plugins.workflow.job.WorkflowRun.onLoad(WorkflowRun.java:526) at hudson.model.RunMap.retrieve(RunMap.java:225) at hudson.model.RunMap.retrieve(RunMap.java:57) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:501) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:483) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:381) at hudson.model.RunMap.getById(RunMap.java:205) at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.run(WorkflowRun.java:899) at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.get(WorkflowRun.java:910) at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$1.computeNext(FlowExecutionList.java:65) at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$1.computeNext(FlowExecutionList.java:57) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ItemListenerImpl.onLoaded(FlowExecutionList.java:178) at jenkins.model.Jenkins.(Jenkins.java:999) at hudson.model.Hudson.(Hudson.java:85) at hudson.model.Hudson.(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:233) Finished: FAILURE