Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 95692bfba5b6922b9479d5fc02f4a388c744689f 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 a8d5489117fb74ecf2babedeac9793ec80335c77 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 a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-7105 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 95692bfba5b6922b9479d5fc02f4a388c744689f (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 95692bfba5b6922b9479d5fc02f4a388c744689f # timeout=10 Commit message: "Merge pull request #521 from hahattan/issue-520" > git rev-list --no-walk a939715cd6b2ce15799d62ce2550d8dc39d33fc5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-05-04T06:56:34.956Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-04T06:56:35.150Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-05-04T06:56:35.227Z] ========================================================= [2020-05-04T06:56:35.227Z] EdgeX Global Pipelines Version Info [2020-05-04T06:56:35.227Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-05-04T06:56:36.669Z] ------------------- [2020-05-04T06:56:36.669Z] stable info: [2020-05-04T06:56:36.669Z] ------------------- [2020-05-04T06:56:36.669Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-04T06:56:36.669Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-04T06:56:36.669Z] Message: update stable to v1.0.87 [2020-05-04T06:56:37.237Z] ------------------- [2020-05-04T06:56:37.237Z] experimental info: [2020-05-04T06:56:37.237Z] ------------------- [2020-05-04T06:56:37.237Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-05-04T06:56:37.237Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-04T06:56:37.237Z] Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-05-04T06:56:38.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-04T06:56:38.838Z] [2020-05-04T06:56:38.838Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-04T06:56:39.166Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-04T06:56:39.166Z] latest: Pulling from edgex-devops/git-semver [2020-05-04T06:56:39.166Z] 9123ac7c32f7: Pulling fs layer [2020-05-04T06:56:39.166Z] b8cc5d1170e3: Pulling fs layer [2020-05-04T06:56:39.166Z] 2924cbbf6a41: Pulling fs layer [2020-05-04T06:56:39.166Z] 93b08a4f1073: Pulling fs layer [2020-05-04T06:56:39.166Z] 93b08a4f1073: Waiting [2020-05-04T06:56:39.166Z] b8cc5d1170e3: Verifying Checksum [2020-05-04T06:56:39.166Z] b8cc5d1170e3: Download complete [2020-05-04T06:56:39.427Z] 9123ac7c32f7: Verifying Checksum [2020-05-04T06:56:39.427Z] 9123ac7c32f7: Download complete [2020-05-04T06:56:39.427Z] 2924cbbf6a41: Verifying Checksum [2020-05-04T06:56:39.427Z] 2924cbbf6a41: Download complete [2020-05-04T06:56:39.427Z] 93b08a4f1073: Verifying Checksum [2020-05-04T06:56:39.427Z] 93b08a4f1073: Download complete [2020-05-04T06:56:39.689Z] 9123ac7c32f7: Pull complete [2020-05-04T06:56:39.689Z] b8cc5d1170e3: Pull complete [2020-05-04T06:56:40.630Z] 2924cbbf6a41: Pull complete [2020-05-04T06:56:40.888Z] 93b08a4f1073: Pull complete [2020-05-04T06:56:40.888Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-04T06:56:40.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-04T06:56:41.033Z] prd-centos7-docker-4c-2g-7105 does not seem to be running inside a container [2020-05-04T06:56:41.076Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-04T06:56:41.794Z] $ docker top 8f03e5f70dbea29e2212ad874e3949e16e90b2637d3cd31679785282752a6119 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-04T06:56:42.119Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-04T06:56:42.119Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-04T06:56:42.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-04T06:56:42.334Z] $ docker exec 8f03e5f70dbea29e2212ad874e3949e16e90b2637d3cd31679785282752a6119 ssh-agent [2020-05-04T06:56:42.510Z] SSH_AUTH_SOCK=/tmp/ssh-HyN4yoJpUZlb/agent.15 [2020-05-04T06:56:42.510Z] SSH_AGENT_PID=22 [2020-05-04T06:56:42.520Z] Running ssh-add (command line suppressed) [2020-05-04T06:56:42.666Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2236689414966071430.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2236689414966071430.key) [2020-05-04T06:56:42.718Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-04T06:56:43.053Z] + git describe --exact-match --tags HEAD [2020-05-04T06:56:43.054Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-04T06:56:43.146Z] $ docker exec --env ******** --env ******** 8f03e5f70dbea29e2212ad874e3949e16e90b2637d3cd31679785282752a6119 ssh-agent -k [2020-05-04T06:56:43.309Z] unset SSH_AUTH_SOCK; [2020-05-04T06:56:43.309Z] unset SSH_AGENT_PID; [2020-05-04T06:56:43.309Z] echo Agent pid 22 killed; [2020-05-04T06:56:43.366Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-04T06:56:43.439Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-04T06:56:43.439Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-04T06:56:43.514Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-04T06:56:43.514Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-04T06:56:43.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-04T06:56:43.710Z] $ docker exec 8f03e5f70dbea29e2212ad874e3949e16e90b2637d3cd31679785282752a6119 ssh-agent [2020-05-04T06:56:43.887Z] SSH_AUTH_SOCK=/tmp/ssh-qcMJYwpPkgiE/agent.58 [2020-05-04T06:56:43.887Z] SSH_AGENT_PID=65 [2020-05-04T06:56:43.894Z] Running ssh-add (command line suppressed) [2020-05-04T06:56:44.042Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5065816272349987578.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5065816272349987578.key) [2020-05-04T06:56:44.091Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-04T06:56:44.421Z] + git semver init [2020-05-04T06:56:44.421Z] # -> Open(): unable to determine branch for HEAD [2020-05-04T06:56:44.421Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-05-04T06:56:44.421Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-04T06:56:44.421Z] # $SEMVER_REMOTE_NAME = origin [2020-05-04T06:56:44.421Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-04T06:56:44.421Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-04T06:56:44.421Z] # $SEMVER_BRANCH = master [2020-05-04T06:56:44.421Z] # $SEMVER_TEMP = /tmp/semver-271821705 [2020-05-04T06:56:44.421Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-05-04T06:56:44.991Z] # '/tmp/semver-271821705' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-05-04T06:56:44.991Z] # -> Force: false [2020-05-04T06:56:44.991Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-05-04T06:56:45.003Z] $ docker exec --env ******** --env ******** 8f03e5f70dbea29e2212ad874e3949e16e90b2637d3cd31679785282752a6119 ssh-agent -k [2020-05-04T06:56:45.139Z] unset SSH_AUTH_SOCK; [2020-05-04T06:56:45.139Z] unset SSH_AGENT_PID; [2020-05-04T06:56:45.139Z] echo Agent pid 65 killed; [2020-05-04T06:56:45.186Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-04T06:56:45.608Z] + git semver [Pipeline] } [2020-05-04T06:56:45.621Z] $ docker stop --time=1 8f03e5f70dbea29e2212ad874e3949e16e90b2637d3cd31679785282752a6119 [2020-05-04T06:56:46.985Z] $ docker rm -f 8f03e5f70dbea29e2212ad874e3949e16e90b2637d3cd31679785282752a6119 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-04T06:56:47.786Z] Stashed 57 file(s) [Pipeline] echo [2020-05-04T06:56:47.788Z] [edgeXSemver] initialized semver on version 1.2.1-dev.2 [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-05-04T06:57:03.008Z] Still waiting to schedule task [2020-05-04T06:57:03.009Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-05-04T06:57:03.010Z] Still waiting to schedule task [2020-05-04T06:57:03.010Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-05-04T06:59:27.477Z] Running on prd-centos7-docker-4c-2g-7108 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-05-04T06:59:27.519Z] Running in /w/workspace/device-sdk-go/38 [Pipeline] { [Pipeline] checkout [2020-05-04T06:59:33.143Z] using credential edgex-jenkins-ssh [2020-05-04T06:59:33.187Z] Cloning the remote Git repository [2020-05-04T06:59:33.187Z] Cloning with configured refspecs honoured and without tags [2020-05-04T06:59:33.238Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-05-04T06:59:34.293Z] Fetching without tags [2020-05-04T06:59:33.382Z] > git init /w/workspace/device-sdk-go/38 # timeout=10 [2020-05-04T06:59:33.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-04T06:59:33.446Z] > git --version # timeout=10 [2020-05-04T06:59:33.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-04T06:59:33.517Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-04T06:59:34.231Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-04T06:59:34.256Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-04T06:59:34.272Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-04T06:59:34.298Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-04T06:59:34.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-04T06:59:34.308Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-04T06:59:34.697Z] Checking out Revision 95692bfba5b6922b9479d5fc02f4a388c744689f (master) [2020-05-04T06:59:34.706Z] > git config core.sparsecheckout # timeout=10 [2020-05-04T06:59:34.727Z] > git checkout -f 95692bfba5b6922b9479d5fc02f4a388c744689f # timeout=10 [2020-05-04T06:59:39.594Z] Commit message: "Merge pull request #521 from hahattan/issue-520" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-04T06:59:40.928Z] ========================================================= [2020-05-04T06:59:40.928Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-05-04T06:59:40.928Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-04T06:59:41.931Z] + 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-05-04T06:59:42.526Z] Sending build context to Docker daemon 3.025MB [2020-05-04T06:59:42.791Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-05-04T06:59:42.791Z] Step 2/8 : FROM ${BASE} [2020-05-04T06:59:42.791Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-05-04T06:59:42.791Z] e6b0cf9c0882: Pulling fs layer [2020-05-04T06:59:42.791Z] 2848faf0eed1: Pulling fs layer [2020-05-04T06:59:42.791Z] 0f37312ad70f: Pulling fs layer [2020-05-04T06:59:42.791Z] 5788d62ee057: Pulling fs layer [2020-05-04T06:59:42.791Z] 0e6b1d234666: Pulling fs layer [2020-05-04T06:59:42.791Z] bf5d7aec512f: Pulling fs layer [2020-05-04T06:59:42.791Z] 34c802a77dc8: Pulling fs layer [2020-05-04T06:59:42.791Z] 9eb99e56ec68: Pulling fs layer [2020-05-04T06:59:42.791Z] 27c7a5d97fbd: Pulling fs layer [2020-05-04T06:59:42.791Z] 5c102a31e300: Pulling fs layer [2020-05-04T06:59:42.791Z] dcfb455df0a1: Pulling fs layer [2020-05-04T06:59:42.791Z] 5788d62ee057: Waiting [2020-05-04T06:59:42.791Z] 0e6b1d234666: Waiting [2020-05-04T06:59:42.791Z] bf5d7aec512f: Waiting [2020-05-04T06:59:42.791Z] 34c802a77dc8: Waiting [2020-05-04T06:59:42.791Z] 9eb99e56ec68: Waiting [2020-05-04T06:59:42.791Z] 27c7a5d97fbd: Waiting [2020-05-04T06:59:42.791Z] 5c102a31e300: Waiting [2020-05-04T06:59:42.791Z] dcfb455df0a1: Waiting [2020-05-04T06:59:42.791Z] 0f37312ad70f: Verifying Checksum [2020-05-04T06:59:42.791Z] 0f37312ad70f: Download complete [2020-05-04T06:59:42.791Z] 2848faf0eed1: Verifying Checksum [2020-05-04T06:59:42.791Z] 2848faf0eed1: Download complete [2020-05-04T06:59:42.791Z] 0e6b1d234666: Verifying Checksum [2020-05-04T06:59:42.791Z] 0e6b1d234666: Download complete [2020-05-04T06:59:42.791Z] bf5d7aec512f: Verifying Checksum [2020-05-04T06:59:42.791Z] bf5d7aec512f: Download complete [2020-05-04T06:59:42.791Z] e6b0cf9c0882: Download complete [2020-05-04T06:59:43.384Z] e6b0cf9c0882: Pull complete [2020-05-04T06:59:43.673Z] 2848faf0eed1: Pull complete [2020-05-04T06:59:43.714Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-7107 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-05-04T06:59:43.769Z] Running in /w/workspace/device-sdk-go/38 [Pipeline] { [Pipeline] checkout [2020-05-04T06:59:43.969Z] 0f37312ad70f: Pull complete [2020-05-04T06:59:44.643Z] 34c802a77dc8: Verifying Checksum [2020-05-04T06:59:44.643Z] 34c802a77dc8: Download complete [2020-05-04T06:59:44.643Z] 27c7a5d97fbd: Verifying Checksum [2020-05-04T06:59:44.643Z] 27c7a5d97fbd: Download complete [2020-05-04T06:59:45.679Z] 5788d62ee057: Verifying Checksum [2020-05-04T06:59:45.679Z] 5788d62ee057: Download complete [2020-05-04T06:59:45.679Z] 9eb99e56ec68: Verifying Checksum [2020-05-04T06:59:45.679Z] 9eb99e56ec68: Download complete [2020-05-04T06:59:45.679Z] dcfb455df0a1: Verifying Checksum [2020-05-04T06:59:45.679Z] dcfb455df0a1: Download complete [2020-05-04T06:59:45.963Z] 5c102a31e300: Verifying Checksum [2020-05-04T06:59:45.963Z] 5c102a31e300: Download complete [2020-05-04T06:59:49.707Z] using credential edgex-jenkins-ssh [2020-05-04T06:59:49.808Z] Cloning the remote Git repository [2020-05-04T06:59:49.808Z] Cloning with configured refspecs honoured and without tags [2020-05-04T06:59:49.871Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-05-04T06:59:49.956Z] > git init /w/workspace/device-sdk-go/38 # timeout=10 [2020-05-04T06:59:50.042Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-04T06:59:50.049Z] > git --version # timeout=10 [2020-05-04T06:59:50.096Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-04T06:59:51.249Z] Fetching without tags [2020-05-04T06:59:50.152Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-04T06:59:51.178Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-04T06:59:51.198Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-04T06:59:51.223Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-04T06:59:51.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-04T06:59:51.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-04T06:59:51.283Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-04T06:59:51.699Z] Checking out Revision 95692bfba5b6922b9479d5fc02f4a388c744689f (master) [2020-05-04T06:59:51.721Z] > git config core.sparsecheckout # timeout=10 [2020-05-04T06:59:51.762Z] > git checkout -f 95692bfba5b6922b9479d5fc02f4a388c744689f # timeout=10 [2020-05-04T06:59:56.137Z] 5788d62ee057: Pull complete [2020-05-04T06:59:56.137Z] 0e6b1d234666: Pull complete [2020-05-04T06:59:56.137Z] bf5d7aec512f: Pull complete [2020-05-04T06:59:56.614Z] Commit message: "Merge pull request #521 from hahattan/issue-520" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-04T06:59:57.769Z] ========================================================= [2020-05-04T06:59:57.769Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-05-04T06:59:57.769Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-04T06:59:58.960Z] + 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-05-04T06:59:59.933Z] Sending build context to Docker daemon 3.025MB [2020-05-04T06:59:59.933Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-05-04T06:59:59.933Z] Step 2/8 : FROM ${BASE} [2020-05-04T07:00:00.201Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-05-04T07:00:00.201Z] cde5963f3b93: Pulling fs layer [2020-05-04T07:00:00.201Z] 2a23fa8c16f7: Pulling fs layer [2020-05-04T07:00:00.201Z] 777b28850792: Pulling fs layer [2020-05-04T07:00:00.201Z] 8a11ddd9e578: Pulling fs layer [2020-05-04T07:00:00.201Z] 4cf88f913ddb: Pulling fs layer [2020-05-04T07:00:00.201Z] 1df406cf5192: Pulling fs layer [2020-05-04T07:00:00.201Z] cd6300453558: Pulling fs layer [2020-05-04T07:00:00.201Z] b9c365052c96: Pulling fs layer [2020-05-04T07:00:00.201Z] a2d8cc88f415: Pulling fs layer [2020-05-04T07:00:00.201Z] ea1d1ca13537: Pulling fs layer [2020-05-04T07:00:00.201Z] 3750a50a1c5e: Pulling fs layer [2020-05-04T07:00:00.201Z] 1df406cf5192: Waiting [2020-05-04T07:00:00.201Z] cd6300453558: Waiting [2020-05-04T07:00:00.201Z] b9c365052c96: Waiting [2020-05-04T07:00:00.201Z] a2d8cc88f415: Waiting [2020-05-04T07:00:00.201Z] ea1d1ca13537: Waiting [2020-05-04T07:00:00.201Z] 3750a50a1c5e: Waiting [2020-05-04T07:00:00.201Z] 8a11ddd9e578: Waiting [2020-05-04T07:00:00.201Z] 4cf88f913ddb: Waiting [2020-05-04T07:00:00.201Z] 777b28850792: Verifying Checksum [2020-05-04T07:00:00.201Z] 777b28850792: Download complete [2020-05-04T07:00:00.201Z] 2a23fa8c16f7: Verifying Checksum [2020-05-04T07:00:00.201Z] 2a23fa8c16f7: Download complete [2020-05-04T07:00:00.201Z] 4cf88f913ddb: Download complete [2020-05-04T07:00:00.201Z] 1df406cf5192: Verifying Checksum [2020-05-04T07:00:00.201Z] 1df406cf5192: Download complete [2020-05-04T07:00:00.470Z] cde5963f3b93: Verifying Checksum [2020-05-04T07:00:00.470Z] cde5963f3b93: Download complete [2020-05-04T07:00:01.459Z] cde5963f3b93: Pull complete [2020-05-04T07:00:02.054Z] 2a23fa8c16f7: Pull complete [2020-05-04T07:00:02.323Z] 777b28850792: Pull complete [2020-05-04T07:00:02.808Z] 34c802a77dc8: Pull complete [2020-05-04T07:00:04.297Z] cd6300453558: Verifying Checksum [2020-05-04T07:00:04.297Z] cd6300453558: Download complete [2020-05-04T07:00:04.297Z] a2d8cc88f415: Verifying Checksum [2020-05-04T07:00:04.297Z] a2d8cc88f415: Download complete [2020-05-04T07:00:06.889Z] ea1d1ca13537: Verifying Checksum [2020-05-04T07:00:06.889Z] ea1d1ca13537: Download complete [2020-05-04T07:00:06.889Z] 3750a50a1c5e: Verifying Checksum [2020-05-04T07:00:06.889Z] 3750a50a1c5e: Download complete [2020-05-04T07:00:07.140Z] 9eb99e56ec68: Pull complete [2020-05-04T07:00:07.140Z] 27c7a5d97fbd: Pull complete [2020-05-04T07:00:08.558Z] 5c102a31e300: Pull complete [2020-05-04T07:00:08.829Z] dcfb455df0a1: Pull complete [2020-05-04T07:00:08.829Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-05-04T07:00:08.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-05-04T07:00:08.829Z] ---> 7c70fe431013 [2020-05-04T07:00:08.829Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-04T07:00:09.097Z] ---> Running in 77262e24912e [2020-05-04T07:00:09.370Z] Removing intermediate container 77262e24912e [2020-05-04T07:00:09.370Z] ---> 0c3b2ae7b806 [2020-05-04T07:00:09.370Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-04T07:00:09.370Z] ---> Running in ce2287d501c8 [2020-05-04T07:00:09.482Z] b9c365052c96: Verifying Checksum [2020-05-04T07:00:09.482Z] b9c365052c96: Download complete [2020-05-04T07:00:10.769Z] Removing intermediate container ce2287d501c8 [2020-05-04T07:00:10.769Z] ---> d688cdb5f558 [2020-05-04T07:00:10.769Z] Step 5/8 : RUN apk add --no-cache make git [2020-05-04T07:00:10.769Z] ---> Running in 4f87375e0e18 [2020-05-04T07:00:11.430Z] 8a11ddd9e578: Verifying Checksum [2020-05-04T07:00:11.430Z] 8a11ddd9e578: Download complete [2020-05-04T07:00:11.735Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-04T07:00:12.381Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-04T07:00:13.126Z] OK: 143 MiB in 39 packages [2020-05-04T07:00:13.834Z] Removing intermediate container 4f87375e0e18 [2020-05-04T07:00:13.834Z] ---> fa57db736bc2 [2020-05-04T07:00:13.834Z] Step 6/8 : WORKDIR /device-sdk-go [2020-05-04T07:00:14.122Z] ---> Running in 8647ee5517d9 [2020-05-04T07:00:14.122Z] Removing intermediate container 8647ee5517d9 [2020-05-04T07:00:14.122Z] ---> 02b6c32c1f9b [2020-05-04T07:00:14.122Z] Step 7/8 : COPY . . [2020-05-04T07:00:14.768Z] ---> e58f049c4bd6 [2020-05-04T07:00:14.768Z] Step 8/8 : RUN go mod download [2020-05-04T07:00:15.032Z] ---> Running in c90d665c6b44 [2020-05-04T07:00:17.174Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-04T07:00:17.174Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-04T07:00:17.174Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-04T07:00:17.174Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-04T07:00:17.174Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-04T07:00:17.446Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-04T07:00:17.446Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-04T07:00:17.446Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-04T07:00:17.446Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-04T07:00:17.446Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-04T07:00:17.446Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-05-04T07:00:17.446Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-05-04T07:00:17.446Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-04T07:00:17.446Z] go: finding github.com/fatih/color v1.7.0 [2020-05-04T07:00:17.446Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-04T07:00:17.446Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-04T07:00:17.446Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-04T07:00:17.446Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-04T07:00:17.446Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-04T07:00:17.446Z] go: finding github.com/google/uuid v1.1.0 [2020-05-04T07:00:17.446Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-04T07:00:17.446Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-04T07:00:17.446Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-04T07:00:17.446Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-04T07:00:17.446Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-04T07:00:17.446Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-04T07:00:17.446Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-04T07:00:17.725Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-04T07:00:17.725Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-04T07:00:17.725Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-04T07:00:17.725Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-04T07:00:17.725Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-04T07:00:17.725Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-04T07:00:17.725Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-04T07:00:17.725Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-04T07:00:17.725Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-04T07:00:17.725Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-04T07:00:17.725Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-04T07:00:17.725Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-04T07:00:17.725Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-04T07:00:17.725Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-04T07:00:17.725Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-04T07:00:17.725Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-04T07:00:17.725Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-04T07:00:17.725Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-04T07:00:17.725Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-04T07:00:17.725Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-04T07:00:17.725Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-04T07:00:17.725Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-04T07:00:17.725Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-04T07:00:17.725Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-04T07:00:18.020Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-04T07:00:18.020Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-04T07:00:18.020Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-04T07:00:18.020Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-04T07:00:18.020Z] go: finding github.com/posener/complete v1.1.1 [2020-05-04T07:00:18.020Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-04T07:00:18.020Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-04T07:00:18.020Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-04T07:00:18.020Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-04T07:00:18.020Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-04T07:00:18.020Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-04T07:00:18.020Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-04T07:00:18.020Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-04T07:00:18.020Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-04T07:00:18.020Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-04T07:00:18.020Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-04T07:00:18.020Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-04T07:00:23.351Z] Removing intermediate container c90d665c6b44 [2020-05-04T07:00:23.351Z] ---> daf32ac7cd84 [2020-05-04T07:00:23.351Z] Successfully built daf32ac7cd84 [2020-05-04T07:00:23.351Z] 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-05-04T07:00:23.779Z] 8a11ddd9e578: Pull complete [2020-05-04T07:00:23.779Z] 4cf88f913ddb: Pull complete [2020-05-04T07:00:23.779Z] 1df406cf5192: Pull complete [2020-05-04T07:00:23.976Z] + docker inspect -f . ci-base-image-x86_64 [2020-05-04T07:00:23.976Z] . [Pipeline] withDockerContainer [2020-05-04T07:00:24.323Z] prd-centos7-docker-4c-2g-7108 does not seem to be running inside a container [2020-05-04T07:00:24.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/38 -v /w/workspace/device-sdk-go/38:/w/workspace/device-sdk-go/38:rw,z -v /w/workspace/device-sdk-go/38@tmp:/w/workspace/device-sdk-go/38@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-05-04T07:00:25.922Z] $ docker top 13faef04cdeb1cc0aef88b54245881049eadb1a683a7c3ecc6f52475354a4601 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-04T07:00:26.517Z] + go version [2020-05-04T07:00:26.517Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-05-04T07:00:26.855Z] + make test [2020-05-04T07:00:26.855Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-04T07:00:27.810Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-05-04T07:00:29.147Z] cd6300453558: Pull complete [2020-05-04T07:00:33.422Z] b9c365052c96: Pull complete [2020-05-04T07:00:33.690Z] a2d8cc88f415: Pull complete [2020-05-04T07:00:35.674Z] ea1d1ca13537: Pull complete [2020-05-04T07:00:36.263Z] 3750a50a1c5e: Pull complete [2020-05-04T07:00:36.263Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-05-04T07:00:36.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-05-04T07:00:36.263Z] ---> 78745c68409d [2020-05-04T07:00:36.263Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-04T07:00:40.540Z] ---> Running in 80db358345a1 [2020-05-04T07:00:40.540Z] Removing intermediate container 80db358345a1 [2020-05-04T07:00:40.540Z] ---> 7c95606b7869 [2020-05-04T07:00:40.540Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-04T07:00:40.540Z] ---> Running in cbb74aacc330 [2020-05-04T07:00:42.922Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-05-04T07:00:42.922Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-05-04T07:00:42.922Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-05-04T07:00:42.922Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.024s coverage: 22.1% of statements [2020-05-04T07:00:43.151Z] Removing intermediate container cbb74aacc330 [2020-05-04T07:00:43.151Z] ---> 54f40e84e72a [2020-05-04T07:00:43.151Z] Step 5/8 : RUN apk add --no-cache make git [2020-05-04T07:00:43.151Z] ---> Running in fdf0bb682479 [2020-05-04T07:00:43.736Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-04T07:00:44.691Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-04T07:00:45.274Z] OK: 125 MiB in 39 packages [2020-05-04T07:00:46.251Z] Removing intermediate container fdf0bb682479 [2020-05-04T07:00:46.251Z] ---> a83fb02d2f9e [2020-05-04T07:00:46.251Z] Step 6/8 : WORKDIR /device-sdk-go [2020-05-04T07:00:46.521Z] ---> Running in c2c2a4136ba4 [2020-05-04T07:00:46.789Z] Removing intermediate container c2c2a4136ba4 [2020-05-04T07:00:46.789Z] ---> 393d03a0f8a2 [2020-05-04T07:00:46.789Z] Step 7/8 : COPY . . [2020-05-04T07:00:48.226Z] ---> 04524c903809 [2020-05-04T07:00:48.226Z] Step 8/8 : RUN go mod download [2020-05-04T07:00:48.226Z] ---> Running in daa13bde1c97 [2020-05-04T07:00:49.582Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.090s coverage: 95.8% of statements [2020-05-04T07:00:50.183Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-04T07:00:50.183Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-04T07:00:50.183Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-04T07:00:50.183Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-04T07:00:50.183Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-04T07:00:50.183Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-04T07:00:50.183Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-04T07:00:50.183Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-04T07:00:50.183Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-04T07:00:50.183Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-04T07:00:50.183Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-05-04T07:00:50.183Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-05-04T07:00:50.183Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-04T07:00:50.183Z] go: finding github.com/fatih/color v1.7.0 [2020-05-04T07:00:50.183Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-04T07:00:50.183Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-04T07:00:50.183Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-04T07:00:50.183Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-04T07:00:50.183Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-04T07:00:50.183Z] go: finding github.com/google/uuid v1.1.0 [2020-05-04T07:00:50.183Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-04T07:00:50.183Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-04T07:00:50.183Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-04T07:00:50.183Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-04T07:00:50.183Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-04T07:00:50.183Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-04T07:00:50.183Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-04T07:00:50.183Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-04T07:00:50.183Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-04T07:00:50.183Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-04T07:00:50.183Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-04T07:00:50.183Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-04T07:00:50.450Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-04T07:00:50.450Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-04T07:00:50.450Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-04T07:00:50.450Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-04T07:00:50.450Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-04T07:00:50.450Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-04T07:00:50.450Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-04T07:00:50.450Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-04T07:00:50.450Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-04T07:00:50.450Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-04T07:00:50.450Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-04T07:00:50.450Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-04T07:00:50.450Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-04T07:00:50.450Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-04T07:00:50.450Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-04T07:00:50.450Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-04T07:00:50.450Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-04T07:00:50.450Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-04T07:00:50.450Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-04T07:00:50.450Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-04T07:00:50.450Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-04T07:00:50.450Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-04T07:00:50.450Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-04T07:00:50.450Z] go: finding github.com/posener/complete v1.1.1 [2020-05-04T07:00:50.450Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-04T07:00:50.450Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-04T07:00:50.720Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-04T07:00:50.720Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-04T07:00:50.720Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-04T07:00:50.720Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-04T07:00:50.720Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-04T07:00:50.720Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-04T07:00:50.720Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-04T07:00:50.720Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-04T07:00:50.720Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-04T07:00:50.720Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-04T07:01:00.831Z] Removing intermediate container daa13bde1c97 [2020-05-04T07:01:00.831Z] ---> 4af86a5af160 [2020-05-04T07:01:00.831Z] Successfully built 4af86a5af160 [2020-05-04T07:01:00.831Z] 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-05-04T07:01:01.547Z] + docker inspect -f . ci-base-image-arm64 [2020-05-04T07:01:01.819Z] . [Pipeline] withDockerContainer [2020-05-04T07:01:02.163Z] prd-ubuntu18.04-docker-arm64-4c-16g-7107 does not seem to be running inside a container [2020-05-04T07:01:02.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/38 -v /w/workspace/device-sdk-go/38:/w/workspace/device-sdk-go/38:rw,z -v /w/workspace/device-sdk-go/38@tmp:/w/workspace/device-sdk-go/38@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-05-04T07:01:03.644Z] $ docker top 20db67549e21339372e703f78ce041168c1d156f68a15dda3500e608115675cb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-04T07:01:04.717Z] + go version [2020-05-04T07:01:04.717Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-05-04T07:01:05.387Z] + make test [2020-05-04T07:01:05.387Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-04T07:01:06.806Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-05-04T07:01:21.828Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.046s coverage: 11.4% of statements [2020-05-04T07:01:21.828Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements [2020-05-04T07:01:21.828Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-05-04T07:01:21.828Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.135s coverage: 36.9% of statements [2020-05-04T07:01:21.828Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-05-04T07:01:21.828Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-05-04T07:01:21.828Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.145s coverage: 65.2% of statements [2020-05-04T07:01:21.828Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-05-04T07:01:21.828Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-05-04T07:01:21.828Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-05-04T07:01:21.828Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.028s coverage: 52.6% of statements [2020-05-04T07:01:21.828Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-05-04T07:01:21.828Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.620s coverage: 68.9% of statements [2020-05-04T07:01:21.828Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-05-04T07:01:21.828Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-05-04T07:01:21.828Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-04T07:01:23.796Z] gofmt -l . [2020-05-04T07:01:24.091Z] [ "`gofmt -l .`" = "" ] [2020-05-04T07:01:24.372Z] ./bin/test-attribution-txt.sh [2020-05-04T07:01:25.866Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-05-04T07:01:27.692Z] Stashed 1 file(s) [Pipeline] } [2020-05-04T07:01:27.699Z] $ docker stop --time=1 13faef04cdeb1cc0aef88b54245881049eadb1a683a7c3ecc6f52475354a4601 [2020-05-04T07:01:29.429Z] $ docker rm -f 13faef04cdeb1cc0aef88b54245881049eadb1a683a7c3ecc6f52475354a4601 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-04T07:01:30.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-04T07:01:30.953Z] + ls -al . [2020-05-04T07:01:30.953Z] total 180 [2020-05-04T07:01:30.953Z] drwxrwxr-x. 11 jenkins jenkins 4096 May 4 07:01 . [2020-05-04T07:01:30.953Z] drwxrwxr-x. 4 jenkins jenkins 30 May 4 06:59 .. [2020-05-04T07:01:30.953Z] drwxrwxr-x. 3 jenkins jenkins 20 May 4 06:59 api [2020-05-04T07:01:30.953Z] drwxrwxr-x. 2 jenkins jenkins 64 May 4 06:59 bin [2020-05-04T07:01:30.953Z] -rw-r--r--. 1 jenkins jenkins 110877 May 4 07:01 coverage.out [2020-05-04T07:01:30.953Z] -rw-rw-r--. 1 jenkins jenkins 936 May 4 06:59 Dockerfile.build [2020-05-04T07:01:30.953Z] -rw-rw-r--. 1 jenkins jenkins 140 May 4 06:59 .dockerignore [2020-05-04T07:01:30.953Z] drwxrwxr-x. 4 jenkins jenkins 48 May 4 06:59 example [2020-05-04T07:01:30.953Z] drwxrwxr-x. 8 jenkins jenkins 162 May 4 06:59 .git [2020-05-04T07:01:30.953Z] drwxrwxr-x. 2 jenkins jenkins 38 May 4 06:59 .github [2020-05-04T07:01:30.953Z] -rw-rw-r--. 1 jenkins jenkins 138 May 4 06:59 .gitignore [2020-05-04T07:01:30.953Z] -rw-r--r--. 1 jenkins jenkins 446 May 4 07:01 go.mod [2020-05-04T07:01:30.953Z] -rw-r--r--. 1 jenkins jenkins 12076 May 4 07:01 go.sum [2020-05-04T07:01:30.953Z] drwxrwxr-x. 15 jenkins jenkins 217 May 4 06:59 internal [2020-05-04T07:01:30.953Z] -rw-rw-r--. 1 jenkins jenkins 808 May 4 06:59 Jenkinsfile [2020-05-04T07:01:30.953Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 4 06:59 LICENSE [2020-05-04T07:01:30.953Z] -rw-rw-r--. 1 jenkins jenkins 892 May 4 06:59 Makefile [2020-05-04T07:01:30.953Z] drwxrwxr-x. 5 jenkins jenkins 50 May 4 06:59 pkg [2020-05-04T07:01:30.953Z] -rw-rw-r--. 1 jenkins jenkins 2249 May 4 06:59 README.md [2020-05-04T07:01:30.953Z] -rw-rw-r--. 1 jenkins jenkins 3636 May 4 06:59 RELEASE-NOTES.txt [2020-05-04T07:01:30.953Z] drwxrwxr-x. 3 jenkins jenkins 59 May 4 06:59 .semver [2020-05-04T07:01:30.953Z] drwxrwxr-x. 4 jenkins jenkins 54 May 4 06:59 snap [2020-05-04T07:01:30.953Z] -rw-rw-r--. 1 jenkins jenkins 11 May 4 06:56 VERSION [2020-05-04T07:01:30.953Z] -rw-rw-r--. 1 jenkins jenkins 222 May 4 06:59 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-04T07:01:31.266Z] + 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=95692bfba5b6922b9479d5fc02f4a388c744689f --label arch=amd64 --label version=1.2.1-dev.2 . [2020-05-04T07:01:31.532Z] Sending build context to Docker daemon 3.153MB [2020-05-04T07:01:31.532Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-05-04T07:01:31.532Z] Step 2/21 : FROM ${BASE} AS builder [2020-05-04T07:01:31.532Z] ---> daf32ac7cd84 [2020-05-04T07:01:31.532Z] Step 3/21 : ARG MAKE='make build' [2020-05-04T07:01:31.532Z] ---> Running in a1d4ef321509 [2020-05-04T07:01:31.805Z] Removing intermediate container a1d4ef321509 [2020-05-04T07:01:31.805Z] ---> 1fd5b6f5bfe6 [2020-05-04T07:01:31.805Z] Step 4/21 : WORKDIR /device-sdk-go [2020-05-04T07:01:31.805Z] ---> Running in 5441cabe343c [2020-05-04T07:01:32.077Z] Removing intermediate container 5441cabe343c [2020-05-04T07:01:32.077Z] ---> 2e0c105d7783 [2020-05-04T07:01:32.077Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-04T07:01:32.077Z] ---> Running in 678ce2538215 [2020-05-04T07:01:32.344Z] Removing intermediate container 678ce2538215 [2020-05-04T07:01:32.344Z] ---> ad4b6a3ccb82 [2020-05-04T07:01:32.344Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-04T07:01:32.619Z] ---> Running in ced7154dc78e [2020-05-04T07:01:33.558Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-05-04T07:01:33.558Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-05-04T07:01:33.558Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-05-04T07:01:33.605Z] Removing intermediate container ced7154dc78e [2020-05-04T07:01:33.605Z] ---> 2a88b9a843a2 [2020-05-04T07:01:33.605Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-05-04T07:01:33.605Z] ---> Running in bc188a323fbf [2020-05-04T07:01:34.187Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-04T07:01:34.792Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-04T07:01:35.365Z] OK: 143 MiB in 39 packages [2020-05-04T07:01:35.549Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.027s coverage: 22.1% of statements [2020-05-04T07:01:35.939Z] Removing intermediate container bc188a323fbf [2020-05-04T07:01:35.939Z] ---> b014055ab9ed [2020-05-04T07:01:35.939Z] Step 8/21 : COPY . . [2020-05-04T07:01:36.517Z] ---> 80ca06eb7693 [2020-05-04T07:01:36.517Z] Step 9/21 : RUN ${MAKE} [2020-05-04T07:01:36.517Z] ---> Running in 4969f87c1d62 [2020-05-04T07:01:37.096Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.1-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-05-04T07:01:38.926Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.157s coverage: 95.8% of statements [2020-05-04T07:01:52.272Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-05-04T07:01:53.247Z] Removing intermediate container 4969f87c1d62 [2020-05-04T07:01:53.247Z] ---> 1b2765867378 [2020-05-04T07:01:53.247Z] Step 10/21 : FROM scratch [2020-05-04T07:01:53.247Z] ---> [2020-05-04T07:01:53.247Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-04T07:01:53.511Z] ---> Running in c15fdb2db33c [2020-05-04T07:01:53.511Z] Removing intermediate container c15fdb2db33c [2020-05-04T07:01:53.511Z] ---> 3dc7f588156e [2020-05-04T07:01:53.511Z] Step 12/21 : ENV APP_PORT=49990 [2020-05-04T07:01:53.511Z] ---> Running in cae16f711be4 [2020-05-04T07:01:53.800Z] Removing intermediate container cae16f711be4 [2020-05-04T07:01:53.800Z] ---> 69a8549f7263 [2020-05-04T07:01:53.800Z] Step 13/21 : EXPOSE $APP_PORT [2020-05-04T07:01:53.800Z] ---> Running in 9081dac28953 [2020-05-04T07:01:54.079Z] Removing intermediate container 9081dac28953 [2020-05-04T07:01:54.079Z] ---> 9705eb1aaf7c [2020-05-04T07:01:54.079Z] Step 14/21 : WORKDIR / [2020-05-04T07:01:54.079Z] ---> Running in cf7fcdbae1a6 [2020-05-04T07:01:54.079Z] Removing intermediate container cf7fcdbae1a6 [2020-05-04T07:01:54.079Z] ---> 40984b0e79e3 [2020-05-04T07:01:54.079Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-05-04T07:01:54.696Z] ---> c68c7866b914 [2020-05-04T07:01:54.696Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-05-04T07:01:54.980Z] ---> eb8749d0dc7f [2020-05-04T07:01:54.981Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-05-04T07:01:55.246Z] ---> 1948e37050d0 [2020-05-04T07:01:55.246Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-05-04T07:01:55.246Z] ---> Running in 57391af8082f [2020-05-04T07:01:55.515Z] Removing intermediate container 57391af8082f [2020-05-04T07:01:55.515Z] ---> 198aa667c695 [2020-05-04T07:01:55.515Z] Step 19/21 : LABEL arch=amd64 [2020-05-04T07:01:55.515Z] ---> Running in 9a429088801a [2020-05-04T07:01:55.800Z] Removing intermediate container 9a429088801a [2020-05-04T07:01:55.800Z] ---> dd215bf2a052 [2020-05-04T07:01:55.800Z] Step 20/21 : LABEL git_sha=95692bfba5b6922b9479d5fc02f4a388c744689f [2020-05-04T07:01:56.071Z] ---> Running in 93cebab638ef [2020-05-04T07:01:56.362Z] Removing intermediate container 93cebab638ef [2020-05-04T07:01:56.362Z] ---> 070df597bf35 [2020-05-04T07:01:56.362Z] Step 21/21 : LABEL version=1.2.1-dev.2 [2020-05-04T07:01:56.362Z] ---> Running in 6a9ee902f8c9 [2020-05-04T07:01:56.362Z] Removing intermediate container 6a9ee902f8c9 [2020-05-04T07:01:56.362Z] ---> b6602c0ce5b9 [2020-05-04T07:01:56.362Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-04T07:01:56.362Z] Successfully built b6602c0ce5b9 [2020-05-04T07:01:56.384Z] 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-05-04T07:02:11.176Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.095s coverage: 11.4% of statements [2020-05-04T07:02:11.176Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.7% of statements [2020-05-04T07:02:11.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-05-04T07:02:11.176Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.130s coverage: 36.9% of statements [2020-05-04T07:02:11.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-05-04T07:02:11.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-05-04T07:02:11.176Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.444s coverage: 65.2% of statements [2020-05-04T07:02:11.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-05-04T07:02:11.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-05-04T07:02:11.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-05-04T07:02:11.176Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.048s coverage: 52.6% of statements [2020-05-04T07:02:11.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-05-04T07:02:11.176Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.354s coverage: 68.9% of statements [2020-05-04T07:02:11.176Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-05-04T07:02:11.176Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-05-04T07:02:11.176Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-04T07:02:13.129Z] gofmt -l . [2020-05-04T07:02:13.722Z] [ "`gofmt -l .`" = "" ] [2020-05-04T07:02:13.994Z] ./bin/test-attribution-txt.sh [2020-05-04T07:02:14.581Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-05-04T07:02:15.178Z] Warning: overwriting stash ‘coverage-report’ [2020-05-04T07:02:15.634Z] Stashed 1 file(s) [Pipeline] } [2020-05-04T07:02:15.649Z] $ docker stop --time=1 20db67549e21339372e703f78ce041168c1d156f68a15dda3500e608115675cb [2020-05-04T07:02:17.710Z] $ docker rm -f 20db67549e21339372e703f78ce041168c1d156f68a15dda3500e608115675cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-04T07:02:18.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-04T07:02:19.220Z] + ls -al . [2020-05-04T07:02:19.220Z] total 220 [2020-05-04T07:02:19.220Z] drwxrwxr-x 11 jenkins jenkins 4096 May 4 07:02 . [2020-05-04T07:02:19.220Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 06:59 .. [2020-05-04T07:02:19.220Z] -rw-rw-r-- 1 jenkins jenkins 140 May 4 06:59 .dockerignore [2020-05-04T07:02:19.220Z] drwxrwxr-x 8 jenkins jenkins 4096 May 4 06:59 .git [2020-05-04T07:02:19.220Z] drwxrwxr-x 2 jenkins jenkins 4096 May 4 06:59 .github [2020-05-04T07:02:19.220Z] -rw-rw-r-- 1 jenkins jenkins 138 May 4 06:59 .gitignore [2020-05-04T07:02:19.220Z] drwxrwxr-x 3 jenkins jenkins 4096 May 4 06:59 .semver [2020-05-04T07:02:19.220Z] -rw-rw-r-- 1 jenkins jenkins 936 May 4 06:59 Dockerfile.build [2020-05-04T07:02:19.220Z] -rw-rw-r-- 1 jenkins jenkins 808 May 4 06:59 Jenkinsfile [2020-05-04T07:02:19.220Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 4 06:59 LICENSE [2020-05-04T07:02:19.220Z] -rw-rw-r-- 1 jenkins jenkins 892 May 4 06:59 Makefile [2020-05-04T07:02:19.220Z] -rw-rw-r-- 1 jenkins jenkins 2249 May 4 06:59 README.md [2020-05-04T07:02:19.220Z] -rw-rw-r-- 1 jenkins jenkins 3636 May 4 06:59 RELEASE-NOTES.txt [2020-05-04T07:02:19.220Z] -rw-rw-r-- 1 jenkins jenkins 11 May 4 06:56 VERSION [2020-05-04T07:02:19.220Z] drwxrwxr-x 3 jenkins jenkins 4096 May 4 06:59 api [2020-05-04T07:02:19.220Z] drwxrwxr-x 2 jenkins jenkins 4096 May 4 06:59 bin [2020-05-04T07:02:19.220Z] -rw-r--r-- 1 jenkins jenkins 110877 May 4 07:02 coverage.out [2020-05-04T07:02:19.220Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 06:59 example [2020-05-04T07:02:19.221Z] -rw-r--r-- 1 jenkins jenkins 446 May 4 07:02 go.mod [2020-05-04T07:02:19.221Z] -rw-r--r-- 1 jenkins jenkins 12076 May 4 07:02 go.sum [2020-05-04T07:02:19.221Z] drwxrwxr-x 15 jenkins jenkins 4096 May 4 06:59 internal [2020-05-04T07:02:19.221Z] drwxrwxr-x 5 jenkins jenkins 4096 May 4 06:59 pkg [2020-05-04T07:02:19.221Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 06:59 snap [2020-05-04T07:02:19.221Z] -rw-rw-r-- 1 jenkins jenkins 222 May 4 06:59 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-04T07:02:19.551Z] + 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=95692bfba5b6922b9479d5fc02f4a388c744689f --label arch=arm64 --label version=1.2.1-dev.2 . [2020-05-04T07:02:20.139Z] Sending build context to Docker daemon 3.153MB [2020-05-04T07:02:20.139Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-05-04T07:02:20.139Z] Step 2/21 : FROM ${BASE} AS builder [2020-05-04T07:02:20.139Z] ---> 4af86a5af160 [2020-05-04T07:02:20.139Z] Step 3/21 : ARG MAKE='make build' [2020-05-04T07:02:20.139Z] ---> Running in c31ff6ee2961 [2020-05-04T07:02:20.724Z] Removing intermediate container c31ff6ee2961 [2020-05-04T07:02:20.724Z] ---> d78674457e3e [2020-05-04T07:02:20.724Z] Step 4/21 : WORKDIR /device-sdk-go [2020-05-04T07:02:20.724Z] ---> Running in 874bede85efb [2020-05-04T07:02:20.995Z] Removing intermediate container 874bede85efb [2020-05-04T07:02:20.995Z] ---> 3fda84659cb6 [2020-05-04T07:02:20.995Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-04T07:02:21.263Z] ---> Running in ce66eb2eab24 [2020-05-04T07:02:21.530Z] Removing intermediate container ce66eb2eab24 [2020-05-04T07:02:21.530Z] ---> c16d855600f9 [2020-05-04T07:02:21.530Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-04T07:02:21.801Z] ---> Running in dba45269ff41 [2020-05-04T07:02:23.752Z] Removing intermediate container dba45269ff41 [2020-05-04T07:02:23.753Z] ---> 00beea920825 [2020-05-04T07:02:23.753Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-05-04T07:02:23.753Z] ---> Running in 6fa8406f0256 [2020-05-04T07:02:24.339Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-04T07:02:25.297Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-04T07:02:25.882Z] OK: 125 MiB in 39 packages [2020-05-04T07:02:26.847Z] Removing intermediate container 6fa8406f0256 [2020-05-04T07:02:26.847Z] ---> 033b3b3ef3ba [2020-05-04T07:02:26.847Z] Step 8/21 : COPY . . [2020-05-04T07:02:28.263Z] ---> fd8bd2702a99 [2020-05-04T07:02:28.263Z] Step 9/21 : RUN ${MAKE} [2020-05-04T07:02:28.263Z] ---> Running in 4119f80d2d99 [2020-05-04T07:02:28.851Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.1-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-05-04T07:02:55.904Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-05-04T07:02:55.904Z] Removing intermediate container 4119f80d2d99 [2020-05-04T07:02:55.904Z] ---> c1f484f80b8a [2020-05-04T07:02:55.904Z] Step 10/21 : FROM scratch [2020-05-04T07:02:55.904Z] ---> [2020-05-04T07:02:55.904Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-04T07:02:55.904Z] ---> Running in c9d33c6cd19b [2020-05-04T07:02:55.904Z] Removing intermediate container c9d33c6cd19b [2020-05-04T07:02:55.904Z] ---> 331377e9f149 [2020-05-04T07:02:55.904Z] Step 12/21 : ENV APP_PORT=49990 [2020-05-04T07:02:55.904Z] ---> Running in 8659145ffd2d [2020-05-04T07:02:55.904Z] Removing intermediate container 8659145ffd2d [2020-05-04T07:02:55.904Z] ---> 04fb6514c12d [2020-05-04T07:02:55.904Z] Step 13/21 : EXPOSE $APP_PORT [2020-05-04T07:02:55.904Z] ---> Running in 612be5b0afcf [2020-05-04T07:02:56.489Z] Removing intermediate container 612be5b0afcf [2020-05-04T07:02:56.489Z] ---> 9a7d5137952e [2020-05-04T07:02:56.489Z] Step 14/21 : WORKDIR / [2020-05-04T07:02:56.489Z] ---> Running in 183266fb1af4 [2020-05-04T07:02:56.756Z] Removing intermediate container 183266fb1af4 [2020-05-04T07:02:56.756Z] ---> ab861ee68ea4 [2020-05-04T07:02:56.756Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-05-04T07:02:57.721Z] ---> 93b8139b0ff7 [2020-05-04T07:02:57.721Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-05-04T07:02:58.307Z] ---> da978b86134c [2020-05-04T07:02:58.307Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-05-04T07:02:58.892Z] ---> dfa1376cb16c [2020-05-04T07:02:58.892Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-05-04T07:02:59.161Z] ---> Running in c3c80d7ead5e [2020-05-04T07:02:59.433Z] Removing intermediate container c3c80d7ead5e [2020-05-04T07:02:59.433Z] ---> 920688482028 [2020-05-04T07:02:59.433Z] Step 19/21 : LABEL arch=arm64 [2020-05-04T07:02:59.433Z] ---> Running in 90ef882c9d9b [2020-05-04T07:03:00.019Z] Removing intermediate container 90ef882c9d9b [2020-05-04T07:03:00.019Z] ---> dbc64fa9596f [2020-05-04T07:03:00.019Z] Step 20/21 : LABEL git_sha=95692bfba5b6922b9479d5fc02f4a388c744689f [2020-05-04T07:03:00.019Z] ---> Running in 8dec20ce3ca2 [2020-05-04T07:03:00.286Z] Removing intermediate container 8dec20ce3ca2 [2020-05-04T07:03:00.286Z] ---> ca1b697f2615 [2020-05-04T07:03:00.286Z] Step 21/21 : LABEL version=1.2.1-dev.2 [2020-05-04T07:03:00.552Z] ---> Running in e2a38df9ac0c [2020-05-04T07:03:00.819Z] Removing intermediate container e2a38df9ac0c [2020-05-04T07:03:00.819Z] ---> cde23cf873d1 [2020-05-04T07:03:00.819Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-04T07:03:00.819Z] Successfully built cde23cf873d1 [2020-05-04T07:03:00.819Z] 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-05-04T07:03:02.000Z] provisioning config files... [2020-05-04T07:03:02.015Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5434011968288007275tmp [Pipeline] { [Pipeline] sh [2020-05-04T07:03:02.359Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5434011968288007275tmp [2020-05-04T07:03:02.359Z] + curl -s https://codecov.io/bash [2020-05-04T07:03:02.617Z] [2020-05-04T07:03:02.617Z] _____ _ [2020-05-04T07:03:02.617Z] / ____| | | [2020-05-04T07:03:02.617Z] | | ___ __| | ___ ___ _____ __ [2020-05-04T07:03:02.617Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-05-04T07:03:02.617Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-05-04T07:03:02.617Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-05-04T07:03:02.617Z] Bash-tbd [2020-05-04T07:03:02.617Z] [2020-05-04T07:03:02.617Z] [2020-05-04T07:03:02.617Z] ==> Jenkins CI detected. [2020-05-04T07:03:02.617Z] project root: . [2020-05-04T07:03:02.617Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-05-04T07:03:02.617Z] ==> Running gcov in . (disable via -X gcov) [2020-05-04T07:03:02.617Z] ==> Python coveragepy not found [2020-05-04T07:03:02.617Z] ==> Searching for coverage reports in: [2020-05-04T07:03:02.617Z] + . [2020-05-04T07:03:02.617Z] -> Found 1 reports [2020-05-04T07:03:02.617Z] ==> Detecting git/mercurial file structure [2020-05-04T07:03:02.617Z] ==> Reading reports [2020-05-04T07:03:02.617Z] + ./coverage.out bytes=110877 [2020-05-04T07:03:02.617Z] ==> Appending adjustments [2020-05-04T07:03:02.617Z] http://docs.codecov.io/docs/fixing-reports [2020-05-04T07:03:02.878Z] + Found adjustments [2020-05-04T07:03:02.878Z] ==> Gzipping contents [2020-05-04T07:03:02.878Z] ==> Uploading reports [2020-05-04T07:03:02.878Z] url: https://codecov.io [2020-05-04T07:03:02.878Z] query: branch=master&commit=95692bfba5b6922b9479d5fc02f4a388c744689f&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-05-04T07:03:02.878Z] -> Pinging Codecov [2020-05-04T07:03:02.878Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=95692bfba5b6922b9479d5fc02f4a388c744689f&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-05-04T07:03:03.446Z] -> Uploading [2020-05-04T07:03:04.014Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/95692bfba5b6922b9479d5fc02f4a388c744689f [Pipeline] } [2020-05-04T07:03:04.021Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-05-04T07:03:04.321Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-05-04T07:03:04.322Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-05-04T07:03:04.360Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-05-04T07:03:04.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-05-04T07:03:04.692Z] [2020-05-04T07:03:04.692Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-05-04T07:03:05.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-05-04T07:03:05.027Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-05-04T07:03:05.027Z] e6b0cf9c0882: Pulling fs layer [2020-05-04T07:03:05.027Z] 2848faf0eed1: Pulling fs layer [2020-05-04T07:03:05.027Z] 0f37312ad70f: Pulling fs layer [2020-05-04T07:03:05.027Z] 7d08f2745646: Pulling fs layer [2020-05-04T07:03:05.027Z] 4c9f31393084: Pulling fs layer [2020-05-04T07:03:05.027Z] eb21ddb83652: Pulling fs layer [2020-05-04T07:03:05.027Z] 345998794f6b: Pulling fs layer [2020-05-04T07:03:05.027Z] 97a711d68925: Pulling fs layer [2020-05-04T07:03:05.027Z] 7c8476c1cb00: Pulling fs layer [2020-05-04T07:03:05.027Z] 7d08f2745646: Waiting [2020-05-04T07:03:05.027Z] 4c9f31393084: Waiting [2020-05-04T07:03:05.027Z] eb21ddb83652: Waiting [2020-05-04T07:03:05.027Z] 345998794f6b: Waiting [2020-05-04T07:03:05.027Z] 7c8476c1cb00: Waiting [2020-05-04T07:03:05.027Z] 97a711d68925: Waiting [2020-05-04T07:03:05.027Z] 0f37312ad70f: Verifying Checksum [2020-05-04T07:03:05.027Z] 0f37312ad70f: Download complete [2020-05-04T07:03:05.027Z] 2848faf0eed1: Verifying Checksum [2020-05-04T07:03:05.027Z] 2848faf0eed1: Download complete [2020-05-04T07:03:05.027Z] 4c9f31393084: Verifying Checksum [2020-05-04T07:03:05.027Z] 4c9f31393084: Download complete [2020-05-04T07:03:05.027Z] eb21ddb83652: Verifying Checksum [2020-05-04T07:03:05.027Z] eb21ddb83652: Download complete [2020-05-04T07:03:05.027Z] e6b0cf9c0882: Verifying Checksum [2020-05-04T07:03:05.027Z] e6b0cf9c0882: Download complete [2020-05-04T07:03:05.599Z] e6b0cf9c0882: Pull complete [2020-05-04T07:03:05.600Z] 345998794f6b: Verifying Checksum [2020-05-04T07:03:05.600Z] 345998794f6b: Download complete [2020-05-04T07:03:05.600Z] 2848faf0eed1: Pull complete [2020-05-04T07:03:05.861Z] 0f37312ad70f: Pull complete [2020-05-04T07:03:05.861Z] 97a711d68925: Verifying Checksum [2020-05-04T07:03:05.861Z] 97a711d68925: Download complete [2020-05-04T07:03:06.122Z] 7c8476c1cb00: Verifying Checksum [2020-05-04T07:03:06.122Z] 7c8476c1cb00: Download complete [2020-05-04T07:03:06.694Z] 7d08f2745646: Verifying Checksum [2020-05-04T07:03:06.694Z] 7d08f2745646: Download complete [2020-05-04T07:03:11.980Z] 7d08f2745646: Pull complete [2020-05-04T07:03:12.240Z] 4c9f31393084: Pull complete [2020-05-04T07:03:12.240Z] eb21ddb83652: Pull complete [2020-05-04T07:03:14.777Z] 345998794f6b: Pull complete [2020-05-04T07:03:18.072Z] 97a711d68925: Pull complete [2020-05-04T07:03:19.013Z] 7c8476c1cb00: Pull complete [2020-05-04T07:03:19.014Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-05-04T07:03:19.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-05-04T07:03:19.160Z] prd-centos7-docker-4c-2g-7105 does not seem to be running inside a container [2020-05-04T07:03:19.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-05-04T07:03:19.839Z] $ docker top 3f00e8d326287ab4497d4acdeb575c80aa37cbd4845e3703a98903f77b4777d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-04T07:03:20.390Z] + snyk monitor '--org=edgex-jenkins' [2020-05-04T07:03:28.519Z] [2020-05-04T07:03:28.519Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-05-04T07:03:28.519Z] [2020-05-04T07:03:28.519Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/ee1e246a-451d-4e03-b116-03217335fbc8 [2020-05-04T07:03:28.519Z] [2020-05-04T07:03:28.519Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-05-04T07:03:28.519Z] [2020-05-04T07:03:28.519Z] [Pipeline] } [2020-05-04T07:03:28.529Z] $ docker stop --time=1 3f00e8d326287ab4497d4acdeb575c80aa37cbd4845e3703a98903f77b4777d2 [2020-05-04T07:03:29.873Z] $ docker rm -f 3f00e8d326287ab4497d4acdeb575c80aa37cbd4845e3703a98903f77b4777d2 [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-05-04T07:03:31.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-04T07:03:31.019Z] . [Pipeline] withDockerContainer [2020-05-04T07:03:31.136Z] prd-centos7-docker-4c-2g-7105 does not seem to be running inside a container [2020-05-04T07:03:31.180Z] $ 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-05-04T07:03:31.739Z] $ docker top 4d2661e1b86ef5524a5d42865729e3d14f1af1fabcde707325bfeb19c5b64fc4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-04T07:03:31.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-04T07:03:31.995Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-04T07:03:32.199Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-04T07:03:32.201Z] $ docker exec 4d2661e1b86ef5524a5d42865729e3d14f1af1fabcde707325bfeb19c5b64fc4 ssh-agent [2020-05-04T07:03:32.393Z] SSH_AUTH_SOCK=/tmp/ssh-StIc2HlAOK26/agent.15 [2020-05-04T07:03:32.393Z] SSH_AGENT_PID=22 [2020-05-04T07:03:32.418Z] Running ssh-add (command line suppressed) [2020-05-04T07:03:32.564Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5567692395341111423.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5567692395341111423.key) [2020-05-04T07:03:32.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-04T07:03:32.949Z] + git semver tag [2020-05-04T07:03:32.949Z] # -> Open(): unable to determine branch for HEAD [2020-05-04T07:03:32.949Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-05-04T07:03:32.949Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-04T07:03:32.949Z] # $SEMVER_REMOTE_NAME = origin [2020-05-04T07:03:32.949Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-04T07:03:32.949Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-04T07:03:32.949Z] # $SEMVER_BRANCH = master [2020-05-04T07:03:32.949Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-05-04T07:03:32.949Z] # 95692bfba5b6922b9479d5fc02f4a388c744689f HEAD [2020-05-04T07:03:32.949Z] # -> Force: false [2020-05-04T07:03:32.949Z] # fe7296026be1f7459a1ce355729e31cb40f9bcbd refs/tags/v1.2.1-dev.2 [Pipeline] } [2020-05-04T07:03:32.956Z] $ docker exec --env ******** --env ******** 4d2661e1b86ef5524a5d42865729e3d14f1af1fabcde707325bfeb19c5b64fc4 ssh-agent -k [2020-05-04T07:03:33.114Z] unset SSH_AUTH_SOCK; [2020-05-04T07:03:33.115Z] unset SSH_AGENT_PID; [2020-05-04T07:03:33.115Z] echo Agent pid 22 killed; [2020-05-04T07:03:33.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-04T07:03:33.585Z] + git semver [Pipeline] } [2020-05-04T07:03:33.596Z] $ docker stop --time=1 4d2661e1b86ef5524a5d42865729e3d14f1af1fabcde707325bfeb19c5b64fc4 [2020-05-04T07:03:34.949Z] $ docker rm -f 4d2661e1b86ef5524a5d42865729e3d14f1af1fabcde707325bfeb19c5b64fc4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-05-04T07:03:35.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-05-04T07:03:35.549Z] [2020-05-04T07:03:35.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-05-04T07:03:35.890Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-05-04T07:03:35.890Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-05-04T07:03:35.890Z] ab5ef0e58194: Pulling fs layer [2020-05-04T07:03:35.890Z] 9712f1f96733: Pulling fs layer [2020-05-04T07:03:35.890Z] 63f879dbbcfc: Pulling fs layer [2020-05-04T07:03:35.890Z] 0d9ebad4ef96: Pulling fs layer [2020-05-04T07:03:35.890Z] e9a5061849ea: Pulling fs layer [2020-05-04T07:03:35.890Z] d747dcd14b5f: Pulling fs layer [2020-05-04T07:03:35.891Z] 2de7ff778b66: Pulling fs layer [2020-05-04T07:03:35.891Z] e9a5061849ea: Waiting [2020-05-04T07:03:35.891Z] d747dcd14b5f: Waiting [2020-05-04T07:03:35.891Z] 2de7ff778b66: Waiting [2020-05-04T07:03:35.891Z] 0d9ebad4ef96: Waiting [2020-05-04T07:03:35.891Z] 9712f1f96733: Verifying Checksum [2020-05-04T07:03:35.891Z] 9712f1f96733: Download complete [2020-05-04T07:03:36.836Z] 63f879dbbcfc: Verifying Checksum [2020-05-04T07:03:36.836Z] 63f879dbbcfc: Download complete [2020-05-04T07:03:36.836Z] e9a5061849ea: Verifying Checksum [2020-05-04T07:03:36.836Z] e9a5061849ea: Download complete [2020-05-04T07:03:36.836Z] d747dcd14b5f: Verifying Checksum [2020-05-04T07:03:36.836Z] d747dcd14b5f: Download complete [2020-05-04T07:03:37.095Z] 0d9ebad4ef96: Verifying Checksum [2020-05-04T07:03:37.095Z] ab5ef0e58194: Verifying Checksum [2020-05-04T07:03:37.095Z] ab5ef0e58194: Download complete [2020-05-04T07:03:37.095Z] 2de7ff778b66: Verifying Checksum [2020-05-04T07:03:37.095Z] 2de7ff778b66: Download complete [2020-05-04T07:03:43.683Z] ab5ef0e58194: Pull complete [2020-05-04T07:03:43.683Z] 9712f1f96733: Pull complete [2020-05-04T07:03:45.059Z] 63f879dbbcfc: Pull complete [2020-05-04T07:03:50.347Z] 0d9ebad4ef96: Pull complete [2020-05-04T07:03:52.249Z] e9a5061849ea: Pull complete [2020-05-04T07:03:52.512Z] d747dcd14b5f: Pull complete [2020-05-04T07:03:55.818Z] 2de7ff778b66: Pull complete [2020-05-04T07:03:55.818Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-05-04T07:03:55.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-05-04T07:03:55.969Z] prd-centos7-docker-4c-2g-7105 does not seem to be running inside a container [2020-05-04T07:03:56.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-05-04T07:03:57.346Z] $ docker top 4eede5a8ee9ccae16e7e888cf75ff9c517d618e3e0cc71ac4d00bee7ee6347a3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-05-04T07:03:57.535Z] provisioning config files... [2020-05-04T07:03:57.543Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2336903956592610407tmp [2020-05-04T07:03:57.557Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6392403286323777173tmp [2020-05-04T07:03:57.569Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4335342708914852123tmp [Pipeline] { [Pipeline] echo [2020-05-04T07:03:57.624Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-04T07:03:57.919Z] ---> sigul-configuration.sh [2020-05-04T07:03:57.919Z] gpg: directory `/root/.gnupg' created [2020-05-04T07:03:57.919Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-05-04T07:03:57.919Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-05-04T07:03:57.919Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-05-04T07:03:57.919Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-05-04T07:03:57.919Z] gpg: CAST5 encrypted data [2020-05-04T07:03:58.177Z] gpg: encrypted with 1 passphrase [2020-05-04T07:03:58.178Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-05-04T07:03:58.470Z] + mkdir /home/jenkins [2020-05-04T07:03:58.470Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-05-04T07:03:58.764Z] + 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-05-04T07:03:58.772Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-04T07:03:59.067Z] ---> sigul-install.sh [2020-05-04T07:04:04.431Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-05-04T07:04:04.784Z] + git tag --list [2020-05-04T07:04:04.784Z] v1.2.1-dev.2 [Pipeline] sh [2020-05-04T07:04:05.078Z] + lftools sign git-tag v1.2.1-dev.2 [2020-05-04T07:04:06.016Z] Signing Git tag with Sigul... [2020-05-04T07:04:06.016Z] Signing v1.2.1-dev.2 [Pipeline] echo [2020-05-04T07:04:07.400Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-04T07:04:07.691Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-05-04T07:04:07.697Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-05-04T07:04:07.800Z] $ docker stop --time=1 4eede5a8ee9ccae16e7e888cf75ff9c517d618e3e0cc71ac4d00bee7ee6347a3 [2020-05-04T07:04:09.172Z] $ docker rm -f 4eede5a8ee9ccae16e7e888cf75ff9c517d618e3e0cc71ac4d00bee7ee6347a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-05-04T07:04:09.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-04T07:04:09.836Z] . [Pipeline] withDockerContainer [2020-05-04T07:04:09.953Z] prd-centos7-docker-4c-2g-7105 does not seem to be running inside a container [2020-05-04T07:04:09.994Z] $ 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-05-04T07:04:10.643Z] $ docker top 2ae532c913d25b74be6e8043bbee4bdd5083bebb4d3c1b65cafa742b9a556542 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-04T07:04:10.884Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-04T07:04:10.884Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-04T07:04:11.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-04T07:04:11.090Z] $ docker exec 2ae532c913d25b74be6e8043bbee4bdd5083bebb4d3c1b65cafa742b9a556542 ssh-agent [2020-05-04T07:04:11.273Z] SSH_AUTH_SOCK=/tmp/ssh-NX4hnK4K0xEL/agent.15 [2020-05-04T07:04:11.273Z] SSH_AGENT_PID=22 [2020-05-04T07:04:11.280Z] Running ssh-add (command line suppressed) [2020-05-04T07:04:11.429Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3651750384421940868.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3651750384421940868.key) [2020-05-04T07:04:11.476Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-04T07:04:11.828Z] + git semver bump pre [2020-05-04T07:04:11.828Z] # -> Open(): unable to determine branch for HEAD [2020-05-04T07:04:11.828Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-05-04T07:04:11.828Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-04T07:04:11.828Z] # $SEMVER_REMOTE_NAME = origin [2020-05-04T07:04:11.828Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-04T07:04:11.828Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-04T07:04:11.828Z] # $SEMVER_BRANCH = master [2020-05-04T07:04:11.828Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-05-04T07:04:11.828Z] 1.2.1-dev.3 [Pipeline] } [2020-05-04T07:04:11.836Z] $ docker exec --env ******** --env ******** 2ae532c913d25b74be6e8043bbee4bdd5083bebb4d3c1b65cafa742b9a556542 ssh-agent -k [2020-05-04T07:04:11.969Z] unset SSH_AUTH_SOCK; [2020-05-04T07:04:11.969Z] unset SSH_AGENT_PID; [2020-05-04T07:04:11.970Z] echo Agent pid 22 killed; [2020-05-04T07:04:12.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-04T07:04:12.452Z] + git semver [Pipeline] } [2020-05-04T07:04:12.463Z] $ docker stop --time=1 2ae532c913d25b74be6e8043bbee4bdd5083bebb4d3c1b65cafa742b9a556542 [2020-05-04T07:04:13.806Z] $ docker rm -f 2ae532c913d25b74be6e8043bbee4bdd5083bebb4d3c1b65cafa742b9a556542 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-05-04T07:04:14.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-04T07:04:14.299Z] . [Pipeline] withDockerContainer [2020-05-04T07:04:14.407Z] prd-centos7-docker-4c-2g-7105 does not seem to be running inside a container [2020-05-04T07:04:14.447Z] $ 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-05-04T07:04:15.003Z] $ docker top c1f2234d6535232f9edec24c832ea99aa206fd80074f930c7fc0374d3d91b218 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-04T07:04:15.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-04T07:04:15.263Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-04T07:04:15.463Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-04T07:04:15.465Z] $ docker exec c1f2234d6535232f9edec24c832ea99aa206fd80074f930c7fc0374d3d91b218 ssh-agent [2020-05-04T07:04:15.657Z] SSH_AUTH_SOCK=/tmp/ssh-MNAfbIx1YorB/agent.15 [2020-05-04T07:04:15.657Z] SSH_AGENT_PID=22 [2020-05-04T07:04:15.663Z] Running ssh-add (command line suppressed) [2020-05-04T07:04:15.803Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9041809521114881133.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9041809521114881133.key) [2020-05-04T07:04:15.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-04T07:04:16.169Z] + git semver push [2020-05-04T07:04:16.170Z] # -> Open(): unable to determine branch for HEAD [2020-05-04T07:04:16.170Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-05-04T07:04:16.170Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-04T07:04:16.170Z] # $SEMVER_REMOTE_NAME = origin [2020-05-04T07:04:16.170Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-04T07:04:16.170Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-04T07:04:16.170Z] # $SEMVER_BRANCH = master [2020-05-04T07:04:16.170Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-05-04T07:04:22.738Z] $ docker exec --env ******** --env ******** c1f2234d6535232f9edec24c832ea99aa206fd80074f930c7fc0374d3d91b218 ssh-agent -k [2020-05-04T07:04:22.877Z] unset SSH_AUTH_SOCK; [2020-05-04T07:04:22.877Z] unset SSH_AGENT_PID; [2020-05-04T07:04:22.877Z] echo Agent pid 22 killed; [2020-05-04T07:04:22.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-04T07:04:23.445Z] + git semver [Pipeline] } [2020-05-04T07:04:23.455Z] $ docker stop --time=1 c1f2234d6535232f9edec24c832ea99aa206fd80074f930c7fc0374d3d91b218 [2020-05-04T07:04:26.098Z] $ docker rm -f c1f2234d6535232f9edec24c832ea99aa206fd80074f930c7fc0374d3d91b218 [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-05-04T07:04:26.875Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-04T07:04:27.430Z] ---> package-listing.sh [2020-05-04T07:04:27.430Z] ++ facter osfamily [2020-05-04T07:04:27.430Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-04T07:04:27.430Z] + OS_FAMILY=redhat [2020-05-04T07:04:27.430Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-05-04T07:04:27.430Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-04T07:04:27.430Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-04T07:04:27.430Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-04T07:04:27.430Z] + PACKAGES=/tmp/packages_start.txt [2020-05-04T07:04:27.430Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-05-04T07:04:27.430Z] + PACKAGES=/tmp/packages_end.txt [2020-05-04T07:04:27.430Z] + case "${OS_FAMILY}" in [2020-05-04T07:04:27.430Z] + rpm -qa [2020-05-04T07:04:27.430Z] + sort [2020-05-04T07:04:31.621Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-04T07:04:31.621Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-04T07:04:31.621Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-04T07:04:31.621Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-05-04T07:04:31.621Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-05-04T07:04:31.621Z] + 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-05-04T07:04:32.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-04T07:04:32.032Z] [2020-05-04T07:04:32.032Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-04T07:04:32.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-04T07:04:32.363Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-04T07:04:32.363Z] c9b1b535fdd9: Pulling fs layer [2020-05-04T07:04:32.363Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-04T07:04:32.363Z] 756a868c4378: Pulling fs layer [2020-05-04T07:04:32.363Z] 444b2fc9a129: Pulling fs layer [2020-05-04T07:04:32.363Z] ea15f1150254: Pulling fs layer [2020-05-04T07:04:32.363Z] 41b27a9f41bf: Pulling fs layer [2020-05-04T07:04:32.363Z] 28c525ee5125: Pulling fs layer [2020-05-04T07:04:32.363Z] 094b1ea09ed8: Pulling fs layer [2020-05-04T07:04:32.363Z] 138eaada9080: Pulling fs layer [2020-05-04T07:04:32.363Z] 0622d0fa9048: Pulling fs layer [2020-05-04T07:04:32.363Z] 444b2fc9a129: Waiting [2020-05-04T07:04:32.363Z] 28c525ee5125: Waiting [2020-05-04T07:04:32.363Z] 094b1ea09ed8: Waiting [2020-05-04T07:04:32.363Z] ea15f1150254: Waiting [2020-05-04T07:04:32.363Z] 138eaada9080: Waiting [2020-05-04T07:04:32.363Z] 41b27a9f41bf: Waiting [2020-05-04T07:04:32.363Z] 0622d0fa9048: Waiting [2020-05-04T07:04:32.363Z] 2cc5ad85d9ab: Verifying Checksum [2020-05-04T07:04:32.363Z] 2cc5ad85d9ab: Download complete [2020-05-04T07:04:32.363Z] 444b2fc9a129: Verifying Checksum [2020-05-04T07:04:32.363Z] 444b2fc9a129: Download complete [2020-05-04T07:04:32.363Z] c9b1b535fdd9: Verifying Checksum [2020-05-04T07:04:32.363Z] c9b1b535fdd9: Download complete [2020-05-04T07:04:32.363Z] ea15f1150254: Verifying Checksum [2020-05-04T07:04:32.363Z] ea15f1150254: Download complete [2020-05-04T07:04:32.625Z] 28c525ee5125: Verifying Checksum [2020-05-04T07:04:32.625Z] 28c525ee5125: Download complete [2020-05-04T07:04:32.885Z] c9b1b535fdd9: Pull complete [2020-05-04T07:04:32.885Z] 756a868c4378: Verifying Checksum [2020-05-04T07:04:32.885Z] 756a868c4378: Download complete [2020-05-04T07:04:33.145Z] 094b1ea09ed8: Verifying Checksum [2020-05-04T07:04:33.145Z] 094b1ea09ed8: Download complete [2020-05-04T07:04:33.145Z] 138eaada9080: Verifying Checksum [2020-05-04T07:04:33.145Z] 138eaada9080: Download complete [2020-05-04T07:04:33.145Z] 0622d0fa9048: Verifying Checksum [2020-05-04T07:04:33.145Z] 0622d0fa9048: Download complete [2020-05-04T07:04:33.712Z] 41b27a9f41bf: Verifying Checksum [2020-05-04T07:04:33.712Z] 41b27a9f41bf: Download complete [2020-05-04T07:04:34.280Z] 2cc5ad85d9ab: Pull complete [2020-05-04T07:04:36.183Z] 756a868c4378: Pull complete [2020-05-04T07:04:36.183Z] 444b2fc9a129: Pull complete [2020-05-04T07:04:36.441Z] ea15f1150254: Pull complete [2020-05-04T07:04:39.739Z] 41b27a9f41bf: Pull complete [2020-05-04T07:04:39.739Z] 28c525ee5125: Pull complete [2020-05-04T07:04:42.289Z] 094b1ea09ed8: Pull complete [2020-05-04T07:04:42.289Z] 138eaada9080: Pull complete [2020-05-04T07:04:42.550Z] 0622d0fa9048: Pull complete [2020-05-04T07:04:42.550Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-04T07:04:42.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-04T07:04:42.670Z] prd-centos7-docker-4c-2g-7105 does not seem to be running inside a container [2020-05-04T07:04:42.714Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-05-04T07:04:43.238Z] $ docker top c65abaf6c592706b94933cd3c7826fb64ef3868ddbfc487239e0c9f7189b5459 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-04T07:04:43.536Z] provisioning config files... [2020-05-04T07:04:43.551Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3894794723235939491tmp [Pipeline] { [Pipeline] echo [2020-05-04T07:04:43.612Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-04T07:04:43.901Z] ---> create-netrc.sh [Pipeline] echo [2020-05-04T07:04:43.908Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-04T07:04:44.197Z] ---> logs-deploy.sh [2020-05-04T07:04:44.197Z] + ARCHIVE_ARTIFACTS= [2020-05-04T07:04:44.197Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-04T07:04:44.197Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-04T07:04:44.197Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-04T07:04:44.197Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/38 [2020-05-04T07:04:44.197Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/38/ [2020-05-04T07:04:44.197Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/38 /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-04T07:04:45.135Z] Archives upload complete. [2020-05-04T07:04:45.395Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/38 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/38/