Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f380c9750d394b15a68c03899168051b17741a54 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6239 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision f380c9750d394b15a68c03899168051b17741a54 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f380c9750d394b15a68c03899168051b17741a54 # timeout=10 Commit message: "Merge pull request #515 from hahattan/RELEASE_NOTE" > git rev-list --no-walk 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-27T07:33:46.588Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-27T07:33:46.822Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-27T07:33:46.902Z] ========================================================= [2020-04-27T07:33:46.902Z] EdgeX Global Pipelines Version Info [2020-04-27T07:33:46.902Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-27T07:33:48.290Z] ------------------- [2020-04-27T07:33:48.290Z] stable info: [2020-04-27T07:33:48.290Z] ------------------- [2020-04-27T07:33:48.290Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-27T07:33:48.290Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-27T07:33:48.290Z] Message: update stable to v1.0.73 [2020-04-27T07:33:48.858Z] ------------------- [2020-04-27T07:33:48.858Z] experimental info: [2020-04-27T07:33:48.858Z] ------------------- [2020-04-27T07:33:48.858Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-04-27T07:33:48.858Z] Commit SHA: e9f46a538d08225106cc4f35d30277fc6c232516 [2020-04-27T07:33:48.858Z] Message: update experimental to v1.0.84 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:33:50.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-27T07:33:50.990Z] [2020-04-27T07:33:50.990Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:33:51.325Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-27T07:33:51.325Z] latest: Pulling from edgex-devops/git-semver [2020-04-27T07:33:51.325Z] 9123ac7c32f7: Pulling fs layer [2020-04-27T07:33:51.325Z] b8cc5d1170e3: Pulling fs layer [2020-04-27T07:33:51.325Z] 2924cbbf6a41: Pulling fs layer [2020-04-27T07:33:51.325Z] 93b08a4f1073: Pulling fs layer [2020-04-27T07:33:51.325Z] 93b08a4f1073: Waiting [2020-04-27T07:33:51.325Z] b8cc5d1170e3: Verifying Checksum [2020-04-27T07:33:51.325Z] b8cc5d1170e3: Download complete [2020-04-27T07:33:51.588Z] 9123ac7c32f7: Verifying Checksum [2020-04-27T07:33:51.588Z] 9123ac7c32f7: Download complete [2020-04-27T07:33:51.588Z] 93b08a4f1073: Verifying Checksum [2020-04-27T07:33:51.588Z] 93b08a4f1073: Download complete [2020-04-27T07:33:51.588Z] 2924cbbf6a41: Verifying Checksum [2020-04-27T07:33:51.588Z] 2924cbbf6a41: Download complete [2020-04-27T07:33:51.847Z] 9123ac7c32f7: Pull complete [2020-04-27T07:33:51.847Z] b8cc5d1170e3: Pull complete [2020-04-27T07:33:52.787Z] 2924cbbf6a41: Pull complete [2020-04-27T07:33:52.787Z] 93b08a4f1073: Pull complete [2020-04-27T07:33:52.787Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-27T07:33:52.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-27T07:33:52.914Z] prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container [2020-04-27T07:33:52.951Z] $ 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-27T07:33:53.639Z] $ docker top 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-27T07:33:53.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-27T07:33:53.930Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-27T07:33:54.185Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-27T07:33:54.186Z] $ docker exec 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 ssh-agent [2020-04-27T07:33:54.390Z] SSH_AUTH_SOCK=/tmp/ssh-9AGtK4nWxRpp/agent.15 [2020-04-27T07:33:54.390Z] SSH_AGENT_PID=22 [2020-04-27T07:33:54.400Z] Running ssh-add (command line suppressed) [2020-04-27T07:33:54.540Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4863414271409086302.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4863414271409086302.key) [2020-04-27T07:33:54.595Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-27T07:33:54.927Z] + git describe --exact-match --tags HEAD [2020-04-27T07:33:54.927Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-27T07:33:54.990Z] $ docker exec --env ******** --env ******** 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 ssh-agent -k [2020-04-27T07:33:55.135Z] unset SSH_AUTH_SOCK; [2020-04-27T07:33:55.135Z] unset SSH_AGENT_PID; [2020-04-27T07:33:55.135Z] echo Agent pid 22 killed; [2020-04-27T07:33:55.185Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-27T07:33:55.258Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-27T07:33:55.258Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-27T07:33:55.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-27T07:33:55.333Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-27T07:33:55.519Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-27T07:33:55.519Z] $ docker exec 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 ssh-agent [2020-04-27T07:33:55.715Z] SSH_AUTH_SOCK=/tmp/ssh-ZcXTIqC5IMGM/agent.56 [2020-04-27T07:33:55.715Z] SSH_AGENT_PID=63 [2020-04-27T07:33:55.722Z] Running ssh-add (command line suppressed) [2020-04-27T07:33:55.874Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5075569404635581703.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5075569404635581703.key) [2020-04-27T07:33:55.930Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-27T07:33:56.253Z] + git semver init [2020-04-27T07:33:56.253Z] # -> Open(): unable to determine branch for HEAD [2020-04-27T07:33:56.253Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-27T07:33:56.253Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-27T07:33:56.253Z] # $SEMVER_REMOTE_NAME = origin [2020-04-27T07:33:56.253Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-27T07:33:56.253Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-27T07:33:56.253Z] # $SEMVER_BRANCH = master [2020-04-27T07:33:56.253Z] # $SEMVER_TEMP = /tmp/semver-476416042 [2020-04-27T07:33:56.253Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-27T07:33:56.821Z] # '/tmp/semver-476416042' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-04-27T07:33:56.821Z] # -> Force: false [2020-04-27T07:33:56.821Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-27T07:33:56.829Z] $ docker exec --env ******** --env ******** 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 ssh-agent -k [2020-04-27T07:33:56.968Z] unset SSH_AUTH_SOCK; [2020-04-27T07:33:56.969Z] unset SSH_AGENT_PID; [2020-04-27T07:33:56.969Z] echo Agent pid 63 killed; [2020-04-27T07:33:57.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-27T07:33:57.456Z] + git semver [Pipeline] } [2020-04-27T07:33:57.465Z] $ docker stop --time=1 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 [2020-04-27T07:33:58.820Z] $ docker rm -f 2c8f31a85083f2c017fae3677bbfe3c61d4179424781f73a516fb0601ca7f104 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-27T07:33:59.805Z] Stashed 53 file(s) [Pipeline] echo [2020-04-27T07:33:59.807Z] [edgeXSemver] initialized semver on version 1.2.0-dev.36 [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-27T07:34:15.053Z] Still waiting to schedule task [2020-04-27T07:34:15.054Z] ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4592’ is offline; ‘prd-centos7-docker-4c-2g-5275’ is offline; ‘prd-centos7-docker-4c-2g-5278’ is offline; ‘prd-centos7-docker-4c-2g-5281’ is offline; ‘prd-centos7-docker-4c-2g-6237’ is offline; ‘prd-centos7-docker-4c-2g-6238’ is offline; ‘prd-centos7-docker-4c-2g-6240’ is offline [2020-04-27T07:34:15.055Z] Still waiting to schedule task [2020-04-27T07:34:15.056Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-6236’ [2020-04-27T07:35:42.706Z] Running on prd-centos7-docker-4c-2g-6242 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-27T07:35:42.761Z] Running in /w/workspace/device-sdk-go/36 [Pipeline] { [Pipeline] checkout [2020-04-27T07:35:44.942Z] using credential edgex-jenkins-ssh [2020-04-27T07:35:44.986Z] Cloning the remote Git repository [2020-04-27T07:35:44.986Z] Cloning with configured refspecs honoured and without tags [2020-04-27T07:35:45.011Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-27T07:35:45.053Z] > git init /w/workspace/device-sdk-go/36 # timeout=10 [2020-04-27T07:35:45.097Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-27T07:35:45.098Z] > git --version # timeout=10 [2020-04-27T07:35:45.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T07:35:45.150Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T07:35:45.779Z] Fetching without tags [2020-04-27T07:35:46.179Z] Checking out Revision f380c9750d394b15a68c03899168051b17741a54 (master) [2020-04-27T07:35:45.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-27T07:35:45.749Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T07:35:45.770Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-27T07:35:45.784Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-27T07:35:45.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T07:35:45.789Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T07:35:46.189Z] > git config core.sparsecheckout # timeout=10 [2020-04-27T07:35:46.196Z] > git checkout -f f380c9750d394b15a68c03899168051b17741a54 # timeout=10 [2020-04-27T07:35:50.043Z] Commit message: "Merge pull request #515 from hahattan/RELEASE_NOTE" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-27T07:35:50.847Z] ========================================================= [2020-04-27T07:35:50.848Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-27T07:35:50.848Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:35:51.499Z] + 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-27T07:35:51.765Z] Sending build context to Docker daemon 3.007MB [2020-04-27T07:35:51.765Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-27T07:35:51.765Z] Step 2/8 : FROM ${BASE} [2020-04-27T07:35:51.765Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-27T07:35:51.765Z] e6b0cf9c0882: Pulling fs layer [2020-04-27T07:35:51.765Z] 2848faf0eed1: Pulling fs layer [2020-04-27T07:35:51.765Z] 0f37312ad70f: Pulling fs layer [2020-04-27T07:35:51.765Z] 5788d62ee057: Pulling fs layer [2020-04-27T07:35:51.765Z] 0e6b1d234666: Pulling fs layer [2020-04-27T07:35:51.765Z] bf5d7aec512f: Pulling fs layer [2020-04-27T07:35:51.765Z] 34c802a77dc8: Pulling fs layer [2020-04-27T07:35:51.765Z] 9eb99e56ec68: Pulling fs layer [2020-04-27T07:35:51.765Z] 27c7a5d97fbd: Pulling fs layer [2020-04-27T07:35:51.765Z] 5c102a31e300: Pulling fs layer [2020-04-27T07:35:51.765Z] dcfb455df0a1: Pulling fs layer [2020-04-27T07:35:51.765Z] 5c102a31e300: Waiting [2020-04-27T07:35:51.765Z] 34c802a77dc8: Waiting [2020-04-27T07:35:51.765Z] dcfb455df0a1: Waiting [2020-04-27T07:35:51.765Z] 9eb99e56ec68: Waiting [2020-04-27T07:35:51.765Z] 27c7a5d97fbd: Waiting [2020-04-27T07:35:51.765Z] 0e6b1d234666: Waiting [2020-04-27T07:35:51.765Z] bf5d7aec512f: Waiting [2020-04-27T07:35:51.765Z] 5788d62ee057: Waiting [2020-04-27T07:35:51.765Z] 0f37312ad70f: Verifying Checksum [2020-04-27T07:35:51.765Z] 0f37312ad70f: Download complete [2020-04-27T07:35:51.765Z] 2848faf0eed1: Download complete [2020-04-27T07:35:51.765Z] 0e6b1d234666: Download complete [2020-04-27T07:35:51.765Z] bf5d7aec512f: Download complete [2020-04-27T07:35:51.765Z] e6b0cf9c0882: Verifying Checksum [2020-04-27T07:35:51.765Z] e6b0cf9c0882: Download complete [2020-04-27T07:35:52.345Z] e6b0cf9c0882: Pull complete [2020-04-27T07:35:52.345Z] 2848faf0eed1: Pull complete [2020-04-27T07:35:52.927Z] 34c802a77dc8: Verifying Checksum [2020-04-27T07:35:52.927Z] 34c802a77dc8: Download complete [2020-04-27T07:35:52.927Z] 27c7a5d97fbd: Verifying Checksum [2020-04-27T07:35:52.927Z] 27c7a5d97fbd: Download complete [2020-04-27T07:35:53.497Z] 9eb99e56ec68: Verifying Checksum [2020-04-27T07:35:53.497Z] 9eb99e56ec68: Download complete [2020-04-27T07:35:53.497Z] dcfb455df0a1: Verifying Checksum [2020-04-27T07:35:53.497Z] dcfb455df0a1: Download complete [2020-04-27T07:35:53.497Z] 5c102a31e300: Verifying Checksum [2020-04-27T07:35:53.497Z] 5c102a31e300: Download complete [2020-04-27T07:35:53.497Z] 5788d62ee057: Verifying Checksum [2020-04-27T07:35:53.497Z] 5788d62ee057: Download complete [2020-04-27T07:35:54.073Z] 0f37312ad70f: Pull complete [2020-04-27T07:36:00.651Z] 5788d62ee057: Pull complete [2020-04-27T07:36:00.651Z] 0e6b1d234666: Pull complete [2020-04-27T07:36:00.651Z] bf5d7aec512f: Pull complete [2020-04-27T07:36:04.852Z] 34c802a77dc8: Pull complete [2020-04-27T07:36:09.059Z] 9eb99e56ec68: Pull complete [2020-04-27T07:36:09.059Z] 27c7a5d97fbd: Pull complete [2020-04-27T07:36:09.634Z] 5c102a31e300: Pull complete [2020-04-27T07:36:09.900Z] dcfb455df0a1: Pull complete [2020-04-27T07:36:09.900Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-27T07:36:09.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-27T07:36:09.900Z] ---> 7c70fe431013 [2020-04-27T07:36:09.900Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-27T07:36:10.160Z] ---> Running in b9860bf32ffe [2020-04-27T07:36:10.160Z] Removing intermediate container b9860bf32ffe [2020-04-27T07:36:10.160Z] ---> 4756b3fb028e [2020-04-27T07:36:10.160Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-27T07:36:10.160Z] ---> Running in 3e04dd0a9ea7 [2020-04-27T07:36:11.101Z] Removing intermediate container 3e04dd0a9ea7 [2020-04-27T07:36:11.101Z] ---> 86ebe2e7995b [2020-04-27T07:36:11.101Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-27T07:36:11.101Z] ---> Running in 828474012cf2 [2020-04-27T07:36:11.670Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-27T07:36:12.260Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-27T07:36:12.828Z] OK: 143 MiB in 39 packages [2020-04-27T07:36:13.396Z] Removing intermediate container 828474012cf2 [2020-04-27T07:36:13.396Z] ---> 0ff12eebb793 [2020-04-27T07:36:13.396Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-27T07:36:13.396Z] ---> Running in 2f6dc99b5d25 [2020-04-27T07:36:13.396Z] Removing intermediate container 2f6dc99b5d25 [2020-04-27T07:36:13.396Z] ---> 1dffc7b66ba8 [2020-04-27T07:36:13.396Z] Step 7/8 : COPY . . [2020-04-27T07:36:13.970Z] ---> 44dd46c5a955 [2020-04-27T07:36:13.970Z] Step 8/8 : RUN go mod download [2020-04-27T07:36:13.970Z] ---> Running in f572becba43d [2020-04-27T07:36:16.513Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-27T07:36:16.772Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-27T07:36:16.772Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-27T07:36:16.772Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-27T07:36:16.772Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-27T07:36:16.772Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-27T07:36:16.772Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-27T07:36:16.772Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-27T07:36:16.772Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-27T07:36:17.031Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-27T07:36:17.031Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-27T07:36:17.031Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-27T07:36:17.031Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-27T07:36:17.031Z] go: finding github.com/fatih/color v1.7.0 [2020-04-27T07:36:17.031Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-27T07:36:17.031Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-27T07:36:17.289Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-27T07:36:17.289Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-27T07:36:17.289Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-27T07:36:17.289Z] go: finding github.com/google/uuid v1.1.0 [2020-04-27T07:36:17.289Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-27T07:36:17.289Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-27T07:36:17.548Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-27T07:36:17.548Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-27T07:36:17.548Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-27T07:36:17.548Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-27T07:36:17.548Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-27T07:36:17.548Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-27T07:36:17.548Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-27T07:36:17.806Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-27T07:36:17.806Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-27T07:36:17.806Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-27T07:36:17.806Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-27T07:36:17.806Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-27T07:36:17.806Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-27T07:36:17.806Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-27T07:36:18.066Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-27T07:36:18.066Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-27T07:36:18.067Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-27T07:36:18.067Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-27T07:36:18.067Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-27T07:36:18.067Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-27T07:36:18.326Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-27T07:36:18.326Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-27T07:36:18.326Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-27T07:36:18.326Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-27T07:36:18.326Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-27T07:36:18.326Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-27T07:36:18.326Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-27T07:36:18.584Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-27T07:36:18.584Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-27T07:36:18.584Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-27T07:36:18.584Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-27T07:36:18.584Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-27T07:36:18.584Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-27T07:36:18.584Z] go: finding github.com/posener/complete v1.1.1 [2020-04-27T07:36:18.843Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-27T07:36:18.843Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-27T07:36:18.843Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-27T07:36:18.843Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-27T07:36:18.843Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-27T07:36:18.843Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-27T07:36:18.843Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-27T07:36:18.843Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-27T07:36:19.108Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-27T07:36:19.108Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-27T07:36:19.108Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-27T07:36:19.108Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-27T07:36:23.320Z] Removing intermediate container f572becba43d [2020-04-27T07:36:23.320Z] ---> e3c4fbb4f77b [2020-04-27T07:36:23.320Z] Successfully built e3c4fbb4f77b [2020-04-27T07:36:23.320Z] 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-27T07:36:23.911Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-27T07:36:23.911Z] . [Pipeline] withDockerContainer [2020-04-27T07:36:24.027Z] prd-centos7-docker-4c-2g-6242 does not seem to be running inside a container [2020-04-27T07:36:24.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-27T07:36:24.613Z] $ docker top 1716dfbfb76c68d633a1f37980829db45c1a268d3d02c5e1cc5493ab4ae6e861 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-27T07:36:25.097Z] + go version [2020-04-27T07:36:25.097Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-27T07:36:25.396Z] + make test [2020-04-27T07:36:25.397Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-27T07:36:25.965Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-27T07:36:36.021Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-27T07:36:36.021Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-27T07:36:36.021Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-27T07:36:36.021Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 22.1% of statements [2020-04-27T07:36:38.561Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.040s coverage: 95.8% of statements [2020-04-27T07:37:10.654Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.053s coverage: 11.4% of statements [2020-04-27T07:37:10.654Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 21.7% of statements [2020-04-27T07:37:10.654Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-27T07:37:10.654Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.122s coverage: 36.9% of statements [2020-04-27T07:37:10.654Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-27T07:37:10.654Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-27T07:37:10.654Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.585s coverage: 65.2% of statements [2020-04-27T07:37:10.654Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-27T07:37:10.654Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-27T07:37:10.654Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-27T07:37:10.654Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.022s coverage: 52.6% of statements [2020-04-27T07:37:10.654Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-27T07:37:10.654Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 68.9% of statements [2020-04-27T07:37:10.654Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-27T07:37:10.654Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-27T07:37:10.654Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-27T07:37:10.654Z] gofmt -l . [2020-04-27T07:37:10.654Z] [ "`gofmt -l .`" = "" ] [2020-04-27T07:37:10.654Z] ./bin/test-attribution-txt.sh [2020-04-27T07:37:10.654Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-27T07:37:11.300Z] Stashed 1 file(s) [Pipeline] } [2020-04-27T07:37:11.307Z] $ docker stop --time=1 1716dfbfb76c68d633a1f37980829db45c1a268d3d02c5e1cc5493ab4ae6e861 [2020-04-27T07:37:12.736Z] $ docker rm -f 1716dfbfb76c68d633a1f37980829db45c1a268d3d02c5e1cc5493ab4ae6e861 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-27T07:37:14.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-27T07:37:14.380Z] + ls -al . [2020-04-27T07:37:14.380Z] total 180 [2020-04-27T07:37:14.380Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 27 07:37 . [2020-04-27T07:37:14.380Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 27 07:35 .. [2020-04-27T07:37:14.380Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 27 07:35 api [2020-04-27T07:37:14.380Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 27 07:35 bin [2020-04-27T07:37:14.380Z] -rw-r--r--. 1 jenkins jenkins 110877 Apr 27 07:37 coverage.out [2020-04-27T07:37:14.380Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 27 07:35 Dockerfile.build [2020-04-27T07:37:14.380Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 27 07:35 .dockerignore [2020-04-27T07:37:14.380Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 27 07:35 example [2020-04-27T07:37:14.380Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 27 07:35 .git [2020-04-27T07:37:14.380Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 27 07:35 .github [2020-04-27T07:37:14.380Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 27 07:35 .gitignore [2020-04-27T07:37:14.380Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 27 07:37 go.mod [2020-04-27T07:37:14.380Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 27 07:37 go.sum [2020-04-27T07:37:14.380Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 27 07:35 internal [2020-04-27T07:37:14.380Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 27 07:35 Jenkinsfile [2020-04-27T07:37:14.380Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 27 07:35 LICENSE [2020-04-27T07:37:14.380Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 27 07:35 Makefile [2020-04-27T07:37:14.380Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 27 07:35 pkg [2020-04-27T07:37:14.380Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 27 07:35 README.md [2020-04-27T07:37:14.380Z] -rw-rw-r--. 1 jenkins jenkins 3497 Apr 27 07:35 RELEASE-NOTES.txt [2020-04-27T07:37:14.380Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 27 07:35 .semver [2020-04-27T07:37:14.380Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 27 07:35 snap [2020-04-27T07:37:14.380Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 27 07:33 VERSION [2020-04-27T07:37:14.380Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 27 07:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:37:14.677Z] + 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=f380c9750d394b15a68c03899168051b17741a54 --label arch=amd64 --label version=1.2.0-dev.36 . [2020-04-27T07:37:14.677Z] Sending build context to Docker daemon 3.135MB [2020-04-27T07:37:14.677Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-27T07:37:14.677Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-27T07:37:14.677Z] ---> e3c4fbb4f77b [2020-04-27T07:37:14.677Z] Step 3/21 : ARG MAKE='make build' [2020-04-27T07:37:14.937Z] ---> Running in 631dd1d22bd0 [2020-04-27T07:37:14.937Z] Removing intermediate container 631dd1d22bd0 [2020-04-27T07:37:14.937Z] ---> 1db98eb027c7 [2020-04-27T07:37:14.937Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-27T07:37:14.937Z] ---> Running in cccc5d62903b [2020-04-27T07:37:15.196Z] Removing intermediate container cccc5d62903b [2020-04-27T07:37:15.197Z] ---> f5aca97a8333 [2020-04-27T07:37:15.197Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-27T07:37:15.197Z] ---> Running in fd40159a6b15 [2020-04-27T07:37:15.456Z] Removing intermediate container fd40159a6b15 [2020-04-27T07:37:15.456Z] ---> 78a3274d3d4b [2020-04-27T07:37:15.456Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-27T07:37:15.456Z] ---> Running in 33b14ce2d218 [2020-04-27T07:37:16.040Z] Removing intermediate container 33b14ce2d218 [2020-04-27T07:37:16.040Z] ---> 618fa86dcc47 [2020-04-27T07:37:16.040Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-27T07:37:16.300Z] ---> Running in 213f1688959e [2020-04-27T07:37:16.560Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-27T07:37:17.497Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-27T07:37:18.065Z] OK: 143 MiB in 39 packages [2020-04-27T07:37:18.323Z] Removing intermediate container 213f1688959e [2020-04-27T07:37:18.323Z] ---> 74cccccd8659 [2020-04-27T07:37:18.323Z] Step 8/21 : COPY . . [2020-04-27T07:37:18.581Z] ---> 4d55dbba0996 [2020-04-27T07:37:18.581Z] Step 9/21 : RUN ${MAKE} [2020-04-27T07:37:18.840Z] ---> Running in 75b6c543f8c7 [2020-04-27T07:37:19.104Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.36" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-27T07:37:23.543Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6243 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-27T07:37:23.585Z] Running in /w/workspace/device-sdk-go/36 [Pipeline] { [Pipeline] checkout [2020-04-27T07:37:27.339Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-27T07:37:27.913Z] Removing intermediate container 75b6c543f8c7 [2020-04-27T07:37:27.913Z] ---> a70f15994bf1 [2020-04-27T07:37:27.913Z] Step 10/21 : FROM scratch [2020-04-27T07:37:27.913Z] ---> [2020-04-27T07:37:27.913Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-27T07:37:27.913Z] ---> Running in 5a4b3ebe2149 [2020-04-27T07:37:28.173Z] Removing intermediate container 5a4b3ebe2149 [2020-04-27T07:37:28.173Z] ---> 24fd870954bd [2020-04-27T07:37:28.173Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-27T07:37:28.173Z] ---> Running in adf77fd00e6c [2020-04-27T07:37:28.173Z] Removing intermediate container adf77fd00e6c [2020-04-27T07:37:28.173Z] ---> a6954605d753 [2020-04-27T07:37:28.173Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-27T07:37:28.173Z] ---> Running in 5fa354f1d3ba [2020-04-27T07:37:28.432Z] Removing intermediate container 5fa354f1d3ba [2020-04-27T07:37:28.432Z] ---> 98853a3390fc [2020-04-27T07:37:28.432Z] Step 14/21 : WORKDIR / [2020-04-27T07:37:28.432Z] ---> Running in 94959458139a [2020-04-27T07:37:28.693Z] Removing intermediate container 94959458139a [2020-04-27T07:37:28.693Z] ---> 353c9c125a00 [2020-04-27T07:37:28.693Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-27T07:37:28.952Z] ---> 9f46645a5126 [2020-04-27T07:37:28.952Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-27T07:37:29.210Z] ---> 8546add5dcee [2020-04-27T07:37:29.210Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-27T07:37:29.210Z] ---> 8a3c1b981260 [2020-04-27T07:37:29.210Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-27T07:37:29.210Z] ---> Running in b0cb0be23ea5 [2020-04-27T07:37:29.469Z] Removing intermediate container b0cb0be23ea5 [2020-04-27T07:37:29.469Z] ---> 061b93abd721 [2020-04-27T07:37:29.469Z] Step 19/21 : LABEL arch=amd64 [2020-04-27T07:37:29.469Z] ---> Running in 1c27de98e66d [2020-04-27T07:37:29.727Z] Removing intermediate container 1c27de98e66d [2020-04-27T07:37:29.727Z] ---> 32e85ebe2b96 [2020-04-27T07:37:29.727Z] Step 20/21 : LABEL git_sha=f380c9750d394b15a68c03899168051b17741a54 [2020-04-27T07:37:29.727Z] ---> Running in 1c0834a8ab55 [2020-04-27T07:37:29.727Z] Removing intermediate container 1c0834a8ab55 [2020-04-27T07:37:29.727Z] ---> e48873f19b0f [2020-04-27T07:37:29.727Z] Step 21/21 : LABEL version=1.2.0-dev.36 [2020-04-27T07:37:29.727Z] ---> Running in 0c589e422967 [2020-04-27T07:37:29.986Z] Removing intermediate container 0c589e422967 [2020-04-27T07:37:29.986Z] ---> 0f0a198a3191 [2020-04-27T07:37:29.986Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-27T07:37:29.986Z] Successfully built 0f0a198a3191 [2020-04-27T07:37:29.986Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [2020-04-27T07:37:30.011Z] using credential edgex-jenkins-ssh [Pipeline] // script [2020-04-27T07:37:30.057Z] Cloning the remote Git repository [2020-04-27T07:37:30.057Z] Cloning with configured refspecs honoured and without tags [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-27T07:37:30.129Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-27T07:37:30.222Z] > git init /w/workspace/device-sdk-go/36 # timeout=10 [2020-04-27T07:37:30.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-27T07:37:30.380Z] > git --version # timeout=10 [2020-04-27T07:37:30.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T07:37:30.507Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T07:37:31.543Z] Fetching without tags [2020-04-27T07:37:32.037Z] Checking out Revision f380c9750d394b15a68c03899168051b17741a54 (master) [2020-04-27T07:37:31.427Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-27T07:37:31.473Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T07:37:31.517Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-27T07:37:31.565Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-27T07:37:31.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T07:37:31.577Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T07:37:32.067Z] > git config core.sparsecheckout # timeout=10 [2020-04-27T07:37:32.098Z] > git checkout -f f380c9750d394b15a68c03899168051b17741a54 # timeout=10 [2020-04-27T07:37:36.550Z] Commit message: "Merge pull request #515 from hahattan/RELEASE_NOTE" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-27T07:37:37.886Z] ========================================================= [2020-04-27T07:37:37.886Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-27T07:37:37.886Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:37:38.983Z] + 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-27T07:37:39.952Z] Sending build context to Docker daemon 3.005MB [2020-04-27T07:37:39.952Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-27T07:37:39.952Z] Step 2/8 : FROM ${BASE} [2020-04-27T07:37:40.221Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-27T07:37:40.221Z] cde5963f3b93: Pulling fs layer [2020-04-27T07:37:40.221Z] 2a23fa8c16f7: Pulling fs layer [2020-04-27T07:37:40.221Z] 777b28850792: Pulling fs layer [2020-04-27T07:37:40.221Z] 8a11ddd9e578: Pulling fs layer [2020-04-27T07:37:40.221Z] 4cf88f913ddb: Pulling fs layer [2020-04-27T07:37:40.221Z] 1df406cf5192: Pulling fs layer [2020-04-27T07:37:40.221Z] cd6300453558: Pulling fs layer [2020-04-27T07:37:40.221Z] b9c365052c96: Pulling fs layer [2020-04-27T07:37:40.221Z] a2d8cc88f415: Pulling fs layer [2020-04-27T07:37:40.221Z] ea1d1ca13537: Pulling fs layer [2020-04-27T07:37:40.221Z] 3750a50a1c5e: Pulling fs layer [2020-04-27T07:37:40.221Z] 8a11ddd9e578: Waiting [2020-04-27T07:37:40.221Z] 4cf88f913ddb: Waiting [2020-04-27T07:37:40.221Z] 1df406cf5192: Waiting [2020-04-27T07:37:40.221Z] cd6300453558: Waiting [2020-04-27T07:37:40.221Z] b9c365052c96: Waiting [2020-04-27T07:37:40.221Z] 3750a50a1c5e: Waiting [2020-04-27T07:37:40.221Z] a2d8cc88f415: Waiting [2020-04-27T07:37:40.221Z] ea1d1ca13537: Waiting [2020-04-27T07:37:40.221Z] 777b28850792: Download complete [2020-04-27T07:37:40.221Z] 2a23fa8c16f7: Verifying Checksum [2020-04-27T07:37:40.221Z] 2a23fa8c16f7: Download complete [2020-04-27T07:37:40.221Z] 4cf88f913ddb: Verifying Checksum [2020-04-27T07:37:40.221Z] 4cf88f913ddb: Download complete [2020-04-27T07:37:40.221Z] 1df406cf5192: Verifying Checksum [2020-04-27T07:37:40.221Z] 1df406cf5192: Download complete [2020-04-27T07:37:40.492Z] cde5963f3b93: Verifying Checksum [2020-04-27T07:37:41.464Z] cde5963f3b93: Pull complete [2020-04-27T07:37:42.053Z] 2a23fa8c16f7: Pull complete [2020-04-27T07:37:42.321Z] 777b28850792: Pull complete [2020-04-27T07:37:44.277Z] cd6300453558: Verifying Checksum [2020-04-27T07:37:44.277Z] cd6300453558: Download complete [2020-04-27T07:37:44.277Z] a2d8cc88f415: Verifying Checksum [2020-04-27T07:37:44.277Z] a2d8cc88f415: Download complete [2020-04-27T07:37:46.862Z] ea1d1ca13537: Verifying Checksum [2020-04-27T07:37:46.863Z] ea1d1ca13537: Download complete [2020-04-27T07:37:47.129Z] 3750a50a1c5e: Verifying Checksum [2020-04-27T07:37:47.129Z] 3750a50a1c5e: Download complete [2020-04-27T07:37:49.715Z] b9c365052c96: Verifying Checksum [2020-04-27T07:37:49.715Z] b9c365052c96: Download complete [2020-04-27T07:37:51.660Z] 8a11ddd9e578: Verifying Checksum [2020-04-27T07:37:51.660Z] 8a11ddd9e578: Download complete [2020-04-27T07:38:04.001Z] 8a11ddd9e578: Pull complete [2020-04-27T07:38:04.001Z] 4cf88f913ddb: Pull complete [2020-04-27T07:38:04.001Z] 1df406cf5192: Pull complete [2020-04-27T07:38:09.369Z] cd6300453558: Pull complete [2020-04-27T07:38:13.645Z] b9c365052c96: Pull complete [2020-04-27T07:38:13.645Z] a2d8cc88f415: Pull complete [2020-04-27T07:38:15.617Z] ea1d1ca13537: Pull complete [2020-04-27T07:38:16.203Z] 3750a50a1c5e: Pull complete [2020-04-27T07:38:16.203Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-27T07:38:16.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-27T07:38:16.203Z] ---> 78745c68409d [2020-04-27T07:38:16.203Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-27T07:38:19.545Z] ---> Running in 9b0bca0c85a9 [2020-04-27T07:38:19.814Z] Removing intermediate container 9b0bca0c85a9 [2020-04-27T07:38:19.814Z] ---> f09efc92c0bb [2020-04-27T07:38:19.814Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-27T07:38:19.814Z] ---> Running in d9ca77552989 [2020-04-27T07:38:21.779Z] Removing intermediate container d9ca77552989 [2020-04-27T07:38:21.779Z] ---> c1b8588bae4d [2020-04-27T07:38:21.779Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-27T07:38:21.779Z] ---> Running in 940d973f8a4c [2020-04-27T07:38:22.751Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-27T07:38:23.708Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-27T07:38:24.289Z] OK: 125 MiB in 39 packages [2020-04-27T07:38:25.259Z] Removing intermediate container 940d973f8a4c [2020-04-27T07:38:25.259Z] ---> 462f17981532 [2020-04-27T07:38:25.259Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-27T07:38:25.541Z] ---> Running in 726162787f42 [2020-04-27T07:38:25.810Z] Removing intermediate container 726162787f42 [2020-04-27T07:38:25.810Z] ---> 764e0cc4be47 [2020-04-27T07:38:25.810Z] Step 7/8 : COPY . . [2020-04-27T07:38:26.799Z] ---> b4432ee9742a [2020-04-27T07:38:26.799Z] Step 8/8 : RUN go mod download [2020-04-27T07:38:27.083Z] ---> Running in b1b31d8c923e [2020-04-27T07:38:29.029Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-27T07:38:29.029Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-27T07:38:29.029Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-27T07:38:29.029Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-27T07:38:29.029Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-27T07:38:29.029Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-27T07:38:29.029Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-27T07:38:29.029Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-27T07:38:29.029Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-27T07:38:29.029Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-27T07:38:29.029Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-27T07:38:29.029Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-27T07:38:29.029Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-27T07:38:29.029Z] go: finding github.com/fatih/color v1.7.0 [2020-04-27T07:38:29.029Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-27T07:38:29.029Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-27T07:38:29.029Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-27T07:38:29.029Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-27T07:38:29.029Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-27T07:38:29.029Z] go: finding github.com/google/uuid v1.1.0 [2020-04-27T07:38:29.029Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-27T07:38:29.029Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-27T07:38:29.029Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-27T07:38:29.029Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-27T07:38:29.029Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-27T07:38:29.029Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-27T07:38:29.295Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-27T07:38:29.295Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-27T07:38:29.295Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-27T07:38:29.295Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-27T07:38:29.295Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-27T07:38:29.295Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-27T07:38:29.295Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-27T07:38:29.295Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-27T07:38:29.295Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-27T07:38:29.295Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-27T07:38:29.295Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-27T07:38:29.295Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-27T07:38:29.295Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-27T07:38:29.295Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-27T07:38:29.295Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-27T07:38:29.295Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-27T07:38:29.295Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-27T07:38:29.295Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-27T07:38:29.295Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-27T07:38:29.295Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-27T07:38:29.295Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-27T07:38:29.295Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-27T07:38:29.295Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-27T07:38:29.295Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-27T07:38:29.564Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-27T07:38:29.564Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-27T07:38:29.564Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-27T07:38:29.564Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-27T07:38:29.564Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-27T07:38:29.564Z] go: finding github.com/posener/complete v1.1.1 [2020-04-27T07:38:29.564Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-27T07:38:29.564Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-27T07:38:29.564Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-27T07:38:29.564Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-27T07:38:29.564Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-27T07:38:29.564Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-27T07:38:29.564Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-27T07:38:29.564Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-27T07:38:29.564Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-27T07:38:29.564Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-27T07:38:29.564Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-27T07:38:29.564Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-27T07:38:39.653Z] Removing intermediate container b1b31d8c923e [2020-04-27T07:38:39.653Z] ---> 110342db4f4d [2020-04-27T07:38:39.653Z] Successfully built 110342db4f4d [2020-04-27T07:38:39.653Z] 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-27T07:38:40.273Z] + docker inspect -f . ci-base-image-arm64 [2020-04-27T07:38:40.543Z] . [Pipeline] withDockerContainer [2020-04-27T07:38:40.872Z] prd-ubuntu18.04-docker-arm64-4c-16g-6243 does not seem to be running inside a container [2020-04-27T07:38:40.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@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-27T07:38:42.434Z] $ docker top 4284d578dda723b9526447e47553ba28a7462b8aa141130b44af150c2969adb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-27T07:38:43.485Z] + go version [2020-04-27T07:38:43.485Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-27T07:38:44.147Z] + make test [2020-04-27T07:38:44.147Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-27T07:38:45.562Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-27T07:39:12.317Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-27T07:39:12.317Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-27T07:39:12.317Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-27T07:39:13.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 22.1% of statements [2020-04-27T07:39:17.105Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.220s coverage: 95.8% of statements [2020-04-27T07:39:49.352Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.115s coverage: 11.4% of statements [2020-04-27T07:39:49.352Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements [2020-04-27T07:39:49.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-27T07:39:49.352Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.124s coverage: 36.9% of statements [2020-04-27T07:39:49.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-27T07:39:49.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-27T07:39:49.352Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.659s coverage: 65.2% of statements [2020-04-27T07:39:49.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-27T07:39:49.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-27T07:39:49.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-27T07:39:49.352Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-04-27T07:39:49.352Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-27T07:39:49.352Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.352s coverage: 68.9% of statements [2020-04-27T07:39:49.352Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-27T07:39:49.352Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-27T07:39:49.352Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-27T07:39:52.712Z] gofmt -l . [2020-04-27T07:39:52.712Z] [ "`gofmt -l .`" = "" ] [2020-04-27T07:39:52.712Z] ./bin/test-attribution-txt.sh [2020-04-27T07:39:53.672Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-27T07:39:53.956Z] Warning: overwriting stash ‘coverage-report’ [2020-04-27T07:39:54.425Z] Stashed 1 file(s) [Pipeline] } [2020-04-27T07:39:54.465Z] $ docker stop --time=1 4284d578dda723b9526447e47553ba28a7462b8aa141130b44af150c2969adb4 [2020-04-27T07:39:56.642Z] $ docker rm -f 4284d578dda723b9526447e47553ba28a7462b8aa141130b44af150c2969adb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-27T07:39:57.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-27T07:39:58.141Z] + ls -al . [2020-04-27T07:39:58.141Z] total 220 [2020-04-27T07:39:58.141Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 07:39 . [2020-04-27T07:39:58.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 07:37 .. [2020-04-27T07:39:58.141Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 07:37 .dockerignore [2020-04-27T07:39:58.141Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 07:37 .git [2020-04-27T07:39:58.141Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 07:37 .github [2020-04-27T07:39:58.141Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 27 07:37 .gitignore [2020-04-27T07:39:58.141Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 07:37 .semver [2020-04-27T07:39:58.141Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 27 07:37 Dockerfile.build [2020-04-27T07:39:58.141Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 27 07:37 Jenkinsfile [2020-04-27T07:39:58.141Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 07:37 LICENSE [2020-04-27T07:39:58.141Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 27 07:37 Makefile [2020-04-27T07:39:58.141Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 27 07:37 README.md [2020-04-27T07:39:58.141Z] -rw-rw-r-- 1 jenkins jenkins 3497 Apr 27 07:37 RELEASE-NOTES.txt [2020-04-27T07:39:58.141Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 07:33 VERSION [2020-04-27T07:39:58.141Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 07:37 api [2020-04-27T07:39:58.141Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 07:37 bin [2020-04-27T07:39:58.141Z] -rw-r--r-- 1 jenkins jenkins 110877 Apr 27 07:39 coverage.out [2020-04-27T07:39:58.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 07:37 example [2020-04-27T07:39:58.141Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 27 07:39 go.mod [2020-04-27T07:39:58.141Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 27 07:39 go.sum [2020-04-27T07:39:58.141Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 07:37 internal [2020-04-27T07:39:58.141Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 07:37 pkg [2020-04-27T07:39:58.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 07:37 snap [2020-04-27T07:39:58.141Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 07:37 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:39:58.501Z] + 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=f380c9750d394b15a68c03899168051b17741a54 --label arch=arm64 --label version=1.2.0-dev.36 . [2020-04-27T07:39:59.085Z] Sending build context to Docker daemon 3.133MB [2020-04-27T07:39:59.085Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-27T07:39:59.085Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-27T07:39:59.085Z] ---> 110342db4f4d [2020-04-27T07:39:59.085Z] Step 3/21 : ARG MAKE='make build' [2020-04-27T07:39:59.352Z] ---> Running in f4f3f22832e0 [2020-04-27T07:39:59.620Z] Removing intermediate container f4f3f22832e0 [2020-04-27T07:39:59.620Z] ---> b47edb702d62 [2020-04-27T07:39:59.620Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-27T07:39:59.620Z] ---> Running in 8de1872c6a66 [2020-04-27T07:40:00.207Z] Removing intermediate container 8de1872c6a66 [2020-04-27T07:40:00.207Z] ---> 0d53823e37f0 [2020-04-27T07:40:00.207Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-27T07:40:00.207Z] ---> Running in 7aff13855e72 [2020-04-27T07:40:00.473Z] Removing intermediate container 7aff13855e72 [2020-04-27T07:40:00.474Z] ---> da0c442effae [2020-04-27T07:40:00.474Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-27T07:40:00.741Z] ---> Running in 9b0f03b27b65 [2020-04-27T07:40:02.688Z] Removing intermediate container 9b0f03b27b65 [2020-04-27T07:40:02.688Z] ---> c926a007de4c [2020-04-27T07:40:02.688Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-27T07:40:02.688Z] ---> Running in 6017ef9d6e0c [2020-04-27T07:40:03.650Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-27T07:40:04.233Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-27T07:40:05.194Z] OK: 125 MiB in 39 packages [2020-04-27T07:40:06.155Z] Removing intermediate container 6017ef9d6e0c [2020-04-27T07:40:06.155Z] ---> aeb3c05c164f [2020-04-27T07:40:06.155Z] Step 8/21 : COPY . . [2020-04-27T07:40:07.118Z] ---> 5516fa93b78c [2020-04-27T07:40:07.118Z] Step 9/21 : RUN ${MAKE} [2020-04-27T07:40:07.388Z] ---> Running in 3fb52dff1498 [2020-04-27T07:40:07.976Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.36" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-27T07:40:34.705Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-27T07:40:34.705Z] Removing intermediate container 3fb52dff1498 [2020-04-27T07:40:34.705Z] ---> 138f84ae5d5f [2020-04-27T07:40:34.705Z] Step 10/21 : FROM scratch [2020-04-27T07:40:34.705Z] ---> [2020-04-27T07:40:34.705Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-27T07:40:34.705Z] ---> Running in ea93312cf07f [2020-04-27T07:40:34.705Z] Removing intermediate container ea93312cf07f [2020-04-27T07:40:34.705Z] ---> cc8cc16b19cc [2020-04-27T07:40:34.705Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-27T07:40:34.705Z] ---> Running in c4557318f3c6 [2020-04-27T07:40:34.705Z] Removing intermediate container c4557318f3c6 [2020-04-27T07:40:34.705Z] ---> e18a662c96bf [2020-04-27T07:40:34.705Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-27T07:40:34.705Z] ---> Running in 56e6060e56a5 [2020-04-27T07:40:34.972Z] Removing intermediate container 56e6060e56a5 [2020-04-27T07:40:34.972Z] ---> c71d71907661 [2020-04-27T07:40:34.972Z] Step 14/21 : WORKDIR / [2020-04-27T07:40:34.972Z] ---> Running in 729c354ce105 [2020-04-27T07:40:35.556Z] Removing intermediate container 729c354ce105 [2020-04-27T07:40:35.556Z] ---> c87ef35bdc38 [2020-04-27T07:40:35.556Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-27T07:40:36.519Z] ---> f9ab27768be1 [2020-04-27T07:40:36.519Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-27T07:40:37.105Z] ---> 9507cc606775 [2020-04-27T07:40:37.105Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-27T07:40:37.374Z] ---> 54e14494d7c7 [2020-04-27T07:40:37.374Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-27T07:40:37.667Z] ---> Running in 05e16b569430 [2020-04-27T07:40:37.947Z] Removing intermediate container 05e16b569430 [2020-04-27T07:40:37.947Z] ---> f040c59b3d2f [2020-04-27T07:40:37.947Z] Step 19/21 : LABEL arch=arm64 [2020-04-27T07:40:38.227Z] ---> Running in bad07ed86d42 [2020-04-27T07:40:38.501Z] Removing intermediate container bad07ed86d42 [2020-04-27T07:40:38.501Z] ---> 6484762f7c88 [2020-04-27T07:40:38.501Z] Step 20/21 : LABEL git_sha=f380c9750d394b15a68c03899168051b17741a54 [2020-04-27T07:40:38.502Z] ---> Running in e84c6ddad321 [2020-04-27T07:40:39.098Z] Removing intermediate container e84c6ddad321 [2020-04-27T07:40:39.098Z] ---> 00f57bc9329b [2020-04-27T07:40:39.098Z] Step 21/21 : LABEL version=1.2.0-dev.36 [2020-04-27T07:40:39.098Z] ---> Running in 3fdc25544dd9 [2020-04-27T07:40:39.372Z] Removing intermediate container 3fdc25544dd9 [2020-04-27T07:40:39.372Z] ---> 845f22342119 [2020-04-27T07:40:39.372Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-27T07:40:39.639Z] Successfully built 845f22342119 [2020-04-27T07:40:39.639Z] 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-27T07:40:41.146Z] provisioning config files... [2020-04-27T07:40:41.159Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config777015648876084159tmp [Pipeline] { [Pipeline] sh [2020-04-27T07:40:41.508Z] + curl -s https://codecov.io/bash [2020-04-27T07:40:41.508Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config777015648876084159tmp [2020-04-27T07:40:41.769Z] [2020-04-27T07:40:41.769Z] _____ _ [2020-04-27T07:40:41.769Z] / ____| | | [2020-04-27T07:40:41.769Z] | | ___ __| | ___ ___ _____ __ [2020-04-27T07:40:41.769Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-27T07:40:41.769Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-27T07:40:41.769Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-27T07:40:41.769Z] Bash-tbd [2020-04-27T07:40:41.769Z] [2020-04-27T07:40:41.769Z] [2020-04-27T07:40:41.769Z] ==> Jenkins CI detected. [2020-04-27T07:40:41.769Z] project root: . [2020-04-27T07:40:41.769Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-27T07:40:41.769Z] ==> Running gcov in . (disable via -X gcov) [2020-04-27T07:40:41.769Z] ==> Python coveragepy not found [2020-04-27T07:40:41.769Z] ==> Searching for coverage reports in: [2020-04-27T07:40:41.769Z] + . [2020-04-27T07:40:41.769Z] -> Found 1 reports [2020-04-27T07:40:41.769Z] ==> Detecting git/mercurial file structure [2020-04-27T07:40:41.769Z] ==> Reading reports [2020-04-27T07:40:41.769Z] + ./coverage.out bytes=110877 [2020-04-27T07:40:41.769Z] ==> Appending adjustments [2020-04-27T07:40:41.769Z] http://docs.codecov.io/docs/fixing-reports [2020-04-27T07:40:42.029Z] + Found adjustments [2020-04-27T07:40:42.029Z] ==> Gzipping contents [2020-04-27T07:40:42.029Z] ==> Uploading reports [2020-04-27T07:40:42.029Z] url: https://codecov.io [2020-04-27T07:40:42.029Z] query: branch=master&commit=f380c9750d394b15a68c03899168051b17741a54&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-27T07:40:42.029Z] -> Pinging Codecov [2020-04-27T07:40:42.029Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=f380c9750d394b15a68c03899168051b17741a54&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-27T07:40:42.970Z] -> Uploading [2020-04-27T07:40:43.540Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f380c9750d394b15a68c03899168051b17741a54 [Pipeline] } [2020-04-27T07:40:43.547Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-27T07:40:43.813Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-27T07:40:43.814Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-27T07:40:43.853Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:40:44.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-27T07:40:44.188Z] [2020-04-27T07:40:44.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:40:44.536Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-27T07:40:44.536Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-27T07:40:44.536Z] e6b0cf9c0882: Pulling fs layer [2020-04-27T07:40:44.536Z] 2848faf0eed1: Pulling fs layer [2020-04-27T07:40:44.536Z] 0f37312ad70f: Pulling fs layer [2020-04-27T07:40:44.536Z] 7d08f2745646: Pulling fs layer [2020-04-27T07:40:44.536Z] 4c9f31393084: Pulling fs layer [2020-04-27T07:40:44.536Z] eb21ddb83652: Pulling fs layer [2020-04-27T07:40:44.536Z] 345998794f6b: Pulling fs layer [2020-04-27T07:40:44.536Z] 97a711d68925: Pulling fs layer [2020-04-27T07:40:44.536Z] 7c8476c1cb00: Pulling fs layer [2020-04-27T07:40:44.536Z] 7d08f2745646: Waiting [2020-04-27T07:40:44.536Z] eb21ddb83652: Waiting [2020-04-27T07:40:44.536Z] 4c9f31393084: Waiting [2020-04-27T07:40:44.536Z] 345998794f6b: Waiting [2020-04-27T07:40:44.536Z] 97a711d68925: Waiting [2020-04-27T07:40:44.536Z] 7c8476c1cb00: Waiting [2020-04-27T07:40:44.536Z] 0f37312ad70f: Download complete [2020-04-27T07:40:44.536Z] 2848faf0eed1: Verifying Checksum [2020-04-27T07:40:44.536Z] 2848faf0eed1: Download complete [2020-04-27T07:40:44.536Z] 4c9f31393084: Verifying Checksum [2020-04-27T07:40:44.536Z] 4c9f31393084: Download complete [2020-04-27T07:40:44.536Z] e6b0cf9c0882: Verifying Checksum [2020-04-27T07:40:44.536Z] e6b0cf9c0882: Download complete [2020-04-27T07:40:44.536Z] eb21ddb83652: Verifying Checksum [2020-04-27T07:40:44.536Z] eb21ddb83652: Download complete [2020-04-27T07:40:44.805Z] 345998794f6b: Verifying Checksum [2020-04-27T07:40:44.805Z] 345998794f6b: Download complete [2020-04-27T07:40:45.072Z] e6b0cf9c0882: Pull complete [2020-04-27T07:40:45.352Z] 2848faf0eed1: Pull complete [2020-04-27T07:40:45.352Z] 97a711d68925: Verifying Checksum [2020-04-27T07:40:45.352Z] 97a711d68925: Download complete [2020-04-27T07:40:45.618Z] 7c8476c1cb00: Verifying Checksum [2020-04-27T07:40:45.618Z] 7c8476c1cb00: Download complete [2020-04-27T07:40:45.618Z] 0f37312ad70f: Pull complete [2020-04-27T07:40:46.189Z] 7d08f2745646: Verifying Checksum [2020-04-27T07:40:46.189Z] 7d08f2745646: Download complete [2020-04-27T07:40:52.787Z] 7d08f2745646: Pull complete [2020-04-27T07:40:52.787Z] 4c9f31393084: Pull complete [2020-04-27T07:40:52.787Z] eb21ddb83652: Pull complete [2020-04-27T07:40:54.190Z] 345998794f6b: Pull complete [2020-04-27T07:40:57.491Z] 97a711d68925: Pull complete [2020-04-27T07:40:58.429Z] 7c8476c1cb00: Pull complete [2020-04-27T07:40:58.429Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-27T07:40:58.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-27T07:40:58.585Z] prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container [2020-04-27T07:40:58.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-04-27T07:40:59.197Z] $ docker top 8db5451113580030163fc1acc0b58e1eeaef0360b1632aa6ec39e7368c0f39f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-27T07:40:59.667Z] + snyk monitor '--org=edgex-jenkins' [2020-04-27T07:41:09.659Z] [2020-04-27T07:41:09.659Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-04-27T07:41:09.659Z] [2020-04-27T07:41:09.659Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/cbfcb51a-5d39-49e1-9c26-40493555ce9a [2020-04-27T07:41:09.659Z] [2020-04-27T07:41:09.659Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-27T07:41:09.659Z] [2020-04-27T07:41:09.659Z] [Pipeline] } [2020-04-27T07:41:09.668Z] $ docker stop --time=1 8db5451113580030163fc1acc0b58e1eeaef0360b1632aa6ec39e7368c0f39f4 [2020-04-27T07:41:11.060Z] $ docker rm -f 8db5451113580030163fc1acc0b58e1eeaef0360b1632aa6ec39e7368c0f39f4 [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-27T07:41:12.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-27T07:41:12.192Z] . [Pipeline] withDockerContainer [2020-04-27T07:41:12.311Z] prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container [2020-04-27T07:41:12.355Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-27T07:41:12.950Z] $ docker top 5a8092971840acc9a9741942ae38ce34fa5af22bdc5f261ea14279d91f5d2072 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-27T07:41:13.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-27T07:41:13.197Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-27T07:41:13.412Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-27T07:41:13.412Z] $ docker exec 5a8092971840acc9a9741942ae38ce34fa5af22bdc5f261ea14279d91f5d2072 ssh-agent [2020-04-27T07:41:13.607Z] SSH_AUTH_SOCK=/tmp/ssh-MIwBynvCtijZ/agent.14 [2020-04-27T07:41:13.607Z] SSH_AGENT_PID=21 [2020-04-27T07:41:13.614Z] Running ssh-add (command line suppressed) [2020-04-27T07:41:13.759Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5578830696109374490.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5578830696109374490.key) [2020-04-27T07:41:13.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-27T07:41:14.134Z] + git semver tag [2020-04-27T07:41:14.134Z] # -> Open(): unable to determine branch for HEAD [2020-04-27T07:41:14.134Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-27T07:41:14.134Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-27T07:41:14.134Z] # $SEMVER_REMOTE_NAME = origin [2020-04-27T07:41:14.134Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-27T07:41:14.134Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-27T07:41:14.134Z] # $SEMVER_BRANCH = master [2020-04-27T07:41:14.134Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-27T07:41:14.134Z] # f380c9750d394b15a68c03899168051b17741a54 HEAD [2020-04-27T07:41:14.134Z] # -> Force: false [2020-04-27T07:41:14.393Z] # fdce2b96d0770f0eb56a6c572b06a20f8e0da996 refs/tags/v1.2.0-dev.36 [Pipeline] } [2020-04-27T07:41:14.398Z] $ docker exec --env ******** --env ******** 5a8092971840acc9a9741942ae38ce34fa5af22bdc5f261ea14279d91f5d2072 ssh-agent -k [2020-04-27T07:41:14.537Z] unset SSH_AUTH_SOCK; [2020-04-27T07:41:14.538Z] unset SSH_AGENT_PID; [2020-04-27T07:41:14.538Z] echo Agent pid 21 killed; [2020-04-27T07:41:14.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-27T07:41:15.043Z] + git semver [Pipeline] } [2020-04-27T07:41:15.053Z] $ docker stop --time=1 5a8092971840acc9a9741942ae38ce34fa5af22bdc5f261ea14279d91f5d2072 [2020-04-27T07:41:16.400Z] $ docker rm -f 5a8092971840acc9a9741942ae38ce34fa5af22bdc5f261ea14279d91f5d2072 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:41:17.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-27T07:41:17.038Z] [2020-04-27T07:41:17.038Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:41:17.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-27T07:41:17.364Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-27T07:41:17.364Z] ab5ef0e58194: Pulling fs layer [2020-04-27T07:41:17.364Z] 9712f1f96733: Pulling fs layer [2020-04-27T07:41:17.364Z] 63f879dbbcfc: Pulling fs layer [2020-04-27T07:41:17.364Z] 0d9ebad4ef96: Pulling fs layer [2020-04-27T07:41:17.364Z] e9a5061849ea: Pulling fs layer [2020-04-27T07:41:17.364Z] d747dcd14b5f: Pulling fs layer [2020-04-27T07:41:17.364Z] 2de7ff778b66: Pulling fs layer [2020-04-27T07:41:17.364Z] e9a5061849ea: Waiting [2020-04-27T07:41:17.364Z] d747dcd14b5f: Waiting [2020-04-27T07:41:17.364Z] 2de7ff778b66: Waiting [2020-04-27T07:41:17.364Z] 0d9ebad4ef96: Waiting [2020-04-27T07:41:17.364Z] 9712f1f96733: Verifying Checksum [2020-04-27T07:41:17.364Z] 9712f1f96733: Download complete [2020-04-27T07:41:17.939Z] 63f879dbbcfc: Verifying Checksum [2020-04-27T07:41:17.939Z] 63f879dbbcfc: Download complete [2020-04-27T07:41:18.204Z] e9a5061849ea: Verifying Checksum [2020-04-27T07:41:18.204Z] e9a5061849ea: Download complete [2020-04-27T07:41:18.204Z] d747dcd14b5f: Verifying Checksum [2020-04-27T07:41:18.204Z] d747dcd14b5f: Download complete [2020-04-27T07:41:18.204Z] 0d9ebad4ef96: Download complete [2020-04-27T07:41:18.466Z] 2de7ff778b66: Verifying Checksum [2020-04-27T07:41:18.466Z] 2de7ff778b66: Download complete [2020-04-27T07:41:18.466Z] ab5ef0e58194: Verifying Checksum [2020-04-27T07:41:18.466Z] ab5ef0e58194: Download complete [2020-04-27T07:41:23.750Z] ab5ef0e58194: Pull complete [2020-04-27T07:41:23.750Z] 9712f1f96733: Pull complete [2020-04-27T07:41:26.290Z] 63f879dbbcfc: Pull complete [2020-04-27T07:41:31.613Z] 0d9ebad4ef96: Pull complete [2020-04-27T07:41:33.518Z] e9a5061849ea: Pull complete [2020-04-27T07:41:33.518Z] d747dcd14b5f: Pull complete [2020-04-27T07:41:37.713Z] 2de7ff778b66: Pull complete [2020-04-27T07:41:37.713Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-27T07:41:37.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-27T07:41:38.142Z] prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container [2020-04-27T07:41:38.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-04-27T07:41:38.846Z] $ docker top c1a87f4a2ac4737b9d5cfc1864dc8345262b4f789bc377b61cabb051905e683b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-27T07:41:39.076Z] provisioning config files... [2020-04-27T07:41:39.085Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1513436454484329004tmp [2020-04-27T07:41:39.099Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2547367280925247681tmp [2020-04-27T07:41:39.112Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6189505491694403453tmp [Pipeline] { [Pipeline] echo [2020-04-27T07:41:39.152Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-27T07:41:39.531Z] ---> sigul-configuration.sh [2020-04-27T07:41:39.531Z] gpg: directory `/root/.gnupg' created [2020-04-27T07:41:39.531Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-27T07:41:39.531Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-27T07:41:39.531Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-27T07:41:39.531Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-27T07:41:39.531Z] gpg: CAST5 encrypted data [2020-04-27T07:41:39.531Z] gpg: encrypted with 1 passphrase [2020-04-27T07:41:39.531Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-27T07:41:39.951Z] + mkdir /home/jenkins [2020-04-27T07:41:39.952Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-27T07:41:40.266Z] + 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-27T07:41:40.273Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-27T07:41:40.571Z] ---> sigul-install.sh [2020-04-27T07:41:48.697Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-27T07:41:48.995Z] + git tag --list [2020-04-27T07:41:48.995Z] v1.2.0-dev.36 [Pipeline] sh [2020-04-27T07:41:49.287Z] + lftools sign git-tag v1.2.0-dev.36 [2020-04-27T07:41:50.224Z] Signing Git tag with Sigul... [2020-04-27T07:41:50.224Z] Signing v1.2.0-dev.36 [Pipeline] echo [2020-04-27T07:41:51.612Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-27T07:41:51.909Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-27T07:41:51.915Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-27T07:41:51.997Z] $ docker stop --time=1 c1a87f4a2ac4737b9d5cfc1864dc8345262b4f789bc377b61cabb051905e683b [2020-04-27T07:41:53.386Z] $ docker rm -f c1a87f4a2ac4737b9d5cfc1864dc8345262b4f789bc377b61cabb051905e683b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:41:54.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-27T07:41:54.057Z] . [Pipeline] withDockerContainer [2020-04-27T07:41:54.173Z] prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container [2020-04-27T07:41:54.212Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-27T07:41:54.799Z] $ docker top c0be9b910ed6904b6a4242f24b433f24bc9fe8e0fc55b5696aefb3069401bb54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-27T07:41:55.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-27T07:41:55.061Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-27T07:41:55.248Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-27T07:41:55.248Z] $ docker exec c0be9b910ed6904b6a4242f24b433f24bc9fe8e0fc55b5696aefb3069401bb54 ssh-agent [2020-04-27T07:41:55.436Z] SSH_AUTH_SOCK=/tmp/ssh-QCFncRu66Dxv/agent.14 [2020-04-27T07:41:55.436Z] SSH_AGENT_PID=21 [2020-04-27T07:41:55.445Z] Running ssh-add (command line suppressed) [2020-04-27T07:41:55.588Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2005516822820385502.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2005516822820385502.key) [2020-04-27T07:41:55.642Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-27T07:41:55.961Z] + git semver bump pre [2020-04-27T07:41:55.961Z] # -> Open(): unable to determine branch for HEAD [2020-04-27T07:41:55.961Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-27T07:41:55.961Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-27T07:41:55.961Z] # $SEMVER_REMOTE_NAME = origin [2020-04-27T07:41:55.961Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-27T07:41:55.961Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-27T07:41:55.961Z] # $SEMVER_BRANCH = master [2020-04-27T07:41:55.961Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-27T07:41:55.961Z] 1.2.0-dev.37 [Pipeline] } [2020-04-27T07:41:55.967Z] $ docker exec --env ******** --env ******** c0be9b910ed6904b6a4242f24b433f24bc9fe8e0fc55b5696aefb3069401bb54 ssh-agent -k [2020-04-27T07:41:56.108Z] unset SSH_AUTH_SOCK; [2020-04-27T07:41:56.109Z] unset SSH_AGENT_PID; [2020-04-27T07:41:56.109Z] echo Agent pid 21 killed; [2020-04-27T07:41:56.149Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-27T07:41:56.597Z] + git semver [Pipeline] } [2020-04-27T07:41:56.608Z] $ docker stop --time=1 c0be9b910ed6904b6a4242f24b433f24bc9fe8e0fc55b5696aefb3069401bb54 [2020-04-27T07:41:57.955Z] $ docker rm -f c0be9b910ed6904b6a4242f24b433f24bc9fe8e0fc55b5696aefb3069401bb54 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:41:58.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-27T07:41:58.449Z] . [Pipeline] withDockerContainer [2020-04-27T07:41:58.561Z] prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container [2020-04-27T07:41:58.602Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-27T07:41:59.138Z] $ docker top 7ff8b62024d04e10b4d9dca6612fc490eddea04b257819b313a030c63cbf6713 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-27T07:41:59.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-27T07:41:59.392Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-27T07:41:59.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-27T07:41:59.590Z] $ docker exec 7ff8b62024d04e10b4d9dca6612fc490eddea04b257819b313a030c63cbf6713 ssh-agent [2020-04-27T07:41:59.785Z] SSH_AUTH_SOCK=/tmp/ssh-9P6ZLKbVI2UL/agent.15 [2020-04-27T07:41:59.785Z] SSH_AGENT_PID=22 [2020-04-27T07:41:59.792Z] Running ssh-add (command line suppressed) [2020-04-27T07:41:59.933Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4114859975518936826.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4114859975518936826.key) [2020-04-27T07:41:59.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-27T07:42:00.306Z] + git semver push [2020-04-27T07:42:00.306Z] # -> Open(): unable to determine branch for HEAD [2020-04-27T07:42:00.306Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-27T07:42:00.306Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-27T07:42:00.306Z] # $SEMVER_REMOTE_NAME = origin [2020-04-27T07:42:00.306Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-27T07:42:00.306Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-27T07:42:00.306Z] # $SEMVER_BRANCH = master [2020-04-27T07:42:00.306Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-27T07:42:08.434Z] $ docker exec --env ******** --env ******** 7ff8b62024d04e10b4d9dca6612fc490eddea04b257819b313a030c63cbf6713 ssh-agent -k [2020-04-27T07:42:08.602Z] unset SSH_AUTH_SOCK; [2020-04-27T07:42:08.605Z] unset SSH_AGENT_PID; [2020-04-27T07:42:08.605Z] echo Agent pid 22 killed; [2020-04-27T07:42:08.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-27T07:42:09.119Z] + git semver [Pipeline] } [2020-04-27T07:42:09.130Z] $ docker stop --time=1 7ff8b62024d04e10b4d9dca6612fc490eddea04b257819b313a030c63cbf6713 [2020-04-27T07:42:10.479Z] $ docker rm -f 7ff8b62024d04e10b4d9dca6612fc490eddea04b257819b313a030c63cbf6713 [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-27T07:42:11.291Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-27T07:42:11.850Z] ---> package-listing.sh [2020-04-27T07:42:11.850Z] ++ facter osfamily [2020-04-27T07:42:11.850Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-27T07:42:11.850Z] + OS_FAMILY=redhat [2020-04-27T07:42:11.850Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-04-27T07:42:11.850Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-27T07:42:11.850Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-27T07:42:11.850Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-27T07:42:11.850Z] + PACKAGES=/tmp/packages_start.txt [2020-04-27T07:42:11.850Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-27T07:42:11.850Z] + PACKAGES=/tmp/packages_end.txt [2020-04-27T07:42:11.850Z] + case "${OS_FAMILY}" in [2020-04-27T07:42:11.850Z] + rpm -qa [2020-04-27T07:42:11.850Z] + sort [2020-04-27T07:42:16.046Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-27T07:42:16.046Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-27T07:42:16.046Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-27T07:42:16.046Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-27T07:42:16.046Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-04-27T07:42:16.046Z] + 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-27T07:42:16.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-27T07:42:16.539Z] [2020-04-27T07:42:16.539Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-27T07:42:16.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-27T07:42:16.873Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-27T07:42:16.873Z] c9b1b535fdd9: Pulling fs layer [2020-04-27T07:42:16.873Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-27T07:42:16.873Z] 756a868c4378: Pulling fs layer [2020-04-27T07:42:16.873Z] 444b2fc9a129: Pulling fs layer [2020-04-27T07:42:16.873Z] ea15f1150254: Pulling fs layer [2020-04-27T07:42:16.873Z] 41b27a9f41bf: Pulling fs layer [2020-04-27T07:42:16.873Z] 28c525ee5125: Pulling fs layer [2020-04-27T07:42:16.873Z] 094b1ea09ed8: Pulling fs layer [2020-04-27T07:42:16.873Z] 138eaada9080: Pulling fs layer [2020-04-27T07:42:16.873Z] 0622d0fa9048: Pulling fs layer [2020-04-27T07:42:16.873Z] 444b2fc9a129: Waiting [2020-04-27T07:42:16.873Z] ea15f1150254: Waiting [2020-04-27T07:42:16.873Z] 41b27a9f41bf: Waiting [2020-04-27T07:42:16.873Z] 138eaada9080: Waiting [2020-04-27T07:42:16.873Z] 0622d0fa9048: Waiting [2020-04-27T07:42:16.873Z] 28c525ee5125: Waiting [2020-04-27T07:42:16.873Z] 094b1ea09ed8: Waiting [2020-04-27T07:42:16.873Z] 2cc5ad85d9ab: Download complete [2020-04-27T07:42:16.873Z] 444b2fc9a129: Verifying Checksum [2020-04-27T07:42:16.873Z] 444b2fc9a129: Download complete [2020-04-27T07:42:16.873Z] c9b1b535fdd9: Verifying Checksum [2020-04-27T07:42:17.132Z] ea15f1150254: Verifying Checksum [2020-04-27T07:42:17.132Z] ea15f1150254: Download complete [2020-04-27T07:42:17.132Z] 28c525ee5125: Verifying Checksum [2020-04-27T07:42:17.132Z] 28c525ee5125: Download complete [2020-04-27T07:42:17.391Z] c9b1b535fdd9: Pull complete [2020-04-27T07:42:17.391Z] 2cc5ad85d9ab: Pull complete [2020-04-27T07:42:17.654Z] 756a868c4378: Verifying Checksum [2020-04-27T07:42:17.654Z] 756a868c4378: Download complete [2020-04-27T07:42:17.654Z] 138eaada9080: Verifying Checksum [2020-04-27T07:42:17.654Z] 138eaada9080: Download complete [2020-04-27T07:42:17.915Z] 0622d0fa9048: Verifying Checksum [2020-04-27T07:42:17.915Z] 0622d0fa9048: Download complete [2020-04-27T07:42:17.915Z] 094b1ea09ed8: Verifying Checksum [2020-04-27T07:42:17.915Z] 094b1ea09ed8: Download complete [2020-04-27T07:42:18.484Z] 41b27a9f41bf: Verifying Checksum [2020-04-27T07:42:18.484Z] 41b27a9f41bf: Download complete [2020-04-27T07:42:20.391Z] 756a868c4378: Pull complete [2020-04-27T07:42:20.650Z] 444b2fc9a129: Pull complete [2020-04-27T07:42:20.909Z] ea15f1150254: Pull complete [2020-04-27T07:42:24.207Z] 41b27a9f41bf: Pull complete [2020-04-27T07:42:24.207Z] 28c525ee5125: Pull complete [2020-04-27T07:42:26.127Z] 094b1ea09ed8: Pull complete [2020-04-27T07:42:26.385Z] 138eaada9080: Pull complete [2020-04-27T07:42:26.644Z] 0622d0fa9048: Pull complete [2020-04-27T07:42:26.644Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-27T07:42:26.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-27T07:42:26.767Z] prd-centos7-docker-4c-2g-6239 does not seem to be running inside a container [2020-04-27T07:42:26.806Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-27T07:42:27.871Z] $ docker top dde9d7e6fe19dfde373c03aad24132ca323e0bdb601c4f70126aa6879f2bc3b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-27T07:42:28.087Z] provisioning config files... [2020-04-27T07:42:28.105Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8601657257098992575tmp [Pipeline] { [Pipeline] echo [2020-04-27T07:42:28.154Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-27T07:42:28.465Z] ---> create-netrc.sh [Pipeline] echo [2020-04-27T07:42:28.476Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-27T07:42:28.809Z] ---> logs-deploy.sh [2020-04-27T07:42:28.809Z] + ARCHIVE_ARTIFACTS= [2020-04-27T07:42:28.809Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-27T07:42:28.809Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-27T07:42:28.809Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-27T07:42:28.809Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/36 [2020-04-27T07:42:28.809Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/36/ [2020-04-27T07:42:28.809Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/36 /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-27T07:42:29.746Z] Archives upload complete. [2020-04-27T07:42:30.005Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/36 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/36/