Pull request #13 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc+51ed22c70609a403673ae47a74ccb46e9796c47b (be6863311f5e9f817322b6c006f9bc3b844e5ce0) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision be13395f86379d55f5290fa9cfe6e7af12c9a609 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-13/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision be13395f86379d55f5290fa9cfe6e7af12c9a609 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be13395f86379d55f5290fa9cfe6e7af12c9a609 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2319 in /w/workspace/dgexfoundry_device-rest-go_PR-13 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-13 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/13/head:refs/remotes/origin/PR-13 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 51ed22c70609a403673ae47a74ccb46e9796c47b into PR head commit 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc Merge succeeded, producing 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc Checking out Revision 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc (PR-13) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/13/head:refs/remotes/origin/PR-13 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/13/head:refs/remotes/origin/PR-13 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 51ed22c70609a403673ae47a74ccb46e9796c47b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc # timeout=10 Commit message: "build: Switch to Go 1.13" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object be13395f86379d55f5290fa9cfe6e7af12c9a609 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-04T20:37:12.141Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-04T20:37:13.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-04T20:37:13.624Z] [2020-03-04T20:37:13.624Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-04T20:37:13.986Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-04T20:37:13.987Z] latest: Pulling from edgex-devops/git-semver [2020-03-04T20:37:13.987Z] 9123ac7c32f7: Pulling fs layer [2020-03-04T20:37:13.987Z] b8cc5d1170e3: Pulling fs layer [2020-03-04T20:37:13.987Z] 2924cbbf6a41: Pulling fs layer [2020-03-04T20:37:13.987Z] 93b08a4f1073: Pulling fs layer [2020-03-04T20:37:13.987Z] 93b08a4f1073: Waiting [2020-03-04T20:37:13.987Z] b8cc5d1170e3: Verifying Checksum [2020-03-04T20:37:13.987Z] b8cc5d1170e3: Download complete [2020-03-04T20:37:14.248Z] 9123ac7c32f7: Verifying Checksum [2020-03-04T20:37:14.248Z] 9123ac7c32f7: Download complete [2020-03-04T20:37:14.248Z] 93b08a4f1073: Verifying Checksum [2020-03-04T20:37:14.248Z] 93b08a4f1073: Download complete [2020-03-04T20:37:14.248Z] 2924cbbf6a41: Verifying Checksum [2020-03-04T20:37:14.248Z] 2924cbbf6a41: Download complete [2020-03-04T20:37:14.248Z] 9123ac7c32f7: Pull complete [2020-03-04T20:37:14.507Z] b8cc5d1170e3: Pull complete [2020-03-04T20:37:15.447Z] 2924cbbf6a41: Pull complete [2020-03-04T20:37:15.447Z] 93b08a4f1073: Pull complete [2020-03-04T20:37:15.447Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-04T20:37:15.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-04T20:37:15.633Z] prd-centos7-docker-4c-2g-2319 does not seem to be running inside a container [2020-03-04T20:37:15.682Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-13 -v /w/workspace/dgexfoundry_device-rest-go_PR-13:/w/workspace/dgexfoundry_device-rest-go_PR-13:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-13@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-04T20:37:16.385Z] $ docker top 9c0ee87f5124b2b7422d997285000c71372d17789cc860490708572a82fa9ef5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-04T20:37:17.057Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-04T20:37:17.057Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-04T20:37:17.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-04T20:37:17.322Z] $ docker exec 9c0ee87f5124b2b7422d997285000c71372d17789cc860490708572a82fa9ef5 ssh-agent [2020-03-04T20:37:17.519Z] SSH_AUTH_SOCK=/tmp/ssh-QCM0ZP09BJGs/agent.15 [2020-03-04T20:37:17.519Z] SSH_AGENT_PID=22 [2020-03-04T20:37:17.532Z] Running ssh-add (command line suppressed) [2020-03-04T20:37:17.675Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-13@tmp/private_key_8839582250132937163.key (/w/workspace/dgexfoundry_device-rest-go_PR-13@tmp/private_key_8839582250132937163.key) [2020-03-04T20:37:17.732Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-04T20:37:18.098Z] + git describe --exact-match --tags HEAD [2020-03-04T20:37:18.098Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-04T20:37:18.182Z] $ docker exec --env ******** --env ******** 9c0ee87f5124b2b7422d997285000c71372d17789cc860490708572a82fa9ef5 ssh-agent -k [2020-03-04T20:37:18.329Z] unset SSH_AUTH_SOCK; [2020-03-04T20:37:18.329Z] unset SSH_AGENT_PID; [2020-03-04T20:37:18.329Z] echo Agent pid 22 killed; [2020-03-04T20:37:18.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-04T20:37:18.460Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-04T20:37:18.460Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-04T20:37:18.509Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-04T20:37:18.510Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-04T20:37:18.690Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-04T20:37:18.694Z] $ docker exec 9c0ee87f5124b2b7422d997285000c71372d17789cc860490708572a82fa9ef5 ssh-agent [2020-03-04T20:37:18.874Z] SSH_AUTH_SOCK=/tmp/ssh-lR5PkyX9263G/agent.57 [2020-03-04T20:37:18.874Z] SSH_AGENT_PID=64 [2020-03-04T20:37:18.890Z] Running ssh-add (command line suppressed) [2020-03-04T20:37:19.033Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-13@tmp/private_key_7151939093497275692.key (/w/workspace/dgexfoundry_device-rest-go_PR-13@tmp/private_key_7151939093497275692.key) [2020-03-04T20:37:19.082Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-04T20:37:19.423Z] + git semver init [2020-03-04T20:37:19.423Z] # -> Open(): unable to determine branch for HEAD [2020-03-04T20:37:19.423Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-13/.git [2020-03-04T20:37:19.423Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-13 [2020-03-04T20:37:19.423Z] # $SEMVER_REMOTE_NAME = origin [2020-03-04T20:37:19.423Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-04T20:37:19.423Z] # $SEMVER_USER_NAME = jenkins [2020-03-04T20:37:19.423Z] # $SEMVER_BRANCH = PR-13 [2020-03-04T20:37:19.423Z] # $SEMVER_TEMP = /tmp/semver-253386939 [2020-03-04T20:37:19.423Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-03-04T20:37:20.378Z] # '/tmp/semver-253386939' -> '/w/workspace/dgexfoundry_device-rest-go_PR-13/.semver' [2020-03-04T20:37:20.378Z] # -> Force: false [2020-03-04T20:37:20.378Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-13/.semver [Pipeline] } [2020-03-04T20:37:20.402Z] $ docker exec --env ******** --env ******** 9c0ee87f5124b2b7422d997285000c71372d17789cc860490708572a82fa9ef5 ssh-agent -k [2020-03-04T20:37:20.541Z] unset SSH_AUTH_SOCK; [2020-03-04T20:37:20.541Z] unset SSH_AGENT_PID; [2020-03-04T20:37:20.542Z] echo Agent pid 64 killed; [2020-03-04T20:37:20.603Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-04T20:37:21.038Z] + git semver [Pipeline] } [2020-03-04T20:37:21.064Z] $ docker stop --time=1 9c0ee87f5124b2b7422d997285000c71372d17789cc860490708572a82fa9ef5 [2020-03-04T20:37:22.402Z] $ docker rm -f 9c0ee87f5124b2b7422d997285000c71372d17789cc860490708572a82fa9ef5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-04T20:37:23.763Z] Stashed 16 file(s) [Pipeline] echo [2020-03-04T20:37:23.779Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-03-04T20:37:39.077Z] Still waiting to schedule task [2020-03-04T20:37:39.077Z] ‘prd-centos7-docker-4c-2g-2316’ is offline; ‘prd-centos7-docker-4c-2g-2320’ is offline; ‘prd-centos7-docker-4c-2g-563’ is offline [2020-03-04T20:37:39.097Z] Still waiting to schedule task [2020-03-04T20:37:39.097Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2318’ [2020-03-04T20:40:20.234Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2321 in /w/workspace/dgexfoundry_device-rest-go_PR-13 [Pipeline] { [Pipeline] ws [2020-03-04T20:40:20.299Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-03-04T20:40:26.013Z] using credential edgex-jenkins-ssh [2020-03-04T20:40:26.038Z] Cloning the remote Git repository [2020-03-04T20:40:26.038Z] Cloning with configured refspecs honoured and without tags [2020-03-04T20:40:26.065Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-03-04T20:40:26.159Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-03-04T20:40:26.227Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-03-04T20:40:26.228Z] > git --version # timeout=10 [2020-03-04T20:40:26.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T20:40:26.349Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/13/head:refs/remotes/origin/PR-13 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T20:40:28.288Z] Fetching without tags [2020-03-04T20:40:28.779Z] Merging remotes/origin/master commit 51ed22c70609a403673ae47a74ccb46e9796c47b into PR head commit 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc [2020-03-04T20:40:29.130Z] Merge succeeded, producing 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc [2020-03-04T20:40:29.131Z] Checking out Revision 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc (PR-13) [2020-03-04T20:40:28.119Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-03-04T20:40:28.151Z] > git config --add remote.origin.fetch +refs/pull/13/head:refs/remotes/origin/PR-13 # timeout=10 [2020-03-04T20:40:28.181Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T20:40:28.215Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-03-04T20:40:28.268Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-03-04T20:40:28.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T20:40:28.280Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/13/head:refs/remotes/origin/PR-13 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T20:40:28.782Z] > git config core.sparsecheckout # timeout=10 [2020-03-04T20:40:28.827Z] > git checkout -f 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc # timeout=10 [2020-03-04T20:40:28.959Z] > git remote # timeout=10 [2020-03-04T20:40:28.984Z] > git config --get remote.origin.url # timeout=10 [2020-03-04T20:40:29.008Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T20:40:29.026Z] > git merge 51ed22c70609a403673ae47a74ccb46e9796c47b # timeout=10 [2020-03-04T20:40:29.065Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-04T20:40:29.110Z] > git config core.sparsecheckout # timeout=10 [2020-03-04T20:40:29.144Z] > git checkout -f 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc # timeout=10 [2020-03-04T20:40:33.486Z] Running on prd-centos7-docker-4c-2g-2322 in /w/workspace/dgexfoundry_device-rest-go_PR-13 [Pipeline] { [Pipeline] ws [2020-03-04T20:40:33.524Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-03-04T20:40:33.996Z] Commit message: "build: Switch to Go 1.13" [2020-03-04T20:40:34.028Z] > git --version # timeout=10 [2020-03-04T20:40:34.048Z] fatal: bad object be13395f86379d55f5290fa9cfe6e7af12c9a609 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-04T20:40:36.110Z] ========================================================= [2020-03-04T20:40:36.110Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-04T20:40:36.110Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-04T20:40:37.229Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-03-04T20:40:38.202Z] Sending build context to Docker daemon 8.006MB [2020-03-04T20:40:38.202Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-03-04T20:40:38.202Z] Step 2/10 : FROM ${BASE} [2020-03-04T20:40:38.476Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-04T20:40:38.476Z] cde5963f3b93: Pulling fs layer [2020-03-04T20:40:38.476Z] 2a23fa8c16f7: Pulling fs layer [2020-03-04T20:40:38.476Z] 777b28850792: Pulling fs layer [2020-03-04T20:40:38.476Z] 8a11ddd9e578: Pulling fs layer [2020-03-04T20:40:38.476Z] 4cf88f913ddb: Pulling fs layer [2020-03-04T20:40:38.476Z] 1df406cf5192: Pulling fs layer [2020-03-04T20:40:38.476Z] cd6300453558: Pulling fs layer [2020-03-04T20:40:38.476Z] b9c365052c96: Pulling fs layer [2020-03-04T20:40:38.476Z] a2d8cc88f415: Pulling fs layer [2020-03-04T20:40:38.476Z] ea1d1ca13537: Pulling fs layer [2020-03-04T20:40:38.476Z] 3750a50a1c5e: Pulling fs layer [2020-03-04T20:40:38.476Z] 4cf88f913ddb: Waiting [2020-03-04T20:40:38.476Z] 1df406cf5192: Waiting [2020-03-04T20:40:38.476Z] cd6300453558: Waiting [2020-03-04T20:40:38.476Z] b9c365052c96: Waiting [2020-03-04T20:40:38.476Z] a2d8cc88f415: Waiting [2020-03-04T20:40:38.476Z] ea1d1ca13537: Waiting [2020-03-04T20:40:38.476Z] 3750a50a1c5e: Waiting [2020-03-04T20:40:38.476Z] 8a11ddd9e578: Waiting [2020-03-04T20:40:38.476Z] 777b28850792: Verifying Checksum [2020-03-04T20:40:38.476Z] 777b28850792: Download complete [2020-03-04T20:40:38.476Z] 2a23fa8c16f7: Verifying Checksum [2020-03-04T20:40:38.476Z] 2a23fa8c16f7: Download complete [2020-03-04T20:40:38.476Z] 4cf88f913ddb: Verifying Checksum [2020-03-04T20:40:38.476Z] 4cf88f913ddb: Download complete [2020-03-04T20:40:38.476Z] 1df406cf5192: Verifying Checksum [2020-03-04T20:40:38.476Z] 1df406cf5192: Download complete [2020-03-04T20:40:38.747Z] cde5963f3b93: Verifying Checksum [2020-03-04T20:40:38.747Z] cde5963f3b93: Download complete [2020-03-04T20:40:39.052Z] using credential edgex-jenkins-ssh [2020-03-04T20:40:39.072Z] Cloning the remote Git repository [2020-03-04T20:40:39.072Z] Cloning with configured refspecs honoured and without tags [2020-03-04T20:40:39.752Z] cde5963f3b93: Pull complete [2020-03-04T20:40:39.121Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-03-04T20:40:39.166Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-03-04T20:40:39.256Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-03-04T20:40:39.257Z] > git --version # timeout=10 [2020-03-04T20:40:39.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T20:40:39.355Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/13/head:refs/remotes/origin/PR-13 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T20:40:40.348Z] 2a23fa8c16f7: Pull complete [2020-03-04T20:40:40.941Z] 777b28850792: Pull complete [2020-03-04T20:40:42.915Z] cd6300453558: Verifying Checksum [2020-03-04T20:40:42.915Z] cd6300453558: Download complete [2020-03-04T20:40:42.915Z] a2d8cc88f415: Verifying Checksum [2020-03-04T20:40:42.915Z] a2d8cc88f415: Download complete [2020-03-04T20:40:43.430Z] Fetching without tags [2020-03-04T20:40:43.399Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-03-04T20:40:43.407Z] > git config --add remote.origin.fetch +refs/pull/13/head:refs/remotes/origin/PR-13 # timeout=10 [2020-03-04T20:40:43.414Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T20:40:43.424Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-03-04T20:40:43.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-03-04T20:40:43.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T20:40:43.451Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/13/head:refs/remotes/origin/PR-13 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T20:40:43.911Z] Merging remotes/origin/master commit 51ed22c70609a403673ae47a74ccb46e9796c47b into PR head commit 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc [2020-03-04T20:40:44.131Z] Merge succeeded, producing 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc [2020-03-04T20:40:44.132Z] Checking out Revision 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc (PR-13) [2020-03-04T20:40:43.946Z] > git config core.sparsecheckout # timeout=10 [2020-03-04T20:40:43.970Z] > git checkout -f 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc # timeout=10 [2020-03-04T20:40:44.019Z] > git remote # timeout=10 [2020-03-04T20:40:44.025Z] > git config --get remote.origin.url # timeout=10 [2020-03-04T20:40:44.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T20:40:44.037Z] > git merge 51ed22c70609a403673ae47a74ccb46e9796c47b # timeout=10 [2020-03-04T20:40:44.071Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-04T20:40:44.140Z] > git config core.sparsecheckout # timeout=10 [2020-03-04T20:40:44.196Z] > git checkout -f 2cc5958e50c3be256d4eb6c1046acda16aa6f5bc # timeout=10 [2020-03-04T20:40:45.530Z] ea1d1ca13537: Verifying Checksum [2020-03-04T20:40:45.530Z] ea1d1ca13537: Download complete [2020-03-04T20:40:45.530Z] 3750a50a1c5e: Verifying Checksum [2020-03-04T20:40:45.530Z] 3750a50a1c5e: Download complete [2020-03-04T20:40:48.137Z] b9c365052c96: Verifying Checksum [2020-03-04T20:40:48.137Z] b9c365052c96: Download complete [2020-03-04T20:40:49.547Z] 8a11ddd9e578: Verifying Checksum [2020-03-04T20:40:49.547Z] 8a11ddd9e578: Download complete [2020-03-04T20:40:49.610Z] Commit message: "build: Switch to Go 1.13" [2020-03-04T20:40:49.653Z] > git --version # timeout=10 [2020-03-04T20:40:49.674Z] fatal: bad object be13395f86379d55f5290fa9cfe6e7af12c9a609 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-04T20:40:51.525Z] ========================================================= [2020-03-04T20:40:51.525Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-04T20:40:51.525Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-04T20:40:52.599Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-03-04T20:40:52.884Z] Sending build context to Docker daemon 8.006MB [2020-03-04T20:40:52.884Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-03-04T20:40:52.884Z] Step 2/10 : FROM ${BASE} [2020-03-04T20:40:53.181Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-04T20:40:53.181Z] e6b0cf9c0882: Pulling fs layer [2020-03-04T20:40:53.181Z] 2848faf0eed1: Pulling fs layer [2020-03-04T20:40:53.181Z] 0f37312ad70f: Pulling fs layer [2020-03-04T20:40:53.181Z] 5788d62ee057: Pulling fs layer [2020-03-04T20:40:53.181Z] 0e6b1d234666: Pulling fs layer [2020-03-04T20:40:53.181Z] bf5d7aec512f: Pulling fs layer [2020-03-04T20:40:53.181Z] 34c802a77dc8: Pulling fs layer [2020-03-04T20:40:53.181Z] 9eb99e56ec68: Pulling fs layer [2020-03-04T20:40:53.181Z] 27c7a5d97fbd: Pulling fs layer [2020-03-04T20:40:53.181Z] 5788d62ee057: Waiting [2020-03-04T20:40:53.181Z] 0e6b1d234666: Waiting [2020-03-04T20:40:53.181Z] bf5d7aec512f: Waiting [2020-03-04T20:40:53.181Z] 34c802a77dc8: Waiting [2020-03-04T20:40:53.181Z] 9eb99e56ec68: Waiting [2020-03-04T20:40:53.181Z] 27c7a5d97fbd: Waiting [2020-03-04T20:40:53.181Z] 5c102a31e300: Pulling fs layer [2020-03-04T20:40:53.181Z] dcfb455df0a1: Pulling fs layer [2020-03-04T20:40:53.181Z] 5c102a31e300: Waiting [2020-03-04T20:40:53.181Z] dcfb455df0a1: Waiting [2020-03-04T20:40:53.181Z] 0f37312ad70f: Verifying Checksum [2020-03-04T20:40:53.181Z] 0f37312ad70f: Download complete [2020-03-04T20:40:53.484Z] 2848faf0eed1: Download complete [2020-03-04T20:40:53.484Z] 0e6b1d234666: Verifying Checksum [2020-03-04T20:40:53.484Z] 0e6b1d234666: Download complete [2020-03-04T20:40:53.484Z] bf5d7aec512f: Verifying Checksum [2020-03-04T20:40:53.484Z] bf5d7aec512f: Download complete [2020-03-04T20:40:53.811Z] e6b0cf9c0882: Verifying Checksum [2020-03-04T20:40:53.811Z] e6b0cf9c0882: Download complete [2020-03-04T20:40:55.094Z] e6b0cf9c0882: Pull complete [2020-03-04T20:40:55.094Z] 2848faf0eed1: Pull complete [2020-03-04T20:40:55.420Z] 0f37312ad70f: Pull complete [2020-03-04T20:40:56.516Z] 34c802a77dc8: Verifying Checksum [2020-03-04T20:40:56.516Z] 34c802a77dc8: Download complete [2020-03-04T20:40:56.516Z] 27c7a5d97fbd: Verifying Checksum [2020-03-04T20:40:56.516Z] 27c7a5d97fbd: Download complete [2020-03-04T20:40:57.608Z] 5788d62ee057: Download complete [2020-03-04T20:40:57.904Z] dcfb455df0a1: Verifying Checksum [2020-03-04T20:40:57.904Z] dcfb455df0a1: Download complete [2020-03-04T20:40:57.904Z] 5c102a31e300: Verifying Checksum [2020-03-04T20:40:57.904Z] 5c102a31e300: Download complete [2020-03-04T20:40:58.184Z] 9eb99e56ec68: Verifying Checksum [2020-03-04T20:40:58.184Z] 9eb99e56ec68: Download complete [2020-03-04T20:41:01.912Z] 8a11ddd9e578: Pull complete [2020-03-04T20:41:01.912Z] 4cf88f913ddb: Pull complete [2020-03-04T20:41:01.912Z] 1df406cf5192: Pull complete [2020-03-04T20:41:06.199Z] cd6300453558: Pull complete [2020-03-04T20:41:06.386Z] 5788d62ee057: Pull complete [2020-03-04T20:41:06.386Z] 0e6b1d234666: Pull complete [2020-03-04T20:41:06.386Z] bf5d7aec512f: Pull complete [2020-03-04T20:41:11.572Z] b9c365052c96: Pull complete [2020-03-04T20:41:11.573Z] a2d8cc88f415: Pull complete [2020-03-04T20:41:13.008Z] ea1d1ca13537: Pull complete [2020-03-04T20:41:13.113Z] 34c802a77dc8: Pull complete [2020-03-04T20:41:13.595Z] 3750a50a1c5e: Pull complete [2020-03-04T20:41:13.595Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-04T20:41:13.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-04T20:41:13.595Z] ---> 78745c68409d [2020-03-04T20:41:13.595Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-03-04T20:41:17.864Z] ---> Running in 98fd1538abf2 [2020-03-04T20:41:17.864Z] Removing intermediate container 98fd1538abf2 [2020-03-04T20:41:17.864Z] ---> 16fadba53d4c [2020-03-04T20:41:17.864Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-03-04T20:41:18.132Z] ---> Running in c55d59f1574f [2020-03-04T20:41:18.400Z] Removing intermediate container c55d59f1574f [2020-03-04T20:41:18.400Z] ---> f61cd1800a58 [2020-03-04T20:41:18.400Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-04T20:41:18.620Z] 9eb99e56ec68: Pull complete [2020-03-04T20:41:18.620Z] 27c7a5d97fbd: Pull complete [2020-03-04T20:41:18.668Z] ---> Running in 38fa11cc6fba [2020-03-04T20:41:18.934Z] Removing intermediate container 38fa11cc6fba [2020-03-04T20:41:18.934Z] ---> 3a659ad7089b [2020-03-04T20:41:18.934Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-04T20:41:19.202Z] ---> Running in 739ffe755061 [2020-03-04T20:41:20.083Z] 5c102a31e300: Pull complete [2020-03-04T20:41:20.373Z] dcfb455df0a1: Pull complete [2020-03-04T20:41:20.373Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-04T20:41:20.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-04T20:41:20.373Z] ---> 7c70fe431013 [2020-03-04T20:41:20.373Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-03-04T20:41:20.636Z] ---> Running in 45941e282de7 [2020-03-04T20:41:20.636Z] Removing intermediate container 45941e282de7 [2020-03-04T20:41:20.636Z] ---> fa7c76d70487 [2020-03-04T20:41:20.636Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-03-04T20:41:20.899Z] ---> Running in 9f737a1ed549 [2020-03-04T20:41:20.899Z] Removing intermediate container 9f737a1ed549 [2020-03-04T20:41:20.899Z] ---> 9b0a0b298fd9 [2020-03-04T20:41:20.899Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-04T20:41:20.899Z] ---> Running in e63826453c98 [2020-03-04T20:41:21.155Z] Removing intermediate container 739ffe755061 [2020-03-04T20:41:21.155Z] ---> e5d768adb2dd [2020-03-04T20:41:21.155Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-03-04T20:41:21.155Z] ---> Running in 671f2baec6ab [2020-03-04T20:41:21.168Z] Removing intermediate container e63826453c98 [2020-03-04T20:41:21.168Z] ---> a64cadafeda4 [2020-03-04T20:41:21.168Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-04T20:41:21.168Z] ---> Running in d2e1910ebbea [2020-03-04T20:41:22.121Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-04T20:41:23.176Z] Removing intermediate container d2e1910ebbea [2020-03-04T20:41:23.176Z] ---> 6fecfc969a0a [2020-03-04T20:41:23.176Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-03-04T20:41:23.176Z] ---> Running in daf25ab11031 [2020-03-04T20:41:24.069Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-04T20:41:24.283Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-04T20:41:25.023Z] OK: 125 MiB in 39 packages [2020-03-04T20:41:26.442Z] Removing intermediate container 671f2baec6ab [2020-03-04T20:41:26.442Z] ---> 202e9cd2beee [2020-03-04T20:41:26.442Z] Step 8/10 : WORKDIR /device-rest-go [2020-03-04T20:41:26.442Z] ---> Running in 064548cf4bc8 [2020-03-04T20:41:26.479Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-04T20:41:26.711Z] Removing intermediate container 064548cf4bc8 [2020-03-04T20:41:26.711Z] ---> 5f9fd5b6b2d4 [2020-03-04T20:41:26.711Z] Step 9/10 : COPY . . [2020-03-04T20:41:27.676Z] ---> 6893a1e1ac4d [2020-03-04T20:41:27.676Z] Step 10/10 : RUN go mod download [2020-03-04T20:41:27.965Z] ---> Running in 0a16632a47d0 [2020-03-04T20:41:28.433Z] OK: 143 MiB in 39 packages [2020-03-04T20:41:28.705Z] Removing intermediate container daf25ab11031 [2020-03-04T20:41:28.705Z] ---> d91f9e385c63 [2020-03-04T20:41:28.705Z] Step 8/10 : WORKDIR /device-rest-go [2020-03-04T20:41:28.705Z] ---> Running in b17d6c1b0360 [2020-03-04T20:41:28.988Z] Removing intermediate container b17d6c1b0360 [2020-03-04T20:41:28.988Z] ---> 4de9e1ddb0ab [2020-03-04T20:41:28.988Z] Step 9/10 : COPY . . [2020-03-04T20:41:29.593Z] ---> cdf762834231 [2020-03-04T20:41:29.593Z] Step 10/10 : RUN go mod download [2020-03-04T20:41:29.593Z] ---> Running in a7ba661b177a [2020-03-04T20:41:30.559Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-04T20:41:30.559Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-04T20:41:30.559Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-04T20:41:30.559Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-04T20:41:30.559Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-04T20:41:30.825Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-04T20:41:30.825Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-04T20:41:30.825Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-04T20:41:30.825Z] go: finding github.com/edgexfoundry/device-sdk-go v1.1.2 [2020-03-04T20:41:30.825Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-04T20:41:30.825Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-04T20:41:30.825Z] go: finding github.com/fatih/color v1.7.0 [2020-03-04T20:41:30.825Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-04T20:41:30.825Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-04T20:41:30.825Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-04T20:41:30.825Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-04T20:41:30.825Z] go: finding github.com/google/uuid v1.1.0 [2020-03-04T20:41:30.825Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-04T20:41:31.091Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-04T20:41:31.091Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-04T20:41:31.091Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-04T20:41:31.091Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-04T20:41:31.091Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-04T20:41:31.091Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-04T20:41:31.091Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-04T20:41:31.091Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-04T20:41:31.091Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-04T20:41:31.091Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-04T20:41:31.091Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-04T20:41:31.091Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-04T20:41:31.358Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-04T20:41:31.358Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-04T20:41:31.358Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-04T20:41:31.358Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-04T20:41:31.358Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-04T20:41:31.358Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-04T20:41:31.358Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-04T20:41:31.358Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-04T20:41:31.358Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-04T20:41:31.358Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-04T20:41:31.358Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-04T20:41:31.358Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-04T20:41:31.358Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-04T20:41:31.358Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-04T20:41:31.358Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-04T20:41:31.358Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-04T20:41:31.358Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-04T20:41:31.358Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-04T20:41:31.358Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-04T20:41:31.358Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-04T20:41:31.358Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-04T20:41:31.358Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-04T20:41:31.358Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-04T20:41:31.358Z] go: finding github.com/posener/complete v1.1.1 [2020-03-04T20:41:31.626Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-04T20:41:31.626Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-04T20:41:31.626Z] go: finding github.com/spf13/cast v1.3.0 [2020-03-04T20:41:31.626Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-04T20:41:31.626Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-04T20:41:31.626Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-04T20:41:31.626Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-04T20:41:31.626Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-04T20:41:31.626Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-04T20:41:31.626Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-04T20:41:31.626Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-04T20:41:31.626Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-04T20:41:32.240Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-04T20:41:32.240Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-04T20:41:32.240Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-04T20:41:32.240Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-04T20:41:32.240Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-04T20:41:32.240Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-04T20:41:32.240Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-04T20:41:32.240Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-04T20:41:32.240Z] go: finding github.com/edgexfoundry/device-sdk-go v1.1.2 [2020-03-04T20:41:32.240Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-04T20:41:32.240Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-04T20:41:32.240Z] go: finding github.com/fatih/color v1.7.0 [2020-03-04T20:41:32.240Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-04T20:41:32.240Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-04T20:41:32.240Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-04T20:41:32.240Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-04T20:41:32.240Z] go: finding github.com/google/uuid v1.1.0 [2020-03-04T20:41:32.240Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-04T20:41:32.240Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-04T20:41:32.240Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-04T20:41:32.240Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-04T20:41:32.240Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-04T20:41:32.240Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-04T20:41:32.240Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-04T20:41:32.240Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-04T20:41:32.240Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-04T20:41:32.240Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-04T20:41:32.240Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-04T20:41:32.240Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-04T20:41:32.240Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-04T20:41:32.240Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-04T20:41:32.240Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-04T20:41:32.240Z] go: finding github.com/posener/complete v1.1.1 [2020-03-04T20:41:32.240Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-04T20:41:32.240Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-04T20:41:32.514Z] go: finding github.com/spf13/cast v1.3.0 [2020-03-04T20:41:32.514Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-04T20:41:32.514Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-04T20:41:32.514Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-04T20:41:32.514Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-04T20:41:32.514Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-04T20:41:32.514Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-04T20:41:32.514Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-04T20:41:32.514Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-04T20:41:32.514Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-04T20:41:40.889Z] Removing intermediate container a7ba661b177a [2020-03-04T20:41:40.889Z] ---> 8db47a3a5ebd [2020-03-04T20:41:40.889Z] Successfully built 8db47a3a5ebd [2020-03-04T20:41:41.174Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-04T20:41:41.854Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-04T20:41:41.854Z] . [Pipeline] withDockerContainer [2020-03-04T20:41:42.173Z] prd-centos7-docker-4c-2g-2322 does not seem to be running inside a container [2020-03-04T20:41:42.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-04T20:41:43.438Z] $ docker top 719af2ea2d59e8fb1444011abc2026d8c5c7ad4380af81b92d041063a2cbe766 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-04T20:41:45.479Z] + go version [2020-03-04T20:41:45.479Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-04T20:41:45.816Z] + make test [2020-03-04T20:41:45.816Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-04T20:41:47.262Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-03-04T20:41:49.937Z] Removing intermediate container 0a16632a47d0 [2020-03-04T20:41:49.937Z] ---> d24b88fb4b9b [2020-03-04T20:41:49.937Z] Successfully built d24b88fb4b9b [2020-03-04T20:41:49.937Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-04T20:41:50.602Z] + docker inspect -f . ci-base-image-arm64 [2020-03-04T20:41:50.602Z] . [Pipeline] withDockerContainer [2020-03-04T20:41:51.216Z] prd-ubuntu18.04-docker-arm64-4c-16g-2321 does not seem to be running inside a container [2020-03-04T20:41:51.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-04T20:41:52.649Z] $ docker top 9e2a0babd4ea84ac54a63a33130f2e01745fb56eb9c0b84cda511dd693bbe280 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-04T20:41:54.934Z] + go version [2020-03-04T20:41:54.934Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-04T20:41:55.607Z] + make test [2020-03-04T20:41:55.607Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-04T20:41:56.592Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-03-04T20:42:09.582Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-03-04T20:42:10.990Z] ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 56.3% of statements [2020-03-04T20:42:11.269Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-04T20:42:13.945Z] gofmt -l . [2020-03-04T20:42:13.945Z] [ "`gofmt -l .`" = "" ] [2020-03-04T20:42:13.945Z] ./bin/test-go-mod-tidy.sh [2020-03-04T20:42:14.548Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-03-04T20:42:16.397Z] Stashed 1 file(s) [Pipeline] } [2020-03-04T20:42:16.432Z] $ docker stop --time=1 719af2ea2d59e8fb1444011abc2026d8c5c7ad4380af81b92d041063a2cbe766 [2020-03-04T20:42:18.140Z] $ docker rm -f 719af2ea2d59e8fb1444011abc2026d8c5c7ad4380af81b92d041063a2cbe766 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-04T20:42:19.498Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-04T20:42:19.822Z] + ls -al . [2020-03-04T20:42:19.822Z] total 88 [2020-03-04T20:42:19.822Z] drwxrwxr-x. 7 jenkins jenkins 4096 Mar 4 20:42 . [2020-03-04T20:42:19.822Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 4 20:40 .. [2020-03-04T20:42:19.823Z] -rw-rw-r--. 1 jenkins jenkins 4073 Mar 4 20:40 Attribution.txt [2020-03-04T20:42:19.823Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 4 20:40 bin [2020-03-04T20:42:19.823Z] drwxrwxr-x. 3 jenkins jenkins 32 Mar 4 20:40 cmd [2020-03-04T20:42:19.823Z] -rw-r--r--. 1 jenkins jenkins 9369 Mar 4 20:42 coverage.out [2020-03-04T20:42:19.823Z] -rw-rw-r--. 1 jenkins jenkins 1516 Mar 4 20:40 Dockerfile [2020-03-04T20:42:19.823Z] -rw-rw-r--. 1 jenkins jenkins 989 Mar 4 20:40 Dockerfile.build [2020-03-04T20:42:19.823Z] -rw-rw-r--. 1 jenkins jenkins 151 Mar 4 20:40 .dockerignore [2020-03-04T20:42:19.823Z] drwxrwxr-x. 2 jenkins jenkins 93 Mar 4 20:42 driver [2020-03-04T20:42:19.823Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 4 20:40 .git [2020-03-04T20:42:19.823Z] -rw-rw-r--. 1 jenkins jenkins 339 Mar 4 20:40 .gitignore [2020-03-04T20:42:19.823Z] -rw-r--r--. 1 jenkins jenkins 266 Mar 4 20:42 go.mod [2020-03-04T20:42:19.823Z] -rw-r--r--. 1 jenkins jenkins 11494 Mar 4 20:42 go.sum [2020-03-04T20:42:19.823Z] -rw-rw-r--. 1 jenkins jenkins 702 Mar 4 20:40 Jenkinsfile [2020-03-04T20:42:19.823Z] -rw-rw-r--. 1 jenkins jenkins 11340 Mar 4 20:40 LICENSE [2020-03-04T20:42:19.823Z] -rw-rw-r--. 1 jenkins jenkins 951 Mar 4 20:40 Makefile [2020-03-04T20:42:19.823Z] -rw-rw-r--. 1 jenkins jenkins 5716 Mar 4 20:40 README.md [2020-03-04T20:42:19.823Z] drwxrwxr-x. 3 jenkins jenkins 45 Mar 4 20:40 .semver [2020-03-04T20:42:19.823Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 4 20:37 VERSION [2020-03-04T20:42:19.823Z] -rw-rw-r--. 1 jenkins jenkins 713 Mar 4 20:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-04T20:42:20.162Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2cc5958e50c3be256d4eb6c1046acda16aa6f5bc --label arch=amd64 --label version=0.0.0 . [2020-03-04T20:42:20.425Z] Sending build context to Docker daemon 8.017MB [2020-03-04T20:42:20.425Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-03-04T20:42:20.425Z] Step 2/24 : FROM ${BASE} AS builder [2020-03-04T20:42:20.425Z] ---> 8db47a3a5ebd [2020-03-04T20:42:20.425Z] Step 3/24 : ARG MAKE='make build' [2020-03-04T20:42:20.425Z] ---> Running in ed3683e148e7 [2020-03-04T20:42:20.687Z] Removing intermediate container ed3683e148e7 [2020-03-04T20:42:20.687Z] ---> 846ed5e5825f [2020-03-04T20:42:20.687Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-03-04T20:42:20.687Z] ---> Running in b7199f95d89e [2020-03-04T20:42:20.951Z] Removing intermediate container b7199f95d89e [2020-03-04T20:42:20.951Z] ---> 2391b57b76d9 [2020-03-04T20:42:20.951Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-03-04T20:42:20.951Z] ---> Running in 10ec8dcd61d7 [2020-03-04T20:42:21.212Z] Removing intermediate container 10ec8dcd61d7 [2020-03-04T20:42:21.212Z] ---> 09fa6ae1ddc1 [2020-03-04T20:42:21.212Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-04T20:42:21.212Z] ---> Running in 4dce3c245884 [2020-03-04T20:42:22.169Z] Removing intermediate container 4dce3c245884 [2020-03-04T20:42:22.169Z] ---> 3b842c2930b4 [2020-03-04T20:42:22.169Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-03-04T20:42:22.169Z] ---> Running in 6a1246d4e325 [2020-03-04T20:42:22.769Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-04T20:42:24.682Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-04T20:42:26.094Z] OK: 143 MiB in 39 packages [2020-03-04T20:42:26.671Z] Removing intermediate container 6a1246d4e325 [2020-03-04T20:42:26.671Z] ---> 2e87ffe8f7d2 [2020-03-04T20:42:26.671Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-03-04T20:42:26.671Z] ---> Running in 44156967027e [2020-03-04T20:42:26.971Z] Removing intermediate container 44156967027e [2020-03-04T20:42:26.971Z] ---> 116dae494e6d [2020-03-04T20:42:26.971Z] Step 9/24 : COPY go.mod . [2020-03-04T20:42:27.254Z] ---> 6a1f72e04a24 [2020-03-04T20:42:27.254Z] Step 10/24 : COPY Makefile . [2020-03-04T20:42:27.254Z] ---> 31803dfa8c1c [2020-03-04T20:42:27.254Z] Step 11/24 : RUN make update [2020-03-04T20:42:27.519Z] ---> Running in 56d7e602db6b [2020-03-04T20:42:27.811Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-03-04T20:42:28.391Z] Removing intermediate container 56d7e602db6b [2020-03-04T20:42:28.391Z] ---> 629644c9f6a3 [2020-03-04T20:42:28.391Z] Step 12/24 : COPY . . [2020-03-04T20:42:28.671Z] ---> aa72d4193f82 [2020-03-04T20:42:28.671Z] Step 13/24 : RUN $MAKE [2020-03-04T20:42:28.671Z] ---> Running in b796a50edba1 [2020-03-04T20:42:29.702Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-03-04T20:42:35.511Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-03-04T20:42:35.511Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 56.3% of statements [2020-03-04T20:42:35.511Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-04T20:42:42.204Z] gofmt -l . [2020-03-04T20:42:42.204Z] [ "`gofmt -l .`" = "" ] [2020-03-04T20:42:42.204Z] ./bin/test-go-mod-tidy.sh [2020-03-04T20:42:42.472Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-03-04T20:42:43.462Z] Warning: overwriting stash ‘coverage-report’ [2020-03-04T20:42:43.840Z] Stashed 1 file(s) [Pipeline] } [2020-03-04T20:42:43.860Z] $ docker stop --time=1 9e2a0babd4ea84ac54a63a33130f2e01745fb56eb9c0b84cda511dd693bbe280 [2020-03-04T20:42:46.126Z] $ docker rm -f 9e2a0babd4ea84ac54a63a33130f2e01745fb56eb9c0b84cda511dd693bbe280 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-04T20:42:47.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-04T20:42:47.709Z] + ls -al . [2020-03-04T20:42:47.709Z] total 112 [2020-03-04T20:42:47.709Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 4 20:42 . [2020-03-04T20:42:47.709Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 20:40 .. [2020-03-04T20:42:47.709Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 4 20:40 .dockerignore [2020-03-04T20:42:47.709Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 20:40 .git [2020-03-04T20:42:47.709Z] -rw-rw-r-- 1 jenkins jenkins 339 Mar 4 20:40 .gitignore [2020-03-04T20:42:47.709Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 20:40 .semver [2020-03-04T20:42:47.709Z] -rw-rw-r-- 1 jenkins jenkins 4073 Mar 4 20:40 Attribution.txt [2020-03-04T20:42:47.709Z] -rw-rw-r-- 1 jenkins jenkins 1516 Mar 4 20:40 Dockerfile [2020-03-04T20:42:47.709Z] -rw-rw-r-- 1 jenkins jenkins 989 Mar 4 20:40 Dockerfile.build [2020-03-04T20:42:47.709Z] -rw-rw-r-- 1 jenkins jenkins 702 Mar 4 20:40 Jenkinsfile [2020-03-04T20:42:47.709Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 4 20:40 LICENSE [2020-03-04T20:42:47.709Z] -rw-rw-r-- 1 jenkins jenkins 951 Mar 4 20:40 Makefile [2020-03-04T20:42:47.709Z] -rw-rw-r-- 1 jenkins jenkins 5716 Mar 4 20:40 README.md [2020-03-04T20:42:47.709Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 20:37 VERSION [2020-03-04T20:42:47.709Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 20:40 bin [2020-03-04T20:42:47.709Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 20:40 cmd [2020-03-04T20:42:47.709Z] -rw-r--r-- 1 jenkins jenkins 9369 Mar 4 20:42 coverage.out [2020-03-04T20:42:47.709Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 20:42 driver [2020-03-04T20:42:47.709Z] -rw-r--r-- 1 jenkins jenkins 266 Mar 4 20:42 go.mod [2020-03-04T20:42:47.709Z] -rw-r--r-- 1 jenkins jenkins 11494 Mar 4 20:42 go.sum [2020-03-04T20:42:47.709Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 4 20:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-04T20:42:48.072Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2cc5958e50c3be256d4eb6c1046acda16aa6f5bc --label arch=arm64 --label version=0.0.0 . [2020-03-04T20:42:48.656Z] Sending build context to Docker daemon 8.017MB [2020-03-04T20:42:48.656Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-03-04T20:42:48.656Z] Step 2/24 : FROM ${BASE} AS builder [2020-03-04T20:42:48.656Z] ---> d24b88fb4b9b [2020-03-04T20:42:48.656Z] Step 3/24 : ARG MAKE='make build' [2020-03-04T20:42:48.656Z] ---> Running in a709a7bb5932 [2020-03-04T20:42:49.247Z] Removing intermediate container a709a7bb5932 [2020-03-04T20:42:49.247Z] ---> 06178423fa8a [2020-03-04T20:42:49.247Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-03-04T20:42:49.247Z] ---> Running in b49f9f05130b [2020-03-04T20:42:49.517Z] Removing intermediate container b49f9f05130b [2020-03-04T20:42:49.517Z] ---> 8b274bcfa5ed [2020-03-04T20:42:49.517Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-03-04T20:42:49.784Z] ---> Running in 12fd226ffc6d [2020-03-04T20:42:50.051Z] Removing intermediate container 12fd226ffc6d [2020-03-04T20:42:50.051Z] ---> da5dcb71c22b [2020-03-04T20:42:50.051Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-04T20:42:50.318Z] ---> Running in 8e31b1f1a3d0 [2020-03-04T20:42:52.268Z] Removing intermediate container 8e31b1f1a3d0 [2020-03-04T20:42:52.268Z] ---> 99bf58d414ea [2020-03-04T20:42:52.268Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-03-04T20:42:52.268Z] ---> Running in c31d6914173b [2020-03-04T20:42:52.854Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-04T20:42:54.795Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-04T20:42:55.753Z] OK: 125 MiB in 39 packages [2020-03-04T20:42:56.719Z] Removing intermediate container c31d6914173b [2020-03-04T20:42:56.719Z] ---> a3f40a14fc4f [2020-03-04T20:42:56.719Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-03-04T20:42:56.719Z] ---> Running in a74131747ac5 [2020-03-04T20:42:57.006Z] Removing intermediate container a74131747ac5 [2020-03-04T20:42:57.006Z] ---> e13c346a418d [2020-03-04T20:42:57.006Z] Step 9/24 : COPY go.mod . [2020-03-04T20:42:57.592Z] ---> 2871d168033f [2020-03-04T20:42:57.592Z] Step 10/24 : COPY Makefile . [2020-03-04T20:42:58.180Z] ---> 7dceb4cdc3f5 [2020-03-04T20:42:58.181Z] Step 11/24 : RUN make update [2020-03-04T20:42:58.181Z] ---> Running in 401d3a9bb614 [2020-03-04T20:42:59.146Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-03-04T20:43:00.558Z] Removing intermediate container 401d3a9bb614 [2020-03-04T20:43:00.558Z] ---> 5c25d05a2038 [2020-03-04T20:43:00.558Z] Step 12/24 : COPY . . [2020-03-04T20:43:01.142Z] ---> 4c77701f089f [2020-03-04T20:43:01.142Z] Step 13/24 : RUN $MAKE [2020-03-04T20:43:01.412Z] ---> Running in 62e543912984 [2020-03-04T20:43:02.376Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-03-04T20:43:02.508Z] Removing intermediate container b796a50edba1 [2020-03-04T20:43:02.508Z] ---> 62acbeed039b [2020-03-04T20:43:02.508Z] Step 14/24 : FROM alpine:latest [2020-03-04T20:43:02.508Z] latest: Pulling from library/alpine [2020-03-04T20:43:02.508Z] c9b1b535fdd9: Pulling fs layer [2020-03-04T20:43:02.508Z] c9b1b535fdd9: Verifying Checksum [2020-03-04T20:43:02.508Z] c9b1b535fdd9: Download complete [2020-03-04T20:43:02.508Z] c9b1b535fdd9: Pull complete [2020-03-04T20:43:02.508Z] Digest: sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d [2020-03-04T20:43:02.508Z] Status: Downloaded newer image for alpine:latest [2020-03-04T20:43:02.508Z] ---> e7d92cdc71fe [2020-03-04T20:43:02.508Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-04T20:43:02.508Z] ---> Running in d7440a0fe2d3 [2020-03-04T20:43:02.508Z] Removing intermediate container d7440a0fe2d3 [2020-03-04T20:43:02.508Z] ---> 2e7ffeb2adb1 [2020-03-04T20:43:02.508Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-03-04T20:43:02.508Z] ---> Running in fe0f2587168c [2020-03-04T20:43:02.508Z] Removing intermediate container fe0f2587168c [2020-03-04T20:43:02.508Z] ---> 5f0223801d0e [2020-03-04T20:43:02.508Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-03-04T20:43:02.508Z] ---> 7ba204e5266c [2020-03-04T20:43:02.508Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-03-04T20:43:02.508Z] ---> 779d22cbebbb [2020-03-04T20:43:02.508Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-03-04T20:43:02.508Z] ---> f4eadb580479 [2020-03-04T20:43:02.508Z] Step 20/24 : EXPOSE 49986 [2020-03-04T20:43:02.508Z] ---> Running in 8db256ae47fd [2020-03-04T20:43:02.508Z] Removing intermediate container 8db256ae47fd [2020-03-04T20:43:02.508Z] ---> fa33cb94ad62 [2020-03-04T20:43:02.508Z] Step 21/24 : CMD ["/device-rest-go","--registry=consul://edgex-core-consul:8500","--profile=docker","--confdir=/res"] [2020-03-04T20:43:02.508Z] ---> Running in 2b0d53390203 [2020-03-04T20:43:02.508Z] Removing intermediate container 2b0d53390203 [2020-03-04T20:43:02.508Z] ---> 11d990851b49 [2020-03-04T20:43:02.508Z] Step 22/24 : LABEL arch=amd64 [2020-03-04T20:43:02.508Z] ---> Running in 524402590ab8 [2020-03-04T20:43:02.508Z] Removing intermediate container 524402590ab8 [2020-03-04T20:43:02.508Z] ---> 09a7f93c91d6 [2020-03-04T20:43:02.508Z] Step 23/24 : LABEL git_sha=2cc5958e50c3be256d4eb6c1046acda16aa6f5bc [2020-03-04T20:43:02.508Z] ---> Running in d9b2bddb8b38 [2020-03-04T20:43:02.508Z] Removing intermediate container d9b2bddb8b38 [2020-03-04T20:43:02.508Z] ---> 7a855c0d7acf [2020-03-04T20:43:02.508Z] Step 24/24 : LABEL version=0.0.0 [2020-03-04T20:43:02.508Z] ---> Running in d2d312ce2e23 [2020-03-04T20:43:02.508Z] Removing intermediate container d2d312ce2e23 [2020-03-04T20:43:02.508Z] ---> 3028426ecc22 [2020-03-04T20:43:02.508Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-04T20:43:02.508Z] Successfully built 3028426ecc22 [2020-03-04T20:43:02.508Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-04T20:43:41.314Z] Removing intermediate container 62e543912984 [2020-03-04T20:43:41.314Z] ---> b388e44538b0 [2020-03-04T20:43:41.314Z] Step 14/24 : FROM alpine:latest [2020-03-04T20:43:41.314Z] latest: Pulling from library/alpine [2020-03-04T20:43:41.314Z] 8fa90b21c985: Pulling fs layer [2020-03-04T20:43:41.314Z] 8fa90b21c985: Verifying Checksum [2020-03-04T20:43:41.314Z] 8fa90b21c985: Download complete [2020-03-04T20:43:41.314Z] 8fa90b21c985: Pull complete [2020-03-04T20:43:41.314Z] Digest: sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d [2020-03-04T20:43:41.314Z] Status: Downloaded newer image for alpine:latest [2020-03-04T20:43:41.314Z] ---> 6e4716cdcf7a [2020-03-04T20:43:41.314Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-04T20:43:41.314Z] ---> Running in 5f04ef9ec0b5 [2020-03-04T20:43:41.314Z] Removing intermediate container 5f04ef9ec0b5 [2020-03-04T20:43:41.314Z] ---> 6441161ae1f8 [2020-03-04T20:43:41.314Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-03-04T20:43:41.314Z] ---> Running in 8ff695ba7847 [2020-03-04T20:43:41.579Z] Removing intermediate container 8ff695ba7847 [2020-03-04T20:43:41.579Z] ---> 6b25823d4a85 [2020-03-04T20:43:41.579Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-03-04T20:43:42.172Z] ---> 3d48bf867595 [2020-03-04T20:43:42.172Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-03-04T20:43:42.758Z] ---> a94ba202fece [2020-03-04T20:43:42.758Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-03-04T20:43:44.171Z] ---> f24549c63af1 [2020-03-04T20:43:44.171Z] Step 20/24 : EXPOSE 49986 [2020-03-04T20:43:44.171Z] ---> Running in 61904d3b511d [2020-03-04T20:43:44.442Z] Removing intermediate container 61904d3b511d [2020-03-04T20:43:44.442Z] ---> 144d55776120 [2020-03-04T20:43:44.442Z] Step 21/24 : CMD ["/device-rest-go","--registry=consul://edgex-core-consul:8500","--profile=docker","--confdir=/res"] [2020-03-04T20:43:44.442Z] ---> Running in 732939fcb6da [2020-03-04T20:43:45.026Z] Removing intermediate container 732939fcb6da [2020-03-04T20:43:45.026Z] ---> 7d2e876c1b54 [2020-03-04T20:43:45.026Z] Step 22/24 : LABEL arch=arm64 [2020-03-04T20:43:45.026Z] ---> Running in 740f4d70a3d7 [2020-03-04T20:43:45.294Z] Removing intermediate container 740f4d70a3d7 [2020-03-04T20:43:45.294Z] ---> d2a54ea973d6 [2020-03-04T20:43:45.294Z] Step 23/24 : LABEL git_sha=2cc5958e50c3be256d4eb6c1046acda16aa6f5bc [2020-03-04T20:43:45.561Z] ---> Running in cdb72773b762 [2020-03-04T20:43:45.829Z] Removing intermediate container cdb72773b762 [2020-03-04T20:43:45.829Z] ---> a7c941ec754b [2020-03-04T20:43:45.829Z] Step 24/24 : LABEL version=0.0.0 [2020-03-04T20:43:45.829Z] ---> Running in e061d01e28e2 [2020-03-04T20:43:46.100Z] Removing intermediate container e061d01e28e2 [2020-03-04T20:43:46.100Z] ---> c5c01ae75526 [2020-03-04T20:43:46.100Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-04T20:43:46.100Z] Successfully built c5c01ae75526 [2020-03-04T20:43:46.367Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-03-04T20:43:47.340Z] provisioning config files... [2020-03-04T20:43:47.355Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-13@tmp/config8765291905437476367tmp [Pipeline] { [Pipeline] sh [2020-03-04T20:43:47.698Z] + curl -s https://codecov.io/bash [2020-03-04T20:43:47.698Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-13@tmp/config8765291905437476367tmp [2020-03-04T20:43:47.959Z] [2020-03-04T20:43:47.959Z] _____ _ [2020-03-04T20:43:47.959Z] / ____| | | [2020-03-04T20:43:47.959Z] | | ___ __| | ___ ___ _____ __ [2020-03-04T20:43:47.959Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-04T20:43:47.959Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-04T20:43:47.959Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-04T20:43:47.959Z] Bash-20200303-bc4d7e6 [2020-03-04T20:43:47.959Z] [2020-03-04T20:43:47.959Z] [2020-03-04T20:43:47.959Z] ==> Jenkins CI detected. [2020-03-04T20:43:47.959Z] project root: . [2020-03-04T20:43:47.959Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-04T20:43:47.959Z] ==> Running gcov in . (disable via -X gcov) [2020-03-04T20:43:47.959Z] ==> Python coveragepy not found [2020-03-04T20:43:47.959Z] ==> Searching for coverage reports in: [2020-03-04T20:43:47.959Z] + . [2020-03-04T20:43:47.959Z] -> Found 1 reports [2020-03-04T20:43:47.959Z] ==> Detecting git/mercurial file structure [2020-03-04T20:43:47.959Z] ==> Reading reports [2020-03-04T20:43:47.959Z] + ./coverage.out bytes=9369 [2020-03-04T20:43:47.959Z] ==> Appending adjustments [2020-03-04T20:43:47.959Z] http://docs.codecov.io/docs/fixing-reports [2020-03-04T20:43:47.959Z] + Found adjustments [2020-03-04T20:43:47.959Z] ==> Gzipping contents [2020-03-04T20:43:47.959Z] ==> Uploading reports [2020-03-04T20:43:47.959Z] url: https://codecov.io [2020-03-04T20:43:47.959Z] query: branch=PR-13&commit=2cc5958e50c3be256d4eb6c1046acda16aa6f5bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-13%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=13&job= [2020-03-04T20:43:47.959Z] -> Pinging Codecov [2020-03-04T20:43:47.959Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-13&commit=2cc5958e50c3be256d4eb6c1046acda16aa6f5bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-13%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=13&job= [2020-03-04T20:43:48.529Z] -> Uploading [2020-03-04T20:43:49.099Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2cc5958e50c3be256d4eb6c1046acda16aa6f5bc [Pipeline] } [2020-03-04T20:43:49.121Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-03-04T20:43:50.353Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-04T20:43:50.711Z] ---> package-listing.sh [2020-03-04T20:43:50.711Z] ++ facter osfamily [2020-03-04T20:43:50.711Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-04T20:43:50.711Z] + OS_FAMILY=redhat [2020-03-04T20:43:50.711Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-13 [2020-03-04T20:43:50.711Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-04T20:43:50.711Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-04T20:43:50.711Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-04T20:43:50.711Z] + PACKAGES=/tmp/packages_start.txt [2020-03-04T20:43:50.711Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-13 ']' [2020-03-04T20:43:50.711Z] + PACKAGES=/tmp/packages_end.txt [2020-03-04T20:43:50.711Z] + case "${OS_FAMILY}" in [2020-03-04T20:43:50.711Z] + rpm -qa [2020-03-04T20:43:50.711Z] + sort [2020-03-04T20:43:54.906Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-04T20:43:54.906Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-04T20:43:54.906Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-04T20:43:54.906Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-13 ']' [2020-03-04T20:43:54.906Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-13/archives/ [2020-03-04T20:43:54.906Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-13/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-04T20:43:55.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-04T20:43:55.397Z] [2020-03-04T20:43:55.397Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-04T20:43:55.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-04T20:43:55.746Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-04T20:43:55.746Z] c9b1b535fdd9: Pulling fs layer [2020-03-04T20:43:55.746Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-04T20:43:55.746Z] 756a868c4378: Pulling fs layer [2020-03-04T20:43:55.746Z] 444b2fc9a129: Pulling fs layer [2020-03-04T20:43:55.746Z] ea15f1150254: Pulling fs layer [2020-03-04T20:43:55.746Z] 00618671c354: Pulling fs layer [2020-03-04T20:43:55.746Z] d9479acb82c8: Pulling fs layer [2020-03-04T20:43:55.746Z] f1b84d85c2e2: Pulling fs layer [2020-03-04T20:43:55.746Z] 391a11a28a13: Pulling fs layer [2020-03-04T20:43:55.746Z] fa8e2b892eb3: Pulling fs layer [2020-03-04T20:43:55.746Z] 444b2fc9a129: Waiting [2020-03-04T20:43:55.746Z] ea15f1150254: Waiting [2020-03-04T20:43:55.746Z] d9479acb82c8: Waiting [2020-03-04T20:43:55.746Z] f1b84d85c2e2: Waiting [2020-03-04T20:43:55.746Z] 391a11a28a13: Waiting [2020-03-04T20:43:55.746Z] 00618671c354: Waiting [2020-03-04T20:43:55.746Z] fa8e2b892eb3: Waiting [2020-03-04T20:43:55.746Z] 2cc5ad85d9ab: Download complete [2020-03-04T20:43:55.746Z] 444b2fc9a129: Verifying Checksum [2020-03-04T20:43:55.746Z] 444b2fc9a129: Download complete [2020-03-04T20:43:55.746Z] c9b1b535fdd9: Verifying Checksum [2020-03-04T20:43:55.746Z] c9b1b535fdd9: Download complete [2020-03-04T20:43:55.746Z] ea15f1150254: Download complete [2020-03-04T20:43:55.746Z] d9479acb82c8: Verifying Checksum [2020-03-04T20:43:55.746Z] d9479acb82c8: Download complete [2020-03-04T20:43:56.319Z] 756a868c4378: Verifying Checksum [2020-03-04T20:43:56.319Z] 756a868c4378: Download complete [2020-03-04T20:43:56.319Z] c9b1b535fdd9: Pull complete [2020-03-04T20:43:56.319Z] 391a11a28a13: Verifying Checksum [2020-03-04T20:43:56.319Z] 391a11a28a13: Download complete [2020-03-04T20:43:56.319Z] fa8e2b892eb3: Verifying Checksum [2020-03-04T20:43:56.319Z] fa8e2b892eb3: Download complete [2020-03-04T20:43:56.319Z] 2cc5ad85d9ab: Pull complete [2020-03-04T20:43:56.319Z] f1b84d85c2e2: Verifying Checksum [2020-03-04T20:43:56.319Z] f1b84d85c2e2: Download complete [2020-03-04T20:43:56.904Z] 00618671c354: Verifying Checksum [2020-03-04T20:43:56.904Z] 00618671c354: Download complete [2020-03-04T20:43:58.818Z] 756a868c4378: Pull complete [2020-03-04T20:43:58.818Z] 444b2fc9a129: Pull complete [2020-03-04T20:43:59.078Z] ea15f1150254: Pull complete [2020-03-04T20:44:02.390Z] 00618671c354: Pull complete [2020-03-04T20:44:02.649Z] d9479acb82c8: Pull complete [2020-03-04T20:44:05.185Z] f1b84d85c2e2: Pull complete [2020-03-04T20:44:05.185Z] 391a11a28a13: Pull complete [2020-03-04T20:44:05.185Z] fa8e2b892eb3: Pull complete [2020-03-04T20:44:05.185Z] Digest: sha256:5bb339bb7a0ba14d6edc6a1a45a69439bce21292506a8eca4128b46a77270878 [2020-03-04T20:44:05.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-04T20:44:05.374Z] prd-centos7-docker-4c-2g-2319 does not seem to be running inside a container [2020-03-04T20:44:05.418Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-rest-go_PR-13 -v /w/workspace/dgexfoundry_device-rest-go_PR-13:/w/workspace/dgexfoundry_device-rest-go_PR-13:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-13@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-04T20:44:06.484Z] $ docker top 3f69833dc7835f34d0640b386d6fa5e0974118b0d81fe91ba99829bd1f65e0b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-04T20:44:07.122Z] provisioning config files... [2020-03-04T20:44:07.135Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-13@tmp/config2514055471038794535tmp [Pipeline] { [Pipeline] echo [2020-03-04T20:44:07.179Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-04T20:44:07.519Z] ---> create-netrc.sh [Pipeline] echo [2020-03-04T20:44:07.546Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-04T20:44:07.873Z] ---> logs-deploy.sh [2020-03-04T20:44:07.873Z] + ARCHIVE_ARTIFACTS= [2020-03-04T20:44:07.873Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-04T20:44:07.873Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-04T20:44:07.873Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-04T20:44:07.873Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-13/1 [2020-03-04T20:44:07.873Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-13/1/ [2020-03-04T20:44:07.873Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-13/1 /w/workspace/dgexfoundry_device-rest-go_PR-13 [2020-03-04T20:44:09.252Z] Archives upload complete. [2020-03-04T20:44:09.252Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-13/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-13/1/ [2020-03-04T20:44:09.821Z] ---> uname -a: [2020-03-04T20:44:09.821Z] Linux 3f69833dc783 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-03-04T20:44:09.821Z] [2020-03-04T20:44:09.821Z] [2020-03-04T20:44:09.821Z] ---> lscpu: [2020-03-04T20:44:09.821Z] Architecture: x86_64 [2020-03-04T20:44:09.821Z] CPU op-mode(s): 32-bit, 64-bit [2020-03-04T20:44:09.821Z] Byte Order: Little Endian [2020-03-04T20:44:09.821Z] Address sizes: 40 bits physical, 48 bits virtual [2020-03-04T20:44:09.821Z] CPU(s): 4 [2020-03-04T20:44:09.821Z] On-line CPU(s) list: 0-3 [2020-03-04T20:44:09.821Z] Thread(s) per core: 1 [2020-03-04T20:44:09.821Z] Core(s) per socket: 1 [2020-03-04T20:44:09.821Z] Socket(s): 4 [2020-03-04T20:44:09.821Z] NUMA node(s): 1 [2020-03-04T20:44:09.821Z] Vendor ID: GenuineIntel [2020-03-04T20:44:09.821Z] CPU family: 6 [2020-03-04T20:44:09.821Z] Model: 44 [2020-03-04T20:44:09.821Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-03-04T20:44:09.821Z] Stepping: 1 [2020-03-04T20:44:09.821Z] CPU MHz: 2933.396 [2020-03-04T20:44:09.821Z] BogoMIPS: 5866.79 [2020-03-04T20:44:09.821Z] Virtualization: VT-x [2020-03-04T20:44:09.821Z] Hypervisor vendor: KVM [2020-03-04T20:44:09.821Z] Virtualization type: full [2020-03-04T20:44:09.821Z] L1d cache: 128 KiB [2020-03-04T20:44:09.821Z] L1i cache: 128 KiB [2020-03-04T20:44:09.821Z] L2 cache: 16 MiB [2020-03-04T20:44:09.821Z] L3 cache: 64 MiB [2020-03-04T20:44:09.821Z] NUMA node0 CPU(s): 0-3 [2020-03-04T20:44:09.821Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-03-04T20:44:09.821Z] Vulnerability Meltdown: Mitigation; PTI [2020-03-04T20:44:09.821Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-03-04T20:44:09.821Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-03-04T20:44:09.821Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-03-04T20:44:09.821Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-03-04T20:44:09.821Z] [2020-03-04T20:44:09.821Z] [2020-03-04T20:44:09.821Z] ---> nproc: [2020-03-04T20:44:09.821Z] 4 [2020-03-04T20:44:09.821Z] [2020-03-04T20:44:09.821Z]