Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0e104270bcdba6d57d1eb654a33ea3a0d313d58c 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-docker-4c-2g-4592’ is offline Running on prd-centos7-docker-4c-2g-5251 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 0e104270bcdba6d57d1eb654a33ea3a0d313d58c (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 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 Commit message: "Merge pull request #499 from weichou1229/issue-453" > git rev-list --no-walk 2564dc108e71feea14859d9661bd87f7c2b518b3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T14:33:09.404Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T14:33:09.585Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T14:33:09.653Z] ========================================================= [2020-04-21T14:33:09.653Z] EdgeX Global Pipelines Version Info [2020-04-21T14:33:09.653Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-21T14:33:12.055Z] ------------------- [2020-04-21T14:33:12.055Z] stable info: [2020-04-21T14:33:12.055Z] ------------------- [2020-04-21T14:33:12.055Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T14:33:12.055Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T14:33:12.055Z] Message: update stable to v1.0.73 [2020-04-21T14:33:13.034Z] ------------------- [2020-04-21T14:33:13.034Z] experimental info: [2020-04-21T14:33:13.034Z] ------------------- [2020-04-21T14:33:13.034Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T14:33:13.034Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T14:33:13.034Z] 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-21T14:33:14.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T14:33:15.218Z] [2020-04-21T14:33:15.218Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:33:15.669Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T14:33:15.962Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T14:33:15.962Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T14:33:15.962Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T14:33:15.962Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T14:33:15.962Z] 93b08a4f1073: Pulling fs layer [2020-04-21T14:33:15.962Z] 93b08a4f1073: Waiting [2020-04-21T14:33:15.962Z] b8cc5d1170e3: Verifying Checksum [2020-04-21T14:33:15.962Z] b8cc5d1170e3: Download complete [2020-04-21T14:33:16.251Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T14:33:16.251Z] 9123ac7c32f7: Download complete [2020-04-21T14:33:16.251Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T14:33:16.251Z] 2924cbbf6a41: Download complete [2020-04-21T14:33:16.251Z] 93b08a4f1073: Verifying Checksum [2020-04-21T14:33:16.251Z] 93b08a4f1073: Download complete [2020-04-21T14:33:16.830Z] 9123ac7c32f7: Pull complete [2020-04-21T14:33:16.830Z] b8cc5d1170e3: Pull complete [2020-04-21T14:33:18.232Z] 2924cbbf6a41: Pull complete [2020-04-21T14:33:18.232Z] 93b08a4f1073: Pull complete [2020-04-21T14:33:18.493Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T14:33:18.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T14:33:18.700Z] prd-centos7-docker-4c-2g-5251 does not seem to be running inside a container [2020-04-21T14:33:18.787Z] $ 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-21T14:33:20.079Z] $ docker top 66b4e2656e8e86da0e84d904b48352a0121d26d666aa354c1ce29015a02f53e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T14:33:20.679Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T14:33:20.679Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T14:33:21.416Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T14:33:21.467Z] $ docker exec 66b4e2656e8e86da0e84d904b48352a0121d26d666aa354c1ce29015a02f53e0 ssh-agent [2020-04-21T14:33:22.235Z] SSH_AUTH_SOCK=/tmp/ssh-PbQQ4EoCZdPr/agent.16 [2020-04-21T14:33:22.235Z] SSH_AGENT_PID=22 [2020-04-21T14:33:22.269Z] Running ssh-add (command line suppressed) [2020-04-21T14:33:22.592Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1383749032744873538.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1383749032744873538.key) [2020-04-21T14:33:22.760Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T14:33:23.507Z] + git describe --exact-match --tags HEAD [2020-04-21T14:33:23.507Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T14:33:23.692Z] $ docker exec --env ******** --env ******** 66b4e2656e8e86da0e84d904b48352a0121d26d666aa354c1ce29015a02f53e0 ssh-agent -k [2020-04-21T14:33:23.974Z] unset SSH_AUTH_SOCK; [2020-04-21T14:33:23.974Z] unset SSH_AGENT_PID; [2020-04-21T14:33:23.975Z] echo Agent pid 22 killed; [2020-04-21T14:33:24.083Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T14:33:24.154Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T14:33:24.154Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T14:33:24.251Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T14:33:24.251Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T14:33:24.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T14:33:24.844Z] $ docker exec 66b4e2656e8e86da0e84d904b48352a0121d26d666aa354c1ce29015a02f53e0 ssh-agent [2020-04-21T14:33:25.445Z] SSH_AUTH_SOCK=/tmp/ssh-dBlD69A6tzTp/agent.58 [2020-04-21T14:33:25.445Z] SSH_AGENT_PID=64 [2020-04-21T14:33:25.606Z] Running ssh-add (command line suppressed) [2020-04-21T14:33:26.226Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3435129558392246312.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3435129558392246312.key) [2020-04-21T14:33:26.443Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T14:33:27.395Z] + git semver init [2020-04-21T14:33:27.395Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T14:33:27.395Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-21T14:33:27.395Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T14:33:27.395Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T14:33:27.395Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T14:33:27.395Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T14:33:27.395Z] # $SEMVER_BRANCH = master [2020-04-21T14:33:27.395Z] # $SEMVER_TEMP = /tmp/semver-383870750 [2020-04-21T14:33:27.395Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-21T14:33:28.177Z] # '/tmp/semver-383870750' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-04-21T14:33:28.177Z] # -> Force: false [2020-04-21T14:33:28.177Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-21T14:33:28.195Z] $ docker exec --env ******** --env ******** 66b4e2656e8e86da0e84d904b48352a0121d26d666aa354c1ce29015a02f53e0 ssh-agent -k [2020-04-21T14:33:28.632Z] unset SSH_AUTH_SOCK; [2020-04-21T14:33:28.632Z] unset SSH_AGENT_PID; [2020-04-21T14:33:28.633Z] echo Agent pid 64 killed; [2020-04-21T14:33:28.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T14:33:29.508Z] + git semver [Pipeline] } [2020-04-21T14:33:29.692Z] $ docker stop --time=1 66b4e2656e8e86da0e84d904b48352a0121d26d666aa354c1ce29015a02f53e0 [2020-04-21T14:33:31.493Z] $ docker rm -f 66b4e2656e8e86da0e84d904b48352a0121d26d666aa354c1ce29015a02f53e0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T14:33:33.457Z] Stashed 47 file(s) [Pipeline] echo [2020-04-21T14:33:33.459Z] [edgeXSemver] initialized semver on version 1.2.0-dev.30 [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-21T14:33:48.733Z] Still waiting to schedule task [2020-04-21T14:33:48.733Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T14:33:48.735Z] Still waiting to schedule task [2020-04-21T14:33:48.735Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-21T14:35:35.921Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5252 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-21T14:35:35.971Z] Running in /w/workspace/device-sdk-go/30 [Pipeline] { [Pipeline] checkout [2020-04-21T14:35:42.136Z] using credential edgex-jenkins-ssh [2020-04-21T14:35:42.226Z] Cloning the remote Git repository [2020-04-21T14:35:42.226Z] Cloning with configured refspecs honoured and without tags [2020-04-21T14:35:42.308Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T14:35:42.415Z] > git init /w/workspace/device-sdk-go/30 # timeout=10 [2020-04-21T14:35:42.497Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T14:35:42.498Z] > git --version # timeout=10 [2020-04-21T14:35:42.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T14:35:43.629Z] Fetching without tags [2020-04-21T14:35:42.599Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T14:35:43.563Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T14:35:43.585Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T14:35:43.613Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T14:35:43.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T14:35:43.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T14:35:43.669Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T14:35:44.183Z] Checking out Revision 0e104270bcdba6d57d1eb654a33ea3a0d313d58c (master) [2020-04-21T14:35:44.215Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T14:35:44.264Z] > git checkout -f 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 [2020-04-21T14:35:49.027Z] Commit message: "Merge pull request #499 from weichou1229/issue-453" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T14:35:50.452Z] ========================================================= [2020-04-21T14:35:50.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T14:35:50.452Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:35:51.727Z] + 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-21T14:35:52.695Z] Sending build context to Docker daemon 2.985MB [2020-04-21T14:35:52.695Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T14:35:52.695Z] Step 2/8 : FROM ${BASE} [2020-04-21T14:35:53.284Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T14:35:53.284Z] cde5963f3b93: Pulling fs layer [2020-04-21T14:35:53.284Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T14:35:53.284Z] 777b28850792: Pulling fs layer [2020-04-21T14:35:53.284Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T14:35:53.284Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T14:35:53.284Z] 1df406cf5192: Pulling fs layer [2020-04-21T14:35:53.284Z] cd6300453558: Pulling fs layer [2020-04-21T14:35:53.284Z] b9c365052c96: Pulling fs layer [2020-04-21T14:35:53.284Z] a2d8cc88f415: Pulling fs layer [2020-04-21T14:35:53.284Z] ea1d1ca13537: Pulling fs layer [2020-04-21T14:35:53.284Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T14:35:53.284Z] 8a11ddd9e578: Waiting [2020-04-21T14:35:53.284Z] 4cf88f913ddb: Waiting [2020-04-21T14:35:53.284Z] b9c365052c96: Waiting [2020-04-21T14:35:53.284Z] a2d8cc88f415: Waiting [2020-04-21T14:35:53.284Z] ea1d1ca13537: Waiting [2020-04-21T14:35:53.284Z] 1df406cf5192: Waiting [2020-04-21T14:35:53.284Z] cd6300453558: Waiting [2020-04-21T14:35:53.284Z] 3750a50a1c5e: Waiting [2020-04-21T14:35:53.284Z] 777b28850792: Verifying Checksum [2020-04-21T14:35:53.284Z] 777b28850792: Download complete [2020-04-21T14:35:53.284Z] 2a23fa8c16f7: Verifying Checksum [2020-04-21T14:35:53.284Z] 2a23fa8c16f7: Download complete [2020-04-21T14:35:53.284Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T14:35:53.284Z] 4cf88f913ddb: Download complete [2020-04-21T14:35:53.284Z] 1df406cf5192: Download complete [2020-04-21T14:35:53.284Z] cde5963f3b93: Verifying Checksum [2020-04-21T14:35:53.284Z] cde5963f3b93: Download complete [2020-04-21T14:35:54.705Z] cde5963f3b93: Pull complete [2020-04-21T14:35:55.295Z] 2a23fa8c16f7: Pull complete [2020-04-21T14:35:55.604Z] 777b28850792: Pull complete [2020-04-21T14:35:57.805Z] cd6300453558: Verifying Checksum [2020-04-21T14:35:57.805Z] cd6300453558: Download complete [2020-04-21T14:35:57.805Z] a2d8cc88f415: Verifying Checksum [2020-04-21T14:35:57.805Z] a2d8cc88f415: Download complete [2020-04-21T14:36:00.411Z] ea1d1ca13537: Verifying Checksum [2020-04-21T14:36:00.411Z] ea1d1ca13537: Download complete [2020-04-21T14:36:00.411Z] 3750a50a1c5e: Verifying Checksum [2020-04-21T14:36:00.411Z] 3750a50a1c5e: Download complete [2020-04-21T14:36:02.968Z] Running on prd-centos7-docker-4c-2g-5253 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [2020-04-21T14:36:03.000Z] b9c365052c96: Verifying Checksum [2020-04-21T14:36:03.000Z] b9c365052c96: Download complete [Pipeline] ws [2020-04-21T14:36:03.011Z] Running in /w/workspace/device-sdk-go/30 [Pipeline] { [Pipeline] checkout [2020-04-21T14:36:04.420Z] 8a11ddd9e578: Verifying Checksum [2020-04-21T14:36:04.420Z] 8a11ddd9e578: Download complete [2020-04-21T14:36:05.263Z] using credential edgex-jenkins-ssh [2020-04-21T14:36:05.311Z] Cloning the remote Git repository [2020-04-21T14:36:05.311Z] Cloning with configured refspecs honoured and without tags [2020-04-21T14:36:05.092Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T14:36:05.131Z] > git init /w/workspace/device-sdk-go/30 # timeout=10 [2020-04-21T14:36:05.180Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T14:36:05.180Z] > git --version # timeout=10 [2020-04-21T14:36:05.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T14:36:05.216Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T14:36:06.020Z] Fetching without tags [2020-04-21T14:36:06.412Z] Checking out Revision 0e104270bcdba6d57d1eb654a33ea3a0d313d58c (master) [2020-04-21T14:36:05.747Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T14:36:05.753Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T14:36:05.768Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T14:36:05.779Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T14:36:05.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T14:36:05.784Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T14:36:06.202Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T14:36:06.207Z] > git checkout -f 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 [2020-04-21T14:36:10.091Z] Commit message: "Merge pull request #499 from weichou1229/issue-453" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T14:36:10.819Z] ========================================================= [2020-04-21T14:36:10.819Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T14:36:10.819Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:36:11.365Z] + 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-21T14:36:11.626Z] Sending build context to Docker daemon 2.985MB [2020-04-21T14:36:11.626Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T14:36:11.626Z] Step 2/8 : FROM ${BASE} [2020-04-21T14:36:11.626Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T14:36:11.626Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T14:36:11.626Z] 2848faf0eed1: Pulling fs layer [2020-04-21T14:36:11.626Z] 0f37312ad70f: Pulling fs layer [2020-04-21T14:36:11.626Z] 5788d62ee057: Pulling fs layer [2020-04-21T14:36:11.626Z] 0e6b1d234666: Pulling fs layer [2020-04-21T14:36:11.626Z] bf5d7aec512f: Pulling fs layer [2020-04-21T14:36:11.626Z] 34c802a77dc8: Pulling fs layer [2020-04-21T14:36:11.626Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T14:36:11.626Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T14:36:11.626Z] 5c102a31e300: Pulling fs layer [2020-04-21T14:36:11.626Z] dcfb455df0a1: Pulling fs layer [2020-04-21T14:36:11.626Z] 34c802a77dc8: Waiting [2020-04-21T14:36:11.626Z] 9eb99e56ec68: Waiting [2020-04-21T14:36:11.626Z] dcfb455df0a1: Waiting [2020-04-21T14:36:11.626Z] 5c102a31e300: Waiting [2020-04-21T14:36:11.626Z] 5788d62ee057: Waiting [2020-04-21T14:36:11.626Z] bf5d7aec512f: Waiting [2020-04-21T14:36:11.626Z] 0f37312ad70f: Verifying Checksum [2020-04-21T14:36:11.626Z] 0f37312ad70f: Download complete [2020-04-21T14:36:11.626Z] 2848faf0eed1: Download complete [2020-04-21T14:36:11.900Z] 0e6b1d234666: Verifying Checksum [2020-04-21T14:36:11.900Z] 0e6b1d234666: Download complete [2020-04-21T14:36:11.900Z] bf5d7aec512f: Download complete [2020-04-21T14:36:11.900Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T14:36:11.900Z] e6b0cf9c0882: Download complete [2020-04-21T14:36:11.900Z] e6b0cf9c0882: Pull complete [2020-04-21T14:36:12.172Z] 2848faf0eed1: Pull complete [2020-04-21T14:36:12.459Z] 0f37312ad70f: Pull complete [2020-04-21T14:36:12.727Z] 34c802a77dc8: Verifying Checksum [2020-04-21T14:36:12.728Z] 34c802a77dc8: Download complete [2020-04-21T14:36:12.728Z] 27c7a5d97fbd: Verifying Checksum [2020-04-21T14:36:12.728Z] 27c7a5d97fbd: Download complete [2020-04-21T14:36:13.674Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T14:36:13.674Z] 9eb99e56ec68: Download complete [2020-04-21T14:36:13.674Z] 5c102a31e300: Verifying Checksum [2020-04-21T14:36:13.674Z] 5c102a31e300: Download complete [2020-04-21T14:36:13.674Z] dcfb455df0a1: Verifying Checksum [2020-04-21T14:36:13.674Z] dcfb455df0a1: Download complete [2020-04-21T14:36:13.674Z] 5788d62ee057: Download complete [2020-04-21T14:36:16.773Z] 8a11ddd9e578: Pull complete [2020-04-21T14:36:16.773Z] 4cf88f913ddb: Pull complete [2020-04-21T14:36:16.773Z] 1df406cf5192: Pull complete [2020-04-21T14:36:18.973Z] 5788d62ee057: Pull complete [2020-04-21T14:36:18.973Z] 0e6b1d234666: Pull complete [2020-04-21T14:36:19.233Z] bf5d7aec512f: Pull complete [2020-04-21T14:36:21.061Z] cd6300453558: Pull complete [2020-04-21T14:36:24.594Z] 34c802a77dc8: Pull complete [2020-04-21T14:36:26.431Z] b9c365052c96: Pull complete [2020-04-21T14:36:26.431Z] a2d8cc88f415: Pull complete [2020-04-21T14:36:27.891Z] 9eb99e56ec68: Pull complete [2020-04-21T14:36:27.891Z] 27c7a5d97fbd: Pull complete [2020-04-21T14:36:28.401Z] ea1d1ca13537: Pull complete [2020-04-21T14:36:28.460Z] 5c102a31e300: Pull complete [2020-04-21T14:36:28.671Z] 3750a50a1c5e: Pull complete [2020-04-21T14:36:28.671Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T14:36:28.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T14:36:28.671Z] ---> 78745c68409d [2020-04-21T14:36:28.671Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T14:36:28.721Z] dcfb455df0a1: Pull complete [2020-04-21T14:36:28.721Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T14:36:28.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T14:36:28.721Z] ---> 7c70fe431013 [2020-04-21T14:36:28.721Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T14:36:28.721Z] ---> Running in ba7c91f2eb3e [2020-04-21T14:36:28.979Z] Removing intermediate container ba7c91f2eb3e [2020-04-21T14:36:28.979Z] ---> 672eaf91fe9e [2020-04-21T14:36:28.979Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T14:36:28.979Z] ---> Running in edf538877e90 [2020-04-21T14:36:29.952Z] Removing intermediate container edf538877e90 [2020-04-21T14:36:29.952Z] ---> 33933854ca90 [2020-04-21T14:36:29.952Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T14:36:29.952Z] ---> Running in 45c6fa83d2e0 [2020-04-21T14:36:30.889Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T14:36:31.825Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T14:36:32.391Z] OK: 143 MiB in 39 packages [2020-04-21T14:36:32.932Z] ---> Running in 200971cf183a [2020-04-21T14:36:32.962Z] Removing intermediate container 45c6fa83d2e0 [2020-04-21T14:36:32.962Z] ---> c1705925a9b7 [2020-04-21T14:36:32.962Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T14:36:32.962Z] ---> Running in e4de188cbe6f [2020-04-21T14:36:32.962Z] Removing intermediate container e4de188cbe6f [2020-04-21T14:36:32.962Z] ---> 7cdd5945b9ee [2020-04-21T14:36:32.962Z] Step 7/8 : COPY . . [2020-04-21T14:36:33.200Z] Removing intermediate container 200971cf183a [2020-04-21T14:36:33.200Z] ---> 520cc7f0296f [2020-04-21T14:36:33.200Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T14:36:33.472Z] ---> Running in 05576544b242 [2020-04-21T14:36:33.534Z] ---> 4db96a99e88f [2020-04-21T14:36:33.534Z] Step 8/8 : RUN go mod download [2020-04-21T14:36:33.534Z] ---> Running in d290c0864db0 [2020-04-21T14:36:35.422Z] Removing intermediate container 05576544b242 [2020-04-21T14:36:35.422Z] ---> f4f4c3184698 [2020-04-21T14:36:35.422Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T14:36:35.422Z] ---> Running in 5a87ef9653b6 [2020-04-21T14:36:35.443Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T14:36:35.443Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T14:36:35.443Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T14:36:35.443Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T14:36:35.443Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T14:36:35.443Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T14:36:35.443Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T14:36:35.443Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T14:36:35.443Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T14:36:35.443Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T14:36:35.443Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T14:36:35.443Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T14:36:35.443Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T14:36:35.443Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T14:36:35.443Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T14:36:35.443Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T14:36:35.443Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T14:36:35.443Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T14:36:35.443Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T14:36:35.443Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T14:36:35.443Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T14:36:35.443Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T14:36:35.443Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T14:36:35.443Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T14:36:35.443Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T14:36:35.443Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T14:36:35.443Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T14:36:35.443Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T14:36:35.443Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T14:36:35.443Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T14:36:35.443Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T14:36:35.443Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T14:36:35.443Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T14:36:35.443Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T14:36:35.443Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T14:36:35.443Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T14:36:35.443Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T14:36:35.443Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T14:36:35.443Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T14:36:35.443Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T14:36:35.704Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T14:36:35.704Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T14:36:35.704Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T14:36:35.704Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T14:36:35.704Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T14:36:35.704Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T14:36:36.396Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T14:36:37.351Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T14:36:37.932Z] OK: 125 MiB in 39 packages [2020-04-21T14:36:39.342Z] Removing intermediate container 5a87ef9653b6 [2020-04-21T14:36:39.342Z] ---> 912915ebfddb [2020-04-21T14:36:39.342Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T14:36:39.342Z] ---> Running in 24384d8434a0 [2020-04-21T14:36:39.611Z] Removing intermediate container 24384d8434a0 [2020-04-21T14:36:39.611Z] ---> c8cfba77e2f2 [2020-04-21T14:36:39.611Z] Step 7/8 : COPY . . [2020-04-21T14:36:41.031Z] ---> c4158e70ddc1 [2020-04-21T14:36:41.031Z] Step 8/8 : RUN go mod download [2020-04-21T14:36:41.031Z] ---> Running in 0a974d885a01 [2020-04-21T14:36:42.275Z] Removing intermediate container d290c0864db0 [2020-04-21T14:36:42.275Z] ---> d82306f281ac [2020-04-21T14:36:42.275Z] Successfully built d82306f281ac [2020-04-21T14:36:42.275Z] 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-21T14:36:42.869Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T14:36:42.869Z] . [Pipeline] withDockerContainer [2020-04-21T14:36:42.985Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T14:36:42.985Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T14:36:42.985Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T14:36:42.985Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T14:36:42.985Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T14:36:42.985Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T14:36:42.985Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T14:36:42.985Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T14:36:42.985Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T14:36:42.985Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T14:36:42.985Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T14:36:42.985Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T14:36:42.985Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T14:36:42.985Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T14:36:42.985Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T14:36:42.985Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T14:36:42.985Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T14:36:42.985Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T14:36:42.985Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T14:36:42.985Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T14:36:42.985Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T14:36:42.985Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T14:36:42.985Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T14:36:43.003Z] prd-centos7-docker-4c-2g-5253 does not seem to be running inside a container [2020-04-21T14:36:43.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@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-21T14:36:43.254Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T14:36:43.254Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T14:36:43.254Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T14:36:43.254Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T14:36:43.254Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T14:36:43.254Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T14:36:43.254Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T14:36:43.254Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T14:36:43.254Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T14:36:43.254Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T14:36:43.254Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T14:36:43.254Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T14:36:43.254Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T14:36:43.254Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T14:36:43.254Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T14:36:43.254Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T14:36:43.254Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T14:36:43.254Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T14:36:43.254Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T14:36:43.254Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T14:36:43.254Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T14:36:43.254Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T14:36:43.254Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T14:36:43.521Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T14:36:43.521Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T14:36:43.521Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T14:36:43.521Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T14:36:43.521Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T14:36:43.521Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T14:36:43.621Z] $ docker top 8a77b0f7a2cf0fa36e1c2fdc4cbcb06b2d61678145da7aefa0d19fab8b9326d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T14:36:44.088Z] + go version [2020-04-21T14:36:44.088Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-21T14:36:44.386Z] + make test [2020-04-21T14:36:44.386Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T14:36:44.966Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T14:36:53.636Z] Removing intermediate container 0a974d885a01 [2020-04-21T14:36:53.636Z] ---> 166478a86312 [2020-04-21T14:36:53.636Z] Successfully built 166478a86312 [2020-04-21T14:36:53.636Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:36:54.300Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T14:36:54.565Z] . [Pipeline] withDockerContainer [2020-04-21T14:36:54.890Z] prd-ubuntu18.04-docker-arm64-4c-16g-5252 does not seem to be running inside a container [2020-04-21T14:36:54.965Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-21T14:36:55.016Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T14:36:55.016Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T14:36:55.016Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T14:36:55.016Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 21.9% of statements [2020-04-21T14:36:56.494Z] $ docker top 02b67f2858205ebbee4369d208afa19385d2b8895f3d9580e921076b0c645615 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T14:36:57.600Z] + go version [2020-04-21T14:36:57.600Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T14:36:58.253Z] + make test [2020-04-21T14:36:58.253Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T14:36:58.419Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.043s coverage: 95.8% of statements [2020-04-21T14:36:59.671Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T14:37:26.450Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T14:37:26.450Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T14:37:26.450Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T14:37:27.887Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.037s coverage: 21.9% of statements [2020-04-21T14:37:30.545Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 11.4% of statements [2020-04-21T14:37:30.545Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements [2020-04-21T14:37:30.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T14:37:30.545Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.123s coverage: 36.9% of statements [2020-04-21T14:37:30.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T14:37:30.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T14:37:30.545Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.123s coverage: 65.2% of statements [2020-04-21T14:37:30.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T14:37:30.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T14:37:30.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T14:37:30.545Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements [2020-04-21T14:37:30.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T14:37:30.545Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 68.9% of statements [2020-04-21T14:37:30.545Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T14:37:30.545Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T14:37:30.545Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T14:37:30.804Z] gofmt -l . [2020-04-21T14:37:30.804Z] [ "`gofmt -l .`" = "" ] [2020-04-21T14:37:31.064Z] ./bin/test-attribution-txt.sh [2020-04-21T14:37:31.269Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.160s coverage: 95.8% of statements [2020-04-21T14:37:32.005Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T14:37:32.652Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T14:37:32.660Z] $ docker stop --time=1 8a77b0f7a2cf0fa36e1c2fdc4cbcb06b2d61678145da7aefa0d19fab8b9326d4 [2020-04-21T14:37:34.103Z] $ docker rm -f 8a77b0f7a2cf0fa36e1c2fdc4cbcb06b2d61678145da7aefa0d19fab8b9326d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T14:37:35.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T14:37:35.483Z] + ls -al . [2020-04-21T14:37:35.483Z] total 176 [2020-04-21T14:37:35.483Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 14:37 . [2020-04-21T14:37:35.483Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 21 14:36 .. [2020-04-21T14:37:35.483Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 14:36 api [2020-04-21T14:37:35.483Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 14:36 bin [2020-04-21T14:37:35.483Z] -rw-r--r--. 1 jenkins jenkins 110966 Apr 21 14:37 coverage.out [2020-04-21T14:37:35.483Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 14:36 Dockerfile.build [2020-04-21T14:37:35.483Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 14:36 .dockerignore [2020-04-21T14:37:35.483Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 14:36 example [2020-04-21T14:37:35.483Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 21 14:36 .git [2020-04-21T14:37:35.483Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 14:36 .github [2020-04-21T14:37:35.483Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 14:36 .gitignore [2020-04-21T14:37:35.483Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 21 14:37 go.mod [2020-04-21T14:37:35.483Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 14:37 go.sum [2020-04-21T14:37:35.483Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 14:36 internal [2020-04-21T14:37:35.483Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 14:36 Jenkinsfile [2020-04-21T14:37:35.483Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 14:36 LICENSE [2020-04-21T14:37:35.483Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 14:36 Makefile [2020-04-21T14:37:35.483Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 14:36 pkg [2020-04-21T14:37:35.483Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 14:36 README.md [2020-04-21T14:37:35.483Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 21 14:36 .semver [2020-04-21T14:37:35.483Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 14:36 snap [2020-04-21T14:37:35.483Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 21 14:33 VERSION [2020-04-21T14:37:35.483Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 14:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:37:35.775Z] + 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=0e104270bcdba6d57d1eb654a33ea3a0d313d58c --label arch=amd64 --label version=1.2.0-dev.30 . [2020-04-21T14:37:36.037Z] Sending build context to Docker daemon 3.113MB [2020-04-21T14:37:36.037Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T14:37:36.037Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T14:37:36.037Z] ---> d82306f281ac [2020-04-21T14:37:36.037Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T14:37:36.037Z] ---> Running in f39028ee5eaa [2020-04-21T14:37:36.037Z] Removing intermediate container f39028ee5eaa [2020-04-21T14:37:36.037Z] ---> 1797ea85a6d6 [2020-04-21T14:37:36.037Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T14:37:36.297Z] ---> Running in 58adad3052cc [2020-04-21T14:37:36.297Z] Removing intermediate container 58adad3052cc [2020-04-21T14:37:36.297Z] ---> d39bc1330668 [2020-04-21T14:37:36.297Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T14:37:36.297Z] ---> Running in 5f533e6335c2 [2020-04-21T14:37:36.557Z] Removing intermediate container 5f533e6335c2 [2020-04-21T14:37:36.557Z] ---> 45f30d93a6cc [2020-04-21T14:37:36.557Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T14:37:36.557Z] ---> Running in 95aa6e3dbd92 [2020-04-21T14:37:37.494Z] Removing intermediate container 95aa6e3dbd92 [2020-04-21T14:37:37.494Z] ---> 6b08723caa51 [2020-04-21T14:37:37.494Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T14:37:37.494Z] ---> Running in 698d736c91b4 [2020-04-21T14:37:37.760Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T14:37:38.697Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T14:37:39.635Z] OK: 143 MiB in 39 packages [2020-04-21T14:37:39.897Z] Removing intermediate container 698d736c91b4 [2020-04-21T14:37:39.897Z] ---> dfd43fcf9f1f [2020-04-21T14:37:39.897Z] Step 8/21 : COPY . . [2020-04-21T14:37:40.157Z] ---> d8d40e4689bb [2020-04-21T14:37:40.157Z] Step 9/21 : RUN ${MAKE} [2020-04-21T14:37:40.157Z] ---> Running in daab001733e0 [2020-04-21T14:37:40.417Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.30" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-21T14:37:48.593Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T14:37:49.161Z] Removing intermediate container daab001733e0 [2020-04-21T14:37:49.161Z] ---> 2cf4fd7ee46e [2020-04-21T14:37:49.161Z] Step 10/21 : FROM scratch [2020-04-21T14:37:49.161Z] ---> [2020-04-21T14:37:49.161Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T14:37:49.161Z] ---> Running in db263e166f54 [2020-04-21T14:37:49.161Z] Removing intermediate container db263e166f54 [2020-04-21T14:37:49.161Z] ---> 72bf0badd273 [2020-04-21T14:37:49.161Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T14:37:49.161Z] ---> Running in 19880b19e8c2 [2020-04-21T14:37:49.421Z] Removing intermediate container 19880b19e8c2 [2020-04-21T14:37:49.421Z] ---> dd1d5490d02b [2020-04-21T14:37:49.421Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T14:37:49.421Z] ---> Running in 98e91213547e [2020-04-21T14:37:49.421Z] Removing intermediate container 98e91213547e [2020-04-21T14:37:49.421Z] ---> 47c5dabf92ba [2020-04-21T14:37:49.421Z] Step 14/21 : WORKDIR / [2020-04-21T14:37:49.421Z] ---> Running in ef1df8b033cf [2020-04-21T14:37:49.681Z] Removing intermediate container ef1df8b033cf [2020-04-21T14:37:49.681Z] ---> 9bf22229b032 [2020-04-21T14:37:49.681Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T14:37:49.941Z] ---> a9626cb4d0e2 [2020-04-21T14:37:49.941Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T14:37:50.200Z] ---> c2b93f531d98 [2020-04-21T14:37:50.200Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T14:37:50.459Z] ---> ffcfe1822cd9 [2020-04-21T14:37:50.459Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T14:37:50.459Z] ---> Running in 12c8aa20fe98 [2020-04-21T14:37:50.459Z] Removing intermediate container 12c8aa20fe98 [2020-04-21T14:37:50.459Z] ---> 73e0d409fe6e [2020-04-21T14:37:50.459Z] Step 19/21 : LABEL arch=amd64 [2020-04-21T14:37:50.719Z] ---> Running in fddca89e453c [2020-04-21T14:37:50.719Z] Removing intermediate container fddca89e453c [2020-04-21T14:37:50.719Z] ---> 173a9897a0c9 [2020-04-21T14:37:50.719Z] Step 20/21 : LABEL git_sha=0e104270bcdba6d57d1eb654a33ea3a0d313d58c [2020-04-21T14:37:50.719Z] ---> Running in cfeabcf90c71 [2020-04-21T14:37:50.979Z] Removing intermediate container cfeabcf90c71 [2020-04-21T14:37:50.979Z] ---> b1265e67e679 [2020-04-21T14:37:50.979Z] Step 21/21 : LABEL version=1.2.0-dev.30 [2020-04-21T14:37:50.979Z] ---> Running in 2977fd217df2 [2020-04-21T14:37:50.979Z] Removing intermediate container 2977fd217df2 [2020-04-21T14:37:50.979Z] ---> 19c03cfbf887 [2020-04-21T14:37:50.979Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T14:37:50.979Z] Successfully built 19c03cfbf887 [2020-04-21T14:37:50.979Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-21T14:38:03.545Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.096s coverage: 11.4% of statements [2020-04-21T14:38:03.545Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements [2020-04-21T14:38:03.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T14:38:03.545Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.216s coverage: 36.9% of statements [2020-04-21T14:38:03.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T14:38:03.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T14:38:03.545Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.467s coverage: 65.2% of statements [2020-04-21T14:38:03.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T14:38:03.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T14:38:03.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T14:38:03.545Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.075s coverage: 52.6% of statements [2020-04-21T14:38:03.545Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T14:38:03.545Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.353s coverage: 68.9% of statements [2020-04-21T14:38:03.545Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T14:38:03.545Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T14:38:03.545Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T14:38:06.926Z] gofmt -l . [2020-04-21T14:38:06.926Z] [ "`gofmt -l .`" = "" ] [2020-04-21T14:38:07.517Z] ./bin/test-attribution-txt.sh [2020-04-21T14:38:08.132Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T14:38:08.731Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T14:38:09.186Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T14:38:09.190Z] $ docker stop --time=1 02b67f2858205ebbee4369d208afa19385d2b8895f3d9580e921076b0c645615 [2020-04-21T14:38:11.382Z] $ docker rm -f 02b67f2858205ebbee4369d208afa19385d2b8895f3d9580e921076b0c645615 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T14:38:12.626Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T14:38:13.226Z] + ls -al . [2020-04-21T14:38:13.226Z] total 216 [2020-04-21T14:38:13.226Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 14:38 . [2020-04-21T14:38:13.226Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:35 .. [2020-04-21T14:38:13.226Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 14:35 .dockerignore [2020-04-21T14:38:13.226Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 14:35 .git [2020-04-21T14:38:13.226Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 14:35 .github [2020-04-21T14:38:13.226Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 14:35 .gitignore [2020-04-21T14:38:13.226Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:35 .semver [2020-04-21T14:38:13.226Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 14:35 Dockerfile.build [2020-04-21T14:38:13.226Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 14:35 Jenkinsfile [2020-04-21T14:38:13.226Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 14:35 LICENSE [2020-04-21T14:38:13.226Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 14:35 Makefile [2020-04-21T14:38:13.226Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 14:35 README.md [2020-04-21T14:38:13.226Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 21 14:33 VERSION [2020-04-21T14:38:13.226Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:35 api [2020-04-21T14:38:13.226Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 14:35 bin [2020-04-21T14:38:13.226Z] -rw-r--r-- 1 jenkins jenkins 110966 Apr 21 14:38 coverage.out [2020-04-21T14:38:13.226Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:35 example [2020-04-21T14:38:13.226Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 21 14:38 go.mod [2020-04-21T14:38:13.226Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 14:38 go.sum [2020-04-21T14:38:13.226Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 14:35 internal [2020-04-21T14:38:13.226Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 14:35 pkg [2020-04-21T14:38:13.226Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:35 snap [2020-04-21T14:38:13.226Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 14:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:38:13.565Z] + 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=0e104270bcdba6d57d1eb654a33ea3a0d313d58c --label arch=arm64 --label version=1.2.0-dev.30 . [2020-04-21T14:38:14.150Z] Sending build context to Docker daemon 3.113MB [2020-04-21T14:38:14.150Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T14:38:14.150Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T14:38:14.150Z] ---> 166478a86312 [2020-04-21T14:38:14.150Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T14:38:14.150Z] ---> Running in 21508eef2220 [2020-04-21T14:38:14.809Z] Removing intermediate container 21508eef2220 [2020-04-21T14:38:14.809Z] ---> 35c122c8e704 [2020-04-21T14:38:14.809Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T14:38:14.809Z] ---> Running in 45a35a44712f [2020-04-21T14:38:15.090Z] Removing intermediate container 45a35a44712f [2020-04-21T14:38:15.091Z] ---> efaabda7b374 [2020-04-21T14:38:15.091Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T14:38:15.372Z] ---> Running in 737e7ffce6d4 [2020-04-21T14:38:15.641Z] Removing intermediate container 737e7ffce6d4 [2020-04-21T14:38:15.641Z] ---> 441cdf8b8e35 [2020-04-21T14:38:15.641Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T14:38:15.926Z] ---> Running in 07c04e8d9a69 [2020-04-21T14:38:17.895Z] Removing intermediate container 07c04e8d9a69 [2020-04-21T14:38:17.895Z] ---> cc68fe526856 [2020-04-21T14:38:17.895Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T14:38:17.895Z] ---> Running in 43975b2bf9bf [2020-04-21T14:38:18.861Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T14:38:19.444Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T14:38:20.399Z] OK: 125 MiB in 39 packages [2020-04-21T14:38:21.360Z] Removing intermediate container 43975b2bf9bf [2020-04-21T14:38:21.360Z] ---> a7bf4ea5da06 [2020-04-21T14:38:21.360Z] Step 8/21 : COPY . . [2020-04-21T14:38:22.320Z] ---> dd71a1206fc6 [2020-04-21T14:38:22.320Z] Step 9/21 : RUN ${MAKE} [2020-04-21T14:38:22.320Z] ---> Running in 4bcf8da98b0f [2020-04-21T14:38:23.289Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.30" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-21T14:38:45.406Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T14:38:47.353Z] Removing intermediate container 4bcf8da98b0f [2020-04-21T14:38:47.353Z] ---> b96299aef1f0 [2020-04-21T14:38:47.353Z] Step 10/21 : FROM scratch [2020-04-21T14:38:47.353Z] ---> [2020-04-21T14:38:47.353Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T14:38:47.621Z] ---> Running in 7cdd11931091 [2020-04-21T14:38:47.889Z] Removing intermediate container 7cdd11931091 [2020-04-21T14:38:47.889Z] ---> 46faf8a76bd8 [2020-04-21T14:38:47.889Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T14:38:47.889Z] ---> Running in b96462e2dcf3 [2020-04-21T14:38:48.157Z] Removing intermediate container b96462e2dcf3 [2020-04-21T14:38:48.157Z] ---> 792cb76f610b [2020-04-21T14:38:48.157Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T14:38:48.425Z] ---> Running in 9c89a2b8d345 [2020-04-21T14:38:48.691Z] Removing intermediate container 9c89a2b8d345 [2020-04-21T14:38:48.691Z] ---> 0a5700bf14ae [2020-04-21T14:38:48.691Z] Step 14/21 : WORKDIR / [2020-04-21T14:38:48.691Z] ---> Running in dd25d64df37d [2020-04-21T14:38:49.277Z] Removing intermediate container dd25d64df37d [2020-04-21T14:38:49.277Z] ---> d24b2d99f81f [2020-04-21T14:38:49.277Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T14:38:50.240Z] ---> 02b46a2d1cd7 [2020-04-21T14:38:50.240Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T14:38:50.507Z] ---> 692365a913a6 [2020-04-21T14:38:50.507Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T14:38:51.097Z] ---> 4d8d306fc556 [2020-04-21T14:38:51.097Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T14:38:51.364Z] ---> Running in c3bf6e389e94 [2020-04-21T14:38:51.633Z] Removing intermediate container c3bf6e389e94 [2020-04-21T14:38:51.633Z] ---> 8a26d81d3143 [2020-04-21T14:38:51.633Z] Step 19/21 : LABEL arch=arm64 [2020-04-21T14:38:51.633Z] ---> Running in 5268eb9567e3 [2020-04-21T14:38:52.217Z] Removing intermediate container 5268eb9567e3 [2020-04-21T14:38:52.217Z] ---> 382c994d1e87 [2020-04-21T14:38:52.217Z] Step 20/21 : LABEL git_sha=0e104270bcdba6d57d1eb654a33ea3a0d313d58c [2020-04-21T14:38:52.217Z] ---> Running in 8b8e4dc1c1d1 [2020-04-21T14:38:52.483Z] Removing intermediate container 8b8e4dc1c1d1 [2020-04-21T14:38:52.483Z] ---> e03c9cf05dc0 [2020-04-21T14:38:52.483Z] Step 21/21 : LABEL version=1.2.0-dev.30 [2020-04-21T14:38:52.750Z] ---> Running in 911608b3e41f [2020-04-21T14:38:53.016Z] Removing intermediate container 911608b3e41f [2020-04-21T14:38:53.016Z] ---> f3bf795079b0 [2020-04-21T14:38:53.016Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T14:38:53.016Z] Successfully built f3bf795079b0 [2020-04-21T14:38:53.016Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-21T14:38:54.110Z] provisioning config files... [2020-04-21T14:38:54.230Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7025331546181581742tmp [Pipeline] { [Pipeline] sh [2020-04-21T14:38:54.730Z] + curl -s https://codecov.io/bash [2020-04-21T14:38:54.730Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7025331546181581742tmp [2020-04-21T14:38:55.054Z] [2020-04-21T14:38:55.054Z] _____ _ [2020-04-21T14:38:55.054Z] / ____| | | [2020-04-21T14:38:55.054Z] | | ___ __| | ___ ___ _____ __ [2020-04-21T14:38:55.054Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-21T14:38:55.054Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-21T14:38:55.054Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-21T14:38:55.054Z] Bash-tbd [2020-04-21T14:38:55.054Z] [2020-04-21T14:38:55.054Z] [2020-04-21T14:38:55.054Z] ==> Jenkins CI detected. [2020-04-21T14:38:55.357Z] project root: . [2020-04-21T14:38:55.357Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-21T14:38:55.357Z] ==> Running gcov in . (disable via -X gcov) [2020-04-21T14:38:55.357Z] ==> Python coveragepy not found [2020-04-21T14:38:55.357Z] ==> Searching for coverage reports in: [2020-04-21T14:38:55.357Z] + . [2020-04-21T14:38:55.357Z] -> Found 1 reports [2020-04-21T14:38:55.357Z] ==> Detecting git/mercurial file structure [2020-04-21T14:38:55.357Z] ==> Reading reports [2020-04-21T14:38:55.357Z] + ./coverage.out bytes=110966 [2020-04-21T14:38:55.357Z] ==> Appending adjustments [2020-04-21T14:38:55.357Z] http://docs.codecov.io/docs/fixing-reports [2020-04-21T14:38:56.370Z] + Found adjustments [2020-04-21T14:38:56.370Z] ==> Gzipping contents [2020-04-21T14:38:56.370Z] ==> Uploading reports [2020-04-21T14:38:56.370Z] url: https://codecov.io [2020-04-21T14:38:56.370Z] query: branch=master&commit=0e104270bcdba6d57d1eb654a33ea3a0d313d58c&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-21T14:38:56.370Z] -> Pinging Codecov [2020-04-21T14:38:56.370Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=0e104270bcdba6d57d1eb654a33ea3a0d313d58c&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-21T14:38:56.959Z] -> Uploading [2020-04-21T14:38:57.539Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0e104270bcdba6d57d1eb654a33ea3a0d313d58c [Pipeline] } [2020-04-21T14:38:57.552Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-21T14:38:57.880Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-21T14:38:57.881Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-21T14:38:57.925Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:38:58.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-21T14:38:58.364Z] [2020-04-21T14:38:58.364Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:38:58.758Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-21T14:38:59.067Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-21T14:38:59.067Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T14:38:59.067Z] 2848faf0eed1: Pulling fs layer [2020-04-21T14:38:59.067Z] 0f37312ad70f: Pulling fs layer [2020-04-21T14:38:59.067Z] 7d08f2745646: Pulling fs layer [2020-04-21T14:38:59.067Z] 4c9f31393084: Pulling fs layer [2020-04-21T14:38:59.067Z] eb21ddb83652: Pulling fs layer [2020-04-21T14:38:59.067Z] 345998794f6b: Pulling fs layer [2020-04-21T14:38:59.067Z] 97a711d68925: Pulling fs layer [2020-04-21T14:38:59.067Z] 7c8476c1cb00: Pulling fs layer [2020-04-21T14:38:59.067Z] eb21ddb83652: Waiting [2020-04-21T14:38:59.067Z] 345998794f6b: Waiting [2020-04-21T14:38:59.067Z] 97a711d68925: Waiting [2020-04-21T14:38:59.067Z] 7d08f2745646: Waiting [2020-04-21T14:38:59.067Z] 4c9f31393084: Waiting [2020-04-21T14:38:59.067Z] 7c8476c1cb00: Waiting [2020-04-21T14:38:59.067Z] 0f37312ad70f: Verifying Checksum [2020-04-21T14:38:59.067Z] 0f37312ad70f: Download complete [2020-04-21T14:38:59.067Z] 2848faf0eed1: Verifying Checksum [2020-04-21T14:38:59.067Z] 2848faf0eed1: Download complete [2020-04-21T14:38:59.067Z] 4c9f31393084: Verifying Checksum [2020-04-21T14:38:59.067Z] 4c9f31393084: Download complete [2020-04-21T14:38:59.067Z] eb21ddb83652: Verifying Checksum [2020-04-21T14:38:59.067Z] eb21ddb83652: Download complete [2020-04-21T14:38:59.345Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T14:38:59.345Z] e6b0cf9c0882: Download complete [2020-04-21T14:39:00.049Z] e6b0cf9c0882: Pull complete [2020-04-21T14:39:00.049Z] 2848faf0eed1: Pull complete [2020-04-21T14:39:00.342Z] 0f37312ad70f: Pull complete [2020-04-21T14:39:01.069Z] 345998794f6b: Verifying Checksum [2020-04-21T14:39:01.069Z] 345998794f6b: Download complete [2020-04-21T14:39:04.000Z] 7c8476c1cb00: Verifying Checksum [2020-04-21T14:39:04.000Z] 7c8476c1cb00: Download complete [2020-04-21T14:39:04.000Z] 97a711d68925: Verifying Checksum [2020-04-21T14:39:04.000Z] 97a711d68925: Download complete [2020-04-21T14:39:05.769Z] 7d08f2745646: Verifying Checksum [2020-04-21T14:39:05.769Z] 7d08f2745646: Download complete [2020-04-21T14:39:18.388Z] 7d08f2745646: Pull complete [2020-04-21T14:39:18.388Z] 4c9f31393084: Pull complete [2020-04-21T14:39:18.388Z] eb21ddb83652: Pull complete [2020-04-21T14:39:20.358Z] 345998794f6b: Pull complete [2020-04-21T14:39:24.652Z] 97a711d68925: Pull complete [2020-04-21T14:39:26.132Z] 7c8476c1cb00: Pull complete [2020-04-21T14:39:26.132Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-21T14:39:26.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-21T14:39:26.752Z] prd-centos7-docker-4c-2g-5251 does not seem to be running inside a container [2020-04-21T14:39:27.095Z] $ 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-21T14:39:28.118Z] $ docker top 31f556389e4d0b6826ace3256b174145a6053dba81b9d118178c73beed3bfd9c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T14:39:28.712Z] + snyk monitor '--org=edgex-jenkins' [2020-04-21T14:39:34.160Z] [2020-04-21T14:39:34.160Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-04-21T14:39:34.160Z] [2020-04-21T14:39:34.160Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/15a064a9-d0ef-4c48-a583-a776ba080543 [2020-04-21T14:39:34.160Z] [2020-04-21T14:39:34.160Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-21T14:39:34.160Z] [2020-04-21T14:39:34.160Z] [Pipeline] } [2020-04-21T14:39:34.185Z] $ docker stop --time=1 31f556389e4d0b6826ace3256b174145a6053dba81b9d118178c73beed3bfd9c [2020-04-21T14:39:35.830Z] $ docker rm -f 31f556389e4d0b6826ace3256b174145a6053dba81b9d118178c73beed3bfd9c [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-21T14:39:37.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T14:39:37.192Z] . [Pipeline] withDockerContainer [2020-04-21T14:39:37.405Z] prd-centos7-docker-4c-2g-5251 does not seem to be running inside a container [2020-04-21T14:39:37.479Z] $ 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-21T14:39:38.464Z] $ docker top fa2144f35819552190287cf817408003b546576f4d8bb1a5750dcc8ba8e3bd8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T14:39:38.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T14:39:38.747Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T14:39:39.178Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T14:39:39.180Z] $ docker exec fa2144f35819552190287cf817408003b546576f4d8bb1a5750dcc8ba8e3bd8d ssh-agent [2020-04-21T14:39:39.538Z] SSH_AUTH_SOCK=/tmp/ssh-eKdnhwxW1vp3/agent.14 [2020-04-21T14:39:39.538Z] SSH_AGENT_PID=21 [2020-04-21T14:39:39.558Z] Running ssh-add (command line suppressed) [2020-04-21T14:39:39.954Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6289391700859403479.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6289391700859403479.key) [2020-04-21T14:39:40.031Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T14:39:40.451Z] + git semver tag [2020-04-21T14:39:40.724Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T14:39:40.724Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-21T14:39:40.724Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T14:39:40.724Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T14:39:40.724Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T14:39:40.724Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T14:39:40.724Z] # $SEMVER_BRANCH = master [2020-04-21T14:39:40.725Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-21T14:39:40.725Z] # 0e104270bcdba6d57d1eb654a33ea3a0d313d58c HEAD [2020-04-21T14:39:40.725Z] # -> Force: false [2020-04-21T14:39:40.725Z] # 0a4eb9a5de378db51418435db22362c70dc2724c refs/tags/v1.2.0-dev.30 [Pipeline] } [2020-04-21T14:39:40.747Z] $ docker exec --env ******** --env ******** fa2144f35819552190287cf817408003b546576f4d8bb1a5750dcc8ba8e3bd8d ssh-agent -k [2020-04-21T14:39:41.542Z] unset SSH_AUTH_SOCK; [2020-04-21T14:39:41.542Z] unset SSH_AGENT_PID; [2020-04-21T14:39:41.542Z] echo Agent pid 21 killed; [2020-04-21T14:39:41.828Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T14:39:42.620Z] + git semver [Pipeline] } [2020-04-21T14:39:42.643Z] $ docker stop --time=1 fa2144f35819552190287cf817408003b546576f4d8bb1a5750dcc8ba8e3bd8d [2020-04-21T14:39:44.228Z] $ docker rm -f fa2144f35819552190287cf817408003b546576f4d8bb1a5750dcc8ba8e3bd8d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:39:45.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-21T14:39:45.130Z] [2020-04-21T14:39:45.130Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:39:45.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-21T14:39:45.789Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-21T14:39:45.789Z] ab5ef0e58194: Pulling fs layer [2020-04-21T14:39:45.789Z] 9712f1f96733: Pulling fs layer [2020-04-21T14:39:45.789Z] 63f879dbbcfc: Pulling fs layer [2020-04-21T14:39:45.789Z] 0d9ebad4ef96: Pulling fs layer [2020-04-21T14:39:45.789Z] e9a5061849ea: Pulling fs layer [2020-04-21T14:39:45.789Z] d747dcd14b5f: Pulling fs layer [2020-04-21T14:39:45.789Z] 2de7ff778b66: Pulling fs layer [2020-04-21T14:39:45.789Z] 0d9ebad4ef96: Waiting [2020-04-21T14:39:45.789Z] 2de7ff778b66: Waiting [2020-04-21T14:39:45.789Z] e9a5061849ea: Waiting [2020-04-21T14:39:45.789Z] d747dcd14b5f: Waiting [2020-04-21T14:39:45.789Z] 9712f1f96733: Verifying Checksum [2020-04-21T14:39:45.789Z] 9712f1f96733: Download complete [2020-04-21T14:39:47.516Z] 63f879dbbcfc: Verifying Checksum [2020-04-21T14:39:47.516Z] 63f879dbbcfc: Download complete [2020-04-21T14:39:48.124Z] e9a5061849ea: Verifying Checksum [2020-04-21T14:39:48.124Z] e9a5061849ea: Download complete [2020-04-21T14:39:48.125Z] d747dcd14b5f: Verifying Checksum [2020-04-21T14:39:48.125Z] d747dcd14b5f: Download complete [2020-04-21T14:39:48.417Z] 0d9ebad4ef96: Verifying Checksum [2020-04-21T14:39:48.417Z] 0d9ebad4ef96: Download complete [2020-04-21T14:39:48.679Z] ab5ef0e58194: Verifying Checksum [2020-04-21T14:39:48.679Z] ab5ef0e58194: Download complete [2020-04-21T14:39:48.679Z] 2de7ff778b66: Verifying Checksum [2020-04-21T14:39:48.679Z] 2de7ff778b66: Download complete [2020-04-21T14:39:54.055Z] ab5ef0e58194: Pull complete [2020-04-21T14:39:54.056Z] 9712f1f96733: Pull complete [2020-04-21T14:39:57.439Z] 63f879dbbcfc: Pull complete [2020-04-21T14:40:08.095Z] 0d9ebad4ef96: Pull complete [2020-04-21T14:40:08.394Z] e9a5061849ea: Pull complete [2020-04-21T14:40:08.673Z] d747dcd14b5f: Pull complete [2020-04-21T14:40:13.968Z] 2de7ff778b66: Pull complete [2020-04-21T14:40:13.968Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-21T14:40:13.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-21T14:40:14.200Z] prd-centos7-docker-4c-2g-5251 does not seem to be running inside a container [2020-04-21T14:40:14.389Z] $ 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-21T14:40:15.697Z] $ docker top 2b723909a523f16ef6e3da7411163b653581a386a20d2f4ad39b5b63cd37bd58 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-21T14:40:15.923Z] provisioning config files... [2020-04-21T14:40:15.937Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6586342558120066731tmp [2020-04-21T14:40:15.973Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8097497714612489181tmp [2020-04-21T14:40:16.010Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3650341306994096376tmp [Pipeline] { [Pipeline] echo [2020-04-21T14:40:16.056Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T14:40:16.726Z] ---> sigul-configuration.sh [2020-04-21T14:40:16.726Z] gpg: directory `/root/.gnupg' created [2020-04-21T14:40:16.726Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-21T14:40:16.726Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-21T14:40:16.726Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-21T14:40:16.726Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-21T14:40:16.726Z] gpg: CAST5 encrypted data [2020-04-21T14:40:16.726Z] gpg: encrypted with 1 passphrase [2020-04-21T14:40:16.726Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-21T14:40:17.152Z] + mkdir /home/jenkins [2020-04-21T14:40:17.152Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-21T14:40:18.622Z] + 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-21T14:40:18.732Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T14:40:19.901Z] ---> sigul-install.sh [2020-04-21T14:40:30.161Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-21T14:40:30.829Z] + git tag --list [2020-04-21T14:40:30.829Z] v1.2.0-dev.30 [Pipeline] sh [2020-04-21T14:40:31.177Z] + lftools sign git-tag v1.2.0-dev.30 [2020-04-21T14:40:32.618Z] Signing Git tag with Sigul... [2020-04-21T14:40:32.618Z] Signing v1.2.0-dev.30 [Pipeline] echo [2020-04-21T14:40:34.572Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T14:40:35.275Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-21T14:40:35.283Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-21T14:40:35.357Z] $ docker stop --time=1 2b723909a523f16ef6e3da7411163b653581a386a20d2f4ad39b5b63cd37bd58 [2020-04-21T14:40:37.405Z] $ docker rm -f 2b723909a523f16ef6e3da7411163b653581a386a20d2f4ad39b5b63cd37bd58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:40:38.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T14:40:38.608Z] . [Pipeline] withDockerContainer [2020-04-21T14:40:38.989Z] prd-centos7-docker-4c-2g-5251 does not seem to be running inside a container [2020-04-21T14:40:39.060Z] $ 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-21T14:40:40.125Z] $ docker top 79996a625330308bf9984b32742d28ecaadf72fdbe68f5035e6a1cdacbea40f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T14:40:40.531Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T14:40:40.531Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T14:40:40.984Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T14:40:41.004Z] $ docker exec 79996a625330308bf9984b32742d28ecaadf72fdbe68f5035e6a1cdacbea40f5 ssh-agent [2020-04-21T14:40:41.419Z] SSH_AUTH_SOCK=/tmp/ssh-gh525LJE3IWK/agent.14 [2020-04-21T14:40:41.419Z] SSH_AGENT_PID=21 [2020-04-21T14:40:41.470Z] Running ssh-add (command line suppressed) [2020-04-21T14:40:41.766Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7928783210576110568.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7928783210576110568.key) [2020-04-21T14:40:41.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T14:40:42.359Z] + git semver bump pre [2020-04-21T14:40:42.359Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T14:40:42.359Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-21T14:40:42.359Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T14:40:42.359Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T14:40:42.359Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T14:40:42.359Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T14:40:42.359Z] # $SEMVER_BRANCH = master [2020-04-21T14:40:42.359Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-21T14:40:42.359Z] 1.2.0-dev.31 [Pipeline] } [2020-04-21T14:40:42.385Z] $ docker exec --env ******** --env ******** 79996a625330308bf9984b32742d28ecaadf72fdbe68f5035e6a1cdacbea40f5 ssh-agent -k [2020-04-21T14:40:42.622Z] unset SSH_AUTH_SOCK; [2020-04-21T14:40:42.622Z] unset SSH_AGENT_PID; [2020-04-21T14:40:42.622Z] echo Agent pid 21 killed; [2020-04-21T14:40:42.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T14:40:43.276Z] + git semver [Pipeline] } [2020-04-21T14:40:43.350Z] $ docker stop --time=1 79996a625330308bf9984b32742d28ecaadf72fdbe68f5035e6a1cdacbea40f5 [2020-04-21T14:40:45.131Z] $ docker rm -f 79996a625330308bf9984b32742d28ecaadf72fdbe68f5035e6a1cdacbea40f5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:40:45.758Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T14:40:45.758Z] . [Pipeline] withDockerContainer [2020-04-21T14:40:45.988Z] prd-centos7-docker-4c-2g-5251 does not seem to be running inside a container [2020-04-21T14:40:46.106Z] $ 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-21T14:40:47.027Z] $ docker top 4e861e0290308c8735264445bfb1b0061ea3416cc6d28bb6b68835444b37fa4b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T14:40:47.446Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T14:40:47.446Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T14:40:48.018Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T14:40:48.026Z] $ docker exec 4e861e0290308c8735264445bfb1b0061ea3416cc6d28bb6b68835444b37fa4b ssh-agent [2020-04-21T14:40:48.408Z] SSH_AUTH_SOCK=/tmp/ssh-f3RPYXZj37B7/agent.14 [2020-04-21T14:40:48.408Z] SSH_AGENT_PID=21 [2020-04-21T14:40:48.429Z] Running ssh-add (command line suppressed) [2020-04-21T14:40:48.845Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4296894305596374991.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4296894305596374991.key) [2020-04-21T14:40:48.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T14:40:49.402Z] + git semver push [2020-04-21T14:40:49.402Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T14:40:49.402Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-21T14:40:49.402Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T14:40:49.402Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T14:40:49.402Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T14:40:49.402Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T14:40:49.402Z] # $SEMVER_BRANCH = master [2020-04-21T14:40:49.402Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-21T14:40:57.655Z] $ docker exec --env ******** --env ******** 4e861e0290308c8735264445bfb1b0061ea3416cc6d28bb6b68835444b37fa4b ssh-agent -k [2020-04-21T14:40:58.195Z] unset SSH_AUTH_SOCK; [2020-04-21T14:40:58.206Z] unset SSH_AGENT_PID; [2020-04-21T14:40:58.210Z] echo Agent pid 21 killed; [2020-04-21T14:40:58.300Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T14:40:59.135Z] + git semver [Pipeline] } [2020-04-21T14:40:59.160Z] $ docker stop --time=1 4e861e0290308c8735264445bfb1b0061ea3416cc6d28bb6b68835444b37fa4b [2020-04-21T14:41:00.991Z] $ docker rm -f 4e861e0290308c8735264445bfb1b0061ea3416cc6d28bb6b68835444b37fa4b [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-21T14:41:01.997Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T14:41:02.574Z] ---> package-listing.sh [2020-04-21T14:41:02.574Z] ++ facter osfamily [2020-04-21T14:41:02.574Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T14:41:02.574Z] + OS_FAMILY=redhat [2020-04-21T14:41:02.574Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T14:41:02.574Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T14:41:02.574Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T14:41:02.574Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T14:41:02.574Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T14:41:02.574Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-21T14:41:02.574Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T14:41:02.574Z] + case "${OS_FAMILY}" in [2020-04-21T14:41:02.574Z] + rpm -qa [2020-04-21T14:41:02.574Z] + sort [2020-04-21T14:41:09.187Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T14:41:09.187Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T14:41:09.187Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T14:41:09.187Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-21T14:41:09.187Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-04-21T14:41:09.187Z] + 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-21T14:41:09.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T14:41:09.905Z] [2020-04-21T14:41:09.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:41:10.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T14:41:10.966Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T14:41:10.966Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T14:41:10.966Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T14:41:10.966Z] 756a868c4378: Pulling fs layer [2020-04-21T14:41:10.966Z] 444b2fc9a129: Pulling fs layer [2020-04-21T14:41:10.966Z] ea15f1150254: Pulling fs layer [2020-04-21T14:41:10.966Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T14:41:10.966Z] 28c525ee5125: Pulling fs layer [2020-04-21T14:41:10.966Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T14:41:10.966Z] 138eaada9080: Pulling fs layer [2020-04-21T14:41:10.966Z] 0622d0fa9048: Pulling fs layer [2020-04-21T14:41:10.966Z] 444b2fc9a129: Waiting [2020-04-21T14:41:10.966Z] ea15f1150254: Waiting [2020-04-21T14:41:10.966Z] 41b27a9f41bf: Waiting [2020-04-21T14:41:10.966Z] 28c525ee5125: Waiting [2020-04-21T14:41:10.966Z] 094b1ea09ed8: Waiting [2020-04-21T14:41:10.966Z] 138eaada9080: Waiting [2020-04-21T14:41:10.966Z] 0622d0fa9048: Waiting [2020-04-21T14:41:10.966Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-21T14:41:10.966Z] 2cc5ad85d9ab: Download complete [2020-04-21T14:41:10.966Z] 444b2fc9a129: Verifying Checksum [2020-04-21T14:41:10.966Z] 444b2fc9a129: Download complete [2020-04-21T14:41:10.966Z] c9b1b535fdd9: Download complete [2020-04-21T14:41:11.239Z] ea15f1150254: Verifying Checksum [2020-04-21T14:41:11.239Z] ea15f1150254: Download complete [2020-04-21T14:41:11.239Z] 28c525ee5125: Verifying Checksum [2020-04-21T14:41:11.239Z] 28c525ee5125: Download complete [2020-04-21T14:41:11.517Z] c9b1b535fdd9: Pull complete [2020-04-21T14:41:12.138Z] 756a868c4378: Verifying Checksum [2020-04-21T14:41:12.138Z] 756a868c4378: Download complete [2020-04-21T14:41:12.459Z] 2cc5ad85d9ab: Pull complete [2020-04-21T14:41:12.788Z] 138eaada9080: Verifying Checksum [2020-04-21T14:41:12.788Z] 138eaada9080: Download complete [2020-04-21T14:41:12.788Z] 0622d0fa9048: Verifying Checksum [2020-04-21T14:41:12.788Z] 0622d0fa9048: Download complete [2020-04-21T14:41:12.788Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T14:41:12.788Z] 094b1ea09ed8: Download complete [2020-04-21T14:41:13.861Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T14:41:13.861Z] 41b27a9f41bf: Download complete [2020-04-21T14:41:15.921Z] 756a868c4378: Pull complete [2020-04-21T14:41:15.921Z] 444b2fc9a129: Pull complete [2020-04-21T14:41:16.530Z] ea15f1150254: Pull complete [2020-04-21T14:41:22.102Z] 41b27a9f41bf: Pull complete [2020-04-21T14:41:22.102Z] 28c525ee5125: Pull complete [2020-04-21T14:41:25.447Z] 094b1ea09ed8: Pull complete [2020-04-21T14:41:25.744Z] 138eaada9080: Pull complete [2020-04-21T14:41:26.009Z] 0622d0fa9048: Pull complete [2020-04-21T14:41:26.009Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T14:41:26.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T14:41:26.367Z] prd-centos7-docker-4c-2g-5251 does not seem to be running inside a container [2020-04-21T14:41:26.587Z] $ 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-21T14:41:27.417Z] $ docker top 06d61c7f548274deddfe0c78a14e80d5ca72160a0c85dfcd986c482509f6ec32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T14:41:28.029Z] provisioning config files... [2020-04-21T14:41:28.054Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1961412331011874370tmp [Pipeline] { [Pipeline] echo [2020-04-21T14:41:28.126Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T14:41:28.804Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T14:41:28.816Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T14:41:29.137Z] ---> logs-deploy.sh [2020-04-21T14:41:29.137Z] + ARCHIVE_ARTIFACTS= [2020-04-21T14:41:29.137Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T14:41:29.137Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T14:41:29.137Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T14:41:29.137Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/30 [2020-04-21T14:41:29.137Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/30/ [2020-04-21T14:41:29.137Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/30 /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T14:41:31.111Z] Archives upload complete. [2020-04-21T14:41:31.532Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/30 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/30/