Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 ‘prd-centos7-docker-4c-2g-4761’ Running on prd-centos7-docker-4c-2g-4763 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 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 (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 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 # timeout=10 Commit message: "Merge pull request #545 from lenny-intel/monitoring" > git rev-list --no-walk 237059a1cc6afe5d06dcb2973311674b604926bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-29T05:20:32.420Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-29T05:20:32.537Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-29T05:20:32.579Z] ========================================================= [2020-06-29T05:20:32.579Z] EdgeX Global Pipelines Version Info [2020-06-29T05:20:32.579Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-29T05:20:33.985Z] ------------------- [2020-06-29T05:20:33.985Z] stable info: [2020-06-29T05:20:33.985Z] ------------------- [2020-06-29T05:20:33.985Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-29T05:20:33.985Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-29T05:20:33.985Z] Message: update stable to v1.0.89 [2020-06-29T05:20:34.926Z] ------------------- [2020-06-29T05:20:34.926Z] experimental info: [2020-06-29T05:20:34.926Z] ------------------- [2020-06-29T05:20:34.926Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-29T05:20:34.926Z] Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 [2020-06-29T05:20:34.926Z] Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:20:36.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-29T05:20:36.759Z] [2020-06-29T05:20:36.759Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:20:37.076Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-29T05:20:37.076Z] latest: Pulling from edgex-devops/git-semver [2020-06-29T05:20:37.076Z] 9123ac7c32f7: Pulling fs layer [2020-06-29T05:20:37.076Z] b8cc5d1170e3: Pulling fs layer [2020-06-29T05:20:37.076Z] 2924cbbf6a41: Pulling fs layer [2020-06-29T05:20:37.076Z] 93b08a4f1073: Pulling fs layer [2020-06-29T05:20:37.076Z] 93b08a4f1073: Waiting [2020-06-29T05:20:37.076Z] b8cc5d1170e3: Verifying Checksum [2020-06-29T05:20:37.076Z] b8cc5d1170e3: Download complete [2020-06-29T05:20:37.339Z] 9123ac7c32f7: Download complete [2020-06-29T05:20:37.339Z] 93b08a4f1073: Verifying Checksum [2020-06-29T05:20:37.339Z] 93b08a4f1073: Download complete [2020-06-29T05:20:37.339Z] 2924cbbf6a41: Verifying Checksum [2020-06-29T05:20:37.339Z] 2924cbbf6a41: Download complete [2020-06-29T05:20:37.601Z] 9123ac7c32f7: Pull complete [2020-06-29T05:20:37.601Z] b8cc5d1170e3: Pull complete [2020-06-29T05:20:38.542Z] 2924cbbf6a41: Pull complete [2020-06-29T05:20:38.542Z] 93b08a4f1073: Pull complete [2020-06-29T05:20:38.542Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-29T05:20:38.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-29T05:20:38.542Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-29T05:20:38.647Z] prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container [2020-06-29T05:20:38.696Z] $ 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-06-29T05:20:40.795Z] $ docker top 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-29T05:20:40.958Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-29T05:20:40.959Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-29T05:20:41.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-29T05:20:41.163Z] $ docker exec 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 ssh-agent [2020-06-29T05:20:41.324Z] SSH_AUTH_SOCK=/tmp/ssh-qAqXeIEQB0Z3/agent.11 [2020-06-29T05:20:41.324Z] SSH_AGENT_PID=16 [2020-06-29T05:20:41.335Z] Running ssh-add (command line suppressed) [2020-06-29T05:20:41.453Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8861807857180655094.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8861807857180655094.key) [2020-06-29T05:20:41.500Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-29T05:20:41.806Z] + git describe --exact-match --tags HEAD [2020-06-29T05:20:41.806Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-29T05:20:41.949Z] $ docker exec --env ******** --env ******** 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 ssh-agent -k [2020-06-29T05:20:42.062Z] unset SSH_AUTH_SOCK; [2020-06-29T05:20:42.062Z] unset SSH_AGENT_PID; [2020-06-29T05:20:42.062Z] echo Agent pid 16 killed; [2020-06-29T05:20:42.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-29T05:20:42.140Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-29T05:20:42.140Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-29T05:20:42.184Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-29T05:20:42.184Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-29T05:20:42.348Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-29T05:20:42.356Z] $ docker exec 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 ssh-agent [2020-06-29T05:20:42.504Z] SSH_AUTH_SOCK=/tmp/ssh-f0aufo84Oo8K/agent.45 [2020-06-29T05:20:42.504Z] SSH_AGENT_PID=50 [2020-06-29T05:20:42.510Z] Running ssh-add (command line suppressed) [2020-06-29T05:20:42.631Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6307796426640465686.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6307796426640465686.key) [2020-06-29T05:20:42.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-29T05:20:42.976Z] + git semver init [2020-06-29T05:20:42.976Z] # -> Open(): unable to determine branch for HEAD [2020-06-29T05:20:42.976Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-06-29T05:20:42.976Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-06-29T05:20:42.976Z] # $SEMVER_REMOTE_NAME = origin [2020-06-29T05:20:42.976Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-29T05:20:42.976Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-29T05:20:42.976Z] # $SEMVER_BRANCH = master [2020-06-29T05:20:42.976Z] # $SEMVER_TEMP = /tmp/semver-868282951 [2020-06-29T05:20:42.976Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-06-29T05:20:43.549Z] # '/tmp/semver-868282951' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-06-29T05:20:43.549Z] # -> Force: false [2020-06-29T05:20:43.549Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-06-29T05:20:43.565Z] $ docker exec --env ******** --env ******** 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 ssh-agent -k [2020-06-29T05:20:43.677Z] unset SSH_AUTH_SOCK; [2020-06-29T05:20:43.677Z] unset SSH_AGENT_PID; [2020-06-29T05:20:43.677Z] echo Agent pid 50 killed; [2020-06-29T05:20:43.713Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-29T05:20:44.075Z] + git semver [Pipeline] } [2020-06-29T05:20:44.095Z] $ docker stop --time=1 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 [2020-06-29T05:20:45.441Z] $ docker rm -f 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-29T05:20:46.019Z] Stashed 67 file(s) [Pipeline] echo [2020-06-29T05:20:46.021Z] [edgeXSemver] initialized semver on version 1.2.3-dev.3 [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-06-29T05:21:01.182Z] Still waiting to schedule task [2020-06-29T05:21:01.182Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-29T05:21:01.184Z] Still waiting to schedule task [2020-06-29T05:21:01.184Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-4756’ [2020-06-29T05:24:10.654Z] Running on prd-centos7-docker-4c-2g-4764 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-06-29T05:24:10.678Z] Running in /w/workspace/device-sdk-go/47 [Pipeline] { [Pipeline] checkout [2020-06-29T05:24:12.594Z] using credential edgex-jenkins-ssh [2020-06-29T05:24:12.620Z] Cloning the remote Git repository [2020-06-29T05:24:12.620Z] Cloning with configured refspecs honoured and without tags [2020-06-29T05:24:12.642Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-06-29T05:24:12.703Z] > git init /w/workspace/device-sdk-go/47 # timeout=10 [2020-06-29T05:24:12.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-29T05:24:12.750Z] > git --version # timeout=10 [2020-06-29T05:24:12.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-29T05:24:12.820Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-29T05:24:13.422Z] Fetching without tags [2020-06-29T05:24:13.800Z] Checking out Revision 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 (master) [2020-06-29T05:24:13.391Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-29T05:24:13.398Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-29T05:24:13.415Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-29T05:24:13.425Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-29T05:24:13.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-29T05:24:13.430Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-29T05:24:13.808Z] > git config core.sparsecheckout # timeout=10 [2020-06-29T05:24:13.812Z] > git checkout -f 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 # timeout=10 [2020-06-29T05:24:17.451Z] Commit message: "Merge pull request #545 from lenny-intel/monitoring" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-29T05:24:18.259Z] ========================================================= [2020-06-29T05:24:18.259Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-29T05:24:18.259Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:24:18.904Z] + 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-06-29T05:24:19.166Z] Sending build context to Docker daemon 3.073MB [2020-06-29T05:24:19.166Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-29T05:24:19.166Z] Step 2/8 : FROM ${BASE} [2020-06-29T05:24:19.431Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-29T05:24:19.431Z] e6b0cf9c0882: Pulling fs layer [2020-06-29T05:24:19.431Z] 2848faf0eed1: Pulling fs layer [2020-06-29T05:24:19.431Z] 0f37312ad70f: Pulling fs layer [2020-06-29T05:24:19.431Z] 5788d62ee057: Pulling fs layer [2020-06-29T05:24:19.431Z] 0e6b1d234666: Pulling fs layer [2020-06-29T05:24:19.431Z] bf5d7aec512f: Pulling fs layer [2020-06-29T05:24:19.431Z] 34c802a77dc8: Pulling fs layer [2020-06-29T05:24:19.431Z] 9eb99e56ec68: Pulling fs layer [2020-06-29T05:24:19.431Z] 27c7a5d97fbd: Pulling fs layer [2020-06-29T05:24:19.431Z] 5c102a31e300: Pulling fs layer [2020-06-29T05:24:19.431Z] dcfb455df0a1: Pulling fs layer [2020-06-29T05:24:19.431Z] bf5d7aec512f: Waiting [2020-06-29T05:24:19.431Z] 34c802a77dc8: Waiting [2020-06-29T05:24:19.431Z] 9eb99e56ec68: Waiting [2020-06-29T05:24:19.431Z] 27c7a5d97fbd: Waiting [2020-06-29T05:24:19.431Z] 5c102a31e300: Waiting [2020-06-29T05:24:19.431Z] dcfb455df0a1: Waiting [2020-06-29T05:24:19.431Z] 0e6b1d234666: Waiting [2020-06-29T05:24:19.431Z] 5788d62ee057: Waiting [2020-06-29T05:24:19.431Z] 0f37312ad70f: Download complete [2020-06-29T05:24:19.431Z] 2848faf0eed1: Verifying Checksum [2020-06-29T05:24:19.431Z] 2848faf0eed1: Download complete [2020-06-29T05:24:19.431Z] 0e6b1d234666: Verifying Checksum [2020-06-29T05:24:19.431Z] 0e6b1d234666: Download complete [2020-06-29T05:24:19.431Z] bf5d7aec512f: Verifying Checksum [2020-06-29T05:24:19.431Z] bf5d7aec512f: Download complete [2020-06-29T05:24:19.431Z] e6b0cf9c0882: Verifying Checksum [2020-06-29T05:24:19.431Z] e6b0cf9c0882: Download complete [2020-06-29T05:24:19.708Z] e6b0cf9c0882: Pull complete [2020-06-29T05:24:20.292Z] 34c802a77dc8: Download complete [2020-06-29T05:24:20.292Z] 27c7a5d97fbd: Verifying Checksum [2020-06-29T05:24:20.292Z] 27c7a5d97fbd: Download complete [2020-06-29T05:24:20.873Z] 9eb99e56ec68: Verifying Checksum [2020-06-29T05:24:20.873Z] 9eb99e56ec68: Download complete [2020-06-29T05:24:20.873Z] 5c102a31e300: Verifying Checksum [2020-06-29T05:24:20.873Z] 5c102a31e300: Download complete [2020-06-29T05:24:20.873Z] 5788d62ee057: Verifying Checksum [2020-06-29T05:24:20.873Z] 5788d62ee057: Download complete [2020-06-29T05:24:20.873Z] dcfb455df0a1: Download complete [2020-06-29T05:24:21.444Z] 2848faf0eed1: Pull complete [2020-06-29T05:24:21.707Z] 0f37312ad70f: Pull complete [2020-06-29T05:24:27.041Z] 5788d62ee057: Pull complete [2020-06-29T05:24:27.041Z] 0e6b1d234666: Pull complete [2020-06-29T05:24:27.041Z] bf5d7aec512f: Pull complete [2020-06-29T05:24:32.341Z] 34c802a77dc8: Pull complete [2020-06-29T05:24:35.640Z] 9eb99e56ec68: Pull complete [2020-06-29T05:24:35.640Z] 27c7a5d97fbd: Pull complete [2020-06-29T05:24:36.282Z] 5c102a31e300: Pull complete [2020-06-29T05:24:36.282Z] dcfb455df0a1: Pull complete [2020-06-29T05:24:36.282Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-29T05:24:36.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-29T05:24:36.282Z] ---> 7c70fe431013 [2020-06-29T05:24:36.282Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-29T05:24:37.224Z] ---> Running in 450b17d2ae0d [2020-06-29T05:24:37.485Z] Removing intermediate container 450b17d2ae0d [2020-06-29T05:24:37.485Z] ---> a9d7f89670d3 [2020-06-29T05:24:37.485Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-29T05:24:37.485Z] ---> Running in 81aef0dace6a [2020-06-29T05:24:38.872Z] Removing intermediate container 81aef0dace6a [2020-06-29T05:24:38.872Z] ---> 7a09a571c241 [2020-06-29T05:24:38.872Z] Step 5/8 : RUN apk add --no-cache make git [2020-06-29T05:24:38.872Z] ---> Running in b050db03dee1 [2020-06-29T05:24:39.443Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-29T05:24:40.014Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-29T05:24:40.583Z] OK: 143 MiB in 39 packages [2020-06-29T05:24:40.844Z] Removing intermediate container b050db03dee1 [2020-06-29T05:24:40.844Z] ---> cc4014b6c4e7 [2020-06-29T05:24:40.844Z] Step 6/8 : WORKDIR /device-sdk-go [2020-06-29T05:24:40.844Z] ---> Running in c6952f680c72 [2020-06-29T05:24:41.111Z] Removing intermediate container c6952f680c72 [2020-06-29T05:24:41.111Z] ---> 63fc83e4b8fe [2020-06-29T05:24:41.111Z] Step 7/8 : COPY . . [2020-06-29T05:24:42.504Z] ---> 5201cebb8a94 [2020-06-29T05:24:42.504Z] Step 8/8 : RUN go mod download [2020-06-29T05:24:42.504Z] ---> Running in c38d2dd7c8e4 [2020-06-29T05:24:44.423Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-29T05:24:44.423Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-29T05:24:44.423Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-29T05:24:44.423Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-29T05:24:44.423Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-29T05:24:44.423Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-29T05:24:44.423Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-29T05:24:44.423Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-29T05:24:44.683Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-29T05:24:44.683Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-29T05:24:44.683Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-29T05:24:44.683Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-29T05:24:44.683Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-29T05:24:44.684Z] go: finding github.com/fatih/color v1.7.0 [2020-06-29T05:24:44.684Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-29T05:24:44.684Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-29T05:24:44.684Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-29T05:24:44.684Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-29T05:24:44.684Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-29T05:24:44.684Z] go: finding github.com/google/uuid v1.1.0 [2020-06-29T05:24:44.684Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-29T05:24:44.944Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-29T05:24:44.944Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-29T05:24:44.944Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-29T05:24:44.944Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-29T05:24:44.944Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-29T05:24:44.944Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-29T05:24:44.944Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-29T05:24:44.944Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-29T05:24:44.944Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-29T05:24:44.944Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-29T05:24:44.944Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-29T05:24:44.944Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-29T05:24:45.204Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-29T05:24:45.204Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-29T05:24:45.204Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-29T05:24:45.204Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-29T05:24:45.204Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-29T05:24:45.204Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-29T05:24:45.204Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-29T05:24:45.204Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-29T05:24:45.204Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-29T05:24:45.204Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-29T05:24:45.204Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-29T05:24:45.204Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-29T05:24:45.204Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-29T05:24:45.464Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-29T05:24:45.464Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-29T05:24:45.464Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-29T05:24:45.464Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-29T05:24:45.464Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-29T05:24:45.464Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-29T05:24:45.464Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-29T05:24:45.464Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-29T05:24:45.464Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-29T05:24:45.464Z] go: finding github.com/posener/complete v1.1.1 [2020-06-29T05:24:45.464Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-29T05:24:45.724Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-29T05:24:45.724Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-29T05:24:45.724Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-29T05:24:45.724Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-29T05:24:45.724Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-29T05:24:45.724Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-29T05:24:45.724Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-29T05:24:45.724Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-29T05:24:45.724Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-29T05:24:45.724Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-29T05:24:45.724Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-29T05:24:53.870Z] Removing intermediate container c38d2dd7c8e4 [2020-06-29T05:24:53.870Z] ---> 9865a8e98286 [2020-06-29T05:24:53.870Z] Successfully built 9865a8e98286 [2020-06-29T05:24:53.870Z] 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-06-29T05:24:54.336Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-29T05:24:54.336Z] . [Pipeline] withDockerContainer [2020-06-29T05:24:54.499Z] prd-centos7-docker-4c-2g-4764 does not seem to be running inside a container [2020-06-29T05:24:54.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/47 -v /w/workspace/device-sdk-go/47:/w/workspace/device-sdk-go/47:rw,z -v /w/workspace/device-sdk-go/47@tmp:/w/workspace/device-sdk-go/47@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 ******** -e ******** ci-base-image-x86_64 cat [2020-06-29T05:24:55.752Z] $ docker top dd10d6568176386346ce6bb4921894123811d122efa2e8b9ae398b2711a31893 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-29T05:24:56.203Z] + go version [2020-06-29T05:24:56.203Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-29T05:24:56.498Z] + make test [2020-06-29T05:24:56.498Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-29T05:24:57.451Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-06-29T05:25:07.608Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-06-29T05:25:07.608Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-06-29T05:25:07.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-06-29T05:25:07.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.008s coverage: 22.1% of statements [2020-06-29T05:25:09.010Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.036s coverage: 95.8% of statements [2020-06-29T05:25:41.140Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 11.4% of statements [2020-06-29T05:25:41.140Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements [2020-06-29T05:25:41.140Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-06-29T05:25:41.140Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.094s coverage: 36.9% of statements [2020-06-29T05:25:41.140Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-06-29T05:25:41.140Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.429s coverage: 65.2% of statements [2020-06-29T05:25:41.140Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-06-29T05:25:41.140Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-06-29T05:25:41.140Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-06-29T05:25:41.140Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.022s coverage: 52.6% of statements [2020-06-29T05:25:41.140Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.094s coverage: 68.9% of statements [2020-06-29T05:25:41.140Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-06-29T05:25:41.140Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-06-29T05:25:41.140Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-29T05:25:41.140Z] gofmt -l . [2020-06-29T05:25:41.140Z] [ "`gofmt -l .`" = "" ] [2020-06-29T05:25:41.140Z] ./bin/test-attribution-txt.sh [2020-06-29T05:25:41.400Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-29T05:25:41.917Z] Stashed 1 file(s) [Pipeline] } [2020-06-29T05:25:41.921Z] $ docker stop --time=1 dd10d6568176386346ce6bb4921894123811d122efa2e8b9ae398b2711a31893 [2020-06-29T05:25:43.422Z] $ docker rm -f dd10d6568176386346ce6bb4921894123811d122efa2e8b9ae398b2711a31893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-29T05:25:45.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-29T05:25:45.493Z] + ls -al . [2020-06-29T05:25:45.493Z] total 184 [2020-06-29T05:25:45.493Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jun 29 05:25 . [2020-06-29T05:25:45.493Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 29 05:24 .. [2020-06-29T05:25:45.493Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 29 05:24 api [2020-06-29T05:25:45.493Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 29 05:24 bin [2020-06-29T05:25:45.493Z] -rw-r--r--. 1 jenkins jenkins 110877 Jun 29 05:25 coverage.out [2020-06-29T05:25:45.493Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 29 05:24 Dockerfile.build [2020-06-29T05:25:45.493Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 29 05:24 .dockerignore [2020-06-29T05:25:45.493Z] drwxrwxr-x. 4 jenkins jenkins 48 Jun 29 05:24 example [2020-06-29T05:25:45.493Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 29 05:24 .git [2020-06-29T05:25:45.493Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 29 05:24 .github [2020-06-29T05:25:45.493Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 29 05:24 .gitignore [2020-06-29T05:25:45.493Z] -rw-r--r--. 1 jenkins jenkins 446 Jun 29 05:25 go.mod [2020-06-29T05:25:45.493Z] -rw-r--r--. 1 jenkins jenkins 12179 Jun 29 05:25 go.sum [2020-06-29T05:25:45.493Z] drwxrwxr-x. 13 jenkins jenkins 184 Jun 29 05:24 internal [2020-06-29T05:25:45.493Z] -rw-rw-r--. 1 jenkins jenkins 808 Jun 29 05:24 Jenkinsfile [2020-06-29T05:25:45.493Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 29 05:24 LICENSE [2020-06-29T05:25:45.493Z] -rw-rw-r--. 1 jenkins jenkins 892 Jun 29 05:24 Makefile [2020-06-29T05:25:45.493Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 29 05:24 pkg [2020-06-29T05:25:45.493Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jun 29 05:24 README.md [2020-06-29T05:25:45.493Z] -rw-rw-r--. 1 jenkins jenkins 3997 Jun 29 05:24 RELEASE-NOTES.txt [2020-06-29T05:25:45.493Z] drwxrwxr-x. 3 jenkins jenkins 44 Jun 29 05:24 .semver [2020-06-29T05:25:45.493Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 29 05:24 snap [2020-06-29T05:25:45.493Z] -rw-rw-r--. 1 jenkins jenkins 11 Jun 29 05:20 VERSION [2020-06-29T05:25:45.493Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 29 05:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:25:45.793Z] + 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=75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 --label arch=amd64 --label version=1.2.3-dev.3 . [2020-06-29T05:25:46.054Z] Sending build context to Docker daemon 3.201MB [2020-06-29T05:25:46.054Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-06-29T05:25:46.054Z] Step 2/23 : FROM ${BASE} AS builder [2020-06-29T05:25:46.054Z] ---> 9865a8e98286 [2020-06-29T05:25:46.054Z] Step 3/23 : ARG MAKE='make build' [2020-06-29T05:25:46.316Z] ---> Running in 4b2dab5e2c5e [2020-06-29T05:25:46.578Z] Removing intermediate container 4b2dab5e2c5e [2020-06-29T05:25:46.578Z] ---> 60f60e49f09f [2020-06-29T05:25:46.578Z] Step 4/23 : WORKDIR /device-sdk-go [2020-06-29T05:25:46.578Z] ---> Running in fd385016de6e [2020-06-29T05:25:46.839Z] Removing intermediate container fd385016de6e [2020-06-29T05:25:46.839Z] ---> ef8513022f14 [2020-06-29T05:25:46.839Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-29T05:25:46.839Z] ---> Running in 402ae931cde8 [2020-06-29T05:25:47.100Z] Removing intermediate container 402ae931cde8 [2020-06-29T05:25:47.100Z] ---> 3040e7cc12ab [2020-06-29T05:25:47.100Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-29T05:25:47.100Z] ---> Running in 4df928dd2a54 [2020-06-29T05:25:48.048Z] Removing intermediate container 4df928dd2a54 [2020-06-29T05:25:48.048Z] ---> dcca8fc0b60d [2020-06-29T05:25:48.048Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-06-29T05:25:48.048Z] ---> Running in 544e5a4b11b1 [2020-06-29T05:25:48.308Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-29T05:25:49.249Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-29T05:25:49.512Z] OK: 143 MiB in 39 packages [2020-06-29T05:25:49.773Z] Removing intermediate container 544e5a4b11b1 [2020-06-29T05:25:49.773Z] ---> d2008cc8c4cc [2020-06-29T05:25:49.773Z] Step 8/23 : COPY . . [2020-06-29T05:25:51.165Z] ---> 7d44085fa704 [2020-06-29T05:25:51.165Z] Step 9/23 : RUN ${MAKE} [2020-06-29T05:25:51.165Z] ---> Running in 86b64806bd1e [2020-06-29T05:25:51.430Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.3" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-06-29T05:25:59.638Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-06-29T05:26:00.578Z] Removing intermediate container 86b64806bd1e [2020-06-29T05:26:00.578Z] ---> 464f9a794a15 [2020-06-29T05:26:00.578Z] Step 10/23 : FROM scratch [2020-06-29T05:26:00.578Z] ---> [2020-06-29T05:26:00.578Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-29T05:26:00.578Z] ---> Running in 68dd59526a95 [2020-06-29T05:26:00.578Z] Removing intermediate container 68dd59526a95 [2020-06-29T05:26:00.578Z] ---> 6d7e426f885a [2020-06-29T05:26:00.578Z] Step 12/23 : ENV APP_PORT=49990 [2020-06-29T05:26:00.578Z] ---> Running in 4b22c3d1019e [2020-06-29T05:26:00.838Z] Removing intermediate container 4b22c3d1019e [2020-06-29T05:26:00.838Z] ---> 7855dcf7478d [2020-06-29T05:26:00.838Z] Step 13/23 : EXPOSE $APP_PORT [2020-06-29T05:26:00.838Z] ---> Running in cfee0a2c4244 [2020-06-29T05:26:01.099Z] Removing intermediate container cfee0a2c4244 [2020-06-29T05:26:01.099Z] ---> 669bdde67e5c [2020-06-29T05:26:01.099Z] Step 14/23 : WORKDIR / [2020-06-29T05:26:01.099Z] ---> Running in 4ad8b5578483 [2020-06-29T05:26:01.099Z] Removing intermediate container 4ad8b5578483 [2020-06-29T05:26:01.099Z] ---> 24688a7c89b9 [2020-06-29T05:26:01.099Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-06-29T05:26:01.687Z] ---> 7bf9bc626666 [2020-06-29T05:26:01.687Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-06-29T05:26:01.687Z] ---> de81860ccc54 [2020-06-29T05:26:01.687Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-06-29T05:26:01.948Z] ---> 632bc04e1498 [2020-06-29T05:26:01.948Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-06-29T05:26:02.211Z] ---> d20ea3a20be3 [2020-06-29T05:26:02.211Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-06-29T05:26:02.473Z] ---> d00751505bbe [2020-06-29T05:26:02.473Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-06-29T05:26:02.473Z] ---> Running in f2a42f024d17 [2020-06-29T05:26:02.734Z] Removing intermediate container f2a42f024d17 [2020-06-29T05:26:02.734Z] ---> 617f9cac0ea2 [2020-06-29T05:26:02.734Z] Step 21/23 : LABEL arch=amd64 [2020-06-29T05:26:02.734Z] ---> Running in 4e582a02bc4a [2020-06-29T05:26:02.995Z] Removing intermediate container 4e582a02bc4a [2020-06-29T05:26:02.995Z] ---> 2aec95b9ea51 [2020-06-29T05:26:02.995Z] Step 22/23 : LABEL git_sha=75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 [2020-06-29T05:26:02.995Z] ---> Running in 7aef7e215886 [2020-06-29T05:26:03.257Z] Removing intermediate container 7aef7e215886 [2020-06-29T05:26:03.257Z] ---> 2563c0df17c3 [2020-06-29T05:26:03.257Z] Step 23/23 : LABEL version=1.2.3-dev.3 [2020-06-29T05:26:03.257Z] ---> Running in e60256d81601 [2020-06-29T05:26:03.257Z] Removing intermediate container e60256d81601 [2020-06-29T05:26:03.257Z] ---> 7e2d559bde19 [2020-06-29T05:26:03.257Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-29T05:26:03.257Z] Successfully built 7e2d559bde19 [2020-06-29T05:26:03.518Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-06-29T05:27:45.782Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4768 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-06-29T05:27:45.805Z] Running in /w/workspace/device-sdk-go/47 [Pipeline] { [Pipeline] checkout [2020-06-29T05:27:50.472Z] using credential edgex-jenkins-ssh [2020-06-29T05:27:50.506Z] Cloning the remote Git repository [2020-06-29T05:27:50.507Z] Cloning with configured refspecs honoured and without tags [2020-06-29T05:27:50.538Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-06-29T05:27:50.658Z] > git init /w/workspace/device-sdk-go/47 # timeout=10 [2020-06-29T05:27:50.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-29T05:27:50.742Z] > git --version # timeout=10 [2020-06-29T05:27:50.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-29T05:27:50.876Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-29T05:27:51.777Z] Fetching without tags [2020-06-29T05:27:51.679Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-29T05:27:51.703Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-29T05:27:51.729Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-29T05:27:51.762Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-29T05:27:51.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-29T05:27:51.775Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-29T05:27:52.225Z] Checking out Revision 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 (master) [2020-06-29T05:27:52.216Z] > git config core.sparsecheckout # timeout=10 [2020-06-29T05:27:52.227Z] > git checkout -f 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 # timeout=10 [2020-06-29T05:27:56.784Z] Commit message: "Merge pull request #545 from lenny-intel/monitoring" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-29T05:27:57.976Z] ========================================================= [2020-06-29T05:27:57.976Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-29T05:27:57.976Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:27:59.029Z] + 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-06-29T05:28:00.014Z] Sending build context to Docker daemon 3.073MB [2020-06-29T05:28:00.014Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-29T05:28:00.014Z] Step 2/8 : FROM ${BASE} [2020-06-29T05:28:00.292Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-29T05:28:00.292Z] cde5963f3b93: Pulling fs layer [2020-06-29T05:28:00.292Z] 2a23fa8c16f7: Pulling fs layer [2020-06-29T05:28:00.292Z] 777b28850792: Pulling fs layer [2020-06-29T05:28:00.292Z] 8a11ddd9e578: Pulling fs layer [2020-06-29T05:28:00.292Z] 4cf88f913ddb: Pulling fs layer [2020-06-29T05:28:00.292Z] 1df406cf5192: Pulling fs layer [2020-06-29T05:28:00.292Z] cd6300453558: Pulling fs layer [2020-06-29T05:28:00.292Z] b9c365052c96: Pulling fs layer [2020-06-29T05:28:00.292Z] a2d8cc88f415: Pulling fs layer [2020-06-29T05:28:00.292Z] ea1d1ca13537: Pulling fs layer [2020-06-29T05:28:00.292Z] 3750a50a1c5e: Pulling fs layer [2020-06-29T05:28:00.292Z] 4cf88f913ddb: Waiting [2020-06-29T05:28:00.292Z] 1df406cf5192: Waiting [2020-06-29T05:28:00.292Z] cd6300453558: Waiting [2020-06-29T05:28:00.292Z] b9c365052c96: Waiting [2020-06-29T05:28:00.292Z] a2d8cc88f415: Waiting [2020-06-29T05:28:00.292Z] ea1d1ca13537: Waiting [2020-06-29T05:28:00.292Z] 3750a50a1c5e: Waiting [2020-06-29T05:28:00.292Z] 8a11ddd9e578: Waiting [2020-06-29T05:28:00.292Z] 777b28850792: Verifying Checksum [2020-06-29T05:28:00.292Z] 777b28850792: Download complete [2020-06-29T05:28:00.292Z] 2a23fa8c16f7: Verifying Checksum [2020-06-29T05:28:00.292Z] 2a23fa8c16f7: Download complete [2020-06-29T05:28:00.292Z] 4cf88f913ddb: Verifying Checksum [2020-06-29T05:28:00.292Z] 4cf88f913ddb: Download complete [2020-06-29T05:28:00.292Z] 1df406cf5192: Verifying Checksum [2020-06-29T05:28:00.292Z] 1df406cf5192: Download complete [2020-06-29T05:28:00.292Z] cde5963f3b93: Download complete [2020-06-29T05:28:01.272Z] cde5963f3b93: Pull complete [2020-06-29T05:28:01.884Z] 2a23fa8c16f7: Pull complete [2020-06-29T05:28:02.159Z] 777b28850792: Pull complete [2020-06-29T05:28:03.593Z] cd6300453558: Download complete [2020-06-29T05:28:03.593Z] a2d8cc88f415: Verifying Checksum [2020-06-29T05:28:03.593Z] a2d8cc88f415: Download complete [2020-06-29T05:28:04.572Z] ea1d1ca13537: Verifying Checksum [2020-06-29T05:28:04.572Z] ea1d1ca13537: Download complete [2020-06-29T05:28:04.843Z] 3750a50a1c5e: Verifying Checksum [2020-06-29T05:28:04.843Z] 3750a50a1c5e: Download complete [2020-06-29T05:28:05.118Z] b9c365052c96: Verifying Checksum [2020-06-29T05:28:05.118Z] b9c365052c96: Download complete [2020-06-29T05:28:06.096Z] 8a11ddd9e578: Verifying Checksum [2020-06-29T05:28:06.096Z] 8a11ddd9e578: Download complete [2020-06-29T05:28:18.503Z] 8a11ddd9e578: Pull complete [2020-06-29T05:28:18.503Z] 4cf88f913ddb: Pull complete [2020-06-29T05:28:18.503Z] 1df406cf5192: Pull complete [2020-06-29T05:28:22.815Z] cd6300453558: Pull complete [2020-06-29T05:28:28.228Z] b9c365052c96: Pull complete [2020-06-29T05:28:28.228Z] a2d8cc88f415: Pull complete [2020-06-29T05:28:30.202Z] ea1d1ca13537: Pull complete [2020-06-29T05:28:30.202Z] 3750a50a1c5e: Pull complete [2020-06-29T05:28:30.202Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-29T05:28:30.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-29T05:28:30.202Z] ---> 78745c68409d [2020-06-29T05:28:30.202Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-29T05:28:35.611Z] ---> Running in 76fbf9721951 [2020-06-29T05:28:35.611Z] Removing intermediate container 76fbf9721951 [2020-06-29T05:28:35.611Z] ---> 926d2d486bd4 [2020-06-29T05:28:35.611Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-29T05:28:35.611Z] ---> Running in a8a3bdafe1de [2020-06-29T05:28:38.238Z] Removing intermediate container a8a3bdafe1de [2020-06-29T05:28:38.238Z] ---> 5200d54ef74e [2020-06-29T05:28:38.238Z] Step 5/8 : RUN apk add --no-cache make git [2020-06-29T05:28:38.238Z] ---> Running in 84b368b97dec [2020-06-29T05:28:39.670Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-29T05:28:40.647Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-29T05:28:41.237Z] OK: 125 MiB in 39 packages [2020-06-29T05:28:42.220Z] Removing intermediate container 84b368b97dec [2020-06-29T05:28:42.220Z] ---> b24fe307a3a1 [2020-06-29T05:28:42.220Z] Step 6/8 : WORKDIR /device-sdk-go [2020-06-29T05:28:42.495Z] ---> Running in fda3d4d2b660 [2020-06-29T05:28:42.766Z] Removing intermediate container fda3d4d2b660 [2020-06-29T05:28:42.766Z] ---> 78370e85e885 [2020-06-29T05:28:42.766Z] Step 7/8 : COPY . . [2020-06-29T05:28:44.198Z] ---> ae0896d1d079 [2020-06-29T05:28:44.198Z] Step 8/8 : RUN go mod download [2020-06-29T05:28:44.198Z] ---> Running in 4fa361a09cbb [2020-06-29T05:28:46.830Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-29T05:28:47.100Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-29T05:28:47.100Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-29T05:28:47.100Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-29T05:28:47.100Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-29T05:28:47.100Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-29T05:28:47.100Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-29T05:28:47.100Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-29T05:28:47.100Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-29T05:28:47.100Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-29T05:28:47.100Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-29T05:28:47.100Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-29T05:28:47.371Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-29T05:28:47.371Z] go: finding github.com/fatih/color v1.7.0 [2020-06-29T05:28:47.371Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-29T05:28:47.371Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-29T05:28:47.371Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-29T05:28:47.371Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-29T05:28:47.371Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-29T05:28:47.371Z] go: finding github.com/google/uuid v1.1.0 [2020-06-29T05:28:47.371Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-29T05:28:47.371Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-29T05:28:47.371Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-29T05:28:47.641Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-29T05:28:47.641Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-29T05:28:47.641Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-29T05:28:47.641Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-29T05:28:47.641Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-29T05:28:47.641Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-29T05:28:47.641Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-29T05:28:47.641Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-29T05:28:47.912Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-29T05:28:47.912Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-29T05:28:47.912Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-29T05:28:47.912Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-29T05:28:47.912Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-29T05:28:47.912Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-29T05:28:47.912Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-29T05:28:47.912Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-29T05:28:47.912Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-29T05:28:47.912Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-29T05:28:47.912Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-29T05:28:48.182Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-29T05:28:48.182Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-29T05:28:48.182Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-29T05:28:48.182Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-29T05:28:48.182Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-29T05:28:48.182Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-29T05:28:48.182Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-29T05:28:48.182Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-29T05:28:48.182Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-29T05:28:48.182Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-29T05:28:48.182Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-29T05:28:48.452Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-29T05:28:48.452Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-29T05:28:48.452Z] go: finding github.com/posener/complete v1.1.1 [2020-06-29T05:28:48.452Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-29T05:28:48.452Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-29T05:28:48.452Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-29T05:28:48.452Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-29T05:28:48.452Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-29T05:28:48.452Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-29T05:28:48.452Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-29T05:28:48.452Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-29T05:28:48.452Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-29T05:28:48.722Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-29T05:28:48.723Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-29T05:28:48.723Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-29T05:28:58.874Z] Removing intermediate container 4fa361a09cbb [2020-06-29T05:28:58.874Z] ---> fdaa4b5e1724 [2020-06-29T05:28:58.874Z] Successfully built fdaa4b5e1724 [2020-06-29T05:28:58.874Z] 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-06-29T05:28:59.513Z] + docker inspect -f . ci-base-image-arm64 [2020-06-29T05:28:59.514Z] . [Pipeline] withDockerContainer [2020-06-29T05:28:59.785Z] prd-ubuntu18.04-docker-arm64-4c-16g-4768 does not seem to be running inside a container [2020-06-29T05:28:59.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/47 -v /w/workspace/device-sdk-go/47:/w/workspace/device-sdk-go/47:rw,z -v /w/workspace/device-sdk-go/47@tmp:/w/workspace/device-sdk-go/47@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 ******** -e ******** ci-base-image-arm64 cat [2020-06-29T05:29:01.742Z] $ docker top e2a5179665913f6c8f03d2295bd65eba733c1cb9b0e986a2d23d706eeb0cee7f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-29T05:29:03.132Z] + go version [2020-06-29T05:29:03.132Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-29T05:29:04.180Z] + make test [2020-06-29T05:29:04.180Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-29T05:29:05.159Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-06-29T05:29:37.530Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-06-29T05:29:37.530Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-06-29T05:29:37.530Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-06-29T05:29:37.530Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.044s coverage: 22.1% of statements [2020-06-29T05:29:37.530Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.169s coverage: 95.8% of statements [2020-06-29T05:30:09.870Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.075s coverage: 11.4% of statements [2020-06-29T05:30:09.870Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 21.7% of statements [2020-06-29T05:30:09.870Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-06-29T05:30:09.870Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.158s coverage: 36.9% of statements [2020-06-29T05:30:09.870Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-06-29T05:30:09.870Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.545s coverage: 65.2% of statements [2020-06-29T05:30:09.870Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-06-29T05:30:09.870Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-06-29T05:30:09.870Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-06-29T05:30:09.870Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.138s coverage: 52.6% of statements [2020-06-29T05:30:09.870Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.335s coverage: 68.9% of statements [2020-06-29T05:30:09.870Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-06-29T05:30:09.870Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-06-29T05:30:09.870Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-29T05:30:11.851Z] gofmt -l . [2020-06-29T05:30:12.123Z] [ "`gofmt -l .`" = "" ] [2020-06-29T05:30:12.395Z] ./bin/test-attribution-txt.sh [2020-06-29T05:30:13.372Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-29T05:30:13.660Z] Warning: overwriting stash ‘coverage-report’ [2020-06-29T05:30:14.111Z] Stashed 1 file(s) [Pipeline] } [2020-06-29T05:30:14.088Z] $ docker stop --time=1 e2a5179665913f6c8f03d2295bd65eba733c1cb9b0e986a2d23d706eeb0cee7f [2020-06-29T05:30:16.254Z] $ docker rm -f e2a5179665913f6c8f03d2295bd65eba733c1cb9b0e986a2d23d706eeb0cee7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-29T05:30:17.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-29T05:30:17.622Z] + ls -al . [2020-06-29T05:30:17.622Z] total 224 [2020-06-29T05:30:17.622Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 05:30 . [2020-06-29T05:30:17.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 05:27 .. [2020-06-29T05:30:17.622Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 05:27 .dockerignore [2020-06-29T05:30:17.622Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 05:27 .git [2020-06-29T05:30:17.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 05:27 .github [2020-06-29T05:30:17.622Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 29 05:27 .gitignore [2020-06-29T05:30:17.622Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 05:27 .semver [2020-06-29T05:30:17.622Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 29 05:27 Dockerfile.build [2020-06-29T05:30:17.622Z] -rw-rw-r-- 1 jenkins jenkins 808 Jun 29 05:27 Jenkinsfile [2020-06-29T05:30:17.622Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 29 05:27 LICENSE [2020-06-29T05:30:17.622Z] -rw-rw-r-- 1 jenkins jenkins 892 Jun 29 05:27 Makefile [2020-06-29T05:30:17.622Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jun 29 05:27 README.md [2020-06-29T05:30:17.622Z] -rw-rw-r-- 1 jenkins jenkins 3997 Jun 29 05:27 RELEASE-NOTES.txt [2020-06-29T05:30:17.622Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 29 05:20 VERSION [2020-06-29T05:30:17.622Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 05:27 api [2020-06-29T05:30:17.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 05:27 bin [2020-06-29T05:30:17.622Z] -rw-r--r-- 1 jenkins jenkins 110877 Jun 29 05:30 coverage.out [2020-06-29T05:30:17.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 05:27 example [2020-06-29T05:30:17.622Z] -rw-r--r-- 1 jenkins jenkins 446 Jun 29 05:30 go.mod [2020-06-29T05:30:17.622Z] -rw-r--r-- 1 jenkins jenkins 12179 Jun 29 05:30 go.sum [2020-06-29T05:30:17.622Z] drwxrwxr-x 13 jenkins jenkins 4096 Jun 29 05:27 internal [2020-06-29T05:30:17.622Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 05:27 pkg [2020-06-29T05:30:17.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 05:27 snap [2020-06-29T05:30:17.622Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 29 05:27 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:30:17.955Z] + 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=75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 --label arch=arm64 --label version=1.2.3-dev.3 . [2020-06-29T05:30:18.551Z] Sending build context to Docker daemon 3.201MB [2020-06-29T05:30:18.551Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-06-29T05:30:18.551Z] Step 2/23 : FROM ${BASE} AS builder [2020-06-29T05:30:18.551Z] ---> fdaa4b5e1724 [2020-06-29T05:30:18.551Z] Step 3/23 : ARG MAKE='make build' [2020-06-29T05:30:18.822Z] ---> Running in abcb2f51d547 [2020-06-29T05:30:19.093Z] Removing intermediate container abcb2f51d547 [2020-06-29T05:30:19.093Z] ---> 6487c6b8e27c [2020-06-29T05:30:19.093Z] Step 4/23 : WORKDIR /device-sdk-go [2020-06-29T05:30:19.364Z] ---> Running in dbfa05cccb5b [2020-06-29T05:30:19.956Z] Removing intermediate container dbfa05cccb5b [2020-06-29T05:30:19.956Z] ---> 68909713e667 [2020-06-29T05:30:19.956Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-29T05:30:19.956Z] ---> Running in f393199d6061 [2020-06-29T05:30:20.550Z] Removing intermediate container f393199d6061 [2020-06-29T05:30:20.550Z] ---> 9dac62218ee9 [2020-06-29T05:30:20.550Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-29T05:30:20.550Z] ---> Running in 197f166452fa [2020-06-29T05:30:23.162Z] Removing intermediate container 197f166452fa [2020-06-29T05:30:23.162Z] ---> 2a55fbf5e97d [2020-06-29T05:30:23.162Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-06-29T05:30:23.162Z] ---> Running in 74a88555d411 [2020-06-29T05:30:24.594Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-29T05:30:25.569Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-29T05:30:26.542Z] OK: 125 MiB in 39 packages [2020-06-29T05:30:27.515Z] Removing intermediate container 74a88555d411 [2020-06-29T05:30:27.515Z] ---> bef4c3739fe1 [2020-06-29T05:30:27.515Z] Step 8/23 : COPY . . [2020-06-29T05:30:28.942Z] ---> 0ae74dda53cd [2020-06-29T05:30:28.942Z] Step 9/23 : RUN ${MAKE} [2020-06-29T05:30:28.942Z] ---> Running in 8c1eee9b1c87 [2020-06-29T05:30:30.375Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.3" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-06-29T05:30:52.548Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-06-29T05:30:55.165Z] Removing intermediate container 8c1eee9b1c87 [2020-06-29T05:30:55.165Z] ---> 4b8b2ab5e15a [2020-06-29T05:30:55.165Z] Step 10/23 : FROM scratch [2020-06-29T05:30:55.165Z] ---> [2020-06-29T05:30:55.165Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-29T05:30:55.165Z] ---> Running in 2e70d69044a7 [2020-06-29T05:30:55.764Z] Removing intermediate container 2e70d69044a7 [2020-06-29T05:30:55.764Z] ---> bd60e4301c18 [2020-06-29T05:30:55.764Z] Step 12/23 : ENV APP_PORT=49990 [2020-06-29T05:30:55.764Z] ---> Running in 6f33aeaf8979 [2020-06-29T05:30:56.362Z] Removing intermediate container 6f33aeaf8979 [2020-06-29T05:30:56.362Z] ---> 62e3015ae581 [2020-06-29T05:30:56.362Z] Step 13/23 : EXPOSE $APP_PORT [2020-06-29T05:30:56.362Z] ---> Running in 798aad1ca1af [2020-06-29T05:30:56.635Z] Removing intermediate container 798aad1ca1af [2020-06-29T05:30:56.635Z] ---> 7d2ec21ef48f [2020-06-29T05:30:56.635Z] Step 14/23 : WORKDIR / [2020-06-29T05:30:56.635Z] ---> Running in 3d17c98c2726 [2020-06-29T05:30:57.229Z] Removing intermediate container 3d17c98c2726 [2020-06-29T05:30:57.229Z] ---> 76431de56abd [2020-06-29T05:30:57.229Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-06-29T05:30:58.661Z] ---> ddbf67367829 [2020-06-29T05:30:58.661Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-06-29T05:30:59.256Z] ---> e5c351e4867e [2020-06-29T05:30:59.256Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-06-29T05:30:59.851Z] ---> 953831173af7 [2020-06-29T05:30:59.851Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-06-29T05:31:00.460Z] ---> 8e94659a20a5 [2020-06-29T05:31:00.460Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-06-29T05:31:01.439Z] ---> f03dc1b30c2c [2020-06-29T05:31:01.439Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-06-29T05:31:01.439Z] ---> Running in 41fcfba3abb3 [2020-06-29T05:31:02.034Z] Removing intermediate container 41fcfba3abb3 [2020-06-29T05:31:02.034Z] ---> cdf732129be1 [2020-06-29T05:31:02.034Z] Step 21/23 : LABEL arch=arm64 [2020-06-29T05:31:02.034Z] ---> Running in bc44ff6799de [2020-06-29T05:31:02.309Z] Removing intermediate container bc44ff6799de [2020-06-29T05:31:02.309Z] ---> 807eff6ae167 [2020-06-29T05:31:02.309Z] Step 22/23 : LABEL git_sha=75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 [2020-06-29T05:31:02.583Z] ---> Running in bfae72d4b223 [2020-06-29T05:31:02.855Z] Removing intermediate container bfae72d4b223 [2020-06-29T05:31:02.855Z] ---> 01f3fba5a426 [2020-06-29T05:31:02.855Z] Step 23/23 : LABEL version=1.2.3-dev.3 [2020-06-29T05:31:03.126Z] ---> Running in e26a7287a6cb [2020-06-29T05:31:03.400Z] Removing intermediate container e26a7287a6cb [2020-06-29T05:31:03.400Z] ---> cbb94994ebc8 [2020-06-29T05:31:03.400Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-29T05:31:03.400Z] Successfully built cbb94994ebc8 [2020-06-29T05:31:03.400Z] 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-06-29T05:31:04.373Z] provisioning config files... [2020-06-29T05:31:04.386Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7641596715105491975tmp [Pipeline] { [Pipeline] sh [2020-06-29T05:31:04.708Z] + curl -s https://codecov.io/bash [2020-06-29T05:31:04.708Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7641596715105491975tmp [Pipeline] } [2020-06-29T05:31:04.977Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-06-29T05:31:05.402Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-06-29T05:31:05.403Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-06-29T05:31:05.430Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:31:05.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-06-29T05:31:05.741Z] [2020-06-29T05:31:05.741Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:31:06.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-06-29T05:31:06.069Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-06-29T05:31:06.069Z] cbdbe7a5bc2a: Pulling fs layer [2020-06-29T05:31:06.069Z] 408f87550127: Pulling fs layer [2020-06-29T05:31:06.069Z] fe522b08c979: Pulling fs layer [2020-06-29T05:31:06.069Z] 221eaa008020: Pulling fs layer [2020-06-29T05:31:06.069Z] 2a4607e5d6b9: Pulling fs layer [2020-06-29T05:31:06.069Z] 8f79b27c4fd2: Pulling fs layer [2020-06-29T05:31:06.069Z] e5c8dbe1645b: Pulling fs layer [2020-06-29T05:31:06.069Z] 23e8b3b47431: Pulling fs layer [2020-06-29T05:31:06.069Z] 5c568d65a230: Pulling fs layer [2020-06-29T05:31:06.069Z] 23e8b3b47431: Waiting [2020-06-29T05:31:06.069Z] 2a4607e5d6b9: Waiting [2020-06-29T05:31:06.069Z] 5c568d65a230: Waiting [2020-06-29T05:31:06.069Z] 8f79b27c4fd2: Waiting [2020-06-29T05:31:06.069Z] e5c8dbe1645b: Waiting [2020-06-29T05:31:06.069Z] 221eaa008020: Waiting [2020-06-29T05:31:06.069Z] fe522b08c979: Verifying Checksum [2020-06-29T05:31:06.069Z] 408f87550127: Download complete [2020-06-29T05:31:06.069Z] 2a4607e5d6b9: Verifying Checksum [2020-06-29T05:31:06.069Z] 2a4607e5d6b9: Download complete [2020-06-29T05:31:06.069Z] 8f79b27c4fd2: Verifying Checksum [2020-06-29T05:31:06.069Z] 8f79b27c4fd2: Download complete [2020-06-29T05:31:06.069Z] cbdbe7a5bc2a: Verifying Checksum [2020-06-29T05:31:06.069Z] cbdbe7a5bc2a: Download complete [2020-06-29T05:31:06.667Z] e5c8dbe1645b: Verifying Checksum [2020-06-29T05:31:06.667Z] e5c8dbe1645b: Download complete [2020-06-29T05:31:06.667Z] cbdbe7a5bc2a: Pull complete [2020-06-29T05:31:06.944Z] 23e8b3b47431: Verifying Checksum [2020-06-29T05:31:06.944Z] 23e8b3b47431: Download complete [2020-06-29T05:31:06.944Z] 408f87550127: Pull complete [2020-06-29T05:31:07.207Z] 5c568d65a230: Verifying Checksum [2020-06-29T05:31:07.207Z] 5c568d65a230: Download complete [2020-06-29T05:31:07.474Z] fe522b08c979: Pull complete [2020-06-29T05:31:07.748Z] 221eaa008020: Verifying Checksum [2020-06-29T05:31:07.748Z] 221eaa008020: Download complete [2020-06-29T05:31:13.053Z] 221eaa008020: Pull complete [2020-06-29T05:31:13.053Z] 2a4607e5d6b9: Pull complete [2020-06-29T05:31:13.053Z] 8f79b27c4fd2: Pull complete [2020-06-29T05:31:14.969Z] e5c8dbe1645b: Pull complete [2020-06-29T05:31:18.280Z] 23e8b3b47431: Pull complete [2020-06-29T05:31:19.233Z] 5c568d65a230: Pull complete [2020-06-29T05:31:19.233Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-06-29T05:31:19.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-06-29T05:31:19.233Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-06-29T05:31:19.361Z] prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container [2020-06-29T05:31:19.406Z] $ 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.317.0 cat [2020-06-29T05:31:20.213Z] $ docker top 1ac235faa027871465ff7b818134fc28d096fa7fe7138d5d668c5cf12632b801 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-29T05:31:20.644Z] + snyk monitor '--org=edgex-jenkins' [2020-06-29T05:31:27.229Z] [2020-06-29T05:31:27.229Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-06-29T05:31:27.229Z] [2020-06-29T05:31:27.229Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/d9a41887-cfb1-403d-ac9d-6e5b2d48c3c3 [2020-06-29T05:31:27.229Z] [2020-06-29T05:31:27.229Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-06-29T05:31:27.229Z] [2020-06-29T05:31:27.229Z] [Pipeline] } [2020-06-29T05:31:27.250Z] $ docker stop --time=1 1ac235faa027871465ff7b818134fc28d096fa7fe7138d5d668c5cf12632b801 [2020-06-29T05:31:29.422Z] $ docker rm -f 1ac235faa027871465ff7b818134fc28d096fa7fe7138d5d668c5cf12632b801 [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-06-29T05:31:30.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-29T05:31:30.317Z] . [Pipeline] withDockerContainer [2020-06-29T05:31:30.411Z] prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container [2020-06-29T05:31:30.455Z] $ 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-06-29T05:31:31.247Z] $ docker top e3aca8f29e76bbaa204fdfbe7bacfbd60980158595e1a5353d62e694fa3b5e73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-29T05:31:31.432Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-29T05:31:31.432Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-29T05:31:31.655Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-29T05:31:31.662Z] $ docker exec e3aca8f29e76bbaa204fdfbe7bacfbd60980158595e1a5353d62e694fa3b5e73 ssh-agent [2020-06-29T05:31:31.819Z] SSH_AUTH_SOCK=/tmp/ssh-gsC9iP2z18RI/agent.12 [2020-06-29T05:31:31.819Z] SSH_AGENT_PID=18 [2020-06-29T05:31:31.825Z] Running ssh-add (command line suppressed) [2020-06-29T05:31:31.951Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_163661695034846290.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_163661695034846290.key) [2020-06-29T05:31:31.995Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-29T05:31:32.301Z] + git semver tag [2020-06-29T05:31:32.301Z] # -> Open(): unable to determine branch for HEAD [2020-06-29T05:31:32.301Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-06-29T05:31:32.301Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-06-29T05:31:32.301Z] # $SEMVER_REMOTE_NAME = origin [2020-06-29T05:31:32.301Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-29T05:31:32.301Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-29T05:31:32.301Z] # $SEMVER_BRANCH = master [2020-06-29T05:31:32.301Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-06-29T05:31:32.301Z] # 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 HEAD [2020-06-29T05:31:32.301Z] # -> Force: false [2020-06-29T05:31:32.301Z] # d2adae2d447cf5707f3db0774f6a848911b883dd refs/tags/v1.2.3-dev.3 [Pipeline] } [2020-06-29T05:31:32.316Z] $ docker exec --env ******** --env ******** e3aca8f29e76bbaa204fdfbe7bacfbd60980158595e1a5353d62e694fa3b5e73 ssh-agent -k [2020-06-29T05:31:32.434Z] unset SSH_AUTH_SOCK; [2020-06-29T05:31:32.434Z] unset SSH_AGENT_PID; [2020-06-29T05:31:32.434Z] echo Agent pid 18 killed; [2020-06-29T05:31:32.475Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-29T05:31:32.844Z] + git semver [Pipeline] } [2020-06-29T05:31:32.865Z] $ docker stop --time=1 e3aca8f29e76bbaa204fdfbe7bacfbd60980158595e1a5353d62e694fa3b5e73 [2020-06-29T05:31:34.180Z] $ docker rm -f e3aca8f29e76bbaa204fdfbe7bacfbd60980158595e1a5353d62e694fa3b5e73 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:31:34.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-29T05:31:34.707Z] [2020-06-29T05:31:34.707Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:31:35.029Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-29T05:31:35.029Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-06-29T05:31:35.029Z] ab5ef0e58194: Pulling fs layer [2020-06-29T05:31:35.029Z] 9712f1f96733: Pulling fs layer [2020-06-29T05:31:35.029Z] 63f879dbbcfc: Pulling fs layer [2020-06-29T05:31:35.029Z] 0d9ebad4ef96: Pulling fs layer [2020-06-29T05:31:35.029Z] e9a5061849ea: Pulling fs layer [2020-06-29T05:31:35.029Z] d747dcd14b5f: Pulling fs layer [2020-06-29T05:31:35.029Z] 2de7ff778b66: Pulling fs layer [2020-06-29T05:31:35.029Z] e9a5061849ea: Waiting [2020-06-29T05:31:35.029Z] d747dcd14b5f: Waiting [2020-06-29T05:31:35.029Z] 2de7ff778b66: Waiting [2020-06-29T05:31:35.029Z] 0d9ebad4ef96: Waiting [2020-06-29T05:31:35.029Z] 9712f1f96733: Verifying Checksum [2020-06-29T05:31:35.029Z] 9712f1f96733: Download complete [2020-06-29T05:31:35.611Z] 63f879dbbcfc: Verifying Checksum [2020-06-29T05:31:35.611Z] 63f879dbbcfc: Download complete [2020-06-29T05:31:35.611Z] e9a5061849ea: Verifying Checksum [2020-06-29T05:31:35.611Z] e9a5061849ea: Download complete [2020-06-29T05:31:35.611Z] d747dcd14b5f: Download complete [2020-06-29T05:31:35.877Z] 0d9ebad4ef96: Verifying Checksum [2020-06-29T05:31:35.877Z] 0d9ebad4ef96: Download complete [2020-06-29T05:31:36.143Z] 2de7ff778b66: Verifying Checksum [2020-06-29T05:31:36.143Z] 2de7ff778b66: Download complete [2020-06-29T05:31:36.143Z] ab5ef0e58194: Verifying Checksum [2020-06-29T05:31:36.143Z] ab5ef0e58194: Download complete [2020-06-29T05:31:40.391Z] ab5ef0e58194: Pull complete [2020-06-29T05:31:40.391Z] 9712f1f96733: Pull complete [2020-06-29T05:31:42.940Z] 63f879dbbcfc: Pull complete [2020-06-29T05:31:52.939Z] 0d9ebad4ef96: Pull complete [2020-06-29T05:31:52.939Z] e9a5061849ea: Pull complete [2020-06-29T05:31:52.939Z] d747dcd14b5f: Pull complete [2020-06-29T05:32:01.119Z] 2de7ff778b66: Pull complete [2020-06-29T05:32:01.119Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-06-29T05:32:01.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-29T05:32:01.119Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-06-29T05:32:01.344Z] prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container [2020-06-29T05:32:01.390Z] $ 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-06-29T05:32:04.281Z] $ docker top 9641db493c894fb1ceb921a85c6d077f0b40fde9796dbc563034a75002d11079 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-06-29T05:32:04.458Z] provisioning config files... [2020-06-29T05:32:04.468Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8751371478513705935tmp [2020-06-29T05:32:04.483Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8569402510039925842tmp [2020-06-29T05:32:04.496Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3190012347951301069tmp [Pipeline] { [Pipeline] echo [2020-06-29T05:32:04.523Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-29T05:32:04.817Z] ---> sigul-configuration.sh [2020-06-29T05:32:04.817Z] gpg: directory `/root/.gnupg' created [2020-06-29T05:32:04.817Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-06-29T05:32:04.817Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-06-29T05:32:04.817Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-06-29T05:32:04.817Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-06-29T05:32:04.817Z] gpg: CAST5 encrypted data [2020-06-29T05:32:05.078Z] gpg: encrypted with 1 passphrase [2020-06-29T05:32:05.078Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-06-29T05:32:05.380Z] + mkdir /home/jenkins [2020-06-29T05:32:05.380Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-06-29T05:32:05.672Z] + 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-06-29T05:32:05.681Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-29T05:32:05.971Z] ---> sigul-install.sh [2020-06-29T05:32:11.263Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-06-29T05:32:11.557Z] + git tag --list [2020-06-29T05:32:11.557Z] v1.2.3-dev.3 [Pipeline] sh [2020-06-29T05:32:11.851Z] + lftools sign git-tag v1.2.3-dev.3 [2020-06-29T05:32:13.237Z] Signing Git tag with Sigul... [2020-06-29T05:32:13.237Z] Signing v1.2.3-dev.3 [Pipeline] echo [2020-06-29T05:32:14.188Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-29T05:32:14.480Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-06-29T05:32:14.489Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-06-29T05:32:14.540Z] $ docker stop --time=1 9641db493c894fb1ceb921a85c6d077f0b40fde9796dbc563034a75002d11079 [2020-06-29T05:32:16.421Z] $ docker rm -f 9641db493c894fb1ceb921a85c6d077f0b40fde9796dbc563034a75002d11079 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:32:16.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-29T05:32:16.949Z] . [Pipeline] withDockerContainer [2020-06-29T05:32:17.040Z] prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container [2020-06-29T05:32:17.084Z] $ 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-06-29T05:32:17.634Z] $ docker top 7abf35bb69c460737c834e8cf5e99c3a5d7c4300473041067c4b61d1e7fd8027 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-29T05:32:17.813Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-29T05:32:17.813Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-29T05:32:18.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-29T05:32:18.010Z] $ docker exec 7abf35bb69c460737c834e8cf5e99c3a5d7c4300473041067c4b61d1e7fd8027 ssh-agent [2020-06-29T05:32:18.173Z] SSH_AUTH_SOCK=/tmp/ssh-PFF5mS3OToC9/agent.13 [2020-06-29T05:32:18.173Z] SSH_AGENT_PID=19 [2020-06-29T05:32:18.179Z] Running ssh-add (command line suppressed) [2020-06-29T05:32:18.302Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3761857945155777689.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3761857945155777689.key) [2020-06-29T05:32:18.349Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-29T05:32:18.651Z] + git semver bump pre [2020-06-29T05:32:18.651Z] # -> Open(): unable to determine branch for HEAD [2020-06-29T05:32:18.651Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-06-29T05:32:18.651Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-06-29T05:32:18.651Z] # $SEMVER_REMOTE_NAME = origin [2020-06-29T05:32:18.651Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-29T05:32:18.651Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-29T05:32:18.651Z] # $SEMVER_BRANCH = master [2020-06-29T05:32:18.651Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-06-29T05:32:18.651Z] 1.2.3-dev.4 [Pipeline] } [2020-06-29T05:32:18.666Z] $ docker exec --env ******** --env ******** 7abf35bb69c460737c834e8cf5e99c3a5d7c4300473041067c4b61d1e7fd8027 ssh-agent -k [2020-06-29T05:32:18.781Z] unset SSH_AUTH_SOCK; [2020-06-29T05:32:18.782Z] unset SSH_AGENT_PID; [2020-06-29T05:32:18.782Z] echo Agent pid 19 killed; [2020-06-29T05:32:18.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-29T05:32:19.182Z] + git semver [Pipeline] } [2020-06-29T05:32:19.200Z] $ docker stop --time=1 7abf35bb69c460737c834e8cf5e99c3a5d7c4300473041067c4b61d1e7fd8027 [2020-06-29T05:32:20.562Z] $ docker rm -f 7abf35bb69c460737c834e8cf5e99c3a5d7c4300473041067c4b61d1e7fd8027 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:32:21.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-29T05:32:21.002Z] . [Pipeline] withDockerContainer [2020-06-29T05:32:21.099Z] prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container [2020-06-29T05:32:21.150Z] $ 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-06-29T05:32:21.768Z] $ docker top 662a09a92fa22777b362af18ec6da553dbf459799f2e2c794b0d0c7355f9eefb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-29T05:32:21.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-29T05:32:21.974Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-29T05:32:22.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-29T05:32:22.170Z] $ docker exec 662a09a92fa22777b362af18ec6da553dbf459799f2e2c794b0d0c7355f9eefb ssh-agent [2020-06-29T05:32:22.337Z] SSH_AUTH_SOCK=/tmp/ssh-2U90ZflJqJok/agent.11 [2020-06-29T05:32:22.337Z] SSH_AGENT_PID=16 [2020-06-29T05:32:22.344Z] Running ssh-add (command line suppressed) [2020-06-29T05:32:22.471Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2374588735075291683.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2374588735075291683.key) [2020-06-29T05:32:22.524Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-29T05:32:22.830Z] + git semver push [2020-06-29T05:32:22.830Z] # -> Open(): unable to determine branch for HEAD [2020-06-29T05:32:22.830Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-06-29T05:32:22.830Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-06-29T05:32:22.830Z] # $SEMVER_REMOTE_NAME = origin [2020-06-29T05:32:22.830Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-29T05:32:22.830Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-29T05:32:22.830Z] # $SEMVER_BRANCH = master [2020-06-29T05:32:22.830Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-06-29T05:32:30.982Z] $ docker exec --env ******** --env ******** 662a09a92fa22777b362af18ec6da553dbf459799f2e2c794b0d0c7355f9eefb ssh-agent -k [2020-06-29T05:32:31.131Z] unset SSH_AUTH_SOCK; [2020-06-29T05:32:31.132Z] unset SSH_AGENT_PID; [2020-06-29T05:32:31.133Z] echo Agent pid 16 killed; [2020-06-29T05:32:31.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-29T05:32:31.546Z] + git semver [Pipeline] } [2020-06-29T05:32:31.566Z] $ docker stop --time=1 662a09a92fa22777b362af18ec6da553dbf459799f2e2c794b0d0c7355f9eefb [2020-06-29T05:32:32.932Z] $ docker rm -f 662a09a92fa22777b362af18ec6da553dbf459799f2e2c794b0d0c7355f9eefb [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-06-29T05:32:33.614Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-29T05:32:34.172Z] ---> package-listing.sh [2020-06-29T05:32:34.172Z] ++ facter osfamily [2020-06-29T05:32:34.172Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-29T05:32:34.172Z] + OS_FAMILY=redhat [2020-06-29T05:32:34.172Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-06-29T05:32:34.172Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-29T05:32:34.172Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-29T05:32:34.172Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-29T05:32:34.172Z] + PACKAGES=/tmp/packages_start.txt [2020-06-29T05:32:34.172Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-06-29T05:32:34.172Z] + PACKAGES=/tmp/packages_end.txt [2020-06-29T05:32:34.172Z] + case "${OS_FAMILY}" in [2020-06-29T05:32:34.172Z] + rpm -qa [2020-06-29T05:32:34.172Z] + sort [2020-06-29T05:32:38.381Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-29T05:32:38.381Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-29T05:32:38.381Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-29T05:32:38.381Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-06-29T05:32:38.381Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-06-29T05:32:38.381Z] + 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-06-29T05:32:39.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-29T05:32:39.088Z] [2020-06-29T05:32:39.088Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-29T05:32:39.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-29T05:32:39.416Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-29T05:32:39.416Z] c9b1b535fdd9: Pulling fs layer [2020-06-29T05:32:39.416Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-29T05:32:39.416Z] 756a868c4378: Pulling fs layer [2020-06-29T05:32:39.416Z] 444b2fc9a129: Pulling fs layer [2020-06-29T05:32:39.416Z] ea15f1150254: Pulling fs layer [2020-06-29T05:32:39.416Z] 41b27a9f41bf: Pulling fs layer [2020-06-29T05:32:39.416Z] 28c525ee5125: Pulling fs layer [2020-06-29T05:32:39.416Z] 094b1ea09ed8: Pulling fs layer [2020-06-29T05:32:39.416Z] 138eaada9080: Pulling fs layer [2020-06-29T05:32:39.416Z] 0622d0fa9048: Pulling fs layer [2020-06-29T05:32:39.416Z] 444b2fc9a129: Waiting [2020-06-29T05:32:39.416Z] ea15f1150254: Waiting [2020-06-29T05:32:39.416Z] 41b27a9f41bf: Waiting [2020-06-29T05:32:39.416Z] 28c525ee5125: Waiting [2020-06-29T05:32:39.416Z] 138eaada9080: Waiting [2020-06-29T05:32:39.416Z] 0622d0fa9048: Waiting [2020-06-29T05:32:39.416Z] 094b1ea09ed8: Waiting [2020-06-29T05:32:39.416Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-29T05:32:39.416Z] 2cc5ad85d9ab: Download complete [2020-06-29T05:32:39.416Z] 444b2fc9a129: Verifying Checksum [2020-06-29T05:32:39.416Z] 444b2fc9a129: Download complete [2020-06-29T05:32:39.416Z] c9b1b535fdd9: Verifying Checksum [2020-06-29T05:32:39.416Z] c9b1b535fdd9: Download complete [2020-06-29T05:32:39.416Z] ea15f1150254: Verifying Checksum [2020-06-29T05:32:39.416Z] ea15f1150254: Download complete [2020-06-29T05:32:39.416Z] 28c525ee5125: Verifying Checksum [2020-06-29T05:32:39.416Z] 28c525ee5125: Download complete [2020-06-29T05:32:39.997Z] 756a868c4378: Download complete [2020-06-29T05:32:39.997Z] 138eaada9080: Verifying Checksum [2020-06-29T05:32:39.997Z] 138eaada9080: Download complete [2020-06-29T05:32:39.997Z] 094b1ea09ed8: Verifying Checksum [2020-06-29T05:32:39.997Z] 094b1ea09ed8: Download complete [2020-06-29T05:32:39.997Z] 0622d0fa9048: Verifying Checksum [2020-06-29T05:32:39.997Z] 0622d0fa9048: Download complete [2020-06-29T05:32:40.568Z] 41b27a9f41bf: Verifying Checksum [2020-06-29T05:32:40.568Z] 41b27a9f41bf: Download complete [2020-06-29T05:32:40.568Z] c9b1b535fdd9: Pull complete [2020-06-29T05:32:40.832Z] 2cc5ad85d9ab: Pull complete [2020-06-29T05:32:42.752Z] 756a868c4378: Pull complete [2020-06-29T05:32:42.752Z] 444b2fc9a129: Pull complete [2020-06-29T05:32:43.012Z] ea15f1150254: Pull complete [2020-06-29T05:32:47.455Z] 41b27a9f41bf: Pull complete [2020-06-29T05:32:47.455Z] 28c525ee5125: Pull complete [2020-06-29T05:32:49.384Z] 094b1ea09ed8: Pull complete [2020-06-29T05:32:49.384Z] 138eaada9080: Pull complete [2020-06-29T05:32:49.644Z] 0622d0fa9048: Pull complete [2020-06-29T05:32:49.644Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-29T05:32:49.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-29T05:32:49.644Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-29T05:32:49.751Z] prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container [2020-06-29T05:32:49.793Z] $ 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-06-29T05:32:52.914Z] $ docker top 7a6f0b02401ef4fbcb58ba94e9db64db05095262e9403d9f9d57db761435158e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-29T05:32:53.085Z] provisioning config files... [2020-06-29T05:32:53.098Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5857660797515651558tmp [Pipeline] { [Pipeline] echo [2020-06-29T05:32:53.125Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-29T05:32:53.415Z] ---> create-netrc.sh [Pipeline] echo [2020-06-29T05:32:53.424Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-29T05:32:53.718Z] ---> logs-deploy.sh [2020-06-29T05:32:53.718Z] + ARCHIVE_ARTIFACTS= [2020-06-29T05:32:53.718Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-29T05:32:53.718Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-29T05:32:53.718Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-29T05:32:53.718Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/47 [2020-06-29T05:32:53.718Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/47/ [2020-06-29T05:32:53.718Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/47 /w/workspace/dgexfoundry_device-sdk-go_master [2020-06-29T05:32:54.661Z] Archives upload complete. [2020-06-29T05:32:54.923Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/47 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/47/