Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cf2f893d3a97df698f83b3d0dbde5549391309c2 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-4592’ is offline Running on prd-centos7-docker-4c-2g-5235 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 cf2f893d3a97df698f83b3d0dbde5549391309c2 (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 cf2f893d3a97df698f83b3d0dbde5549391309c2 # timeout=10 Commit message: "Merge pull request #501 from hahattan/issue-496" > git rev-list --no-walk 11599fec544a3b4af0d17b6529789613b5afe41c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T13:26:14.036Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T13:26:14.238Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T13:26:14.317Z] ========================================================= [2020-04-21T13:26:14.317Z] EdgeX Global Pipelines Version Info [2020-04-21T13:26:14.317Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-21T13:26:15.723Z] ------------------- [2020-04-21T13:26:15.723Z] stable info: [2020-04-21T13:26:15.723Z] ------------------- [2020-04-21T13:26:15.723Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T13:26:15.723Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T13:26:15.723Z] Message: update stable to v1.0.73 [2020-04-21T13:26:16.293Z] ------------------- [2020-04-21T13:26:16.293Z] experimental info: [2020-04-21T13:26:16.293Z] ------------------- [2020-04-21T13:26:16.293Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T13:26:16.293Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T13:26:16.293Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:26:18.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T13:26:18.294Z] [2020-04-21T13:26:18.294Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:26:18.624Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T13:26:18.624Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T13:26:18.624Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T13:26:18.624Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T13:26:18.624Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T13:26:18.624Z] 93b08a4f1073: Pulling fs layer [2020-04-21T13:26:18.624Z] 93b08a4f1073: Waiting [2020-04-21T13:26:18.624Z] b8cc5d1170e3: Verifying Checksum [2020-04-21T13:26:18.624Z] b8cc5d1170e3: Download complete [2020-04-21T13:26:18.883Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T13:26:18.883Z] 9123ac7c32f7: Download complete [2020-04-21T13:26:18.883Z] 93b08a4f1073: Verifying Checksum [2020-04-21T13:26:18.883Z] 93b08a4f1073: Download complete [2020-04-21T13:26:18.883Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T13:26:18.883Z] 2924cbbf6a41: Download complete [2020-04-21T13:26:19.142Z] 9123ac7c32f7: Pull complete [2020-04-21T13:26:19.142Z] b8cc5d1170e3: Pull complete [2020-04-21T13:26:19.709Z] 2924cbbf6a41: Pull complete [2020-04-21T13:26:19.967Z] 93b08a4f1073: Pull complete [2020-04-21T13:26:19.967Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T13:26:19.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T13:26:20.099Z] prd-centos7-docker-4c-2g-5235 does not seem to be running inside a container [2020-04-21T13:26:20.144Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T13:26:20.789Z] $ docker top dd06c8f9bb1c8646a42158d510221129b3481c1ef2521b70aca7d25bca7a995b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T13:26:21.084Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T13:26:21.085Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T13:26:21.293Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T13:26:21.299Z] $ docker exec dd06c8f9bb1c8646a42158d510221129b3481c1ef2521b70aca7d25bca7a995b ssh-agent [2020-04-21T13:26:21.473Z] SSH_AUTH_SOCK=/tmp/ssh-AhmnpqIDKiNr/agent.15 [2020-04-21T13:26:21.473Z] SSH_AGENT_PID=22 [2020-04-21T13:26:21.481Z] Running ssh-add (command line suppressed) [2020-04-21T13:26:21.618Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4708514538685166174.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4708514538685166174.key) [2020-04-21T13:26:21.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T13:26:22.029Z] + git describe --exact-match --tags HEAD [2020-04-21T13:26:22.029Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T13:26:22.087Z] $ docker exec --env ******** --env ******** dd06c8f9bb1c8646a42158d510221129b3481c1ef2521b70aca7d25bca7a995b ssh-agent -k [2020-04-21T13:26:22.220Z] unset SSH_AUTH_SOCK; [2020-04-21T13:26:22.220Z] unset SSH_AGENT_PID; [2020-04-21T13:26:22.220Z] echo Agent pid 22 killed; [2020-04-21T13:26:22.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T13:26:22.328Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T13:26:22.328Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T13:26:22.405Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T13:26:22.405Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T13:26:22.592Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T13:26:22.597Z] $ docker exec dd06c8f9bb1c8646a42158d510221129b3481c1ef2521b70aca7d25bca7a995b ssh-agent [2020-04-21T13:26:22.769Z] SSH_AUTH_SOCK=/tmp/ssh-wwGztp9WhQqc/agent.56 [2020-04-21T13:26:22.769Z] SSH_AGENT_PID=62 [2020-04-21T13:26:22.774Z] Running ssh-add (command line suppressed) [2020-04-21T13:26:22.909Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4099757590045400229.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4099757590045400229.key) [2020-04-21T13:26:22.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T13:26:23.266Z] + git semver init [2020-04-21T13:26:23.266Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T13:26:23.266Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-21T13:26:23.266Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T13:26:23.266Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T13:26:23.267Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T13:26:23.267Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T13:26:23.267Z] # $SEMVER_BRANCH = master [2020-04-21T13:26:23.267Z] # $SEMVER_TEMP = /tmp/semver-179424368 [2020-04-21T13:26:23.267Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-21T13:26:23.834Z] # '/tmp/semver-179424368' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-04-21T13:26:23.834Z] # -> Force: false [2020-04-21T13:26:23.834Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-21T13:26:23.844Z] $ docker exec --env ******** --env ******** dd06c8f9bb1c8646a42158d510221129b3481c1ef2521b70aca7d25bca7a995b ssh-agent -k [2020-04-21T13:26:23.977Z] unset SSH_AUTH_SOCK; [2020-04-21T13:26:23.978Z] unset SSH_AGENT_PID; [2020-04-21T13:26:23.978Z] echo Agent pid 62 killed; [2020-04-21T13:26:24.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T13:26:24.428Z] + git semver [Pipeline] } [2020-04-21T13:26:24.443Z] $ docker stop --time=1 dd06c8f9bb1c8646a42158d510221129b3481c1ef2521b70aca7d25bca7a995b [2020-04-21T13:26:25.782Z] $ docker rm -f dd06c8f9bb1c8646a42158d510221129b3481c1ef2521b70aca7d25bca7a995b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T13:26:26.665Z] Stashed 45 file(s) [Pipeline] echo [2020-04-21T13:26:26.667Z] [edgeXSemver] initialized semver on version 1.2.0-dev.28 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-04-21T13:26:41.892Z] Still waiting to schedule task [2020-04-21T13:26:41.892Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T13:26:41.893Z] Still waiting to schedule task [2020-04-21T13:26:41.893Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-21T13:28:26.062Z] Running on prd-centos7-docker-4c-2g-5238 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-21T13:28:26.100Z] Running in /w/workspace/device-sdk-go/28 [Pipeline] { [Pipeline] checkout [2020-04-21T13:28:27.431Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5236 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-21T13:28:27.467Z] Running in /w/workspace/device-sdk-go/28 [Pipeline] { [Pipeline] checkout [2020-04-21T13:28:28.208Z] using credential edgex-jenkins-ssh [2020-04-21T13:28:28.250Z] Cloning the remote Git repository [2020-04-21T13:28:28.251Z] Cloning with configured refspecs honoured and without tags [2020-04-21T13:28:27.509Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T13:28:27.546Z] > git init /w/workspace/device-sdk-go/28 # timeout=10 [2020-04-21T13:28:27.596Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T13:28:27.596Z] > git --version # timeout=10 [2020-04-21T13:28:27.604Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T13:28:27.632Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T13:28:29.035Z] Fetching without tags [2020-04-21T13:28:29.403Z] Checking out Revision cf2f893d3a97df698f83b3d0dbde5549391309c2 (master) [2020-04-21T13:28:28.304Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T13:28:28.309Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T13:28:28.325Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T13:28:28.336Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T13:28:28.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T13:28:28.341Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T13:28:28.739Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T13:28:28.744Z] > git checkout -f cf2f893d3a97df698f83b3d0dbde5549391309c2 # timeout=10 [2020-04-21T13:28:32.949Z] Commit message: "Merge pull request #501 from hahattan/issue-496" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-21T13:28:33.798Z] using credential edgex-jenkins-ssh [2020-04-21T13:28:33.879Z] Cloning the remote Git repository [2020-04-21T13:28:33.879Z] Cloning with configured refspecs honoured and without tags [Pipeline] echo [2020-04-21T13:28:34.027Z] ========================================================= [2020-04-21T13:28:34.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T13:28:34.027Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:28:33.932Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T13:28:34.006Z] > git init /w/workspace/device-sdk-go/28 # timeout=10 [2020-04-21T13:28:34.095Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T13:28:34.096Z] > git --version # timeout=10 [2020-04-21T13:28:34.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T13:28:34.223Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T13:28:34.613Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-04-21T13:28:34.876Z] Sending build context to Docker daemon 2.925MB [2020-04-21T13:28:34.876Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T13:28:34.876Z] Step 2/8 : FROM ${BASE} [2020-04-21T13:28:34.876Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T13:28:34.876Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T13:28:34.876Z] 2848faf0eed1: Pulling fs layer [2020-04-21T13:28:34.876Z] 0f37312ad70f: Pulling fs layer [2020-04-21T13:28:34.876Z] 5788d62ee057: Pulling fs layer [2020-04-21T13:28:34.876Z] 0e6b1d234666: Pulling fs layer [2020-04-21T13:28:34.876Z] bf5d7aec512f: Pulling fs layer [2020-04-21T13:28:34.876Z] 34c802a77dc8: Pulling fs layer [2020-04-21T13:28:34.876Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T13:28:34.876Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T13:28:34.876Z] 5c102a31e300: Pulling fs layer [2020-04-21T13:28:34.876Z] dcfb455df0a1: Pulling fs layer [2020-04-21T13:28:34.876Z] 34c802a77dc8: Waiting [2020-04-21T13:28:34.876Z] 5788d62ee057: Waiting [2020-04-21T13:28:34.876Z] 9eb99e56ec68: Waiting [2020-04-21T13:28:34.876Z] 27c7a5d97fbd: Waiting [2020-04-21T13:28:34.876Z] 0e6b1d234666: Waiting [2020-04-21T13:28:34.876Z] bf5d7aec512f: Waiting [2020-04-21T13:28:34.876Z] 5c102a31e300: Waiting [2020-04-21T13:28:34.876Z] 0f37312ad70f: Verifying Checksum [2020-04-21T13:28:34.876Z] 0f37312ad70f: Download complete [2020-04-21T13:28:34.876Z] 2848faf0eed1: Verifying Checksum [2020-04-21T13:28:34.876Z] 2848faf0eed1: Download complete [2020-04-21T13:28:34.876Z] 0e6b1d234666: Verifying Checksum [2020-04-21T13:28:34.876Z] 0e6b1d234666: Download complete [2020-04-21T13:28:34.876Z] bf5d7aec512f: Download complete [2020-04-21T13:28:34.876Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T13:28:34.876Z] e6b0cf9c0882: Download complete [2020-04-21T13:28:35.140Z] e6b0cf9c0882: Pull complete [2020-04-21T13:28:35.249Z] Fetching without tags [2020-04-21T13:28:35.407Z] 2848faf0eed1: Pull complete [2020-04-21T13:28:35.407Z] 0f37312ad70f: Pull complete [2020-04-21T13:28:35.170Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T13:28:35.195Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T13:28:35.223Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T13:28:35.261Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T13:28:35.262Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T13:28:35.272Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T13:28:35.699Z] Checking out Revision cf2f893d3a97df698f83b3d0dbde5549391309c2 (master) [2020-04-21T13:28:35.976Z] 34c802a77dc8: Verifying Checksum [2020-04-21T13:28:35.976Z] 34c802a77dc8: Download complete [2020-04-21T13:28:35.976Z] 27c7a5d97fbd: Verifying Checksum [2020-04-21T13:28:35.976Z] 27c7a5d97fbd: Download complete [2020-04-21T13:28:36.548Z] 5c102a31e300: Verifying Checksum [2020-04-21T13:28:36.548Z] 5c102a31e300: Download complete [2020-04-21T13:28:36.548Z] 5788d62ee057: Verifying Checksum [2020-04-21T13:28:36.548Z] 5788d62ee057: Download complete [2020-04-21T13:28:36.548Z] dcfb455df0a1: Verifying Checksum [2020-04-21T13:28:36.548Z] dcfb455df0a1: Download complete [2020-04-21T13:28:36.807Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T13:28:36.807Z] 9eb99e56ec68: Download complete [2020-04-21T13:28:35.720Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T13:28:35.751Z] > git checkout -f cf2f893d3a97df698f83b3d0dbde5549391309c2 # timeout=10 [2020-04-21T13:28:40.386Z] Commit message: "Merge pull request #501 from hahattan/issue-496" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T13:28:41.466Z] ========================================================= [2020-04-21T13:28:41.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T13:28:41.466Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:28:42.098Z] 5788d62ee057: Pull complete [2020-04-21T13:28:42.098Z] 0e6b1d234666: Pull complete [2020-04-21T13:28:42.098Z] bf5d7aec512f: Pull complete [2020-04-21T13:28:42.534Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-04-21T13:28:43.508Z] Sending build context to Docker daemon 2.927MB [2020-04-21T13:28:43.508Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T13:28:43.508Z] Step 2/8 : FROM ${BASE} [2020-04-21T13:28:43.779Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T13:28:43.779Z] cde5963f3b93: Pulling fs layer [2020-04-21T13:28:43.779Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T13:28:43.779Z] 777b28850792: Pulling fs layer [2020-04-21T13:28:43.779Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T13:28:43.779Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T13:28:43.779Z] 1df406cf5192: Pulling fs layer [2020-04-21T13:28:43.779Z] cd6300453558: Pulling fs layer [2020-04-21T13:28:43.779Z] b9c365052c96: Pulling fs layer [2020-04-21T13:28:43.779Z] a2d8cc88f415: Pulling fs layer [2020-04-21T13:28:43.779Z] ea1d1ca13537: Pulling fs layer [2020-04-21T13:28:43.779Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T13:28:43.779Z] 8a11ddd9e578: Waiting [2020-04-21T13:28:43.779Z] 1df406cf5192: Waiting [2020-04-21T13:28:43.779Z] cd6300453558: Waiting [2020-04-21T13:28:43.779Z] b9c365052c96: Waiting [2020-04-21T13:28:43.779Z] ea1d1ca13537: Waiting [2020-04-21T13:28:43.779Z] a2d8cc88f415: Waiting [2020-04-21T13:28:43.779Z] 3750a50a1c5e: Waiting [2020-04-21T13:28:44.056Z] 777b28850792: Verifying Checksum [2020-04-21T13:28:44.056Z] 777b28850792: Download complete [2020-04-21T13:28:44.056Z] 2a23fa8c16f7: Download complete [2020-04-21T13:28:44.056Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T13:28:44.056Z] 4cf88f913ddb: Download complete [2020-04-21T13:28:44.056Z] 1df406cf5192: Verifying Checksum [2020-04-21T13:28:44.056Z] 1df406cf5192: Download complete [2020-04-21T13:28:44.056Z] cde5963f3b93: Verifying Checksum [2020-04-21T13:28:44.056Z] cde5963f3b93: Download complete [2020-04-21T13:28:45.025Z] cde5963f3b93: Pull complete [2020-04-21T13:28:45.619Z] 2a23fa8c16f7: Pull complete [2020-04-21T13:28:45.891Z] 777b28850792: Pull complete [2020-04-21T13:28:48.501Z] cd6300453558: Verifying Checksum [2020-04-21T13:28:48.501Z] cd6300453558: Download complete [2020-04-21T13:28:48.501Z] a2d8cc88f415: Verifying Checksum [2020-04-21T13:28:48.501Z] a2d8cc88f415: Download complete [2020-04-21T13:28:48.670Z] 34c802a77dc8: Pull complete [2020-04-21T13:28:51.107Z] ea1d1ca13537: Verifying Checksum [2020-04-21T13:28:51.107Z] ea1d1ca13537: Download complete [2020-04-21T13:28:51.107Z] 3750a50a1c5e: Verifying Checksum [2020-04-21T13:28:51.107Z] 3750a50a1c5e: Download complete [2020-04-21T13:28:51.214Z] 9eb99e56ec68: Pull complete [2020-04-21T13:28:51.214Z] 27c7a5d97fbd: Pull complete [2020-04-21T13:28:52.606Z] 5c102a31e300: Pull complete [2020-04-21T13:28:52.606Z] dcfb455df0a1: Pull complete [2020-04-21T13:28:52.606Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T13:28:52.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T13:28:52.606Z] ---> 7c70fe431013 [2020-04-21T13:28:52.606Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T13:28:52.606Z] ---> Running in f6c4627c8ae2 [2020-04-21T13:28:52.864Z] Removing intermediate container f6c4627c8ae2 [2020-04-21T13:28:52.864Z] ---> 173ad5eee96f [2020-04-21T13:28:52.864Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T13:28:53.125Z] ---> Running in 7666199f88ed [2020-04-21T13:28:53.701Z] b9c365052c96: Verifying Checksum [2020-04-21T13:28:53.701Z] b9c365052c96: Download complete [2020-04-21T13:28:54.062Z] Removing intermediate container 7666199f88ed [2020-04-21T13:28:54.062Z] ---> d33787f16df5 [2020-04-21T13:28:54.062Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T13:28:54.062Z] ---> Running in 25db7682f0cd [2020-04-21T13:28:54.630Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T13:28:55.125Z] 8a11ddd9e578: Verifying Checksum [2020-04-21T13:28:55.125Z] 8a11ddd9e578: Download complete [2020-04-21T13:28:55.197Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T13:28:55.472Z] OK: 143 MiB in 39 packages [2020-04-21T13:28:56.049Z] Removing intermediate container 25db7682f0cd [2020-04-21T13:28:56.049Z] ---> c308d3c0d4fe [2020-04-21T13:28:56.049Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T13:28:56.049Z] ---> Running in 4ec50079c17f [2020-04-21T13:28:56.310Z] Removing intermediate container 4ec50079c17f [2020-04-21T13:28:56.310Z] ---> e27577e6e3cb [2020-04-21T13:28:56.310Z] Step 7/8 : COPY . . [2020-04-21T13:28:56.877Z] ---> f1cfe2699efd [2020-04-21T13:28:56.877Z] Step 8/8 : RUN go mod download [2020-04-21T13:28:56.877Z] ---> Running in 8417dc8eaaec [2020-04-21T13:28:58.780Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T13:28:58.780Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T13:28:58.780Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T13:28:58.780Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T13:28:58.780Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T13:28:58.780Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T13:28:58.780Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T13:28:58.780Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T13:28:58.780Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T13:28:59.036Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T13:28:59.036Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T13:28:59.036Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T13:28:59.036Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T13:28:59.036Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T13:28:59.036Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T13:28:59.036Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T13:28:59.036Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T13:28:59.036Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T13:28:59.036Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T13:28:59.036Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T13:28:59.036Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T13:28:59.036Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T13:28:59.036Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T13:28:59.036Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T13:28:59.036Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T13:28:59.036Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T13:28:59.036Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T13:28:59.036Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T13:28:59.036Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T13:28:59.036Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T13:28:59.294Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T13:28:59.295Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T13:28:59.295Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T13:28:59.295Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T13:28:59.295Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T13:28:59.295Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T13:28:59.295Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T13:28:59.295Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T13:28:59.295Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T13:28:59.295Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T13:28:59.295Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T13:28:59.295Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T13:28:59.295Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T13:28:59.295Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T13:28:59.295Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T13:28:59.295Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T13:28:59.295Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T13:28:59.295Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T13:28:59.295Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T13:28:59.295Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T13:28:59.295Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T13:28:59.295Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T13:28:59.295Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T13:28:59.295Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T13:28:59.295Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T13:28:59.295Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T13:28:59.295Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T13:28:59.295Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T13:28:59.295Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T13:28:59.295Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T13:28:59.295Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T13:28:59.554Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T13:28:59.554Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T13:28:59.554Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T13:28:59.554Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T13:28:59.554Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T13:28:59.554Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T13:28:59.554Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T13:29:02.850Z] Removing intermediate container 8417dc8eaaec [2020-04-21T13:29:02.850Z] ---> ca97f2aa3741 [2020-04-21T13:29:03.111Z] Successfully built ca97f2aa3741 [2020-04-21T13:29:03.111Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:29:03.686Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T13:29:03.686Z] . [Pipeline] withDockerContainer [2020-04-21T13:29:03.801Z] prd-centos7-docker-4c-2g-5238 does not seem to be running inside a container [2020-04-21T13:29:03.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/28 -v /w/workspace/device-sdk-go/28:/w/workspace/device-sdk-go/28:rw,z -v /w/workspace/device-sdk-go/28@tmp:/w/workspace/device-sdk-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-21T13:29:04.371Z] $ docker top e49525f298bddb252f64af4085ceaaec5519e1733386d70f35ee34515afe37ca -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T13:29:04.861Z] + go version [2020-04-21T13:29:04.861Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-21T13:29:05.174Z] + make test [2020-04-21T13:29:05.174Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T13:29:05.752Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T13:29:07.482Z] 8a11ddd9e578: Pull complete [2020-04-21T13:29:07.482Z] 4cf88f913ddb: Pull complete [2020-04-21T13:29:07.482Z] 1df406cf5192: Pull complete [2020-04-21T13:29:11.764Z] cd6300453558: Pull complete [2020-04-21T13:29:17.135Z] b9c365052c96: Pull complete [2020-04-21T13:29:17.135Z] a2d8cc88f415: Pull complete [2020-04-21T13:29:17.999Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T13:29:17.999Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T13:29:17.999Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T13:29:17.999Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 21.9% of statements [2020-04-21T13:29:18.549Z] ea1d1ca13537: Pull complete [2020-04-21T13:29:18.819Z] 3750a50a1c5e: Pull complete [2020-04-21T13:29:18.819Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T13:29:18.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T13:29:18.819Z] ---> 78745c68409d [2020-04-21T13:29:18.819Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T13:29:22.195Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements [2020-04-21T13:29:24.178Z] ---> Running in 2e5160adb647 [2020-04-21T13:29:24.178Z] Removing intermediate container 2e5160adb647 [2020-04-21T13:29:24.178Z] ---> dba155198430 [2020-04-21T13:29:24.178Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T13:29:24.178Z] ---> Running in 061062bb3a99 [2020-04-21T13:29:26.133Z] Removing intermediate container 061062bb3a99 [2020-04-21T13:29:26.133Z] ---> 06836d0dc1a4 [2020-04-21T13:29:26.133Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T13:29:26.133Z] ---> Running in eb565d28af83 [2020-04-21T13:29:27.112Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T13:29:27.698Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T13:29:28.284Z] OK: 125 MiB in 39 packages [2020-04-21T13:29:29.257Z] Removing intermediate container eb565d28af83 [2020-04-21T13:29:29.257Z] ---> 8e31c061b27a [2020-04-21T13:29:29.257Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T13:29:29.532Z] ---> Running in ddf9e5a6d972 [2020-04-21T13:29:30.119Z] Removing intermediate container ddf9e5a6d972 [2020-04-21T13:29:30.119Z] ---> fa67328381de [2020-04-21T13:29:30.119Z] Step 7/8 : COPY . . [2020-04-21T13:29:31.084Z] ---> 9f6b8391afd9 [2020-04-21T13:29:31.084Z] Step 8/8 : RUN go mod download [2020-04-21T13:29:31.356Z] ---> Running in 874b8c292de2 [2020-04-21T13:29:33.311Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T13:29:33.311Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T13:29:33.311Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T13:29:33.311Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T13:29:33.311Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T13:29:33.311Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T13:29:33.311Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T13:29:33.311Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T13:29:33.311Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T13:29:33.578Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T13:29:33.578Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T13:29:33.578Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T13:29:33.578Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T13:29:33.578Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T13:29:33.578Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T13:29:33.578Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T13:29:33.578Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T13:29:33.578Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T13:29:33.578Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T13:29:33.578Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T13:29:33.578Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T13:29:33.578Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T13:29:33.578Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T13:29:33.578Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T13:29:33.578Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T13:29:33.578Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T13:29:33.848Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T13:29:33.848Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T13:29:33.848Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T13:29:33.848Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T13:29:33.848Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T13:29:33.848Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T13:29:33.848Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T13:29:33.848Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T13:29:33.848Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T13:29:33.848Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T13:29:33.848Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T13:29:33.848Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T13:29:33.848Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T13:29:33.848Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T13:29:33.848Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T13:29:34.121Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T13:29:34.121Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T13:29:34.121Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T13:29:34.121Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T13:29:34.121Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T13:29:34.121Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T13:29:34.121Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T13:29:34.121Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T13:29:34.121Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T13:29:34.121Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T13:29:34.121Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T13:29:34.121Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T13:29:34.121Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T13:29:34.121Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T13:29:34.121Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T13:29:44.229Z] Removing intermediate container 874b8c292de2 [2020-04-21T13:29:44.229Z] ---> 740d0a759a70 [2020-04-21T13:29:44.229Z] Successfully built 740d0a759a70 [2020-04-21T13:29:44.229Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:29:44.915Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T13:29:45.183Z] . [Pipeline] withDockerContainer [2020-04-21T13:29:45.593Z] prd-ubuntu18.04-docker-arm64-4c-16g-5236 does not seem to be running inside a container [2020-04-21T13:29:45.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/28 -v /w/workspace/device-sdk-go/28:/w/workspace/device-sdk-go/28:rw,z -v /w/workspace/device-sdk-go/28@tmp:/w/workspace/device-sdk-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-21T13:29:47.383Z] $ docker top a11338c2078390468e26ff8fa31781a5ed2f8cc38c9a6f9116824d5635351936 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T13:29:48.534Z] + go version [2020-04-21T13:29:48.534Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T13:29:49.216Z] + make test [2020-04-21T13:29:49.216Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T13:29:50.635Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T13:29:54.274Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.563s coverage: 11.4% of statements [2020-04-21T13:29:54.274Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 21.7% of statements [2020-04-21T13:29:54.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T13:29:54.274Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.716s coverage: 36.9% of statements [2020-04-21T13:29:54.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T13:29:54.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T13:29:54.274Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.550s coverage: 74.9% of statements [2020-04-21T13:29:54.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T13:29:54.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T13:29:54.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T13:29:54.274Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.039s coverage: 52.6% of statements [2020-04-21T13:29:54.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T13:29:54.274Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 71.4% of statements [2020-04-21T13:29:54.274Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T13:29:54.274Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T13:29:54.274Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T13:29:54.844Z] gofmt -l . [2020-04-21T13:29:54.844Z] [ "`gofmt -l .`" = "" ] [2020-04-21T13:29:54.844Z] ./bin/test-attribution-txt.sh [2020-04-21T13:29:55.413Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T13:29:56.049Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T13:29:56.049Z] $ docker stop --time=1 e49525f298bddb252f64af4085ceaaec5519e1733386d70f35ee34515afe37ca [2020-04-21T13:29:57.564Z] $ docker rm -f e49525f298bddb252f64af4085ceaaec5519e1733386d70f35ee34515afe37ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T13:29:58.893Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T13:29:59.180Z] + ls -al . [2020-04-21T13:29:59.180Z] total 160 [2020-04-21T13:29:59.180Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 13:29 . [2020-04-21T13:29:59.180Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 21 13:28 .. [2020-04-21T13:29:59.180Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 13:28 api [2020-04-21T13:29:59.180Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 13:28 bin [2020-04-21T13:29:59.180Z] -rw-r--r--. 1 jenkins jenkins 97745 Apr 21 13:29 coverage.out [2020-04-21T13:29:59.180Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 13:28 Dockerfile.build [2020-04-21T13:29:59.180Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 13:28 .dockerignore [2020-04-21T13:29:59.180Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 13:28 example [2020-04-21T13:29:59.180Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 21 13:28 .git [2020-04-21T13:29:59.180Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 13:28 .github [2020-04-21T13:29:59.180Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 13:28 .gitignore [2020-04-21T13:29:59.180Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 21 13:29 go.mod [2020-04-21T13:29:59.180Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 13:29 go.sum [2020-04-21T13:29:59.180Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 13:28 internal [2020-04-21T13:29:59.180Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 13:28 Jenkinsfile [2020-04-21T13:29:59.180Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 13:28 LICENSE [2020-04-21T13:29:59.180Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 13:28 Makefile [2020-04-21T13:29:59.180Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 13:28 pkg [2020-04-21T13:29:59.180Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 13:28 README.md [2020-04-21T13:29:59.180Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 21 13:28 .semver [2020-04-21T13:29:59.180Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 13:28 snap [2020-04-21T13:29:59.180Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 21 13:26 VERSION [2020-04-21T13:29:59.180Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 13:28 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:29:59.473Z] + 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=cf2f893d3a97df698f83b3d0dbde5549391309c2 --label arch=amd64 --label version=1.2.0-dev.28 . [2020-04-21T13:29:59.474Z] Sending build context to Docker daemon 3.044MB [2020-04-21T13:29:59.474Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T13:29:59.474Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T13:29:59.474Z] ---> ca97f2aa3741 [2020-04-21T13:29:59.474Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T13:29:59.732Z] ---> Running in 330f83802483 [2020-04-21T13:29:59.732Z] Removing intermediate container 330f83802483 [2020-04-21T13:29:59.732Z] ---> f35de3a89eae [2020-04-21T13:29:59.732Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T13:29:59.732Z] ---> Running in 8dde2de7e29b [2020-04-21T13:29:59.991Z] Removing intermediate container 8dde2de7e29b [2020-04-21T13:29:59.991Z] ---> 473d463859c2 [2020-04-21T13:29:59.991Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T13:29:59.991Z] ---> Running in 0a2f99ad5ddd [2020-04-21T13:30:00.250Z] Removing intermediate container 0a2f99ad5ddd [2020-04-21T13:30:00.250Z] ---> 9df155e5799b [2020-04-21T13:30:00.250Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T13:30:00.250Z] ---> Running in 329eb31e3653 [2020-04-21T13:30:01.189Z] Removing intermediate container 329eb31e3653 [2020-04-21T13:30:01.189Z] ---> 02b610c90601 [2020-04-21T13:30:01.189Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T13:30:01.189Z] ---> Running in 235d74e81320 [2020-04-21T13:30:01.448Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T13:30:02.383Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T13:30:02.641Z] OK: 143 MiB in 39 packages [2020-04-21T13:30:03.206Z] Removing intermediate container 235d74e81320 [2020-04-21T13:30:03.206Z] ---> 4bbe739a67a7 [2020-04-21T13:30:03.206Z] Step 8/21 : COPY . . [2020-04-21T13:30:03.464Z] ---> 50ce0e77a249 [2020-04-21T13:30:03.464Z] Step 9/21 : RUN ${MAKE} [2020-04-21T13:30:03.464Z] ---> Running in 5130cc40e0c4 [2020-04-21T13:30:03.731Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.28" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-21T13:30:11.897Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T13:30:11.897Z] Removing intermediate container 5130cc40e0c4 [2020-04-21T13:30:11.897Z] ---> 2eb5bcfa4da8 [2020-04-21T13:30:11.897Z] Step 10/21 : FROM scratch [2020-04-21T13:30:11.897Z] ---> [2020-04-21T13:30:11.897Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T13:30:12.156Z] ---> Running in 9717a9e8fb70 [2020-04-21T13:30:12.156Z] Removing intermediate container 9717a9e8fb70 [2020-04-21T13:30:12.156Z] ---> ad855849e923 [2020-04-21T13:30:12.156Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T13:30:12.156Z] ---> Running in 868a3395faaa [2020-04-21T13:30:12.414Z] Removing intermediate container 868a3395faaa [2020-04-21T13:30:12.414Z] ---> 4db5d798f730 [2020-04-21T13:30:12.414Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T13:30:12.414Z] ---> Running in c57e59a4dfbb [2020-04-21T13:30:12.414Z] Removing intermediate container c57e59a4dfbb [2020-04-21T13:30:12.414Z] ---> 0dbf89bae466 [2020-04-21T13:30:12.414Z] Step 14/21 : WORKDIR / [2020-04-21T13:30:12.414Z] ---> Running in e332b602c2b5 [2020-04-21T13:30:12.672Z] Removing intermediate container e332b602c2b5 [2020-04-21T13:30:12.672Z] ---> 78e29eb93095 [2020-04-21T13:30:12.672Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T13:30:12.930Z] ---> 1e75ef6241c2 [2020-04-21T13:30:12.931Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T13:30:13.189Z] ---> 93a8213ad0e7 [2020-04-21T13:30:13.189Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T13:30:13.448Z] ---> 33d70cd0b6b5 [2020-04-21T13:30:13.448Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T13:30:13.448Z] ---> Running in c7fa62f3227c [2020-04-21T13:30:13.707Z] Removing intermediate container c7fa62f3227c [2020-04-21T13:30:13.707Z] ---> 92da388d4bfa [2020-04-21T13:30:13.707Z] Step 19/21 : LABEL arch=amd64 [2020-04-21T13:30:13.707Z] ---> Running in d32dfcf65347 [2020-04-21T13:30:13.707Z] Removing intermediate container d32dfcf65347 [2020-04-21T13:30:13.707Z] ---> 92a735937381 [2020-04-21T13:30:13.707Z] Step 20/21 : LABEL git_sha=cf2f893d3a97df698f83b3d0dbde5549391309c2 [2020-04-21T13:30:13.707Z] ---> Running in 1e91e3edf3c2 [2020-04-21T13:30:13.967Z] Removing intermediate container 1e91e3edf3c2 [2020-04-21T13:30:13.967Z] ---> e81649e97308 [2020-04-21T13:30:13.967Z] Step 21/21 : LABEL version=1.2.0-dev.28 [2020-04-21T13:30:13.967Z] ---> Running in 4b0c585e8ecb [2020-04-21T13:30:14.226Z] Removing intermediate container 4b0c585e8ecb [2020-04-21T13:30:14.226Z] ---> f50b5cd56e2a [2020-04-21T13:30:14.226Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T13:30:14.226Z] Successfully built f50b5cd56e2a [2020-04-21T13:30:14.226Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-21T13:30:22.909Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T13:30:22.909Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T13:30:22.909Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T13:30:22.909Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 21.9% of statements [2020-04-21T13:30:23.181Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.152s coverage: 95.8% of statements [2020-04-21T13:30:55.452Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.073s coverage: 11.4% of statements [2020-04-21T13:30:55.452Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.052s coverage: 21.7% of statements [2020-04-21T13:30:55.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T13:30:55.452Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.280s coverage: 36.9% of statements [2020-04-21T13:30:55.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T13:30:55.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T13:30:55.452Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.943s coverage: 74.9% of statements [2020-04-21T13:30:55.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T13:30:55.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T13:30:55.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T13:30:55.452Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements [2020-04-21T13:30:55.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T13:30:55.452Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.355s coverage: 71.4% of statements [2020-04-21T13:30:55.452Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T13:30:55.452Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T13:30:55.452Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T13:30:58.816Z] gofmt -l . [2020-04-21T13:30:59.087Z] [ "`gofmt -l .`" = "" ] [2020-04-21T13:30:59.357Z] ./bin/test-attribution-txt.sh [2020-04-21T13:31:00.335Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T13:31:00.944Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T13:31:01.552Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T13:31:01.563Z] $ docker stop --time=1 a11338c2078390468e26ff8fa31781a5ed2f8cc38c9a6f9116824d5635351936 [2020-04-21T13:31:03.939Z] $ docker rm -f a11338c2078390468e26ff8fa31781a5ed2f8cc38c9a6f9116824d5635351936 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T13:31:05.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T13:31:05.594Z] + ls -al . [2020-04-21T13:31:05.594Z] total 200 [2020-04-21T13:31:05.594Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 13:31 . [2020-04-21T13:31:05.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 13:28 .. [2020-04-21T13:31:05.594Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 13:28 .dockerignore [2020-04-21T13:31:05.594Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 13:28 .git [2020-04-21T13:31:05.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 13:28 .github [2020-04-21T13:31:05.594Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 13:28 .gitignore [2020-04-21T13:31:05.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 13:28 .semver [2020-04-21T13:31:05.594Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 13:28 Dockerfile.build [2020-04-21T13:31:05.594Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 13:28 Jenkinsfile [2020-04-21T13:31:05.594Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 13:28 LICENSE [2020-04-21T13:31:05.594Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 13:28 Makefile [2020-04-21T13:31:05.594Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 13:28 README.md [2020-04-21T13:31:05.594Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 21 13:26 VERSION [2020-04-21T13:31:05.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 13:28 api [2020-04-21T13:31:05.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 13:28 bin [2020-04-21T13:31:05.594Z] -rw-r--r-- 1 jenkins jenkins 97745 Apr 21 13:30 coverage.out [2020-04-21T13:31:05.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 13:28 example [2020-04-21T13:31:05.594Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 21 13:31 go.mod [2020-04-21T13:31:05.594Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 13:31 go.sum [2020-04-21T13:31:05.594Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 13:28 internal [2020-04-21T13:31:05.594Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 13:28 pkg [2020-04-21T13:31:05.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 13:28 snap [2020-04-21T13:31:05.594Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 13:28 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:31:05.931Z] + 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=cf2f893d3a97df698f83b3d0dbde5549391309c2 --label arch=arm64 --label version=1.2.0-dev.28 . [2020-04-21T13:31:06.517Z] Sending build context to Docker daemon 3.046MB [2020-04-21T13:31:06.517Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T13:31:06.517Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T13:31:06.517Z] ---> 740d0a759a70 [2020-04-21T13:31:06.517Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T13:31:06.785Z] ---> Running in b810e6f605e8 [2020-04-21T13:31:07.060Z] Removing intermediate container b810e6f605e8 [2020-04-21T13:31:07.060Z] ---> 11cfbc1227e5 [2020-04-21T13:31:07.060Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T13:31:07.332Z] ---> Running in 4d56436cc313 [2020-04-21T13:31:07.601Z] Removing intermediate container 4d56436cc313 [2020-04-21T13:31:07.601Z] ---> 55a836ae8b5c [2020-04-21T13:31:07.601Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T13:31:07.871Z] ---> Running in 072a802fec13 [2020-04-21T13:31:08.139Z] Removing intermediate container 072a802fec13 [2020-04-21T13:31:08.139Z] ---> f1ce87f2d235 [2020-04-21T13:31:08.139Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T13:31:08.409Z] ---> Running in c4a3200deb70 [2020-04-21T13:31:10.364Z] Removing intermediate container c4a3200deb70 [2020-04-21T13:31:10.364Z] ---> 79fb2ba6e025 [2020-04-21T13:31:10.364Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T13:31:10.364Z] ---> Running in ef4f95850eb4 [2020-04-21T13:31:11.329Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T13:31:11.913Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T13:31:12.498Z] OK: 125 MiB in 39 packages [2020-04-21T13:31:13.467Z] Removing intermediate container ef4f95850eb4 [2020-04-21T13:31:13.467Z] ---> f56d7960dc34 [2020-04-21T13:31:13.467Z] Step 8/21 : COPY . . [2020-04-21T13:31:14.896Z] ---> 80769c1b1cbd [2020-04-21T13:31:14.896Z] Step 9/21 : RUN ${MAKE} [2020-04-21T13:31:14.896Z] ---> Running in 7ebe60bfae9b [2020-04-21T13:31:15.864Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.28" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-21T13:31:42.604Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T13:31:43.575Z] Removing intermediate container 7ebe60bfae9b [2020-04-21T13:31:43.575Z] ---> df08ca2eb9bc [2020-04-21T13:31:43.575Z] Step 10/21 : FROM scratch [2020-04-21T13:31:43.575Z] ---> [2020-04-21T13:31:43.575Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T13:31:43.575Z] ---> Running in 2c60f695cf6f [2020-04-21T13:31:44.161Z] Removing intermediate container 2c60f695cf6f [2020-04-21T13:31:44.161Z] ---> 6f08eb3f5a05 [2020-04-21T13:31:44.161Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T13:31:44.161Z] ---> Running in 00281452cc59 [2020-04-21T13:31:44.432Z] Removing intermediate container 00281452cc59 [2020-04-21T13:31:44.432Z] ---> 5aac72fafb2e [2020-04-21T13:31:44.432Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T13:31:44.432Z] ---> Running in d9c15184f848 [2020-04-21T13:31:45.025Z] Removing intermediate container d9c15184f848 [2020-04-21T13:31:45.025Z] ---> b923b77ed279 [2020-04-21T13:31:45.025Z] Step 14/21 : WORKDIR / [2020-04-21T13:31:45.025Z] ---> Running in 715d1332a9fe [2020-04-21T13:31:45.612Z] Removing intermediate container 715d1332a9fe [2020-04-21T13:31:45.612Z] ---> fedb999e38f1 [2020-04-21T13:31:45.612Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T13:31:46.577Z] ---> 5cef40fed55d [2020-04-21T13:31:46.577Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T13:31:47.164Z] ---> 25b02fb2a854 [2020-04-21T13:31:47.164Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T13:31:47.753Z] ---> fa3377a882f6 [2020-04-21T13:31:47.753Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T13:31:48.023Z] ---> Running in 58022bfc9b4d [2020-04-21T13:31:48.292Z] Removing intermediate container 58022bfc9b4d [2020-04-21T13:31:48.292Z] ---> 515312a7d6a6 [2020-04-21T13:31:48.292Z] Step 19/21 : LABEL arch=arm64 [2020-04-21T13:31:48.561Z] ---> Running in b6c723597b9d [2020-04-21T13:31:48.831Z] Removing intermediate container b6c723597b9d [2020-04-21T13:31:48.831Z] ---> 61e7f5ad7395 [2020-04-21T13:31:48.831Z] Step 20/21 : LABEL git_sha=cf2f893d3a97df698f83b3d0dbde5549391309c2 [2020-04-21T13:31:48.831Z] ---> Running in 00f78216b54f [2020-04-21T13:31:49.420Z] Removing intermediate container 00f78216b54f [2020-04-21T13:31:49.420Z] ---> e3d4b0e8b2f8 [2020-04-21T13:31:49.420Z] Step 21/21 : LABEL version=1.2.0-dev.28 [2020-04-21T13:31:49.420Z] ---> Running in a21e2ca0fb7e [2020-04-21T13:31:50.008Z] Removing intermediate container a21e2ca0fb7e [2020-04-21T13:31:50.008Z] ---> e9f13d85b43f [2020-04-21T13:31:50.008Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T13:31:50.008Z] Successfully built e9f13d85b43f [2020-04-21T13:31:50.008Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-21T13:31:51.317Z] provisioning config files... [2020-04-21T13:31:51.328Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4300408497067005039tmp [Pipeline] { [Pipeline] sh [2020-04-21T13:31:51.694Z] + curl -s https://codecov.io/bash [2020-04-21T13:31:51.694Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4300408497067005039tmp [2020-04-21T13:31:51.953Z] [2020-04-21T13:31:51.953Z] _____ _ [2020-04-21T13:31:51.953Z] / ____| | | [2020-04-21T13:31:51.953Z] | | ___ __| | ___ ___ _____ __ [2020-04-21T13:31:51.953Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-21T13:31:51.953Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-21T13:31:51.953Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-21T13:31:51.953Z] Bash-tbd [2020-04-21T13:31:51.953Z] [2020-04-21T13:31:51.953Z] [2020-04-21T13:31:51.953Z] ==> Jenkins CI detected. [2020-04-21T13:31:51.953Z] project root: . [2020-04-21T13:31:51.953Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-21T13:31:51.953Z] ==> Running gcov in . (disable via -X gcov) [2020-04-21T13:31:51.953Z] ==> Python coveragepy not found [2020-04-21T13:31:51.953Z] ==> Searching for coverage reports in: [2020-04-21T13:31:51.953Z] + . [2020-04-21T13:31:51.953Z] -> Found 1 reports [2020-04-21T13:31:51.953Z] ==> Detecting git/mercurial file structure [2020-04-21T13:31:51.953Z] ==> Reading reports [2020-04-21T13:31:51.953Z] + ./coverage.out bytes=97745 [2020-04-21T13:31:51.953Z] ==> Appending adjustments [2020-04-21T13:31:51.953Z] http://docs.codecov.io/docs/fixing-reports [2020-04-21T13:31:52.214Z] + Found adjustments [2020-04-21T13:31:52.214Z] ==> Gzipping contents [2020-04-21T13:31:52.214Z] ==> Uploading reports [2020-04-21T13:31:52.214Z] url: https://codecov.io [2020-04-21T13:31:52.214Z] query: branch=master&commit=cf2f893d3a97df698f83b3d0dbde5549391309c2&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-21T13:31:52.214Z] -> Pinging Codecov [2020-04-21T13:31:52.214Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=cf2f893d3a97df698f83b3d0dbde5549391309c2&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-21T13:31:52.472Z] -> Uploading [2020-04-21T13:31:53.046Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cf2f893d3a97df698f83b3d0dbde5549391309c2 [Pipeline] } [2020-04-21T13:31:53.052Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-21T13:31:53.347Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-21T13:31:53.348Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-21T13:31:53.396Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:31:53.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-21T13:31:53.734Z] [2020-04-21T13:31:53.734Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:31:54.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-21T13:31:54.072Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-21T13:31:54.072Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T13:31:54.072Z] 2848faf0eed1: Pulling fs layer [2020-04-21T13:31:54.072Z] 0f37312ad70f: Pulling fs layer [2020-04-21T13:31:54.072Z] 7d08f2745646: Pulling fs layer [2020-04-21T13:31:54.072Z] 4c9f31393084: Pulling fs layer [2020-04-21T13:31:54.072Z] eb21ddb83652: Pulling fs layer [2020-04-21T13:31:54.072Z] 345998794f6b: Pulling fs layer [2020-04-21T13:31:54.072Z] 97a711d68925: Pulling fs layer [2020-04-21T13:31:54.072Z] 7c8476c1cb00: Pulling fs layer [2020-04-21T13:31:54.072Z] 4c9f31393084: Waiting [2020-04-21T13:31:54.072Z] eb21ddb83652: Waiting [2020-04-21T13:31:54.072Z] 345998794f6b: Waiting [2020-04-21T13:31:54.072Z] 97a711d68925: Waiting [2020-04-21T13:31:54.072Z] 7c8476c1cb00: Waiting [2020-04-21T13:31:54.072Z] 7d08f2745646: Waiting [2020-04-21T13:31:54.072Z] 0f37312ad70f: Verifying Checksum [2020-04-21T13:31:54.072Z] 0f37312ad70f: Download complete [2020-04-21T13:31:54.072Z] 2848faf0eed1: Download complete [2020-04-21T13:31:54.072Z] 4c9f31393084: Verifying Checksum [2020-04-21T13:31:54.072Z] 4c9f31393084: Download complete [2020-04-21T13:31:54.072Z] eb21ddb83652: Download complete [2020-04-21T13:31:54.072Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T13:31:54.072Z] e6b0cf9c0882: Download complete [2020-04-21T13:31:54.670Z] 345998794f6b: Verifying Checksum [2020-04-21T13:31:54.670Z] 345998794f6b: Download complete [2020-04-21T13:31:54.670Z] e6b0cf9c0882: Pull complete [2020-04-21T13:31:54.930Z] 2848faf0eed1: Pull complete [2020-04-21T13:31:54.930Z] 97a711d68925: Verifying Checksum [2020-04-21T13:31:54.930Z] 97a711d68925: Download complete [2020-04-21T13:31:54.930Z] 0f37312ad70f: Pull complete [2020-04-21T13:31:55.191Z] 7c8476c1cb00: Verifying Checksum [2020-04-21T13:31:55.191Z] 7c8476c1cb00: Download complete [2020-04-21T13:31:55.760Z] 7d08f2745646: Verifying Checksum [2020-04-21T13:31:55.760Z] 7d08f2745646: Download complete [2020-04-21T13:32:01.026Z] 7d08f2745646: Pull complete [2020-04-21T13:32:01.026Z] 4c9f31393084: Pull complete [2020-04-21T13:32:01.026Z] eb21ddb83652: Pull complete [2020-04-21T13:32:02.927Z] 345998794f6b: Pull complete [2020-04-21T13:32:05.464Z] 97a711d68925: Pull complete [2020-04-21T13:32:06.401Z] 7c8476c1cb00: Pull complete [2020-04-21T13:32:06.401Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-21T13:32:06.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-21T13:32:06.544Z] prd-centos7-docker-4c-2g-5235 does not seem to be running inside a container [2020-04-21T13:32:06.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-04-21T13:32:07.141Z] $ docker top d2e1939873ea4f15f385792a46c2314fe272399202f6125ccbf376ead051a478 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T13:32:07.594Z] + snyk monitor '--org=edgex-jenkins' [2020-04-21T13:32:14.162Z] [2020-04-21T13:32:14.162Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-04-21T13:32:14.162Z] [2020-04-21T13:32:14.162Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/13ba823b-cfc2-498f-b6d5-eb6a36e4c9be [2020-04-21T13:32:14.162Z] [2020-04-21T13:32:14.162Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-21T13:32:14.162Z] [2020-04-21T13:32:14.162Z] [Pipeline] } [2020-04-21T13:32:14.175Z] $ docker stop --time=1 d2e1939873ea4f15f385792a46c2314fe272399202f6125ccbf376ead051a478 [2020-04-21T13:32:15.625Z] $ docker rm -f d2e1939873ea4f15f385792a46c2314fe272399202f6125ccbf376ead051a478 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:32:16.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T13:32:16.705Z] . [Pipeline] withDockerContainer [2020-04-21T13:32:16.822Z] prd-centos7-docker-4c-2g-5235 does not seem to be running inside a container [2020-04-21T13:32:16.867Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T13:32:17.468Z] $ docker top 4b1eae0e6003c2ebe3fe3385246b423336055c35829985c6976a31e78e430aed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T13:32:17.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T13:32:17.730Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T13:32:17.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T13:32:17.940Z] $ docker exec 4b1eae0e6003c2ebe3fe3385246b423336055c35829985c6976a31e78e430aed ssh-agent [2020-04-21T13:32:18.115Z] SSH_AUTH_SOCK=/tmp/ssh-EvuxPTNzYmOC/agent.14 [2020-04-21T13:32:18.115Z] SSH_AGENT_PID=20 [2020-04-21T13:32:18.121Z] Running ssh-add (command line suppressed) [2020-04-21T13:32:18.277Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1237010297873122443.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1237010297873122443.key) [2020-04-21T13:32:18.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T13:32:18.641Z] + git semver tag [2020-04-21T13:32:18.641Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T13:32:18.641Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-21T13:32:18.641Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T13:32:18.641Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T13:32:18.641Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T13:32:18.641Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T13:32:18.641Z] # $SEMVER_BRANCH = master [2020-04-21T13:32:18.641Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-21T13:32:18.641Z] # cf2f893d3a97df698f83b3d0dbde5549391309c2 HEAD [2020-04-21T13:32:18.899Z] # -> Force: false [2020-04-21T13:32:18.899Z] # 7d109287853328b1e501d1d07036a91a3f86e3e1 refs/tags/v1.2.0-dev.28 [Pipeline] } [2020-04-21T13:32:18.909Z] $ docker exec --env ******** --env ******** 4b1eae0e6003c2ebe3fe3385246b423336055c35829985c6976a31e78e430aed ssh-agent -k [2020-04-21T13:32:19.038Z] unset SSH_AUTH_SOCK; [2020-04-21T13:32:19.038Z] unset SSH_AGENT_PID; [2020-04-21T13:32:19.038Z] echo Agent pid 20 killed; [2020-04-21T13:32:19.080Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T13:32:19.489Z] + git semver [Pipeline] } [2020-04-21T13:32:19.502Z] $ docker stop --time=1 4b1eae0e6003c2ebe3fe3385246b423336055c35829985c6976a31e78e430aed [2020-04-21T13:32:20.828Z] $ docker rm -f 4b1eae0e6003c2ebe3fe3385246b423336055c35829985c6976a31e78e430aed [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:32:21.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-21T13:32:21.421Z] [2020-04-21T13:32:21.421Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:32:21.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-21T13:32:21.761Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-21T13:32:21.761Z] ab5ef0e58194: Pulling fs layer [2020-04-21T13:32:21.761Z] 9712f1f96733: Pulling fs layer [2020-04-21T13:32:21.761Z] 63f879dbbcfc: Pulling fs layer [2020-04-21T13:32:21.761Z] 0d9ebad4ef96: Pulling fs layer [2020-04-21T13:32:21.762Z] e9a5061849ea: Pulling fs layer [2020-04-21T13:32:21.762Z] d747dcd14b5f: Pulling fs layer [2020-04-21T13:32:21.762Z] 2de7ff778b66: Pulling fs layer [2020-04-21T13:32:21.762Z] e9a5061849ea: Waiting [2020-04-21T13:32:21.762Z] d747dcd14b5f: Waiting [2020-04-21T13:32:21.762Z] 2de7ff778b66: Waiting [2020-04-21T13:32:21.762Z] 0d9ebad4ef96: Waiting [2020-04-21T13:32:21.762Z] 9712f1f96733: Verifying Checksum [2020-04-21T13:32:21.762Z] 9712f1f96733: Download complete [2020-04-21T13:32:22.348Z] 63f879dbbcfc: Verifying Checksum [2020-04-21T13:32:22.348Z] 63f879dbbcfc: Download complete [2020-04-21T13:32:22.348Z] e9a5061849ea: Verifying Checksum [2020-04-21T13:32:22.348Z] e9a5061849ea: Download complete [2020-04-21T13:32:22.348Z] d747dcd14b5f: Verifying Checksum [2020-04-21T13:32:22.348Z] d747dcd14b5f: Download complete [2020-04-21T13:32:22.611Z] 0d9ebad4ef96: Verifying Checksum [2020-04-21T13:32:22.611Z] 0d9ebad4ef96: Download complete [2020-04-21T13:32:22.611Z] 2de7ff778b66: Verifying Checksum [2020-04-21T13:32:22.611Z] 2de7ff778b66: Download complete [2020-04-21T13:32:22.870Z] ab5ef0e58194: Verifying Checksum [2020-04-21T13:32:22.870Z] ab5ef0e58194: Download complete [2020-04-21T13:32:28.150Z] ab5ef0e58194: Pull complete [2020-04-21T13:32:28.150Z] 9712f1f96733: Pull complete [2020-04-21T13:32:30.053Z] 63f879dbbcfc: Pull complete [2020-04-21T13:32:36.688Z] 0d9ebad4ef96: Pull complete [2020-04-21T13:32:36.688Z] e9a5061849ea: Pull complete [2020-04-21T13:32:36.688Z] d747dcd14b5f: Pull complete [2020-04-21T13:32:40.877Z] 2de7ff778b66: Pull complete [2020-04-21T13:32:40.877Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-21T13:32:40.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-21T13:32:41.022Z] prd-centos7-docker-4c-2g-5235 does not seem to be running inside a container [2020-04-21T13:32:41.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-04-21T13:32:41.654Z] $ docker top 4f7d3997cf7934bb9863a4a51ef895c6db6fa44595ec32041c99690bb197431c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-21T13:32:41.832Z] provisioning config files... [2020-04-21T13:32:41.842Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8105658901895452828tmp [2020-04-21T13:32:41.905Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8235839368468612293tmp [2020-04-21T13:32:41.965Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config446935395999991799tmp [Pipeline] { [Pipeline] echo [2020-04-21T13:32:42.043Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T13:32:42.392Z] ---> sigul-configuration.sh [2020-04-21T13:32:42.392Z] gpg: directory `/root/.gnupg' created [2020-04-21T13:32:42.392Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-21T13:32:42.392Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-21T13:32:42.392Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-21T13:32:42.392Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-21T13:32:42.392Z] gpg: CAST5 encrypted data [2020-04-21T13:32:42.650Z] gpg: encrypted with 1 passphrase [2020-04-21T13:32:42.650Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-21T13:32:42.943Z] + mkdir /home/jenkins [2020-04-21T13:32:42.943Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-21T13:32:43.233Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-04-21T13:32:43.241Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T13:32:43.530Z] ---> sigul-install.sh [2020-04-21T13:32:51.654Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-21T13:32:51.945Z] + git tag --list [2020-04-21T13:32:51.946Z] v1.2.0-dev.28 [Pipeline] sh [2020-04-21T13:32:52.235Z] + lftools sign git-tag v1.2.0-dev.28 [2020-04-21T13:32:53.170Z] Signing Git tag with Sigul... [2020-04-21T13:32:53.170Z] Signing v1.2.0-dev.28 [Pipeline] echo [2020-04-21T13:32:54.551Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T13:32:54.838Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-21T13:32:54.850Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-21T13:32:54.921Z] $ docker stop --time=1 4f7d3997cf7934bb9863a4a51ef895c6db6fa44595ec32041c99690bb197431c [2020-04-21T13:32:56.292Z] $ docker rm -f 4f7d3997cf7934bb9863a4a51ef895c6db6fa44595ec32041c99690bb197431c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:32:56.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T13:32:56.973Z] . [Pipeline] withDockerContainer [2020-04-21T13:32:57.079Z] prd-centos7-docker-4c-2g-5235 does not seem to be running inside a container [2020-04-21T13:32:57.119Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T13:32:57.698Z] $ docker top 1f4d96d0dd7f836fe7077c48d29758757a46c81ef7e8aaad8deb2d1cbf752d5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T13:32:57.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T13:32:57.973Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T13:32:58.222Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T13:32:58.228Z] $ docker exec 1f4d96d0dd7f836fe7077c48d29758757a46c81ef7e8aaad8deb2d1cbf752d5e ssh-agent [2020-04-21T13:32:58.404Z] SSH_AUTH_SOCK=/tmp/ssh-UVrpnZFsjD9d/agent.14 [2020-04-21T13:32:58.404Z] SSH_AGENT_PID=20 [2020-04-21T13:32:58.410Z] Running ssh-add (command line suppressed) [2020-04-21T13:32:58.549Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7110985318022639707.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7110985318022639707.key) [2020-04-21T13:32:58.590Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T13:32:58.908Z] + git semver bump pre [2020-04-21T13:32:58.908Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T13:32:58.908Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-21T13:32:58.908Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T13:32:58.908Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T13:32:58.908Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T13:32:58.908Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T13:32:58.908Z] # $SEMVER_BRANCH = master [2020-04-21T13:32:58.908Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-21T13:32:58.908Z] 1.2.0-dev.29 [Pipeline] } [2020-04-21T13:32:58.919Z] $ docker exec --env ******** --env ******** 1f4d96d0dd7f836fe7077c48d29758757a46c81ef7e8aaad8deb2d1cbf752d5e ssh-agent -k [2020-04-21T13:32:59.077Z] unset SSH_AUTH_SOCK; [2020-04-21T13:32:59.078Z] unset SSH_AGENT_PID; [2020-04-21T13:32:59.078Z] echo Agent pid 20 killed; [2020-04-21T13:32:59.118Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T13:32:59.553Z] + git semver [Pipeline] } [2020-04-21T13:32:59.568Z] $ docker stop --time=1 1f4d96d0dd7f836fe7077c48d29758757a46c81ef7e8aaad8deb2d1cbf752d5e [2020-04-21T13:33:00.926Z] $ docker rm -f 1f4d96d0dd7f836fe7077c48d29758757a46c81ef7e8aaad8deb2d1cbf752d5e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:33:01.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T13:33:01.441Z] . [Pipeline] withDockerContainer [2020-04-21T13:33:01.549Z] prd-centos7-docker-4c-2g-5235 does not seem to be running inside a container [2020-04-21T13:33:01.594Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T13:33:02.194Z] $ docker top 3d7055bf251765cd66a3fb435fe0c9c9ed794029023618eadd83dd097b7197d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T13:33:02.484Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T13:33:02.484Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T13:33:02.682Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T13:33:02.687Z] $ docker exec 3d7055bf251765cd66a3fb435fe0c9c9ed794029023618eadd83dd097b7197d0 ssh-agent [2020-04-21T13:33:02.860Z] SSH_AUTH_SOCK=/tmp/ssh-A74S9XBfGH4F/agent.15 [2020-04-21T13:33:02.861Z] SSH_AGENT_PID=22 [2020-04-21T13:33:02.867Z] Running ssh-add (command line suppressed) [2020-04-21T13:33:03.014Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7067235838745846484.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7067235838745846484.key) [2020-04-21T13:33:03.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T13:33:03.386Z] + git semver push [2020-04-21T13:33:03.386Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T13:33:03.386Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-21T13:33:03.386Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T13:33:03.386Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T13:33:03.386Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T13:33:03.386Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T13:33:03.386Z] # $SEMVER_BRANCH = master [2020-04-21T13:33:03.386Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-21T13:33:09.966Z] $ docker exec --env ******** --env ******** 3d7055bf251765cd66a3fb435fe0c9c9ed794029023618eadd83dd097b7197d0 ssh-agent -k [2020-04-21T13:33:10.099Z] unset SSH_AUTH_SOCK; [2020-04-21T13:33:10.099Z] unset SSH_AGENT_PID; [2020-04-21T13:33:10.099Z] echo Agent pid 22 killed; [2020-04-21T13:33:10.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T13:33:10.599Z] + git semver [Pipeline] } [2020-04-21T13:33:10.613Z] $ docker stop --time=1 3d7055bf251765cd66a3fb435fe0c9c9ed794029023618eadd83dd097b7197d0 [2020-04-21T13:33:11.927Z] $ docker rm -f 3d7055bf251765cd66a3fb435fe0c9c9ed794029023618eadd83dd097b7197d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-04-21T13:33:12.694Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T13:33:13.247Z] ---> package-listing.sh [2020-04-21T13:33:13.247Z] ++ facter osfamily [2020-04-21T13:33:13.247Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T13:33:13.247Z] + OS_FAMILY=redhat [2020-04-21T13:33:13.247Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T13:33:13.247Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T13:33:13.247Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T13:33:13.247Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T13:33:13.247Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T13:33:13.247Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-21T13:33:13.247Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T13:33:13.247Z] + case "${OS_FAMILY}" in [2020-04-21T13:33:13.247Z] + rpm -qa [2020-04-21T13:33:13.247Z] + sort [2020-04-21T13:33:17.432Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T13:33:17.432Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T13:33:17.432Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T13:33:17.432Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-21T13:33:17.432Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-04-21T13:33:17.432Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:33:17.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T13:33:17.907Z] [2020-04-21T13:33:17.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:33:18.237Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T13:33:18.238Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T13:33:18.238Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T13:33:18.238Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T13:33:18.238Z] 756a868c4378: Pulling fs layer [2020-04-21T13:33:18.238Z] 444b2fc9a129: Pulling fs layer [2020-04-21T13:33:18.238Z] ea15f1150254: Pulling fs layer [2020-04-21T13:33:18.238Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T13:33:18.238Z] 28c525ee5125: Pulling fs layer [2020-04-21T13:33:18.238Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T13:33:18.238Z] 138eaada9080: Pulling fs layer [2020-04-21T13:33:18.238Z] 0622d0fa9048: Pulling fs layer [2020-04-21T13:33:18.238Z] 41b27a9f41bf: Waiting [2020-04-21T13:33:18.238Z] 28c525ee5125: Waiting [2020-04-21T13:33:18.238Z] 094b1ea09ed8: Waiting [2020-04-21T13:33:18.238Z] 138eaada9080: Waiting [2020-04-21T13:33:18.238Z] 444b2fc9a129: Waiting [2020-04-21T13:33:18.238Z] 0622d0fa9048: Waiting [2020-04-21T13:33:18.238Z] 2cc5ad85d9ab: Download complete [2020-04-21T13:33:18.238Z] 444b2fc9a129: Verifying Checksum [2020-04-21T13:33:18.238Z] 444b2fc9a129: Download complete [2020-04-21T13:33:18.238Z] c9b1b535fdd9: Verifying Checksum [2020-04-21T13:33:18.238Z] c9b1b535fdd9: Download complete [2020-04-21T13:33:18.238Z] ea15f1150254: Verifying Checksum [2020-04-21T13:33:18.238Z] ea15f1150254: Download complete [2020-04-21T13:33:18.499Z] 28c525ee5125: Verifying Checksum [2020-04-21T13:33:18.499Z] 28c525ee5125: Download complete [2020-04-21T13:33:18.499Z] c9b1b535fdd9: Pull complete [2020-04-21T13:33:18.765Z] 756a868c4378: Verifying Checksum [2020-04-21T13:33:18.765Z] 756a868c4378: Download complete [2020-04-21T13:33:18.765Z] 2cc5ad85d9ab: Pull complete [2020-04-21T13:33:18.765Z] 138eaada9080: Verifying Checksum [2020-04-21T13:33:18.765Z] 138eaada9080: Download complete [2020-04-21T13:33:18.765Z] 0622d0fa9048: Verifying Checksum [2020-04-21T13:33:18.765Z] 0622d0fa9048: Download complete [2020-04-21T13:33:19.024Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T13:33:19.024Z] 094b1ea09ed8: Download complete [2020-04-21T13:33:19.282Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T13:33:19.282Z] 41b27a9f41bf: Download complete [2020-04-21T13:33:21.820Z] 756a868c4378: Pull complete [2020-04-21T13:33:21.820Z] 444b2fc9a129: Pull complete [2020-04-21T13:33:21.820Z] ea15f1150254: Pull complete [2020-04-21T13:33:25.116Z] 41b27a9f41bf: Pull complete [2020-04-21T13:33:25.374Z] 28c525ee5125: Pull complete [2020-04-21T13:33:27.276Z] 094b1ea09ed8: Pull complete [2020-04-21T13:33:27.276Z] 138eaada9080: Pull complete [2020-04-21T13:33:27.535Z] 0622d0fa9048: Pull complete [2020-04-21T13:33:27.535Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T13:33:27.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T13:33:27.670Z] prd-centos7-docker-4c-2g-5235 does not seem to be running inside a container [2020-04-21T13:33:27.711Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-21T13:33:28.739Z] $ docker top b9be525b440e41ccd07128012ad4c9e3822d381c5d9b30922f7e0eccf47df024 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T13:33:28.953Z] provisioning config files... [2020-04-21T13:33:28.965Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7580333548060430845tmp [Pipeline] { [Pipeline] echo [2020-04-21T13:33:29.021Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T13:33:29.324Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T13:33:29.330Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T13:33:29.661Z] ---> logs-deploy.sh [2020-04-21T13:33:29.661Z] + ARCHIVE_ARTIFACTS= [2020-04-21T13:33:29.661Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T13:33:29.661Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T13:33:29.661Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T13:33:29.661Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/28 [2020-04-21T13:33:29.661Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/28/ [2020-04-21T13:33:29.661Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/28 /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-21T13:33:30.637Z] Archives upload complete. [2020-04-21T13:33:30.637Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/28 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/28/