Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 59d7bbd65c65af3ab25ed9f69c8c28db04e20564 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5903 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 Fetching 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 > 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 Checking out Revision 59d7bbd65c65af3ab25ed9f69c8c28db04e20564 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 59d7bbd65c65af3ab25ed9f69c8c28db04e20564 # timeout=10 Commit message: "Merge pull request #511 from hahattan/RELEASE_NOTE" > git rev-list --no-walk 32cdc69c02caaeadc7e6c55a092399b45a5765d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-24T07:55:43.110Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-24T07:55:43.355Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-24T07:55:43.426Z] ========================================================= [2020-04-24T07:55:43.426Z] EdgeX Global Pipelines Version Info [2020-04-24T07:55:43.426Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-24T07:55:44.838Z] ------------------- [2020-04-24T07:55:44.838Z] stable info: [2020-04-24T07:55:44.838Z] ------------------- [2020-04-24T07:55:44.838Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-24T07:55:44.838Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-24T07:55:44.838Z] Message: update stable to v1.0.73 [2020-04-24T07:55:45.407Z] ------------------- [2020-04-24T07:55:45.407Z] experimental info: [2020-04-24T07:55:45.408Z] ------------------- [2020-04-24T07:55:45.408Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-04-24T07:55:45.408Z] Commit SHA: db8f057101f5d4fbc3fddca88a70e396ee8d8f73 [2020-04-24T07:55:45.408Z] Message: update experimental to v1.0.82 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-24T07:55:47.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-24T07:55:47.695Z] [2020-04-24T07:55:47.695Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-24T07:55:48.036Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-24T07:55:48.036Z] latest: Pulling from edgex-devops/git-semver [2020-04-24T07:55:48.036Z] 9123ac7c32f7: Pulling fs layer [2020-04-24T07:55:48.036Z] b8cc5d1170e3: Pulling fs layer [2020-04-24T07:55:48.036Z] 2924cbbf6a41: Pulling fs layer [2020-04-24T07:55:48.036Z] 93b08a4f1073: Pulling fs layer [2020-04-24T07:55:48.036Z] 93b08a4f1073: Waiting [2020-04-24T07:55:48.295Z] b8cc5d1170e3: Verifying Checksum [2020-04-24T07:55:48.295Z] b8cc5d1170e3: Download complete [2020-04-24T07:55:48.295Z] 9123ac7c32f7: Verifying Checksum [2020-04-24T07:55:48.295Z] 9123ac7c32f7: Download complete [2020-04-24T07:55:48.295Z] 93b08a4f1073: Verifying Checksum [2020-04-24T07:55:48.295Z] 93b08a4f1073: Download complete [2020-04-24T07:55:48.295Z] 2924cbbf6a41: Verifying Checksum [2020-04-24T07:55:48.295Z] 2924cbbf6a41: Download complete [2020-04-24T07:55:48.554Z] 9123ac7c32f7: Pull complete [2020-04-24T07:55:48.554Z] b8cc5d1170e3: Pull complete [2020-04-24T07:55:49.492Z] 2924cbbf6a41: Pull complete [2020-04-24T07:55:49.492Z] 93b08a4f1073: Pull complete [2020-04-24T07:55:49.492Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-24T07:55:49.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-24T07:55:49.620Z] prd-centos7-docker-4c-2g-5903 does not seem to be running inside a container [2020-04-24T07:55:49.666Z] $ 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-24T07:55:50.286Z] $ docker top ffa59976679ed6e1232eddcbab03b7e0cb2d776976301b2b4544b59528313576 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-24T07:55:50.544Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-24T07:55:50.544Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-24T07:55:50.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-24T07:55:50.771Z] $ docker exec ffa59976679ed6e1232eddcbab03b7e0cb2d776976301b2b4544b59528313576 ssh-agent [2020-04-24T07:55:50.954Z] SSH_AUTH_SOCK=/tmp/ssh-0y5h8CxhOlLE/agent.16 [2020-04-24T07:55:50.954Z] SSH_AGENT_PID=23 [2020-04-24T07:55:50.962Z] Running ssh-add (command line suppressed) [2020-04-24T07:55:51.115Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4696891484000652605.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4696891484000652605.key) [2020-04-24T07:55:51.158Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-24T07:55:51.489Z] + git describe --exact-match --tags HEAD [2020-04-24T07:55:51.489Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-24T07:55:51.555Z] $ docker exec --env ******** --env ******** ffa59976679ed6e1232eddcbab03b7e0cb2d776976301b2b4544b59528313576 ssh-agent -k [2020-04-24T07:55:51.727Z] unset SSH_AUTH_SOCK; [2020-04-24T07:55:51.728Z] unset SSH_AGENT_PID; [2020-04-24T07:55:51.728Z] echo Agent pid 23 killed; [2020-04-24T07:55:51.771Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-24T07:55:51.837Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-24T07:55:51.837Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-24T07:55:51.917Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-24T07:55:51.917Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-24T07:55:52.104Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-24T07:55:52.110Z] $ docker exec ffa59976679ed6e1232eddcbab03b7e0cb2d776976301b2b4544b59528313576 ssh-agent [2020-04-24T07:55:52.287Z] SSH_AUTH_SOCK=/tmp/ssh-TTxAoD1mO3OC/agent.58 [2020-04-24T07:55:52.287Z] SSH_AGENT_PID=65 [2020-04-24T07:55:52.300Z] Running ssh-add (command line suppressed) [2020-04-24T07:55:52.445Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6960352309539518173.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6960352309539518173.key) [2020-04-24T07:55:52.497Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-24T07:55:52.824Z] + git semver init [2020-04-24T07:55:52.824Z] # -> Open(): unable to determine branch for HEAD [2020-04-24T07:55:52.824Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-24T07:55:52.824Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-24T07:55:52.824Z] # $SEMVER_REMOTE_NAME = origin [2020-04-24T07:55:52.824Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-24T07:55:52.824Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-24T07:55:52.824Z] # $SEMVER_BRANCH = master [2020-04-24T07:55:52.824Z] # $SEMVER_TEMP = /tmp/semver-131906526 [2020-04-24T07:55:52.824Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-24T07:55:53.391Z] # '/tmp/semver-131906526' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-04-24T07:55:53.391Z] # -> Force: false [2020-04-24T07:55:53.391Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-24T07:55:53.402Z] $ docker exec --env ******** --env ******** ffa59976679ed6e1232eddcbab03b7e0cb2d776976301b2b4544b59528313576 ssh-agent -k [2020-04-24T07:55:53.542Z] unset SSH_AUTH_SOCK; [2020-04-24T07:55:53.542Z] unset SSH_AGENT_PID; [2020-04-24T07:55:53.542Z] echo Agent pid 65 killed; [2020-04-24T07:55:53.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-24T07:55:54.073Z] + git semver [Pipeline] } [2020-04-24T07:55:54.090Z] $ docker stop --time=1 ffa59976679ed6e1232eddcbab03b7e0cb2d776976301b2b4544b59528313576 [2020-04-24T07:55:55.458Z] $ docker rm -f ffa59976679ed6e1232eddcbab03b7e0cb2d776976301b2b4544b59528313576 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-24T07:55:56.324Z] Stashed 51 file(s) [Pipeline] echo [2020-04-24T07:55:56.326Z] [edgeXSemver] initialized semver on version 1.2.0-dev.34 [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-24T07:56:11.556Z] Still waiting to schedule task [2020-04-24T07:56:11.556Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-24T07:56:11.558Z] Still waiting to schedule task [2020-04-24T07:56:11.558Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-24T07:57:58.144Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5904 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-24T07:57:58.185Z] Running in /w/workspace/device-sdk-go/34 [Pipeline] { [Pipeline] checkout [2020-04-24T07:58:03.874Z] using credential edgex-jenkins-ssh [2020-04-24T07:58:03.969Z] Cloning the remote Git repository [2020-04-24T07:58:03.969Z] Cloning with configured refspecs honoured and without tags [2020-04-24T07:58:04.055Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-24T07:58:04.149Z] > git init /w/workspace/device-sdk-go/34 # timeout=10 [2020-04-24T07:58:04.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-24T07:58:04.231Z] > git --version # timeout=10 [2020-04-24T07:58:04.260Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-24T07:58:04.338Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-24T07:58:05.368Z] Fetching without tags [2020-04-24T07:58:05.807Z] Checking out Revision 59d7bbd65c65af3ab25ed9f69c8c28db04e20564 (master) [2020-04-24T07:58:05.242Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-24T07:58:05.297Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-24T07:58:05.343Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-24T07:58:05.381Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-24T07:58:05.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-24T07:58:05.400Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-24T07:58:05.829Z] > git config core.sparsecheckout # timeout=10 [2020-04-24T07:58:05.850Z] > git checkout -f 59d7bbd65c65af3ab25ed9f69c8c28db04e20564 # timeout=10 [2020-04-24T07:58:10.444Z] Commit message: "Merge pull request #511 from hahattan/RELEASE_NOTE" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-24T07:58:11.822Z] ========================================================= [2020-04-24T07:58:11.822Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-24T07:58:11.822Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-24T07:58:12.972Z] + 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-24T07:58:13.953Z] Sending build context to Docker daemon 3.026MB [2020-04-24T07:58:13.953Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-24T07:58:13.953Z] Step 2/8 : FROM ${BASE} [2020-04-24T07:58:14.226Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-24T07:58:14.226Z] cde5963f3b93: Pulling fs layer [2020-04-24T07:58:14.226Z] 2a23fa8c16f7: Pulling fs layer [2020-04-24T07:58:14.226Z] 777b28850792: Pulling fs layer [2020-04-24T07:58:14.226Z] 8a11ddd9e578: Pulling fs layer [2020-04-24T07:58:14.226Z] 4cf88f913ddb: Pulling fs layer [2020-04-24T07:58:14.226Z] 1df406cf5192: Pulling fs layer [2020-04-24T07:58:14.226Z] cd6300453558: Pulling fs layer [2020-04-24T07:58:14.226Z] b9c365052c96: Pulling fs layer [2020-04-24T07:58:14.226Z] a2d8cc88f415: Pulling fs layer [2020-04-24T07:58:14.226Z] ea1d1ca13537: Pulling fs layer [2020-04-24T07:58:14.226Z] 3750a50a1c5e: Pulling fs layer [2020-04-24T07:58:14.226Z] b9c365052c96: Waiting [2020-04-24T07:58:14.226Z] 8a11ddd9e578: Waiting [2020-04-24T07:58:14.226Z] a2d8cc88f415: Waiting [2020-04-24T07:58:14.226Z] 4cf88f913ddb: Waiting [2020-04-24T07:58:14.226Z] ea1d1ca13537: Waiting [2020-04-24T07:58:14.226Z] cd6300453558: Waiting [2020-04-24T07:58:14.226Z] 1df406cf5192: Waiting [2020-04-24T07:58:14.226Z] 777b28850792: Verifying Checksum [2020-04-24T07:58:14.226Z] 777b28850792: Download complete [2020-04-24T07:58:14.226Z] 2a23fa8c16f7: Verifying Checksum [2020-04-24T07:58:14.226Z] 2a23fa8c16f7: Download complete [2020-04-24T07:58:14.226Z] 4cf88f913ddb: Verifying Checksum [2020-04-24T07:58:14.226Z] 4cf88f913ddb: Download complete [2020-04-24T07:58:14.226Z] 1df406cf5192: Verifying Checksum [2020-04-24T07:58:14.226Z] 1df406cf5192: Download complete [2020-04-24T07:58:14.496Z] cde5963f3b93: Verifying Checksum [2020-04-24T07:58:14.496Z] cde5963f3b93: Download complete [2020-04-24T07:58:15.487Z] cde5963f3b93: Pull complete [2020-04-24T07:58:16.075Z] 2a23fa8c16f7: Pull complete [2020-04-24T07:58:16.344Z] 777b28850792: Pull complete [2020-04-24T07:58:18.942Z] cd6300453558: Verifying Checksum [2020-04-24T07:58:18.942Z] cd6300453558: Download complete [2020-04-24T07:58:18.942Z] a2d8cc88f415: Download complete [2020-04-24T07:58:21.853Z] ea1d1ca13537: Verifying Checksum [2020-04-24T07:58:21.853Z] ea1d1ca13537: Download complete [2020-04-24T07:58:21.853Z] 3750a50a1c5e: Verifying Checksum [2020-04-24T07:58:21.853Z] 3750a50a1c5e: Download complete [2020-04-24T07:58:23.839Z] b9c365052c96: Verifying Checksum [2020-04-24T07:58:23.839Z] b9c365052c96: Download complete [2020-04-24T07:58:25.785Z] 8a11ddd9e578: Verifying Checksum [2020-04-24T07:58:25.785Z] 8a11ddd9e578: Download complete [2020-04-24T07:58:33.021Z] Running on prd-centos7-docker-4c-2g-5905 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-24T07:58:33.112Z] Running in /w/workspace/device-sdk-go/34 [Pipeline] { [Pipeline] checkout [2020-04-24T07:58:36.423Z] using credential edgex-jenkins-ssh [2020-04-24T07:58:36.491Z] Cloning the remote Git repository [2020-04-24T07:58:36.491Z] Cloning with configured refspecs honoured and without tags [2020-04-24T07:58:36.220Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-24T07:58:36.262Z] > git init /w/workspace/device-sdk-go/34 # timeout=10 [2020-04-24T07:58:36.324Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-24T07:58:36.324Z] > git --version # timeout=10 [2020-04-24T07:58:36.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-24T07:58:36.384Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-24T07:58:37.234Z] Fetching without tags [2020-04-24T07:58:37.642Z] Checking out Revision 59d7bbd65c65af3ab25ed9f69c8c28db04e20564 (master) [2020-04-24T07:58:36.963Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-24T07:58:36.969Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-24T07:58:36.982Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-24T07:58:37.000Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-24T07:58:37.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-24T07:58:37.005Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-24T07:58:37.445Z] > git config core.sparsecheckout # timeout=10 [2020-04-24T07:58:37.453Z] > git checkout -f 59d7bbd65c65af3ab25ed9f69c8c28db04e20564 # timeout=10 [2020-04-24T07:58:38.148Z] 8a11ddd9e578: Pull complete [2020-04-24T07:58:38.148Z] 4cf88f913ddb: Pull complete [2020-04-24T07:58:38.148Z] 1df406cf5192: Pull complete [2020-04-24T07:58:41.246Z] Commit message: "Merge pull request #511 from hahattan/RELEASE_NOTE" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-24T07:58:42.079Z] ========================================================= [2020-04-24T07:58:42.079Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-24T07:58:42.079Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-24T07:58:42.748Z] + 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-24T07:58:43.318Z] Sending build context to Docker daemon 3.027MB [2020-04-24T07:58:43.318Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-24T07:58:43.318Z] Step 2/8 : FROM ${BASE} [2020-04-24T07:58:43.318Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-24T07:58:43.318Z] e6b0cf9c0882: Pulling fs layer [2020-04-24T07:58:43.318Z] 2848faf0eed1: Pulling fs layer [2020-04-24T07:58:43.318Z] 0f37312ad70f: Pulling fs layer [2020-04-24T07:58:43.318Z] 5788d62ee057: Pulling fs layer [2020-04-24T07:58:43.318Z] 5788d62ee057: Waiting [2020-04-24T07:58:43.318Z] 0e6b1d234666: Pulling fs layer [2020-04-24T07:58:43.318Z] bf5d7aec512f: Pulling fs layer [2020-04-24T07:58:43.318Z] 34c802a77dc8: Pulling fs layer [2020-04-24T07:58:43.318Z] 9eb99e56ec68: Pulling fs layer [2020-04-24T07:58:43.318Z] 27c7a5d97fbd: Pulling fs layer [2020-04-24T07:58:43.318Z] 5c102a31e300: Pulling fs layer [2020-04-24T07:58:43.318Z] dcfb455df0a1: Pulling fs layer [2020-04-24T07:58:43.318Z] bf5d7aec512f: Waiting [2020-04-24T07:58:43.318Z] 0e6b1d234666: Waiting [2020-04-24T07:58:43.318Z] 9eb99e56ec68: Waiting [2020-04-24T07:58:43.318Z] 5c102a31e300: Waiting [2020-04-24T07:58:43.318Z] dcfb455df0a1: Waiting [2020-04-24T07:58:43.318Z] 0f37312ad70f: Verifying Checksum [2020-04-24T07:58:43.318Z] 0f37312ad70f: Download complete [2020-04-24T07:58:43.318Z] 2848faf0eed1: Download complete [2020-04-24T07:58:43.318Z] 0e6b1d234666: Verifying Checksum [2020-04-24T07:58:43.318Z] 0e6b1d234666: Download complete [2020-04-24T07:58:43.318Z] bf5d7aec512f: Verifying Checksum [2020-04-24T07:58:43.318Z] bf5d7aec512f: Download complete [2020-04-24T07:58:43.318Z] e6b0cf9c0882: Verifying Checksum [2020-04-24T07:58:43.318Z] e6b0cf9c0882: Download complete [2020-04-24T07:58:43.508Z] cd6300453558: Pull complete [2020-04-24T07:58:43.887Z] e6b0cf9c0882: Pull complete [2020-04-24T07:58:44.161Z] 34c802a77dc8: Verifying Checksum [2020-04-24T07:58:44.161Z] 34c802a77dc8: Download complete [2020-04-24T07:58:44.161Z] 27c7a5d97fbd: Verifying Checksum [2020-04-24T07:58:44.161Z] 27c7a5d97fbd: Download complete [2020-04-24T07:58:44.734Z] 5c102a31e300: Verifying Checksum [2020-04-24T07:58:44.734Z] 5c102a31e300: Download complete [2020-04-24T07:58:44.735Z] dcfb455df0a1: Verifying Checksum [2020-04-24T07:58:44.735Z] dcfb455df0a1: Download complete [2020-04-24T07:58:44.993Z] 5788d62ee057: Verifying Checksum [2020-04-24T07:58:44.994Z] 5788d62ee057: Download complete [2020-04-24T07:58:44.994Z] 9eb99e56ec68: Verifying Checksum [2020-04-24T07:58:44.994Z] 9eb99e56ec68: Download complete [2020-04-24T07:58:45.930Z] 2848faf0eed1: Pull complete [2020-04-24T07:58:46.193Z] 0f37312ad70f: Pull complete [2020-04-24T07:58:47.786Z] b9c365052c96: Pull complete [2020-04-24T07:58:48.057Z] a2d8cc88f415: Pull complete [2020-04-24T07:58:50.026Z] ea1d1ca13537: Pull complete [2020-04-24T07:58:50.296Z] 3750a50a1c5e: Pull complete [2020-04-24T07:58:50.296Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-24T07:58:50.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-24T07:58:50.296Z] ---> 78745c68409d [2020-04-24T07:58:50.296Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-24T07:58:52.786Z] 5788d62ee057: Pull complete [2020-04-24T07:58:52.786Z] 0e6b1d234666: Pull complete [2020-04-24T07:58:52.786Z] bf5d7aec512f: Pull complete [2020-04-24T07:58:54.557Z] ---> Running in 16ac8a122e20 [2020-04-24T07:58:54.826Z] Removing intermediate container 16ac8a122e20 [2020-04-24T07:58:54.826Z] ---> 7443cf307e81 [2020-04-24T07:58:54.826Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-24T07:58:55.096Z] ---> Running in 5391bd581fe6 [2020-04-24T07:58:55.352Z] 34c802a77dc8: Pull complete [2020-04-24T07:58:57.049Z] Removing intermediate container 5391bd581fe6 [2020-04-24T07:58:57.049Z] ---> a2cc2573e5a9 [2020-04-24T07:58:57.049Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-24T07:58:57.319Z] ---> Running in 7fb855ac9425 [2020-04-24T07:58:58.282Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-24T07:58:58.866Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-24T07:58:59.452Z] OK: 125 MiB in 39 packages [2020-04-24T07:58:59.574Z] 9eb99e56ec68: Pull complete [2020-04-24T07:58:59.574Z] 27c7a5d97fbd: Pull complete [2020-04-24T07:59:00.147Z] 5c102a31e300: Pull complete [2020-04-24T07:59:00.147Z] dcfb455df0a1: Pull complete [2020-04-24T07:59:00.147Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-24T07:59:00.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-24T07:59:00.147Z] ---> 7c70fe431013 [2020-04-24T07:59:00.147Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-24T07:59:00.717Z] ---> Running in b8bce3cc57a4 [2020-04-24T07:59:00.865Z] Removing intermediate container 7fb855ac9425 [2020-04-24T07:59:00.865Z] ---> 856aae32dfa6 [2020-04-24T07:59:00.865Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-24T07:59:00.865Z] ---> Running in efc22dee096a [2020-04-24T07:59:00.978Z] Removing intermediate container b8bce3cc57a4 [2020-04-24T07:59:00.978Z] ---> f4c9d42fecf8 [2020-04-24T07:59:00.978Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-24T07:59:00.978Z] ---> Running in 2aa0feeabb75 [2020-04-24T07:59:01.135Z] Removing intermediate container efc22dee096a [2020-04-24T07:59:01.135Z] ---> c1faf97a8dc0 [2020-04-24T07:59:01.135Z] Step 7/8 : COPY . . [2020-04-24T07:59:01.919Z] Removing intermediate container 2aa0feeabb75 [2020-04-24T07:59:01.920Z] ---> 695650cebb34 [2020-04-24T07:59:01.920Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-24T07:59:01.920Z] ---> Running in 5973e71ca1fa [2020-04-24T07:59:02.110Z] ---> a24a1bd29e10 [2020-04-24T07:59:02.110Z] Step 8/8 : RUN go mod download [2020-04-24T07:59:02.378Z] ---> Running in 3544bc1497b8 [2020-04-24T07:59:02.490Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-24T07:59:03.428Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-24T07:59:03.428Z] OK: 143 MiB in 39 packages [2020-04-24T07:59:03.996Z] Removing intermediate container 5973e71ca1fa [2020-04-24T07:59:03.996Z] ---> d455da5f9efc [2020-04-24T07:59:03.996Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-24T07:59:03.996Z] ---> Running in ddd1ed40e606 [2020-04-24T07:59:03.996Z] Removing intermediate container ddd1ed40e606 [2020-04-24T07:59:03.996Z] ---> 64cdad5f20d5 [2020-04-24T07:59:03.996Z] Step 7/8 : COPY . . [2020-04-24T07:59:05.377Z] ---> 9e59d3bb7c2a [2020-04-24T07:59:05.377Z] Step 8/8 : RUN go mod download [2020-04-24T07:59:05.377Z] ---> Running in 6fb2fa5e915c [2020-04-24T07:59:05.729Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-24T07:59:05.729Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-24T07:59:05.998Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-24T07:59:05.998Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-24T07:59:05.998Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-24T07:59:05.998Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-24T07:59:05.998Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-24T07:59:05.998Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-24T07:59:05.998Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-24T07:59:06.267Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-24T07:59:06.267Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-24T07:59:06.267Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-24T07:59:06.267Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-24T07:59:06.267Z] go: finding github.com/fatih/color v1.7.0 [2020-04-24T07:59:06.267Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-24T07:59:06.535Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-24T07:59:06.535Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-24T07:59:06.535Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-24T07:59:06.535Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-24T07:59:06.535Z] go: finding github.com/google/uuid v1.1.0 [2020-04-24T07:59:06.535Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-24T07:59:06.535Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-24T07:59:06.535Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-24T07:59:06.802Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-24T07:59:06.802Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-24T07:59:06.802Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-24T07:59:06.802Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-24T07:59:06.802Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-24T07:59:06.802Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-24T07:59:07.069Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-24T07:59:07.069Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-24T07:59:07.069Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-24T07:59:07.069Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-24T07:59:07.069Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-24T07:59:07.069Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-24T07:59:07.069Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-24T07:59:07.296Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-24T07:59:07.296Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-24T07:59:07.296Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-24T07:59:07.296Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-24T07:59:07.296Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-24T07:59:07.296Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-24T07:59:07.296Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-24T07:59:07.296Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-24T07:59:07.296Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-24T07:59:07.338Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-24T07:59:07.338Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-24T07:59:07.338Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-24T07:59:07.338Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-24T07:59:07.338Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-24T07:59:07.338Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-24T07:59:07.338Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-24T07:59:07.555Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-24T07:59:07.555Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-24T07:59:07.555Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-24T07:59:07.555Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-24T07:59:07.555Z] go: finding github.com/fatih/color v1.7.0 [2020-04-24T07:59:07.555Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-24T07:59:07.555Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-24T07:59:07.605Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-24T07:59:07.605Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-24T07:59:07.605Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-24T07:59:07.605Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-24T07:59:07.605Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-24T07:59:07.605Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-24T07:59:07.815Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-24T07:59:07.815Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-24T07:59:07.815Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-24T07:59:07.815Z] go: finding github.com/google/uuid v1.1.0 [2020-04-24T07:59:07.815Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-24T07:59:07.815Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-24T07:59:07.815Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-24T07:59:07.873Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-24T07:59:07.873Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-24T07:59:07.873Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-24T07:59:07.873Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-24T07:59:07.873Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-24T07:59:07.873Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-24T07:59:07.873Z] go: finding github.com/posener/complete v1.1.1 [2020-04-24T07:59:08.074Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-24T07:59:08.074Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-24T07:59:08.074Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-24T07:59:08.074Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-24T07:59:08.074Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-24T07:59:08.074Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-24T07:59:08.074Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-24T07:59:08.142Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-24T07:59:08.142Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-24T07:59:08.142Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-24T07:59:08.142Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-24T07:59:08.142Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-24T07:59:08.142Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-24T07:59:08.334Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-24T07:59:08.334Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-24T07:59:08.334Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-24T07:59:08.334Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-24T07:59:08.334Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-24T07:59:08.334Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-24T07:59:08.334Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-24T07:59:08.412Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-24T07:59:08.412Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-24T07:59:08.412Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-24T07:59:08.412Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-24T07:59:08.412Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-24T07:59:08.412Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-24T07:59:08.593Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-24T07:59:08.593Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-24T07:59:08.593Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-24T07:59:08.593Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-24T07:59:08.593Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-24T07:59:08.593Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-24T07:59:08.594Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-24T07:59:08.594Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-24T07:59:08.852Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-24T07:59:08.852Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-24T07:59:08.852Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-24T07:59:08.852Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-24T07:59:08.852Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-24T07:59:08.852Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-24T07:59:08.852Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-24T07:59:09.113Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-24T07:59:09.113Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-24T07:59:09.113Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-24T07:59:09.113Z] go: finding github.com/posener/complete v1.1.1 [2020-04-24T07:59:09.113Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-24T07:59:09.113Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-24T07:59:09.113Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-24T07:59:09.373Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-24T07:59:09.373Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-24T07:59:09.373Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-24T07:59:09.373Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-24T07:59:09.373Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-24T07:59:09.373Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-24T07:59:09.373Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-24T07:59:09.373Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-24T07:59:09.373Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-24T07:59:14.671Z] Removing intermediate container 6fb2fa5e915c [2020-04-24T07:59:14.671Z] ---> 6daad096b440 [2020-04-24T07:59:14.671Z] Successfully built 6daad096b440 [2020-04-24T07:59:14.671Z] 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-24T07:59:15.302Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-24T07:59:15.302Z] . [Pipeline] withDockerContainer [2020-04-24T07:59:15.424Z] prd-centos7-docker-4c-2g-5905 does not seem to be running inside a container [2020-04-24T07:59:15.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@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-24T07:59:16.063Z] $ docker top 1e52deec6803920140dea6c5ae7b16d01f729e39ff79c379c438d55c91898484 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-24T07:59:16.580Z] + go version [2020-04-24T07:59:16.580Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-24T07:59:16.888Z] + make test [2020-04-24T07:59:16.888Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-24T07:59:17.459Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-24T07:59:18.549Z] Removing intermediate container 3544bc1497b8 [2020-04-24T07:59:18.549Z] ---> b0629c50efec [2020-04-24T07:59:18.549Z] Successfully built b0629c50efec [2020-04-24T07:59:18.549Z] 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-24T07:59:19.180Z] + docker inspect -f . ci-base-image-arm64 [2020-04-24T07:59:19.448Z] . [Pipeline] withDockerContainer [2020-04-24T07:59:19.785Z] prd-ubuntu18.04-docker-arm64-4c-16g-5904 does not seem to be running inside a container [2020-04-24T07:59:19.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-24T07:59:21.305Z] $ docker top 77ac220cd5aeaf1f307bf577802b5578ca34c4f94be28260a3f2da649454cf3d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-24T07:59:22.378Z] + go version [2020-04-24T07:59:22.378Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-24T07:59:23.034Z] + make test [2020-04-24T07:59:23.034Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-24T07:59:24.004Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-24T07:59:29.744Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-24T07:59:29.744Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-24T07:59:29.744Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-24T07:59:29.744Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 22.1% of statements [2020-04-24T07:59:30.317Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.040s coverage: 95.8% of statements [2020-04-24T07:59:56.305Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-24T07:59:56.305Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-24T07:59:56.305Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-24T07:59:56.305Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.030s coverage: 22.1% of statements [2020-04-24T07:59:56.305Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.185s coverage: 95.8% of statements [2020-04-24T08:00:02.421Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.023s coverage: 11.4% of statements [2020-04-24T08:00:02.421Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 21.7% of statements [2020-04-24T08:00:02.421Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-24T08:00:02.421Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.066s coverage: 36.9% of statements [2020-04-24T08:00:02.421Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-24T08:00:02.421Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-24T08:00:02.421Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.331s coverage: 65.2% of statements [2020-04-24T08:00:02.421Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-24T08:00:02.421Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-24T08:00:02.421Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-24T08:00:02.421Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements [2020-04-24T08:00:02.421Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-24T08:00:02.421Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.104s coverage: 68.9% of statements [2020-04-24T08:00:02.421Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-24T08:00:02.421Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-24T08:00:02.421Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-24T08:00:03.366Z] gofmt -l . [2020-04-24T08:00:03.366Z] [ "`gofmt -l .`" = "" ] [2020-04-24T08:00:03.626Z] ./bin/test-attribution-txt.sh [2020-04-24T08:00:04.198Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-24T08:00:04.836Z] Stashed 1 file(s) [Pipeline] } [2020-04-24T08:00:04.841Z] $ docker stop --time=1 1e52deec6803920140dea6c5ae7b16d01f729e39ff79c379c438d55c91898484 [2020-04-24T08:00:06.299Z] $ docker rm -f 1e52deec6803920140dea6c5ae7b16d01f729e39ff79c379c438d55c91898484 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-24T08:00:07.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-24T08:00:07.960Z] + ls -al . [2020-04-24T08:00:07.960Z] total 180 [2020-04-24T08:00:07.960Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 24 08:00 . [2020-04-24T08:00:07.960Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 24 07:58 .. [2020-04-24T08:00:07.960Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 24 07:58 api [2020-04-24T08:00:07.960Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 24 07:58 bin [2020-04-24T08:00:07.960Z] -rw-r--r--. 1 jenkins jenkins 110877 Apr 24 08:00 coverage.out [2020-04-24T08:00:07.960Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 24 07:58 Dockerfile.build [2020-04-24T08:00:07.960Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 24 07:58 .dockerignore [2020-04-24T08:00:07.960Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 24 07:58 example [2020-04-24T08:00:07.960Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 24 07:58 .git [2020-04-24T08:00:07.960Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 24 07:58 .github [2020-04-24T08:00:07.960Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 24 07:58 .gitignore [2020-04-24T08:00:07.960Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 24 08:00 go.mod [2020-04-24T08:00:07.960Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 24 08:00 go.sum [2020-04-24T08:00:07.960Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 24 07:58 internal [2020-04-24T08:00:07.960Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 24 07:58 Jenkinsfile [2020-04-24T08:00:07.960Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 24 07:58 LICENSE [2020-04-24T08:00:07.960Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 24 07:58 Makefile [2020-04-24T08:00:07.960Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 24 07:58 pkg [2020-04-24T08:00:07.960Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 24 07:58 README.md [2020-04-24T08:00:07.960Z] -rw-rw-r--. 1 jenkins jenkins 2024 Apr 24 07:58 RELEASE-NOTES.txt [2020-04-24T08:00:07.960Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 24 07:58 .semver [2020-04-24T08:00:07.960Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 24 07:58 snap [2020-04-24T08:00:07.960Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 24 07:55 VERSION [2020-04-24T08:00:07.960Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 24 07:58 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-24T08:00:08.259Z] + 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=59d7bbd65c65af3ab25ed9f69c8c28db04e20564 --label arch=amd64 --label version=1.2.0-dev.34 . [2020-04-24T08:00:08.259Z] Sending build context to Docker daemon 3.155MB [2020-04-24T08:00:08.521Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-24T08:00:08.521Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-24T08:00:08.521Z] ---> 6daad096b440 [2020-04-24T08:00:08.521Z] Step 3/21 : ARG MAKE='make build' [2020-04-24T08:00:08.521Z] ---> Running in 07503206a956 [2020-04-24T08:00:08.521Z] Removing intermediate container 07503206a956 [2020-04-24T08:00:08.521Z] ---> 734211d18d7d [2020-04-24T08:00:08.521Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-24T08:00:08.784Z] ---> Running in cbf9aa309799 [2020-04-24T08:00:08.784Z] Removing intermediate container cbf9aa309799 [2020-04-24T08:00:08.784Z] ---> cb3244325461 [2020-04-24T08:00:08.784Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-24T08:00:08.784Z] ---> Running in 914d2befde46 [2020-04-24T08:00:09.043Z] Removing intermediate container 914d2befde46 [2020-04-24T08:00:09.043Z] ---> 017dc96770a7 [2020-04-24T08:00:09.043Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-24T08:00:09.043Z] ---> Running in 1fa3acfc5b3f [2020-04-24T08:00:09.982Z] Removing intermediate container 1fa3acfc5b3f [2020-04-24T08:00:09.982Z] ---> 3e5ebce58bea [2020-04-24T08:00:09.982Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-24T08:00:09.982Z] ---> Running in bdd4933f010c [2020-04-24T08:00:10.241Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-24T08:00:10.809Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-24T08:00:11.068Z] OK: 143 MiB in 39 packages [2020-04-24T08:00:11.642Z] Removing intermediate container bdd4933f010c [2020-04-24T08:00:11.642Z] ---> a80d92a6f1db [2020-04-24T08:00:11.642Z] Step 8/21 : COPY . . [2020-04-24T08:00:11.911Z] ---> d24d0a0a31fd [2020-04-24T08:00:11.911Z] Step 9/21 : RUN ${MAKE} [2020-04-24T08:00:11.911Z] ---> Running in 695469a27ee1 [2020-04-24T08:00:12.485Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.34" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-24T08:00:20.682Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-24T08:00:20.942Z] Removing intermediate container 695469a27ee1 [2020-04-24T08:00:20.942Z] ---> a98e48426e50 [2020-04-24T08:00:20.942Z] Step 10/21 : FROM scratch [2020-04-24T08:00:20.942Z] ---> [2020-04-24T08:00:20.942Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-24T08:00:20.942Z] ---> Running in 1fa12f9b3075 [2020-04-24T08:00:21.208Z] Removing intermediate container 1fa12f9b3075 [2020-04-24T08:00:21.208Z] ---> 041b4a575239 [2020-04-24T08:00:21.208Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-24T08:00:21.208Z] ---> Running in 5bfc04bbe1b8 [2020-04-24T08:00:21.208Z] Removing intermediate container 5bfc04bbe1b8 [2020-04-24T08:00:21.208Z] ---> cb1f8cd49795 [2020-04-24T08:00:21.208Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-24T08:00:21.469Z] ---> Running in a4b6cab77ce3 [2020-04-24T08:00:21.469Z] Removing intermediate container a4b6cab77ce3 [2020-04-24T08:00:21.469Z] ---> 75eff8eee798 [2020-04-24T08:00:21.469Z] Step 14/21 : WORKDIR / [2020-04-24T08:00:21.469Z] ---> Running in 52cc9f85f4e5 [2020-04-24T08:00:21.729Z] Removing intermediate container 52cc9f85f4e5 [2020-04-24T08:00:21.729Z] ---> 865a10be9119 [2020-04-24T08:00:21.729Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-24T08:00:21.991Z] ---> d794d20ff43c [2020-04-24T08:00:21.992Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-24T08:00:22.252Z] ---> a4c0b8ee60a3 [2020-04-24T08:00:22.252Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-24T08:00:22.513Z] ---> 36662ff92143 [2020-04-24T08:00:22.513Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-24T08:00:22.513Z] ---> Running in 3d32e4877bff [2020-04-24T08:00:22.513Z] Removing intermediate container 3d32e4877bff [2020-04-24T08:00:22.513Z] ---> 685d192c6208 [2020-04-24T08:00:22.513Z] Step 19/21 : LABEL arch=amd64 [2020-04-24T08:00:22.772Z] ---> Running in ebc4d169cc9d [2020-04-24T08:00:22.772Z] Removing intermediate container ebc4d169cc9d [2020-04-24T08:00:22.772Z] ---> c2a1d9a366a8 [2020-04-24T08:00:22.772Z] Step 20/21 : LABEL git_sha=59d7bbd65c65af3ab25ed9f69c8c28db04e20564 [2020-04-24T08:00:22.772Z] ---> Running in 203b8f82be5b [2020-04-24T08:00:23.031Z] Removing intermediate container 203b8f82be5b [2020-04-24T08:00:23.031Z] ---> fb9d343f095c [2020-04-24T08:00:23.031Z] Step 21/21 : LABEL version=1.2.0-dev.34 [2020-04-24T08:00:23.290Z] ---> Running in 5cf0eb916cf4 [2020-04-24T08:00:23.290Z] Removing intermediate container 5cf0eb916cf4 [2020-04-24T08:00:23.290Z] ---> 75ab1af2d0c7 [2020-04-24T08:00:23.290Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-24T08:00:23.290Z] Successfully built 75ab1af2d0c7 [2020-04-24T08:00:23.290Z] 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-24T08:00:28.575Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.053s coverage: 11.4% of statements [2020-04-24T08:00:28.575Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.034s coverage: 21.7% of statements [2020-04-24T08:00:28.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-24T08:00:28.575Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.213s coverage: 36.9% of statements [2020-04-24T08:00:28.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-24T08:00:28.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-24T08:00:28.575Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.671s coverage: 65.2% of statements [2020-04-24T08:00:28.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-24T08:00:28.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-24T08:00:28.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-24T08:00:28.575Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.048s coverage: 52.6% of statements [2020-04-24T08:00:28.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-24T08:00:28.575Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.335s coverage: 68.9% of statements [2020-04-24T08:00:28.575Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-24T08:00:28.575Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-24T08:00:28.575Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-24T08:00:31.947Z] gofmt -l . [2020-04-24T08:00:31.947Z] [ "`gofmt -l .`" = "" ] [2020-04-24T08:00:32.533Z] ./bin/test-attribution-txt.sh [2020-04-24T08:00:33.119Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-24T08:00:33.720Z] Warning: overwriting stash ‘coverage-report’ [2020-04-24T08:00:34.209Z] Stashed 1 file(s) [Pipeline] } [2020-04-24T08:00:34.218Z] $ docker stop --time=1 77ac220cd5aeaf1f307bf577802b5578ca34c4f94be28260a3f2da649454cf3d [2020-04-24T08:00:36.383Z] $ docker rm -f 77ac220cd5aeaf1f307bf577802b5578ca34c4f94be28260a3f2da649454cf3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-24T08:00:37.733Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-24T08:00:38.067Z] + ls -al . [2020-04-24T08:00:38.067Z] total 220 [2020-04-24T08:00:38.067Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 08:00 . [2020-04-24T08:00:38.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 07:58 .. [2020-04-24T08:00:38.067Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 07:58 .dockerignore [2020-04-24T08:00:38.067Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 07:58 .git [2020-04-24T08:00:38.067Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 07:58 .github [2020-04-24T08:00:38.067Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 24 07:58 .gitignore [2020-04-24T08:00:38.067Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 07:58 .semver [2020-04-24T08:00:38.067Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 24 07:58 Dockerfile.build [2020-04-24T08:00:38.067Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 24 07:58 Jenkinsfile [2020-04-24T08:00:38.067Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 24 07:58 LICENSE [2020-04-24T08:00:38.067Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 24 07:58 Makefile [2020-04-24T08:00:38.067Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 24 07:58 README.md [2020-04-24T08:00:38.067Z] -rw-rw-r-- 1 jenkins jenkins 2024 Apr 24 07:58 RELEASE-NOTES.txt [2020-04-24T08:00:38.067Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 07:55 VERSION [2020-04-24T08:00:38.067Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 07:58 api [2020-04-24T08:00:38.067Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 07:58 bin [2020-04-24T08:00:38.067Z] -rw-r--r-- 1 jenkins jenkins 110877 Apr 24 08:00 coverage.out [2020-04-24T08:00:38.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 07:58 example [2020-04-24T08:00:38.067Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 24 08:00 go.mod [2020-04-24T08:00:38.067Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 24 08:00 go.sum [2020-04-24T08:00:38.067Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 24 07:58 internal [2020-04-24T08:00:38.067Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 24 07:58 pkg [2020-04-24T08:00:38.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 07:58 snap [2020-04-24T08:00:38.067Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 24 07:58 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-24T08:00:38.404Z] + 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=59d7bbd65c65af3ab25ed9f69c8c28db04e20564 --label arch=arm64 --label version=1.2.0-dev.34 . [2020-04-24T08:00:38.987Z] Sending build context to Docker daemon 3.154MB [2020-04-24T08:00:38.987Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-24T08:00:38.987Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-24T08:00:38.987Z] ---> b0629c50efec [2020-04-24T08:00:38.987Z] Step 3/21 : ARG MAKE='make build' [2020-04-24T08:00:39.257Z] ---> Running in ecd708d5a8c9 [2020-04-24T08:00:39.524Z] Removing intermediate container ecd708d5a8c9 [2020-04-24T08:00:39.524Z] ---> d920f816441d [2020-04-24T08:00:39.524Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-24T08:00:39.794Z] ---> Running in e26082f0aaae [2020-04-24T08:00:40.062Z] Removing intermediate container e26082f0aaae [2020-04-24T08:00:40.062Z] ---> ed426b2b1d03 [2020-04-24T08:00:40.062Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-24T08:00:40.332Z] ---> Running in 7b9b0244b454 [2020-04-24T08:00:40.603Z] Removing intermediate container 7b9b0244b454 [2020-04-24T08:00:40.603Z] ---> b48d671166d1 [2020-04-24T08:00:40.603Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-24T08:00:40.603Z] ---> Running in 68ffe4a357cd [2020-04-24T08:00:42.605Z] Removing intermediate container 68ffe4a357cd [2020-04-24T08:00:42.605Z] ---> 05cc6b1fa758 [2020-04-24T08:00:42.605Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-24T08:00:42.884Z] ---> Running in 1d1155cad9e3 [2020-04-24T08:00:43.900Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-24T08:00:44.494Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-24T08:00:44.765Z] OK: 125 MiB in 39 packages [2020-04-24T08:00:46.183Z] Removing intermediate container 1d1155cad9e3 [2020-04-24T08:00:46.183Z] ---> 9bdbe5facccb [2020-04-24T08:00:46.183Z] Step 8/21 : COPY . . [2020-04-24T08:00:47.157Z] ---> af9b2d9b6899 [2020-04-24T08:00:47.157Z] Step 9/21 : RUN ${MAKE} [2020-04-24T08:00:47.157Z] ---> Running in c8ad1224a39a [2020-04-24T08:00:48.124Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.34" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-24T08:01:14.880Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-24T08:01:16.831Z] Removing intermediate container c8ad1224a39a [2020-04-24T08:01:16.831Z] ---> 331ae5dfd9ae [2020-04-24T08:01:16.831Z] Step 10/21 : FROM scratch [2020-04-24T08:01:16.831Z] ---> [2020-04-24T08:01:16.831Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-24T08:01:16.831Z] ---> Running in e3338f0554ff [2020-04-24T08:01:16.831Z] Removing intermediate container e3338f0554ff [2020-04-24T08:01:16.831Z] ---> 3f924079e649 [2020-04-24T08:01:16.831Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-24T08:01:17.099Z] ---> Running in dfaa14c20bcc [2020-04-24T08:01:17.367Z] Removing intermediate container dfaa14c20bcc [2020-04-24T08:01:17.367Z] ---> 8441c44abe68 [2020-04-24T08:01:17.367Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-24T08:01:17.367Z] ---> Running in b5af74e5d026 [2020-04-24T08:01:17.634Z] Removing intermediate container b5af74e5d026 [2020-04-24T08:01:17.634Z] ---> cf03fd67e33e [2020-04-24T08:01:17.634Z] Step 14/21 : WORKDIR / [2020-04-24T08:01:17.902Z] ---> Running in 5ffdf37838cb [2020-04-24T08:01:18.171Z] Removing intermediate container 5ffdf37838cb [2020-04-24T08:01:18.171Z] ---> 24e5be644c1d [2020-04-24T08:01:18.171Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-24T08:01:19.585Z] ---> d0d06f76b112 [2020-04-24T08:01:19.585Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-24T08:01:19.853Z] ---> d27b3da8d42f [2020-04-24T08:01:19.853Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-24T08:01:20.442Z] ---> 94721e8e4b3b [2020-04-24T08:01:20.442Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-24T08:01:20.442Z] ---> Running in a190b2b17d71 [2020-04-24T08:01:21.026Z] Removing intermediate container a190b2b17d71 [2020-04-24T08:01:21.026Z] ---> 10d884258ed5 [2020-04-24T08:01:21.026Z] Step 19/21 : LABEL arch=arm64 [2020-04-24T08:01:21.026Z] ---> Running in 2da3c92784f8 [2020-04-24T08:01:21.294Z] Removing intermediate container 2da3c92784f8 [2020-04-24T08:01:21.294Z] ---> a9b16f7415db [2020-04-24T08:01:21.294Z] Step 20/21 : LABEL git_sha=59d7bbd65c65af3ab25ed9f69c8c28db04e20564 [2020-04-24T08:01:21.561Z] ---> Running in 6a31bc684fb5 [2020-04-24T08:01:21.828Z] Removing intermediate container 6a31bc684fb5 [2020-04-24T08:01:21.828Z] ---> 3099931ee96a [2020-04-24T08:01:21.828Z] Step 21/21 : LABEL version=1.2.0-dev.34 [2020-04-24T08:01:22.096Z] ---> Running in dc403af0d21a [2020-04-24T08:01:22.365Z] Removing intermediate container dc403af0d21a [2020-04-24T08:01:22.365Z] ---> c5fe3b1650e8 [2020-04-24T08:01:22.365Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-24T08:01:22.365Z] Successfully built c5fe3b1650e8 [2020-04-24T08:01:22.365Z] 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-24T08:01:23.533Z] provisioning config files... [2020-04-24T08:01:23.545Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4473897997107871211tmp [Pipeline] { [Pipeline] sh [2020-04-24T08:01:23.898Z] + curl -s https://codecov.io/bash [2020-04-24T08:01:23.898Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4473897997107871211tmp [2020-04-24T08:01:24.157Z] [2020-04-24T08:01:24.157Z] _____ _ [2020-04-24T08:01:24.157Z] / ____| | | [2020-04-24T08:01:24.157Z] | | ___ __| | ___ ___ _____ __ [2020-04-24T08:01:24.157Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-24T08:01:24.157Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-24T08:01:24.157Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-24T08:01:24.157Z] Bash-tbd [2020-04-24T08:01:24.157Z] [2020-04-24T08:01:24.157Z] [2020-04-24T08:01:24.157Z] ==> Jenkins CI detected. [2020-04-24T08:01:24.157Z] project root: . [2020-04-24T08:01:24.157Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-24T08:01:24.158Z] ==> Running gcov in . (disable via -X gcov) [2020-04-24T08:01:24.158Z] ==> Python coveragepy not found [2020-04-24T08:01:24.158Z] ==> Searching for coverage reports in: [2020-04-24T08:01:24.158Z] + . [2020-04-24T08:01:24.158Z] -> Found 1 reports [2020-04-24T08:01:24.158Z] ==> Detecting git/mercurial file structure [2020-04-24T08:01:24.158Z] ==> Reading reports [2020-04-24T08:01:24.158Z] + ./coverage.out bytes=110877 [2020-04-24T08:01:24.158Z] ==> Appending adjustments [2020-04-24T08:01:24.158Z] http://docs.codecov.io/docs/fixing-reports [2020-04-24T08:01:24.418Z] + Found adjustments [2020-04-24T08:01:24.418Z] ==> Gzipping contents [2020-04-24T08:01:24.418Z] ==> Uploading reports [2020-04-24T08:01:24.418Z] url: https://codecov.io [2020-04-24T08:01:24.418Z] query: branch=master&commit=59d7bbd65c65af3ab25ed9f69c8c28db04e20564&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-24T08:01:24.418Z] -> Pinging Codecov [2020-04-24T08:01:24.418Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=59d7bbd65c65af3ab25ed9f69c8c28db04e20564&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-24T08:01:24.988Z] -> Uploading [2020-04-24T08:01:25.247Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/59d7bbd65c65af3ab25ed9f69c8c28db04e20564 [Pipeline] } [2020-04-24T08:01:25.254Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-24T08:01:25.602Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-24T08:01:25.603Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-24T08:01:25.641Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-24T08:01:25.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-24T08:01:25.977Z] [2020-04-24T08:01:25.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-24T08:01:26.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-24T08:01:26.318Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-24T08:01:26.318Z] e6b0cf9c0882: Pulling fs layer [2020-04-24T08:01:26.318Z] 2848faf0eed1: Pulling fs layer [2020-04-24T08:01:26.318Z] 0f37312ad70f: Pulling fs layer [2020-04-24T08:01:26.318Z] 7d08f2745646: Pulling fs layer [2020-04-24T08:01:26.318Z] 4c9f31393084: Pulling fs layer [2020-04-24T08:01:26.318Z] eb21ddb83652: Pulling fs layer [2020-04-24T08:01:26.318Z] 345998794f6b: Pulling fs layer [2020-04-24T08:01:26.318Z] 97a711d68925: Pulling fs layer [2020-04-24T08:01:26.318Z] 7c8476c1cb00: Pulling fs layer [2020-04-24T08:01:26.318Z] 7d08f2745646: Waiting [2020-04-24T08:01:26.318Z] 4c9f31393084: Waiting [2020-04-24T08:01:26.318Z] eb21ddb83652: Waiting [2020-04-24T08:01:26.318Z] 345998794f6b: Waiting [2020-04-24T08:01:26.318Z] 7c8476c1cb00: Waiting [2020-04-24T08:01:26.318Z] 97a711d68925: Waiting [2020-04-24T08:01:26.318Z] 0f37312ad70f: Verifying Checksum [2020-04-24T08:01:26.318Z] 0f37312ad70f: Download complete [2020-04-24T08:01:26.318Z] 2848faf0eed1: Verifying Checksum [2020-04-24T08:01:26.318Z] 2848faf0eed1: Download complete [2020-04-24T08:01:26.318Z] 4c9f31393084: Verifying Checksum [2020-04-24T08:01:26.318Z] 4c9f31393084: Download complete [2020-04-24T08:01:26.318Z] e6b0cf9c0882: Verifying Checksum [2020-04-24T08:01:26.318Z] e6b0cf9c0882: Download complete [2020-04-24T08:01:26.318Z] eb21ddb83652: Verifying Checksum [2020-04-24T08:01:26.318Z] eb21ddb83652: Download complete [2020-04-24T08:01:26.620Z] 345998794f6b: Verifying Checksum [2020-04-24T08:01:26.620Z] 345998794f6b: Download complete [2020-04-24T08:01:26.887Z] e6b0cf9c0882: Pull complete [2020-04-24T08:01:27.151Z] 2848faf0eed1: Pull complete [2020-04-24T08:01:27.418Z] 7c8476c1cb00: Verifying Checksum [2020-04-24T08:01:27.418Z] 7c8476c1cb00: Download complete [2020-04-24T08:01:27.418Z] 0f37312ad70f: Pull complete [2020-04-24T08:01:27.418Z] 97a711d68925: Verifying Checksum [2020-04-24T08:01:27.418Z] 97a711d68925: Download complete [2020-04-24T08:01:27.992Z] 7d08f2745646: Verifying Checksum [2020-04-24T08:01:27.992Z] 7d08f2745646: Download complete [2020-04-24T08:01:34.572Z] 7d08f2745646: Pull complete [2020-04-24T08:01:34.572Z] 4c9f31393084: Pull complete [2020-04-24T08:01:34.831Z] eb21ddb83652: Pull complete [2020-04-24T08:01:36.737Z] 345998794f6b: Pull complete [2020-04-24T08:01:40.042Z] 97a711d68925: Pull complete [2020-04-24T08:01:40.613Z] 7c8476c1cb00: Pull complete [2020-04-24T08:01:40.873Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-24T08:01:40.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-24T08:01:41.020Z] prd-centos7-docker-4c-2g-5903 does not seem to be running inside a container [2020-04-24T08:01:41.064Z] $ 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-24T08:01:41.666Z] $ docker top 41d08f1d9b389c17e2ce2aca5d4733b8676037c2944fe45366744c8ebf917473 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-24T08:01:42.187Z] + snyk monitor '--org=edgex-jenkins' [2020-04-24T08:01:52.185Z] [2020-04-24T08:01:52.185Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-04-24T08:01:52.185Z] [2020-04-24T08:01:52.185Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/c7cc4801-96df-4924-96d9-5224c92f5c8a [2020-04-24T08:01:52.185Z] [2020-04-24T08:01:52.185Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-24T08:01:52.185Z] [2020-04-24T08:01:53.121Z] [Pipeline] } [2020-04-24T08:01:53.142Z] $ docker stop --time=1 41d08f1d9b389c17e2ce2aca5d4733b8676037c2944fe45366744c8ebf917473 [2020-04-24T08:01:54.586Z] $ docker rm -f 41d08f1d9b389c17e2ce2aca5d4733b8676037c2944fe45366744c8ebf917473 [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-24T08:01:55.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-24T08:01:55.714Z] . [Pipeline] withDockerContainer [2020-04-24T08:01:55.825Z] prd-centos7-docker-4c-2g-5903 does not seem to be running inside a container [2020-04-24T08:01:55.867Z] $ 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-24T08:01:56.457Z] $ docker top 0a28c95293a50377442a6eb17a97a5745d57d01fbf2790e9116b12fbb4402a65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-24T08:01:56.877Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-24T08:01:56.877Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-24T08:01:57.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-24T08:01:57.094Z] $ docker exec 0a28c95293a50377442a6eb17a97a5745d57d01fbf2790e9116b12fbb4402a65 ssh-agent [2020-04-24T08:01:57.279Z] SSH_AUTH_SOCK=/tmp/ssh-w8MJmZHhiRI8/agent.15 [2020-04-24T08:01:57.279Z] SSH_AGENT_PID=22 [2020-04-24T08:01:57.286Z] Running ssh-add (command line suppressed) [2020-04-24T08:01:57.441Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3133968951724965588.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3133968951724965588.key) [2020-04-24T08:01:57.486Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-24T08:01:57.808Z] + git semver tag [2020-04-24T08:01:57.808Z] # -> Open(): unable to determine branch for HEAD [2020-04-24T08:01:57.808Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-24T08:01:57.808Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-24T08:01:57.808Z] # $SEMVER_REMOTE_NAME = origin [2020-04-24T08:01:57.808Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-24T08:01:57.808Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-24T08:01:57.808Z] # $SEMVER_BRANCH = master [2020-04-24T08:01:57.808Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-24T08:01:57.808Z] # 59d7bbd65c65af3ab25ed9f69c8c28db04e20564 HEAD [2020-04-24T08:01:58.067Z] # -> Force: false [2020-04-24T08:01:58.067Z] # 5a7c9596f6a74b3b1e24f0148083191539d110b3 refs/tags/v1.2.0-dev.34 [Pipeline] } [2020-04-24T08:01:58.078Z] $ docker exec --env ******** --env ******** 0a28c95293a50377442a6eb17a97a5745d57d01fbf2790e9116b12fbb4402a65 ssh-agent -k [2020-04-24T08:01:58.223Z] unset SSH_AUTH_SOCK; [2020-04-24T08:01:58.223Z] unset SSH_AGENT_PID; [2020-04-24T08:01:58.223Z] echo Agent pid 22 killed; [2020-04-24T08:01:58.261Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-24T08:01:58.701Z] + git semver [Pipeline] } [2020-04-24T08:01:58.716Z] $ docker stop --time=1 0a28c95293a50377442a6eb17a97a5745d57d01fbf2790e9116b12fbb4402a65 [2020-04-24T08:02:00.056Z] $ docker rm -f 0a28c95293a50377442a6eb17a97a5745d57d01fbf2790e9116b12fbb4402a65 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-24T08:02:00.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-24T08:02:00.624Z] [2020-04-24T08:02:00.624Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-24T08:02:00.953Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-24T08:02:00.953Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-24T08:02:00.953Z] ab5ef0e58194: Pulling fs layer [2020-04-24T08:02:00.953Z] 9712f1f96733: Pulling fs layer [2020-04-24T08:02:00.953Z] 63f879dbbcfc: Pulling fs layer [2020-04-24T08:02:00.953Z] 0d9ebad4ef96: Pulling fs layer [2020-04-24T08:02:00.953Z] e9a5061849ea: Pulling fs layer [2020-04-24T08:02:00.953Z] d747dcd14b5f: Pulling fs layer [2020-04-24T08:02:00.954Z] 2de7ff778b66: Pulling fs layer [2020-04-24T08:02:00.954Z] e9a5061849ea: Waiting [2020-04-24T08:02:00.954Z] d747dcd14b5f: Waiting [2020-04-24T08:02:00.954Z] 2de7ff778b66: Waiting [2020-04-24T08:02:00.954Z] 0d9ebad4ef96: Waiting [2020-04-24T08:02:00.954Z] 9712f1f96733: Verifying Checksum [2020-04-24T08:02:00.954Z] 9712f1f96733: Download complete [2020-04-24T08:02:01.532Z] 63f879dbbcfc: Verifying Checksum [2020-04-24T08:02:01.532Z] 63f879dbbcfc: Download complete [2020-04-24T08:02:01.794Z] 0d9ebad4ef96: Verifying Checksum [2020-04-24T08:02:01.794Z] 0d9ebad4ef96: Download complete [2020-04-24T08:02:01.794Z] e9a5061849ea: Verifying Checksum [2020-04-24T08:02:01.794Z] e9a5061849ea: Download complete [2020-04-24T08:02:01.794Z] d747dcd14b5f: Verifying Checksum [2020-04-24T08:02:01.794Z] d747dcd14b5f: Download complete [2020-04-24T08:02:02.054Z] 2de7ff778b66: Verifying Checksum [2020-04-24T08:02:02.054Z] 2de7ff778b66: Download complete [2020-04-24T08:02:02.313Z] ab5ef0e58194: Verifying Checksum [2020-04-24T08:02:02.313Z] ab5ef0e58194: Download complete [2020-04-24T08:02:07.609Z] ab5ef0e58194: Pull complete [2020-04-24T08:02:07.609Z] 9712f1f96733: Pull complete [2020-04-24T08:02:10.145Z] 63f879dbbcfc: Pull complete [2020-04-24T08:02:15.425Z] 0d9ebad4ef96: Pull complete [2020-04-24T08:02:16.801Z] e9a5061849ea: Pull complete [2020-04-24T08:02:16.801Z] d747dcd14b5f: Pull complete [2020-04-24T08:02:19.350Z] 2de7ff778b66: Pull complete [2020-04-24T08:02:19.350Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-24T08:02:19.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-24T08:02:19.489Z] prd-centos7-docker-4c-2g-5903 does not seem to be running inside a container [2020-04-24T08:02:19.533Z] $ 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-24T08:02:20.144Z] $ docker top c8c641e817f177b6de1cb9d81082a5e38ac4269dc29a551cfe49141ff1bfd6fa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-24T08:02:20.397Z] provisioning config files... [2020-04-24T08:02:20.409Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1797323833775041395tmp [2020-04-24T08:02:20.424Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3838815944796888133tmp [2020-04-24T08:02:20.436Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config576625150579707747tmp [Pipeline] { [Pipeline] echo [2020-04-24T08:02:20.480Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-24T08:02:20.770Z] ---> sigul-configuration.sh [2020-04-24T08:02:20.771Z] gpg: directory `/root/.gnupg' created [2020-04-24T08:02:20.771Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-24T08:02:20.771Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-24T08:02:20.771Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-24T08:02:20.771Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-24T08:02:20.771Z] gpg: CAST5 encrypted data [2020-04-24T08:02:21.030Z] gpg: encrypted with 1 passphrase [2020-04-24T08:02:21.030Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-24T08:02:21.318Z] + mkdir /home/jenkins [2020-04-24T08:02:21.318Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-24T08:02:21.611Z] + 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-24T08:02:21.620Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-24T08:02:21.910Z] ---> sigul-install.sh [2020-04-24T08:02:30.048Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-24T08:02:30.343Z] + git tag --list [2020-04-24T08:02:30.343Z] v1.2.0-dev.34 [Pipeline] sh [2020-04-24T08:02:30.635Z] + lftools sign git-tag v1.2.0-dev.34 [2020-04-24T08:02:32.031Z] Signing Git tag with Sigul... [2020-04-24T08:02:32.031Z] Signing v1.2.0-dev.34 [Pipeline] echo [2020-04-24T08:02:33.010Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-24T08:02:33.345Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-24T08:02:33.351Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-24T08:02:33.432Z] $ docker stop --time=1 c8c641e817f177b6de1cb9d81082a5e38ac4269dc29a551cfe49141ff1bfd6fa [2020-04-24T08:02:34.794Z] $ docker rm -f c8c641e817f177b6de1cb9d81082a5e38ac4269dc29a551cfe49141ff1bfd6fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-24T08:02:35.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-24T08:02:35.460Z] . [Pipeline] withDockerContainer [2020-04-24T08:02:35.576Z] prd-centos7-docker-4c-2g-5903 does not seem to be running inside a container [2020-04-24T08:02:35.622Z] $ 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-24T08:02:36.211Z] $ docker top 17f9990462e50e0af795894de4a470938b86cee96e1a12b8d6adb1a8962ec081 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-24T08:02:36.462Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-24T08:02:36.462Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-24T08:02:36.647Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-24T08:02:36.652Z] $ docker exec 17f9990462e50e0af795894de4a470938b86cee96e1a12b8d6adb1a8962ec081 ssh-agent [2020-04-24T08:02:36.835Z] SSH_AUTH_SOCK=/tmp/ssh-fzb3R7iEzKPG/agent.14 [2020-04-24T08:02:36.835Z] SSH_AGENT_PID=20 [2020-04-24T08:02:36.841Z] Running ssh-add (command line suppressed) [2020-04-24T08:02:36.985Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8821845064222862117.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8821845064222862117.key) [2020-04-24T08:02:37.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-24T08:02:37.351Z] + git semver bump pre [2020-04-24T08:02:37.351Z] # -> Open(): unable to determine branch for HEAD [2020-04-24T08:02:37.351Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-24T08:02:37.351Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-24T08:02:37.351Z] # $SEMVER_REMOTE_NAME = origin [2020-04-24T08:02:37.351Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-24T08:02:37.351Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-24T08:02:37.351Z] # $SEMVER_BRANCH = master [2020-04-24T08:02:37.351Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-24T08:02:37.351Z] 1.2.0-dev.35 [Pipeline] } [2020-04-24T08:02:37.361Z] $ docker exec --env ******** --env ******** 17f9990462e50e0af795894de4a470938b86cee96e1a12b8d6adb1a8962ec081 ssh-agent -k [2020-04-24T08:02:37.498Z] unset SSH_AUTH_SOCK; [2020-04-24T08:02:37.499Z] unset SSH_AGENT_PID; [2020-04-24T08:02:37.499Z] echo Agent pid 20 killed; [2020-04-24T08:02:37.534Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-24T08:02:37.947Z] + git semver [Pipeline] } [2020-04-24T08:02:37.962Z] $ docker stop --time=1 17f9990462e50e0af795894de4a470938b86cee96e1a12b8d6adb1a8962ec081 [2020-04-24T08:02:39.304Z] $ docker rm -f 17f9990462e50e0af795894de4a470938b86cee96e1a12b8d6adb1a8962ec081 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-24T08:02:39.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-24T08:02:39.807Z] . [Pipeline] withDockerContainer [2020-04-24T08:02:39.925Z] prd-centos7-docker-4c-2g-5903 does not seem to be running inside a container [2020-04-24T08:02:39.977Z] $ 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-24T08:02:40.488Z] $ docker top 6f036ec50047944a4f0b56d560761ab491ab2197463b904def26642b2d3cff60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-24T08:02:40.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-24T08:02:40.738Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-24T08:02:40.920Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-24T08:02:40.925Z] $ docker exec 6f036ec50047944a4f0b56d560761ab491ab2197463b904def26642b2d3cff60 ssh-agent [2020-04-24T08:02:41.115Z] SSH_AUTH_SOCK=/tmp/ssh-dxDIFPYIwu4x/agent.15 [2020-04-24T08:02:41.115Z] SSH_AGENT_PID=22 [2020-04-24T08:02:41.123Z] Running ssh-add (command line suppressed) [2020-04-24T08:02:41.274Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_453981132623710273.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_453981132623710273.key) [2020-04-24T08:02:41.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-24T08:02:41.639Z] + git semver push [2020-04-24T08:02:41.640Z] # -> Open(): unable to determine branch for HEAD [2020-04-24T08:02:41.640Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-24T08:02:41.640Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-24T08:02:41.640Z] # $SEMVER_REMOTE_NAME = origin [2020-04-24T08:02:41.640Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-24T08:02:41.640Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-24T08:02:41.640Z] # $SEMVER_BRANCH = master [2020-04-24T08:02:41.640Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-24T08:02:48.227Z] $ docker exec --env ******** --env ******** 6f036ec50047944a4f0b56d560761ab491ab2197463b904def26642b2d3cff60 ssh-agent -k [2020-04-24T08:02:48.363Z] unset SSH_AUTH_SOCK; [2020-04-24T08:02:48.364Z] unset SSH_AGENT_PID; [2020-04-24T08:02:48.364Z] echo Agent pid 22 killed; [2020-04-24T08:02:48.408Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-24T08:02:48.819Z] + git semver [Pipeline] } [2020-04-24T08:02:48.833Z] $ docker stop --time=1 6f036ec50047944a4f0b56d560761ab491ab2197463b904def26642b2d3cff60 [2020-04-24T08:02:50.204Z] $ docker rm -f 6f036ec50047944a4f0b56d560761ab491ab2197463b904def26642b2d3cff60 [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-24T08:02:50.980Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-24T08:02:51.536Z] ---> package-listing.sh [2020-04-24T08:02:51.536Z] ++ facter osfamily [2020-04-24T08:02:51.536Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-24T08:02:51.536Z] + OS_FAMILY=redhat [2020-04-24T08:02:51.536Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-04-24T08:02:51.536Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-24T08:02:51.536Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-24T08:02:51.536Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-24T08:02:51.536Z] + PACKAGES=/tmp/packages_start.txt [2020-04-24T08:02:51.536Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-24T08:02:51.536Z] + PACKAGES=/tmp/packages_end.txt [2020-04-24T08:02:51.536Z] + case "${OS_FAMILY}" in [2020-04-24T08:02:51.536Z] + rpm -qa [2020-04-24T08:02:51.536Z] + sort [2020-04-24T08:02:55.733Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-24T08:02:55.733Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-24T08:02:55.733Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-24T08:02:55.733Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-24T08:02:55.733Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-04-24T08:02:55.733Z] + 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-24T08:02:56.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-24T08:02:56.217Z] [2020-04-24T08:02:56.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-24T08:02:56.555Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-24T08:02:56.555Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-24T08:02:56.555Z] c9b1b535fdd9: Pulling fs layer [2020-04-24T08:02:56.555Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-24T08:02:56.555Z] 756a868c4378: Pulling fs layer [2020-04-24T08:02:56.555Z] 444b2fc9a129: Pulling fs layer [2020-04-24T08:02:56.555Z] ea15f1150254: Pulling fs layer [2020-04-24T08:02:56.555Z] 41b27a9f41bf: Pulling fs layer [2020-04-24T08:02:56.555Z] 28c525ee5125: Pulling fs layer [2020-04-24T08:02:56.555Z] 094b1ea09ed8: Pulling fs layer [2020-04-24T08:02:56.555Z] 138eaada9080: Pulling fs layer [2020-04-24T08:02:56.555Z] 0622d0fa9048: Pulling fs layer [2020-04-24T08:02:56.555Z] 41b27a9f41bf: Waiting [2020-04-24T08:02:56.555Z] 28c525ee5125: Waiting [2020-04-24T08:02:56.555Z] 094b1ea09ed8: Waiting [2020-04-24T08:02:56.555Z] 138eaada9080: Waiting [2020-04-24T08:02:56.555Z] 0622d0fa9048: Waiting [2020-04-24T08:02:56.555Z] 444b2fc9a129: Waiting [2020-04-24T08:02:56.555Z] ea15f1150254: Waiting [2020-04-24T08:02:56.555Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-24T08:02:56.555Z] 2cc5ad85d9ab: Download complete [2020-04-24T08:02:56.555Z] 444b2fc9a129: Verifying Checksum [2020-04-24T08:02:56.555Z] 444b2fc9a129: Download complete [2020-04-24T08:02:56.555Z] c9b1b535fdd9: Download complete [2020-04-24T08:02:56.555Z] ea15f1150254: Verifying Checksum [2020-04-24T08:02:56.555Z] ea15f1150254: Download complete [2020-04-24T08:02:56.825Z] 28c525ee5125: Verifying Checksum [2020-04-24T08:02:56.825Z] 28c525ee5125: Download complete [2020-04-24T08:02:56.825Z] c9b1b535fdd9: Pull complete [2020-04-24T08:02:57.088Z] 756a868c4378: Verifying Checksum [2020-04-24T08:02:57.088Z] 756a868c4378: Download complete [2020-04-24T08:02:57.088Z] 138eaada9080: Verifying Checksum [2020-04-24T08:02:57.088Z] 138eaada9080: Download complete [2020-04-24T08:02:57.089Z] 0622d0fa9048: Verifying Checksum [2020-04-24T08:02:57.089Z] 0622d0fa9048: Download complete [2020-04-24T08:02:57.089Z] 094b1ea09ed8: Verifying Checksum [2020-04-24T08:02:57.089Z] 094b1ea09ed8: Download complete [2020-04-24T08:02:57.657Z] 41b27a9f41bf: Download complete [2020-04-24T08:02:58.227Z] 2cc5ad85d9ab: Pull complete [2020-04-24T08:03:00.137Z] 756a868c4378: Pull complete [2020-04-24T08:03:00.396Z] 444b2fc9a129: Pull complete [2020-04-24T08:03:00.658Z] ea15f1150254: Pull complete [2020-04-24T08:03:04.870Z] 41b27a9f41bf: Pull complete [2020-04-24T08:03:04.870Z] 28c525ee5125: Pull complete [2020-04-24T08:03:06.264Z] 094b1ea09ed8: Pull complete [2020-04-24T08:03:06.524Z] 138eaada9080: Pull complete [2020-04-24T08:03:06.524Z] 0622d0fa9048: Pull complete [2020-04-24T08:03:06.524Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-24T08:03:06.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-24T08:03:06.655Z] prd-centos7-docker-4c-2g-5903 does not seem to be running inside a container [2020-04-24T08:03:06.701Z] $ 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-24T08:03:07.744Z] $ docker top fb5f8b10d3f427da3b66e14ba1a632748bee246b435c9b5827f85f8744623424 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-24T08:03:07.965Z] provisioning config files... [2020-04-24T08:03:07.980Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8579459771905238372tmp [Pipeline] { [Pipeline] echo [2020-04-24T08:03:08.035Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-24T08:03:08.331Z] ---> create-netrc.sh [Pipeline] echo [2020-04-24T08:03:08.338Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-24T08:03:08.629Z] ---> logs-deploy.sh [2020-04-24T08:03:08.629Z] + ARCHIVE_ARTIFACTS= [2020-04-24T08:03:08.629Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-24T08:03:08.629Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-24T08:03:08.629Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-24T08:03:08.629Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/34 [2020-04-24T08:03:08.629Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/34/ [2020-04-24T08:03:08.629Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/34 /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-24T08:03:09.565Z] Archives upload complete. [2020-04-24T08:03:09.824Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/34 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/34/