Pull request #478 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 146b11d4e6aa44b3adf140ba703a924a173316f6+6d36f33b612300ee79929b7f99b8ffab79cfcdbd (ca9e053c8fc4757d19b7fd094a4fe3d24209fd5f) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3045 in /w/workspace/dgexfoundry_device-sdk-go_PR-478 [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-478 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit 146b11d4e6aa44b3adf140ba703a924a173316f6 Merge succeeded, producing 146b11d4e6aa44b3adf140ba703a924a173316f6 Checking out Revision 146b11d4e6aa44b3adf140ba703a924a173316f6 (PR-478) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # 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/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 146b11d4e6aa44b3adf140ba703a924a173316f6 # 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 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 146b11d4e6aa44b3adf140ba703a924a173316f6 # timeout=10 Commit message: "Update to correctly support -r argument" First time build. Skipping changelog. > git rev-list --no-walk e1fc2c021d528860c54b3f59d5f552a35cb8796b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-09T10:49:24.008Z] 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-09T10:49:25.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-09T10:49:25.973Z] [2020-04-09T10:49:25.973Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-09T10:49:26.330Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-09T10:49:26.330Z] latest: Pulling from edgex-devops/git-semver [2020-04-09T10:49:26.330Z] 9123ac7c32f7: Pulling fs layer [2020-04-09T10:49:26.330Z] b8cc5d1170e3: Pulling fs layer [2020-04-09T10:49:26.330Z] 2924cbbf6a41: Pulling fs layer [2020-04-09T10:49:26.330Z] 93b08a4f1073: Pulling fs layer [2020-04-09T10:49:26.330Z] 93b08a4f1073: Waiting [2020-04-09T10:49:26.330Z] b8cc5d1170e3: Download complete [2020-04-09T10:49:26.592Z] 9123ac7c32f7: Verifying Checksum [2020-04-09T10:49:26.592Z] 9123ac7c32f7: Download complete [2020-04-09T10:49:26.592Z] 93b08a4f1073: Verifying Checksum [2020-04-09T10:49:26.592Z] 93b08a4f1073: Download complete [2020-04-09T10:49:26.592Z] 2924cbbf6a41: Download complete [2020-04-09T10:49:26.592Z] 9123ac7c32f7: Pull complete [2020-04-09T10:49:26.852Z] b8cc5d1170e3: Pull complete [2020-04-09T10:49:27.420Z] 2924cbbf6a41: Pull complete [2020-04-09T10:49:27.679Z] 93b08a4f1073: Pull complete [2020-04-09T10:49:27.679Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-09T10:49:27.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-09T10:49:27.799Z] prd-centos7-docker-4c-2g-3045 does not seem to be running inside a container [2020-04-09T10:49:27.846Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-478 -v /w/workspace/dgexfoundry_device-sdk-go_PR-478:/w/workspace/dgexfoundry_device-sdk-go_PR-478:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-478@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-09T10:49:28.406Z] $ docker top 02f64973fe8239b7b2cb9573b866c5e2f92e7d04d9c0b26224842e0d07607012 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-09T10:49:28.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-09T10:49:28.699Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-09T10:49:28.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-09T10:49:28.903Z] $ docker exec 02f64973fe8239b7b2cb9573b866c5e2f92e7d04d9c0b26224842e0d07607012 ssh-agent [2020-04-09T10:49:29.078Z] SSH_AUTH_SOCK=/tmp/ssh-GlzUd0fuX8jY/agent.14 [2020-04-09T10:49:29.078Z] SSH_AGENT_PID=21 [2020-04-09T10:49:29.087Z] Running ssh-add (command line suppressed) [2020-04-09T10:49:29.221Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/private_key_4089242190648750558.key (/w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/private_key_4089242190648750558.key) [2020-04-09T10:49:29.266Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-09T10:49:29.579Z] + git describe --exact-match --tags HEAD [2020-04-09T10:49:29.579Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-09T10:49:29.633Z] $ docker exec --env ******** --env ******** 02f64973fe8239b7b2cb9573b866c5e2f92e7d04d9c0b26224842e0d07607012 ssh-agent -k [2020-04-09T10:49:29.767Z] unset SSH_AUTH_SOCK; [2020-04-09T10:49:29.768Z] unset SSH_AGENT_PID; [2020-04-09T10:49:29.768Z] echo Agent pid 21 killed; [2020-04-09T10:49:29.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-09T10:49:29.868Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-09T10:49:29.868Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-09T10:49:29.936Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-09T10:49:29.936Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-09T10:49:30.105Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-09T10:49:30.111Z] $ docker exec 02f64973fe8239b7b2cb9573b866c5e2f92e7d04d9c0b26224842e0d07607012 ssh-agent [2020-04-09T10:49:30.298Z] SSH_AUTH_SOCK=/tmp/ssh-iRzPHNrjGR7k/agent.56 [2020-04-09T10:49:30.298Z] SSH_AGENT_PID=63 [2020-04-09T10:49:30.306Z] Running ssh-add (command line suppressed) [2020-04-09T10:49:30.439Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/private_key_2965451611075989670.key (/w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/private_key_2965451611075989670.key) [2020-04-09T10:49:30.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-09T10:49:30.796Z] + git semver init [2020-04-09T10:49:30.796Z] # -> Open(): unable to determine branch for HEAD [2020-04-09T10:49:30.796Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-478/.git [2020-04-09T10:49:30.796Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-478 [2020-04-09T10:49:30.796Z] # $SEMVER_REMOTE_NAME = origin [2020-04-09T10:49:30.796Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-09T10:49:30.796Z] # $SEMVER_USER_NAME = jenkins [2020-04-09T10:49:30.796Z] # $SEMVER_BRANCH = PR-478 [2020-04-09T10:49:30.796Z] # $SEMVER_TEMP = /tmp/semver-888772848 [2020-04-09T10:49:30.796Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-09T10:49:31.365Z] # '/tmp/semver-888772848' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-478/.semver' [2020-04-09T10:49:31.365Z] # -> Force: false [2020-04-09T10:49:31.365Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-478/.semver [Pipeline] } [2020-04-09T10:49:31.376Z] $ docker exec --env ******** --env ******** 02f64973fe8239b7b2cb9573b866c5e2f92e7d04d9c0b26224842e0d07607012 ssh-agent -k [2020-04-09T10:49:31.509Z] unset SSH_AUTH_SOCK; [2020-04-09T10:49:31.509Z] unset SSH_AGENT_PID; [2020-04-09T10:49:31.509Z] echo Agent pid 63 killed; [2020-04-09T10:49:31.545Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-09T10:49:31.957Z] + git semver [Pipeline] } [2020-04-09T10:49:31.972Z] $ docker stop --time=1 02f64973fe8239b7b2cb9573b866c5e2f92e7d04d9c0b26224842e0d07607012 [2020-04-09T10:49:33.289Z] $ docker rm -f 02f64973fe8239b7b2cb9573b866c5e2f92e7d04d9c0b26224842e0d07607012 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-09T10:49:34.043Z] Stashed 39 file(s) [Pipeline] echo [2020-04-09T10:49:34.045Z] [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-09T10:49:49.276Z] Still waiting to schedule task [2020-04-09T10:49:49.276Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3045’ [2020-04-09T10:49:49.278Z] Still waiting to schedule task [2020-04-09T10:49:49.278Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2736’ is offline [2020-04-09T10:51:40.758Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3046 in /w/workspace/dgexfoundry_device-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-04-09T10:51:40.796Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-04-09T10:51:46.449Z] using credential edgex-jenkins-ssh [2020-04-09T10:51:46.503Z] Cloning the remote Git repository [2020-04-09T10:51:46.503Z] Cloning with configured refspecs honoured and without tags [2020-04-09T10:51:46.618Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-09T10:51:46.743Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-04-09T10:51:46.847Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-09T10:51:46.849Z] > git --version # timeout=10 [2020-04-09T10:51:46.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-09T10:51:46.950Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-09T10:51:48.236Z] Fetching without tags [2020-04-09T10:51:48.084Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-09T10:51:48.131Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-04-09T10:51:48.158Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-09T10:51:48.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-09T10:51:48.248Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-09T10:51:48.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-09T10:51:48.268Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-09T10:51:48.734Z] Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit 146b11d4e6aa44b3adf140ba703a924a173316f6 [2020-04-09T10:51:49.064Z] Merge succeeded, producing 146b11d4e6aa44b3adf140ba703a924a173316f6 [2020-04-09T10:51:49.065Z] Checking out Revision 146b11d4e6aa44b3adf140ba703a924a173316f6 (PR-478) [2020-04-09T10:51:48.754Z] > git config core.sparsecheckout # timeout=10 [2020-04-09T10:51:48.773Z] > git checkout -f 146b11d4e6aa44b3adf140ba703a924a173316f6 # timeout=10 [2020-04-09T10:51:48.882Z] > git remote # timeout=10 [2020-04-09T10:51:48.907Z] > git config --get remote.origin.url # timeout=10 [2020-04-09T10:51:48.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-09T10:51:48.981Z] > git merge 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 [2020-04-09T10:51:49.020Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-09T10:51:49.075Z] > git config core.sparsecheckout # timeout=10 [2020-04-09T10:51:49.121Z] > git checkout -f 146b11d4e6aa44b3adf140ba703a924a173316f6 # timeout=10 [2020-04-09T10:51:53.531Z] Commit message: "Update to correctly support -r argument" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-09T10:51:54.768Z] ========================================================= [2020-04-09T10:51:54.768Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-09T10:51:54.768Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-09T10:51:55.911Z] + 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-09T10:51:56.906Z] Sending build context to Docker daemon 2.846MB [2020-04-09T10:51:56.906Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-09T10:51:56.906Z] Step 2/8 : FROM ${BASE} [2020-04-09T10:51:57.183Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-09T10:51:57.183Z] cde5963f3b93: Pulling fs layer [2020-04-09T10:51:57.183Z] 2a23fa8c16f7: Pulling fs layer [2020-04-09T10:51:57.183Z] 777b28850792: Pulling fs layer [2020-04-09T10:51:57.183Z] 8a11ddd9e578: Pulling fs layer [2020-04-09T10:51:57.183Z] 4cf88f913ddb: Pulling fs layer [2020-04-09T10:51:57.183Z] 8a11ddd9e578: Waiting [2020-04-09T10:51:57.183Z] 1df406cf5192: Pulling fs layer [2020-04-09T10:51:57.183Z] cd6300453558: Pulling fs layer [2020-04-09T10:51:57.183Z] b9c365052c96: Pulling fs layer [2020-04-09T10:51:57.183Z] a2d8cc88f415: Pulling fs layer [2020-04-09T10:51:57.183Z] ea1d1ca13537: Pulling fs layer [2020-04-09T10:51:57.183Z] 3750a50a1c5e: Pulling fs layer [2020-04-09T10:51:57.183Z] a2d8cc88f415: Waiting [2020-04-09T10:51:57.183Z] 4cf88f913ddb: Waiting [2020-04-09T10:51:57.183Z] ea1d1ca13537: Waiting [2020-04-09T10:51:57.183Z] 3750a50a1c5e: Waiting [2020-04-09T10:51:57.183Z] 1df406cf5192: Waiting [2020-04-09T10:51:57.183Z] cd6300453558: Waiting [2020-04-09T10:51:57.183Z] b9c365052c96: Waiting [2020-04-09T10:51:57.183Z] 777b28850792: Verifying Checksum [2020-04-09T10:51:57.183Z] 777b28850792: Download complete [2020-04-09T10:51:57.459Z] 2a23fa8c16f7: Verifying Checksum [2020-04-09T10:51:57.459Z] 2a23fa8c16f7: Download complete [2020-04-09T10:51:57.459Z] 4cf88f913ddb: Verifying Checksum [2020-04-09T10:51:57.459Z] 4cf88f913ddb: Download complete [2020-04-09T10:51:57.459Z] 1df406cf5192: Verifying Checksum [2020-04-09T10:51:57.459Z] 1df406cf5192: Download complete [2020-04-09T10:51:57.460Z] cde5963f3b93: Verifying Checksum [2020-04-09T10:51:57.460Z] cde5963f3b93: Download complete [2020-04-09T10:51:58.448Z] cde5963f3b93: Pull complete [2020-04-09T10:51:59.046Z] 2a23fa8c16f7: Pull complete [2020-04-09T10:51:59.317Z] 777b28850792: Pull complete [2020-04-09T10:52:01.920Z] cd6300453558: Verifying Checksum [2020-04-09T10:52:01.920Z] cd6300453558: Download complete [2020-04-09T10:52:01.920Z] a2d8cc88f415: Download complete [2020-04-09T10:52:04.510Z] ea1d1ca13537: Verifying Checksum [2020-04-09T10:52:04.510Z] ea1d1ca13537: Download complete [2020-04-09T10:52:04.510Z] 3750a50a1c5e: Download complete [2020-04-09T10:52:07.861Z] b9c365052c96: Verifying Checksum [2020-04-09T10:52:07.861Z] b9c365052c96: Download complete [2020-04-09T10:52:08.443Z] 8a11ddd9e578: Verifying Checksum [2020-04-09T10:52:08.443Z] 8a11ddd9e578: Download complete [2020-04-09T10:52:15.167Z] Running on prd-centos7-docker-4c-2g-3047 in /w/workspace/dgexfoundry_device-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-04-09T10:52:15.231Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-04-09T10:52:17.430Z] using credential edgex-jenkins-ssh [2020-04-09T10:52:17.470Z] Cloning the remote Git repository [2020-04-09T10:52:17.471Z] Cloning with configured refspecs honoured and without tags [2020-04-09T10:52:17.574Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-09T10:52:17.606Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-04-09T10:52:17.647Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-09T10:52:17.648Z] > git --version # timeout=10 [2020-04-09T10:52:17.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-09T10:52:17.678Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-09T10:52:18.208Z] Fetching without tags [2020-04-09T10:52:18.598Z] Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit 146b11d4e6aa44b3adf140ba703a924a173316f6 [2020-04-09T10:52:18.686Z] Merge succeeded, producing 146b11d4e6aa44b3adf140ba703a924a173316f6 [2020-04-09T10:52:18.687Z] Checking out Revision 146b11d4e6aa44b3adf140ba703a924a173316f6 (PR-478) [2020-04-09T10:52:18.192Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-09T10:52:18.197Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-04-09T10:52:18.203Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-09T10:52:18.221Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-09T10:52:18.233Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-09T10:52:18.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-09T10:52:18.236Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-09T10:52:18.601Z] > git config core.sparsecheckout # timeout=10 [2020-04-09T10:52:18.610Z] > git checkout -f 146b11d4e6aa44b3adf140ba703a924a173316f6 # timeout=10 [2020-04-09T10:52:18.653Z] > git remote # timeout=10 [2020-04-09T10:52:18.658Z] > git config --get remote.origin.url # timeout=10 [2020-04-09T10:52:18.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-09T10:52:18.669Z] > git merge 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 [2020-04-09T10:52:18.677Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-09T10:52:18.685Z] > git config core.sparsecheckout # timeout=10 [2020-04-09T10:52:18.691Z] > git checkout -f 146b11d4e6aa44b3adf140ba703a924a173316f6 # timeout=10 [2020-04-09T10:52:20.773Z] 8a11ddd9e578: Pull complete [2020-04-09T10:52:20.773Z] 4cf88f913ddb: Pull complete [2020-04-09T10:52:20.773Z] 1df406cf5192: Pull complete [2020-04-09T10:52:23.701Z] Commit message: "Update to correctly support -r argument" [Pipeline] withEnv [Pipeline] { [2020-04-09T10:52:24.124Z] cd6300453558: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-09T10:52:24.540Z] ========================================================= [2020-04-09T10:52:24.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-09T10:52:24.540Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-09T10:52:25.208Z] + 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-09T10:52:25.470Z] Sending build context to Docker daemon 2.848MB [2020-04-09T10:52:25.470Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-09T10:52:25.470Z] Step 2/8 : FROM ${BASE} [2020-04-09T10:52:25.470Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-09T10:52:25.470Z] e6b0cf9c0882: Pulling fs layer [2020-04-09T10:52:25.470Z] 2848faf0eed1: Pulling fs layer [2020-04-09T10:52:25.470Z] 0f37312ad70f: Pulling fs layer [2020-04-09T10:52:25.470Z] 5788d62ee057: Pulling fs layer [2020-04-09T10:52:25.470Z] 0e6b1d234666: Pulling fs layer [2020-04-09T10:52:25.470Z] bf5d7aec512f: Pulling fs layer [2020-04-09T10:52:25.470Z] 34c802a77dc8: Pulling fs layer [2020-04-09T10:52:25.470Z] 9eb99e56ec68: Pulling fs layer [2020-04-09T10:52:25.470Z] 27c7a5d97fbd: Pulling fs layer [2020-04-09T10:52:25.470Z] 5c102a31e300: Pulling fs layer [2020-04-09T10:52:25.470Z] dcfb455df0a1: Pulling fs layer [2020-04-09T10:52:25.470Z] 5788d62ee057: Waiting [2020-04-09T10:52:25.470Z] 0e6b1d234666: Waiting [2020-04-09T10:52:25.470Z] bf5d7aec512f: Waiting [2020-04-09T10:52:25.470Z] 9eb99e56ec68: Waiting [2020-04-09T10:52:25.470Z] 34c802a77dc8: Waiting [2020-04-09T10:52:25.470Z] 27c7a5d97fbd: Waiting [2020-04-09T10:52:25.470Z] dcfb455df0a1: Waiting [2020-04-09T10:52:25.470Z] 5c102a31e300: Waiting [2020-04-09T10:52:25.470Z] 0f37312ad70f: Verifying Checksum [2020-04-09T10:52:25.470Z] 0f37312ad70f: Download complete [2020-04-09T10:52:25.470Z] 2848faf0eed1: Verifying Checksum [2020-04-09T10:52:25.470Z] 2848faf0eed1: Download complete [2020-04-09T10:52:25.470Z] 0e6b1d234666: Verifying Checksum [2020-04-09T10:52:25.470Z] 0e6b1d234666: Download complete [2020-04-09T10:52:25.733Z] bf5d7aec512f: Verifying Checksum [2020-04-09T10:52:25.733Z] bf5d7aec512f: Download complete [2020-04-09T10:52:25.733Z] e6b0cf9c0882: Verifying Checksum [2020-04-09T10:52:25.733Z] e6b0cf9c0882: Download complete [2020-04-09T10:52:26.004Z] e6b0cf9c0882: Pull complete [2020-04-09T10:52:26.597Z] 34c802a77dc8: Verifying Checksum [2020-04-09T10:52:26.597Z] 34c802a77dc8: Download complete [2020-04-09T10:52:26.597Z] 27c7a5d97fbd: Verifying Checksum [2020-04-09T10:52:26.597Z] 27c7a5d97fbd: Download complete [2020-04-09T10:52:26.871Z] 5c102a31e300: Verifying Checksum [2020-04-09T10:52:26.871Z] 5c102a31e300: Download complete [2020-04-09T10:52:26.871Z] dcfb455df0a1: Verifying Checksum [2020-04-09T10:52:26.871Z] dcfb455df0a1: Download complete [2020-04-09T10:52:27.130Z] 9eb99e56ec68: Download complete [2020-04-09T10:52:27.389Z] 5788d62ee057: Verifying Checksum [2020-04-09T10:52:27.389Z] 5788d62ee057: Download complete [2020-04-09T10:52:28.334Z] 2848faf0eed1: Pull complete [2020-04-09T10:52:28.334Z] 0f37312ad70f: Pull complete [2020-04-09T10:52:28.374Z] b9c365052c96: Pull complete [2020-04-09T10:52:28.374Z] a2d8cc88f415: Pull complete [2020-04-09T10:52:30.327Z] ea1d1ca13537: Pull complete [2020-04-09T10:52:30.598Z] 3750a50a1c5e: Pull complete [2020-04-09T10:52:30.865Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-09T10:52:30.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-09T10:52:30.865Z] ---> 78745c68409d [2020-04-09T10:52:30.865Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-09T10:52:33.614Z] 5788d62ee057: Pull complete [2020-04-09T10:52:33.614Z] 0e6b1d234666: Pull complete [2020-04-09T10:52:33.614Z] bf5d7aec512f: Pull complete [2020-04-09T10:52:36.225Z] ---> Running in a8ab99b6f671 [2020-04-09T10:52:36.225Z] Removing intermediate container a8ab99b6f671 [2020-04-09T10:52:36.225Z] ---> 2412fedc5648 [2020-04-09T10:52:36.225Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-09T10:52:36.225Z] ---> Running in e2c49d492fa1 [2020-04-09T10:52:38.186Z] Removing intermediate container e2c49d492fa1 [2020-04-09T10:52:38.186Z] ---> fd1adbeb6f41 [2020-04-09T10:52:38.186Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-09T10:52:38.456Z] ---> Running in a502d12d8afa [2020-04-09T10:52:38.887Z] 34c802a77dc8: Pull complete [2020-04-09T10:52:39.419Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-09T10:52:40.380Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-09T10:52:40.647Z] OK: 125 MiB in 39 packages [2020-04-09T10:52:41.614Z] Removing intermediate container a502d12d8afa [2020-04-09T10:52:41.614Z] ---> 6fb26cca1422 [2020-04-09T10:52:41.614Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-09T10:52:41.884Z] ---> Running in 472a9c5c27a9 [2020-04-09T10:52:42.179Z] 9eb99e56ec68: Pull complete [2020-04-09T10:52:42.179Z] 27c7a5d97fbd: Pull complete [2020-04-09T10:52:42.487Z] Removing intermediate container 472a9c5c27a9 [2020-04-09T10:52:42.487Z] ---> ed4b48493342 [2020-04-09T10:52:42.487Z] Step 7/8 : COPY . . [2020-04-09T10:52:42.752Z] 5c102a31e300: Pull complete [2020-04-09T10:52:42.752Z] dcfb455df0a1: Pull complete [2020-04-09T10:52:42.752Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-09T10:52:42.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-09T10:52:43.011Z] ---> 7c70fe431013 [2020-04-09T10:52:43.011Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-09T10:52:43.011Z] ---> Running in ac6823837454 [2020-04-09T10:52:43.011Z] Removing intermediate container ac6823837454 [2020-04-09T10:52:43.011Z] ---> ca69bcc05f7f [2020-04-09T10:52:43.011Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-09T10:52:43.011Z] ---> Running in c38428602c19 [2020-04-09T10:52:43.458Z] ---> 9a0d43d1f96d [2020-04-09T10:52:43.458Z] Step 8/8 : RUN go mod download [2020-04-09T10:52:43.728Z] ---> Running in 252312a85970 [2020-04-09T10:52:44.389Z] Removing intermediate container c38428602c19 [2020-04-09T10:52:44.389Z] ---> a8a0dafa35a1 [2020-04-09T10:52:44.389Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-09T10:52:44.389Z] ---> Running in 8e7a9bf498b9 [2020-04-09T10:52:44.957Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-09T10:52:45.524Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-09T10:52:45.683Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-09T10:52:45.683Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-09T10:52:45.683Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-09T10:52:45.683Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-09T10:52:45.683Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-09T10:52:45.683Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-09T10:52:45.683Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-09T10:52:45.683Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-09T10:52:45.683Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-09T10:52:45.683Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-09T10:52:45.683Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-09T10:52:45.683Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-09T10:52:45.683Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-09T10:52:45.684Z] go: finding github.com/fatih/color v1.7.0 [2020-04-09T10:52:45.684Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-09T10:52:45.684Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-09T10:52:45.684Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-09T10:52:45.684Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-09T10:52:45.684Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-09T10:52:45.783Z] OK: 143 MiB in 39 packages [2020-04-09T10:52:45.949Z] go: finding github.com/google/uuid v1.1.0 [2020-04-09T10:52:45.949Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-09T10:52:45.949Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-09T10:52:45.949Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-09T10:52:45.949Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-09T10:52:45.949Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-09T10:52:46.217Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-09T10:52:46.217Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-09T10:52:46.217Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-09T10:52:46.217Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-09T10:52:46.217Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-09T10:52:46.217Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-09T10:52:46.217Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-09T10:52:46.217Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-09T10:52:46.217Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-09T10:52:46.217Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-09T10:52:46.217Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-09T10:52:46.217Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-09T10:52:46.217Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-09T10:52:46.217Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-09T10:52:46.217Z] go: finding github.com/posener/complete v1.1.1 [2020-04-09T10:52:46.217Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-09T10:52:46.217Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-09T10:52:46.217Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-09T10:52:46.351Z] Removing intermediate container 8e7a9bf498b9 [2020-04-09T10:52:46.351Z] ---> 4fec54d36421 [2020-04-09T10:52:46.351Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-09T10:52:46.351Z] ---> Running in 742523c9807b [2020-04-09T10:52:46.351Z] Removing intermediate container 742523c9807b [2020-04-09T10:52:46.351Z] ---> c40d3510dd80 [2020-04-09T10:52:46.351Z] Step 7/8 : COPY . . [2020-04-09T10:52:46.485Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-09T10:52:46.485Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-09T10:52:46.485Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-09T10:52:46.485Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-09T10:52:46.485Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-09T10:52:46.485Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-09T10:52:46.485Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-09T10:52:46.485Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-09T10:52:46.485Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-09T10:52:46.918Z] ---> 66d0616c563b [2020-04-09T10:52:46.918Z] Step 8/8 : RUN go mod download [2020-04-09T10:52:46.918Z] ---> Running in 2fb227956a46 [2020-04-09T10:52:48.293Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-09T10:52:48.293Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-09T10:52:48.293Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-09T10:52:48.293Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-09T10:52:48.293Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-09T10:52:48.293Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-09T10:52:48.293Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-09T10:52:48.293Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-09T10:52:48.293Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-09T10:52:48.293Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-09T10:52:48.293Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-09T10:52:48.293Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-09T10:52:48.293Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-09T10:52:48.293Z] go: finding github.com/fatih/color v1.7.0 [2020-04-09T10:52:48.293Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-09T10:52:48.551Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-09T10:52:48.551Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-09T10:52:48.551Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-09T10:52:48.551Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-09T10:52:48.551Z] go: finding github.com/google/uuid v1.1.0 [2020-04-09T10:52:48.551Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-09T10:52:48.551Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-09T10:52:48.551Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-09T10:52:48.551Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-09T10:52:48.551Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-09T10:52:48.551Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-09T10:52:48.551Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-09T10:52:48.551Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-09T10:52:48.551Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-09T10:52:48.551Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-09T10:52:48.551Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-09T10:52:48.812Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-09T10:52:48.812Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-09T10:52:48.812Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-09T10:52:48.812Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-09T10:52:48.812Z] go: finding github.com/posener/complete v1.1.1 [2020-04-09T10:52:48.812Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-09T10:52:48.812Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-09T10:52:48.812Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-09T10:52:48.812Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-09T10:52:48.812Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-09T10:52:48.812Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-09T10:52:48.812Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-09T10:52:48.812Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-09T10:52:48.812Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-09T10:52:48.812Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-09T10:52:48.812Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-09T10:52:48.813Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-09T10:52:53.019Z] Removing intermediate container 2fb227956a46 [2020-04-09T10:52:53.019Z] ---> 3e51b1d58ebe [2020-04-09T10:52:53.019Z] Successfully built 3e51b1d58ebe [2020-04-09T10:52:53.019Z] 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-09T10:52:53.548Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-09T10:52:53.548Z] . [Pipeline] withDockerContainer [2020-04-09T10:52:53.667Z] prd-centos7-docker-4c-2g-3047 does not seem to be running inside a container [2020-04-09T10:52:53.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-09T10:52:54.259Z] $ docker top 1f2adc27841677755ffaac956b79f6fb9b228f2d4551c1f0d51511bdeb65c77c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-09T10:52:54.723Z] Removing intermediate container 252312a85970 [2020-04-09T10:52:54.723Z] ---> 23d58e4389ed [2020-04-09T10:52:54.723Z] Successfully built 23d58e4389ed [2020-04-09T10:52:54.741Z] + go version [2020-04-09T10:52:54.741Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-09T10:52:54.988Z] Successfully tagged ci-base-image-arm64:latest [2020-04-09T10:52:55.049Z] + make test [2020-04-09T10:52:55.049Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-09T10:52:55.596Z] + docker inspect -f . ci-base-image-arm64 [2020-04-09T10:52:55.703Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-09T10:52:55.863Z] . [Pipeline] withDockerContainer [2020-04-09T10:52:56.195Z] prd-ubuntu18.04-docker-arm64-4c-16g-3046 does not seem to be running inside a container [2020-04-09T10:52:56.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-09T10:52:57.664Z] $ docker top 52a7a5c24b9ce7212d008f4b4d936132e3e5e8fcb3ac2c5a38407509d0183cfb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-09T10:52:58.725Z] + go version [2020-04-09T10:52:58.725Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-09T10:52:59.387Z] + make test [2020-04-09T10:52:59.387Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-09T10:53:00.806Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-09T10:53:05.761Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-09T10:53:05.761Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-09T10:53:05.761Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 22.1% of statements [2020-04-09T10:53:11.256Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.035s coverage: 95.8% of statements [2020-04-09T10:53:27.583Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-09T10:53:27.583Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-09T10:53:30.187Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.056s coverage: 22.1% of statements [2020-04-09T10:53:31.154Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.168s coverage: 95.8% of statements [2020-04-09T10:53:37.814Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.024s coverage: 11.4% of statements [2020-04-09T10:53:37.814Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.7% of statements [2020-04-09T10:53:37.814Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-09T10:53:37.815Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.078s coverage: 38.5% of statements [2020-04-09T10:53:37.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-09T10:53:37.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-09T10:53:37.815Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.303s coverage: 79.8% of statements [2020-04-09T10:53:37.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-09T10:53:37.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-09T10:53:37.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-09T10:53:37.815Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements [2020-04-09T10:53:37.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-09T10:53:37.815Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 76.1% of statements [2020-04-09T10:53:37.815Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-09T10:53:37.815Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-09T10:53:37.815Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-09T10:53:38.076Z] gofmt -l . [2020-04-09T10:53:38.334Z] [ "`gofmt -l .`" = "" ] [2020-04-09T10:53:38.334Z] ./bin/test-attribution-txt.sh [2020-04-09T10:53:38.909Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-09T10:53:39.497Z] Stashed 1 file(s) [Pipeline] } [2020-04-09T10:53:39.504Z] $ docker stop --time=1 1f2adc27841677755ffaac956b79f6fb9b228f2d4551c1f0d51511bdeb65c77c [2020-04-09T10:53:40.972Z] $ docker rm -f 1f2adc27841677755ffaac956b79f6fb9b228f2d4551c1f0d51511bdeb65c77c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-09T10:53:42.274Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-09T10:53:42.562Z] + ls -al . [2020-04-09T10:53:42.562Z] total 160 [2020-04-09T10:53:42.562Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 9 10:53 . [2020-04-09T10:53:42.562Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 9 10:52 .. [2020-04-09T10:53:42.562Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 9 10:52 api [2020-04-09T10:53:42.562Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 9 10:52 bin [2020-04-09T10:53:42.562Z] -rw-r--r--. 1 jenkins jenkins 94997 Apr 9 10:53 coverage.out [2020-04-09T10:53:42.562Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 9 10:52 Dockerfile.build [2020-04-09T10:53:42.562Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 9 10:52 .dockerignore [2020-04-09T10:53:42.562Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 9 10:52 example [2020-04-09T10:53:42.562Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 9 10:52 .git [2020-04-09T10:53:42.562Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 9 10:52 .github [2020-04-09T10:53:42.562Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 9 10:52 .gitignore [2020-04-09T10:53:42.562Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 9 10:53 go.mod [2020-04-09T10:53:42.562Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 9 10:53 go.sum [2020-04-09T10:53:42.562Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 9 10:52 internal [2020-04-09T10:53:42.562Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 9 10:52 Jenkinsfile [2020-04-09T10:53:42.562Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 9 10:52 LICENSE [2020-04-09T10:53:42.562Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 9 10:52 Makefile [2020-04-09T10:53:42.562Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 9 10:52 pkg [2020-04-09T10:53:42.562Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 9 10:52 README.md [2020-04-09T10:53:42.562Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 9 10:52 .semver [2020-04-09T10:53:42.562Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 9 10:52 snap [2020-04-09T10:53:42.562Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 9 10:49 VERSION [2020-04-09T10:53:42.562Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 9 10:52 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-09T10:53:42.853Z] + 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=146b11d4e6aa44b3adf140ba703a924a173316f6 --label arch=amd64 --label version=0.0.0 . [2020-04-09T10:53:42.853Z] Sending build context to Docker daemon 2.964MB [2020-04-09T10:53:42.853Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-09T10:53:42.853Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-09T10:53:42.853Z] ---> 3e51b1d58ebe [2020-04-09T10:53:42.853Z] Step 3/21 : ARG MAKE='make build' [2020-04-09T10:53:43.112Z] ---> Running in 06c383350bd5 [2020-04-09T10:53:43.112Z] Removing intermediate container 06c383350bd5 [2020-04-09T10:53:43.112Z] ---> bbbcad9fca3c [2020-04-09T10:53:43.112Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-09T10:53:43.371Z] ---> Running in bb0a0ac826f7 [2020-04-09T10:53:43.939Z] Removing intermediate container bb0a0ac826f7 [2020-04-09T10:53:43.939Z] ---> df79aa38b65c [2020-04-09T10:53:43.939Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-09T10:53:43.939Z] ---> Running in 203b569c3719 [2020-04-09T10:53:43.939Z] Removing intermediate container 203b569c3719 [2020-04-09T10:53:43.939Z] ---> 63d5f1912808 [2020-04-09T10:53:43.939Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-09T10:53:44.197Z] ---> Running in f2a612f04d64 [2020-04-09T10:53:44.767Z] Removing intermediate container f2a612f04d64 [2020-04-09T10:53:44.767Z] ---> e0222c62a59d [2020-04-09T10:53:44.767Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-09T10:53:44.767Z] ---> Running in 5356a5226e04 [2020-04-09T10:53:45.338Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-09T10:53:45.904Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-09T10:53:46.471Z] OK: 143 MiB in 39 packages [2020-04-09T10:53:47.039Z] Removing intermediate container 5356a5226e04 [2020-04-09T10:53:47.039Z] ---> c9f80e522c22 [2020-04-09T10:53:47.039Z] Step 8/21 : COPY . . [2020-04-09T10:53:47.297Z] ---> ecf9440bc6f3 [2020-04-09T10:53:47.297Z] Step 9/21 : RUN ${MAKE} [2020-04-09T10:53:47.297Z] ---> Running in 26252b2ba3d0 [2020-04-09T10:53:47.557Z] 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-09T10:53:55.763Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-09T10:53:55.763Z] Removing intermediate container 26252b2ba3d0 [2020-04-09T10:53:55.763Z] ---> 26503b4cb6e4 [2020-04-09T10:53:55.763Z] Step 10/21 : FROM scratch [2020-04-09T10:53:55.763Z] ---> [2020-04-09T10:53:55.763Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-09T10:53:56.022Z] ---> Running in d24b0628fe7e [2020-04-09T10:53:56.022Z] Removing intermediate container d24b0628fe7e [2020-04-09T10:53:56.022Z] ---> 40c1fe153c0e [2020-04-09T10:53:56.022Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-09T10:53:56.022Z] ---> Running in b351167366f2 [2020-04-09T10:53:56.280Z] Removing intermediate container b351167366f2 [2020-04-09T10:53:56.280Z] ---> b953816042fc [2020-04-09T10:53:56.280Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-09T10:53:56.280Z] ---> Running in d2c6b8ea595a [2020-04-09T10:53:56.280Z] Removing intermediate container d2c6b8ea595a [2020-04-09T10:53:56.280Z] ---> 037c63998108 [2020-04-09T10:53:56.280Z] Step 14/21 : WORKDIR / [2020-04-09T10:53:56.280Z] ---> Running in d280ec5c4796 [2020-04-09T10:53:56.538Z] Removing intermediate container d280ec5c4796 [2020-04-09T10:53:56.538Z] ---> 273fdb71492b [2020-04-09T10:53:56.538Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-09T10:53:56.797Z] ---> 0ac7bb8e0016 [2020-04-09T10:53:56.797Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-09T10:53:57.055Z] ---> ea78daf8d767 [2020-04-09T10:53:57.055Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-09T10:53:57.055Z] ---> e3537f0c6d4d [2020-04-09T10:53:57.055Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-09T10:53:57.313Z] ---> Running in 0a0ee3b4146c [2020-04-09T10:53:57.313Z] Removing intermediate container 0a0ee3b4146c [2020-04-09T10:53:57.313Z] ---> bffc35672515 [2020-04-09T10:53:57.313Z] Step 19/21 : LABEL arch=amd64 [2020-04-09T10:53:57.313Z] ---> Running in 5b138c3b0a3e [2020-04-09T10:53:57.572Z] Removing intermediate container 5b138c3b0a3e [2020-04-09T10:53:57.572Z] ---> d650b87ee875 [2020-04-09T10:53:57.572Z] Step 20/21 : LABEL git_sha=146b11d4e6aa44b3adf140ba703a924a173316f6 [2020-04-09T10:53:57.572Z] ---> Running in 00434603184b [2020-04-09T10:53:57.572Z] Removing intermediate container 00434603184b [2020-04-09T10:53:57.572Z] ---> b42eb8bd9abc [2020-04-09T10:53:57.572Z] Step 21/21 : LABEL version=0.0.0 [2020-04-09T10:53:57.830Z] ---> Running in df4d606f8595 [2020-04-09T10:53:57.830Z] Removing intermediate container df4d606f8595 [2020-04-09T10:53:57.830Z] ---> 92c45557aec1 [2020-04-09T10:53:57.830Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-09T10:53:57.830Z] Successfully built 92c45557aec1 [2020-04-09T10:53:57.830Z] 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-09T10:54:03.404Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.118s coverage: 11.4% of statements [2020-04-09T10:54:03.404Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.053s coverage: 22.7% of statements [2020-04-09T10:54:03.404Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-09T10:54:03.404Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.183s coverage: 38.5% of statements [2020-04-09T10:54:03.404Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-09T10:54:03.404Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-09T10:54:03.404Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.625s coverage: 79.8% of statements [2020-04-09T10:54:03.404Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-09T10:54:03.404Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-09T10:54:03.404Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-09T10:54:03.404Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements [2020-04-09T10:54:03.404Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-09T10:54:03.404Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.349s coverage: 76.1% of statements [2020-04-09T10:54:03.404Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-09T10:54:03.404Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-09T10:54:03.404Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-09T10:54:06.765Z] gofmt -l . [2020-04-09T10:54:07.350Z] [ "`gofmt -l .`" = "" ] [2020-04-09T10:54:07.350Z] ./bin/test-attribution-txt.sh [2020-04-09T10:54:08.335Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-09T10:54:08.621Z] Warning: overwriting stash ‘coverage-report’ [2020-04-09T10:54:09.088Z] Stashed 1 file(s) [Pipeline] } [2020-04-09T10:54:09.095Z] $ docker stop --time=1 52a7a5c24b9ce7212d008f4b4d936132e3e5e8fcb3ac2c5a38407509d0183cfb [2020-04-09T10:54:11.314Z] $ docker rm -f 52a7a5c24b9ce7212d008f4b4d936132e3e5e8fcb3ac2c5a38407509d0183cfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-09T10:54:12.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-09T10:54:12.897Z] + ls -al . [2020-04-09T10:54:12.897Z] total 200 [2020-04-09T10:54:12.897Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 9 10:54 . [2020-04-09T10:54:12.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 10:51 .. [2020-04-09T10:54:12.897Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 9 10:51 .dockerignore [2020-04-09T10:54:12.897Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 9 10:51 .git [2020-04-09T10:54:12.897Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 9 10:51 .github [2020-04-09T10:54:12.897Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 9 10:51 .gitignore [2020-04-09T10:54:12.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 9 10:51 .semver [2020-04-09T10:54:12.897Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 9 10:51 Dockerfile.build [2020-04-09T10:54:12.897Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 9 10:51 Jenkinsfile [2020-04-09T10:54:12.897Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 9 10:51 LICENSE [2020-04-09T10:54:12.897Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 9 10:51 Makefile [2020-04-09T10:54:12.897Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 9 10:51 README.md [2020-04-09T10:54:12.897Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 9 10:49 VERSION [2020-04-09T10:54:12.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 9 10:51 api [2020-04-09T10:54:12.897Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 9 10:51 bin [2020-04-09T10:54:12.897Z] -rw-r--r-- 1 jenkins jenkins 94997 Apr 9 10:54 coverage.out [2020-04-09T10:54:12.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 10:51 example [2020-04-09T10:54:12.897Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 9 10:54 go.mod [2020-04-09T10:54:12.897Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 9 10:54 go.sum [2020-04-09T10:54:12.897Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 9 10:51 internal [2020-04-09T10:54:12.897Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 9 10:51 pkg [2020-04-09T10:54:12.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 10:51 snap [2020-04-09T10:54:12.897Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 9 10:51 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-09T10:54:13.221Z] + 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=146b11d4e6aa44b3adf140ba703a924a173316f6 --label arch=arm64 --label version=0.0.0 . [2020-04-09T10:54:13.803Z] Sending build context to Docker daemon 2.962MB [2020-04-09T10:54:13.803Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-09T10:54:13.803Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-09T10:54:13.803Z] ---> 23d58e4389ed [2020-04-09T10:54:13.803Z] Step 3/21 : ARG MAKE='make build' [2020-04-09T10:54:14.069Z] ---> Running in c8ca3d7e6b92 [2020-04-09T10:54:14.338Z] Removing intermediate container c8ca3d7e6b92 [2020-04-09T10:54:14.338Z] ---> 3e780235a94a [2020-04-09T10:54:14.338Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-09T10:54:14.338Z] ---> Running in 2720681e893b [2020-04-09T10:54:14.927Z] Removing intermediate container 2720681e893b [2020-04-09T10:54:14.927Z] ---> c5af04ebd31a [2020-04-09T10:54:14.927Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-09T10:54:14.927Z] ---> Running in 96b60ed70178 [2020-04-09T10:54:15.195Z] Removing intermediate container 96b60ed70178 [2020-04-09T10:54:15.195Z] ---> 13207bf10d77 [2020-04-09T10:54:15.195Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-09T10:54:15.464Z] ---> Running in 4e3d9ca0d28b [2020-04-09T10:54:17.466Z] Removing intermediate container 4e3d9ca0d28b [2020-04-09T10:54:17.467Z] ---> e6182831b4fe [2020-04-09T10:54:17.467Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-09T10:54:17.745Z] ---> Running in 52f58469780d [2020-04-09T10:54:18.720Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-09T10:54:19.427Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-09T10:54:20.381Z] OK: 125 MiB in 39 packages [2020-04-09T10:54:21.345Z] Removing intermediate container 52f58469780d [2020-04-09T10:54:21.345Z] ---> 472e33dc4ec1 [2020-04-09T10:54:21.345Z] Step 8/21 : COPY . . [2020-04-09T10:54:22.760Z] ---> 732e91fd6ac9 [2020-04-09T10:54:22.760Z] Step 9/21 : RUN ${MAKE} [2020-04-09T10:54:22.760Z] ---> Running in 234f92a611d0 [2020-04-09T10:54:23.344Z] 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-09T10:54:50.045Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-09T10:54:50.045Z] Removing intermediate container 234f92a611d0 [2020-04-09T10:54:50.045Z] ---> a463c8a338b8 [2020-04-09T10:54:50.045Z] Step 10/21 : FROM scratch [2020-04-09T10:54:50.045Z] ---> [2020-04-09T10:54:50.045Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-09T10:54:50.045Z] ---> Running in ac5cbc4f722b [2020-04-09T10:54:50.312Z] Removing intermediate container ac5cbc4f722b [2020-04-09T10:54:50.312Z] ---> 0ddfdb4425d5 [2020-04-09T10:54:50.312Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-09T10:54:50.312Z] ---> Running in 1bc633a0abc1 [2020-04-09T10:54:50.891Z] Removing intermediate container 1bc633a0abc1 [2020-04-09T10:54:50.891Z] ---> b294f5ddc748 [2020-04-09T10:54:50.891Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-09T10:54:50.891Z] ---> Running in 08d85d5cd6da [2020-04-09T10:54:51.157Z] Removing intermediate container 08d85d5cd6da [2020-04-09T10:54:51.157Z] ---> 599faa45fd6d [2020-04-09T10:54:51.157Z] Step 14/21 : WORKDIR / [2020-04-09T10:54:51.423Z] ---> Running in 75783e336124 [2020-04-09T10:54:51.690Z] Removing intermediate container 75783e336124 [2020-04-09T10:54:51.690Z] ---> 879ab6430d4d [2020-04-09T10:54:51.690Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-09T10:54:52.657Z] ---> 70486089067a [2020-04-09T10:54:52.657Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-09T10:54:53.243Z] ---> 2a706e52e05c [2020-04-09T10:54:53.243Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-09T10:54:53.828Z] ---> 8036d3ba96bc [2020-04-09T10:54:53.828Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-09T10:54:54.099Z] ---> Running in 76b9d2395f38 [2020-04-09T10:54:54.369Z] Removing intermediate container 76b9d2395f38 [2020-04-09T10:54:54.369Z] ---> 24e99d3966eb [2020-04-09T10:54:54.369Z] Step 19/21 : LABEL arch=arm64 [2020-04-09T10:54:54.640Z] ---> Running in 3f8dca4f33f8 [2020-04-09T10:54:54.908Z] Removing intermediate container 3f8dca4f33f8 [2020-04-09T10:54:54.908Z] ---> 3f9832328af7 [2020-04-09T10:54:54.908Z] Step 20/21 : LABEL git_sha=146b11d4e6aa44b3adf140ba703a924a173316f6 [2020-04-09T10:54:54.908Z] ---> Running in ae7620324663 [2020-04-09T10:54:55.176Z] Removing intermediate container ae7620324663 [2020-04-09T10:54:55.176Z] ---> 34a1cbba8767 [2020-04-09T10:54:55.176Z] Step 21/21 : LABEL version=0.0.0 [2020-04-09T10:54:55.454Z] ---> Running in 7edfd7610ac9 [2020-04-09T10:54:55.722Z] Removing intermediate container 7edfd7610ac9 [2020-04-09T10:54:55.722Z] ---> 2337939cb61f [2020-04-09T10:54:55.722Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-09T10:54:55.990Z] Successfully built 2337939cb61f [2020-04-09T10:54:55.990Z] 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-09T10:54:56.978Z] provisioning config files... [2020-04-09T10:54:56.989Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/config2576341980205620432tmp [Pipeline] { [Pipeline] sh [2020-04-09T10:54:57.345Z] + curl -s https://codecov.io/bash [2020-04-09T10:54:57.345Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/config2576341980205620432tmp [2020-04-09T10:54:57.607Z] [2020-04-09T10:54:57.607Z] _____ _ [2020-04-09T10:54:57.607Z] / ____| | | [2020-04-09T10:54:57.607Z] | | ___ __| | ___ ___ _____ __ [2020-04-09T10:54:57.607Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-09T10:54:57.607Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-09T10:54:57.607Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-09T10:54:57.607Z] Bash-tbd [2020-04-09T10:54:57.607Z] [2020-04-09T10:54:57.607Z] [2020-04-09T10:54:57.607Z] ==> Jenkins CI detected. [2020-04-09T10:54:57.607Z] project root: . [2020-04-09T10:54:57.607Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-09T10:54:57.607Z] ==> Running gcov in . (disable via -X gcov) [2020-04-09T10:54:57.607Z] ==> Python coveragepy not found [2020-04-09T10:54:57.607Z] ==> Searching for coverage reports in: [2020-04-09T10:54:57.607Z] + . [2020-04-09T10:54:57.607Z] -> Found 1 reports [2020-04-09T10:54:57.607Z] ==> Detecting git/mercurial file structure [2020-04-09T10:54:57.607Z] ==> Reading reports [2020-04-09T10:54:57.607Z] + ./coverage.out bytes=94997 [2020-04-09T10:54:57.607Z] ==> Appending adjustments [2020-04-09T10:54:57.607Z] http://docs.codecov.io/docs/fixing-reports [2020-04-09T10:54:57.868Z] + Found adjustments [2020-04-09T10:54:57.868Z] ==> Gzipping contents [2020-04-09T10:54:57.868Z] ==> Uploading reports [2020-04-09T10:54:57.868Z] url: https://codecov.io [2020-04-09T10:54:57.868Z] query: branch=PR-478&commit=146b11d4e6aa44b3adf140ba703a924a173316f6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-478%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=478&job= [2020-04-09T10:54:57.868Z] -> Pinging Codecov [2020-04-09T10:54:57.868Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-478&commit=146b11d4e6aa44b3adf140ba703a924a173316f6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-478%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=478&job= [2020-04-09T10:54:58.435Z] -> Uploading [2020-04-09T10:54:59.001Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/146b11d4e6aa44b3adf140ba703a924a173316f6 [Pipeline] } [2020-04-09T10:54:59.008Z] 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-09T10:55:00.206Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-09T10:55:00.501Z] ---> package-listing.sh [2020-04-09T10:55:00.501Z] ++ facter osfamily [2020-04-09T10:55:00.501Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-09T10:55:00.501Z] + OS_FAMILY=redhat [2020-04-09T10:55:00.501Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-478 [2020-04-09T10:55:00.501Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-09T10:55:00.501Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-09T10:55:00.501Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-09T10:55:00.501Z] + PACKAGES=/tmp/packages_start.txt [2020-04-09T10:55:00.501Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-478 ']' [2020-04-09T10:55:00.501Z] + PACKAGES=/tmp/packages_end.txt [2020-04-09T10:55:00.501Z] + case "${OS_FAMILY}" in [2020-04-09T10:55:00.501Z] + rpm -qa [2020-04-09T10:55:00.501Z] + sort [2020-04-09T10:55:04.696Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-09T10:55:04.696Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-09T10:55:04.696Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-09T10:55:04.696Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-478 ']' [2020-04-09T10:55:04.696Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-478/archives/ [2020-04-09T10:55:04.696Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-478/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-09T10:55:05.151Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-09T10:55:05.151Z] [2020-04-09T10:55:05.151Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-09T10:55:05.482Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-09T10:55:05.482Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-09T10:55:05.482Z] c9b1b535fdd9: Pulling fs layer [2020-04-09T10:55:05.482Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-09T10:55:05.482Z] 756a868c4378: Pulling fs layer [2020-04-09T10:55:05.482Z] 444b2fc9a129: Pulling fs layer [2020-04-09T10:55:05.482Z] ea15f1150254: Pulling fs layer [2020-04-09T10:55:05.482Z] 41b27a9f41bf: Pulling fs layer [2020-04-09T10:55:05.482Z] 28c525ee5125: Pulling fs layer [2020-04-09T10:55:05.482Z] 094b1ea09ed8: Pulling fs layer [2020-04-09T10:55:05.482Z] 138eaada9080: Pulling fs layer [2020-04-09T10:55:05.482Z] 0622d0fa9048: Pulling fs layer [2020-04-09T10:55:05.482Z] 41b27a9f41bf: Waiting [2020-04-09T10:55:05.482Z] ea15f1150254: Waiting [2020-04-09T10:55:05.482Z] 28c525ee5125: Waiting [2020-04-09T10:55:05.482Z] 094b1ea09ed8: Waiting [2020-04-09T10:55:05.482Z] 138eaada9080: Waiting [2020-04-09T10:55:05.482Z] 0622d0fa9048: Waiting [2020-04-09T10:55:05.482Z] 444b2fc9a129: Waiting [2020-04-09T10:55:05.482Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-09T10:55:05.482Z] 2cc5ad85d9ab: Download complete [2020-04-09T10:55:05.482Z] 444b2fc9a129: Download complete [2020-04-09T10:55:05.482Z] c9b1b535fdd9: Download complete [2020-04-09T10:55:05.482Z] ea15f1150254: Verifying Checksum [2020-04-09T10:55:05.482Z] ea15f1150254: Download complete [2020-04-09T10:55:05.482Z] 28c525ee5125: Download complete [2020-04-09T10:55:05.750Z] c9b1b535fdd9: Pull complete [2020-04-09T10:55:06.016Z] 756a868c4378: Verifying Checksum [2020-04-09T10:55:06.016Z] 756a868c4378: Download complete [2020-04-09T10:55:06.016Z] 2cc5ad85d9ab: Pull complete [2020-04-09T10:55:06.016Z] 094b1ea09ed8: Verifying Checksum [2020-04-09T10:55:06.016Z] 094b1ea09ed8: Download complete [2020-04-09T10:55:06.016Z] 138eaada9080: Verifying Checksum [2020-04-09T10:55:06.016Z] 138eaada9080: Download complete [2020-04-09T10:55:06.016Z] 0622d0fa9048: Verifying Checksum [2020-04-09T10:55:06.016Z] 0622d0fa9048: Download complete [2020-04-09T10:55:06.584Z] 41b27a9f41bf: Verifying Checksum [2020-04-09T10:55:06.584Z] 41b27a9f41bf: Download complete [2020-04-09T10:55:07.523Z] 756a868c4378: Pull complete [2020-04-09T10:55:07.523Z] 444b2fc9a129: Pull complete [2020-04-09T10:55:07.782Z] ea15f1150254: Pull complete [2020-04-09T10:55:11.070Z] 41b27a9f41bf: Pull complete [2020-04-09T10:55:11.070Z] 28c525ee5125: Pull complete [2020-04-09T10:55:12.978Z] 094b1ea09ed8: Pull complete [2020-04-09T10:55:13.236Z] 138eaada9080: Pull complete [2020-04-09T10:55:13.497Z] 0622d0fa9048: Pull complete [2020-04-09T10:55:13.497Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-09T10:55:13.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-09T10:55:13.646Z] prd-centos7-docker-4c-2g-3045 does not seem to be running inside a container [2020-04-09T10:55:13.691Z] $ 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-478 -v /w/workspace/dgexfoundry_device-sdk-go_PR-478:/w/workspace/dgexfoundry_device-sdk-go_PR-478:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-478@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-09T10:55:14.706Z] $ docker top c0b54a51471d63eef5dbfd123c0bc9cb8599f190fb23afb30d35a3608e50c5a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-09T10:55:14.994Z] provisioning config files... [2020-04-09T10:55:15.009Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-478@tmp/config8196725152291201315tmp [Pipeline] { [Pipeline] echo [2020-04-09T10:55:15.061Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-09T10:55:15.366Z] ---> create-netrc.sh [Pipeline] echo [2020-04-09T10:55:15.373Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-09T10:55:15.659Z] ---> logs-deploy.sh [2020-04-09T10:55:15.659Z] + ARCHIVE_ARTIFACTS= [2020-04-09T10:55:15.659Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-09T10:55:15.659Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-09T10:55:15.659Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-09T10:55:15.659Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-478/2 [2020-04-09T10:55:15.659Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-478/2/ [2020-04-09T10:55:15.659Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-478/2 /w/workspace/dgexfoundry_device-sdk-go_PR-478 [2020-04-09T10:55:16.594Z] Archives upload complete. [2020-04-09T10:55:16.853Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-478/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-478/2/