Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) 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-5100 in /w/workspace/dgexfoundry_device-sdk-go_master [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_master # 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/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 11599fec544a3b4af0d17b6529789613b5afe41c (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11599fec544a3b4af0d17b6529789613b5afe41c # timeout=10 Commit message: "Merge pull request #500 from hahattan/issue-498" > git rev-list --no-walk e907dc85042501c8e2f4fb84c2bfa5a8a6549c65 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T02:35:04.882Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T02:35:05.082Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T02:35:05.153Z] ========================================================= [2020-04-21T02:35:05.153Z] EdgeX Global Pipelines Version Info [2020-04-21T02:35:05.153Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-21T02:35:06.558Z] ------------------- [2020-04-21T02:35:06.558Z] stable info: [2020-04-21T02:35:06.558Z] ------------------- [2020-04-21T02:35:06.558Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T02:35:06.558Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T02:35:06.558Z] Message: update stable to v1.0.73 [2020-04-21T02:35:07.142Z] ------------------- [2020-04-21T02:35:07.142Z] experimental info: [2020-04-21T02:35:07.142Z] ------------------- [2020-04-21T02:35:07.142Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T02:35:07.142Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T02:35:07.142Z] 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-21T02:35:08.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T02:35:08.944Z] [2020-04-21T02:35:08.944Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:35:09.276Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T02:35:09.276Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T02:35:09.276Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T02:35:09.276Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T02:35:09.276Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T02:35:09.276Z] 93b08a4f1073: Pulling fs layer [2020-04-21T02:35:09.276Z] 93b08a4f1073: Waiting [2020-04-21T02:35:09.276Z] b8cc5d1170e3: Verifying Checksum [2020-04-21T02:35:09.276Z] b8cc5d1170e3: Download complete [2020-04-21T02:35:09.547Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T02:35:09.547Z] 9123ac7c32f7: Download complete [2020-04-21T02:35:09.547Z] 93b08a4f1073: Verifying Checksum [2020-04-21T02:35:09.547Z] 93b08a4f1073: Download complete [2020-04-21T02:35:09.547Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T02:35:09.547Z] 2924cbbf6a41: Download complete [2020-04-21T02:35:09.547Z] 9123ac7c32f7: Pull complete [2020-04-21T02:35:09.806Z] b8cc5d1170e3: Pull complete [2020-04-21T02:35:10.377Z] 2924cbbf6a41: Pull complete [2020-04-21T02:35:10.637Z] 93b08a4f1073: Pull complete [2020-04-21T02:35:10.637Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T02:35:10.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T02:35:10.766Z] prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container [2020-04-21T02:35:10.809Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T02:35:11.437Z] $ docker top 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T02:35:11.708Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T02:35:11.708Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T02:35:11.910Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T02:35:11.915Z] $ docker exec 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 ssh-agent [2020-04-21T02:35:12.096Z] SSH_AUTH_SOCK=/tmp/ssh-LuEZjpOVtlyc/agent.15 [2020-04-21T02:35:12.096Z] SSH_AGENT_PID=21 [2020-04-21T02:35:12.104Z] Running ssh-add (command line suppressed) [2020-04-21T02:35:12.260Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3010817667879812550.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3010817667879812550.key) [2020-04-21T02:35:12.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T02:35:12.645Z] + git describe --exact-match --tags HEAD [2020-04-21T02:35:12.645Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T02:35:12.701Z] $ docker exec --env ******** --env ******** 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 ssh-agent -k [2020-04-21T02:35:12.854Z] unset SSH_AUTH_SOCK; [2020-04-21T02:35:12.855Z] unset SSH_AGENT_PID; [2020-04-21T02:35:12.855Z] echo Agent pid 21 killed; [2020-04-21T02:35:12.895Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T02:35:12.980Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T02:35:12.980Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T02:35:13.057Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T02:35:13.057Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T02:35:13.233Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T02:35:13.239Z] $ docker exec 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 ssh-agent [2020-04-21T02:35:13.419Z] SSH_AUTH_SOCK=/tmp/ssh-a4petndtsmRU/agent.57 [2020-04-21T02:35:13.419Z] SSH_AGENT_PID=64 [2020-04-21T02:35:13.427Z] Running ssh-add (command line suppressed) [2020-04-21T02:35:13.567Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6547849609494674647.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6547849609494674647.key) [2020-04-21T02:35:13.612Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T02:35:13.932Z] + git semver init [2020-04-21T02:35:13.932Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T02:35:13.932Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-21T02:35:13.932Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T02:35:13.932Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T02:35:13.932Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T02:35:13.932Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T02:35:13.932Z] # $SEMVER_BRANCH = master [2020-04-21T02:35:13.932Z] # $SEMVER_TEMP = /tmp/semver-428277288 [2020-04-21T02:35:13.932Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-21T02:35:14.498Z] # '/tmp/semver-428277288' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-04-21T02:35:14.499Z] # -> Force: false [2020-04-21T02:35:14.499Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-21T02:35:14.509Z] $ docker exec --env ******** --env ******** 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 ssh-agent -k [2020-04-21T02:35:14.646Z] unset SSH_AUTH_SOCK; [2020-04-21T02:35:14.646Z] unset SSH_AGENT_PID; [2020-04-21T02:35:14.646Z] echo Agent pid 64 killed; [2020-04-21T02:35:14.681Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T02:35:15.119Z] + git semver [Pipeline] } [2020-04-21T02:35:15.134Z] $ docker stop --time=1 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 [2020-04-21T02:35:16.458Z] $ docker rm -f 681c3ba91aff42a4983f10a95463e9f1ba69c9daa4220f616d75df45e8104f50 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T02:35:17.246Z] Stashed 44 file(s) [Pipeline] echo [2020-04-21T02:35:17.248Z] [edgeXSemver] initialized semver on version 1.2.0-dev.27 [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-21T02:35:32.466Z] Still waiting to schedule task [2020-04-21T02:35:32.467Z] ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4592’ is offline; ‘prd-centos7-docker-4c-2g-5094’ is offline; ‘prd-centos7-docker-4c-2g-5098’ is offline; ‘prd-centos7-docker-4c-2g-5101’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5096’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-04-21T02:35:32.468Z] Still waiting to schedule task [2020-04-21T02:35:32.468Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-21T02:38:35.342Z] Running on prd-centos7-docker-4c-2g-5103 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-21T02:38:35.378Z] Running in /w/workspace/device-sdk-go/27 [Pipeline] { [Pipeline] checkout [2020-04-21T02:38:37.651Z] using credential edgex-jenkins-ssh [2020-04-21T02:38:37.691Z] Cloning the remote Git repository [2020-04-21T02:38:37.692Z] Cloning with configured refspecs honoured and without tags [2020-04-21T02:38:38.476Z] Fetching without tags [2020-04-21T02:38:37.516Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T02:38:37.562Z] > git init /w/workspace/device-sdk-go/27 # timeout=10 [2020-04-21T02:38:37.618Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T02:38:37.618Z] > git --version # timeout=10 [2020-04-21T02:38:37.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T02:38:37.660Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T02:38:38.306Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T02:38:38.312Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T02:38:38.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T02:38:38.340Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T02:38:38.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T02:38:38.345Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T02:38:38.845Z] Checking out Revision 11599fec544a3b4af0d17b6529789613b5afe41c (master) [2020-04-21T02:38:38.745Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T02:38:38.751Z] > git checkout -f 11599fec544a3b4af0d17b6529789613b5afe41c # timeout=10 [2020-04-21T02:38:42.615Z] Commit message: "Merge pull request #500 from hahattan/issue-498" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T02:38:43.469Z] ========================================================= [2020-04-21T02:38:43.469Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T02:38:43.469Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:38:44.203Z] + 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-21T02:38:44.462Z] Sending build context to Docker daemon 2.918MB [2020-04-21T02:38:44.462Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T02:38:44.462Z] Step 2/8 : FROM ${BASE} [2020-04-21T02:38:44.462Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T02:38:44.462Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T02:38:44.462Z] 2848faf0eed1: Pulling fs layer [2020-04-21T02:38:44.462Z] 0f37312ad70f: Pulling fs layer [2020-04-21T02:38:44.462Z] 5788d62ee057: Pulling fs layer [2020-04-21T02:38:44.462Z] 0e6b1d234666: Pulling fs layer [2020-04-21T02:38:44.462Z] bf5d7aec512f: Pulling fs layer [2020-04-21T02:38:44.462Z] 34c802a77dc8: Pulling fs layer [2020-04-21T02:38:44.462Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T02:38:44.462Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T02:38:44.462Z] 5c102a31e300: Pulling fs layer [2020-04-21T02:38:44.462Z] dcfb455df0a1: Pulling fs layer [2020-04-21T02:38:44.462Z] 0e6b1d234666: Waiting [2020-04-21T02:38:44.462Z] bf5d7aec512f: Waiting [2020-04-21T02:38:44.462Z] 34c802a77dc8: Waiting [2020-04-21T02:38:44.462Z] 9eb99e56ec68: Waiting [2020-04-21T02:38:44.462Z] 27c7a5d97fbd: Waiting [2020-04-21T02:38:44.462Z] 5c102a31e300: Waiting [2020-04-21T02:38:44.462Z] dcfb455df0a1: Waiting [2020-04-21T02:38:44.462Z] 5788d62ee057: Waiting [2020-04-21T02:38:44.462Z] 0f37312ad70f: Verifying Checksum [2020-04-21T02:38:44.462Z] 0f37312ad70f: Download complete [2020-04-21T02:38:44.462Z] 2848faf0eed1: Verifying Checksum [2020-04-21T02:38:44.462Z] 2848faf0eed1: Download complete [2020-04-21T02:38:44.462Z] 0e6b1d234666: Verifying Checksum [2020-04-21T02:38:44.462Z] 0e6b1d234666: Download complete [2020-04-21T02:38:44.462Z] bf5d7aec512f: Verifying Checksum [2020-04-21T02:38:44.462Z] bf5d7aec512f: Download complete [2020-04-21T02:38:44.462Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T02:38:44.462Z] e6b0cf9c0882: Download complete [2020-04-21T02:38:44.724Z] e6b0cf9c0882: Pull complete [2020-04-21T02:38:44.985Z] 2848faf0eed1: Pull complete [2020-04-21T02:38:45.244Z] 0f37312ad70f: Pull complete [2020-04-21T02:38:45.510Z] 34c802a77dc8: Verifying Checksum [2020-04-21T02:38:45.510Z] 34c802a77dc8: Download complete [2020-04-21T02:38:45.510Z] 27c7a5d97fbd: Verifying Checksum [2020-04-21T02:38:45.510Z] 27c7a5d97fbd: Download complete [2020-04-21T02:38:46.088Z] 5c102a31e300: Verifying Checksum [2020-04-21T02:38:46.089Z] 5c102a31e300: Download complete [2020-04-21T02:38:46.089Z] dcfb455df0a1: Verifying Checksum [2020-04-21T02:38:46.089Z] dcfb455df0a1: Download complete [2020-04-21T02:38:46.089Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T02:38:46.089Z] 9eb99e56ec68: Download complete [2020-04-21T02:38:46.662Z] 5788d62ee057: Verifying Checksum [2020-04-21T02:38:46.662Z] 5788d62ee057: Download complete [2020-04-21T02:38:53.273Z] 5788d62ee057: Pull complete [2020-04-21T02:38:53.273Z] 0e6b1d234666: Pull complete [2020-04-21T02:38:53.273Z] bf5d7aec512f: Pull complete [2020-04-21T02:38:59.893Z] 34c802a77dc8: Pull complete [2020-04-21T02:39:03.187Z] 9eb99e56ec68: Pull complete [2020-04-21T02:39:03.187Z] 27c7a5d97fbd: Pull complete [2020-04-21T02:39:03.453Z] 5c102a31e300: Pull complete [2020-04-21T02:39:03.714Z] dcfb455df0a1: Pull complete [2020-04-21T02:39:03.714Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T02:39:03.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T02:39:03.714Z] ---> 7c70fe431013 [2020-04-21T02:39:03.714Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T02:39:03.714Z] ---> Running in 86909be3b2a3 [2020-04-21T02:39:03.976Z] Removing intermediate container 86909be3b2a3 [2020-04-21T02:39:03.976Z] ---> e340836a7e72 [2020-04-21T02:39:03.976Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T02:39:03.976Z] ---> Running in 4d5bbd662d11 [2020-04-21T02:39:04.935Z] Removing intermediate container 4d5bbd662d11 [2020-04-21T02:39:04.935Z] ---> 582e7b6d15ee [2020-04-21T02:39:04.935Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T02:39:04.935Z] ---> Running in 3947c9ec19aa [2020-04-21T02:39:05.510Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T02:39:08.049Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T02:39:08.985Z] OK: 143 MiB in 39 packages [2020-04-21T02:39:09.245Z] Removing intermediate container 3947c9ec19aa [2020-04-21T02:39:09.245Z] ---> 1ab70611c467 [2020-04-21T02:39:09.245Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T02:39:09.245Z] ---> Running in b35f429f1f10 [2020-04-21T02:39:09.505Z] Removing intermediate container b35f429f1f10 [2020-04-21T02:39:09.505Z] ---> efb7a5b7b439 [2020-04-21T02:39:09.505Z] Step 7/8 : COPY . . [2020-04-21T02:39:10.073Z] ---> 714b89b20a95 [2020-04-21T02:39:10.074Z] Step 8/8 : RUN go mod download [2020-04-21T02:39:10.074Z] ---> Running in 002236b349b1 [2020-04-21T02:39:11.428Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5102 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-21T02:39:11.465Z] Running in /w/workspace/device-sdk-go/27 [Pipeline] { [Pipeline] checkout [2020-04-21T02:39:11.975Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T02:39:11.975Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T02:39:11.975Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T02:39:11.975Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T02:39:11.975Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T02:39:11.975Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T02:39:11.975Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T02:39:11.975Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T02:39:12.234Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T02:39:12.234Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T02:39:12.234Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T02:39:12.234Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T02:39:12.234Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T02:39:12.234Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T02:39:12.234Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T02:39:12.234Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T02:39:12.234Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T02:39:12.234Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T02:39:12.234Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T02:39:12.234Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T02:39:12.234Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T02:39:12.234Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T02:39:12.234Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T02:39:12.234Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T02:39:12.234Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T02:39:12.234Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T02:39:12.234Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T02:39:12.234Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T02:39:12.493Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T02:39:12.493Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T02:39:12.493Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T02:39:12.493Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T02:39:12.493Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T02:39:12.493Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T02:39:12.493Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T02:39:12.493Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T02:39:12.493Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T02:39:12.493Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T02:39:12.493Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T02:39:12.493Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T02:39:12.493Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T02:39:12.493Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T02:39:12.493Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T02:39:12.493Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T02:39:12.493Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T02:39:12.493Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T02:39:12.493Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T02:39:12.493Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T02:39:12.493Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T02:39:12.493Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T02:39:12.493Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T02:39:12.493Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T02:39:17.054Z] using credential edgex-jenkins-ssh [2020-04-21T02:39:17.103Z] Cloning the remote Git repository [2020-04-21T02:39:17.103Z] Cloning with configured refspecs honoured and without tags [2020-04-21T02:39:17.772Z] Removing intermediate container 002236b349b1 [2020-04-21T02:39:17.772Z] ---> 0596ec1dff99 [2020-04-21T02:39:17.772Z] Successfully built 0596ec1dff99 [2020-04-21T02:39:17.772Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [2020-04-21T02:39:17.135Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T02:39:17.213Z] > git init /w/workspace/device-sdk-go/27 # timeout=10 [2020-04-21T02:39:17.285Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T02:39:17.286Z] > git --version # timeout=10 [2020-04-21T02:39:17.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T02:39:17.391Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:39:18.317Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T02:39:18.317Z] . [Pipeline] withDockerContainer [2020-04-21T02:39:18.433Z] prd-centos7-docker-4c-2g-5103 does not seem to be running inside a container [2020-04-21T02:39:18.469Z] Fetching without tags [2020-04-21T02:39:18.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 ******** ci-base-image-x86_64 cat [2020-04-21T02:39:18.923Z] Checking out Revision 11599fec544a3b4af0d17b6529789613b5afe41c (master) [2020-04-21T02:39:19.011Z] $ docker top b664ceddc1d3c7112fde67c965956d4a36ae33d85873b77d0956ba8d9083c9a1 -eo pid,comm [2020-04-21T02:39:18.347Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T02:39:18.388Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T02:39:18.418Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T02:39:18.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T02:39:18.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T02:39:18.484Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T02:39:18.919Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T02:39:18.945Z] > git checkout -f 11599fec544a3b4af0d17b6529789613b5afe41c # timeout=10 [Pipeline] { [Pipeline] sh [2020-04-21T02:39:19.497Z] + go version [2020-04-21T02:39:19.497Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-21T02:39:19.800Z] + make test [2020-04-21T02:39:19.800Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T02:39:21.713Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T02:39:23.496Z] Commit message: "Merge pull request #500 from hahattan/issue-498" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T02:39:24.645Z] ========================================================= [2020-04-21T02:39:24.645Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T02:39:24.645Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:39:25.955Z] + 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-21T02:39:26.933Z] Sending build context to Docker daemon 2.92MB [2020-04-21T02:39:26.933Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T02:39:26.933Z] Step 2/8 : FROM ${BASE} [2020-04-21T02:39:27.201Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T02:39:27.201Z] cde5963f3b93: Pulling fs layer [2020-04-21T02:39:27.201Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T02:39:27.201Z] 777b28850792: Pulling fs layer [2020-04-21T02:39:27.202Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T02:39:27.202Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T02:39:27.202Z] 1df406cf5192: Pulling fs layer [2020-04-21T02:39:27.202Z] cd6300453558: Pulling fs layer [2020-04-21T02:39:27.202Z] b9c365052c96: Pulling fs layer [2020-04-21T02:39:27.202Z] a2d8cc88f415: Pulling fs layer [2020-04-21T02:39:27.202Z] ea1d1ca13537: Pulling fs layer [2020-04-21T02:39:27.202Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T02:39:27.202Z] 8a11ddd9e578: Waiting [2020-04-21T02:39:27.202Z] 4cf88f913ddb: Waiting [2020-04-21T02:39:27.202Z] cd6300453558: Waiting [2020-04-21T02:39:27.202Z] b9c365052c96: Waiting [2020-04-21T02:39:27.202Z] a2d8cc88f415: Waiting [2020-04-21T02:39:27.202Z] ea1d1ca13537: Waiting [2020-04-21T02:39:27.202Z] 3750a50a1c5e: Waiting [2020-04-21T02:39:27.202Z] 1df406cf5192: Waiting [2020-04-21T02:39:27.202Z] 777b28850792: Verifying Checksum [2020-04-21T02:39:27.202Z] 777b28850792: Download complete [2020-04-21T02:39:27.471Z] 2a23fa8c16f7: Verifying Checksum [2020-04-21T02:39:27.471Z] 2a23fa8c16f7: Download complete [2020-04-21T02:39:27.471Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T02:39:27.471Z] 4cf88f913ddb: Download complete [2020-04-21T02:39:27.471Z] 1df406cf5192: Verifying Checksum [2020-04-21T02:39:27.471Z] 1df406cf5192: Download complete [2020-04-21T02:39:27.739Z] cde5963f3b93: Verifying Checksum [2020-04-21T02:39:27.739Z] cde5963f3b93: Download complete [2020-04-21T02:39:28.709Z] cde5963f3b93: Pull complete [2020-04-21T02:39:28.995Z] 2a23fa8c16f7: Pull complete [2020-04-21T02:39:29.584Z] 777b28850792: Pull complete [2020-04-21T02:39:31.548Z] cd6300453558: Download complete [2020-04-21T02:39:31.777Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T02:39:31.777Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T02:39:31.777Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T02:39:31.777Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 22.1% of statements [2020-04-21T02:39:31.815Z] a2d8cc88f415: Verifying Checksum [2020-04-21T02:39:31.815Z] a2d8cc88f415: Download complete [2020-04-21T02:39:34.398Z] ea1d1ca13537: Verifying Checksum [2020-04-21T02:39:34.398Z] ea1d1ca13537: Download complete [2020-04-21T02:39:34.398Z] 3750a50a1c5e: Download complete [2020-04-21T02:39:36.998Z] b9c365052c96: Verifying Checksum [2020-04-21T02:39:36.998Z] b9c365052c96: Download complete [2020-04-21T02:39:37.164Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.047s coverage: 95.8% of statements [2020-04-21T02:39:38.948Z] 8a11ddd9e578: Verifying Checksum [2020-04-21T02:39:38.948Z] 8a11ddd9e578: Download complete [2020-04-21T02:39:51.290Z] 8a11ddd9e578: Pull complete [2020-04-21T02:39:51.290Z] 4cf88f913ddb: Pull complete [2020-04-21T02:39:51.290Z] 1df406cf5192: Pull complete [2020-04-21T02:39:55.541Z] cd6300453558: Pull complete [2020-04-21T02:39:59.797Z] b9c365052c96: Pull complete [2020-04-21T02:39:59.797Z] a2d8cc88f415: Pull complete [2020-04-21T02:40:01.755Z] ea1d1ca13537: Pull complete [2020-04-21T02:40:02.026Z] 3750a50a1c5e: Pull complete [2020-04-21T02:40:02.295Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T02:40:02.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T02:40:02.295Z] ---> 78745c68409d [2020-04-21T02:40:02.295Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T02:40:03.741Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.028s coverage: 11.4% of statements [2020-04-21T02:40:03.741Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.034s coverage: 21.7% of statements [2020-04-21T02:40:03.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T02:40:03.741Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.061s coverage: 36.9% of statements [2020-04-21T02:40:03.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T02:40:03.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T02:40:03.741Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.480s coverage: 74.9% of statements [2020-04-21T02:40:03.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T02:40:03.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T02:40:03.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T02:40:03.741Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements [2020-04-21T02:40:03.741Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T02:40:03.741Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 71.4% of statements [2020-04-21T02:40:03.741Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T02:40:03.741Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T02:40:03.741Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T02:40:05.672Z] gofmt -l . [2020-04-21T02:40:05.672Z] [ "`gofmt -l .`" = "" ] [2020-04-21T02:40:05.931Z] ./bin/test-attribution-txt.sh [2020-04-21T02:40:06.498Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T02:40:06.566Z] ---> Running in 87e97573c114 [2020-04-21T02:40:06.879Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T02:40:06.884Z] $ docker stop --time=1 b664ceddc1d3c7112fde67c965956d4a36ae33d85873b77d0956ba8d9083c9a1 [2020-04-21T02:40:07.154Z] Removing intermediate container 87e97573c114 [2020-04-21T02:40:07.154Z] ---> 3095f7776000 [2020-04-21T02:40:07.154Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T02:40:07.154Z] ---> Running in c5a3128eb39b [2020-04-21T02:40:08.762Z] $ docker rm -f b664ceddc1d3c7112fde67c965956d4a36ae33d85873b77d0956ba8d9083c9a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-04-21T02:40:09.299Z] Removing intermediate container c5a3128eb39b [2020-04-21T02:40:09.299Z] ---> f1a8a2cc9bee [2020-04-21T02:40:09.299Z] Step 5/8 : RUN apk add --no-cache make git [Pipeline] sh [2020-04-21T02:40:09.575Z] ---> Running in 27a07d308800 [2020-04-21T02:40:09.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T02:40:10.105Z] + ls -al . [2020-04-21T02:40:10.105Z] total 160 [2020-04-21T02:40:10.105Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 02:40 . [2020-04-21T02:40:10.105Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 21 02:38 .. [2020-04-21T02:40:10.105Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 02:38 api [2020-04-21T02:40:10.105Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 02:38 bin [2020-04-21T02:40:10.105Z] -rw-r--r--. 1 jenkins jenkins 97656 Apr 21 02:40 coverage.out [2020-04-21T02:40:10.105Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 02:38 Dockerfile.build [2020-04-21T02:40:10.105Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 02:38 .dockerignore [2020-04-21T02:40:10.105Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 02:38 example [2020-04-21T02:40:10.105Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 21 02:38 .git [2020-04-21T02:40:10.105Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 02:38 .github [2020-04-21T02:40:10.105Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 02:38 .gitignore [2020-04-21T02:40:10.105Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 21 02:40 go.mod [2020-04-21T02:40:10.105Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 02:40 go.sum [2020-04-21T02:40:10.105Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 02:38 internal [2020-04-21T02:40:10.105Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 02:38 Jenkinsfile [2020-04-21T02:40:10.105Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 02:38 LICENSE [2020-04-21T02:40:10.105Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 02:38 Makefile [2020-04-21T02:40:10.105Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 02:38 pkg [2020-04-21T02:40:10.105Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 02:38 README.md [2020-04-21T02:40:10.105Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 21 02:38 .semver [2020-04-21T02:40:10.105Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 02:38 snap [2020-04-21T02:40:10.105Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 21 02:35 VERSION [2020-04-21T02:40:10.105Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 02:38 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:40:10.418Z] + 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=11599fec544a3b4af0d17b6529789613b5afe41c --label arch=amd64 --label version=1.2.0-dev.27 . [2020-04-21T02:40:10.551Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T02:40:10.681Z] Sending build context to Docker daemon 3.037MB [2020-04-21T02:40:10.681Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T02:40:10.681Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T02:40:10.681Z] ---> 0596ec1dff99 [2020-04-21T02:40:10.681Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T02:40:10.681Z] ---> Running in f95f9fcdeb9a [2020-04-21T02:40:10.681Z] Removing intermediate container f95f9fcdeb9a [2020-04-21T02:40:10.681Z] ---> 77521d8db538 [2020-04-21T02:40:10.681Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T02:40:10.940Z] ---> Running in 050faf1c4dc9 [2020-04-21T02:40:10.940Z] Removing intermediate container 050faf1c4dc9 [2020-04-21T02:40:10.940Z] ---> 828e197dcaaf [2020-04-21T02:40:10.941Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T02:40:10.941Z] ---> Running in 63a7d74a681b [2020-04-21T02:40:11.203Z] Removing intermediate container 63a7d74a681b [2020-04-21T02:40:11.203Z] ---> fbbaeabd0a98 [2020-04-21T02:40:11.203Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T02:40:11.203Z] ---> Running in 10f770bdf96f [2020-04-21T02:40:11.771Z] Removing intermediate container 10f770bdf96f [2020-04-21T02:40:11.771Z] ---> 8cfd45d84eb1 [2020-04-21T02:40:11.771Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T02:40:11.972Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T02:40:12.032Z] ---> Running in 2b57eca85d39 [2020-04-21T02:40:12.291Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T02:40:12.948Z] OK: 125 MiB in 39 packages [2020-04-21T02:40:13.670Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T02:40:13.913Z] Removing intermediate container 27a07d308800 [2020-04-21T02:40:13.913Z] ---> d3a665c860d4 [2020-04-21T02:40:13.913Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T02:40:14.190Z] ---> Running in f6e29ba881d1 [2020-04-21T02:40:14.776Z] Removing intermediate container f6e29ba881d1 [2020-04-21T02:40:14.776Z] ---> 0603fce3d732 [2020-04-21T02:40:14.776Z] Step 7/8 : COPY . . [2020-04-21T02:40:15.051Z] OK: 143 MiB in 39 packages [2020-04-21T02:40:15.310Z] Removing intermediate container 2b57eca85d39 [2020-04-21T02:40:15.310Z] ---> db8049404c18 [2020-04-21T02:40:15.310Z] Step 8/21 : COPY . . [2020-04-21T02:40:15.569Z] ---> acd363aa1aeb [2020-04-21T02:40:15.569Z] Step 9/21 : RUN ${MAKE} [2020-04-21T02:40:15.569Z] ---> Running in 7d9a68ffa9d5 [2020-04-21T02:40:16.139Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.27" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-21T02:40:16.198Z] ---> 7321eda36fab [2020-04-21T02:40:16.198Z] Step 8/8 : RUN go mod download [2020-04-21T02:40:16.198Z] ---> Running in ca4018c2281f [2020-04-21T02:40:18.160Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T02:40:18.160Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T02:40:18.160Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T02:40:18.160Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T02:40:18.160Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T02:40:18.160Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T02:40:18.160Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T02:40:18.160Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T02:40:18.160Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T02:40:18.160Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T02:40:18.160Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T02:40:18.160Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T02:40:18.160Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T02:40:18.431Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T02:40:18.431Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T02:40:18.431Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T02:40:18.431Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T02:40:18.431Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T02:40:18.431Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T02:40:18.431Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T02:40:18.431Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T02:40:18.431Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T02:40:18.698Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T02:40:18.698Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T02:40:18.698Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T02:40:18.698Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T02:40:18.698Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T02:40:18.698Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T02:40:18.698Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T02:40:18.698Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T02:40:18.698Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T02:40:18.698Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T02:40:18.698Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T02:40:18.698Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T02:40:18.698Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T02:40:18.698Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T02:40:18.698Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T02:40:18.698Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T02:40:18.698Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T02:40:18.698Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T02:40:18.698Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T02:40:18.698Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T02:40:18.698Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T02:40:18.698Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T02:40:18.966Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T02:40:18.966Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T02:40:18.966Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T02:40:18.966Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T02:40:18.966Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T02:40:18.966Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T02:40:18.966Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T02:40:18.966Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T02:40:24.333Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T02:40:24.594Z] Removing intermediate container 7d9a68ffa9d5 [2020-04-21T02:40:24.594Z] ---> 0ff0a3ffcc86 [2020-04-21T02:40:24.594Z] Step 10/21 : FROM scratch [2020-04-21T02:40:24.594Z] ---> [2020-04-21T02:40:24.594Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T02:40:24.594Z] ---> Running in 4712160481be [2020-04-21T02:40:24.853Z] Removing intermediate container 4712160481be [2020-04-21T02:40:24.853Z] ---> 64d892a31fee [2020-04-21T02:40:24.853Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T02:40:24.853Z] ---> Running in 0d6cd84b4ab9 [2020-04-21T02:40:24.853Z] Removing intermediate container 0d6cd84b4ab9 [2020-04-21T02:40:24.853Z] ---> c9ba7382b702 [2020-04-21T02:40:24.853Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T02:40:24.853Z] ---> Running in 60817ac06acf [2020-04-21T02:40:25.111Z] Removing intermediate container 60817ac06acf [2020-04-21T02:40:25.111Z] ---> 53cd1f04504d [2020-04-21T02:40:25.111Z] Step 14/21 : WORKDIR / [2020-04-21T02:40:25.111Z] ---> Running in d69b808948cb [2020-04-21T02:40:25.371Z] Removing intermediate container d69b808948cb [2020-04-21T02:40:25.371Z] ---> 4cf1f0343d87 [2020-04-21T02:40:25.371Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T02:40:25.630Z] ---> 9f4a107aa0b2 [2020-04-21T02:40:25.630Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T02:40:25.889Z] ---> 64d570007cc2 [2020-04-21T02:40:25.889Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T02:40:25.889Z] ---> 819f004b84d7 [2020-04-21T02:40:25.889Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T02:40:26.149Z] ---> Running in 39477a1810e5 [2020-04-21T02:40:26.408Z] Removing intermediate container 39477a1810e5 [2020-04-21T02:40:26.408Z] ---> 6a83b23c7042 [2020-04-21T02:40:26.408Z] Step 19/21 : LABEL arch=amd64 [2020-04-21T02:40:26.408Z] ---> Running in 09bdd19b002c [2020-04-21T02:40:26.670Z] Removing intermediate container 09bdd19b002c [2020-04-21T02:40:26.670Z] ---> 01bcfeb9d1f1 [2020-04-21T02:40:26.670Z] Step 20/21 : LABEL git_sha=11599fec544a3b4af0d17b6529789613b5afe41c [2020-04-21T02:40:26.670Z] ---> Running in 48b2fc35455d [2020-04-21T02:40:26.670Z] Removing intermediate container 48b2fc35455d [2020-04-21T02:40:26.670Z] ---> 5ea4b242700e [2020-04-21T02:40:26.670Z] Step 21/21 : LABEL version=1.2.0-dev.27 [2020-04-21T02:40:26.929Z] ---> Running in c2a40db21cba [2020-04-21T02:40:26.929Z] Removing intermediate container c2a40db21cba [2020-04-21T02:40:26.929Z] ---> a09565cb6fcb [2020-04-21T02:40:26.929Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T02:40:26.929Z] Successfully built a09565cb6fcb [2020-04-21T02:40:26.929Z] 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-21T02:40:29.088Z] Removing intermediate container ca4018c2281f [2020-04-21T02:40:29.088Z] ---> 1bd1fbb6fc69 [2020-04-21T02:40:29.088Z] Successfully built 1bd1fbb6fc69 [2020-04-21T02:40:29.088Z] 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-21T02:40:29.792Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T02:40:30.065Z] . [Pipeline] withDockerContainer [2020-04-21T02:40:30.427Z] prd-ubuntu18.04-docker-arm64-4c-16g-5102 does not seem to be running inside a container [2020-04-21T02:40:30.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 ******** ci-base-image-arm64 cat [2020-04-21T02:40:32.302Z] $ docker top 3ce347f0a1c4d90d43cda9c20d3f783f74df673e6a2e7f24752c362234284308 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T02:40:33.409Z] + go version [2020-04-21T02:40:33.409Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T02:40:34.078Z] + make test [2020-04-21T02:40:34.078Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T02:40:35.499Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T02:41:07.794Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T02:41:07.794Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T02:41:07.794Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T02:41:07.794Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.031s coverage: 22.1% of statements [2020-04-21T02:41:08.764Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.150s coverage: 95.8% of statements [2020-04-21T02:41:41.003Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.073s coverage: 11.4% of statements [2020-04-21T02:41:41.003Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.7% of statements [2020-04-21T02:41:41.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T02:41:41.003Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.241s coverage: 36.9% of statements [2020-04-21T02:41:41.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T02:41:41.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T02:41:41.003Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.780s coverage: 74.9% of statements [2020-04-21T02:41:41.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T02:41:41.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T02:41:41.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T02:41:41.003Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.039s coverage: 52.6% of statements [2020-04-21T02:41:41.003Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T02:41:41.003Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 71.4% of statements [2020-04-21T02:41:41.003Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T02:41:41.003Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T02:41:41.003Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T02:41:45.285Z] gofmt -l . [2020-04-21T02:41:45.285Z] [ "`gofmt -l .`" = "" ] [2020-04-21T02:41:45.876Z] ./bin/test-attribution-txt.sh [2020-04-21T02:41:46.465Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T02:41:47.067Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T02:41:47.576Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T02:41:47.592Z] $ docker stop --time=1 3ce347f0a1c4d90d43cda9c20d3f783f74df673e6a2e7f24752c362234284308 [2020-04-21T02:41:49.934Z] $ docker rm -f 3ce347f0a1c4d90d43cda9c20d3f783f74df673e6a2e7f24752c362234284308 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T02:41:51.250Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T02:41:51.594Z] + ls -al . [2020-04-21T02:41:51.594Z] total 200 [2020-04-21T02:41:51.594Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 02:41 . [2020-04-21T02:41:51.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 02:39 .. [2020-04-21T02:41:51.594Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 02:39 .dockerignore [2020-04-21T02:41:51.594Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 02:39 .git [2020-04-21T02:41:51.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 02:39 .github [2020-04-21T02:41:51.594Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 02:39 .gitignore [2020-04-21T02:41:51.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 02:39 .semver [2020-04-21T02:41:51.594Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 02:39 Dockerfile.build [2020-04-21T02:41:51.594Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 02:39 Jenkinsfile [2020-04-21T02:41:51.594Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 02:39 LICENSE [2020-04-21T02:41:51.594Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 02:39 Makefile [2020-04-21T02:41:51.594Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 02:39 README.md [2020-04-21T02:41:51.594Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 21 02:35 VERSION [2020-04-21T02:41:51.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 02:39 api [2020-04-21T02:41:51.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 02:39 bin [2020-04-21T02:41:51.594Z] -rw-r--r-- 1 jenkins jenkins 97656 Apr 21 02:41 coverage.out [2020-04-21T02:41:51.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 02:39 example [2020-04-21T02:41:51.594Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 21 02:41 go.mod [2020-04-21T02:41:51.594Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 02:41 go.sum [2020-04-21T02:41:51.594Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 02:39 internal [2020-04-21T02:41:51.594Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 02:39 pkg [2020-04-21T02:41:51.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 02:39 snap [2020-04-21T02:41:51.594Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 02:39 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:41:51.929Z] + 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=11599fec544a3b4af0d17b6529789613b5afe41c --label arch=arm64 --label version=1.2.0-dev.27 . [2020-04-21T02:41:52.514Z] Sending build context to Docker daemon 3.039MB [2020-04-21T02:41:52.514Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T02:41:52.514Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T02:41:52.514Z] ---> 1bd1fbb6fc69 [2020-04-21T02:41:52.514Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T02:41:52.781Z] ---> Running in ce3afd62a7ba [2020-04-21T02:41:53.047Z] Removing intermediate container ce3afd62a7ba [2020-04-21T02:41:53.047Z] ---> 0bc6722a6672 [2020-04-21T02:41:53.047Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T02:41:53.048Z] ---> Running in fbf6745af804 [2020-04-21T02:41:53.630Z] Removing intermediate container fbf6745af804 [2020-04-21T02:41:53.630Z] ---> fdda1b1af2bb [2020-04-21T02:41:53.630Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T02:41:53.630Z] ---> Running in 4be3d331fd07 [2020-04-21T02:41:54.215Z] Removing intermediate container 4be3d331fd07 [2020-04-21T02:41:54.215Z] ---> 4bc27139feed [2020-04-21T02:41:54.215Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T02:41:54.215Z] ---> Running in dc5a431843f4 [2020-04-21T02:41:56.166Z] Removing intermediate container dc5a431843f4 [2020-04-21T02:41:56.166Z] ---> 5c1c3b59051d [2020-04-21T02:41:56.166Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T02:41:56.166Z] ---> Running in d60704fc4fac [2020-04-21T02:41:57.129Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T02:41:58.539Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T02:41:59.499Z] OK: 125 MiB in 39 packages [2020-04-21T02:42:00.913Z] Removing intermediate container d60704fc4fac [2020-04-21T02:42:00.913Z] ---> b5b9e7cf3a46 [2020-04-21T02:42:00.913Z] Step 8/21 : COPY . . [2020-04-21T02:42:01.886Z] ---> 5886475cbd98 [2020-04-21T02:42:01.886Z] Step 9/21 : RUN ${MAKE} [2020-04-21T02:42:01.886Z] ---> Running in c08074fc9d70 [2020-04-21T02:42:02.853Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.27" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-21T02:42:29.577Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T02:42:29.578Z] Removing intermediate container c08074fc9d70 [2020-04-21T02:42:29.578Z] ---> 967ad589d92e [2020-04-21T02:42:29.578Z] Step 10/21 : FROM scratch [2020-04-21T02:42:29.578Z] ---> [2020-04-21T02:42:29.578Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T02:42:29.578Z] ---> Running in 238ea8155561 [2020-04-21T02:42:29.578Z] Removing intermediate container 238ea8155561 [2020-04-21T02:42:29.578Z] ---> c92832540341 [2020-04-21T02:42:29.578Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T02:42:29.578Z] ---> Running in 16dbc9a806f8 [2020-04-21T02:42:29.578Z] Removing intermediate container 16dbc9a806f8 [2020-04-21T02:42:29.578Z] ---> 474a5733aba3 [2020-04-21T02:42:29.578Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T02:42:29.578Z] ---> Running in ae70a6c2e996 [2020-04-21T02:42:29.578Z] Removing intermediate container ae70a6c2e996 [2020-04-21T02:42:29.578Z] ---> fa6400f2132a [2020-04-21T02:42:29.578Z] Step 14/21 : WORKDIR / [2020-04-21T02:42:29.578Z] ---> Running in f0ca2ef3e95e [2020-04-21T02:42:29.845Z] Removing intermediate container f0ca2ef3e95e [2020-04-21T02:42:29.845Z] ---> d1e7fe2be333 [2020-04-21T02:42:29.845Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T02:42:30.806Z] ---> 8e46520b7617 [2020-04-21T02:42:30.806Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T02:42:31.391Z] ---> c807e99a7b34 [2020-04-21T02:42:31.391Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T02:42:31.974Z] ---> 7e87e73bbe23 [2020-04-21T02:42:31.974Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T02:42:31.974Z] ---> Running in 5b61dc720530 [2020-04-21T02:42:32.243Z] Removing intermediate container 5b61dc720530 [2020-04-21T02:42:32.243Z] ---> 1d7881e350c6 [2020-04-21T02:42:32.243Z] Step 19/21 : LABEL arch=arm64 [2020-04-21T02:42:32.509Z] ---> Running in e35bb0671a8e [2020-04-21T02:42:32.777Z] Removing intermediate container e35bb0671a8e [2020-04-21T02:42:32.777Z] ---> c4035caf5962 [2020-04-21T02:42:32.777Z] Step 20/21 : LABEL git_sha=11599fec544a3b4af0d17b6529789613b5afe41c [2020-04-21T02:42:33.046Z] ---> Running in e459c4be25b4 [2020-04-21T02:42:33.314Z] Removing intermediate container e459c4be25b4 [2020-04-21T02:42:33.314Z] ---> 53106552ea97 [2020-04-21T02:42:33.314Z] Step 21/21 : LABEL version=1.2.0-dev.27 [2020-04-21T02:42:33.314Z] ---> Running in 771fcde6f363 [2020-04-21T02:42:33.899Z] Removing intermediate container 771fcde6f363 [2020-04-21T02:42:33.899Z] ---> 812d29e1ea87 [2020-04-21T02:42:33.899Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T02:42:33.900Z] Successfully built 812d29e1ea87 [2020-04-21T02:42:33.900Z] 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-21T02:42:35.032Z] provisioning config files... [2020-04-21T02:42:35.047Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6275556663291317080tmp [Pipeline] { [Pipeline] sh [2020-04-21T02:42:35.388Z] + curl -s https://codecov.io/bash [2020-04-21T02:42:35.388Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6275556663291317080tmp [2020-04-21T02:42:35.647Z] [2020-04-21T02:42:35.647Z] _____ _ [2020-04-21T02:42:35.647Z] / ____| | | [2020-04-21T02:42:35.647Z] | | ___ __| | ___ ___ _____ __ [2020-04-21T02:42:35.647Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-21T02:42:35.647Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-21T02:42:35.647Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-21T02:42:35.647Z] Bash-tbd [2020-04-21T02:42:35.647Z] [2020-04-21T02:42:35.647Z] [2020-04-21T02:42:35.647Z] ==> Jenkins CI detected. [2020-04-21T02:42:35.647Z] project root: . [2020-04-21T02:42:35.647Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-21T02:42:35.647Z] ==> Running gcov in . (disable via -X gcov) [2020-04-21T02:42:35.647Z] ==> Python coveragepy not found [2020-04-21T02:42:35.647Z] ==> Searching for coverage reports in: [2020-04-21T02:42:35.647Z] + . [2020-04-21T02:42:35.647Z] -> Found 1 reports [2020-04-21T02:42:35.647Z] ==> Detecting git/mercurial file structure [2020-04-21T02:42:35.647Z] ==> Reading reports [2020-04-21T02:42:35.647Z] + ./coverage.out bytes=97656 [2020-04-21T02:42:35.647Z] ==> Appending adjustments [2020-04-21T02:42:35.647Z] http://docs.codecov.io/docs/fixing-reports [2020-04-21T02:42:35.907Z] + Found adjustments [2020-04-21T02:42:35.907Z] ==> Gzipping contents [2020-04-21T02:42:35.907Z] ==> Uploading reports [2020-04-21T02:42:35.907Z] url: https://codecov.io [2020-04-21T02:42:35.907Z] query: branch=master&commit=11599fec544a3b4af0d17b6529789613b5afe41c&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-21T02:42:35.907Z] -> Pinging Codecov [2020-04-21T02:42:35.907Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=11599fec544a3b4af0d17b6529789613b5afe41c&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-21T02:42:36.476Z] -> Uploading [2020-04-21T02:42:37.452Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/11599fec544a3b4af0d17b6529789613b5afe41c [Pipeline] } [2020-04-21T02:42:37.459Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-21T02:42:37.767Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-21T02:42:37.769Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-21T02:42:37.815Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:42:38.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-21T02:42:38.144Z] [2020-04-21T02:42:38.144Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:42:38.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-21T02:42:38.475Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-21T02:42:38.475Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T02:42:38.475Z] 2848faf0eed1: Pulling fs layer [2020-04-21T02:42:38.475Z] 0f37312ad70f: Pulling fs layer [2020-04-21T02:42:38.475Z] 7d08f2745646: Pulling fs layer [2020-04-21T02:42:38.475Z] 4c9f31393084: Pulling fs layer [2020-04-21T02:42:38.475Z] eb21ddb83652: Pulling fs layer [2020-04-21T02:42:38.475Z] 345998794f6b: Pulling fs layer [2020-04-21T02:42:38.475Z] 97a711d68925: Pulling fs layer [2020-04-21T02:42:38.475Z] 7c8476c1cb00: Pulling fs layer [2020-04-21T02:42:38.475Z] eb21ddb83652: Waiting [2020-04-21T02:42:38.475Z] 345998794f6b: Waiting [2020-04-21T02:42:38.475Z] 97a711d68925: Waiting [2020-04-21T02:42:38.475Z] 7c8476c1cb00: Waiting [2020-04-21T02:42:38.475Z] 4c9f31393084: Waiting [2020-04-21T02:42:38.475Z] 7d08f2745646: Waiting [2020-04-21T02:42:38.475Z] 0f37312ad70f: Verifying Checksum [2020-04-21T02:42:38.475Z] 0f37312ad70f: Download complete [2020-04-21T02:42:38.475Z] 2848faf0eed1: Verifying Checksum [2020-04-21T02:42:38.475Z] 2848faf0eed1: Download complete [2020-04-21T02:42:38.475Z] 4c9f31393084: Verifying Checksum [2020-04-21T02:42:38.475Z] 4c9f31393084: Download complete [2020-04-21T02:42:38.475Z] eb21ddb83652: Download complete [2020-04-21T02:42:38.475Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T02:42:39.070Z] e6b0cf9c0882: Pull complete [2020-04-21T02:42:39.070Z] 345998794f6b: Verifying Checksum [2020-04-21T02:42:39.070Z] 345998794f6b: Download complete [2020-04-21T02:42:39.070Z] 2848faf0eed1: Pull complete [2020-04-21T02:42:39.336Z] 0f37312ad70f: Pull complete [2020-04-21T02:42:39.336Z] 97a711d68925: Download complete [2020-04-21T02:42:39.596Z] 7c8476c1cb00: Verifying Checksum [2020-04-21T02:42:39.596Z] 7c8476c1cb00: Download complete [2020-04-21T02:42:40.173Z] 7d08f2745646: Verifying Checksum [2020-04-21T02:42:40.173Z] 7d08f2745646: Download complete [2020-04-21T02:42:45.463Z] 7d08f2745646: Pull complete [2020-04-21T02:42:45.463Z] 4c9f31393084: Pull complete [2020-04-21T02:42:45.463Z] eb21ddb83652: Pull complete [2020-04-21T02:42:47.376Z] 345998794f6b: Pull complete [2020-04-21T02:42:51.569Z] 97a711d68925: Pull complete [2020-04-21T02:42:51.570Z] 7c8476c1cb00: Pull complete [2020-04-21T02:42:51.570Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-21T02:42:51.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-21T02:42:51.715Z] prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container [2020-04-21T02:42:51.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-04-21T02:42:52.280Z] $ docker top d8999f01ab4cb27f4393d9f9fd1b287f6e3f155456fe7c2a7baf2d99eaede255 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T02:42:52.782Z] + snyk monitor '--org=edgex-jenkins' [2020-04-21T02:43:04.990Z] [2020-04-21T02:43:04.990Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-04-21T02:43:04.990Z] [2020-04-21T02:43:04.990Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/b1735c09-2b13-4f85-bdb4-a9fe19e6f97b [2020-04-21T02:43:04.990Z] [2020-04-21T02:43:04.990Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-21T02:43:04.990Z] [2020-04-21T02:43:04.990Z] [Pipeline] } [2020-04-21T02:43:05.002Z] $ docker stop --time=1 d8999f01ab4cb27f4393d9f9fd1b287f6e3f155456fe7c2a7baf2d99eaede255 [2020-04-21T02:43:06.410Z] $ docker rm -f d8999f01ab4cb27f4393d9f9fd1b287f6e3f155456fe7c2a7baf2d99eaede255 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:43:07.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T02:43:07.587Z] . [Pipeline] withDockerContainer [2020-04-21T02:43:07.696Z] prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container [2020-04-21T02:43:07.737Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T02:43:08.277Z] $ docker top 39061b0c0664c68c784622082f407ebba292aef3e70edcc1858b938800f35cce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T02:43:08.527Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T02:43:08.527Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T02:43:08.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T02:43:08.732Z] $ docker exec 39061b0c0664c68c784622082f407ebba292aef3e70edcc1858b938800f35cce ssh-agent [2020-04-21T02:43:08.921Z] SSH_AUTH_SOCK=/tmp/ssh-WtJ6EDhzbO7q/agent.15 [2020-04-21T02:43:08.921Z] SSH_AGENT_PID=22 [2020-04-21T02:43:08.927Z] Running ssh-add (command line suppressed) [2020-04-21T02:43:09.073Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1769491969234357306.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1769491969234357306.key) [2020-04-21T02:43:09.121Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T02:43:09.496Z] + git semver tag [2020-04-21T02:43:09.496Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T02:43:09.496Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-21T02:43:09.496Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T02:43:09.496Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T02:43:09.496Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T02:43:09.496Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T02:43:09.496Z] # $SEMVER_BRANCH = master [2020-04-21T02:43:09.496Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-21T02:43:09.496Z] # 11599fec544a3b4af0d17b6529789613b5afe41c HEAD [2020-04-21T02:43:09.754Z] # -> Force: false [2020-04-21T02:43:09.754Z] # 5ea9a0e230b19cd90d149b05c544ba6f8ba03f73 refs/tags/v1.2.0-dev.27 [Pipeline] } [2020-04-21T02:43:09.763Z] $ docker exec --env ******** --env ******** 39061b0c0664c68c784622082f407ebba292aef3e70edcc1858b938800f35cce ssh-agent -k [2020-04-21T02:43:09.899Z] unset SSH_AUTH_SOCK; [2020-04-21T02:43:09.899Z] unset SSH_AGENT_PID; [2020-04-21T02:43:09.899Z] echo Agent pid 22 killed; [2020-04-21T02:43:09.941Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T02:43:10.387Z] + git semver [Pipeline] } [2020-04-21T02:43:10.400Z] $ docker stop --time=1 39061b0c0664c68c784622082f407ebba292aef3e70edcc1858b938800f35cce [2020-04-21T02:43:11.727Z] $ docker rm -f 39061b0c0664c68c784622082f407ebba292aef3e70edcc1858b938800f35cce [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:43:12.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-21T02:43:12.310Z] [2020-04-21T02:43:12.310Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:43:12.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-21T02:43:12.641Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-21T02:43:12.641Z] ab5ef0e58194: Pulling fs layer [2020-04-21T02:43:12.641Z] 9712f1f96733: Pulling fs layer [2020-04-21T02:43:12.641Z] 63f879dbbcfc: Pulling fs layer [2020-04-21T02:43:12.641Z] 0d9ebad4ef96: Pulling fs layer [2020-04-21T02:43:12.641Z] e9a5061849ea: Pulling fs layer [2020-04-21T02:43:12.641Z] d747dcd14b5f: Pulling fs layer [2020-04-21T02:43:12.641Z] 2de7ff778b66: Pulling fs layer [2020-04-21T02:43:12.641Z] e9a5061849ea: Waiting [2020-04-21T02:43:12.641Z] d747dcd14b5f: Waiting [2020-04-21T02:43:12.641Z] 2de7ff778b66: Waiting [2020-04-21T02:43:12.641Z] 0d9ebad4ef96: Waiting [2020-04-21T02:43:12.641Z] 9712f1f96733: Verifying Checksum [2020-04-21T02:43:12.641Z] 9712f1f96733: Download complete [2020-04-21T02:43:14.635Z] 63f879dbbcfc: Verifying Checksum [2020-04-21T02:43:14.635Z] 63f879dbbcfc: Download complete [2020-04-21T02:43:14.635Z] e9a5061849ea: Verifying Checksum [2020-04-21T02:43:14.635Z] e9a5061849ea: Download complete [2020-04-21T02:43:14.635Z] d747dcd14b5f: Verifying Checksum [2020-04-21T02:43:14.635Z] d747dcd14b5f: Download complete [2020-04-21T02:43:14.635Z] 2de7ff778b66: Verifying Checksum [2020-04-21T02:43:14.635Z] 2de7ff778b66: Download complete [2020-04-21T02:43:14.635Z] 0d9ebad4ef96: Verifying Checksum [2020-04-21T02:43:14.635Z] 0d9ebad4ef96: Download complete [2020-04-21T02:43:14.635Z] ab5ef0e58194: Verifying Checksum [2020-04-21T02:43:14.635Z] ab5ef0e58194: Download complete [2020-04-21T02:43:19.937Z] ab5ef0e58194: Pull complete [2020-04-21T02:43:19.937Z] 9712f1f96733: Pull complete [2020-04-21T02:43:21.840Z] 63f879dbbcfc: Pull complete [2020-04-21T02:43:27.117Z] 0d9ebad4ef96: Pull complete [2020-04-21T02:43:31.308Z] e9a5061849ea: Pull complete [2020-04-21T02:43:31.308Z] d747dcd14b5f: Pull complete [2020-04-21T02:43:32.694Z] 2de7ff778b66: Pull complete [2020-04-21T02:43:32.694Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-21T02:43:32.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-21T02:43:32.825Z] prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container [2020-04-21T02:43:32.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-04-21T02:43:34.210Z] $ docker top 418e83c7c6721c54bc2c72d285fcbd9170b393edf2c7059d76e8a7a21534eb66 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-21T02:43:34.398Z] provisioning config files... [2020-04-21T02:43:34.405Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config561073393302150581tmp [2020-04-21T02:43:34.420Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1814698204123830193tmp [2020-04-21T02:43:34.433Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4100885379635215444tmp [Pipeline] { [Pipeline] echo [2020-04-21T02:43:34.489Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T02:43:34.777Z] ---> sigul-configuration.sh [2020-04-21T02:43:34.777Z] gpg: directory `/root/.gnupg' created [2020-04-21T02:43:34.777Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-21T02:43:34.777Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-21T02:43:34.777Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-21T02:43:34.777Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-21T02:43:34.777Z] gpg: CAST5 encrypted data [2020-04-21T02:43:35.035Z] gpg: encrypted with 1 passphrase [2020-04-21T02:43:35.035Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-21T02:43:35.325Z] + mkdir /home/jenkins [2020-04-21T02:43:35.325Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-21T02:43:35.615Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-04-21T02:43:35.622Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T02:43:35.911Z] ---> sigul-install.sh [2020-04-21T02:43:42.488Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-21T02:43:42.786Z] + git tag --list [2020-04-21T02:43:42.786Z] v1.2.0-dev.27 [Pipeline] sh [2020-04-21T02:43:43.142Z] + lftools sign git-tag v1.2.0-dev.27 [2020-04-21T02:43:44.144Z] Signing Git tag with Sigul... [2020-04-21T02:43:44.144Z] Signing v1.2.0-dev.27 [Pipeline] echo [2020-04-21T02:43:45.528Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T02:43:45.822Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-21T02:43:45.828Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-21T02:43:45.933Z] $ docker stop --time=1 418e83c7c6721c54bc2c72d285fcbd9170b393edf2c7059d76e8a7a21534eb66 [2020-04-21T02:43:47.323Z] $ docker rm -f 418e83c7c6721c54bc2c72d285fcbd9170b393edf2c7059d76e8a7a21534eb66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:43:48.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T02:43:48.002Z] . [Pipeline] withDockerContainer [2020-04-21T02:43:48.108Z] prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container [2020-04-21T02:43:48.146Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T02:43:48.714Z] $ docker top 62983dcf2fe5ce02dd415cebfe8dc1284468786f473e37b572cee2b75930e606 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T02:43:48.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T02:43:48.994Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T02:43:49.192Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T02:43:49.196Z] $ docker exec 62983dcf2fe5ce02dd415cebfe8dc1284468786f473e37b572cee2b75930e606 ssh-agent [2020-04-21T02:43:49.385Z] SSH_AUTH_SOCK=/tmp/ssh-nUUYB69U56Ih/agent.13 [2020-04-21T02:43:49.385Z] SSH_AGENT_PID=20 [2020-04-21T02:43:49.391Z] Running ssh-add (command line suppressed) [2020-04-21T02:43:49.534Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6099023366375380244.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6099023366375380244.key) [2020-04-21T02:43:49.581Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T02:43:49.898Z] + git semver bump pre [2020-04-21T02:43:49.898Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T02:43:49.898Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-21T02:43:49.898Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T02:43:49.898Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T02:43:49.898Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T02:43:49.898Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T02:43:49.898Z] # $SEMVER_BRANCH = master [2020-04-21T02:43:49.898Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-21T02:43:49.898Z] 1.2.0-dev.28 [Pipeline] } [2020-04-21T02:43:49.907Z] $ docker exec --env ******** --env ******** 62983dcf2fe5ce02dd415cebfe8dc1284468786f473e37b572cee2b75930e606 ssh-agent -k [2020-04-21T02:43:50.040Z] unset SSH_AUTH_SOCK; [2020-04-21T02:43:50.041Z] unset SSH_AGENT_PID; [2020-04-21T02:43:50.041Z] echo Agent pid 20 killed; [2020-04-21T02:43:50.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T02:43:50.535Z] + git semver [Pipeline] } [2020-04-21T02:43:50.547Z] $ docker stop --time=1 62983dcf2fe5ce02dd415cebfe8dc1284468786f473e37b572cee2b75930e606 [2020-04-21T02:43:52.007Z] $ docker rm -f 62983dcf2fe5ce02dd415cebfe8dc1284468786f473e37b572cee2b75930e606 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:43:52.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T02:43:52.496Z] . [Pipeline] withDockerContainer [2020-04-21T02:43:52.607Z] prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container [2020-04-21T02:43:52.646Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T02:43:53.160Z] $ docker top 3145acbcdff4b9248720638235b5d8e47e7660978896da3f012ff59f0214a256 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T02:43:53.458Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T02:43:53.458Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T02:43:53.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T02:43:53.634Z] $ docker exec 3145acbcdff4b9248720638235b5d8e47e7660978896da3f012ff59f0214a256 ssh-agent [2020-04-21T02:43:53.809Z] SSH_AUTH_SOCK=/tmp/ssh-JxFb4q9rsaWn/agent.15 [2020-04-21T02:43:53.809Z] SSH_AGENT_PID=22 [2020-04-21T02:43:53.814Z] Running ssh-add (command line suppressed) [2020-04-21T02:43:53.956Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2478573544807298911.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2478573544807298911.key) [2020-04-21T02:43:54.001Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T02:43:54.323Z] + git semver push [2020-04-21T02:43:54.323Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T02:43:54.323Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-21T02:43:54.323Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T02:43:54.323Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T02:43:54.323Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T02:43:54.323Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T02:43:54.323Z] # $SEMVER_BRANCH = master [2020-04-21T02:43:54.323Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-21T02:44:00.893Z] $ docker exec --env ******** --env ******** 3145acbcdff4b9248720638235b5d8e47e7660978896da3f012ff59f0214a256 ssh-agent -k [2020-04-21T02:44:01.048Z] unset SSH_AUTH_SOCK; [2020-04-21T02:44:01.048Z] unset SSH_AGENT_PID; [2020-04-21T02:44:01.048Z] echo Agent pid 22 killed; [2020-04-21T02:44:01.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T02:44:01.558Z] + git semver [Pipeline] } [2020-04-21T02:44:01.572Z] $ docker stop --time=1 3145acbcdff4b9248720638235b5d8e47e7660978896da3f012ff59f0214a256 [2020-04-21T02:44:02.948Z] $ docker rm -f 3145acbcdff4b9248720638235b5d8e47e7660978896da3f012ff59f0214a256 [Pipeline] // withDockerContainer [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-21T02:44:03.721Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T02:44:04.271Z] ---> package-listing.sh [2020-04-21T02:44:04.271Z] ++ facter osfamily [2020-04-21T02:44:04.271Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T02:44:04.271Z] + OS_FAMILY=redhat [2020-04-21T02:44:04.271Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T02:44:04.271Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T02:44:04.271Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T02:44:04.271Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T02:44:04.271Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T02:44:04.271Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-21T02:44:04.272Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T02:44:04.272Z] + case "${OS_FAMILY}" in [2020-04-21T02:44:04.272Z] + rpm -qa [2020-04-21T02:44:04.272Z] + sort [2020-04-21T02:44:08.455Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T02:44:08.455Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T02:44:08.455Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T02:44:08.455Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-21T02:44:08.455Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-04-21T02:44:08.455Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:44:08.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T02:44:08.993Z] [2020-04-21T02:44:08.993Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T02:44:09.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T02:44:09.332Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T02:44:09.332Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T02:44:09.332Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T02:44:09.332Z] 756a868c4378: Pulling fs layer [2020-04-21T02:44:09.332Z] 444b2fc9a129: Pulling fs layer [2020-04-21T02:44:09.332Z] ea15f1150254: Pulling fs layer [2020-04-21T02:44:09.332Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T02:44:09.332Z] 28c525ee5125: Pulling fs layer [2020-04-21T02:44:09.332Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T02:44:09.332Z] 138eaada9080: Pulling fs layer [2020-04-21T02:44:09.332Z] 0622d0fa9048: Pulling fs layer [2020-04-21T02:44:09.332Z] 444b2fc9a129: Waiting [2020-04-21T02:44:09.332Z] ea15f1150254: Waiting [2020-04-21T02:44:09.332Z] 138eaada9080: Waiting [2020-04-21T02:44:09.332Z] 0622d0fa9048: Waiting [2020-04-21T02:44:09.332Z] 094b1ea09ed8: Waiting [2020-04-21T02:44:09.332Z] 41b27a9f41bf: Waiting [2020-04-21T02:44:09.332Z] 28c525ee5125: Waiting [2020-04-21T02:44:09.332Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-21T02:44:09.332Z] 2cc5ad85d9ab: Download complete [2020-04-21T02:44:09.332Z] 444b2fc9a129: Verifying Checksum [2020-04-21T02:44:09.332Z] 444b2fc9a129: Download complete [2020-04-21T02:44:09.332Z] c9b1b535fdd9: Download complete [2020-04-21T02:44:09.332Z] ea15f1150254: Verifying Checksum [2020-04-21T02:44:09.332Z] ea15f1150254: Download complete [2020-04-21T02:44:09.593Z] 28c525ee5125: Verifying Checksum [2020-04-21T02:44:09.593Z] 28c525ee5125: Download complete [2020-04-21T02:44:09.593Z] c9b1b535fdd9: Pull complete [2020-04-21T02:44:09.854Z] 756a868c4378: Verifying Checksum [2020-04-21T02:44:09.854Z] 756a868c4378: Download complete [2020-04-21T02:44:09.854Z] 138eaada9080: Verifying Checksum [2020-04-21T02:44:09.854Z] 138eaada9080: Download complete [2020-04-21T02:44:09.854Z] 0622d0fa9048: Verifying Checksum [2020-04-21T02:44:09.854Z] 0622d0fa9048: Download complete [2020-04-21T02:44:10.115Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T02:44:10.115Z] 094b1ea09ed8: Download complete [2020-04-21T02:44:10.374Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T02:44:10.374Z] 41b27a9f41bf: Download complete [2020-04-21T02:44:11.313Z] 2cc5ad85d9ab: Pull complete [2020-04-21T02:44:12.694Z] 756a868c4378: Pull complete [2020-04-21T02:44:12.694Z] 444b2fc9a129: Pull complete [2020-04-21T02:44:14.081Z] ea15f1150254: Pull complete [2020-04-21T02:44:17.381Z] 41b27a9f41bf: Pull complete [2020-04-21T02:44:17.642Z] 28c525ee5125: Pull complete [2020-04-21T02:44:20.943Z] 094b1ea09ed8: Pull complete [2020-04-21T02:44:20.943Z] 138eaada9080: Pull complete [2020-04-21T02:44:20.943Z] 0622d0fa9048: Pull complete [2020-04-21T02:44:20.943Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T02:44:20.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T02:44:21.101Z] prd-centos7-docker-4c-2g-5100 does not seem to be running inside a container [2020-04-21T02:44:21.141Z] $ 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_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-21T02:44:22.306Z] $ docker top 143f85cad76abfd8dcb4827553239edad980e564a5d693650101227eb3325522 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T02:44:22.606Z] provisioning config files... [2020-04-21T02:44:22.619Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2718727182971684156tmp [Pipeline] { [Pipeline] echo [2020-04-21T02:44:22.684Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T02:44:22.976Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T02:44:22.983Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T02:44:23.280Z] ---> logs-deploy.sh [2020-04-21T02:44:23.280Z] + ARCHIVE_ARTIFACTS= [2020-04-21T02:44:23.280Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T02:44:23.280Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T02:44:23.280Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T02:44:23.280Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/27 [2020-04-21T02:44:23.280Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/27/ [2020-04-21T02:44:23.280Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/27 /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T02:44:24.213Z] Archives upload complete. [2020-04-21T02:44:24.471Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/27 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/27/