Pull request #484 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 3278ca811ebe6eb1386b4929cc47cbb53fd00eee+40c90adbf9fac26db7d7745c142bac7f98eae2fe (f1115c4d63078f3f8cacbe8c15611df5d8609fd5) 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-4217 in /w/workspace/dgexfoundry_device-sdk-go_PR-484 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-484 # 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/484/head:refs/remotes/origin/PR-484 +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/484/head:refs/remotes/origin/PR-484 # 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/484/head:refs/remotes/origin/PR-484 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit 3278ca811ebe6eb1386b4929cc47cbb53fd00eee Merge succeeded, producing 3278ca811ebe6eb1386b4929cc47cbb53fd00eee Checking out Revision 3278ca811ebe6eb1386b4929cc47cbb53fd00eee (PR-484) > git config core.sparsecheckout # timeout=10 > git checkout -f 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # 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 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 Commit message: "Support array data type in Readings" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-16T05:52:02.550Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-16T05:52:02.789Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-16T05:52:02.876Z] ========================================================= [2020-04-16T05:52:02.876Z] EdgeX Global Pipelines Version Info [2020-04-16T05:52:02.876Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-16T05:52:04.270Z] ------------------- [2020-04-16T05:52:04.270Z] stable info: [2020-04-16T05:52:04.270Z] ------------------- [2020-04-16T05:52:04.270Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-16T05:52:04.270Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T05:52:04.270Z] Message: update stable to v1.0.73 [2020-04-16T05:52:04.839Z] ------------------- [2020-04-16T05:52:04.839Z] experimental info: [2020-04-16T05:52:04.839Z] ------------------- [2020-04-16T05:52:04.839Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-16T05:52:04.839Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T05:52:04.839Z] 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-16T05:52:06.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T05:52:06.732Z] [2020-04-16T05:52:06.732Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-16T05:52:07.071Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T05:52:07.071Z] latest: Pulling from edgex-devops/git-semver [2020-04-16T05:52:07.071Z] 9123ac7c32f7: Pulling fs layer [2020-04-16T05:52:07.071Z] b8cc5d1170e3: Pulling fs layer [2020-04-16T05:52:07.071Z] 2924cbbf6a41: Pulling fs layer [2020-04-16T05:52:07.071Z] 93b08a4f1073: Pulling fs layer [2020-04-16T05:52:07.071Z] 93b08a4f1073: Waiting [2020-04-16T05:52:07.071Z] b8cc5d1170e3: Verifying Checksum [2020-04-16T05:52:07.071Z] b8cc5d1170e3: Download complete [2020-04-16T05:52:07.071Z] 9123ac7c32f7: Verifying Checksum [2020-04-16T05:52:07.071Z] 9123ac7c32f7: Download complete [2020-04-16T05:52:07.345Z] 93b08a4f1073: Verifying Checksum [2020-04-16T05:52:07.345Z] 93b08a4f1073: Download complete [2020-04-16T05:52:07.345Z] 2924cbbf6a41: Verifying Checksum [2020-04-16T05:52:07.345Z] 2924cbbf6a41: Download complete [2020-04-16T05:52:07.345Z] 9123ac7c32f7: Pull complete [2020-04-16T05:52:07.606Z] b8cc5d1170e3: Pull complete [2020-04-16T05:52:08.175Z] 2924cbbf6a41: Pull complete [2020-04-16T05:52:08.436Z] 93b08a4f1073: Pull complete [2020-04-16T05:52:08.436Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-16T05:52:08.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-16T05:52:08.583Z] prd-centos7-docker-4c-2g-4217 does not seem to be running inside a container [2020-04-16T05:52:08.647Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-484 -v /w/workspace/dgexfoundry_device-sdk-go_PR-484:/w/workspace/dgexfoundry_device-sdk-go_PR-484:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-484@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-16T05:52:09.292Z] $ docker top c49f5a6b92f517d6fbcc95e77448c18e13f228dbfdad6d1bf02e0ac43cacf928 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T05:52:09.555Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T05:52:09.555Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T05:52:09.751Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T05:52:09.754Z] $ docker exec c49f5a6b92f517d6fbcc95e77448c18e13f228dbfdad6d1bf02e0ac43cacf928 ssh-agent [2020-04-16T05:52:09.934Z] SSH_AUTH_SOCK=/tmp/ssh-sf5yPLKviM5M/agent.15 [2020-04-16T05:52:09.934Z] SSH_AGENT_PID=22 [2020-04-16T05:52:09.946Z] Running ssh-add (command line suppressed) [2020-04-16T05:52:10.106Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_146401109325776210.key (/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_146401109325776210.key) [2020-04-16T05:52:10.156Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T05:52:10.540Z] + git describe --exact-match --tags HEAD [2020-04-16T05:52:10.540Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-16T05:52:10.600Z] $ docker exec --env ******** --env ******** c49f5a6b92f517d6fbcc95e77448c18e13f228dbfdad6d1bf02e0ac43cacf928 ssh-agent -k [2020-04-16T05:52:10.744Z] unset SSH_AUTH_SOCK; [2020-04-16T05:52:10.745Z] unset SSH_AGENT_PID; [2020-04-16T05:52:10.745Z] echo Agent pid 22 killed; [2020-04-16T05:52:10.791Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-16T05:52:10.866Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-16T05:52:10.866Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-16T05:52:10.944Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T05:52:10.944Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T05:52:11.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T05:52:11.131Z] $ docker exec c49f5a6b92f517d6fbcc95e77448c18e13f228dbfdad6d1bf02e0ac43cacf928 ssh-agent [2020-04-16T05:52:11.312Z] SSH_AUTH_SOCK=/tmp/ssh-vt1k6FTBsbxm/agent.57 [2020-04-16T05:52:11.312Z] SSH_AGENT_PID=64 [2020-04-16T05:52:11.319Z] Running ssh-add (command line suppressed) [2020-04-16T05:52:11.457Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_2022780935843121593.key (/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_2022780935843121593.key) [2020-04-16T05:52:11.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T05:52:11.832Z] + git semver init [2020-04-16T05:52:11.832Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T05:52:11.832Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-484/.git [2020-04-16T05:52:11.832Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-484 [2020-04-16T05:52:11.832Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T05:52:11.832Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T05:52:11.832Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T05:52:11.832Z] # $SEMVER_BRANCH = PR-484 [2020-04-16T05:52:11.832Z] # $SEMVER_TEMP = /tmp/semver-750632648 [2020-04-16T05:52:11.832Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-16T05:52:12.770Z] # '/tmp/semver-750632648' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-484/.semver' [2020-04-16T05:52:12.770Z] # -> Force: false [2020-04-16T05:52:12.770Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-484/.semver [Pipeline] } [2020-04-16T05:52:12.780Z] $ docker exec --env ******** --env ******** c49f5a6b92f517d6fbcc95e77448c18e13f228dbfdad6d1bf02e0ac43cacf928 ssh-agent -k [2020-04-16T05:52:12.913Z] unset SSH_AUTH_SOCK; [2020-04-16T05:52:12.913Z] unset SSH_AGENT_PID; [2020-04-16T05:52:12.913Z] echo Agent pid 64 killed; [2020-04-16T05:52:12.958Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T05:52:13.392Z] + git semver [Pipeline] } [2020-04-16T05:52:13.407Z] $ docker stop --time=1 c49f5a6b92f517d6fbcc95e77448c18e13f228dbfdad6d1bf02e0ac43cacf928 [2020-04-16T05:52:14.743Z] $ docker rm -f c49f5a6b92f517d6fbcc95e77448c18e13f228dbfdad6d1bf02e0ac43cacf928 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-16T05:52:15.595Z] Stashed 43 file(s) [Pipeline] echo [2020-04-16T05:52:15.597Z] [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-16T05:52:30.823Z] Still waiting to schedule task [2020-04-16T05:52:30.823Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-16T05:52:30.824Z] Still waiting to schedule task [2020-04-16T05:52:30.824Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-16T05:53:13.041Z] Running on prd-centos7-docker-4c-2g-4218 in /w/workspace/dgexfoundry_device-sdk-go_PR-484 [Pipeline] { [Pipeline] ws [2020-04-16T05:53:13.085Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-04-16T05:53:15.996Z] using credential edgex-jenkins-ssh [2020-04-16T05:53:16.056Z] Cloning the remote Git repository [2020-04-16T05:53:16.056Z] Cloning with configured refspecs honoured and without tags [2020-04-16T05:53:16.105Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T05:53:16.151Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-04-16T05:53:16.239Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T05:53:16.239Z] > git --version # timeout=10 [2020-04-16T05:53:16.248Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T05:53:16.295Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T05:53:16.898Z] Fetching without tags [2020-04-16T05:53:17.289Z] Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit 3278ca811ebe6eb1386b4929cc47cbb53fd00eee [2020-04-16T05:53:17.388Z] Merge succeeded, producing 3278ca811ebe6eb1386b4929cc47cbb53fd00eee [2020-04-16T05:53:17.388Z] Checking out Revision 3278ca811ebe6eb1386b4929cc47cbb53fd00eee (PR-484) [2020-04-16T05:53:16.858Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T05:53:16.865Z] > git config --add remote.origin.fetch +refs/pull/484/head:refs/remotes/origin/PR-484 # timeout=10 [2020-04-16T05:53:16.877Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T05:53:16.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T05:53:16.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T05:53:16.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T05:53:16.909Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T05:53:17.299Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T05:53:17.306Z] > git checkout -f 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 [2020-04-16T05:53:17.352Z] > git remote # timeout=10 [2020-04-16T05:53:17.358Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T05:53:17.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T05:53:17.369Z] > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 [2020-04-16T05:53:17.378Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T05:53:17.395Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T05:53:17.399Z] > git checkout -f 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 [2020-04-16T05:53:21.155Z] Commit message: "Support array data type in Readings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T05:53:22.358Z] ========================================================= [2020-04-16T05:53:22.358Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-16T05:53:22.358Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T05:53:23.043Z] + 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-16T05:53:23.617Z] Sending build context to Docker daemon 2.91MB [2020-04-16T05:53:23.617Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T05:53:23.617Z] Step 2/8 : FROM ${BASE} [2020-04-16T05:53:23.617Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-16T05:53:23.617Z] e6b0cf9c0882: Pulling fs layer [2020-04-16T05:53:23.617Z] 2848faf0eed1: Pulling fs layer [2020-04-16T05:53:23.617Z] 0f37312ad70f: Pulling fs layer [2020-04-16T05:53:23.617Z] 5788d62ee057: Pulling fs layer [2020-04-16T05:53:23.617Z] 0e6b1d234666: Pulling fs layer [2020-04-16T05:53:23.617Z] bf5d7aec512f: Pulling fs layer [2020-04-16T05:53:23.617Z] 34c802a77dc8: Pulling fs layer [2020-04-16T05:53:23.617Z] 9eb99e56ec68: Pulling fs layer [2020-04-16T05:53:23.617Z] 27c7a5d97fbd: Pulling fs layer [2020-04-16T05:53:23.617Z] 5c102a31e300: Pulling fs layer [2020-04-16T05:53:23.617Z] dcfb455df0a1: Pulling fs layer [2020-04-16T05:53:23.617Z] bf5d7aec512f: Waiting [2020-04-16T05:53:23.617Z] 34c802a77dc8: Waiting [2020-04-16T05:53:23.617Z] 9eb99e56ec68: Waiting [2020-04-16T05:53:23.617Z] 27c7a5d97fbd: Waiting [2020-04-16T05:53:23.617Z] 5c102a31e300: Waiting [2020-04-16T05:53:23.617Z] dcfb455df0a1: Waiting [2020-04-16T05:53:23.617Z] 5788d62ee057: Waiting [2020-04-16T05:53:23.617Z] 0e6b1d234666: Waiting [2020-04-16T05:53:23.617Z] 0f37312ad70f: Download complete [2020-04-16T05:53:23.617Z] 2848faf0eed1: Verifying Checksum [2020-04-16T05:53:23.617Z] 2848faf0eed1: Download complete [2020-04-16T05:53:23.617Z] 0e6b1d234666: Verifying Checksum [2020-04-16T05:53:23.617Z] 0e6b1d234666: Download complete [2020-04-16T05:53:23.617Z] bf5d7aec512f: Verifying Checksum [2020-04-16T05:53:23.617Z] bf5d7aec512f: Download complete [2020-04-16T05:53:23.617Z] e6b0cf9c0882: Verifying Checksum [2020-04-16T05:53:23.617Z] e6b0cf9c0882: Download complete [2020-04-16T05:53:24.203Z] e6b0cf9c0882: Pull complete [2020-04-16T05:53:24.778Z] 34c802a77dc8: Verifying Checksum [2020-04-16T05:53:24.778Z] 34c802a77dc8: Download complete [2020-04-16T05:53:24.778Z] 27c7a5d97fbd: Verifying Checksum [2020-04-16T05:53:24.778Z] 27c7a5d97fbd: Download complete [2020-04-16T05:53:25.041Z] 9eb99e56ec68: Verifying Checksum [2020-04-16T05:53:25.041Z] 9eb99e56ec68: Download complete [2020-04-16T05:53:25.302Z] dcfb455df0a1: Verifying Checksum [2020-04-16T05:53:25.302Z] dcfb455df0a1: Download complete [2020-04-16T05:53:25.302Z] 5c102a31e300: Verifying Checksum [2020-04-16T05:53:25.302Z] 5c102a31e300: Download complete [2020-04-16T05:53:25.302Z] 5788d62ee057: Verifying Checksum [2020-04-16T05:53:25.302Z] 5788d62ee057: Download complete [2020-04-16T05:53:26.681Z] 2848faf0eed1: Pull complete [2020-04-16T05:53:26.681Z] 0f37312ad70f: Pull complete [2020-04-16T05:53:33.281Z] 5788d62ee057: Pull complete [2020-04-16T05:53:33.281Z] 0e6b1d234666: Pull complete [2020-04-16T05:53:33.281Z] bf5d7aec512f: Pull complete [2020-04-16T05:53:37.511Z] 34c802a77dc8: Pull complete [2020-04-16T05:53:41.716Z] 9eb99e56ec68: Pull complete [2020-04-16T05:53:41.716Z] 27c7a5d97fbd: Pull complete [2020-04-16T05:53:42.288Z] 5c102a31e300: Pull complete [2020-04-16T05:53:42.288Z] dcfb455df0a1: Pull complete [2020-04-16T05:53:42.288Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-16T05:53:42.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-16T05:53:42.288Z] ---> 7c70fe431013 [2020-04-16T05:53:42.288Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T05:53:42.288Z] ---> Running in 3595c5e5cf79 [2020-04-16T05:53:42.549Z] Removing intermediate container 3595c5e5cf79 [2020-04-16T05:53:42.549Z] ---> c1afa49f6928 [2020-04-16T05:53:42.549Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T05:53:42.549Z] ---> Running in e7fe2bef3896 [2020-04-16T05:53:43.936Z] Removing intermediate container e7fe2bef3896 [2020-04-16T05:53:43.936Z] ---> 1d1135a2fb43 [2020-04-16T05:53:43.936Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-16T05:53:43.936Z] ---> Running in dab8dcfe4963 [2020-04-16T05:53:44.508Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T05:53:45.447Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T05:53:46.016Z] OK: 143 MiB in 39 packages [2020-04-16T05:53:46.586Z] Removing intermediate container dab8dcfe4963 [2020-04-16T05:53:46.586Z] ---> d44fb026ce96 [2020-04-16T05:53:46.586Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-16T05:53:46.586Z] ---> Running in 8abfc51b8d30 [2020-04-16T05:53:46.586Z] Removing intermediate container 8abfc51b8d30 [2020-04-16T05:53:46.586Z] ---> 0dfdafd10710 [2020-04-16T05:53:46.586Z] Step 7/8 : COPY . . [2020-04-16T05:53:47.155Z] ---> 96df9e37d8dc [2020-04-16T05:53:47.155Z] Step 8/8 : RUN go mod download [2020-04-16T05:53:47.155Z] ---> Running in 232f999843ad [2020-04-16T05:53:49.698Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T05:53:49.699Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-16T05:53:49.699Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T05:53:49.699Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T05:53:49.699Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T05:53:49.699Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T05:53:49.699Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-16T05:53:49.699Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T05:53:49.699Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-16T05:53:49.699Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-16T05:53:49.699Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-16T05:53:49.699Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-16T05:53:49.699Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-16T05:53:49.699Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T05:53:49.699Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-16T05:53:49.699Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T05:53:49.699Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T05:53:49.699Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T05:53:49.699Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T05:53:49.699Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T05:53:49.959Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-16T05:53:49.959Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-16T05:53:49.959Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-16T05:53:49.959Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T05:53:49.959Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-16T05:53:49.959Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T05:53:49.959Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T05:53:49.959Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T05:53:49.959Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T05:53:50.219Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T05:53:50.219Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T05:53:50.219Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T05:53:50.219Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T05:53:50.219Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T05:53:50.219Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T05:53:50.219Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T05:53:50.219Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T05:53:50.477Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T05:53:50.477Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T05:53:50.477Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T05:53:50.477Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T05:53:50.477Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T05:53:50.478Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T05:53:50.478Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T05:53:50.478Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T05:53:50.478Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T05:53:50.478Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T05:53:50.478Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T05:53:50.737Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T05:53:50.737Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T05:53:50.737Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T05:53:50.737Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T05:53:50.737Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T05:53:50.737Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T05:53:50.737Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T05:53:50.737Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T05:53:50.737Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T05:53:50.737Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T05:53:50.737Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T05:53:50.996Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-16T05:53:50.996Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T05:53:50.996Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-16T05:53:50.996Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T05:53:50.996Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T05:53:50.996Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T05:53:50.996Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T05:53:50.996Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T05:53:51.259Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-16T05:53:55.468Z] Removing intermediate container 232f999843ad [2020-04-16T05:53:55.468Z] ---> 005d16140a4c [2020-04-16T05:53:55.468Z] Successfully built 005d16140a4c [2020-04-16T05:53:55.468Z] 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-16T05:53:56.094Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-16T05:53:56.095Z] . [Pipeline] withDockerContainer [2020-04-16T05:53:56.218Z] prd-centos7-docker-4c-2g-4218 does not seem to be running inside a container [2020-04-16T05:53:56.259Z] $ 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-16T05:53:56.856Z] $ docker top c7ab46ea48ba18bd6fce51ef5d260d73ef8b311d9e79b01a378619b14a1e9775 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T05:53:57.330Z] + go version [2020-04-16T05:53:57.330Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-16T05:53:57.627Z] + make test [2020-04-16T05:53:57.627Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-16T05:53:58.197Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-16T05:54:08.244Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-16T05:54:08.244Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-16T05:54:08.512Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 22.1% of statements [2020-04-16T05:54:13.049Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4219 in /w/workspace/dgexfoundry_device-sdk-go_PR-484 [Pipeline] { [Pipeline] ws [2020-04-16T05:54:13.088Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-04-16T05:54:13.810Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements [2020-04-16T05:54:18.798Z] using credential edgex-jenkins-ssh [2020-04-16T05:54:18.844Z] Cloning the remote Git repository [2020-04-16T05:54:18.844Z] Cloning with configured refspecs honoured and without tags [2020-04-16T05:54:18.906Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T05:54:19.002Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-04-16T05:54:19.095Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T05:54:19.096Z] > git --version # timeout=10 [2020-04-16T05:54:19.140Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T05:54:19.213Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T05:54:20.234Z] Fetching without tags [2020-04-16T05:54:20.680Z] Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit 3278ca811ebe6eb1386b4929cc47cbb53fd00eee [2020-04-16T05:54:20.961Z] Merge succeeded, producing 3278ca811ebe6eb1386b4929cc47cbb53fd00eee [2020-04-16T05:54:20.961Z] Checking out Revision 3278ca811ebe6eb1386b4929cc47cbb53fd00eee (PR-484) [2020-04-16T05:54:20.139Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T05:54:20.179Z] > git config --add remote.origin.fetch +refs/pull/484/head:refs/remotes/origin/PR-484 # timeout=10 [2020-04-16T05:54:20.194Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T05:54:20.217Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T05:54:20.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T05:54:20.251Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T05:54:20.273Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T05:54:20.703Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T05:54:20.729Z] > git checkout -f 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 [2020-04-16T05:54:20.860Z] > git remote # timeout=10 [2020-04-16T05:54:20.879Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T05:54:20.898Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T05:54:20.911Z] > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 [2020-04-16T05:54:20.934Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T05:54:20.973Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T05:54:21.000Z] > git checkout -f 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 [2020-04-16T05:54:25.333Z] Commit message: "Support array data type in Readings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T05:54:26.598Z] ========================================================= [2020-04-16T05:54:26.598Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-16T05:54:26.598Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T05:54:27.580Z] + 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-16T05:54:28.555Z] Sending build context to Docker daemon 2.908MB [2020-04-16T05:54:28.555Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T05:54:28.555Z] Step 2/8 : FROM ${BASE} [2020-04-16T05:54:28.825Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-16T05:54:28.825Z] cde5963f3b93: Pulling fs layer [2020-04-16T05:54:28.825Z] 2a23fa8c16f7: Pulling fs layer [2020-04-16T05:54:28.825Z] 777b28850792: Pulling fs layer [2020-04-16T05:54:28.825Z] 8a11ddd9e578: Pulling fs layer [2020-04-16T05:54:28.825Z] 4cf88f913ddb: Pulling fs layer [2020-04-16T05:54:28.825Z] 1df406cf5192: Pulling fs layer [2020-04-16T05:54:28.825Z] cd6300453558: Pulling fs layer [2020-04-16T05:54:28.825Z] b9c365052c96: Pulling fs layer [2020-04-16T05:54:28.825Z] a2d8cc88f415: Pulling fs layer [2020-04-16T05:54:28.825Z] ea1d1ca13537: Pulling fs layer [2020-04-16T05:54:28.825Z] 3750a50a1c5e: Pulling fs layer [2020-04-16T05:54:28.825Z] 8a11ddd9e578: Waiting [2020-04-16T05:54:28.825Z] 4cf88f913ddb: Waiting [2020-04-16T05:54:28.825Z] 1df406cf5192: Waiting [2020-04-16T05:54:28.825Z] cd6300453558: Waiting [2020-04-16T05:54:28.825Z] ea1d1ca13537: Waiting [2020-04-16T05:54:28.825Z] b9c365052c96: Waiting [2020-04-16T05:54:28.825Z] a2d8cc88f415: Waiting [2020-04-16T05:54:28.825Z] 3750a50a1c5e: Waiting [2020-04-16T05:54:28.825Z] 777b28850792: Verifying Checksum [2020-04-16T05:54:28.825Z] 777b28850792: Download complete [2020-04-16T05:54:28.825Z] 2a23fa8c16f7: Verifying Checksum [2020-04-16T05:54:28.825Z] 2a23fa8c16f7: Download complete [2020-04-16T05:54:28.825Z] 4cf88f913ddb: Verifying Checksum [2020-04-16T05:54:28.825Z] 4cf88f913ddb: Download complete [2020-04-16T05:54:28.825Z] 1df406cf5192: Verifying Checksum [2020-04-16T05:54:28.825Z] 1df406cf5192: Download complete [2020-04-16T05:54:29.098Z] cde5963f3b93: Verifying Checksum [2020-04-16T05:54:29.098Z] cde5963f3b93: Download complete [2020-04-16T05:54:30.069Z] cde5963f3b93: Pull complete [2020-04-16T05:54:30.342Z] 2a23fa8c16f7: Pull complete [2020-04-16T05:54:30.611Z] 777b28850792: Pull complete [2020-04-16T05:54:33.984Z] cd6300453558: Verifying Checksum [2020-04-16T05:54:33.984Z] cd6300453558: Download complete [2020-04-16T05:54:33.984Z] a2d8cc88f415: Verifying Checksum [2020-04-16T05:54:33.984Z] a2d8cc88f415: Download complete [2020-04-16T05:54:36.577Z] ea1d1ca13537: Verifying Checksum [2020-04-16T05:54:36.577Z] 3750a50a1c5e: Verifying Checksum [2020-04-16T05:54:36.577Z] 3750a50a1c5e: Download complete [2020-04-16T05:54:38.522Z] b9c365052c96: Verifying Checksum [2020-04-16T05:54:38.522Z] b9c365052c96: Download complete [2020-04-16T05:54:40.365Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.033s coverage: 11.4% of statements [2020-04-16T05:54:40.365Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 22.1% of statements [2020-04-16T05:54:40.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-16T05:54:40.365Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.081s coverage: 38.5% of statements [2020-04-16T05:54:40.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-16T05:54:40.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-16T05:54:40.365Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.773s coverage: 66.6% of statements [2020-04-16T05:54:40.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-16T05:54:40.365Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-16T05:54:40.366Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-16T05:54:40.366Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.018s coverage: 52.6% of statements [2020-04-16T05:54:40.366Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-16T05:54:40.366Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.098s coverage: 68.9% of statements [2020-04-16T05:54:40.366Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-16T05:54:40.366Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-16T05:54:40.366Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T05:54:40.470Z] 8a11ddd9e578: Verifying Checksum [2020-04-16T05:54:40.470Z] 8a11ddd9e578: Download complete [2020-04-16T05:54:42.277Z] gofmt -l . [2020-04-16T05:54:42.277Z] [ "`gofmt -l .`" = "" ] [2020-04-16T05:54:42.277Z] ./bin/test-attribution-txt.sh [2020-04-16T05:54:42.847Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T05:54:43.567Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T05:54:43.572Z] $ docker stop --time=1 c7ab46ea48ba18bd6fce51ef5d260d73ef8b311d9e79b01a378619b14a1e9775 [2020-04-16T05:54:45.026Z] $ docker rm -f c7ab46ea48ba18bd6fce51ef5d260d73ef8b311d9e79b01a378619b14a1e9775 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T05:54:46.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T05:54:46.403Z] + ls -al . [2020-04-16T05:54:46.403Z] total 172 [2020-04-16T05:54:46.403Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 16 05:54 . [2020-04-16T05:54:46.403Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 05:53 .. [2020-04-16T05:54:46.403Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 05:53 api [2020-04-16T05:54:46.403Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 05:53 bin [2020-04-16T05:54:46.403Z] -rw-r--r--. 1 jenkins jenkins 107955 Apr 16 05:54 coverage.out [2020-04-16T05:54:46.403Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 16 05:53 Dockerfile.build [2020-04-16T05:54:46.403Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 05:53 .dockerignore [2020-04-16T05:54:46.403Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 16 05:53 example [2020-04-16T05:54:46.403Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 05:53 .git [2020-04-16T05:54:46.403Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 16 05:53 .github [2020-04-16T05:54:46.403Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 05:53 .gitignore [2020-04-16T05:54:46.403Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 16 05:54 go.mod [2020-04-16T05:54:46.403Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 16 05:54 go.sum [2020-04-16T05:54:46.403Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 16 05:53 internal [2020-04-16T05:54:46.403Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 16 05:53 Jenkinsfile [2020-04-16T05:54:46.403Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 05:53 LICENSE [2020-04-16T05:54:46.403Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 16 05:53 Makefile [2020-04-16T05:54:46.403Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 05:53 pkg [2020-04-16T05:54:46.403Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 16 05:53 README.md [2020-04-16T05:54:46.403Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 05:53 .semver [2020-04-16T05:54:46.403Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 05:53 snap [2020-04-16T05:54:46.403Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 05:52 VERSION [2020-04-16T05:54:46.403Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 05:53 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T05:54:46.713Z] + 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=3278ca811ebe6eb1386b4929cc47cbb53fd00eee --label arch=amd64 --label version=0.0.0 . [2020-04-16T05:54:46.974Z] Sending build context to Docker daemon 3.034MB [2020-04-16T05:54:46.974Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-16T05:54:46.974Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-16T05:54:46.974Z] ---> 005d16140a4c [2020-04-16T05:54:46.974Z] Step 3/21 : ARG MAKE='make build' [2020-04-16T05:54:46.974Z] ---> Running in 3b92734fee51 [2020-04-16T05:54:46.974Z] Removing intermediate container 3b92734fee51 [2020-04-16T05:54:46.974Z] ---> 3ecf68bc7cb1 [2020-04-16T05:54:46.974Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-16T05:54:47.233Z] ---> Running in c947b749dac2 [2020-04-16T05:54:47.233Z] Removing intermediate container c947b749dac2 [2020-04-16T05:54:47.233Z] ---> 810e41894002 [2020-04-16T05:54:47.233Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T05:54:47.233Z] ---> Running in e29449bb252d [2020-04-16T05:54:47.492Z] Removing intermediate container e29449bb252d [2020-04-16T05:54:47.492Z] ---> 378b4e8e6361 [2020-04-16T05:54:47.492Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T05:54:47.492Z] ---> Running in 9ff1180d746d [2020-04-16T05:54:48.430Z] Removing intermediate container 9ff1180d746d [2020-04-16T05:54:48.430Z] ---> 8d4f9a49a738 [2020-04-16T05:54:48.430Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-16T05:54:48.430Z] ---> Running in f34d4f7f4937 [2020-04-16T05:54:48.690Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T05:54:49.625Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T05:54:50.192Z] OK: 143 MiB in 39 packages [2020-04-16T05:54:50.760Z] Removing intermediate container f34d4f7f4937 [2020-04-16T05:54:50.760Z] ---> 743f5383dc39 [2020-04-16T05:54:50.760Z] Step 8/21 : COPY . . [2020-04-16T05:54:51.018Z] ---> c2d231e7d647 [2020-04-16T05:54:51.018Z] Step 9/21 : RUN ${MAKE} [2020-04-16T05:54:51.018Z] ---> Running in d669e442981e [2020-04-16T05:54:51.277Z] 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-16T05:54:52.821Z] 8a11ddd9e578: Pull complete [2020-04-16T05:54:52.821Z] 4cf88f913ddb: Pull complete [2020-04-16T05:54:52.821Z] 1df406cf5192: Pull complete [2020-04-16T05:54:58.199Z] cd6300453558: Pull complete [2020-04-16T05:54:59.440Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-16T05:54:59.699Z] Removing intermediate container d669e442981e [2020-04-16T05:54:59.699Z] ---> 3e8c4d18ba8c [2020-04-16T05:54:59.699Z] Step 10/21 : FROM scratch [2020-04-16T05:54:59.699Z] ---> [2020-04-16T05:54:59.699Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T05:54:59.699Z] ---> Running in cd516ee26a88 [2020-04-16T05:54:59.699Z] Removing intermediate container cd516ee26a88 [2020-04-16T05:54:59.699Z] ---> 9f6cebd43f7d [2020-04-16T05:54:59.699Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-16T05:54:59.699Z] ---> Running in aa3a3fb32621 [2020-04-16T05:54:59.958Z] Removing intermediate container aa3a3fb32621 [2020-04-16T05:54:59.958Z] ---> 116bafa5aafc [2020-04-16T05:54:59.958Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-16T05:54:59.958Z] ---> Running in 362135fa7ac9 [2020-04-16T05:54:59.958Z] Removing intermediate container 362135fa7ac9 [2020-04-16T05:54:59.958Z] ---> 6064120d5ec9 [2020-04-16T05:54:59.958Z] Step 14/21 : WORKDIR / [2020-04-16T05:55:00.216Z] ---> Running in b743bf48b3a4 [2020-04-16T05:55:00.216Z] Removing intermediate container b743bf48b3a4 [2020-04-16T05:55:00.216Z] ---> a7f7365a5dcf [2020-04-16T05:55:00.216Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-16T05:55:00.475Z] ---> 57b93d418498 [2020-04-16T05:55:00.475Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-16T05:55:00.734Z] ---> 7bcb776efc73 [2020-04-16T05:55:00.734Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-16T05:55:00.993Z] ---> 65a9c717ae9f [2020-04-16T05:55:00.993Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-16T05:55:00.993Z] ---> Running in 3d685a11a4a0 [2020-04-16T05:55:00.993Z] Removing intermediate container 3d685a11a4a0 [2020-04-16T05:55:00.993Z] ---> 2f7dcb4ac083 [2020-04-16T05:55:00.993Z] Step 19/21 : LABEL arch=amd64 [2020-04-16T05:55:01.270Z] ---> Running in 4fc4be8e68fc [2020-04-16T05:55:01.270Z] Removing intermediate container 4fc4be8e68fc [2020-04-16T05:55:01.270Z] ---> 46d04a3b2542 [2020-04-16T05:55:01.270Z] Step 20/21 : LABEL git_sha=3278ca811ebe6eb1386b4929cc47cbb53fd00eee [2020-04-16T05:55:01.270Z] ---> Running in 914f7680298f [2020-04-16T05:55:01.529Z] Removing intermediate container 914f7680298f [2020-04-16T05:55:01.529Z] ---> 66f29866bc5c [2020-04-16T05:55:01.529Z] Step 21/21 : LABEL version=0.0.0 [2020-04-16T05:55:01.529Z] ---> Running in 60fc24909abc [2020-04-16T05:55:01.789Z] Removing intermediate container 60fc24909abc [2020-04-16T05:55:01.789Z] ---> 9c51f355cae8 [2020-04-16T05:55:01.789Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T05:55:01.789Z] Successfully built 9c51f355cae8 [2020-04-16T05:55:01.789Z] 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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-16T05:55:02.479Z] b9c365052c96: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2020-04-16T05:55:02.749Z] a2d8cc88f415: Pull complete [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-16T05:55:04.709Z] ea1d1ca13537: Pull complete [2020-04-16T05:55:05.294Z] 3750a50a1c5e: Pull complete [2020-04-16T05:55:05.294Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-16T05:55:05.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-16T05:55:05.294Z] ---> 78745c68409d [2020-04-16T05:55:05.294Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T05:55:09.554Z] ---> Running in 28436fe8a3fd [2020-04-16T05:55:09.554Z] Removing intermediate container 28436fe8a3fd [2020-04-16T05:55:09.554Z] ---> 100049b0226c [2020-04-16T05:55:09.554Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T05:55:09.820Z] ---> Running in 4e915130edf1 [2020-04-16T05:55:11.768Z] Removing intermediate container 4e915130edf1 [2020-04-16T05:55:11.768Z] ---> a5fd9a828615 [2020-04-16T05:55:11.768Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-16T05:55:11.768Z] ---> Running in a7a531ef3fa9 [2020-04-16T05:55:12.730Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T05:55:13.315Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T05:55:14.276Z] OK: 125 MiB in 39 packages [2020-04-16T05:55:15.258Z] Removing intermediate container a7a531ef3fa9 [2020-04-16T05:55:15.259Z] ---> e0719674898a [2020-04-16T05:55:15.259Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-16T05:55:15.525Z] ---> Running in b8f0b1709e4a [2020-04-16T05:55:15.794Z] Removing intermediate container b8f0b1709e4a [2020-04-16T05:55:15.794Z] ---> b6a05b886d27 [2020-04-16T05:55:15.794Z] Step 7/8 : COPY . . [2020-04-16T05:55:17.217Z] ---> 0daa186b4042 [2020-04-16T05:55:17.217Z] Step 8/8 : RUN go mod download [2020-04-16T05:55:17.217Z] ---> Running in c4cccc7085d2 [2020-04-16T05:55:19.166Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T05:55:19.166Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-16T05:55:19.166Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T05:55:19.166Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T05:55:19.166Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T05:55:19.166Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T05:55:19.166Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-16T05:55:19.166Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T05:55:19.166Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-16T05:55:19.166Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-16T05:55:19.166Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-16T05:55:19.166Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-16T05:55:19.166Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-16T05:55:19.166Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T05:55:19.166Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-16T05:55:19.166Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T05:55:19.166Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T05:55:19.166Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T05:55:19.166Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T05:55:19.166Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T05:55:19.166Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-16T05:55:19.166Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-16T05:55:19.166Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-16T05:55:19.166Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T05:55:19.166Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-16T05:55:19.166Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T05:55:19.166Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T05:55:19.166Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T05:55:19.434Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T05:55:19.434Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T05:55:19.434Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T05:55:19.434Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T05:55:19.434Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T05:55:19.434Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T05:55:19.434Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T05:55:19.434Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T05:55:19.434Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T05:55:19.434Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T05:55:19.434Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T05:55:19.434Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T05:55:19.434Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T05:55:19.434Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T05:55:19.434Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T05:55:19.434Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T05:55:19.434Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T05:55:19.434Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T05:55:19.434Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T05:55:19.434Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T05:55:19.434Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T05:55:19.434Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T05:55:19.434Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T05:55:19.434Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T05:55:19.434Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T05:55:19.434Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T05:55:19.434Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T05:55:19.759Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T05:55:19.759Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T05:55:19.759Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T05:55:19.759Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T05:55:19.759Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-16T05:55:19.759Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T05:55:19.759Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-16T05:55:19.759Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T05:55:19.759Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T05:55:19.759Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T05:55:19.759Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T05:55:19.759Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T05:55:19.759Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-16T05:55:29.871Z] Removing intermediate container c4cccc7085d2 [2020-04-16T05:55:29.871Z] ---> 5abe9bc4e3d3 [2020-04-16T05:55:29.871Z] Successfully built 5abe9bc4e3d3 [2020-04-16T05:55:29.871Z] 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-16T05:55:30.545Z] + docker inspect -f . ci-base-image-arm64 [2020-04-16T05:55:30.812Z] . [Pipeline] withDockerContainer [2020-04-16T05:55:31.144Z] prd-ubuntu18.04-docker-arm64-4c-16g-4219 does not seem to be running inside a container [2020-04-16T05:55:31.225Z] $ 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-16T05:55:32.734Z] $ docker top b23511e8f032f50a5aba1c75391851fa52fa32c34982bac42ae4c660a8c74073 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T05:55:33.829Z] + go version [2020-04-16T05:55:33.829Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-16T05:55:34.491Z] + make test [2020-04-16T05:55:34.491Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-16T05:55:35.908Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-16T05:56:08.175Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-16T05:56:08.175Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-16T05:56:08.175Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.034s coverage: 22.1% of statements [2020-04-16T05:56:08.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.170s coverage: 95.8% of statements [2020-04-16T05:56:40.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.132s coverage: 11.4% of statements [2020-04-16T05:56:40.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 22.1% of statements [2020-04-16T05:56:40.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-16T05:56:40.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.150s coverage: 38.5% of statements [2020-04-16T05:56:40.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-16T05:56:40.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-16T05:56:40.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.600s coverage: 66.6% of statements [2020-04-16T05:56:40.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-16T05:56:40.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-16T05:56:40.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-16T05:56:40.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements [2020-04-16T05:56:40.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-16T05:56:40.742Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.354s coverage: 68.9% of statements [2020-04-16T05:56:40.742Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-16T05:56:40.742Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-16T05:56:40.742Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T05:56:44.103Z] gofmt -l . [2020-04-16T05:56:44.371Z] [ "`gofmt -l .`" = "" ] [2020-04-16T05:56:44.639Z] ./bin/test-attribution-txt.sh [2020-04-16T05:56:45.601Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T05:56:45.883Z] Warning: overwriting stash ‘coverage-report’ [2020-04-16T05:56:46.359Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T05:56:46.367Z] $ docker stop --time=1 b23511e8f032f50a5aba1c75391851fa52fa32c34982bac42ae4c660a8c74073 [2020-04-16T05:56:48.498Z] $ docker rm -f b23511e8f032f50a5aba1c75391851fa52fa32c34982bac42ae4c660a8c74073 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T05:56:49.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T05:56:50.087Z] + ls -al . [2020-04-16T05:56:50.087Z] total 212 [2020-04-16T05:56:50.087Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 16 05:56 . [2020-04-16T05:56:50.087Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 05:54 .. [2020-04-16T05:56:50.087Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 05:54 .dockerignore [2020-04-16T05:56:50.087Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 05:54 .git [2020-04-16T05:56:50.087Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 05:54 .github [2020-04-16T05:56:50.087Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 05:54 .gitignore [2020-04-16T05:56:50.087Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 05:54 .semver [2020-04-16T05:56:50.087Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 16 05:54 Dockerfile.build [2020-04-16T05:56:50.087Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 16 05:54 Jenkinsfile [2020-04-16T05:56:50.087Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 05:54 LICENSE [2020-04-16T05:56:50.087Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 16 05:54 Makefile [2020-04-16T05:56:50.087Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 16 05:54 README.md [2020-04-16T05:56:50.087Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 05:52 VERSION [2020-04-16T05:56:50.087Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 05:54 api [2020-04-16T05:56:50.087Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 05:54 bin [2020-04-16T05:56:50.087Z] -rw-r--r-- 1 jenkins jenkins 107955 Apr 16 05:56 coverage.out [2020-04-16T05:56:50.087Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 05:54 example [2020-04-16T05:56:50.087Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 16 05:56 go.mod [2020-04-16T05:56:50.087Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 16 05:56 go.sum [2020-04-16T05:56:50.087Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 16 05:54 internal [2020-04-16T05:56:50.087Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 05:54 pkg [2020-04-16T05:56:50.087Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 05:54 snap [2020-04-16T05:56:50.087Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 05:54 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T05:56:50.420Z] + 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=3278ca811ebe6eb1386b4929cc47cbb53fd00eee --label arch=arm64 --label version=0.0.0 . [2020-04-16T05:56:51.005Z] Sending build context to Docker daemon 3.032MB [2020-04-16T05:56:51.005Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-16T05:56:51.005Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-16T05:56:51.005Z] ---> 5abe9bc4e3d3 [2020-04-16T05:56:51.005Z] Step 3/21 : ARG MAKE='make build' [2020-04-16T05:56:51.005Z] ---> Running in 823f5edbee0c [2020-04-16T05:56:51.589Z] Removing intermediate container 823f5edbee0c [2020-04-16T05:56:51.590Z] ---> c9a9bc327ec8 [2020-04-16T05:56:51.590Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-16T05:56:51.590Z] ---> Running in 1a9dc24cf648 [2020-04-16T05:56:51.858Z] Removing intermediate container 1a9dc24cf648 [2020-04-16T05:56:51.858Z] ---> 5367d8e27308 [2020-04-16T05:56:51.858Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T05:56:52.124Z] ---> Running in 8b90bc1151ae [2020-04-16T05:56:52.390Z] Removing intermediate container 8b90bc1151ae [2020-04-16T05:56:52.390Z] ---> 0e3335bd26f3 [2020-04-16T05:56:52.390Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T05:56:52.660Z] ---> Running in 2714ee3abc16 [2020-04-16T05:56:54.616Z] Removing intermediate container 2714ee3abc16 [2020-04-16T05:56:54.616Z] ---> 025e8f419b91 [2020-04-16T05:56:54.616Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-16T05:56:54.616Z] ---> Running in e81bac349451 [2020-04-16T05:56:55.200Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T05:56:56.160Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T05:56:56.744Z] OK: 125 MiB in 39 packages [2020-04-16T05:56:57.708Z] Removing intermediate container e81bac349451 [2020-04-16T05:56:57.708Z] ---> 76ef0abebe87 [2020-04-16T05:56:57.708Z] Step 8/21 : COPY . . [2020-04-16T05:56:59.122Z] ---> e72c4b7cdc42 [2020-04-16T05:56:59.122Z] Step 9/21 : RUN ${MAKE} [2020-04-16T05:56:59.122Z] ---> Running in 12a519a6a5f0 [2020-04-16T05:56:59.714Z] 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-16T05:57:21.824Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-16T05:57:25.182Z] Removing intermediate container 12a519a6a5f0 [2020-04-16T05:57:25.182Z] ---> e9337ce2177b [2020-04-16T05:57:25.182Z] Step 10/21 : FROM scratch [2020-04-16T05:57:25.182Z] ---> [2020-04-16T05:57:25.182Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T05:57:25.182Z] ---> Running in 3b0bf512e8ab [2020-04-16T05:57:25.182Z] Removing intermediate container 3b0bf512e8ab [2020-04-16T05:57:25.182Z] ---> 8f4db77c2f3d [2020-04-16T05:57:25.182Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-16T05:57:25.182Z] ---> Running in 768b03b850ae [2020-04-16T05:57:25.449Z] Removing intermediate container 768b03b850ae [2020-04-16T05:57:25.449Z] ---> 43dad6106b7f [2020-04-16T05:57:25.449Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-16T05:57:25.449Z] ---> Running in 2c90e53bea22 [2020-04-16T05:57:25.717Z] Removing intermediate container 2c90e53bea22 [2020-04-16T05:57:25.717Z] ---> d5e7614737a4 [2020-04-16T05:57:25.717Z] Step 14/21 : WORKDIR / [2020-04-16T05:57:25.717Z] ---> Running in 2a60485f51bd [2020-04-16T05:57:26.306Z] Removing intermediate container 2a60485f51bd [2020-04-16T05:57:26.306Z] ---> c469bc40479a [2020-04-16T05:57:26.306Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-16T05:57:27.267Z] ---> a0fa60ea1e43 [2020-04-16T05:57:27.267Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-16T05:57:27.536Z] ---> 12a82f7d2daa [2020-04-16T05:57:27.536Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-16T05:57:28.119Z] ---> ee594a22d02d [2020-04-16T05:57:28.119Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-16T05:57:28.386Z] ---> Running in a81f6621e7fb [2020-04-16T05:57:28.654Z] Removing intermediate container a81f6621e7fb [2020-04-16T05:57:28.654Z] ---> 2b4a71536cd6 [2020-04-16T05:57:28.654Z] Step 19/21 : LABEL arch=arm64 [2020-04-16T05:57:28.654Z] ---> Running in f4c7b21a0736 [2020-04-16T05:57:29.249Z] Removing intermediate container f4c7b21a0736 [2020-04-16T05:57:29.249Z] ---> 3ac82d17264e [2020-04-16T05:57:29.249Z] Step 20/21 : LABEL git_sha=3278ca811ebe6eb1386b4929cc47cbb53fd00eee [2020-04-16T05:57:29.249Z] ---> Running in e0d66fbe603d [2020-04-16T05:57:29.518Z] Removing intermediate container e0d66fbe603d [2020-04-16T05:57:29.518Z] ---> aa4c9eb9e349 [2020-04-16T05:57:29.518Z] Step 21/21 : LABEL version=0.0.0 [2020-04-16T05:57:29.785Z] ---> Running in b6ec9a6fb745 [2020-04-16T05:57:30.054Z] Removing intermediate container b6ec9a6fb745 [2020-04-16T05:57:30.054Z] ---> 9fc125c3c0b0 [2020-04-16T05:57:30.054Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T05:57:30.054Z] Successfully built 9fc125c3c0b0 [2020-04-16T05:57:30.054Z] 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-16T05:57:31.230Z] provisioning config files... [2020-04-16T05:57:31.244Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/config7732100538231537689tmp [Pipeline] { [Pipeline] sh [2020-04-16T05:57:31.618Z] + curl -s https://codecov.io/bash [2020-04-16T05:57:31.618Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/config7732100538231537689tmp [2020-04-16T05:57:31.877Z] [2020-04-16T05:57:31.877Z] _____ _ [2020-04-16T05:57:31.877Z] / ____| | | [2020-04-16T05:57:31.877Z] | | ___ __| | ___ ___ _____ __ [2020-04-16T05:57:31.877Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-16T05:57:31.877Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-16T05:57:31.877Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-16T05:57:31.877Z] Bash-tbd [2020-04-16T05:57:31.877Z] [2020-04-16T05:57:31.877Z] [2020-04-16T05:57:31.877Z] ==> Jenkins CI detected. [2020-04-16T05:57:31.877Z] project root: . [2020-04-16T05:57:31.877Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-16T05:57:31.877Z] ==> Running gcov in . (disable via -X gcov) [2020-04-16T05:57:31.877Z] ==> Python coveragepy not found [2020-04-16T05:57:31.877Z] ==> Searching for coverage reports in: [2020-04-16T05:57:31.877Z] + . [2020-04-16T05:57:31.877Z] -> Found 1 reports [2020-04-16T05:57:31.877Z] ==> Detecting git/mercurial file structure [2020-04-16T05:57:31.877Z] ==> Reading reports [2020-04-16T05:57:31.877Z] + ./coverage.out bytes=107955 [2020-04-16T05:57:31.877Z] ==> Appending adjustments [2020-04-16T05:57:31.877Z] http://docs.codecov.io/docs/fixing-reports [2020-04-16T05:57:32.140Z] + Found adjustments [2020-04-16T05:57:32.140Z] ==> Gzipping contents [2020-04-16T05:57:32.140Z] ==> Uploading reports [2020-04-16T05:57:32.140Z] url: https://codecov.io [2020-04-16T05:57:32.140Z] query: branch=PR-484&commit=3278ca811ebe6eb1386b4929cc47cbb53fd00eee&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-484%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=484&job= [2020-04-16T05:57:32.140Z] -> Pinging Codecov [2020-04-16T05:57:32.140Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-484&commit=3278ca811ebe6eb1386b4929cc47cbb53fd00eee&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-484%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=484&job= [2020-04-16T05:57:32.712Z] -> Uploading [2020-04-16T05:57:33.289Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3278ca811ebe6eb1386b4929cc47cbb53fd00eee [Pipeline] } [2020-04-16T05:57:33.301Z] 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-16T05:57:34.514Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T05:57:34.809Z] ---> package-listing.sh [2020-04-16T05:57:34.809Z] ++ facter osfamily [2020-04-16T05:57:34.809Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-16T05:57:34.809Z] + OS_FAMILY=redhat [2020-04-16T05:57:34.809Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-484 [2020-04-16T05:57:34.809Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-16T05:57:34.809Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-16T05:57:34.809Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-16T05:57:34.809Z] + PACKAGES=/tmp/packages_start.txt [2020-04-16T05:57:34.809Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-484 ']' [2020-04-16T05:57:34.809Z] + PACKAGES=/tmp/packages_end.txt [2020-04-16T05:57:34.809Z] + case "${OS_FAMILY}" in [2020-04-16T05:57:34.809Z] + rpm -qa [2020-04-16T05:57:34.809Z] + sort [2020-04-16T05:57:39.015Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-16T05:57:39.015Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-16T05:57:39.015Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-16T05:57:39.015Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-484 ']' [2020-04-16T05:57:39.015Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-484/archives/ [2020-04-16T05:57:39.015Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-484/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-16T05:57:39.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T05:57:39.366Z] [2020-04-16T05:57:39.366Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-16T05:57:39.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T05:57:39.713Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-16T05:57:39.713Z] c9b1b535fdd9: Pulling fs layer [2020-04-16T05:57:39.713Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-16T05:57:39.713Z] 756a868c4378: Pulling fs layer [2020-04-16T05:57:39.713Z] 444b2fc9a129: Pulling fs layer [2020-04-16T05:57:39.713Z] ea15f1150254: Pulling fs layer [2020-04-16T05:57:39.713Z] 41b27a9f41bf: Pulling fs layer [2020-04-16T05:57:39.713Z] 28c525ee5125: Pulling fs layer [2020-04-16T05:57:39.713Z] 094b1ea09ed8: Pulling fs layer [2020-04-16T05:57:39.713Z] 138eaada9080: Pulling fs layer [2020-04-16T05:57:39.713Z] 0622d0fa9048: Pulling fs layer [2020-04-16T05:57:39.713Z] 444b2fc9a129: Waiting [2020-04-16T05:57:39.713Z] ea15f1150254: Waiting [2020-04-16T05:57:39.713Z] 41b27a9f41bf: Waiting [2020-04-16T05:57:39.713Z] 094b1ea09ed8: Waiting [2020-04-16T05:57:39.713Z] 138eaada9080: Waiting [2020-04-16T05:57:39.713Z] 0622d0fa9048: Waiting [2020-04-16T05:57:39.713Z] 28c525ee5125: Waiting [2020-04-16T05:57:39.713Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-16T05:57:39.713Z] 2cc5ad85d9ab: Download complete [2020-04-16T05:57:39.713Z] 444b2fc9a129: Verifying Checksum [2020-04-16T05:57:39.713Z] 444b2fc9a129: Download complete [2020-04-16T05:57:39.713Z] c9b1b535fdd9: Verifying Checksum [2020-04-16T05:57:39.713Z] c9b1b535fdd9: Download complete [2020-04-16T05:57:39.713Z] ea15f1150254: Verifying Checksum [2020-04-16T05:57:39.713Z] ea15f1150254: Download complete [2020-04-16T05:57:39.981Z] 28c525ee5125: Verifying Checksum [2020-04-16T05:57:39.981Z] 28c525ee5125: Download complete [2020-04-16T05:57:39.981Z] c9b1b535fdd9: Pull complete [2020-04-16T05:57:40.253Z] 756a868c4378: Verifying Checksum [2020-04-16T05:57:40.253Z] 756a868c4378: Download complete [2020-04-16T05:57:40.253Z] 2cc5ad85d9ab: Pull complete [2020-04-16T05:57:40.519Z] 094b1ea09ed8: Verifying Checksum [2020-04-16T05:57:40.519Z] 094b1ea09ed8: Download complete [2020-04-16T05:57:40.519Z] 0622d0fa9048: Verifying Checksum [2020-04-16T05:57:40.519Z] 0622d0fa9048: Download complete [2020-04-16T05:57:40.519Z] 138eaada9080: Verifying Checksum [2020-04-16T05:57:40.519Z] 138eaada9080: Download complete [2020-04-16T05:57:41.100Z] 41b27a9f41bf: Verifying Checksum [2020-04-16T05:57:41.100Z] 41b27a9f41bf: Download complete [2020-04-16T05:57:42.074Z] 756a868c4378: Pull complete [2020-04-16T05:57:42.074Z] 444b2fc9a129: Pull complete [2020-04-16T05:57:42.651Z] ea15f1150254: Pull complete [2020-04-16T05:57:45.950Z] 41b27a9f41bf: Pull complete [2020-04-16T05:57:45.950Z] 28c525ee5125: Pull complete [2020-04-16T05:57:47.870Z] 094b1ea09ed8: Pull complete [2020-04-16T05:57:47.870Z] 138eaada9080: Pull complete [2020-04-16T05:57:48.129Z] 0622d0fa9048: Pull complete [2020-04-16T05:57:48.129Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-16T05:57:48.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-16T05:57:48.286Z] prd-centos7-docker-4c-2g-4217 does not seem to be running inside a container [2020-04-16T05:57:48.328Z] $ 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-484 -v /w/workspace/dgexfoundry_device-sdk-go_PR-484:/w/workspace/dgexfoundry_device-sdk-go_PR-484:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-484@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-16T05:57:49.445Z] $ docker top 25d78608de4fe5d087b2d8ef5849daec30cd96c7d90ca6a36fc8342ac3ac97d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T05:57:49.703Z] provisioning config files... [2020-04-16T05:57:49.718Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/config2875799821345378639tmp [Pipeline] { [Pipeline] echo [2020-04-16T05:57:49.772Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T05:57:50.074Z] ---> create-netrc.sh [Pipeline] echo [2020-04-16T05:57:50.082Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T05:57:50.374Z] ---> logs-deploy.sh [2020-04-16T05:57:50.374Z] + ARCHIVE_ARTIFACTS= [2020-04-16T05:57:50.374Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-16T05:57:50.374Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-16T05:57:50.374Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-16T05:57:50.374Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-484/2 [2020-04-16T05:57:50.374Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-484/2/ [2020-04-16T05:57:50.374Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-484/2 /w/workspace/dgexfoundry_device-sdk-go_PR-484 [2020-04-16T05:57:51.752Z] Archives upload complete. [2020-04-16T05:57:51.752Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-484/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-484/2/