Pull request #499 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 11599fec544a3b4af0d17b6529789613b5afe41c rather than f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 Obtained Jenkinsfile from 11599fec544a3b4af0d17b6529789613b5afe41c 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5167 in /w/workspace/dgexfoundry_device-sdk-go_PR-499 [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-499 # timeout=10 Fetching without tags 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/499/head:refs/remotes/origin/PR-499 +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/499/head:refs/remotes/origin/PR-499 # 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/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 11599fec544a3b4af0d17b6529789613b5afe41c into PR head commit f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 Merge succeeded, producing f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 Checking out Revision f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 (PR-499) > git config core.sparsecheckout # timeout=10 > git checkout -f f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 # 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 11599fec544a3b4af0d17b6529789613b5afe41c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 # timeout=10 Commit message: "Parse base64 string as float value Since user can execute put cmd with the base64 string parameter, device-sdk should parse base64 string as float value when user indicate the data type is float32 or float64." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T06:22:02.112Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T06:22:02.317Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T06:22:02.381Z] ========================================================= [2020-04-21T06:22:02.381Z] EdgeX Global Pipelines Version Info [2020-04-21T06:22:02.381Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7fbf4af7ed5fd83fc37150038563a9f7a3db68b3 # timeout=10 [2020-04-21T06:22:03.775Z] ------------------- [2020-04-21T06:22:03.775Z] stable info: [2020-04-21T06:22:03.775Z] ------------------- [2020-04-21T06:22:03.775Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T06:22:03.775Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T06:22:03.775Z] Message: update stable to v1.0.73 [2020-04-21T06:22:04.344Z] ------------------- [2020-04-21T06:22:04.344Z] experimental info: [2020-04-21T06:22:04.344Z] ------------------- [2020-04-21T06:22:04.344Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T06:22:04.344Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T06:22:04.344Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-21T06:22:06.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T06:22:06.228Z] [2020-04-21T06:22:06.228Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T06:22:06.556Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T06:22:06.556Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T06:22:06.556Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T06:22:06.556Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T06:22:06.556Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T06:22:06.556Z] 93b08a4f1073: Pulling fs layer [2020-04-21T06:22:06.556Z] 93b08a4f1073: Waiting [2020-04-21T06:22:06.556Z] b8cc5d1170e3: Verifying Checksum [2020-04-21T06:22:06.556Z] b8cc5d1170e3: Download complete [2020-04-21T06:22:06.556Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T06:22:06.556Z] 9123ac7c32f7: Download complete [2020-04-21T06:22:06.817Z] 93b08a4f1073: Verifying Checksum [2020-04-21T06:22:06.817Z] 93b08a4f1073: Download complete [2020-04-21T06:22:06.817Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T06:22:06.817Z] 2924cbbf6a41: Download complete [2020-04-21T06:22:06.817Z] 9123ac7c32f7: Pull complete [2020-04-21T06:22:07.076Z] b8cc5d1170e3: Pull complete [2020-04-21T06:22:07.643Z] 2924cbbf6a41: Pull complete [2020-04-21T06:22:07.901Z] 93b08a4f1073: Pull complete [2020-04-21T06:22:07.901Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T06:22:07.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T06:22:08.026Z] prd-centos7-docker-4c-2g-5167 does not seem to be running inside a container [2020-04-21T06:22:08.074Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-499 -v /w/workspace/dgexfoundry_device-sdk-go_PR-499:/w/workspace/dgexfoundry_device-sdk-go_PR-499:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-499@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:10004/edgex-devops/git-semver:latest cat [2020-04-21T06:22:08.650Z] $ docker top 18277e8e6c2318ae0094c3bfecf6ffe7663bf334ea0131ca6112907c3c317675 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T06:22:08.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T06:22:08.893Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T06:22:09.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T06:22:09.103Z] $ docker exec 18277e8e6c2318ae0094c3bfecf6ffe7663bf334ea0131ca6112907c3c317675 ssh-agent [2020-04-21T06:22:09.295Z] SSH_AUTH_SOCK=/tmp/ssh-zb5hk1TsaZSU/agent.15 [2020-04-21T06:22:09.295Z] SSH_AGENT_PID=22 [2020-04-21T06:22:09.303Z] Running ssh-add (command line suppressed) [2020-04-21T06:22:09.442Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_5665211167228194162.key (/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_5665211167228194162.key) [2020-04-21T06:22:09.486Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T06:22:09.815Z] + git describe --exact-match --tags HEAD [2020-04-21T06:22:09.815Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T06:22:09.873Z] $ docker exec --env ******** --env ******** 18277e8e6c2318ae0094c3bfecf6ffe7663bf334ea0131ca6112907c3c317675 ssh-agent -k [2020-04-21T06:22:10.012Z] unset SSH_AUTH_SOCK; [2020-04-21T06:22:10.013Z] unset SSH_AGENT_PID; [2020-04-21T06:22:10.013Z] echo Agent pid 22 killed; [2020-04-21T06:22:10.049Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T06:22:10.113Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T06:22:10.113Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T06:22:10.188Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T06:22:10.188Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T06:22:10.363Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T06:22:10.374Z] $ docker exec 18277e8e6c2318ae0094c3bfecf6ffe7663bf334ea0131ca6112907c3c317675 ssh-agent [2020-04-21T06:22:10.549Z] SSH_AUTH_SOCK=/tmp/ssh-u9VI2YxZgnL1/agent.56 [2020-04-21T06:22:10.549Z] SSH_AGENT_PID=63 [2020-04-21T06:22:10.555Z] Running ssh-add (command line suppressed) [2020-04-21T06:22:10.702Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_3680458228021190657.key (/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_3680458228021190657.key) [2020-04-21T06:22:10.745Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T06:22:11.463Z] + git semver init [2020-04-21T06:22:11.463Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T06:22:11.463Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-499/.git [2020-04-21T06:22:11.463Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-499 [2020-04-21T06:22:11.463Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T06:22:11.463Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T06:22:11.463Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T06:22:11.463Z] # $SEMVER_BRANCH = PR-499 [2020-04-21T06:22:11.463Z] # $SEMVER_TEMP = /tmp/semver-525202281 [2020-04-21T06:22:11.463Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-21T06:22:12.029Z] # '/tmp/semver-525202281' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-499/.semver' [2020-04-21T06:22:12.029Z] # -> Force: false [2020-04-21T06:22:12.029Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-499/.semver [Pipeline] } [2020-04-21T06:22:12.042Z] $ docker exec --env ******** --env ******** 18277e8e6c2318ae0094c3bfecf6ffe7663bf334ea0131ca6112907c3c317675 ssh-agent -k [2020-04-21T06:22:12.182Z] unset SSH_AUTH_SOCK; [2020-04-21T06:22:12.182Z] unset SSH_AGENT_PID; [2020-04-21T06:22:12.183Z] echo Agent pid 63 killed; [2020-04-21T06:22:12.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T06:22:12.667Z] + git semver [Pipeline] } [2020-04-21T06:22:12.684Z] $ docker stop --time=1 18277e8e6c2318ae0094c3bfecf6ffe7663bf334ea0131ca6112907c3c317675 [2020-04-21T06:22:14.072Z] $ docker rm -f 18277e8e6c2318ae0094c3bfecf6ffe7663bf334ea0131ca6112907c3c317675 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T06:22:14.937Z] Stashed 49 file(s) [Pipeline] echo [2020-04-21T06:22:14.939Z] [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-21T06:22:30.161Z] Still waiting to schedule task [2020-04-21T06:22:30.161Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T06:22:30.163Z] Still waiting to schedule task [2020-04-21T06:22:30.163Z] ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4592’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5133’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5168’ is offline [2020-04-21T06:26:07.960Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5169 in /w/workspace/dgexfoundry_device-sdk-go_PR-499 [Pipeline] { [Pipeline] ws [2020-04-21T06:26:07.998Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-04-21T06:26:13.765Z] using credential edgex-jenkins-ssh [2020-04-21T06:26:13.819Z] Cloning the remote Git repository [2020-04-21T06:26:13.820Z] Cloning with configured refspecs honoured and without tags [2020-04-21T06:26:13.942Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T06:26:14.044Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-04-21T06:26:14.148Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T06:26:14.150Z] > git --version # timeout=10 [2020-04-21T06:26:14.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T06:26:14.280Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T06:26:15.441Z] Fetching without tags [2020-04-21T06:26:15.318Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T06:26:15.348Z] > git config --add remote.origin.fetch +refs/pull/499/head:refs/remotes/origin/PR-499 # timeout=10 [2020-04-21T06:26:15.372Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T06:26:15.400Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T06:26:15.454Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T06:26:15.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T06:26:15.467Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T06:26:15.882Z] Merging remotes/origin/master commit 11599fec544a3b4af0d17b6529789613b5afe41c into PR head commit f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 [2020-04-21T06:26:16.235Z] Merge succeeded, producing f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 [2020-04-21T06:26:16.236Z] Checking out Revision f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 (PR-499) [2020-04-21T06:26:15.901Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T06:26:15.929Z] > git checkout -f f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 # timeout=10 [2020-04-21T06:26:16.084Z] > git remote # timeout=10 [2020-04-21T06:26:16.118Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T06:26:16.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T06:26:16.174Z] > git merge 11599fec544a3b4af0d17b6529789613b5afe41c # timeout=10 [2020-04-21T06:26:16.202Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T06:26:16.244Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T06:26:16.288Z] > git checkout -f f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 # timeout=10 [2020-04-21T06:26:19.502Z] Running on prd-centos7-docker-4c-2g-5170 in /w/workspace/dgexfoundry_device-sdk-go_PR-499 [Pipeline] { [Pipeline] ws [2020-04-21T06:26:19.566Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-04-21T06:26:20.774Z] Commit message: "Parse base64 string as float value Since user can execute put cmd with the base64 string parameter, device-sdk should parse base64 string as float value when user indicate the data type is float32 or float64." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T06:26:22.029Z] ========================================================= [2020-04-21T06:26:22.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T06:26:22.029Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T06:26:23.310Z] + 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-21T06:26:24.280Z] Sending build context to Docker daemon 2.937MB [2020-04-21T06:26:24.280Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T06:26:24.280Z] Step 2/8 : FROM ${BASE} [2020-04-21T06:26:24.871Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T06:26:24.871Z] cde5963f3b93: Pulling fs layer [2020-04-21T06:26:24.871Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T06:26:24.871Z] 777b28850792: Pulling fs layer [2020-04-21T06:26:24.871Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T06:26:24.871Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T06:26:24.871Z] 1df406cf5192: Pulling fs layer [2020-04-21T06:26:24.871Z] cd6300453558: Pulling fs layer [2020-04-21T06:26:24.871Z] b9c365052c96: Pulling fs layer [2020-04-21T06:26:24.871Z] a2d8cc88f415: Pulling fs layer [2020-04-21T06:26:24.871Z] ea1d1ca13537: Pulling fs layer [2020-04-21T06:26:24.871Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T06:26:24.871Z] 8a11ddd9e578: Waiting [2020-04-21T06:26:24.871Z] 4cf88f913ddb: Waiting [2020-04-21T06:26:24.871Z] 1df406cf5192: Waiting [2020-04-21T06:26:24.871Z] b9c365052c96: Waiting [2020-04-21T06:26:24.871Z] a2d8cc88f415: Waiting [2020-04-21T06:26:24.871Z] cd6300453558: Waiting [2020-04-21T06:26:24.871Z] ea1d1ca13537: Waiting [2020-04-21T06:26:24.871Z] 3750a50a1c5e: Waiting [2020-04-21T06:26:24.871Z] 777b28850792: Verifying Checksum [2020-04-21T06:26:24.871Z] 777b28850792: Download complete [2020-04-21T06:26:24.871Z] 2a23fa8c16f7: Download complete [2020-04-21T06:26:24.871Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T06:26:24.871Z] 4cf88f913ddb: Download complete [2020-04-21T06:26:24.871Z] 1df406cf5192: Verifying Checksum [2020-04-21T06:26:24.871Z] 1df406cf5192: Download complete [2020-04-21T06:26:24.871Z] cde5963f3b93: Verifying Checksum [2020-04-21T06:26:25.844Z] cde5963f3b93: Pull complete [2020-04-21T06:26:26.010Z] using credential edgex-jenkins-ssh [2020-04-21T06:26:26.056Z] Cloning the remote Git repository [2020-04-21T06:26:26.056Z] Cloning with configured refspecs honoured and without tags [2020-04-21T06:26:26.437Z] 2a23fa8c16f7: Pull complete [2020-04-21T06:26:26.708Z] 777b28850792: Pull complete [2020-04-21T06:26:26.166Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T06:26:26.421Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-04-21T06:26:26.551Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T06:26:26.552Z] > git --version # timeout=10 [2020-04-21T06:26:26.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T06:26:26.686Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T06:26:27.507Z] Fetching without tags [2020-04-21T06:26:27.944Z] Merging remotes/origin/master commit 11599fec544a3b4af0d17b6529789613b5afe41c into PR head commit f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 [2020-04-21T06:26:27.437Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T06:26:27.446Z] > git config --add remote.origin.fetch +refs/pull/499/head:refs/remotes/origin/PR-499 # timeout=10 [2020-04-21T06:26:27.454Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T06:26:27.474Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T06:26:27.516Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T06:26:27.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T06:26:27.523Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T06:26:27.958Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T06:26:28.011Z] > git checkout -f f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 # timeout=10 [2020-04-21T06:26:28.410Z] Merge succeeded, producing f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 [2020-04-21T06:26:28.410Z] Checking out Revision f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 (PR-499) [2020-04-21T06:26:29.297Z] cd6300453558: Verifying Checksum [2020-04-21T06:26:29.297Z] cd6300453558: Download complete [2020-04-21T06:26:29.297Z] a2d8cc88f415: Download complete [2020-04-21T06:26:28.205Z] > git remote # timeout=10 [2020-04-21T06:26:28.242Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T06:26:28.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T06:26:28.390Z] > git merge 11599fec544a3b4af0d17b6529789613b5afe41c # timeout=10 [2020-04-21T06:26:28.402Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T06:26:28.415Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T06:26:28.423Z] > git checkout -f f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 # timeout=10 [2020-04-21T06:26:31.887Z] ea1d1ca13537: Verifying Checksum [2020-04-21T06:26:31.887Z] ea1d1ca13537: Download complete [2020-04-21T06:26:31.887Z] 3750a50a1c5e: Download complete [2020-04-21T06:26:32.609Z] Commit message: "Parse base64 string as float value Since user can execute put cmd with the base64 string parameter, device-sdk should parse base64 string as float value when user indicate the data type is float32 or float64." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T06:26:33.845Z] ========================================================= [2020-04-21T06:26:33.845Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T06:26:33.845Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T06:26:34.474Z] b9c365052c96: Verifying Checksum [2020-04-21T06:26:34.474Z] b9c365052c96: Download complete [2020-04-21T06:26:34.899Z] + 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-21T06:26:35.167Z] Sending build context to Docker daemon 2.937MB [2020-04-21T06:26:35.167Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T06:26:35.167Z] Step 2/8 : FROM ${BASE} [2020-04-21T06:26:35.438Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T06:26:35.438Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T06:26:35.438Z] 2848faf0eed1: Pulling fs layer [2020-04-21T06:26:35.438Z] 0f37312ad70f: Pulling fs layer [2020-04-21T06:26:35.438Z] 5788d62ee057: Pulling fs layer [2020-04-21T06:26:35.438Z] 0e6b1d234666: Pulling fs layer [2020-04-21T06:26:35.438Z] bf5d7aec512f: Pulling fs layer [2020-04-21T06:26:35.438Z] 34c802a77dc8: Pulling fs layer [2020-04-21T06:26:35.438Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T06:26:35.438Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T06:26:35.438Z] 5c102a31e300: Pulling fs layer [2020-04-21T06:26:35.438Z] dcfb455df0a1: Pulling fs layer [2020-04-21T06:26:35.438Z] 34c802a77dc8: Waiting [2020-04-21T06:26:35.438Z] 9eb99e56ec68: Waiting [2020-04-21T06:26:35.438Z] 27c7a5d97fbd: Waiting [2020-04-21T06:26:35.438Z] 5c102a31e300: Waiting [2020-04-21T06:26:35.438Z] dcfb455df0a1: Waiting [2020-04-21T06:26:35.438Z] 5788d62ee057: Waiting [2020-04-21T06:26:35.438Z] 0e6b1d234666: Waiting [2020-04-21T06:26:35.438Z] bf5d7aec512f: Waiting [2020-04-21T06:26:35.438Z] 0f37312ad70f: Verifying Checksum [2020-04-21T06:26:35.438Z] 0f37312ad70f: Download complete [2020-04-21T06:26:35.438Z] 2848faf0eed1: Verifying Checksum [2020-04-21T06:26:35.438Z] 2848faf0eed1: Download complete [2020-04-21T06:26:35.438Z] 0e6b1d234666: Verifying Checksum [2020-04-21T06:26:35.438Z] 0e6b1d234666: Download complete [2020-04-21T06:26:35.438Z] bf5d7aec512f: Verifying Checksum [2020-04-21T06:26:35.438Z] bf5d7aec512f: Download complete [2020-04-21T06:26:35.438Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T06:26:35.438Z] e6b0cf9c0882: Download complete [2020-04-21T06:26:36.425Z] 8a11ddd9e578: Download complete [2020-04-21T06:26:36.462Z] e6b0cf9c0882: Pull complete [2020-04-21T06:26:37.081Z] 2848faf0eed1: Pull complete [2020-04-21T06:26:37.674Z] 34c802a77dc8: Verifying Checksum [2020-04-21T06:26:37.674Z] 34c802a77dc8: Download complete [2020-04-21T06:26:37.674Z] 27c7a5d97fbd: Verifying Checksum [2020-04-21T06:26:37.674Z] 27c7a5d97fbd: Download complete [2020-04-21T06:26:37.674Z] 0f37312ad70f: Pull complete [2020-04-21T06:26:39.264Z] 5788d62ee057: Verifying Checksum [2020-04-21T06:26:39.264Z] 5788d62ee057: Download complete [2020-04-21T06:26:40.111Z] dcfb455df0a1: Verifying Checksum [2020-04-21T06:26:40.111Z] dcfb455df0a1: Download complete [2020-04-21T06:26:40.111Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T06:26:40.111Z] 9eb99e56ec68: Download complete [2020-04-21T06:26:41.246Z] 5c102a31e300: Verifying Checksum [2020-04-21T06:26:41.246Z] 5c102a31e300: Download complete [2020-04-21T06:26:48.750Z] 8a11ddd9e578: Pull complete [2020-04-21T06:26:48.750Z] 4cf88f913ddb: Pull complete [2020-04-21T06:26:48.750Z] 1df406cf5192: Pull complete [2020-04-21T06:26:51.551Z] 5788d62ee057: Pull complete [2020-04-21T06:26:51.551Z] 0e6b1d234666: Pull complete [2020-04-21T06:26:51.551Z] bf5d7aec512f: Pull complete [2020-04-21T06:26:53.025Z] cd6300453558: Pull complete [2020-04-21T06:26:57.032Z] 34c802a77dc8: Pull complete [2020-04-21T06:26:57.286Z] b9c365052c96: Pull complete [2020-04-21T06:26:57.552Z] a2d8cc88f415: Pull complete [2020-04-21T06:27:00.154Z] ea1d1ca13537: Pull complete [2020-04-21T06:27:00.154Z] 3750a50a1c5e: Pull complete [2020-04-21T06:27:00.422Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T06:27:00.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T06:27:00.422Z] ---> 78745c68409d [2020-04-21T06:27:00.422Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T06:27:01.394Z] 9eb99e56ec68: Pull complete [2020-04-21T06:27:01.394Z] 27c7a5d97fbd: Pull complete [2020-04-21T06:27:02.810Z] 5c102a31e300: Pull complete [2020-04-21T06:27:02.810Z] dcfb455df0a1: Pull complete [2020-04-21T06:27:02.810Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T06:27:02.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T06:27:02.810Z] ---> 7c70fe431013 [2020-04-21T06:27:02.810Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T06:27:02.810Z] ---> Running in 0d1150737b1e [2020-04-21T06:27:03.077Z] Removing intermediate container 0d1150737b1e [2020-04-21T06:27:03.077Z] ---> 7cabae93f453 [2020-04-21T06:27:03.077Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T06:27:03.077Z] ---> Running in 9f955a5b4d0a [2020-04-21T06:27:04.699Z] ---> Running in 63ef3c46d9f3 [2020-04-21T06:27:04.699Z] Removing intermediate container 63ef3c46d9f3 [2020-04-21T06:27:04.699Z] ---> c32e11e04e52 [2020-04-21T06:27:04.699Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T06:27:04.699Z] ---> Running in cc7fc4b9d2f4 [2020-04-21T06:27:05.061Z] Removing intermediate container 9f955a5b4d0a [2020-04-21T06:27:05.062Z] ---> e9a583c58ffa [2020-04-21T06:27:05.062Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T06:27:05.062Z] ---> Running in 3bb75aec8fff [2020-04-21T06:27:05.638Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T06:27:06.600Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T06:27:06.649Z] Removing intermediate container cc7fc4b9d2f4 [2020-04-21T06:27:06.649Z] ---> b87a70cc91f5 [2020-04-21T06:27:06.649Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T06:27:06.916Z] ---> Running in 3441c0a3aedc [2020-04-21T06:27:07.020Z] OK: 143 MiB in 39 packages [2020-04-21T06:27:07.632Z] Removing intermediate container 3bb75aec8fff [2020-04-21T06:27:07.632Z] ---> dc7b7fee5d60 [2020-04-21T06:27:07.632Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T06:27:07.632Z] ---> Running in 20c6337b1c62 [2020-04-21T06:27:07.888Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T06:27:08.097Z] Removing intermediate container 20c6337b1c62 [2020-04-21T06:27:08.097Z] ---> 3a7b409c40b5 [2020-04-21T06:27:08.097Z] Step 7/8 : COPY . . [2020-04-21T06:27:08.712Z] ---> 700b1cd7aee7 [2020-04-21T06:27:08.712Z] Step 8/8 : RUN go mod download [2020-04-21T06:27:08.712Z] ---> Running in e0892c47b724 [2020-04-21T06:27:08.858Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T06:27:09.445Z] OK: 125 MiB in 39 packages [2020-04-21T06:27:10.408Z] Removing intermediate container 3441c0a3aedc [2020-04-21T06:27:10.408Z] ---> ae21748fca95 [2020-04-21T06:27:10.408Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T06:27:10.675Z] ---> Running in aa12e68ff0b0 [2020-04-21T06:27:10.942Z] Removing intermediate container aa12e68ff0b0 [2020-04-21T06:27:10.942Z] ---> c79b4ca75708 [2020-04-21T06:27:10.942Z] Step 7/8 : COPY . . [2020-04-21T06:27:11.413Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T06:27:11.413Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T06:27:11.413Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T06:27:11.413Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T06:27:11.413Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T06:27:11.413Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T06:27:11.413Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T06:27:11.413Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T06:27:11.413Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T06:27:11.413Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T06:27:11.413Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T06:27:11.413Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T06:27:11.413Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T06:27:11.413Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T06:27:11.413Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T06:27:11.413Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T06:27:11.413Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T06:27:11.413Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T06:27:11.413Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T06:27:11.413Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T06:27:11.413Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T06:27:11.413Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T06:27:11.685Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T06:27:11.685Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T06:27:11.685Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T06:27:11.685Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T06:27:11.685Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T06:27:11.685Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T06:27:11.685Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T06:27:11.685Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T06:27:11.685Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T06:27:11.685Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T06:27:11.685Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T06:27:11.685Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T06:27:11.899Z] ---> 7200a6f6d2bd [2020-04-21T06:27:11.899Z] Step 8/8 : RUN go mod download [2020-04-21T06:27:11.959Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T06:27:11.959Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T06:27:11.959Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T06:27:11.959Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T06:27:11.959Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T06:27:11.959Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T06:27:11.959Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T06:27:11.959Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T06:27:11.959Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T06:27:11.959Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T06:27:11.959Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T06:27:11.959Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T06:27:11.959Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T06:27:11.959Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T06:27:12.171Z] ---> Running in 21ad5322f611 [2020-04-21T06:27:14.138Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T06:27:14.138Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T06:27:14.138Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T06:27:14.138Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T06:27:14.138Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T06:27:14.138Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T06:27:14.138Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T06:27:14.138Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T06:27:14.138Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T06:27:14.138Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T06:27:14.138Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T06:27:14.138Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T06:27:14.138Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T06:27:14.138Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T06:27:14.138Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T06:27:14.138Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T06:27:14.138Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T06:27:14.138Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T06:27:14.138Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T06:27:14.138Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T06:27:14.138Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T06:27:14.138Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T06:27:14.405Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T06:27:14.405Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T06:27:14.405Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T06:27:14.405Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T06:27:14.405Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T06:27:14.405Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T06:27:14.405Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T06:27:14.405Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T06:27:14.405Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T06:27:14.405Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T06:27:14.405Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T06:27:14.405Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T06:27:14.671Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T06:27:14.671Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T06:27:14.671Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T06:27:14.671Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T06:27:14.671Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T06:27:14.671Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T06:27:14.671Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T06:27:14.671Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T06:27:14.671Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T06:27:14.671Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T06:27:14.671Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T06:27:14.671Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T06:27:14.671Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T06:27:14.671Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T06:27:14.671Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T06:27:14.671Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T06:27:14.671Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T06:27:14.671Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T06:27:14.671Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T06:27:17.273Z] Removing intermediate container e0892c47b724 [2020-04-21T06:27:17.273Z] ---> 51e2b215c7f6 [2020-04-21T06:27:17.273Z] Successfully built 51e2b215c7f6 [2020-04-21T06:27:17.273Z] 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-21T06:27:17.883Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T06:27:18.150Z] . [Pipeline] withDockerContainer [2020-04-21T06:27:18.935Z] prd-centos7-docker-4c-2g-5170 does not seem to be running inside a container [2020-04-21T06:27:19.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-21T06:27:20.500Z] $ docker top 84a130d5b74d1808bcf8d23aa1dc1299613993b613b6c48ce81d6d0b691e3fbf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T06:27:21.974Z] + go version [2020-04-21T06:27:21.974Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-21T06:27:22.355Z] + make test [2020-04-21T06:27:22.355Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T06:27:24.402Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T06:27:24.758Z] Removing intermediate container 21ad5322f611 [2020-04-21T06:27:24.758Z] ---> 83c650cc4019 [2020-04-21T06:27:24.758Z] Successfully built 83c650cc4019 [2020-04-21T06:27:24.758Z] 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-21T06:27:25.360Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T06:27:25.628Z] . [Pipeline] withDockerContainer [2020-04-21T06:27:26.004Z] prd-ubuntu18.04-docker-arm64-4c-16g-5169 does not seem to be running inside a container [2020-04-21T06:27:26.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** ci-base-image-arm64 cat [2020-04-21T06:27:27.690Z] $ docker top e58cc9e71826bfe175a29f7ea0a7413958b014063a89f7fffac8ccfe147b0e58 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T06:27:28.798Z] + go version [2020-04-21T06:27:28.798Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T06:27:29.443Z] + make test [2020-04-21T06:27:29.444Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T06:27:30.866Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T06:27:43.111Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T06:27:43.111Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T06:27:43.111Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T06:27:43.111Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.550s coverage: 22.1% of statements [2020-04-21T06:27:48.517Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.122s coverage: 95.8% of statements [2020-04-21T06:28:03.196Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T06:28:03.196Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T06:28:03.196Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T06:28:03.196Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.022s coverage: 22.1% of statements [2020-04-21T06:28:04.170Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.171s coverage: 95.8% of statements [2020-04-21T06:28:15.578Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.049s coverage: 11.4% of statements [2020-04-21T06:28:15.578Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.035s coverage: 21.7% of statements [2020-04-21T06:28:15.578Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T06:28:15.578Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.197s coverage: 36.9% of statements [2020-04-21T06:28:15.578Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T06:28:15.578Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T06:28:15.578Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.011s coverage: 76.2% of statements [2020-04-21T06:28:15.578Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T06:28:15.578Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T06:28:15.578Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T06:28:15.578Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.025s coverage: 52.6% of statements [2020-04-21T06:28:15.578Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T06:28:15.578Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.136s coverage: 71.4% of statements [2020-04-21T06:28:15.578Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T06:28:15.578Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T06:28:15.578Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T06:28:15.849Z] gofmt -l . [2020-04-21T06:28:16.128Z] [ "`gofmt -l .`" = "" ] [2020-04-21T06:28:16.397Z] ./bin/test-attribution-txt.sh [2020-04-21T06:28:17.789Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T06:28:19.100Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T06:28:19.108Z] $ docker stop --time=1 84a130d5b74d1808bcf8d23aa1dc1299613993b613b6c48ce81d6d0b691e3fbf [2020-04-21T06:28:20.880Z] $ docker rm -f 84a130d5b74d1808bcf8d23aa1dc1299613993b613b6c48ce81d6d0b691e3fbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T06:28:22.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T06:28:22.658Z] + ls -al . [2020-04-21T06:28:22.658Z] total 164 [2020-04-21T06:28:22.658Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 06:28 . [2020-04-21T06:28:22.658Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 06:26 .. [2020-04-21T06:28:22.658Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 06:26 api [2020-04-21T06:28:22.658Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 06:26 bin [2020-04-21T06:28:22.658Z] -rw-r--r--. 1 jenkins jenkins 98990 Apr 21 06:28 coverage.out [2020-04-21T06:28:22.658Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 06:26 Dockerfile.build [2020-04-21T06:28:22.658Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 06:26 .dockerignore [2020-04-21T06:28:22.658Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 06:26 example [2020-04-21T06:28:22.658Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 06:26 .git [2020-04-21T06:28:22.658Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 06:26 .github [2020-04-21T06:28:22.658Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 06:26 .gitignore [2020-04-21T06:28:22.658Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 21 06:28 go.mod [2020-04-21T06:28:22.658Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 06:28 go.sum [2020-04-21T06:28:22.658Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 06:26 internal [2020-04-21T06:28:22.658Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 06:26 Jenkinsfile [2020-04-21T06:28:22.658Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 06:26 LICENSE [2020-04-21T06:28:22.658Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 06:26 Makefile [2020-04-21T06:28:22.658Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 06:26 pkg [2020-04-21T06:28:22.658Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 06:26 README.md [2020-04-21T06:28:22.658Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 06:26 .semver [2020-04-21T06:28:22.658Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 06:26 snap [2020-04-21T06:28:22.658Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 06:22 VERSION [2020-04-21T06:28:22.658Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 06:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T06:28:23.038Z] + 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=f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 --label arch=amd64 --label version=0.0.0 . [2020-04-21T06:28:23.317Z] Sending build context to Docker daemon 3.058MB [2020-04-21T06:28:23.317Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T06:28:23.317Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T06:28:23.317Z] ---> 51e2b215c7f6 [2020-04-21T06:28:23.317Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T06:28:23.317Z] ---> Running in 63a1c0f9829e [2020-04-21T06:28:23.585Z] Removing intermediate container 63a1c0f9829e [2020-04-21T06:28:23.585Z] ---> 101def7b13e3 [2020-04-21T06:28:23.585Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T06:28:23.585Z] ---> Running in efadcc50fccb [2020-04-21T06:28:23.845Z] Removing intermediate container efadcc50fccb [2020-04-21T06:28:23.845Z] ---> ed0456c5a9f6 [2020-04-21T06:28:23.845Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T06:28:23.845Z] ---> Running in 138d63110446 [2020-04-21T06:28:24.109Z] Removing intermediate container 138d63110446 [2020-04-21T06:28:24.109Z] ---> d191572ad084 [2020-04-21T06:28:24.109Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T06:28:24.109Z] ---> Running in 32ab6fb80f4c [2020-04-21T06:28:25.048Z] Removing intermediate container 32ab6fb80f4c [2020-04-21T06:28:25.048Z] ---> 08e5298b1b7b [2020-04-21T06:28:25.048Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T06:28:25.627Z] ---> Running in 7a5d4dc08ecf [2020-04-21T06:28:25.892Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T06:28:26.869Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T06:28:27.486Z] OK: 143 MiB in 39 packages [2020-04-21T06:28:28.076Z] Removing intermediate container 7a5d4dc08ecf [2020-04-21T06:28:28.076Z] ---> 94f7d7d4b6cf [2020-04-21T06:28:28.076Z] Step 8/21 : COPY . . [2020-04-21T06:28:28.677Z] ---> 68d7b15ad1f7 [2020-04-21T06:28:28.677Z] Step 9/21 : RUN ${MAKE} [2020-04-21T06:28:28.677Z] ---> Running in acfa45a46108 [2020-04-21T06:28:29.261Z] 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-21T06:28:36.440Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.090s coverage: 11.4% of statements [2020-04-21T06:28:36.440Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.7% of statements [2020-04-21T06:28:36.440Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T06:28:36.440Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.176s coverage: 36.9% of statements [2020-04-21T06:28:36.440Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T06:28:36.440Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T06:28:36.440Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.756s coverage: 76.2% of statements [2020-04-21T06:28:36.440Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T06:28:36.440Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T06:28:36.440Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T06:28:36.440Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.043s coverage: 52.6% of statements [2020-04-21T06:28:36.440Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T06:28:36.440Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.357s coverage: 71.4% of statements [2020-04-21T06:28:36.440Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T06:28:36.440Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T06:28:36.440Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T06:28:39.807Z] gofmt -l . [2020-04-21T06:28:40.390Z] [ "`gofmt -l .`" = "" ] [2020-04-21T06:28:40.657Z] ./bin/test-attribution-txt.sh [2020-04-21T06:28:41.247Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T06:28:41.842Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T06:28:42.338Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T06:28:42.353Z] $ docker stop --time=1 e58cc9e71826bfe175a29f7ea0a7413958b014063a89f7fffac8ccfe147b0e58 [2020-04-21T06:28:44.375Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T06:28:44.375Z] Removing intermediate container acfa45a46108 [2020-04-21T06:28:44.375Z] ---> d4bf26f74788 [2020-04-21T06:28:44.375Z] Step 10/21 : FROM scratch [2020-04-21T06:28:44.375Z] ---> [2020-04-21T06:28:44.375Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T06:28:44.375Z] ---> Running in 1a0059cdf39b [2020-04-21T06:28:44.375Z] Removing intermediate container 1a0059cdf39b [2020-04-21T06:28:44.375Z] ---> d10403caaae4 [2020-04-21T06:28:44.375Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T06:28:44.375Z] ---> Running in fdb0a1b4aa59 [2020-04-21T06:28:44.375Z] Removing intermediate container fdb0a1b4aa59 [2020-04-21T06:28:44.375Z] ---> 7fede2a25ee7 [2020-04-21T06:28:44.375Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T06:28:44.375Z] ---> Running in b93e590b5ef3 [2020-04-21T06:28:44.375Z] Removing intermediate container b93e590b5ef3 [2020-04-21T06:28:44.375Z] ---> 32ac64596ffb [2020-04-21T06:28:44.375Z] Step 14/21 : WORKDIR / [2020-04-21T06:28:44.375Z] ---> Running in d120f4218568 [2020-04-21T06:28:44.375Z] Removing intermediate container d120f4218568 [2020-04-21T06:28:44.375Z] ---> 87cf7689be0b [2020-04-21T06:28:44.375Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T06:28:44.557Z] $ docker rm -f e58cc9e71826bfe175a29f7ea0a7413958b014063a89f7fffac8ccfe147b0e58 [Pipeline] // withDockerContainer [2020-04-21T06:28:45.328Z] ---> 8ff4eac66e65 [2020-04-21T06:28:45.328Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T06:28:45.328Z] ---> 75bf7021920a [2020-04-21T06:28:45.328Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T06:28:45.592Z] ---> b4344c586c96 [2020-04-21T06:28:45.592Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T06:28:45.592Z] ---> Running in 7ecbbd79df70 [2020-04-21T06:28:45.592Z] Removing intermediate container 7ecbbd79df70 [2020-04-21T06:28:45.592Z] ---> 3cb622f3b3df [2020-04-21T06:28:45.592Z] Step 19/21 : LABEL arch=amd64 [2020-04-21T06:28:45.858Z] ---> Running in d9ee839dd84a [2020-04-21T06:28:45.858Z] Removing intermediate container d9ee839dd84a [2020-04-21T06:28:45.858Z] ---> 50ce0f79aed1 [2020-04-21T06:28:45.858Z] Step 20/21 : LABEL git_sha=f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 [2020-04-21T06:28:45.858Z] ---> Running in 856091228f1e [2020-04-21T06:28:45.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T06:28:46.151Z] Removing intermediate container 856091228f1e [2020-04-21T06:28:46.151Z] ---> 7ccbbfeb499e [2020-04-21T06:28:46.151Z] Step 21/21 : LABEL version=0.0.0 [2020-04-21T06:28:46.151Z] ---> Running in 174947f7b4e5 [2020-04-21T06:28:46.252Z] + ls -al . [2020-04-21T06:28:46.252Z] total 204 [2020-04-21T06:28:46.252Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 06:28 . [2020-04-21T06:28:46.252Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 06:26 .. [2020-04-21T06:28:46.252Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 06:26 .dockerignore [2020-04-21T06:28:46.252Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 06:26 .git [2020-04-21T06:28:46.252Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 06:26 .github [2020-04-21T06:28:46.252Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 06:26 .gitignore [2020-04-21T06:28:46.252Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 06:26 .semver [2020-04-21T06:28:46.252Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 06:26 Dockerfile.build [2020-04-21T06:28:46.252Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 06:26 Jenkinsfile [2020-04-21T06:28:46.252Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 06:26 LICENSE [2020-04-21T06:28:46.252Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 06:26 Makefile [2020-04-21T06:28:46.252Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 06:26 README.md [2020-04-21T06:28:46.252Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 06:22 VERSION [2020-04-21T06:28:46.252Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 06:26 api [2020-04-21T06:28:46.252Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 06:26 bin [2020-04-21T06:28:46.252Z] -rw-r--r-- 1 jenkins jenkins 98990 Apr 21 06:28 coverage.out [2020-04-21T06:28:46.252Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 06:26 example [2020-04-21T06:28:46.252Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 21 06:28 go.mod [2020-04-21T06:28:46.252Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 06:28 go.sum [2020-04-21T06:28:46.252Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 06:26 internal [2020-04-21T06:28:46.252Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 06:26 pkg [2020-04-21T06:28:46.252Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 06:26 snap [2020-04-21T06:28:46.252Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 06:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T06:28:46.488Z] Removing intermediate container 174947f7b4e5 [2020-04-21T06:28:46.488Z] ---> 0d90b7150467 [2020-04-21T06:28:46.488Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T06:28:46.488Z] Successfully built 0d90b7150467 [2020-04-21T06:28:46.488Z] Successfully tagged docker-device-sdk-simple:latest [2020-04-21T06:28:46.593Z] + 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=f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 --label arch=arm64 --label version=0.0.0 . [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-04-21T06:28:47.186Z] Sending build context to Docker daemon 3.058MB [2020-04-21T06:28:47.186Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T06:28:47.186Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T06:28:47.186Z] ---> 83c650cc4019 [2020-04-21T06:28:47.186Z] Step 3/21 : ARG MAKE='make build' [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-21T06:28:47.455Z] ---> Running in 0feeb8958e0e [2020-04-21T06:28:47.725Z] Removing intermediate container 0feeb8958e0e [2020-04-21T06:28:47.725Z] ---> 48ca5f9ecd32 [2020-04-21T06:28:47.725Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T06:28:47.995Z] ---> Running in b8da6306102d [2020-04-21T06:28:48.265Z] Removing intermediate container b8da6306102d [2020-04-21T06:28:48.265Z] ---> 1292f3fd760b [2020-04-21T06:28:48.265Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T06:28:48.532Z] ---> Running in 1446c358f344 [2020-04-21T06:28:48.801Z] Removing intermediate container 1446c358f344 [2020-04-21T06:28:48.801Z] ---> 94d1469e95f5 [2020-04-21T06:28:48.801Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T06:28:49.071Z] ---> Running in 3b01acb63c5f [2020-04-21T06:28:51.120Z] Removing intermediate container 3b01acb63c5f [2020-04-21T06:28:51.120Z] ---> 1a10c301c5db [2020-04-21T06:28:51.120Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T06:28:51.120Z] ---> Running in 68d4de3a35e1 [2020-04-21T06:28:52.400Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T06:28:52.986Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T06:28:53.570Z] OK: 125 MiB in 39 packages [2020-04-21T06:28:54.531Z] Removing intermediate container 68d4de3a35e1 [2020-04-21T06:28:54.531Z] ---> 7becfa50504b [2020-04-21T06:28:54.531Z] Step 8/21 : COPY . . [2020-04-21T06:28:55.944Z] ---> cd04d8d5e56b [2020-04-21T06:28:55.944Z] Step 9/21 : RUN ${MAKE} [2020-04-21T06:28:55.944Z] ---> Running in 83df98242e87 [2020-04-21T06:28:56.531Z] 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-21T06:29:23.246Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T06:29:23.246Z] Removing intermediate container 83df98242e87 [2020-04-21T06:29:23.246Z] ---> fb98b87f4762 [2020-04-21T06:29:23.246Z] Step 10/21 : FROM scratch [2020-04-21T06:29:23.246Z] ---> [2020-04-21T06:29:23.246Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T06:29:23.246Z] ---> Running in 44d4f8f8f8d1 [2020-04-21T06:29:23.246Z] Removing intermediate container 44d4f8f8f8d1 [2020-04-21T06:29:23.246Z] ---> af50a967a63c [2020-04-21T06:29:23.246Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T06:29:23.246Z] ---> Running in b26d8085ea7f [2020-04-21T06:29:23.246Z] Removing intermediate container b26d8085ea7f [2020-04-21T06:29:23.246Z] ---> 459217e7318e [2020-04-21T06:29:23.246Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T06:29:23.246Z] ---> Running in ab6691922b9d [2020-04-21T06:29:23.514Z] Removing intermediate container ab6691922b9d [2020-04-21T06:29:23.514Z] ---> 267b1d03fbb0 [2020-04-21T06:29:23.514Z] Step 14/21 : WORKDIR / [2020-04-21T06:29:23.514Z] ---> Running in 77ace06b4ede [2020-04-21T06:29:24.099Z] Removing intermediate container 77ace06b4ede [2020-04-21T06:29:24.099Z] ---> 264b6a76c4f3 [2020-04-21T06:29:24.099Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T06:29:25.060Z] ---> 53717a49cb2d [2020-04-21T06:29:25.060Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T06:29:25.654Z] ---> 47c6f6539d19 [2020-04-21T06:29:25.654Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T06:29:26.241Z] ---> d3d5cffe3c1d [2020-04-21T06:29:26.241Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T06:29:26.241Z] ---> Running in 6ab43c458772 [2020-04-21T06:29:26.508Z] Removing intermediate container 6ab43c458772 [2020-04-21T06:29:26.508Z] ---> d3541f160334 [2020-04-21T06:29:26.508Z] Step 19/21 : LABEL arch=arm64 [2020-04-21T06:29:26.775Z] ---> Running in 2981467eaa4b [2020-04-21T06:29:27.041Z] Removing intermediate container 2981467eaa4b [2020-04-21T06:29:27.041Z] ---> babca40491a1 [2020-04-21T06:29:27.041Z] Step 20/21 : LABEL git_sha=f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 [2020-04-21T06:29:27.308Z] ---> Running in d052d3e19618 [2020-04-21T06:29:27.577Z] Removing intermediate container d052d3e19618 [2020-04-21T06:29:27.577Z] ---> 8881187d3cec [2020-04-21T06:29:27.577Z] Step 21/21 : LABEL version=0.0.0 [2020-04-21T06:29:27.577Z] ---> Running in e609f3705e9b [2020-04-21T06:29:28.164Z] Removing intermediate container e609f3705e9b [2020-04-21T06:29:28.164Z] ---> bb21c68afa16 [2020-04-21T06:29:28.164Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T06:29:28.164Z] Successfully built bb21c68afa16 [2020-04-21T06:29:28.164Z] 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] stage [Pipeline] { (Snap) Stage "Snap" 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-21T06:29:29.252Z] provisioning config files... [2020-04-21T06:29:29.266Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/config6643649594480302814tmp [Pipeline] { [Pipeline] sh [2020-04-21T06:29:29.602Z] + curl -s https://codecov.io/bash [2020-04-21T06:29:29.602Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/config6643649594480302814tmp [2020-04-21T06:29:29.867Z] [2020-04-21T06:29:29.867Z] _____ _ [2020-04-21T06:29:29.867Z] / ____| | | [2020-04-21T06:29:29.867Z] | | ___ __| | ___ ___ _____ __ [2020-04-21T06:29:29.867Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-21T06:29:29.867Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-21T06:29:29.867Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-21T06:29:29.867Z] Bash-tbd [2020-04-21T06:29:29.867Z] [2020-04-21T06:29:29.867Z] [2020-04-21T06:29:29.867Z] ==> Jenkins CI detected. [2020-04-21T06:29:29.867Z] project root: . [2020-04-21T06:29:29.867Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-21T06:29:29.867Z] ==> Running gcov in . (disable via -X gcov) [2020-04-21T06:29:29.867Z] ==> Python coveragepy not found [2020-04-21T06:29:29.867Z] ==> Searching for coverage reports in: [2020-04-21T06:29:29.867Z] + . [2020-04-21T06:29:29.867Z] -> Found 1 reports [2020-04-21T06:29:29.867Z] ==> Detecting git/mercurial file structure [2020-04-21T06:29:29.867Z] ==> Reading reports [2020-04-21T06:29:29.867Z] + ./coverage.out bytes=98990 [2020-04-21T06:29:29.867Z] ==> Appending adjustments [2020-04-21T06:29:29.867Z] http://docs.codecov.io/docs/fixing-reports [2020-04-21T06:29:30.127Z] + Found adjustments [2020-04-21T06:29:30.127Z] ==> Gzipping contents [2020-04-21T06:29:30.127Z] ==> Uploading reports [2020-04-21T06:29:30.127Z] url: https://codecov.io [2020-04-21T06:29:30.127Z] query: branch=PR-499&commit=f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-499%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=499&job= [2020-04-21T06:29:30.127Z] -> Pinging Codecov [2020-04-21T06:29:30.127Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-499&commit=f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-499%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=499&job= [2020-04-21T06:29:30.698Z] -> Uploading [2020-04-21T06:29:31.267Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 [Pipeline] } [2020-04-21T06:29:31.274Z] 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-21T06:29:32.365Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T06:29:32.678Z] ---> package-listing.sh [2020-04-21T06:29:32.678Z] ++ facter osfamily [2020-04-21T06:29:32.678Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T06:29:32.678Z] + OS_FAMILY=redhat [2020-04-21T06:29:32.678Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-499 [2020-04-21T06:29:32.678Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T06:29:32.678Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T06:29:32.678Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T06:29:32.678Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T06:29:32.678Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-499 ']' [2020-04-21T06:29:32.678Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T06:29:32.678Z] + case "${OS_FAMILY}" in [2020-04-21T06:29:32.678Z] + rpm -qa [2020-04-21T06:29:32.678Z] + sort [2020-04-21T06:29:36.879Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T06:29:36.879Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T06:29:36.879Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T06:29:36.879Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-499 ']' [2020-04-21T06:29:36.879Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-499/archives/ [2020-04-21T06:29:36.879Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-499/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-21T06:29:37.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T06:29:37.344Z] [2020-04-21T06:29:37.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T06:29:37.676Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T06:29:37.676Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T06:29:37.676Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T06:29:37.676Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T06:29:37.676Z] 756a868c4378: Pulling fs layer [2020-04-21T06:29:37.676Z] 444b2fc9a129: Pulling fs layer [2020-04-21T06:29:37.676Z] ea15f1150254: Pulling fs layer [2020-04-21T06:29:37.676Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T06:29:37.676Z] 28c525ee5125: Pulling fs layer [2020-04-21T06:29:37.676Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T06:29:37.676Z] 138eaada9080: Pulling fs layer [2020-04-21T06:29:37.676Z] 0622d0fa9048: Pulling fs layer [2020-04-21T06:29:37.676Z] 41b27a9f41bf: Waiting [2020-04-21T06:29:37.676Z] 28c525ee5125: Waiting [2020-04-21T06:29:37.676Z] 094b1ea09ed8: Waiting [2020-04-21T06:29:37.676Z] 138eaada9080: Waiting [2020-04-21T06:29:37.676Z] 0622d0fa9048: Waiting [2020-04-21T06:29:37.676Z] 444b2fc9a129: Waiting [2020-04-21T06:29:37.676Z] ea15f1150254: Waiting [2020-04-21T06:29:37.676Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-21T06:29:37.676Z] 2cc5ad85d9ab: Download complete [2020-04-21T06:29:37.676Z] 444b2fc9a129: Verifying Checksum [2020-04-21T06:29:37.676Z] 444b2fc9a129: Download complete [2020-04-21T06:29:37.676Z] c9b1b535fdd9: Verifying Checksum [2020-04-21T06:29:37.676Z] ea15f1150254: Verifying Checksum [2020-04-21T06:29:37.676Z] ea15f1150254: Download complete [2020-04-21T06:29:37.943Z] 28c525ee5125: Verifying Checksum [2020-04-21T06:29:37.943Z] 28c525ee5125: Download complete [2020-04-21T06:29:38.206Z] 756a868c4378: Verifying Checksum [2020-04-21T06:29:38.206Z] 756a868c4378: Download complete [2020-04-21T06:29:38.206Z] c9b1b535fdd9: Pull complete [2020-04-21T06:29:38.206Z] 138eaada9080: Verifying Checksum [2020-04-21T06:29:38.206Z] 138eaada9080: Download complete [2020-04-21T06:29:38.206Z] 0622d0fa9048: Verifying Checksum [2020-04-21T06:29:38.206Z] 0622d0fa9048: Download complete [2020-04-21T06:29:38.469Z] 2cc5ad85d9ab: Pull complete [2020-04-21T06:29:38.469Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T06:29:38.469Z] 094b1ea09ed8: Download complete [2020-04-21T06:29:38.732Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T06:29:38.732Z] 41b27a9f41bf: Download complete [2020-04-21T06:29:40.108Z] 756a868c4378: Pull complete [2020-04-21T06:29:40.108Z] 444b2fc9a129: Pull complete [2020-04-21T06:29:40.678Z] ea15f1150254: Pull complete [2020-04-21T06:29:43.977Z] 41b27a9f41bf: Pull complete [2020-04-21T06:29:43.977Z] 28c525ee5125: Pull complete [2020-04-21T06:29:45.881Z] 094b1ea09ed8: Pull complete [2020-04-21T06:29:46.141Z] 138eaada9080: Pull complete [2020-04-21T06:29:46.403Z] 0622d0fa9048: Pull complete [2020-04-21T06:29:46.403Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T06:29:46.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T06:29:46.549Z] prd-centos7-docker-4c-2g-5167 does not seem to be running inside a container [2020-04-21T06:29:46.591Z] $ 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-499 -v /w/workspace/dgexfoundry_device-sdk-go_PR-499:/w/workspace/dgexfoundry_device-sdk-go_PR-499:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-499@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-21T06:29:47.611Z] $ docker top cf1f6f773ab3daa0e95e4da4cb6fd545fb8dc6d79feb88bebe02536a2d5cb647 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T06:29:47.839Z] provisioning config files... [2020-04-21T06:29:47.853Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/config3228352805790613978tmp [Pipeline] { [Pipeline] echo [2020-04-21T06:29:47.901Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T06:29:48.194Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T06:29:48.202Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T06:29:48.495Z] ---> logs-deploy.sh [2020-04-21T06:29:48.495Z] + ARCHIVE_ARTIFACTS= [2020-04-21T06:29:48.495Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T06:29:48.495Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T06:29:48.495Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T06:29:48.495Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-499/3 [2020-04-21T06:29:48.496Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-499/3/ [2020-04-21T06:29:48.496Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-499/3 /w/workspace/dgexfoundry_device-sdk-go_PR-499 [2020-04-21T06:29:49.872Z] Archives upload complete. [2020-04-21T06:29:49.872Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-499/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-499/3/ [2020-04-21T06:29:50.438Z] ---> uname -a: [2020-04-21T06:29:50.438Z] Linux cf1f6f773ab3 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-04-21T06:29:50.438Z] [2020-04-21T06:29:50.438Z]