Pull request #474 updated 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ba8289aa9629818f165b70e536d42d30d23f077d+1bb097ad4365b735bfef0648a55752ad7a9b68a1 (dfb192fa64f4acfbf7b9b4f1a25120a58d2114aa) Running in Durability level: PERFORMANCE_OPTIMIZED 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false 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-3287 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-474 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 Fetching without tags using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # 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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit ba8289aa9629818f165b70e536d42d30d23f077d Merge succeeded, producing ba8289aa9629818f165b70e536d42d30d23f077d Checking out Revision ba8289aa9629818f165b70e536d42d30d23f077d (PR-474) > git config core.sparsecheckout # timeout=10 > git checkout -f ba8289aa9629818f165b70e536d42d30d23f077d # 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 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba8289aa9629818f165b70e536d42d30d23f077d # timeout=10 Commit message: "Add new fields on Reading" First time build. Skipping changelog. > git rev-list --no-walk a481818750020c73f64251465ca54d03c6560458 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-10T16:17:18.860Z] 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-04-10T16:17:21.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:17:21.847Z] [2020-04-10T16:17:21.847Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:17:22.408Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:17:22.786Z] latest: Pulling from edgex-devops/git-semver [2020-04-10T16:17:22.786Z] 9123ac7c32f7: Pulling fs layer [2020-04-10T16:17:22.786Z] b8cc5d1170e3: Pulling fs layer [2020-04-10T16:17:22.786Z] 2924cbbf6a41: Pulling fs layer [2020-04-10T16:17:22.786Z] 93b08a4f1073: Pulling fs layer [2020-04-10T16:17:22.786Z] 93b08a4f1073: Waiting [2020-04-10T16:17:22.786Z] b8cc5d1170e3: Verifying Checksum [2020-04-10T16:17:22.786Z] b8cc5d1170e3: Download complete [2020-04-10T16:17:23.138Z] 2924cbbf6a41: Download complete [2020-04-10T16:17:23.138Z] 9123ac7c32f7: Verifying Checksum [2020-04-10T16:17:23.138Z] 9123ac7c32f7: Download complete [2020-04-10T16:17:23.138Z] 93b08a4f1073: Verifying Checksum [2020-04-10T16:17:23.138Z] 93b08a4f1073: Download complete [2020-04-10T16:17:23.404Z] 9123ac7c32f7: Pull complete [2020-04-10T16:17:23.404Z] b8cc5d1170e3: Pull complete [2020-04-10T16:17:24.384Z] 2924cbbf6a41: Pull complete [2020-04-10T16:17:24.651Z] 93b08a4f1073: Pull complete [2020-04-10T16:17:24.651Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-10T16:17:24.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-10T16:17:24.999Z] prd-centos7-docker-4c-2g-3287 does not seem to be running inside a container [2020-04-10T16:17:25.069Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-474 -v /w/workspace/dgexfoundry_device-sdk-go_PR-474:/w/workspace/dgexfoundry_device-sdk-go_PR-474:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-474@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-10T16:17:26.046Z] $ docker top 5d548da730a90fd9f50f7cd1c642aeb9a4735e304b36a2bfc91a710ce56afc19 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T16:17:26.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:17:26.345Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:17:26.836Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:17:26.840Z] $ docker exec 5d548da730a90fd9f50f7cd1c642aeb9a4735e304b36a2bfc91a710ce56afc19 ssh-agent [2020-04-10T16:17:27.349Z] SSH_AUTH_SOCK=/tmp/ssh-dBsehllrSTh7/agent.14 [2020-04-10T16:17:27.349Z] SSH_AGENT_PID=21 [2020-04-10T16:17:27.366Z] Running ssh-add (command line suppressed) [2020-04-10T16:17:27.722Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_799590417377520909.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_799590417377520909.key) [2020-04-10T16:17:27.906Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:17:28.624Z] + git describe --exact-match --tags HEAD [2020-04-10T16:17:28.624Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-10T16:17:28.713Z] $ docker exec --env ******** --env ******** 5d548da730a90fd9f50f7cd1c642aeb9a4735e304b36a2bfc91a710ce56afc19 ssh-agent -k [2020-04-10T16:17:29.093Z] unset SSH_AUTH_SOCK; [2020-04-10T16:17:29.094Z] unset SSH_AGENT_PID; [2020-04-10T16:17:29.094Z] echo Agent pid 21 killed; [2020-04-10T16:17:29.158Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-10T16:17:29.240Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-10T16:17:29.240Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-10T16:17:29.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:17:29.313Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:17:29.761Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:17:29.767Z] $ docker exec 5d548da730a90fd9f50f7cd1c642aeb9a4735e304b36a2bfc91a710ce56afc19 ssh-agent [2020-04-10T16:17:30.576Z] SSH_AUTH_SOCK=/tmp/ssh-fNyNfVBDeAIA/agent.56 [2020-04-10T16:17:30.576Z] SSH_AGENT_PID=62 [2020-04-10T16:17:30.594Z] Running ssh-add (command line suppressed) [2020-04-10T16:17:30.936Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_7665286220391308974.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_7665286220391308974.key) [2020-04-10T16:17:31.061Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:17:31.438Z] + git semver init [2020-04-10T16:17:31.710Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T16:17:31.710Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.git [2020-04-10T16:17:31.710Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-474 [2020-04-10T16:17:31.710Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T16:17:31.710Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T16:17:31.710Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T16:17:31.710Z] # $SEMVER_BRANCH = PR-474 [2020-04-10T16:17:31.710Z] # $SEMVER_TEMP = /tmp/semver-300823320 [2020-04-10T16:17:31.710Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-10T16:17:32.304Z] # '/tmp/semver-300823320' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver' [2020-04-10T16:17:32.304Z] # -> Force: false [2020-04-10T16:17:32.304Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver [Pipeline] } [2020-04-10T16:17:32.323Z] $ docker exec --env ******** --env ******** 5d548da730a90fd9f50f7cd1c642aeb9a4735e304b36a2bfc91a710ce56afc19 ssh-agent -k [2020-04-10T16:17:32.655Z] unset SSH_AUTH_SOCK; [2020-04-10T16:17:32.658Z] unset SSH_AGENT_PID; [2020-04-10T16:17:32.658Z] echo Agent pid 62 killed; [2020-04-10T16:17:32.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T16:17:33.615Z] + git semver [Pipeline] } [2020-04-10T16:17:33.953Z] $ docker stop --time=1 5d548da730a90fd9f50f7cd1c642aeb9a4735e304b36a2bfc91a710ce56afc19 [2020-04-10T16:17:36.418Z] $ docker rm -f 5d548da730a90fd9f50f7cd1c642aeb9a4735e304b36a2bfc91a710ce56afc19 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-10T16:17:38.159Z] Stashed 40 file(s) [Pipeline] echo [2020-04-10T16:17:38.161Z] [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-04-10T16:17:53.382Z] Still waiting to schedule task [2020-04-10T16:17:53.382Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-10T16:17:53.384Z] Still waiting to schedule task [2020-04-10T16:17:53.384Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-10T16:19:07.286Z] Running on prd-centos7-docker-4c-2g-3289 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws [2020-04-10T16:19:07.329Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-04-10T16:19:09.455Z] using credential edgex-jenkins-ssh [2020-04-10T16:19:09.499Z] Cloning the remote Git repository [2020-04-10T16:19:09.499Z] Cloning with configured refspecs honoured and without tags [2020-04-10T16:19:09.344Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:19:09.383Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-04-10T16:19:10.271Z] Fetching without tags [2020-04-10T16:19:09.434Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:19:09.435Z] > git --version # timeout=10 [2020-04-10T16:19:09.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:19:09.473Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:19:10.114Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:19:10.123Z] > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 [2020-04-10T16:19:10.130Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:19:10.144Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:19:10.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:19:10.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:19:10.161Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:19:10.655Z] Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit ba8289aa9629818f165b70e536d42d30d23f077d [2020-04-10T16:19:10.755Z] Merge succeeded, producing ba8289aa9629818f165b70e536d42d30d23f077d [2020-04-10T16:19:10.755Z] Checking out Revision ba8289aa9629818f165b70e536d42d30d23f077d (PR-474) [2020-04-10T16:19:10.577Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:19:10.584Z] > git checkout -f ba8289aa9629818f165b70e536d42d30d23f077d # timeout=10 [2020-04-10T16:19:10.640Z] > git remote # timeout=10 [2020-04-10T16:19:10.646Z] > git config --get remote.origin.url # timeout=10 [2020-04-10T16:19:10.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:19:10.658Z] > git merge 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 [2020-04-10T16:19:10.667Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-10T16:19:10.679Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:19:10.685Z] > git checkout -f ba8289aa9629818f165b70e536d42d30d23f077d # timeout=10 [2020-04-10T16:19:14.513Z] Commit message: "Add new fields on Reading" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T16:19:15.476Z] ========================================================= [2020-04-10T16:19:15.477Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-10T16:19:15.477Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:19:16.189Z] + 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-04-10T16:19:16.189Z] Sending build context to Docker daemon 2.865MB [2020-04-10T16:19:16.189Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-10T16:19:16.189Z] Step 2/8 : FROM ${BASE} [2020-04-10T16:19:16.452Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-10T16:19:16.452Z] e6b0cf9c0882: Pulling fs layer [2020-04-10T16:19:16.452Z] 2848faf0eed1: Pulling fs layer [2020-04-10T16:19:16.452Z] 0f37312ad70f: Pulling fs layer [2020-04-10T16:19:16.452Z] 5788d62ee057: Pulling fs layer [2020-04-10T16:19:16.452Z] 0e6b1d234666: Pulling fs layer [2020-04-10T16:19:16.452Z] bf5d7aec512f: Pulling fs layer [2020-04-10T16:19:16.452Z] 34c802a77dc8: Pulling fs layer [2020-04-10T16:19:16.452Z] 9eb99e56ec68: Pulling fs layer [2020-04-10T16:19:16.452Z] 27c7a5d97fbd: Pulling fs layer [2020-04-10T16:19:16.452Z] 5c102a31e300: Pulling fs layer [2020-04-10T16:19:16.452Z] dcfb455df0a1: Pulling fs layer [2020-04-10T16:19:16.452Z] 34c802a77dc8: Waiting [2020-04-10T16:19:16.452Z] 9eb99e56ec68: Waiting [2020-04-10T16:19:16.452Z] 27c7a5d97fbd: Waiting [2020-04-10T16:19:16.452Z] 5c102a31e300: Waiting [2020-04-10T16:19:16.452Z] dcfb455df0a1: Waiting [2020-04-10T16:19:16.452Z] 5788d62ee057: Waiting [2020-04-10T16:19:16.452Z] 0e6b1d234666: Waiting [2020-04-10T16:19:16.452Z] bf5d7aec512f: Waiting [2020-04-10T16:19:16.452Z] 0f37312ad70f: Verifying Checksum [2020-04-10T16:19:16.452Z] 0f37312ad70f: Download complete [2020-04-10T16:19:16.452Z] 2848faf0eed1: Verifying Checksum [2020-04-10T16:19:16.452Z] 2848faf0eed1: Download complete [2020-04-10T16:19:16.452Z] 0e6b1d234666: Verifying Checksum [2020-04-10T16:19:16.452Z] 0e6b1d234666: Download complete [2020-04-10T16:19:16.452Z] bf5d7aec512f: Verifying Checksum [2020-04-10T16:19:16.452Z] bf5d7aec512f: Download complete [2020-04-10T16:19:16.452Z] e6b0cf9c0882: Verifying Checksum [2020-04-10T16:19:16.452Z] e6b0cf9c0882: Download complete [2020-04-10T16:19:16.721Z] e6b0cf9c0882: Pull complete [2020-04-10T16:19:16.994Z] 2848faf0eed1: Pull complete [2020-04-10T16:19:17.268Z] 34c802a77dc8: Verifying Checksum [2020-04-10T16:19:17.268Z] 34c802a77dc8: Download complete [2020-04-10T16:19:17.268Z] 27c7a5d97fbd: Verifying Checksum [2020-04-10T16:19:17.268Z] 27c7a5d97fbd: Download complete [2020-04-10T16:19:17.843Z] 5c102a31e300: Verifying Checksum [2020-04-10T16:19:17.843Z] 5c102a31e300: Download complete [2020-04-10T16:19:17.843Z] dcfb455df0a1: Verifying Checksum [2020-04-10T16:19:17.843Z] dcfb455df0a1: Download complete [2020-04-10T16:19:18.102Z] 5788d62ee057: Verifying Checksum [2020-04-10T16:19:18.102Z] 5788d62ee057: Download complete [2020-04-10T16:19:18.102Z] 9eb99e56ec68: Verifying Checksum [2020-04-10T16:19:19.481Z] 0f37312ad70f: Pull complete [2020-04-10T16:19:24.769Z] 5788d62ee057: Pull complete [2020-04-10T16:19:24.769Z] 0e6b1d234666: Pull complete [2020-04-10T16:19:25.029Z] bf5d7aec512f: Pull complete [2020-04-10T16:19:30.310Z] 34c802a77dc8: Pull complete [2020-04-10T16:19:33.608Z] 9eb99e56ec68: Pull complete [2020-04-10T16:19:33.608Z] 27c7a5d97fbd: Pull complete [2020-04-10T16:19:34.177Z] 5c102a31e300: Pull complete [2020-04-10T16:19:34.446Z] dcfb455df0a1: Pull complete [2020-04-10T16:19:34.446Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-10T16:19:34.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-10T16:19:34.446Z] ---> 7c70fe431013 [2020-04-10T16:19:34.446Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:19:34.705Z] ---> Running in 8a327996ba84 [2020-04-10T16:19:34.705Z] Removing intermediate container 8a327996ba84 [2020-04-10T16:19:34.705Z] ---> c62574994003 [2020-04-10T16:19:34.705Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:19:34.705Z] ---> Running in 7cbdaa7962e1 [2020-04-10T16:19:36.092Z] Removing intermediate container 7cbdaa7962e1 [2020-04-10T16:19:36.092Z] ---> 01d5e6bb8d1a [2020-04-10T16:19:36.092Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-10T16:19:36.092Z] ---> Running in 280643e3f136 [2020-04-10T16:19:36.352Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T16:19:36.924Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T16:19:37.497Z] OK: 143 MiB in 39 packages [2020-04-10T16:19:37.757Z] Removing intermediate container 280643e3f136 [2020-04-10T16:19:37.757Z] ---> e0f6a5f83b66 [2020-04-10T16:19:37.757Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-10T16:19:37.757Z] ---> Running in dbec268fe764 [2020-04-10T16:19:38.018Z] Removing intermediate container dbec268fe764 [2020-04-10T16:19:38.018Z] ---> 54e0e41cb542 [2020-04-10T16:19:38.018Z] Step 7/8 : COPY . . [2020-04-10T16:19:38.593Z] ---> e45ed068d6cc [2020-04-10T16:19:38.593Z] Step 8/8 : RUN go mod download [2020-04-10T16:19:38.593Z] ---> Running in fbbdde74ef5d [2020-04-10T16:19:40.524Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-10T16:19:40.525Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-10T16:19:40.525Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-10T16:19:40.525Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-10T16:19:40.525Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-10T16:19:40.525Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-10T16:19:40.525Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-10T16:19:40.525Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-10T16:19:40.525Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-10T16:19:40.525Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-10T16:19:40.525Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-10T16:19:40.525Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-10T16:19:40.525Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-10T16:19:40.525Z] go: finding github.com/fatih/color v1.7.0 [2020-04-10T16:19:40.525Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T16:19:40.525Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T16:19:40.525Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T16:19:40.525Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T16:19:40.525Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-10T16:19:40.525Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T16:19:40.525Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-10T16:19:40.525Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-10T16:19:40.525Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T16:19:40.525Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-10T16:19:40.525Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-10T16:19:40.525Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-10T16:19:40.525Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-10T16:19:40.525Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-10T16:19:40.785Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-10T16:19:40.785Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-10T16:19:40.785Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-10T16:19:40.785Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-10T16:19:40.785Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-10T16:19:40.785Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-10T16:19:40.785Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-10T16:19:40.785Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-10T16:19:40.785Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-10T16:19:40.785Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-10T16:19:40.785Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T16:19:40.785Z] go: finding github.com/posener/complete v1.1.1 [2020-04-10T16:19:40.785Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-10T16:19:40.785Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-10T16:19:40.785Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T16:19:40.785Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-10T16:19:40.785Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-10T16:19:40.785Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T16:19:40.785Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-10T16:19:40.785Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-10T16:19:40.785Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-10T16:19:40.785Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-10T16:19:40.785Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-10T16:19:40.785Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-10T16:19:45.012Z] Removing intermediate container fbbdde74ef5d [2020-04-10T16:19:45.012Z] ---> 0444d63b1e2f [2020-04-10T16:19:45.012Z] Successfully built 0444d63b1e2f [2020-04-10T16:19:45.012Z] 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-04-10T16:19:45.653Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-10T16:19:45.653Z] . [Pipeline] withDockerContainer [2020-04-10T16:19:45.818Z] prd-centos7-docker-4c-2g-3289 does not seem to be running inside a container [2020-04-10T16:19:45.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-10T16:19:46.418Z] $ docker top a61ec0b4c74cc5643ff9141141dc7432c7273208e0d4c01f6fa1a38d59fc917d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T16:19:46.895Z] + go version [2020-04-10T16:19:46.895Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-10T16:19:47.289Z] + make test [2020-04-10T16:19:47.289Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-10T16:19:47.868Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-10T16:20:00.132Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-10T16:20:00.132Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-10T16:20:00.132Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements [2020-04-10T16:20:00.402Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.062s coverage: 95.8% of statements [2020-04-10T16:20:38.244Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3290 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws [2020-04-10T16:20:38.331Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-04-10T16:20:39.198Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.023s coverage: 11.4% of statements [2020-04-10T16:20:39.198Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 22.1% of statements [2020-04-10T16:20:39.198Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-10T16:20:39.198Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.457s coverage: 38.5% of statements [2020-04-10T16:20:39.198Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-10T16:20:39.198Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-10T16:20:39.198Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.476s coverage: 79.8% of statements [2020-04-10T16:20:39.198Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-10T16:20:39.198Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-10T16:20:39.198Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-10T16:20:39.198Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements [2020-04-10T16:20:39.198Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-10T16:20:39.198Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.109s coverage: 71.4% of statements [2020-04-10T16:20:39.198Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-10T16:20:39.198Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-10T16:20:39.198Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T16:20:39.198Z] gofmt -l . [2020-04-10T16:20:39.198Z] [ "`gofmt -l .`" = "" ] [2020-04-10T16:20:39.198Z] ./bin/test-attribution-txt.sh [2020-04-10T16:20:39.198Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-10T16:20:39.603Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T16:20:39.609Z] $ docker stop --time=1 a61ec0b4c74cc5643ff9141141dc7432c7273208e0d4c01f6fa1a38d59fc917d [2020-04-10T16:20:41.123Z] $ docker rm -f a61ec0b4c74cc5643ff9141141dc7432c7273208e0d4c01f6fa1a38d59fc917d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-10T16:20:42.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-10T16:20:42.816Z] + ls -al . [2020-04-10T16:20:42.816Z] total 160 [2020-04-10T16:20:42.816Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 10 16:20 . [2020-04-10T16:20:42.816Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 10 16:19 .. [2020-04-10T16:20:42.816Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 10 16:19 api [2020-04-10T16:20:42.816Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 10 16:19 bin [2020-04-10T16:20:42.816Z] -rw-r--r--. 1 jenkins jenkins 96404 Apr 10 16:20 coverage.out [2020-04-10T16:20:42.816Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 10 16:19 Dockerfile.build [2020-04-10T16:20:42.816Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 10 16:19 .dockerignore [2020-04-10T16:20:42.816Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 10 16:19 example [2020-04-10T16:20:42.816Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 10 16:19 .git [2020-04-10T16:20:42.816Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 10 16:19 .github [2020-04-10T16:20:42.816Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 10 16:19 .gitignore [2020-04-10T16:20:42.816Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 10 16:20 go.mod [2020-04-10T16:20:42.816Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 10 16:20 go.sum [2020-04-10T16:20:42.816Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 10 16:19 internal [2020-04-10T16:20:42.816Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 10 16:19 Jenkinsfile [2020-04-10T16:20:42.816Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 10 16:19 LICENSE [2020-04-10T16:20:42.816Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 10 16:19 Makefile [2020-04-10T16:20:42.816Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 10 16:19 pkg [2020-04-10T16:20:42.816Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 10 16:19 README.md [2020-04-10T16:20:42.816Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 10 16:19 .semver [2020-04-10T16:20:42.816Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 10 16:19 snap [2020-04-10T16:20:42.816Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 10 16:17 VERSION [2020-04-10T16:20:42.816Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 10 16:19 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:20:43.113Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=ba8289aa9629818f165b70e536d42d30d23f077d --label arch=amd64 --label version=0.0.0 . [2020-04-10T16:20:43.113Z] Sending build context to Docker daemon 2.982MB [2020-04-10T16:20:43.373Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-10T16:20:43.373Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-10T16:20:43.373Z] ---> 0444d63b1e2f [2020-04-10T16:20:43.373Z] Step 3/21 : ARG MAKE='make build' [2020-04-10T16:20:43.373Z] ---> Running in 05934f5b35d9 [2020-04-10T16:20:43.373Z] Removing intermediate container 05934f5b35d9 [2020-04-10T16:20:43.373Z] ---> 7ba590b1ffd8 [2020-04-10T16:20:43.373Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-10T16:20:43.633Z] ---> Running in df13ead99916 [2020-04-10T16:20:43.633Z] Removing intermediate container df13ead99916 [2020-04-10T16:20:43.633Z] ---> 93b104c8ec39 [2020-04-10T16:20:43.633Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:20:43.895Z] ---> Running in f9a1bcbf98e0 [2020-04-10T16:20:43.895Z] Removing intermediate container f9a1bcbf98e0 [2020-04-10T16:20:43.895Z] ---> 405fe76a2a81 [2020-04-10T16:20:43.895Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:20:43.895Z] ---> Running in f227f8806992 [2020-04-10T16:20:44.737Z] using credential edgex-jenkins-ssh [2020-04-10T16:20:44.791Z] Cloning the remote Git repository [2020-04-10T16:20:44.791Z] Cloning with configured refspecs honoured and without tags [2020-04-10T16:20:44.834Z] Removing intermediate container f227f8806992 [2020-04-10T16:20:44.834Z] ---> d385369c44d6 [2020-04-10T16:20:44.834Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-10T16:20:44.834Z] ---> Running in b91dde59e024 [2020-04-10T16:20:45.094Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T16:20:44.819Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:20:44.907Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-04-10T16:20:45.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:20:45.008Z] > git --version # timeout=10 [2020-04-10T16:20:45.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:20:45.128Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:20:46.031Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T16:20:46.291Z] Fetching without tags [2020-04-10T16:20:46.291Z] OK: 143 MiB in 39 packages [2020-04-10T16:20:46.767Z] Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit ba8289aa9629818f165b70e536d42d30d23f077d [2020-04-10T16:20:46.860Z] Removing intermediate container b91dde59e024 [2020-04-10T16:20:46.861Z] ---> a6ece245c64e [2020-04-10T16:20:46.861Z] Step 8/21 : COPY . . [2020-04-10T16:20:47.104Z] Merge succeeded, producing ba8289aa9629818f165b70e536d42d30d23f077d [2020-04-10T16:20:47.104Z] Checking out Revision ba8289aa9629818f165b70e536d42d30d23f077d (PR-474) [2020-04-10T16:20:47.122Z] ---> 5c6124f4a86c [2020-04-10T16:20:47.122Z] Step 9/21 : RUN ${MAKE} [2020-04-10T16:20:47.123Z] ---> Running in 44f55c30f481 [2020-04-10T16:20:46.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:20:46.144Z] > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 [2020-04-10T16:20:46.178Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:20:46.224Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:20:46.269Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:20:46.270Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:20:46.286Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:20:46.775Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:20:46.825Z] > git checkout -f ba8289aa9629818f165b70e536d42d30d23f077d # timeout=10 [2020-04-10T16:20:46.956Z] > git remote # timeout=10 [2020-04-10T16:20:46.993Z] > git config --get remote.origin.url # timeout=10 [2020-04-10T16:20:47.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:20:47.030Z] > git merge 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 [2020-04-10T16:20:47.058Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-10T16:20:47.081Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:20:47.108Z] > git checkout -f ba8289aa9629818f165b70e536d42d30d23f077d # timeout=10 [2020-04-10T16:20:47.715Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-10T16:20:51.749Z] Commit message: "Add new fields on Reading" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T16:20:52.971Z] ========================================================= [2020-04-10T16:20:52.971Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-10T16:20:52.971Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:20:54.226Z] + 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-04-10T16:20:55.199Z] Sending build context to Docker daemon 2.864MB [2020-04-10T16:20:55.199Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-10T16:20:55.199Z] Step 2/8 : FROM ${BASE} [2020-04-10T16:20:55.468Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-10T16:20:55.468Z] cde5963f3b93: Pulling fs layer [2020-04-10T16:20:55.468Z] 2a23fa8c16f7: Pulling fs layer [2020-04-10T16:20:55.468Z] 777b28850792: Pulling fs layer [2020-04-10T16:20:55.468Z] 8a11ddd9e578: Pulling fs layer [2020-04-10T16:20:55.468Z] 4cf88f913ddb: Pulling fs layer [2020-04-10T16:20:55.468Z] 1df406cf5192: Pulling fs layer [2020-04-10T16:20:55.468Z] cd6300453558: Pulling fs layer [2020-04-10T16:20:55.468Z] b9c365052c96: Pulling fs layer [2020-04-10T16:20:55.468Z] a2d8cc88f415: Pulling fs layer [2020-04-10T16:20:55.468Z] ea1d1ca13537: Pulling fs layer [2020-04-10T16:20:55.468Z] 3750a50a1c5e: Pulling fs layer [2020-04-10T16:20:55.468Z] 8a11ddd9e578: Waiting [2020-04-10T16:20:55.468Z] 4cf88f913ddb: Waiting [2020-04-10T16:20:55.468Z] 1df406cf5192: Waiting [2020-04-10T16:20:55.468Z] cd6300453558: Waiting [2020-04-10T16:20:55.468Z] a2d8cc88f415: Waiting [2020-04-10T16:20:55.468Z] ea1d1ca13537: Waiting [2020-04-10T16:20:55.468Z] 3750a50a1c5e: Waiting [2020-04-10T16:20:55.468Z] b9c365052c96: Waiting [2020-04-10T16:20:55.468Z] 777b28850792: Verifying Checksum [2020-04-10T16:20:55.468Z] 777b28850792: Download complete [2020-04-10T16:20:55.468Z] 2a23fa8c16f7: Verifying Checksum [2020-04-10T16:20:55.468Z] 2a23fa8c16f7: Download complete [2020-04-10T16:20:55.468Z] 4cf88f913ddb: Verifying Checksum [2020-04-10T16:20:55.468Z] 4cf88f913ddb: Download complete [2020-04-10T16:20:55.468Z] 1df406cf5192: Verifying Checksum [2020-04-10T16:20:55.468Z] 1df406cf5192: Download complete [2020-04-10T16:20:55.737Z] cde5963f3b93: Verifying Checksum [2020-04-10T16:20:55.737Z] cde5963f3b93: Download complete [2020-04-10T16:20:55.893Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-10T16:20:56.462Z] Removing intermediate container 44f55c30f481 [2020-04-10T16:20:56.462Z] ---> ce564462a13c [2020-04-10T16:20:56.462Z] Step 10/21 : FROM scratch [2020-04-10T16:20:56.462Z] ---> [2020-04-10T16:20:56.462Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:20:56.714Z] cde5963f3b93: Pull complete [2020-04-10T16:20:56.721Z] ---> Running in 171ec8933925 [2020-04-10T16:20:56.721Z] Removing intermediate container 171ec8933925 [2020-04-10T16:20:56.721Z] ---> b562fbda7467 [2020-04-10T16:20:56.721Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-10T16:20:56.721Z] ---> Running in 78d32a197bd3 [2020-04-10T16:20:56.981Z] Removing intermediate container 78d32a197bd3 [2020-04-10T16:20:56.981Z] ---> 6e36a394a105 [2020-04-10T16:20:56.981Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-10T16:20:56.981Z] ---> Running in cbf30dcdb226 [2020-04-10T16:20:56.981Z] Removing intermediate container cbf30dcdb226 [2020-04-10T16:20:56.981Z] ---> dcc7097bef02 [2020-04-10T16:20:56.981Z] Step 14/21 : WORKDIR / [2020-04-10T16:20:56.981Z] ---> Running in cad9594e4a47 [2020-04-10T16:20:57.243Z] Removing intermediate container cad9594e4a47 [2020-04-10T16:20:57.243Z] ---> 36212b936739 [2020-04-10T16:20:57.243Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-10T16:20:57.305Z] 2a23fa8c16f7: Pull complete [2020-04-10T16:20:57.502Z] ---> 28d800b1ad3c [2020-04-10T16:20:57.502Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-10T16:20:57.572Z] 777b28850792: Pull complete [2020-04-10T16:20:57.764Z] ---> 21be2db3e3a2 [2020-04-10T16:20:57.764Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-10T16:20:58.022Z] ---> 708ef67cb2f1 [2020-04-10T16:20:58.022Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-10T16:20:58.022Z] ---> Running in b99838e1e63e [2020-04-10T16:20:58.022Z] Removing intermediate container b99838e1e63e [2020-04-10T16:20:58.022Z] ---> dd2fdab91231 [2020-04-10T16:20:58.022Z] Step 19/21 : LABEL arch=amd64 [2020-04-10T16:20:58.283Z] ---> Running in 12165b32f28e [2020-04-10T16:20:58.283Z] Removing intermediate container 12165b32f28e [2020-04-10T16:20:58.283Z] ---> 8178eccf24ea [2020-04-10T16:20:58.283Z] Step 20/21 : LABEL git_sha=ba8289aa9629818f165b70e536d42d30d23f077d [2020-04-10T16:20:58.283Z] ---> Running in 6be763d1219d [2020-04-10T16:20:58.542Z] Removing intermediate container 6be763d1219d [2020-04-10T16:20:58.542Z] ---> 735ce16fc351 [2020-04-10T16:20:58.542Z] Step 21/21 : LABEL version=0.0.0 [2020-04-10T16:20:58.542Z] ---> Running in 397d01d86113 [2020-04-10T16:20:58.542Z] Removing intermediate container 397d01d86113 [2020-04-10T16:20:58.542Z] ---> 1e92b4da9a4c [2020-04-10T16:20:58.542Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-10T16:20:58.801Z] Successfully built 1e92b4da9a4c [2020-04-10T16:20:58.801Z] Successfully tagged docker-device-sdk-simple: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-04-10T16:21:00.164Z] cd6300453558: Verifying Checksum [2020-04-10T16:21:00.164Z] cd6300453558: Download complete [2020-04-10T16:21:00.164Z] a2d8cc88f415: Verifying Checksum [2020-04-10T16:21:00.164Z] a2d8cc88f415: Download complete [2020-04-10T16:21:02.116Z] ea1d1ca13537: Verifying Checksum [2020-04-10T16:21:02.116Z] ea1d1ca13537: Download complete [2020-04-10T16:21:02.387Z] 3750a50a1c5e: Verifying Checksum [2020-04-10T16:21:02.387Z] 3750a50a1c5e: Download complete [2020-04-10T16:21:05.004Z] b9c365052c96: Verifying Checksum [2020-04-10T16:21:05.004Z] b9c365052c96: Download complete [2020-04-10T16:21:06.961Z] 8a11ddd9e578: Verifying Checksum [2020-04-10T16:21:06.961Z] 8a11ddd9e578: Download complete [2020-04-10T16:21:19.307Z] 8a11ddd9e578: Pull complete [2020-04-10T16:21:19.307Z] 4cf88f913ddb: Pull complete [2020-04-10T16:21:19.307Z] 1df406cf5192: Pull complete [2020-04-10T16:21:23.575Z] cd6300453558: Pull complete [2020-04-10T16:21:28.934Z] b9c365052c96: Pull complete [2020-04-10T16:21:28.934Z] a2d8cc88f415: Pull complete [2020-04-10T16:21:30.355Z] ea1d1ca13537: Pull complete [2020-04-10T16:21:30.938Z] 3750a50a1c5e: Pull complete [2020-04-10T16:21:30.938Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-10T16:21:30.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-10T16:21:30.938Z] ---> 78745c68409d [2020-04-10T16:21:30.938Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:21:34.294Z] ---> Running in 57a35effe523 [2020-04-10T16:21:34.571Z] Removing intermediate container 57a35effe523 [2020-04-10T16:21:34.571Z] ---> c95ff72ed494 [2020-04-10T16:21:34.571Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:21:34.571Z] ---> Running in 74a045df6e59 [2020-04-10T16:21:37.173Z] Removing intermediate container 74a045df6e59 [2020-04-10T16:21:37.173Z] ---> fa3e55eb5aa1 [2020-04-10T16:21:37.173Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-10T16:21:37.173Z] ---> Running in 8b71a6568de3 [2020-04-10T16:21:37.758Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T16:21:39.701Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T16:21:40.659Z] OK: 125 MiB in 39 packages [2020-04-10T16:21:41.624Z] Removing intermediate container 8b71a6568de3 [2020-04-10T16:21:41.624Z] ---> b1b2702318f4 [2020-04-10T16:21:41.624Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-10T16:21:41.891Z] ---> Running in 286847e51e47 [2020-04-10T16:21:42.160Z] Removing intermediate container 286847e51e47 [2020-04-10T16:21:42.160Z] ---> 3449ad0504a4 [2020-04-10T16:21:42.160Z] Step 7/8 : COPY . . [2020-04-10T16:21:43.130Z] ---> b57e68c57bf3 [2020-04-10T16:21:43.130Z] Step 8/8 : RUN go mod download [2020-04-10T16:21:43.401Z] ---> Running in ca244529f421 [2020-04-10T16:21:45.350Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-10T16:21:45.350Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-10T16:21:45.350Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-10T16:21:45.350Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-10T16:21:45.350Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-10T16:21:45.350Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-10T16:21:45.350Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-10T16:21:45.617Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-10T16:21:45.617Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-10T16:21:45.617Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-10T16:21:45.617Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-10T16:21:45.617Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-10T16:21:45.617Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-10T16:21:45.617Z] go: finding github.com/fatih/color v1.7.0 [2020-04-10T16:21:45.617Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T16:21:45.617Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T16:21:45.617Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T16:21:45.617Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T16:21:45.617Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-10T16:21:45.617Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T16:21:45.617Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-10T16:21:45.617Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-10T16:21:45.617Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-10T16:21:45.617Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-10T16:21:45.617Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-10T16:21:45.617Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-10T16:21:45.617Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-10T16:21:45.617Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-10T16:21:45.617Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-10T16:21:45.617Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-10T16:21:45.617Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-10T16:21:45.885Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-10T16:21:45.885Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-10T16:21:45.885Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-10T16:21:45.885Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-10T16:21:45.885Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-10T16:21:45.885Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-10T16:21:45.885Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-10T16:21:45.885Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T16:21:45.885Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-10T16:21:45.885Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-10T16:21:45.885Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-10T16:21:45.885Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-10T16:21:45.885Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-10T16:21:45.885Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-10T16:21:45.885Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-10T16:21:45.885Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-10T16:21:45.885Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-10T16:21:45.885Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-10T16:21:45.885Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-10T16:21:45.885Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-10T16:21:45.885Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-10T16:21:45.885Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-10T16:21:45.885Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-10T16:21:45.886Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T16:21:45.886Z] go: finding github.com/posener/complete v1.1.1 [2020-04-10T16:21:45.886Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-10T16:21:46.154Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-10T16:21:46.154Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T16:21:46.154Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-10T16:21:46.154Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-10T16:21:46.154Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T16:21:46.154Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-10T16:21:46.154Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-10T16:21:46.154Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-10T16:21:46.154Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-10T16:21:46.154Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-10T16:21:46.154Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-10T16:21:56.251Z] Removing intermediate container ca244529f421 [2020-04-10T16:21:56.251Z] ---> dc178df9db7d [2020-04-10T16:21:56.251Z] Successfully built dc178df9db7d [2020-04-10T16:21:56.251Z] 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-04-10T16:21:56.944Z] + docker inspect -f . ci-base-image-arm64 [2020-04-10T16:21:57.212Z] . [Pipeline] withDockerContainer [2020-04-10T16:21:57.553Z] prd-ubuntu18.04-docker-arm64-4c-16g-3290 does not seem to be running inside a container [2020-04-10T16:21:57.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-10T16:21:59.123Z] $ docker top 5f1fb54af28a6264f9656ca51609802fd58be7eb1c12840abc93e469495eea81 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T16:22:00.173Z] + go version [2020-04-10T16:22:00.173Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-10T16:22:00.834Z] + make test [2020-04-10T16:22:00.834Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-10T16:22:02.253Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-10T16:22:34.547Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-10T16:22:34.547Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-10T16:22:34.547Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.014s coverage: 22.1% of statements [2020-04-10T16:22:35.132Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.167s coverage: 95.8% of statements [2020-04-10T16:23:07.396Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.067s coverage: 11.4% of statements [2020-04-10T16:23:07.396Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 22.1% of statements [2020-04-10T16:23:07.396Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-10T16:23:07.396Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.173s coverage: 38.5% of statements [2020-04-10T16:23:07.396Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-10T16:23:07.396Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-10T16:23:07.396Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.840s coverage: 79.8% of statements [2020-04-10T16:23:07.396Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-10T16:23:07.396Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-10T16:23:07.396Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-10T16:23:07.396Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-04-10T16:23:07.396Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-10T16:23:07.396Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 71.4% of statements [2020-04-10T16:23:07.396Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-10T16:23:07.396Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-10T16:23:07.396Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T16:23:09.997Z] gofmt -l . [2020-04-10T16:23:10.582Z] [ "`gofmt -l .`" = "" ] [2020-04-10T16:23:10.853Z] ./bin/test-attribution-txt.sh [2020-04-10T16:23:11.442Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-10T16:23:12.045Z] Warning: overwriting stash ‘coverage-report’ [2020-04-10T16:23:12.583Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T16:23:12.600Z] $ docker stop --time=1 5f1fb54af28a6264f9656ca51609802fd58be7eb1c12840abc93e469495eea81 [2020-04-10T16:23:14.860Z] $ docker rm -f 5f1fb54af28a6264f9656ca51609802fd58be7eb1c12840abc93e469495eea81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-10T16:23:16.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-10T16:23:16.480Z] + ls -al . [2020-04-10T16:23:16.480Z] total 200 [2020-04-10T16:23:16.480Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 16:23 . [2020-04-10T16:23:16.480Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:20 .. [2020-04-10T16:23:16.480Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 16:20 .dockerignore [2020-04-10T16:23:16.480Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 16:20 .git [2020-04-10T16:23:16.480Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 16:20 .github [2020-04-10T16:23:16.480Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 10 16:20 .gitignore [2020-04-10T16:23:16.480Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 16:20 .semver [2020-04-10T16:23:16.480Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 10 16:20 Dockerfile.build [2020-04-10T16:23:16.480Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 10 16:20 Jenkinsfile [2020-04-10T16:23:16.480Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 16:20 LICENSE [2020-04-10T16:23:16.480Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 10 16:20 Makefile [2020-04-10T16:23:16.480Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 10 16:20 README.md [2020-04-10T16:23:16.480Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 16:17 VERSION [2020-04-10T16:23:16.480Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 16:20 api [2020-04-10T16:23:16.480Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 16:20 bin [2020-04-10T16:23:16.480Z] -rw-r--r-- 1 jenkins jenkins 96404 Apr 10 16:23 coverage.out [2020-04-10T16:23:16.480Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:20 example [2020-04-10T16:23:16.480Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 10 16:23 go.mod [2020-04-10T16:23:16.480Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 10 16:23 go.sum [2020-04-10T16:23:16.480Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 10 16:20 internal [2020-04-10T16:23:16.480Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 16:20 pkg [2020-04-10T16:23:16.480Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:20 snap [2020-04-10T16:23:16.480Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 16:20 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:23:16.813Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ba8289aa9629818f165b70e536d42d30d23f077d --label arch=arm64 --label version=0.0.0 . [2020-04-10T16:23:17.406Z] Sending build context to Docker daemon 2.982MB [2020-04-10T16:23:17.406Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-10T16:23:17.406Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-10T16:23:17.406Z] ---> dc178df9db7d [2020-04-10T16:23:17.406Z] Step 3/21 : ARG MAKE='make build' [2020-04-10T16:23:17.406Z] ---> Running in fba1daffba56 [2020-04-10T16:23:17.991Z] Removing intermediate container fba1daffba56 [2020-04-10T16:23:17.991Z] ---> e0e1b59e7496 [2020-04-10T16:23:17.991Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-10T16:23:17.991Z] ---> Running in eab82fa75fe0 [2020-04-10T16:23:18.259Z] Removing intermediate container eab82fa75fe0 [2020-04-10T16:23:18.259Z] ---> 08d06d0b363d [2020-04-10T16:23:18.259Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:23:18.527Z] ---> Running in b57046afdc62 [2020-04-10T16:23:18.795Z] Removing intermediate container b57046afdc62 [2020-04-10T16:23:18.795Z] ---> f988e1e14da7 [2020-04-10T16:23:18.795Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:23:19.083Z] ---> Running in 4dcd8d1c962c [2020-04-10T16:23:21.031Z] Removing intermediate container 4dcd8d1c962c [2020-04-10T16:23:21.031Z] ---> c2562ee07649 [2020-04-10T16:23:21.031Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-10T16:23:21.031Z] ---> Running in 01e9b1d1e5f5 [2020-04-10T16:23:21.997Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T16:23:22.582Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T16:23:23.164Z] OK: 125 MiB in 39 packages [2020-04-10T16:23:24.577Z] Removing intermediate container 01e9b1d1e5f5 [2020-04-10T16:23:24.577Z] ---> c63a62165006 [2020-04-10T16:23:24.577Z] Step 8/21 : COPY . . [2020-04-10T16:23:25.545Z] ---> 0d67210be92d [2020-04-10T16:23:25.545Z] Step 9/21 : RUN ${MAKE} [2020-04-10T16:23:25.813Z] ---> Running in 24219cce5f86 [2020-04-10T16:23:26.791Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-10T16:23:53.508Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-10T16:23:53.508Z] Removing intermediate container 24219cce5f86 [2020-04-10T16:23:53.508Z] ---> a76cbbc7c04f [2020-04-10T16:23:53.508Z] Step 10/21 : FROM scratch [2020-04-10T16:23:53.508Z] ---> [2020-04-10T16:23:53.508Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:23:53.508Z] ---> Running in 6a9689bdcac5 [2020-04-10T16:23:53.508Z] Removing intermediate container 6a9689bdcac5 [2020-04-10T16:23:53.508Z] ---> fbd1f89a4788 [2020-04-10T16:23:53.508Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-10T16:23:53.508Z] ---> Running in 6813ec2c349a [2020-04-10T16:23:53.508Z] Removing intermediate container 6813ec2c349a [2020-04-10T16:23:53.508Z] ---> 824df19dc29a [2020-04-10T16:23:53.508Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-10T16:23:53.508Z] ---> Running in e188a1f231fd [2020-04-10T16:23:53.508Z] Removing intermediate container e188a1f231fd [2020-04-10T16:23:53.508Z] ---> a0ed6d97dcce [2020-04-10T16:23:53.508Z] Step 14/21 : WORKDIR / [2020-04-10T16:23:53.508Z] ---> Running in f1bd9adba49c [2020-04-10T16:23:54.094Z] Removing intermediate container f1bd9adba49c [2020-04-10T16:23:54.094Z] ---> d9393ccd96f9 [2020-04-10T16:23:54.094Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-10T16:23:54.680Z] ---> deef7be24176 [2020-04-10T16:23:54.680Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-10T16:23:55.269Z] ---> ce81a69769be [2020-04-10T16:23:55.270Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-10T16:23:55.856Z] ---> 306a66a9085c [2020-04-10T16:23:55.856Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-10T16:23:56.124Z] ---> Running in 13bcf1ee39ac [2020-04-10T16:23:56.396Z] Removing intermediate container 13bcf1ee39ac [2020-04-10T16:23:56.396Z] ---> 8eed5c11dc86 [2020-04-10T16:23:56.396Z] Step 19/21 : LABEL arch=arm64 [2020-04-10T16:23:56.665Z] ---> Running in a19e2c4e4080 [2020-04-10T16:23:56.934Z] Removing intermediate container a19e2c4e4080 [2020-04-10T16:23:56.934Z] ---> 68b72a2d7324 [2020-04-10T16:23:56.934Z] Step 20/21 : LABEL git_sha=ba8289aa9629818f165b70e536d42d30d23f077d [2020-04-10T16:23:56.934Z] ---> Running in d4ceaccb1dbb [2020-04-10T16:23:57.202Z] Removing intermediate container d4ceaccb1dbb [2020-04-10T16:23:57.202Z] ---> bb67e173caf5 [2020-04-10T16:23:57.202Z] Step 21/21 : LABEL version=0.0.0 [2020-04-10T16:23:57.469Z] ---> Running in 2e0af852fce9 [2020-04-10T16:23:57.736Z] Removing intermediate container 2e0af852fce9 [2020-04-10T16:23:57.736Z] ---> 91ef61a36eaa [2020-04-10T16:23:57.736Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-10T16:23:57.736Z] Successfully built 91ef61a36eaa [2020-04-10T16:23:57.736Z] Successfully tagged docker-device-sdk-simple-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-04-10T16:23:58.702Z] provisioning config files... [2020-04-10T16:23:58.817Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config1681347140045915815tmp [Pipeline] { [Pipeline] sh [2020-04-10T16:23:59.304Z] + curl -s https://codecov.io/bash [2020-04-10T16:23:59.304Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config1681347140045915815tmp [2020-04-10T16:23:59.929Z] [2020-04-10T16:23:59.929Z] _____ _ [2020-04-10T16:23:59.929Z] / ____| | | [2020-04-10T16:23:59.929Z] | | ___ __| | ___ ___ _____ __ [2020-04-10T16:23:59.929Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-10T16:23:59.929Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-10T16:23:59.929Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-10T16:23:59.929Z] Bash-20200410-0786dee [2020-04-10T16:23:59.929Z] [2020-04-10T16:23:59.929Z] [2020-04-10T16:23:59.929Z] ==> Jenkins CI detected. [2020-04-10T16:23:59.929Z] project root: . [2020-04-10T16:23:59.929Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-10T16:23:59.929Z] ==> Running gcov in . (disable via -X gcov) [2020-04-10T16:23:59.929Z] ==> Python coveragepy not found [2020-04-10T16:23:59.929Z] ==> Searching for coverage reports in: [2020-04-10T16:23:59.929Z] + . [2020-04-10T16:23:59.929Z] -> Found 1 reports [2020-04-10T16:23:59.929Z] ==> Detecting git/mercurial file structure [2020-04-10T16:23:59.929Z] ==> Reading reports [2020-04-10T16:23:59.929Z] + ./coverage.out bytes=96404 [2020-04-10T16:23:59.929Z] ==> Appending adjustments [2020-04-10T16:23:59.929Z] http://docs.codecov.io/docs/fixing-reports [2020-04-10T16:24:00.521Z] + Found adjustments [2020-04-10T16:24:00.522Z] ==> Gzipping contents [2020-04-10T16:24:00.522Z] ==> Uploading reports [2020-04-10T16:24:00.522Z] url: https://codecov.io [2020-04-10T16:24:00.522Z] query: branch=PR-474&commit=ba8289aa9629818f165b70e536d42d30d23f077d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= [2020-04-10T16:24:00.522Z] -> Pinging Codecov [2020-04-10T16:24:00.522Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-474&commit=ba8289aa9629818f165b70e536d42d30d23f077d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= [2020-04-10T16:24:01.131Z] -> Uploading [2020-04-10T16:24:01.716Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ba8289aa9629818f165b70e536d42d30d23f077d [Pipeline] } [2020-04-10T16:24:01.806Z] 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-04-10T16:24:02.997Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:24:03.305Z] ---> package-listing.sh [2020-04-10T16:24:03.305Z] ++ facter osfamily [2020-04-10T16:24:03.305Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-10T16:24:03.305Z] + OS_FAMILY=redhat [2020-04-10T16:24:03.305Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-474 [2020-04-10T16:24:03.305Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-10T16:24:03.305Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-10T16:24:03.305Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-10T16:24:03.305Z] + PACKAGES=/tmp/packages_start.txt [2020-04-10T16:24:03.305Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' [2020-04-10T16:24:03.305Z] + PACKAGES=/tmp/packages_end.txt [2020-04-10T16:24:03.305Z] + case "${OS_FAMILY}" in [2020-04-10T16:24:03.305Z] + rpm -qa [2020-04-10T16:24:03.305Z] + sort [2020-04-10T16:24:08.696Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-10T16:24:08.696Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-10T16:24:08.696Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-10T16:24:08.696Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' [2020-04-10T16:24:08.696Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ [2020-04-10T16:24:08.696Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:24:09.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T16:24:09.588Z] [2020-04-10T16:24:09.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:24:09.947Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T16:24:09.947Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-10T16:24:09.947Z] c9b1b535fdd9: Pulling fs layer [2020-04-10T16:24:09.947Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-10T16:24:09.947Z] 756a868c4378: Pulling fs layer [2020-04-10T16:24:09.947Z] 444b2fc9a129: Pulling fs layer [2020-04-10T16:24:09.947Z] ea15f1150254: Pulling fs layer [2020-04-10T16:24:09.947Z] 41b27a9f41bf: Pulling fs layer [2020-04-10T16:24:09.947Z] 28c525ee5125: Pulling fs layer [2020-04-10T16:24:09.947Z] 094b1ea09ed8: Pulling fs layer [2020-04-10T16:24:09.947Z] 138eaada9080: Pulling fs layer [2020-04-10T16:24:09.947Z] 0622d0fa9048: Pulling fs layer [2020-04-10T16:24:09.947Z] 444b2fc9a129: Waiting [2020-04-10T16:24:09.947Z] ea15f1150254: Waiting [2020-04-10T16:24:09.947Z] 41b27a9f41bf: Waiting [2020-04-10T16:24:09.947Z] 28c525ee5125: Waiting [2020-04-10T16:24:09.947Z] 094b1ea09ed8: Waiting [2020-04-10T16:24:09.947Z] 138eaada9080: Waiting [2020-04-10T16:24:09.947Z] 0622d0fa9048: Waiting [2020-04-10T16:24:09.947Z] 2cc5ad85d9ab: Download complete [2020-04-10T16:24:10.216Z] 444b2fc9a129: Verifying Checksum [2020-04-10T16:24:10.216Z] 444b2fc9a129: Download complete [2020-04-10T16:24:10.216Z] c9b1b535fdd9: Verifying Checksum [2020-04-10T16:24:10.216Z] c9b1b535fdd9: Download complete [2020-04-10T16:24:10.216Z] ea15f1150254: Verifying Checksum [2020-04-10T16:24:10.216Z] ea15f1150254: Download complete [2020-04-10T16:24:10.216Z] 28c525ee5125: Verifying Checksum [2020-04-10T16:24:10.216Z] 28c525ee5125: Download complete [2020-04-10T16:24:11.586Z] 756a868c4378: Verifying Checksum [2020-04-10T16:24:11.586Z] 756a868c4378: Download complete [2020-04-10T16:24:11.922Z] 138eaada9080: Verifying Checksum [2020-04-10T16:24:11.922Z] 138eaada9080: Download complete [2020-04-10T16:24:11.922Z] c9b1b535fdd9: Pull complete [2020-04-10T16:24:11.922Z] 0622d0fa9048: Verifying Checksum [2020-04-10T16:24:11.922Z] 0622d0fa9048: Download complete [2020-04-10T16:24:11.922Z] 094b1ea09ed8: Verifying Checksum [2020-04-10T16:24:11.922Z] 094b1ea09ed8: Download complete [2020-04-10T16:24:12.216Z] 2cc5ad85d9ab: Pull complete [2020-04-10T16:24:13.193Z] 41b27a9f41bf: Verifying Checksum [2020-04-10T16:24:13.193Z] 41b27a9f41bf: Download complete [2020-04-10T16:24:15.890Z] 756a868c4378: Pull complete [2020-04-10T16:24:15.890Z] 444b2fc9a129: Pull complete [2020-04-10T16:24:16.169Z] ea15f1150254: Pull complete [2020-04-10T16:24:21.882Z] 41b27a9f41bf: Pull complete [2020-04-10T16:24:21.882Z] 28c525ee5125: Pull complete [2020-04-10T16:24:25.307Z] 094b1ea09ed8: Pull complete [2020-04-10T16:24:25.307Z] 138eaada9080: Pull complete [2020-04-10T16:24:25.921Z] 0622d0fa9048: Pull complete [2020-04-10T16:24:25.921Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-10T16:24:25.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-10T16:24:26.227Z] prd-centos7-docker-4c-2g-3287 does not seem to be running inside a container [2020-04-10T16:24:26.393Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-474 -v /w/workspace/dgexfoundry_device-sdk-go_PR-474:/w/workspace/dgexfoundry_device-sdk-go_PR-474:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-474@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-10T16:24:27.848Z] $ docker top b6f28bf3bddf3a98539c50b12a603f8bc2a9c6275e263975b6081fb9ec7f877a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-10T16:24:28.120Z] provisioning config files... [2020-04-10T16:24:28.136Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config1593769897617778877tmp [Pipeline] { [Pipeline] echo [2020-04-10T16:24:28.211Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:24:28.846Z] ---> create-netrc.sh [Pipeline] echo [2020-04-10T16:24:28.871Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:24:29.634Z] ---> logs-deploy.sh [2020-04-10T16:24:29.634Z] + ARCHIVE_ARTIFACTS= [2020-04-10T16:24:29.634Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-10T16:24:29.634Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-10T16:24:29.634Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-10T16:24:29.634Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/6 [2020-04-10T16:24:29.634Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/6/ [2020-04-10T16:24:29.634Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/6 /w/workspace/dgexfoundry_device-sdk-go_PR-474 [2020-04-10T16:24:31.104Z] Archives upload complete. [2020-04-10T16:24:31.564Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/6 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/6/