Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fc4d8ba2ca6bee1bf2e474e60f47b75130718504 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 ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4279’ is offline; ‘prd-centos7-docker-4c-2g-4282’ is offline Running on prd-centos7-docker-4c-2g-4283 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 fc4d8ba2ca6bee1bf2e474e60f47b75130718504 (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 fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 Commit message: "Merge pull request #486 from hahattan/issue-480" > git rev-list --no-walk 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-16T14:25:56.955Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-16T14:25:57.142Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-16T14:25:57.206Z] ========================================================= [2020-04-16T14:25:57.206Z] EdgeX Global Pipelines Version Info [2020-04-16T14:25:57.206Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:25:58.619Z] ------------------- [2020-04-16T14:25:58.619Z] stable info: [2020-04-16T14:25:58.619Z] ------------------- [2020-04-16T14:25:58.619Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-16T14:25:58.619Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T14:25:58.619Z] Message: update stable to v1.0.73 [2020-04-16T14:25:59.195Z] ------------------- [2020-04-16T14:25:59.195Z] experimental info: [2020-04-16T14:25:59.195Z] ------------------- [2020-04-16T14:25:59.195Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-16T14:25:59.195Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T14:25:59.195Z] 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-16T14:26:00.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:26:00.928Z] [2020-04-16T14:26:00.928Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:26:01.264Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:26:01.264Z] latest: Pulling from edgex-devops/git-semver [2020-04-16T14:26:01.264Z] 9123ac7c32f7: Pulling fs layer [2020-04-16T14:26:01.264Z] b8cc5d1170e3: Pulling fs layer [2020-04-16T14:26:01.264Z] 2924cbbf6a41: Pulling fs layer [2020-04-16T14:26:01.264Z] 93b08a4f1073: Pulling fs layer [2020-04-16T14:26:01.264Z] 93b08a4f1073: Waiting [2020-04-16T14:26:01.264Z] b8cc5d1170e3: Download complete [2020-04-16T14:26:01.525Z] 9123ac7c32f7: Verifying Checksum [2020-04-16T14:26:01.525Z] 9123ac7c32f7: Download complete [2020-04-16T14:26:01.525Z] 93b08a4f1073: Verifying Checksum [2020-04-16T14:26:01.525Z] 93b08a4f1073: Download complete [2020-04-16T14:26:01.525Z] 2924cbbf6a41: Verifying Checksum [2020-04-16T14:26:01.786Z] 9123ac7c32f7: Pull complete [2020-04-16T14:26:02.050Z] b8cc5d1170e3: Pull complete [2020-04-16T14:26:03.000Z] 2924cbbf6a41: Pull complete [2020-04-16T14:26:03.000Z] 93b08a4f1073: Pull complete [2020-04-16T14:26:03.268Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-16T14:26:03.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-16T14:26:03.419Z] prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container [2020-04-16T14:26:03.467Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-16T14:26:04.160Z] $ docker top 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T14:26:04.419Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:26:04.419Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:26:04.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:26:04.697Z] $ docker exec 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 ssh-agent [2020-04-16T14:26:04.911Z] SSH_AUTH_SOCK=/tmp/ssh-wXiQ8yt3rPOt/agent.15 [2020-04-16T14:26:04.911Z] SSH_AGENT_PID=21 [2020-04-16T14:26:04.920Z] Running ssh-add (command line suppressed) [2020-04-16T14:26:05.094Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8287511651853250278.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8287511651853250278.key) [2020-04-16T14:26:05.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:26:05.469Z] + git describe --exact-match --tags HEAD [2020-04-16T14:26:05.469Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-16T14:26:05.587Z] $ docker exec --env ******** --env ******** 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 ssh-agent -k [2020-04-16T14:26:05.746Z] unset SSH_AUTH_SOCK; [2020-04-16T14:26:05.748Z] unset SSH_AGENT_PID; [2020-04-16T14:26:05.748Z] echo Agent pid 21 killed; [2020-04-16T14:26:05.803Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-16T14:26:05.903Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-16T14:26:05.904Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-16T14:26:05.976Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:26:05.976Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:26:06.199Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:26:06.206Z] $ docker exec 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 ssh-agent [2020-04-16T14:26:06.429Z] SSH_AUTH_SOCK=/tmp/ssh-jk5Ham7Iat6s/agent.55 [2020-04-16T14:26:06.429Z] SSH_AGENT_PID=62 [2020-04-16T14:26:06.439Z] Running ssh-add (command line suppressed) [2020-04-16T14:26:06.598Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8885202862908261501.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8885202862908261501.key) [2020-04-16T14:26:06.654Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:26:06.980Z] + git semver init [2020-04-16T14:26:06.980Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T14:26:06.980Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-16T14:26:06.980Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-16T14:26:06.980Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T14:26:06.980Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T14:26:06.980Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T14:26:06.980Z] # $SEMVER_BRANCH = master [2020-04-16T14:26:06.980Z] # $SEMVER_TEMP = /tmp/semver-851581738 [2020-04-16T14:26:06.980Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-16T14:26:07.551Z] # '/tmp/semver-851581738' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-04-16T14:26:07.551Z] # -> Force: false [2020-04-16T14:26:07.551Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-16T14:26:07.566Z] $ docker exec --env ******** --env ******** 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 ssh-agent -k [2020-04-16T14:26:07.710Z] unset SSH_AUTH_SOCK; [2020-04-16T14:26:07.711Z] unset SSH_AGENT_PID; [2020-04-16T14:26:07.711Z] echo Agent pid 62 killed; [2020-04-16T14:26:07.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T14:26:08.199Z] + git semver [Pipeline] } [2020-04-16T14:26:08.221Z] $ docker stop --time=1 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 [2020-04-16T14:26:09.565Z] $ docker rm -f 9b17dc764d21eee1f5a2c4b28ee5b2582ef1ba60e3cb7c267eab7cdebf8255b6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-16T14:26:10.499Z] Stashed 39 file(s) [Pipeline] echo [2020-04-16T14:26:10.501Z] [edgeXSemver] initialized semver on version 1.2.0-dev.22 [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-16T14:26:25.768Z] Still waiting to schedule task [2020-04-16T14:26:25.769Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-16T14:26:25.770Z] Still waiting to schedule task [2020-04-16T14:26:25.770Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4284’ is offline [2020-04-16T14:29:10.603Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4288 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-16T14:29:10.641Z] Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout [2020-04-16T14:29:16.706Z] using credential edgex-jenkins-ssh [2020-04-16T14:29:16.751Z] Cloning the remote Git repository [2020-04-16T14:29:16.751Z] Cloning with configured refspecs honoured and without tags [2020-04-16T14:29:16.869Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:29:16.996Z] > git init /w/workspace/device-sdk-go/22 # timeout=10 [2020-04-16T14:29:17.091Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:29:17.092Z] > git --version # timeout=10 [2020-04-16T14:29:17.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:29:17.220Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:29:18.222Z] Fetching without tags [2020-04-16T14:29:18.720Z] Checking out Revision fc4d8ba2ca6bee1bf2e474e60f47b75130718504 (master) [2020-04-16T14:29:18.083Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T14:29:18.143Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:29:18.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T14:29:18.223Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:29:18.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:29:18.237Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:29:18.748Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:29:18.773Z] > git checkout -f fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 [2020-04-16T14:29:23.484Z] Commit message: "Merge pull request #486 from hahattan/issue-480" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T14:29:24.768Z] ========================================================= [2020-04-16T14:29:24.768Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-16T14:29:24.768Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:29:26.065Z] + 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-16T14:29:27.044Z] Sending build context to Docker daemon 2.864MB [2020-04-16T14:29:27.044Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T14:29:27.044Z] Step 2/8 : FROM ${BASE} [2020-04-16T14:29:27.632Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-16T14:29:27.632Z] cde5963f3b93: Pulling fs layer [2020-04-16T14:29:27.632Z] 2a23fa8c16f7: Pulling fs layer [2020-04-16T14:29:27.632Z] 777b28850792: Pulling fs layer [2020-04-16T14:29:27.632Z] 8a11ddd9e578: Pulling fs layer [2020-04-16T14:29:27.632Z] 4cf88f913ddb: Pulling fs layer [2020-04-16T14:29:27.632Z] 1df406cf5192: Pulling fs layer [2020-04-16T14:29:27.632Z] cd6300453558: Pulling fs layer [2020-04-16T14:29:27.632Z] b9c365052c96: Pulling fs layer [2020-04-16T14:29:27.632Z] a2d8cc88f415: Pulling fs layer [2020-04-16T14:29:27.632Z] ea1d1ca13537: Pulling fs layer [2020-04-16T14:29:27.632Z] 3750a50a1c5e: Pulling fs layer [2020-04-16T14:29:27.632Z] 8a11ddd9e578: Waiting [2020-04-16T14:29:27.632Z] 4cf88f913ddb: Waiting [2020-04-16T14:29:27.632Z] 1df406cf5192: Waiting [2020-04-16T14:29:27.632Z] cd6300453558: Waiting [2020-04-16T14:29:27.632Z] b9c365052c96: Waiting [2020-04-16T14:29:27.632Z] a2d8cc88f415: Waiting [2020-04-16T14:29:27.632Z] ea1d1ca13537: Waiting [2020-04-16T14:29:27.632Z] 3750a50a1c5e: Waiting [2020-04-16T14:29:27.632Z] 777b28850792: Download complete [2020-04-16T14:29:27.632Z] 2a23fa8c16f7: Verifying Checksum [2020-04-16T14:29:27.632Z] 2a23fa8c16f7: Download complete [2020-04-16T14:29:27.632Z] 4cf88f913ddb: Verifying Checksum [2020-04-16T14:29:27.632Z] 4cf88f913ddb: Download complete [2020-04-16T14:29:27.632Z] 1df406cf5192: Verifying Checksum [2020-04-16T14:29:27.632Z] 1df406cf5192: Download complete [2020-04-16T14:29:27.907Z] cde5963f3b93: Verifying Checksum [2020-04-16T14:29:27.907Z] cde5963f3b93: Download complete [2020-04-16T14:29:28.512Z] cde5963f3b93: Pull complete [2020-04-16T14:29:29.111Z] 2a23fa8c16f7: Pull complete [2020-04-16T14:29:29.700Z] 777b28850792: Pull complete [2020-04-16T14:29:32.317Z] cd6300453558: Verifying Checksum [2020-04-16T14:29:32.317Z] cd6300453558: Download complete [2020-04-16T14:29:32.317Z] a2d8cc88f415: Verifying Checksum [2020-04-16T14:29:32.317Z] a2d8cc88f415: Download complete [2020-04-16T14:29:34.268Z] ea1d1ca13537: Verifying Checksum [2020-04-16T14:29:34.268Z] ea1d1ca13537: Download complete [2020-04-16T14:29:34.535Z] 3750a50a1c5e: Download complete [2020-04-16T14:29:37.119Z] b9c365052c96: Verifying Checksum [2020-04-16T14:29:37.119Z] b9c365052c96: Download complete [2020-04-16T14:29:39.081Z] 8a11ddd9e578: Verifying Checksum [2020-04-16T14:29:39.081Z] 8a11ddd9e578: Download complete [2020-04-16T14:29:51.434Z] 8a11ddd9e578: Pull complete [2020-04-16T14:29:51.434Z] 4cf88f913ddb: Pull complete [2020-04-16T14:29:51.434Z] 1df406cf5192: Pull complete [2020-04-16T14:29:55.703Z] cd6300453558: Pull complete [2020-04-16T14:30:00.044Z] b9c365052c96: Pull complete [2020-04-16T14:30:00.044Z] a2d8cc88f415: Pull complete [2020-04-16T14:30:02.001Z] ea1d1ca13537: Pull complete [2020-04-16T14:30:02.279Z] 3750a50a1c5e: Pull complete [2020-04-16T14:30:02.279Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-16T14:30:02.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-16T14:30:02.279Z] ---> 78745c68409d [2020-04-16T14:30:02.279Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:30:04.963Z] Running on prd-centos7-docker-4c-2g-4289 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-16T14:30:05.039Z] Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout [2020-04-16T14:30:06.543Z] ---> Running in 4dcc3186a304 [2020-04-16T14:30:07.136Z] Removing intermediate container 4dcc3186a304 [2020-04-16T14:30:07.136Z] ---> faedb28a8559 [2020-04-16T14:30:07.136Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:30:07.136Z] ---> Running in 0385c5a1f91d [2020-04-16T14:30:09.092Z] Removing intermediate container 0385c5a1f91d [2020-04-16T14:30:09.092Z] ---> 0a89fa653b30 [2020-04-16T14:30:09.092Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-16T14:30:09.362Z] ---> Running in 5c9090a72bdb [2020-04-16T14:30:10.325Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T14:30:12.271Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T14:30:14.217Z] OK: 125 MiB in 39 packages [2020-04-16T14:30:15.637Z] Removing intermediate container 5c9090a72bdb [2020-04-16T14:30:15.637Z] ---> e6f076ca57ae [2020-04-16T14:30:15.637Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-16T14:30:15.637Z] ---> Running in e4dd405cca09 [2020-04-16T14:30:15.936Z] using credential edgex-jenkins-ssh [2020-04-16T14:30:15.981Z] Cloning the remote Git repository [2020-04-16T14:30:15.981Z] Cloning with configured refspecs honoured and without tags [2020-04-16T14:30:16.227Z] Removing intermediate container e4dd405cca09 [2020-04-16T14:30:16.227Z] ---> b0e5b49220e9 [2020-04-16T14:30:16.227Z] Step 7/8 : COPY . . [2020-04-16T14:30:16.066Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:30:16.155Z] > git init /w/workspace/device-sdk-go/22 # timeout=10 [2020-04-16T14:30:16.292Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:30:16.293Z] > git --version # timeout=10 [2020-04-16T14:30:16.332Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:30:17.397Z] Fetching without tags [2020-04-16T14:30:17.643Z] ---> 7c467c2c30ad [2020-04-16T14:30:17.643Z] Step 8/8 : RUN go mod download [2020-04-16T14:30:17.643Z] ---> Running in b30ed18538e4 [2020-04-16T14:30:16.444Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:30:17.358Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T14:30:17.370Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:30:17.388Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T14:30:17.403Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:30:17.403Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:30:17.413Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:30:17.941Z] Checking out Revision fc4d8ba2ca6bee1bf2e474e60f47b75130718504 (master) [2020-04-16T14:30:17.964Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:30:17.972Z] > git checkout -f fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 [2020-04-16T14:30:19.596Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T14:30:19.596Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-16T14:30:19.596Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T14:30:19.596Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T14:30:19.596Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T14:30:19.596Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T14:30:19.596Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-16T14:30:19.596Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T14:30:19.596Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-16T14:30:19.866Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-16T14:30:19.866Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-16T14:30:19.866Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-16T14:30:19.866Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-16T14:30:19.866Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T14:30:19.866Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-16T14:30:19.866Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T14:30:19.866Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T14:30:19.866Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T14:30:19.866Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T14:30:19.866Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T14:30:19.866Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-16T14:30:19.866Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-16T14:30:19.866Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-16T14:30:19.866Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T14:30:20.135Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T14:30:20.135Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T14:30:20.135Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T14:30:20.135Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T14:30:20.135Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T14:30:20.135Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T14:30:20.135Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T14:30:20.135Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T14:30:20.135Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T14:30:20.135Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T14:30:20.135Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T14:30:20.402Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T14:30:20.402Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T14:30:20.402Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T14:30:20.402Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T14:30:20.402Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T14:30:20.402Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T14:30:20.402Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T14:30:20.402Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T14:30:20.402Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T14:30:20.402Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T14:30:20.402Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T14:30:20.402Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-16T14:30:20.402Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T14:30:20.402Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-16T14:30:20.402Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T14:30:20.670Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T14:30:20.670Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T14:30:20.670Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T14:30:20.670Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T14:30:20.670Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-16T14:30:23.242Z] Commit message: "Merge pull request #486 from hahattan/issue-480" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T14:30:24.570Z] ========================================================= [2020-04-16T14:30:24.570Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-16T14:30:24.570Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:30:26.191Z] + 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-16T14:30:26.794Z] Sending build context to Docker daemon 2.864MB [2020-04-16T14:30:26.794Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T14:30:26.794Z] Step 2/8 : FROM ${BASE} [2020-04-16T14:30:26.794Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-16T14:30:26.794Z] e6b0cf9c0882: Pulling fs layer [2020-04-16T14:30:26.794Z] 2848faf0eed1: Pulling fs layer [2020-04-16T14:30:26.794Z] 0f37312ad70f: Pulling fs layer [2020-04-16T14:30:26.794Z] 5788d62ee057: Pulling fs layer [2020-04-16T14:30:26.794Z] 0e6b1d234666: Pulling fs layer [2020-04-16T14:30:26.794Z] bf5d7aec512f: Pulling fs layer [2020-04-16T14:30:26.794Z] 34c802a77dc8: Pulling fs layer [2020-04-16T14:30:26.794Z] 9eb99e56ec68: Pulling fs layer [2020-04-16T14:30:26.794Z] 27c7a5d97fbd: Pulling fs layer [2020-04-16T14:30:26.794Z] 5c102a31e300: Pulling fs layer [2020-04-16T14:30:26.794Z] dcfb455df0a1: Pulling fs layer [2020-04-16T14:30:26.794Z] 34c802a77dc8: Waiting [2020-04-16T14:30:26.794Z] 9eb99e56ec68: Waiting [2020-04-16T14:30:26.794Z] 27c7a5d97fbd: Waiting [2020-04-16T14:30:26.794Z] 5c102a31e300: Waiting [2020-04-16T14:30:26.794Z] dcfb455df0a1: Waiting [2020-04-16T14:30:26.794Z] 5788d62ee057: Waiting [2020-04-16T14:30:26.794Z] 0e6b1d234666: Waiting [2020-04-16T14:30:26.794Z] bf5d7aec512f: Waiting [2020-04-16T14:30:27.193Z] 0f37312ad70f: Download complete [2020-04-16T14:30:27.738Z] e6b0cf9c0882: Verifying Checksum [2020-04-16T14:30:27.738Z] e6b0cf9c0882: Download complete [2020-04-16T14:30:28.083Z] 2848faf0eed1: Verifying Checksum [2020-04-16T14:30:28.083Z] 2848faf0eed1: Download complete [2020-04-16T14:30:28.083Z] 0e6b1d234666: Verifying Checksum [2020-04-16T14:30:28.083Z] 0e6b1d234666: Download complete [2020-04-16T14:30:28.083Z] bf5d7aec512f: Verifying Checksum [2020-04-16T14:30:28.083Z] bf5d7aec512f: Download complete [2020-04-16T14:30:28.362Z] e6b0cf9c0882: Pull complete [2020-04-16T14:30:28.630Z] 2848faf0eed1: Pull complete [2020-04-16T14:30:28.919Z] 0f37312ad70f: Pull complete [2020-04-16T14:30:29.587Z] 34c802a77dc8: Verifying Checksum [2020-04-16T14:30:29.587Z] 34c802a77dc8: Download complete [2020-04-16T14:30:29.587Z] 27c7a5d97fbd: Verifying Checksum [2020-04-16T14:30:29.587Z] 27c7a5d97fbd: Download complete [2020-04-16T14:30:30.724Z] 5c102a31e300: Verifying Checksum [2020-04-16T14:30:30.724Z] 5c102a31e300: Download complete [2020-04-16T14:30:30.724Z] dcfb455df0a1: Verifying Checksum [2020-04-16T14:30:30.724Z] dcfb455df0a1: Download complete [2020-04-16T14:30:30.757Z] Removing intermediate container b30ed18538e4 [2020-04-16T14:30:30.757Z] ---> 11cd67cdcd91 [2020-04-16T14:30:30.757Z] Successfully built 11cd67cdcd91 [2020-04-16T14:30:30.757Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-04-16T14:30:31.059Z] 9eb99e56ec68: Verifying Checksum [2020-04-16T14:30:31.059Z] 9eb99e56ec68: Download complete [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:30:31.355Z] 5788d62ee057: Verifying Checksum [2020-04-16T14:30:31.355Z] 5788d62ee057: Download complete [2020-04-16T14:30:31.381Z] + docker inspect -f . ci-base-image-arm64 [2020-04-16T14:30:31.648Z] . [Pipeline] withDockerContainer [2020-04-16T14:30:32.006Z] prd-ubuntu18.04-docker-arm64-4c-16g-4288 does not seem to be running inside a container [2020-04-16T14:30:32.111Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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-16T14:30:33.791Z] $ docker top bea0789634f1dba4ec5b211d91f694c8513a6bc60d3da829937b9252480ab25d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T14:30:34.911Z] + go version [2020-04-16T14:30:34.911Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-16T14:30:35.589Z] + make test [2020-04-16T14:30:35.589Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-16T14:30:37.011Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-16T14:30:41.558Z] 5788d62ee057: Pull complete [2020-04-16T14:30:41.558Z] 0e6b1d234666: Pull complete [2020-04-16T14:30:41.558Z] bf5d7aec512f: Pull complete [2020-04-16T14:30:46.930Z] 34c802a77dc8: Pull complete [2020-04-16T14:30:52.277Z] 9eb99e56ec68: Pull complete [2020-04-16T14:30:52.277Z] 27c7a5d97fbd: Pull complete [2020-04-16T14:30:53.267Z] 5c102a31e300: Pull complete [2020-04-16T14:30:53.548Z] dcfb455df0a1: Pull complete [2020-04-16T14:30:53.548Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-16T14:30:53.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-16T14:30:53.548Z] ---> 7c70fe431013 [2020-04-16T14:30:53.548Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:30:53.884Z] ---> Running in ca884dd2df1e [2020-04-16T14:30:54.284Z] Removing intermediate container ca884dd2df1e [2020-04-16T14:30:54.284Z] ---> 7df7fd33ecc2 [2020-04-16T14:30:54.284Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:30:54.284Z] ---> Running in 7b68c0f8da69 [2020-04-16T14:30:56.927Z] Removing intermediate container 7b68c0f8da69 [2020-04-16T14:30:56.927Z] ---> 4fe51e221265 [2020-04-16T14:30:56.927Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-16T14:30:56.927Z] ---> Running in d2ca75d8b429 [2020-04-16T14:30:57.900Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T14:30:58.495Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T14:30:58.759Z] OK: 143 MiB in 39 packages [2020-04-16T14:30:59.358Z] Removing intermediate container d2ca75d8b429 [2020-04-16T14:30:59.358Z] ---> 86d241fcb897 [2020-04-16T14:30:59.358Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-16T14:30:59.358Z] ---> Running in b2690f476e69 [2020-04-16T14:30:59.621Z] Removing intermediate container b2690f476e69 [2020-04-16T14:30:59.621Z] ---> 0378b2c655c6 [2020-04-16T14:30:59.621Z] Step 7/8 : COPY . . [2020-04-16T14:31:00.631Z] ---> d80bcd5a22f4 [2020-04-16T14:31:00.631Z] Step 8/8 : RUN go mod download [2020-04-16T14:31:00.631Z] ---> Running in b8bfb0e1c085 [2020-04-16T14:31:03.289Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T14:31:03.289Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-16T14:31:03.289Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T14:31:03.289Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T14:31:03.289Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T14:31:03.289Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T14:31:03.289Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-16T14:31:03.289Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T14:31:03.289Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-16T14:31:03.289Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-16T14:31:03.289Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-16T14:31:03.289Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-16T14:31:03.551Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-16T14:31:03.551Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T14:31:03.551Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-16T14:31:03.551Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T14:31:03.551Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T14:31:03.551Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T14:31:03.551Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T14:31:03.551Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T14:31:03.551Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T14:31:03.551Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T14:31:03.850Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T14:31:03.851Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T14:31:03.851Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T14:31:03.851Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T14:31:03.851Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T14:31:03.851Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T14:31:03.851Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T14:31:03.851Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T14:31:03.851Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T14:31:03.851Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T14:31:03.851Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T14:31:03.851Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T14:31:03.851Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T14:31:03.851Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T14:31:03.851Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T14:31:04.164Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T14:31:04.164Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T14:31:04.164Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T14:31:04.164Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T14:31:04.164Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T14:31:04.164Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T14:31:04.164Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T14:31:04.164Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T14:31:04.164Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T14:31:04.164Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-16T14:31:04.164Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T14:31:04.164Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-16T14:31:04.164Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T14:31:04.164Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T14:31:04.164Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T14:31:04.164Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T14:31:04.164Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T14:31:04.164Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-16T14:31:09.329Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-16T14:31:09.329Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-16T14:31:09.329Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.080s coverage: 22.1% of statements [2020-04-16T14:31:09.329Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.184s coverage: 95.8% of statements [2020-04-16T14:31:10.952Z] Removing intermediate container b8bfb0e1c085 [2020-04-16T14:31:10.952Z] ---> d06eae3b3520 [2020-04-16T14:31:10.952Z] Successfully built d06eae3b3520 [2020-04-16T14:31:10.952Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:31:11.635Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-16T14:31:11.635Z] . [Pipeline] withDockerContainer [2020-04-16T14:31:11.883Z] prd-centos7-docker-4c-2g-4289 does not seem to be running inside a container [2020-04-16T14:31:12.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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-x86_64 cat [2020-04-16T14:31:14.413Z] $ docker top c5074ae0d1c9d990f45d95f1085bdbaefe1b6738554c0c341085cf9b7f9b6063 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T14:31:15.376Z] + go version [2020-04-16T14:31:15.400Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-16T14:31:16.515Z] + make test [2020-04-16T14:31:16.515Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-16T14:31:18.558Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-16T14:31:33.689Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-16T14:31:33.689Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-16T14:31:33.689Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.028s coverage: 22.1% of statements [2020-04-16T14:31:37.421Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.049s coverage: 95.8% of statements [2020-04-16T14:31:41.636Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.099s coverage: 11.4% of statements [2020-04-16T14:31:41.636Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 22.1% of statements [2020-04-16T14:31:41.636Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-16T14:31:41.636Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.133s coverage: 38.5% of statements [2020-04-16T14:31:41.636Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-16T14:31:41.636Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-16T14:31:41.636Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.681s coverage: 79.8% of statements [2020-04-16T14:31:41.636Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-16T14:31:41.636Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-16T14:31:41.636Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-16T14:31:41.636Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements [2020-04-16T14:31:41.636Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-16T14:31:41.636Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.331s coverage: 71.4% of statements [2020-04-16T14:31:41.636Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-16T14:31:41.636Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-16T14:31:41.636Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T14:31:47.022Z] gofmt -l . [2020-04-16T14:31:47.022Z] [ "`gofmt -l .`" = "" ] [2020-04-16T14:31:47.022Z] ./bin/test-attribution-txt.sh [2020-04-16T14:31:47.630Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T14:31:48.792Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T14:31:48.803Z] $ docker stop --time=1 bea0789634f1dba4ec5b211d91f694c8513a6bc60d3da829937b9252480ab25d [2020-04-16T14:31:51.081Z] $ docker rm -f bea0789634f1dba4ec5b211d91f694c8513a6bc60d3da829937b9252480ab25d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T14:31:53.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T14:31:53.974Z] + ls -al . [2020-04-16T14:31:53.975Z] total 200 [2020-04-16T14:31:53.975Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 16 14:31 . [2020-04-16T14:31:53.975Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:29 .. [2020-04-16T14:31:53.975Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 14:29 .dockerignore [2020-04-16T14:31:53.975Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 14:29 .git [2020-04-16T14:31:53.975Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:29 .github [2020-04-16T14:31:53.975Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 14:29 .gitignore [2020-04-16T14:31:53.975Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:29 .semver [2020-04-16T14:31:53.975Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 16 14:29 Dockerfile.build [2020-04-16T14:31:53.975Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 16 14:29 Jenkinsfile [2020-04-16T14:31:53.975Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 14:29 LICENSE [2020-04-16T14:31:53.975Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 16 14:29 Makefile [2020-04-16T14:31:53.975Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 16 14:29 README.md [2020-04-16T14:31:53.975Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 16 14:26 VERSION [2020-04-16T14:31:53.975Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:29 api [2020-04-16T14:31:53.975Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:29 bin [2020-04-16T14:31:53.975Z] -rw-r--r-- 1 jenkins jenkins 96404 Apr 16 14:31 coverage.out [2020-04-16T14:31:53.975Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:29 example [2020-04-16T14:31:53.975Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 16 14:31 go.mod [2020-04-16T14:31:53.975Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 16 14:31 go.sum [2020-04-16T14:31:53.975Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 16 14:29 internal [2020-04-16T14:31:53.975Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 14:29 pkg [2020-04-16T14:31:53.975Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:29 snap [2020-04-16T14:31:53.975Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 14:29 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:31:54.390Z] + 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=fc4d8ba2ca6bee1bf2e474e60f47b75130718504 --label arch=arm64 --label version=1.2.0-dev.22 . [2020-04-16T14:31:54.998Z] Sending build context to Docker daemon 2.982MB [2020-04-16T14:31:54.998Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-16T14:31:54.998Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-16T14:31:54.998Z] ---> 11cd67cdcd91 [2020-04-16T14:31:54.998Z] Step 3/21 : ARG MAKE='make build' [2020-04-16T14:31:55.293Z] ---> Running in ae11d7f20845 [2020-04-16T14:31:55.571Z] Removing intermediate container ae11d7f20845 [2020-04-16T14:31:55.571Z] ---> 161daff2f4d0 [2020-04-16T14:31:55.571Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-16T14:31:55.860Z] ---> Running in 518a69ddb4d7 [2020-04-16T14:31:56.130Z] Removing intermediate container 518a69ddb4d7 [2020-04-16T14:31:56.130Z] ---> b20b297b9f6a [2020-04-16T14:31:56.130Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:31:56.397Z] ---> Running in 4e699f9ce036 [2020-04-16T14:31:56.663Z] Removing intermediate container 4e699f9ce036 [2020-04-16T14:31:56.663Z] ---> 070fe4e495fa [2020-04-16T14:31:56.663Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:31:56.937Z] ---> Running in 593a35806cf5 [2020-04-16T14:31:58.890Z] Removing intermediate container 593a35806cf5 [2020-04-16T14:31:58.890Z] ---> 48b61cd881d4 [2020-04-16T14:31:58.890Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-16T14:31:58.890Z] ---> Running in 7a7ac4092a43 [2020-04-16T14:31:59.495Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T14:32:00.459Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T14:32:00.727Z] OK: 125 MiB in 39 packages [2020-04-16T14:32:01.697Z] Removing intermediate container 7a7ac4092a43 [2020-04-16T14:32:01.697Z] ---> e12c67edabce [2020-04-16T14:32:01.697Z] Step 8/21 : COPY . . [2020-04-16T14:32:03.110Z] ---> 4fc78b964548 [2020-04-16T14:32:03.110Z] Step 9/21 : RUN ${MAKE} [2020-04-16T14:32:03.110Z] ---> Running in 244f73ab293a [2020-04-16T14:32:03.695Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.22" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-16T14:32:10.697Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.068s coverage: 11.4% of statements [2020-04-16T14:32:10.697Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 22.1% of statements [2020-04-16T14:32:10.697Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-16T14:32:10.697Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.070s coverage: 38.5% of statements [2020-04-16T14:32:10.697Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-16T14:32:10.697Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-16T14:32:10.697Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.578s coverage: 79.8% of statements [2020-04-16T14:32:10.697Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-16T14:32:10.697Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-16T14:32:10.697Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-16T14:32:10.697Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 52.6% of statements [2020-04-16T14:32:10.697Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-16T14:32:10.697Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.118s coverage: 71.4% of statements [2020-04-16T14:32:10.697Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-16T14:32:10.697Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-16T14:32:10.697Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T14:32:13.518Z] gofmt -l . [2020-04-16T14:32:13.518Z] [ "`gofmt -l .`" = "" ] [2020-04-16T14:32:14.162Z] ./bin/test-attribution-txt.sh [2020-04-16T14:32:16.302Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T14:32:17.587Z] Warning: overwriting stash ‘coverage-report’ [2020-04-16T14:32:20.407Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T14:32:20.417Z] $ docker stop --time=1 c5074ae0d1c9d990f45d95f1085bdbaefe1b6738554c0c341085cf9b7f9b6063 [2020-04-16T14:32:23.822Z] $ docker rm -f c5074ae0d1c9d990f45d95f1085bdbaefe1b6738554c0c341085cf9b7f9b6063 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T14:32:25.739Z] + sudo chown -R jenkins:jenkins . [2020-04-16T14:32:25.778Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] sh [2020-04-16T14:32:27.222Z] + ls -al . [2020-04-16T14:32:27.222Z] total 160 [2020-04-16T14:32:27.222Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 16 14:32 . [2020-04-16T14:32:27.222Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 16 14:30 .. [2020-04-16T14:32:27.222Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 14:30 api [2020-04-16T14:32:27.222Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 14:30 bin [2020-04-16T14:32:27.222Z] -rw-r--r--. 1 jenkins jenkins 96404 Apr 16 14:32 coverage.out [2020-04-16T14:32:27.222Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 16 14:30 Dockerfile.build [2020-04-16T14:32:27.222Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 14:30 .dockerignore [2020-04-16T14:32:27.222Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 16 14:30 example [2020-04-16T14:32:27.222Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 16 14:30 .git [2020-04-16T14:32:27.222Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 16 14:30 .github [2020-04-16T14:32:27.222Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 14:30 .gitignore [2020-04-16T14:32:27.222Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 16 14:32 go.mod [2020-04-16T14:32:27.222Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 16 14:32 go.sum [2020-04-16T14:32:27.222Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 16 14:30 internal [2020-04-16T14:32:27.222Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 16 14:30 Jenkinsfile [2020-04-16T14:32:27.222Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 14:30 LICENSE [2020-04-16T14:32:27.222Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 16 14:30 Makefile [2020-04-16T14:32:27.222Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 14:30 pkg [2020-04-16T14:32:27.222Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 16 14:30 README.md [2020-04-16T14:32:27.222Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 16 14:30 .semver [2020-04-16T14:32:27.222Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 14:30 snap [2020-04-16T14:32:27.222Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 16 14:26 VERSION [2020-04-16T14:32:27.222Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 14:30 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:32:28.358Z] Removing intermediate container 244f73ab293a [2020-04-16T14:32:28.358Z] ---> 8049e74ce480 [2020-04-16T14:32:28.359Z] Step 10/21 : FROM scratch [2020-04-16T14:32:28.359Z] ---> [2020-04-16T14:32:28.359Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:32:28.359Z] ---> Running in aa463f72d0fe [2020-04-16T14:32:28.359Z] Removing intermediate container aa463f72d0fe [2020-04-16T14:32:28.359Z] ---> 2db0783850f8 [2020-04-16T14:32:28.359Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-16T14:32:28.359Z] ---> Running in 78e3597bc305 [2020-04-16T14:32:28.369Z] + 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=fc4d8ba2ca6bee1bf2e474e60f47b75130718504 --label arch=amd64 --label version=1.2.0-dev.22 . [2020-04-16T14:32:28.627Z] Removing intermediate container 78e3597bc305 [2020-04-16T14:32:28.627Z] ---> 1b71adbd05ae [2020-04-16T14:32:28.627Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-16T14:32:28.895Z] ---> Running in 68acca0595b8 [2020-04-16T14:32:29.164Z] Removing intermediate container 68acca0595b8 [2020-04-16T14:32:29.164Z] ---> 76b4171a7f47 [2020-04-16T14:32:29.164Z] Step 14/21 : WORKDIR / [2020-04-16T14:32:29.164Z] ---> Running in 6ad0fd7091ca [2020-04-16T14:32:29.382Z] Sending build context to Docker daemon 2.982MB [2020-04-16T14:32:29.382Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-16T14:32:29.382Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-16T14:32:29.382Z] ---> d06eae3b3520 [2020-04-16T14:32:29.382Z] Step 3/21 : ARG MAKE='make build' [2020-04-16T14:32:29.382Z] ---> Running in 78985138e8bb [2020-04-16T14:32:29.752Z] Removing intermediate container 6ad0fd7091ca [2020-04-16T14:32:29.752Z] ---> ec75994f614f [2020-04-16T14:32:29.752Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-16T14:32:30.400Z] Removing intermediate container 78985138e8bb [2020-04-16T14:32:30.400Z] ---> ae9d6ee3eee3 [2020-04-16T14:32:30.400Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-16T14:32:30.400Z] ---> Running in 8bdbfb8bde80 [2020-04-16T14:32:30.720Z] ---> 7f7e4a29c548 [2020-04-16T14:32:30.720Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-16T14:32:30.988Z] ---> 797a5a4b95c5 [2020-04-16T14:32:30.988Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-16T14:32:31.088Z] Removing intermediate container 8bdbfb8bde80 [2020-04-16T14:32:31.088Z] ---> 1ff4b6cfc117 [2020-04-16T14:32:31.088Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:32:31.088Z] ---> Running in 343767850c42 [2020-04-16T14:32:31.572Z] ---> 52fbf61dc2c9 [2020-04-16T14:32:31.573Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-16T14:32:31.735Z] Removing intermediate container 343767850c42 [2020-04-16T14:32:31.735Z] ---> 27784aa67eab [2020-04-16T14:32:31.735Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:32:31.735Z] ---> Running in db761dd12c90 [2020-04-16T14:32:31.839Z] ---> Running in bf90d95e2eb6 [2020-04-16T14:32:32.108Z] Removing intermediate container bf90d95e2eb6 [2020-04-16T14:32:32.108Z] ---> 272165c79b1b [2020-04-16T14:32:32.108Z] Step 19/21 : LABEL arch=arm64 [2020-04-16T14:32:32.374Z] ---> Running in b678f4c175cc [2020-04-16T14:32:32.641Z] Removing intermediate container b678f4c175cc [2020-04-16T14:32:32.641Z] ---> 111fc494e7d1 [2020-04-16T14:32:32.641Z] Step 20/21 : LABEL git_sha=fc4d8ba2ca6bee1bf2e474e60f47b75130718504 [2020-04-16T14:32:32.641Z] ---> Running in 821fef74efc8 [2020-04-16T14:32:33.225Z] Removing intermediate container 821fef74efc8 [2020-04-16T14:32:33.225Z] ---> 0e96c6991d61 [2020-04-16T14:32:33.225Z] Step 21/21 : LABEL version=1.2.0-dev.22 [2020-04-16T14:32:33.225Z] ---> Running in 627fe6e27241 [2020-04-16T14:32:33.492Z] Removing intermediate container 627fe6e27241 [2020-04-16T14:32:33.492Z] ---> 2f0531a4a132 [2020-04-16T14:32:33.492Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T14:32:33.492Z] Successfully built 2f0531a4a132 [2020-04-16T14:32:33.492Z] 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] } [2020-04-16T14:32:34.441Z] Removing intermediate container db761dd12c90 [2020-04-16T14:32:34.441Z] ---> 87300f7fe1c5 [2020-04-16T14:32:34.441Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-16T14:32:34.441Z] ---> Running in b77b0243e1cc [2020-04-16T14:32:37.335Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T14:32:38.080Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T14:32:38.805Z] OK: 143 MiB in 39 packages [2020-04-16T14:32:40.547Z] Removing intermediate container b77b0243e1cc [2020-04-16T14:32:40.547Z] ---> 545144f5ba05 [2020-04-16T14:32:40.547Z] Step 8/21 : COPY . . [2020-04-16T14:32:42.468Z] ---> c0f85ddae03b [2020-04-16T14:32:42.468Z] Step 9/21 : RUN ${MAKE} [2020-04-16T14:32:42.468Z] ---> Running in 1a221b17de59 [2020-04-16T14:32:44.878Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.22" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-16T14:33:12.714Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-16T14:33:13.989Z] Removing intermediate container 1a221b17de59 [2020-04-16T14:33:13.989Z] ---> 628421424e1e [2020-04-16T14:33:13.989Z] Step 10/21 : FROM scratch [2020-04-16T14:33:13.989Z] ---> [2020-04-16T14:33:13.989Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:33:13.989Z] ---> Running in 02da1bbd4300 [2020-04-16T14:33:14.694Z] Removing intermediate container 02da1bbd4300 [2020-04-16T14:33:14.694Z] ---> 4122e97b502b [2020-04-16T14:33:14.694Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-16T14:33:14.694Z] ---> Running in 0436661c9994 [2020-04-16T14:33:14.986Z] Removing intermediate container 0436661c9994 [2020-04-16T14:33:14.986Z] ---> e1763e07b716 [2020-04-16T14:33:14.986Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-16T14:33:15.296Z] ---> Running in 2cc1b7cbe440 [2020-04-16T14:33:15.593Z] Removing intermediate container 2cc1b7cbe440 [2020-04-16T14:33:15.593Z] ---> e053811bc6cb [2020-04-16T14:33:15.593Z] Step 14/21 : WORKDIR / [2020-04-16T14:33:15.902Z] ---> Running in 242328e03fdf [2020-04-16T14:33:16.221Z] Removing intermediate container 242328e03fdf [2020-04-16T14:33:16.221Z] ---> d2e5c81e5fa6 [2020-04-16T14:33:16.221Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-16T14:33:17.957Z] ---> fa4863bd640f [2020-04-16T14:33:17.957Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-16T14:33:18.601Z] ---> 57284dd3d43c [2020-04-16T14:33:18.601Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-16T14:33:20.947Z] ---> 8c69f943339e [2020-04-16T14:33:20.947Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-16T14:33:20.947Z] ---> Running in fe38dd37091f [2020-04-16T14:33:21.228Z] Removing intermediate container fe38dd37091f [2020-04-16T14:33:21.228Z] ---> b90b1621fb76 [2020-04-16T14:33:21.229Z] Step 19/21 : LABEL arch=amd64 [2020-04-16T14:33:21.552Z] ---> Running in 29cd35c99329 [2020-04-16T14:33:21.846Z] Removing intermediate container 29cd35c99329 [2020-04-16T14:33:21.846Z] ---> bea6c5ea5c64 [2020-04-16T14:33:21.846Z] Step 20/21 : LABEL git_sha=fc4d8ba2ca6bee1bf2e474e60f47b75130718504 [2020-04-16T14:33:22.154Z] ---> Running in a286605af5d6 [2020-04-16T14:33:22.441Z] Removing intermediate container a286605af5d6 [2020-04-16T14:33:22.441Z] ---> 4f647eb4787c [2020-04-16T14:33:22.441Z] Step 21/21 : LABEL version=1.2.0-dev.22 [2020-04-16T14:33:22.441Z] ---> Running in 635f215235ce [2020-04-16T14:33:23.122Z] Removing intermediate container 635f215235ce [2020-04-16T14:33:23.122Z] ---> e427ddf80055 [2020-04-16T14:33:23.122Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T14:33:23.122Z] Successfully built e427ddf80055 [2020-04-16T14:33:23.122Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-16T14:33:24.270Z] provisioning config files... [2020-04-16T14:33:24.287Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5683942528633399260tmp [Pipeline] { [Pipeline] sh [2020-04-16T14:33:24.633Z] + curl -s https://codecov.io/bash [2020-04-16T14:33:24.633Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5683942528633399260tmp [2020-04-16T14:33:24.893Z] [2020-04-16T14:33:24.893Z] _____ _ [2020-04-16T14:33:24.893Z] / ____| | | [2020-04-16T14:33:24.893Z] | | ___ __| | ___ ___ _____ __ [2020-04-16T14:33:24.893Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-16T14:33:24.893Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-16T14:33:24.893Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-16T14:33:24.893Z] Bash-tbd [2020-04-16T14:33:24.893Z] [2020-04-16T14:33:24.893Z] [2020-04-16T14:33:24.893Z] ==> Jenkins CI detected. [2020-04-16T14:33:24.893Z] project root: . [2020-04-16T14:33:24.893Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-16T14:33:24.893Z] ==> Running gcov in . (disable via -X gcov) [2020-04-16T14:33:24.893Z] ==> Python coveragepy not found [2020-04-16T14:33:24.893Z] ==> Searching for coverage reports in: [2020-04-16T14:33:24.893Z] + . [2020-04-16T14:33:24.893Z] -> Found 1 reports [2020-04-16T14:33:24.893Z] ==> Detecting git/mercurial file structure [2020-04-16T14:33:24.893Z] ==> Reading reports [2020-04-16T14:33:24.893Z] + ./coverage.out bytes=96404 [2020-04-16T14:33:24.893Z] ==> Appending adjustments [2020-04-16T14:33:24.893Z] http://docs.codecov.io/docs/fixing-reports [2020-04-16T14:33:25.154Z] + Found adjustments [2020-04-16T14:33:25.154Z] ==> Gzipping contents [2020-04-16T14:33:25.154Z] ==> Uploading reports [2020-04-16T14:33:25.154Z] url: https://codecov.io [2020-04-16T14:33:25.154Z] query: branch=master&commit=fc4d8ba2ca6bee1bf2e474e60f47b75130718504&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-16T14:33:25.154Z] -> Pinging Codecov [2020-04-16T14:33:25.154Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=fc4d8ba2ca6bee1bf2e474e60f47b75130718504&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-16T14:33:26.093Z] -> Uploading [2020-04-16T14:33:26.661Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fc4d8ba2ca6bee1bf2e474e60f47b75130718504 [Pipeline] } [2020-04-16T14:33:26.668Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-16T14:33:27.368Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-16T14:33:27.369Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-16T14:33:27.423Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:33:27.755Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-16T14:33:27.756Z] [2020-04-16T14:33:27.756Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:33:28.111Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-16T14:33:28.111Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-16T14:33:28.111Z] e6b0cf9c0882: Pulling fs layer [2020-04-16T14:33:28.111Z] 2848faf0eed1: Pulling fs layer [2020-04-16T14:33:28.111Z] 0f37312ad70f: Pulling fs layer [2020-04-16T14:33:28.111Z] 7d08f2745646: Pulling fs layer [2020-04-16T14:33:28.111Z] 4c9f31393084: Pulling fs layer [2020-04-16T14:33:28.111Z] eb21ddb83652: Pulling fs layer [2020-04-16T14:33:28.111Z] 345998794f6b: Pulling fs layer [2020-04-16T14:33:28.111Z] 97a711d68925: Pulling fs layer [2020-04-16T14:33:28.111Z] 7c8476c1cb00: Pulling fs layer [2020-04-16T14:33:28.111Z] eb21ddb83652: Waiting [2020-04-16T14:33:28.111Z] 345998794f6b: Waiting [2020-04-16T14:33:28.111Z] 97a711d68925: Waiting [2020-04-16T14:33:28.111Z] 7c8476c1cb00: Waiting [2020-04-16T14:33:28.111Z] 7d08f2745646: Waiting [2020-04-16T14:33:28.111Z] 4c9f31393084: Waiting [2020-04-16T14:33:28.111Z] 0f37312ad70f: Verifying Checksum [2020-04-16T14:33:28.111Z] 0f37312ad70f: Download complete [2020-04-16T14:33:28.111Z] 2848faf0eed1: Verifying Checksum [2020-04-16T14:33:28.111Z] 2848faf0eed1: Download complete [2020-04-16T14:33:28.111Z] 4c9f31393084: Verifying Checksum [2020-04-16T14:33:28.111Z] 4c9f31393084: Download complete [2020-04-16T14:33:28.111Z] eb21ddb83652: Verifying Checksum [2020-04-16T14:33:28.111Z] eb21ddb83652: Download complete [2020-04-16T14:33:28.111Z] e6b0cf9c0882: Verifying Checksum [2020-04-16T14:33:28.111Z] e6b0cf9c0882: Download complete [2020-04-16T14:33:28.703Z] 345998794f6b: Verifying Checksum [2020-04-16T14:33:28.703Z] 345998794f6b: Download complete [2020-04-16T14:33:28.703Z] e6b0cf9c0882: Pull complete [2020-04-16T14:33:28.979Z] 2848faf0eed1: Pull complete [2020-04-16T14:33:29.253Z] 7c8476c1cb00: Verifying Checksum [2020-04-16T14:33:29.253Z] 7c8476c1cb00: Download complete [2020-04-16T14:33:29.253Z] 0f37312ad70f: Pull complete [2020-04-16T14:33:29.517Z] 97a711d68925: Verifying Checksum [2020-04-16T14:33:29.517Z] 97a711d68925: Download complete [2020-04-16T14:33:30.460Z] 7d08f2745646: Verifying Checksum [2020-04-16T14:33:30.460Z] 7d08f2745646: Download complete [2020-04-16T14:33:35.756Z] 7d08f2745646: Pull complete [2020-04-16T14:33:36.017Z] 4c9f31393084: Pull complete [2020-04-16T14:33:36.017Z] eb21ddb83652: Pull complete [2020-04-16T14:33:38.573Z] 345998794f6b: Pull complete [2020-04-16T14:33:41.874Z] 97a711d68925: Pull complete [2020-04-16T14:33:42.842Z] 7c8476c1cb00: Pull complete [2020-04-16T14:33:42.842Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-16T14:33:42.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-16T14:33:42.979Z] prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container [2020-04-16T14:33:43.031Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-04-16T14:33:43.816Z] $ docker top df70ddbadebed7908dd2e07d3d8a606e4bbdee1619bf01e7ad21a5e622f6839f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T14:33:44.286Z] + snyk monitor '--org=edgex-jenkins' [2020-04-16T14:33:49.567Z] [2020-04-16T14:33:49.567Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-04-16T14:33:49.567Z] [2020-04-16T14:33:49.567Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/aad3838f-a2f9-4312-80d0-797b674f0bf2 [2020-04-16T14:33:49.567Z] [2020-04-16T14:33:49.567Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-16T14:33:49.567Z] [2020-04-16T14:33:49.826Z] [Pipeline] } [2020-04-16T14:33:49.841Z] $ docker stop --time=1 df70ddbadebed7908dd2e07d3d8a606e4bbdee1619bf01e7ad21a5e622f6839f [2020-04-16T14:33:51.238Z] $ docker rm -f df70ddbadebed7908dd2e07d3d8a606e4bbdee1619bf01e7ad21a5e622f6839f [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-16T14:33:52.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:33:52.386Z] . [Pipeline] withDockerContainer [2020-04-16T14:33:52.505Z] prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container [2020-04-16T14:33:52.553Z] $ 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-16T14:33:53.224Z] $ docker top 0cb1ad60cf27a33fe768b5f1957258e60d85fac3aaeae9cf778d8175ba23a7ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T14:33:53.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:33:53.490Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:33:53.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:33:53.745Z] $ docker exec 0cb1ad60cf27a33fe768b5f1957258e60d85fac3aaeae9cf778d8175ba23a7ec ssh-agent [2020-04-16T14:33:53.935Z] SSH_AUTH_SOCK=/tmp/ssh-I2cV804xG8vw/agent.15 [2020-04-16T14:33:53.935Z] SSH_AGENT_PID=22 [2020-04-16T14:33:53.949Z] Running ssh-add (command line suppressed) [2020-04-16T14:33:54.111Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8203472737839250992.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8203472737839250992.key) [2020-04-16T14:33:54.164Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:33:54.490Z] + git semver tag [2020-04-16T14:33:54.490Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T14:33:54.490Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-16T14:33:54.490Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-16T14:33:54.490Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T14:33:54.490Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T14:33:54.490Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T14:33:54.490Z] # $SEMVER_BRANCH = master [2020-04-16T14:33:54.490Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-16T14:33:54.490Z] # fc4d8ba2ca6bee1bf2e474e60f47b75130718504 HEAD [2020-04-16T14:33:54.749Z] # -> Force: false [2020-04-16T14:33:54.749Z] # 92c10825d05c435330fce962edaaccf0bd695bff refs/tags/v1.2.0-dev.22 [Pipeline] } [2020-04-16T14:33:54.763Z] $ docker exec --env ******** --env ******** 0cb1ad60cf27a33fe768b5f1957258e60d85fac3aaeae9cf778d8175ba23a7ec ssh-agent -k [2020-04-16T14:33:54.908Z] unset SSH_AUTH_SOCK; [2020-04-16T14:33:54.908Z] unset SSH_AGENT_PID; [2020-04-16T14:33:54.908Z] echo Agent pid 22 killed; [2020-04-16T14:33:54.955Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T14:33:55.370Z] + git semver [Pipeline] } [2020-04-16T14:33:55.386Z] $ docker stop --time=1 0cb1ad60cf27a33fe768b5f1957258e60d85fac3aaeae9cf778d8175ba23a7ec [2020-04-16T14:33:56.765Z] $ docker rm -f 0cb1ad60cf27a33fe768b5f1957258e60d85fac3aaeae9cf778d8175ba23a7ec [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:33:57.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-16T14:33:57.324Z] [2020-04-16T14:33:57.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:33:57.652Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-16T14:33:57.652Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-16T14:33:57.652Z] ab5ef0e58194: Pulling fs layer [2020-04-16T14:33:57.652Z] 9712f1f96733: Pulling fs layer [2020-04-16T14:33:57.652Z] 63f879dbbcfc: Pulling fs layer [2020-04-16T14:33:57.652Z] 0d9ebad4ef96: Pulling fs layer [2020-04-16T14:33:57.652Z] e9a5061849ea: Pulling fs layer [2020-04-16T14:33:57.652Z] d747dcd14b5f: Pulling fs layer [2020-04-16T14:33:57.652Z] 2de7ff778b66: Pulling fs layer [2020-04-16T14:33:57.652Z] e9a5061849ea: Waiting [2020-04-16T14:33:57.652Z] d747dcd14b5f: Waiting [2020-04-16T14:33:57.652Z] 2de7ff778b66: Waiting [2020-04-16T14:33:57.652Z] 0d9ebad4ef96: Waiting [2020-04-16T14:33:57.652Z] 9712f1f96733: Download complete [2020-04-16T14:33:58.224Z] 63f879dbbcfc: Verifying Checksum [2020-04-16T14:33:58.224Z] 63f879dbbcfc: Download complete [2020-04-16T14:33:58.486Z] e9a5061849ea: Verifying Checksum [2020-04-16T14:33:58.486Z] e9a5061849ea: Download complete [2020-04-16T14:33:58.486Z] d747dcd14b5f: Verifying Checksum [2020-04-16T14:33:58.486Z] d747dcd14b5f: Download complete [2020-04-16T14:33:58.746Z] 2de7ff778b66: Verifying Checksum [2020-04-16T14:33:58.746Z] 2de7ff778b66: Download complete [2020-04-16T14:33:58.746Z] 0d9ebad4ef96: Verifying Checksum [2020-04-16T14:33:58.746Z] 0d9ebad4ef96: Download complete [2020-04-16T14:34:00.137Z] ab5ef0e58194: Verifying Checksum [2020-04-16T14:34:00.137Z] ab5ef0e58194: Download complete [2020-04-16T14:34:04.358Z] ab5ef0e58194: Pull complete [2020-04-16T14:34:04.358Z] 9712f1f96733: Pull complete [2020-04-16T14:34:07.648Z] 63f879dbbcfc: Pull complete [2020-04-16T14:34:14.239Z] 0d9ebad4ef96: Pull complete [2020-04-16T14:34:15.175Z] e9a5061849ea: Pull complete [2020-04-16T14:34:15.175Z] d747dcd14b5f: Pull complete [2020-04-16T14:34:18.468Z] 2de7ff778b66: Pull complete [2020-04-16T14:34:18.468Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-16T14:34:18.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-16T14:34:18.616Z] prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container [2020-04-16T14:34:18.668Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-04-16T14:34:19.295Z] $ docker top 0c584526ee99f27fe9bb91f8015104ea312d4ac713898a0ac1c5763177a4c4fd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-16T14:34:19.549Z] provisioning config files... [2020-04-16T14:34:19.560Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6763740286874655875tmp [2020-04-16T14:34:19.575Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2315545486982901106tmp [2020-04-16T14:34:19.587Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8609245658592743752tmp [Pipeline] { [Pipeline] echo [2020-04-16T14:34:19.628Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:34:19.935Z] ---> sigul-configuration.sh [2020-04-16T14:34:19.935Z] gpg: directory `/root/.gnupg' created [2020-04-16T14:34:19.935Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-16T14:34:19.935Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-16T14:34:19.935Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-16T14:34:19.935Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-16T14:34:19.935Z] gpg: CAST5 encrypted data [2020-04-16T14:34:20.204Z] gpg: encrypted with 1 passphrase [2020-04-16T14:34:20.204Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-16T14:34:20.500Z] + mkdir /home/jenkins [2020-04-16T14:34:20.500Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-16T14:34:20.798Z] + 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-16T14:34:20.805Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:34:21.096Z] ---> sigul-install.sh [2020-04-16T14:34:29.451Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-16T14:34:30.325Z] + git tag --list [2020-04-16T14:34:30.325Z] v1.2.0-dev.22 [Pipeline] sh [2020-04-16T14:34:30.644Z] + lftools sign git-tag v1.2.0-dev.22 [2020-04-16T14:34:32.021Z] Signing Git tag with Sigul... [2020-04-16T14:34:32.021Z] Signing v1.2.0-dev.22 [Pipeline] echo [2020-04-16T14:34:32.964Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:34:33.254Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-16T14:34:33.261Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-16T14:34:33.339Z] $ docker stop --time=1 0c584526ee99f27fe9bb91f8015104ea312d4ac713898a0ac1c5763177a4c4fd [2020-04-16T14:34:34.746Z] $ docker rm -f 0c584526ee99f27fe9bb91f8015104ea312d4ac713898a0ac1c5763177a4c4fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:34:35.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:34:35.413Z] . [Pipeline] withDockerContainer [2020-04-16T14:34:35.529Z] prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container [2020-04-16T14:34:35.574Z] $ 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-16T14:34:36.175Z] $ docker top 0d9151dae016bba0a56d158d3b260d3aac159485e7a713aae709d7fd0cb72548 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T14:34:36.437Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:34:36.437Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:34:36.646Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:34:36.653Z] $ docker exec 0d9151dae016bba0a56d158d3b260d3aac159485e7a713aae709d7fd0cb72548 ssh-agent [2020-04-16T14:34:36.835Z] SSH_AUTH_SOCK=/tmp/ssh-vdn6AscIxhta/agent.15 [2020-04-16T14:34:36.835Z] SSH_AGENT_PID=22 [2020-04-16T14:34:36.842Z] Running ssh-add (command line suppressed) [2020-04-16T14:34:36.992Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5112679399456489314.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5112679399456489314.key) [2020-04-16T14:34:37.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:34:37.366Z] + git semver bump pre [2020-04-16T14:34:37.366Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T14:34:37.366Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-16T14:34:37.366Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-16T14:34:37.366Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T14:34:37.366Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T14:34:37.366Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T14:34:37.366Z] # $SEMVER_BRANCH = master [2020-04-16T14:34:37.366Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-16T14:34:37.366Z] 1.2.0-dev.23 [Pipeline] } [2020-04-16T14:34:37.378Z] $ docker exec --env ******** --env ******** 0d9151dae016bba0a56d158d3b260d3aac159485e7a713aae709d7fd0cb72548 ssh-agent -k [2020-04-16T14:34:37.525Z] unset SSH_AUTH_SOCK; [2020-04-16T14:34:37.526Z] unset SSH_AGENT_PID; [2020-04-16T14:34:37.526Z] echo Agent pid 22 killed; [2020-04-16T14:34:37.560Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T14:34:37.987Z] + git semver [Pipeline] } [2020-04-16T14:34:38.003Z] $ docker stop --time=1 0d9151dae016bba0a56d158d3b260d3aac159485e7a713aae709d7fd0cb72548 [2020-04-16T14:34:39.413Z] $ docker rm -f 0d9151dae016bba0a56d158d3b260d3aac159485e7a713aae709d7fd0cb72548 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:34:39.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:34:39.891Z] . [Pipeline] withDockerContainer [2020-04-16T14:34:40.006Z] prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container [2020-04-16T14:34:40.059Z] $ 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-16T14:34:40.605Z] $ docker top b51ea22252c36fb2aea02ab598d07d597be19327bf200706053ba69fd01cc1ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T14:34:40.875Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:34:40.875Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:34:41.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:34:41.096Z] $ docker exec b51ea22252c36fb2aea02ab598d07d597be19327bf200706053ba69fd01cc1ae ssh-agent [2020-04-16T14:34:41.350Z] SSH_AUTH_SOCK=/tmp/ssh-P7INsfhUOj24/agent.15 [2020-04-16T14:34:41.350Z] SSH_AGENT_PID=22 [2020-04-16T14:34:41.358Z] Running ssh-add (command line suppressed) [2020-04-16T14:34:41.555Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6722616062481624551.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6722616062481624551.key) [2020-04-16T14:34:41.614Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:34:41.934Z] + git semver push [2020-04-16T14:34:41.934Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T14:34:41.934Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-16T14:34:41.934Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-16T14:34:41.934Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T14:34:41.934Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T14:34:41.934Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T14:34:41.934Z] # $SEMVER_BRANCH = master [2020-04-16T14:34:41.934Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-16T14:34:50.098Z] $ docker exec --env ******** --env ******** b51ea22252c36fb2aea02ab598d07d597be19327bf200706053ba69fd01cc1ae ssh-agent -k [2020-04-16T14:34:50.347Z] unset SSH_AUTH_SOCK; [2020-04-16T14:34:50.348Z] unset SSH_AGENT_PID; [2020-04-16T14:34:50.348Z] echo Agent pid 22 killed; [2020-04-16T14:34:50.445Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T14:34:50.883Z] + git semver [Pipeline] } [2020-04-16T14:34:50.909Z] $ docker stop --time=1 b51ea22252c36fb2aea02ab598d07d597be19327bf200706053ba69fd01cc1ae [2020-04-16T14:34:52.354Z] $ docker rm -f b51ea22252c36fb2aea02ab598d07d597be19327bf200706053ba69fd01cc1ae [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-16T14:34:53.073Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:34:53.641Z] ---> package-listing.sh [2020-04-16T14:34:53.641Z] ++ facter osfamily [2020-04-16T14:34:53.641Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-16T14:34:53.641Z] + OS_FAMILY=redhat [2020-04-16T14:34:53.641Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-04-16T14:34:53.641Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-16T14:34:53.641Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-16T14:34:53.641Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-16T14:34:53.641Z] + PACKAGES=/tmp/packages_start.txt [2020-04-16T14:34:53.641Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-16T14:34:53.641Z] + PACKAGES=/tmp/packages_end.txt [2020-04-16T14:34:53.641Z] + case "${OS_FAMILY}" in [2020-04-16T14:34:53.641Z] + rpm -qa [2020-04-16T14:34:53.641Z] + sort [2020-04-16T14:34:56.935Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-16T14:34:56.935Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-16T14:34:56.935Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-16T14:34:56.935Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-16T14:34:56.935Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-04-16T14:34:56.935Z] + 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-16T14:34:57.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T14:34:57.288Z] [2020-04-16T14:34:57.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:34:57.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T14:34:57.621Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-16T14:34:57.621Z] c9b1b535fdd9: Pulling fs layer [2020-04-16T14:34:57.621Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-16T14:34:57.621Z] 756a868c4378: Pulling fs layer [2020-04-16T14:34:57.621Z] 444b2fc9a129: Pulling fs layer [2020-04-16T14:34:57.621Z] ea15f1150254: Pulling fs layer [2020-04-16T14:34:57.621Z] 41b27a9f41bf: Pulling fs layer [2020-04-16T14:34:57.621Z] 28c525ee5125: Pulling fs layer [2020-04-16T14:34:57.621Z] 094b1ea09ed8: Pulling fs layer [2020-04-16T14:34:57.621Z] 138eaada9080: Pulling fs layer [2020-04-16T14:34:57.621Z] 0622d0fa9048: Pulling fs layer [2020-04-16T14:34:57.621Z] 28c525ee5125: Waiting [2020-04-16T14:34:57.621Z] 444b2fc9a129: Waiting [2020-04-16T14:34:57.621Z] 094b1ea09ed8: Waiting [2020-04-16T14:34:57.621Z] 138eaada9080: Waiting [2020-04-16T14:34:57.621Z] 0622d0fa9048: Waiting [2020-04-16T14:34:57.621Z] 41b27a9f41bf: Waiting [2020-04-16T14:34:57.621Z] ea15f1150254: Waiting [2020-04-16T14:34:57.621Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-16T14:34:57.621Z] 2cc5ad85d9ab: Download complete [2020-04-16T14:34:57.621Z] 444b2fc9a129: Verifying Checksum [2020-04-16T14:34:57.621Z] 444b2fc9a129: Download complete [2020-04-16T14:34:57.621Z] c9b1b535fdd9: Verifying Checksum [2020-04-16T14:34:57.621Z] c9b1b535fdd9: Download complete [2020-04-16T14:34:57.893Z] ea15f1150254: Verifying Checksum [2020-04-16T14:34:57.893Z] ea15f1150254: Download complete [2020-04-16T14:34:57.893Z] 28c525ee5125: Verifying Checksum [2020-04-16T14:34:57.893Z] 28c525ee5125: Download complete [2020-04-16T14:34:58.167Z] c9b1b535fdd9: Pull complete [2020-04-16T14:34:58.435Z] 2cc5ad85d9ab: Pull complete [2020-04-16T14:34:58.435Z] 756a868c4378: Verifying Checksum [2020-04-16T14:34:58.435Z] 756a868c4378: Download complete [2020-04-16T14:34:58.435Z] 138eaada9080: Verifying Checksum [2020-04-16T14:34:58.435Z] 138eaada9080: Download complete [2020-04-16T14:34:58.435Z] 0622d0fa9048: Verifying Checksum [2020-04-16T14:34:58.435Z] 0622d0fa9048: Download complete [2020-04-16T14:34:58.694Z] 094b1ea09ed8: Verifying Checksum [2020-04-16T14:34:58.694Z] 094b1ea09ed8: Download complete [2020-04-16T14:34:59.264Z] 41b27a9f41bf: Verifying Checksum [2020-04-16T14:34:59.264Z] 41b27a9f41bf: Download complete [2020-04-16T14:35:00.631Z] 756a868c4378: Pull complete [2020-04-16T14:35:00.631Z] 444b2fc9a129: Pull complete [2020-04-16T14:35:00.890Z] ea15f1150254: Pull complete [2020-04-16T14:35:05.109Z] 41b27a9f41bf: Pull complete [2020-04-16T14:35:05.109Z] 28c525ee5125: Pull complete [2020-04-16T14:35:07.056Z] 094b1ea09ed8: Pull complete [2020-04-16T14:35:07.322Z] 138eaada9080: Pull complete [2020-04-16T14:35:07.582Z] 0622d0fa9048: Pull complete [2020-04-16T14:35:07.582Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-16T14:35:07.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-16T14:35:07.735Z] prd-centos7-docker-4c-2g-4283 does not seem to be running inside a container [2020-04-16T14:35:07.783Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-16T14:35:08.358Z] $ docker top 3e80cf669e8b68c52d4d444e22c84cbafbc889d8b5755938225f4c19db825d1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T14:35:08.592Z] provisioning config files... [2020-04-16T14:35:08.609Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1223266818196670912tmp [Pipeline] { [Pipeline] echo [2020-04-16T14:35:08.666Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:35:08.961Z] ---> create-netrc.sh [Pipeline] echo [2020-04-16T14:35:08.969Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:35:09.265Z] ---> logs-deploy.sh [2020-04-16T14:35:09.265Z] + ARCHIVE_ARTIFACTS= [2020-04-16T14:35:09.265Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-16T14:35:09.265Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-16T14:35:09.265Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-16T14:35:09.265Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/22 [2020-04-16T14:35:09.265Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/22/ [2020-04-16T14:35:09.265Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/22 /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-16T14:35:10.644Z] Archives upload complete. [2020-04-16T14:35:10.644Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/22 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/22/