Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 06597099208d767b199b1ee3278a93f9e7a6e7dd 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 Running on prd-centos7-docker-4c-2g-8024 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 06597099208d767b199b1ee3278a93f9e7a6e7dd (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 06597099208d767b199b1ee3278a93f9e7a6e7dd # timeout=10 Commit message: "Merge pull request #527 from hahattan/issue-526" > git rev-list --no-walk e7402411d8746a82393d3a19e59e88ef18696c65 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-05-12T16:22:26.009Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-12T16:22:26.207Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-05-12T16:22:26.342Z] ========================================================= [2020-05-12T16:22:26.342Z] EdgeX Global Pipelines Version Info [2020-05-12T16:22:26.342Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-05-12T16:22:27.759Z] ------------------- [2020-05-12T16:22:27.759Z] stable info: [2020-05-12T16:22:27.759Z] ------------------- [2020-05-12T16:22:27.759Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-12T16:22:27.759Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-12T16:22:27.759Z] Message: update stable to v1.0.87 [2020-05-12T16:22:28.337Z] ------------------- [2020-05-12T16:22:28.337Z] experimental info: [2020-05-12T16:22:28.337Z] ------------------- [2020-05-12T16:22:28.337Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-05-12T16:22:28.337Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-05-12T16:22:28.337Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:22:31.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T16:22:31.278Z] [2020-05-12T16:22:31.278Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:22:31.623Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T16:22:31.623Z] latest: Pulling from edgex-devops/git-semver [2020-05-12T16:22:31.623Z] 9123ac7c32f7: Pulling fs layer [2020-05-12T16:22:31.623Z] b8cc5d1170e3: Pulling fs layer [2020-05-12T16:22:31.623Z] 2924cbbf6a41: Pulling fs layer [2020-05-12T16:22:31.623Z] 93b08a4f1073: Pulling fs layer [2020-05-12T16:22:31.623Z] 93b08a4f1073: Waiting [2020-05-12T16:22:31.623Z] b8cc5d1170e3: Verifying Checksum [2020-05-12T16:22:31.623Z] b8cc5d1170e3: Download complete [2020-05-12T16:22:31.888Z] 9123ac7c32f7: Verifying Checksum [2020-05-12T16:22:31.888Z] 9123ac7c32f7: Download complete [2020-05-12T16:22:31.888Z] 93b08a4f1073: Verifying Checksum [2020-05-12T16:22:31.888Z] 93b08a4f1073: Download complete [2020-05-12T16:22:31.888Z] 2924cbbf6a41: Verifying Checksum [2020-05-12T16:22:31.888Z] 2924cbbf6a41: Download complete [2020-05-12T16:22:32.152Z] 9123ac7c32f7: Pull complete [2020-05-12T16:22:32.152Z] b8cc5d1170e3: Pull complete [2020-05-12T16:22:33.095Z] 2924cbbf6a41: Pull complete [2020-05-12T16:22:33.359Z] 93b08a4f1073: Pull complete [2020-05-12T16:22:33.359Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-12T16:22:33.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-12T16:22:33.512Z] prd-centos7-docker-4c-2g-8024 does not seem to be running inside a container [2020-05-12T16:22:33.555Z] $ 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-12T16:22:34.191Z] $ docker top b27aa7880ffae5891bb6844f97a53f62b3d227b7b00bbcb0d522ee759b4481b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-12T16:22:34.483Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T16:22:34.483Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T16:22:34.755Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T16:22:34.758Z] $ docker exec b27aa7880ffae5891bb6844f97a53f62b3d227b7b00bbcb0d522ee759b4481b4 ssh-agent [2020-05-12T16:22:34.964Z] SSH_AUTH_SOCK=/tmp/ssh-1ER0mRIsYtpn/agent.14 [2020-05-12T16:22:34.964Z] SSH_AGENT_PID=21 [2020-05-12T16:22:34.972Z] Running ssh-add (command line suppressed) [2020-05-12T16:22:35.113Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2401097539536673553.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2401097539536673553.key) [2020-05-12T16:22:35.160Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T16:22:35.513Z] + git describe --exact-match --tags HEAD [2020-05-12T16:22:35.513Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-12T16:22:35.625Z] $ docker exec --env ******** --env ******** b27aa7880ffae5891bb6844f97a53f62b3d227b7b00bbcb0d522ee759b4481b4 ssh-agent -k [2020-05-12T16:22:35.841Z] unset SSH_AUTH_SOCK; [2020-05-12T16:22:35.841Z] unset SSH_AGENT_PID; [2020-05-12T16:22:35.841Z] echo Agent pid 21 killed; [2020-05-12T16:22:35.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-12T16:22:35.989Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-12T16:22:35.989Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-12T16:22:36.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T16:22:36.082Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T16:22:36.256Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T16:22:36.259Z] $ docker exec b27aa7880ffae5891bb6844f97a53f62b3d227b7b00bbcb0d522ee759b4481b4 ssh-agent [2020-05-12T16:22:36.465Z] SSH_AUTH_SOCK=/tmp/ssh-ScaAxuPMUiL9/agent.56 [2020-05-12T16:22:36.465Z] SSH_AGENT_PID=63 [2020-05-12T16:22:36.470Z] Running ssh-add (command line suppressed) [2020-05-12T16:22:36.635Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3602860532068449672.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3602860532068449672.key) [2020-05-12T16:22:36.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T16:22:37.062Z] + git semver init [2020-05-12T16:22:37.062Z] # -> Open(): unable to determine branch for HEAD [2020-05-12T16:22:37.062Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-05-12T16:22:37.062Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-12T16:22:37.062Z] # $SEMVER_REMOTE_NAME = origin [2020-05-12T16:22:37.062Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-12T16:22:37.062Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-12T16:22:37.062Z] # $SEMVER_BRANCH = master [2020-05-12T16:22:37.062Z] # $SEMVER_TEMP = /tmp/semver-478231408 [2020-05-12T16:22:37.062Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-05-12T16:22:37.629Z] # '/tmp/semver-478231408' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-05-12T16:22:37.629Z] # -> Force: false [2020-05-12T16:22:37.629Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-05-12T16:22:37.638Z] $ docker exec --env ******** --env ******** b27aa7880ffae5891bb6844f97a53f62b3d227b7b00bbcb0d522ee759b4481b4 ssh-agent -k [2020-05-12T16:22:37.784Z] unset SSH_AUTH_SOCK; [2020-05-12T16:22:37.785Z] unset SSH_AGENT_PID; [2020-05-12T16:22:37.785Z] echo Agent pid 63 killed; [2020-05-12T16:22:37.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-12T16:22:38.266Z] + git semver [Pipeline] } [2020-05-12T16:22:38.283Z] $ docker stop --time=1 b27aa7880ffae5891bb6844f97a53f62b3d227b7b00bbcb0d522ee759b4481b4 [2020-05-12T16:22:39.703Z] $ docker rm -f b27aa7880ffae5891bb6844f97a53f62b3d227b7b00bbcb0d522ee759b4481b4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-12T16:22:40.614Z] Stashed 59 file(s) [Pipeline] echo [2020-05-12T16:22:40.616Z] [edgeXSemver] initialized semver on version 1.2.1-dev.5 [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-12T16:22:55.938Z] Still waiting to schedule task [2020-05-12T16:22:55.938Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-8024’ [2020-05-12T16:22:55.940Z] Still waiting to schedule task [2020-05-12T16:22:55.940Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-05-12T16:24:46.423Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8025 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-05-12T16:24:46.543Z] Running in /w/workspace/device-sdk-go/41 [Pipeline] { [Pipeline] checkout [2020-05-12T16:24:52.540Z] using credential edgex-jenkins-ssh [2020-05-12T16:24:52.589Z] Cloning the remote Git repository [2020-05-12T16:24:52.589Z] Cloning with configured refspecs honoured and without tags [2020-05-12T16:24:52.664Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-05-12T16:24:52.760Z] > git init /w/workspace/device-sdk-go/41 # timeout=10 [2020-05-12T16:24:52.847Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-12T16:24:52.848Z] > git --version # timeout=10 [2020-05-12T16:24:52.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T16:24:52.950Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T16:24:54.026Z] Fetching without tags [2020-05-12T16:24:53.931Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-12T16:24:53.966Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T16:24:54.003Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-12T16:24:54.053Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-12T16:24:54.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T16:24:54.076Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T16:24:54.511Z] Checking out Revision 06597099208d767b199b1ee3278a93f9e7a6e7dd (master) [2020-05-12T16:24:54.529Z] > git config core.sparsecheckout # timeout=10 [2020-05-12T16:24:54.556Z] > git checkout -f 06597099208d767b199b1ee3278a93f9e7a6e7dd # timeout=10 [2020-05-12T16:24:59.458Z] Commit message: "Merge pull request #527 from hahattan/issue-526" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-12T16:25:01.071Z] ========================================================= [2020-05-12T16:25:01.071Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-05-12T16:25:01.071Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:25:02.543Z] + 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-12T16:25:03.527Z] Sending build context to Docker daemon 3.056MB [2020-05-12T16:25:03.527Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-05-12T16:25:03.527Z] Step 2/8 : FROM ${BASE} [2020-05-12T16:25:03.796Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-05-12T16:25:03.796Z] cde5963f3b93: Pulling fs layer [2020-05-12T16:25:03.796Z] 2a23fa8c16f7: Pulling fs layer [2020-05-12T16:25:03.796Z] 777b28850792: Pulling fs layer [2020-05-12T16:25:03.796Z] 8a11ddd9e578: Pulling fs layer [2020-05-12T16:25:03.796Z] 4cf88f913ddb: Pulling fs layer [2020-05-12T16:25:03.796Z] 1df406cf5192: Pulling fs layer [2020-05-12T16:25:03.796Z] cd6300453558: Pulling fs layer [2020-05-12T16:25:03.796Z] b9c365052c96: Pulling fs layer [2020-05-12T16:25:03.796Z] a2d8cc88f415: Pulling fs layer [2020-05-12T16:25:03.796Z] ea1d1ca13537: Pulling fs layer [2020-05-12T16:25:03.796Z] 3750a50a1c5e: Pulling fs layer [2020-05-12T16:25:03.796Z] cd6300453558: Waiting [2020-05-12T16:25:03.796Z] 8a11ddd9e578: Waiting [2020-05-12T16:25:03.796Z] 1df406cf5192: Waiting [2020-05-12T16:25:03.796Z] 4cf88f913ddb: Waiting [2020-05-12T16:25:03.796Z] b9c365052c96: Waiting [2020-05-12T16:25:03.796Z] 3750a50a1c5e: Waiting [2020-05-12T16:25:03.796Z] a2d8cc88f415: Waiting [2020-05-12T16:25:03.796Z] ea1d1ca13537: Waiting [2020-05-12T16:25:03.796Z] 777b28850792: Verifying Checksum [2020-05-12T16:25:03.796Z] 777b28850792: Download complete [2020-05-12T16:25:03.796Z] 2a23fa8c16f7: Verifying Checksum [2020-05-12T16:25:03.796Z] 2a23fa8c16f7: Download complete [2020-05-12T16:25:03.796Z] 4cf88f913ddb: Verifying Checksum [2020-05-12T16:25:03.796Z] 4cf88f913ddb: Download complete [2020-05-12T16:25:04.063Z] 1df406cf5192: Download complete [2020-05-12T16:25:04.063Z] cde5963f3b93: Verifying Checksum [2020-05-12T16:25:04.063Z] cde5963f3b93: Download complete [2020-05-12T16:25:05.029Z] cde5963f3b93: Pull complete [2020-05-12T16:25:05.298Z] 2a23fa8c16f7: Pull complete [2020-05-12T16:25:05.565Z] 777b28850792: Pull complete [2020-05-12T16:25:08.161Z] cd6300453558: Verifying Checksum [2020-05-12T16:25:08.161Z] cd6300453558: Download complete [2020-05-12T16:25:08.161Z] a2d8cc88f415: Download complete [2020-05-12T16:25:10.773Z] ea1d1ca13537: Verifying Checksum [2020-05-12T16:25:10.773Z] ea1d1ca13537: Download complete [2020-05-12T16:25:10.773Z] 3750a50a1c5e: Verifying Checksum [2020-05-12T16:25:10.773Z] 3750a50a1c5e: Download complete [2020-05-12T16:25:13.372Z] b9c365052c96: Verifying Checksum [2020-05-12T16:25:13.372Z] b9c365052c96: Download complete [2020-05-12T16:25:15.318Z] 8a11ddd9e578: Verifying Checksum [2020-05-12T16:25:15.318Z] 8a11ddd9e578: Download complete [2020-05-12T16:25:26.120Z] Running on prd-centos7-docker-4c-2g-8026 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-05-12T16:25:26.170Z] Running in /w/workspace/device-sdk-go/41 [Pipeline] { [Pipeline] checkout [2020-05-12T16:25:27.665Z] 8a11ddd9e578: Pull complete [2020-05-12T16:25:27.665Z] 4cf88f913ddb: Pull complete [2020-05-12T16:25:27.665Z] 1df406cf5192: Pull complete [2020-05-12T16:25:28.322Z] using credential edgex-jenkins-ssh [2020-05-12T16:25:28.416Z] Cloning the remote Git repository [2020-05-12T16:25:28.416Z] Cloning with configured refspecs honoured and without tags [2020-05-12T16:25:29.207Z] Fetching without tags [2020-05-12T16:25:28.397Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-05-12T16:25:28.442Z] > git init /w/workspace/device-sdk-go/41 # timeout=10 [2020-05-12T16:25:28.499Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-12T16:25:28.499Z] > git --version # timeout=10 [2020-05-12T16:25:28.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T16:25:28.601Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T16:25:29.183Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-12T16:25:29.190Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T16:25:29.203Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-12T16:25:29.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-12T16:25:29.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T16:25:29.219Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T16:25:29.563Z] Checking out Revision 06597099208d767b199b1ee3278a93f9e7a6e7dd (master) [2020-05-12T16:25:29.575Z] > git config core.sparsecheckout # timeout=10 [2020-05-12T16:25:29.580Z] > git checkout -f 06597099208d767b199b1ee3278a93f9e7a6e7dd # timeout=10 [2020-05-12T16:25:31.930Z] cd6300453558: Pull complete [2020-05-12T16:25:33.351Z] Commit message: "Merge pull request #527 from hahattan/issue-526" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-12T16:25:34.263Z] ========================================================= [2020-05-12T16:25:34.263Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-05-12T16:25:34.263Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:25:34.989Z] + 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-12T16:25:35.251Z] Sending build context to Docker daemon 3.056MB [2020-05-12T16:25:35.251Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-05-12T16:25:35.251Z] Step 2/8 : FROM ${BASE} [2020-05-12T16:25:35.251Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-05-12T16:25:35.251Z] e6b0cf9c0882: Pulling fs layer [2020-05-12T16:25:35.251Z] 2848faf0eed1: Pulling fs layer [2020-05-12T16:25:35.251Z] 0f37312ad70f: Pulling fs layer [2020-05-12T16:25:35.251Z] 5788d62ee057: Pulling fs layer [2020-05-12T16:25:35.251Z] 0e6b1d234666: Pulling fs layer [2020-05-12T16:25:35.251Z] bf5d7aec512f: Pulling fs layer [2020-05-12T16:25:35.251Z] 34c802a77dc8: Pulling fs layer [2020-05-12T16:25:35.251Z] 9eb99e56ec68: Pulling fs layer [2020-05-12T16:25:35.251Z] 27c7a5d97fbd: Pulling fs layer [2020-05-12T16:25:35.251Z] 5c102a31e300: Pulling fs layer [2020-05-12T16:25:35.251Z] dcfb455df0a1: Pulling fs layer [2020-05-12T16:25:35.251Z] 34c802a77dc8: Waiting [2020-05-12T16:25:35.251Z] 5c102a31e300: Waiting [2020-05-12T16:25:35.251Z] 9eb99e56ec68: Waiting [2020-05-12T16:25:35.251Z] dcfb455df0a1: Waiting [2020-05-12T16:25:35.251Z] 27c7a5d97fbd: Waiting [2020-05-12T16:25:35.251Z] 5788d62ee057: Waiting [2020-05-12T16:25:35.251Z] 0e6b1d234666: Waiting [2020-05-12T16:25:35.251Z] bf5d7aec512f: Waiting [2020-05-12T16:25:35.251Z] 0f37312ad70f: Verifying Checksum [2020-05-12T16:25:35.251Z] 0f37312ad70f: Download complete [2020-05-12T16:25:35.251Z] 2848faf0eed1: Download complete [2020-05-12T16:25:35.251Z] 0e6b1d234666: Verifying Checksum [2020-05-12T16:25:35.251Z] 0e6b1d234666: Download complete [2020-05-12T16:25:35.515Z] bf5d7aec512f: Verifying Checksum [2020-05-12T16:25:35.515Z] bf5d7aec512f: Download complete [2020-05-12T16:25:35.515Z] e6b0cf9c0882: Verifying Checksum [2020-05-12T16:25:35.515Z] e6b0cf9c0882: Download complete [2020-05-12T16:25:35.776Z] e6b0cf9c0882: Pull complete [2020-05-12T16:25:36.039Z] 2848faf0eed1: Pull complete [2020-05-12T16:25:36.319Z] 34c802a77dc8: Verifying Checksum [2020-05-12T16:25:36.319Z] 34c802a77dc8: Download complete [2020-05-12T16:25:36.319Z] 27c7a5d97fbd: Verifying Checksum [2020-05-12T16:25:36.319Z] 27c7a5d97fbd: Download complete [2020-05-12T16:25:36.891Z] 5c102a31e300: Verifying Checksum [2020-05-12T16:25:36.891Z] 5c102a31e300: Download complete [2020-05-12T16:25:37.154Z] 5788d62ee057: Verifying Checksum [2020-05-12T16:25:37.154Z] 5788d62ee057: Download complete [2020-05-12T16:25:37.154Z] dcfb455df0a1: Verifying Checksum [2020-05-12T16:25:37.154Z] dcfb455df0a1: Download complete [2020-05-12T16:25:37.154Z] 9eb99e56ec68: Verifying Checksum [2020-05-12T16:25:37.154Z] 9eb99e56ec68: Download complete [2020-05-12T16:25:37.283Z] b9c365052c96: Pull complete [2020-05-12T16:25:37.283Z] a2d8cc88f415: Pull complete [2020-05-12T16:25:38.092Z] 0f37312ad70f: Pull complete [2020-05-12T16:25:39.875Z] ea1d1ca13537: Pull complete [2020-05-12T16:25:40.141Z] 3750a50a1c5e: Pull complete [2020-05-12T16:25:40.409Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-05-12T16:25:40.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-05-12T16:25:40.409Z] ---> 78745c68409d [2020-05-12T16:25:40.409Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-12T16:25:43.379Z] 5788d62ee057: Pull complete [2020-05-12T16:25:43.379Z] 0e6b1d234666: Pull complete [2020-05-12T16:25:43.379Z] bf5d7aec512f: Pull complete [2020-05-12T16:25:44.676Z] ---> Running in a921174aeae2 [2020-05-12T16:25:44.676Z] Removing intermediate container a921174aeae2 [2020-05-12T16:25:44.676Z] ---> c8ba61f6cd4d [2020-05-12T16:25:44.676Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-12T16:25:44.944Z] ---> Running in 4c77e5c0ed75 [2020-05-12T16:25:46.912Z] Removing intermediate container 4c77e5c0ed75 [2020-05-12T16:25:46.912Z] ---> 113fa2b6409c [2020-05-12T16:25:46.912Z] Step 5/8 : RUN apk add --no-cache make git [2020-05-12T16:25:46.912Z] ---> Running in 0ec06b42a626 [2020-05-12T16:25:47.877Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-12T16:25:48.838Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-12T16:25:49.106Z] OK: 125 MiB in 39 packages [2020-05-12T16:25:49.973Z] 34c802a77dc8: Pull complete [2020-05-12T16:25:50.516Z] Removing intermediate container 0ec06b42a626 [2020-05-12T16:25:50.516Z] ---> d89d4baff7e9 [2020-05-12T16:25:50.516Z] Step 6/8 : WORKDIR /device-sdk-go [2020-05-12T16:25:50.516Z] ---> Running in 8dc5e931c976 [2020-05-12T16:25:50.783Z] Removing intermediate container 8dc5e931c976 [2020-05-12T16:25:50.783Z] ---> 383ad3253413 [2020-05-12T16:25:50.783Z] Step 7/8 : COPY . . [2020-05-12T16:25:52.205Z] ---> e61725e69139 [2020-05-12T16:25:52.205Z] Step 8/8 : RUN go mod download [2020-05-12T16:25:52.205Z] ---> Running in f21668fc5693 [2020-05-12T16:25:53.277Z] 9eb99e56ec68: Pull complete [2020-05-12T16:25:53.277Z] 27c7a5d97fbd: Pull complete [2020-05-12T16:25:53.536Z] 5c102a31e300: Pull complete [2020-05-12T16:25:53.795Z] dcfb455df0a1: Pull complete [2020-05-12T16:25:53.795Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-05-12T16:25:53.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-05-12T16:25:53.795Z] ---> 7c70fe431013 [2020-05-12T16:25:53.795Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-12T16:25:54.058Z] ---> Running in 802c659a2c57 [2020-05-12T16:25:54.058Z] Removing intermediate container 802c659a2c57 [2020-05-12T16:25:54.058Z] ---> 8fcc41b2ed8b [2020-05-12T16:25:54.058Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-12T16:25:54.058Z] ---> Running in f8e929899f13 [2020-05-12T16:25:54.800Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-12T16:25:54.800Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-12T16:25:54.800Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-12T16:25:54.800Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-12T16:25:54.800Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-12T16:25:54.800Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-12T16:25:54.800Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-12T16:25:54.800Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-12T16:25:54.800Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-12T16:25:54.800Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-12T16:25:54.800Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-12T16:25:54.800Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-12T16:25:54.800Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-12T16:25:54.800Z] go: finding github.com/fatih/color v1.7.0 [2020-05-12T16:25:54.800Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-12T16:25:54.800Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-12T16:25:54.800Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-12T16:25:54.800Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-12T16:25:54.800Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-12T16:25:54.800Z] go: finding github.com/google/uuid v1.1.0 [2020-05-12T16:25:54.800Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-12T16:25:54.800Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-12T16:25:54.997Z] Removing intermediate container f8e929899f13 [2020-05-12T16:25:54.997Z] ---> cb97699d2116 [2020-05-12T16:25:54.997Z] Step 5/8 : RUN apk add --no-cache make git [2020-05-12T16:25:54.997Z] ---> Running in 65ad9a694b8b [2020-05-12T16:25:55.066Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-12T16:25:55.066Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-12T16:25:55.066Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-12T16:25:55.066Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-12T16:25:55.066Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-12T16:25:55.066Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-12T16:25:55.066Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-12T16:25:55.334Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-12T16:25:55.334Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-12T16:25:55.334Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-12T16:25:55.334Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-12T16:25:55.334Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-12T16:25:55.334Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-12T16:25:55.334Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-12T16:25:55.334Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-12T16:25:55.334Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-12T16:25:55.334Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-12T16:25:55.334Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-12T16:25:55.334Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-12T16:25:55.602Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-12T16:25:55.602Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-12T16:25:55.602Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-12T16:25:55.602Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-12T16:25:55.602Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-12T16:25:55.602Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-12T16:25:55.602Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-12T16:25:55.602Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-12T16:25:55.602Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-12T16:25:55.602Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-12T16:25:55.602Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-12T16:25:55.602Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-12T16:25:55.602Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-12T16:25:55.872Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-12T16:25:55.872Z] go: finding github.com/posener/complete v1.1.1 [2020-05-12T16:25:55.872Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-12T16:25:55.872Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-12T16:25:55.872Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-12T16:25:55.872Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-12T16:25:55.872Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-12T16:25:55.872Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-12T16:25:55.872Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-12T16:25:55.872Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-12T16:25:55.872Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-12T16:25:55.937Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-12T16:25:56.142Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-12T16:25:56.142Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-12T16:25:56.142Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-12T16:25:56.506Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-12T16:25:56.766Z] OK: 143 MiB in 39 packages [2020-05-12T16:25:57.336Z] Removing intermediate container 65ad9a694b8b [2020-05-12T16:25:57.336Z] ---> 0268ad3f93c1 [2020-05-12T16:25:57.336Z] Step 6/8 : WORKDIR /device-sdk-go [2020-05-12T16:25:57.336Z] ---> Running in 8beb090d0010 [2020-05-12T16:25:57.336Z] Removing intermediate container 8beb090d0010 [2020-05-12T16:25:57.336Z] ---> f97d255bb882 [2020-05-12T16:25:57.336Z] Step 7/8 : COPY . . [2020-05-12T16:25:57.904Z] ---> 594e3573275e [2020-05-12T16:25:57.904Z] Step 8/8 : RUN go mod download [2020-05-12T16:25:57.904Z] ---> Running in 2bb53b4d7ccd [2020-05-12T16:25:59.816Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-12T16:25:59.816Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-12T16:25:59.816Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-12T16:25:59.816Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-12T16:25:59.816Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-12T16:25:59.816Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-12T16:25:59.816Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-12T16:25:59.816Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-12T16:25:59.816Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-12T16:25:59.816Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-12T16:25:59.816Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-12T16:25:59.816Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-12T16:25:59.816Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-12T16:25:59.816Z] go: finding github.com/fatih/color v1.7.0 [2020-05-12T16:25:59.816Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-12T16:25:59.816Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-12T16:25:59.816Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-12T16:25:59.816Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-12T16:25:59.816Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-12T16:25:59.816Z] go: finding github.com/google/uuid v1.1.0 [2020-05-12T16:26:00.076Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-12T16:26:00.076Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-12T16:26:00.076Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-12T16:26:00.076Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-12T16:26:00.076Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-12T16:26:00.335Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-12T16:26:00.335Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-12T16:26:00.335Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-12T16:26:00.335Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-12T16:26:00.335Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-12T16:26:00.335Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-12T16:26:00.335Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-12T16:26:00.335Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-12T16:26:00.335Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-12T16:26:00.335Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-12T16:26:00.335Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-12T16:26:00.335Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-12T16:26:00.335Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-12T16:26:00.335Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-12T16:26:00.335Z] go: finding github.com/posener/complete v1.1.1 [2020-05-12T16:26:00.335Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-12T16:26:00.335Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-12T16:26:00.335Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-12T16:26:00.335Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-12T16:26:00.335Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-12T16:26:00.595Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-12T16:26:00.595Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-12T16:26:00.595Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-12T16:26:00.595Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-12T16:26:00.595Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-12T16:26:00.595Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-12T16:26:00.595Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-12T16:26:05.888Z] Removing intermediate container 2bb53b4d7ccd [2020-05-12T16:26:05.888Z] ---> 72074eee1209 [2020-05-12T16:26:05.888Z] Successfully built 72074eee1209 [2020-05-12T16:26:05.888Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-05-12T16:26:06.242Z] Removing intermediate container f21668fc5693 [2020-05-12T16:26:06.242Z] ---> 74cb5f72e5e2 [2020-05-12T16:26:06.242Z] Successfully built 74cb5f72e5e2 [2020-05-12T16:26:06.242Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-05-12T16:26:06.558Z] + docker inspect -f . ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:26:06.899Z] + docker inspect -f . ci-base-image-arm64 [2020-05-12T16:26:07.129Z] . [Pipeline] withDockerContainer [2020-05-12T16:26:07.164Z] . [2020-05-12T16:26:07.247Z] prd-centos7-docker-4c-2g-8026 does not seem to be running inside a container [2020-05-12T16:26:07.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/41 -v /w/workspace/device-sdk-go/41:/w/workspace/device-sdk-go/41:rw,z -v /w/workspace/device-sdk-go/41@tmp:/w/workspace/device-sdk-go/41@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-12T16:26:08.002Z] $ docker top b41cd2f7b4c0ba555fca4d1003c437523cbea96d1b593021396313ac15a2d960 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2020-05-12T16:26:08.550Z] prd-ubuntu18.04-docker-arm64-4c-16g-8025 does not seem to be running inside a container [2020-05-12T16:26:08.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/41 -v /w/workspace/device-sdk-go/41:/w/workspace/device-sdk-go/41:rw,z -v /w/workspace/device-sdk-go/41@tmp:/w/workspace/device-sdk-go/41@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-12T16:26:10.050Z] $ docker top b14924fab6a7f982bec8581884dc3055e0e2ea86c26f2d26c321f8b18fb08fe8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-05-12T16:26:10.806Z] + go version [2020-05-12T16:26:10.806Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-05-12T16:26:11.112Z] + make test [2020-05-12T16:26:11.112Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-12T16:26:11.181Z] + go version [2020-05-12T16:26:11.181Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-05-12T16:26:11.684Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-05-12T16:26:11.841Z] + make test [2020-05-12T16:26:11.841Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-12T16:26:13.263Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-05-12T16:26:22.133Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-05-12T16:26:22.133Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-05-12T16:26:22.133Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-05-12T16:26:22.701Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 22.1% of statements [2020-05-12T16:26:26.910Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.040s coverage: 95.8% of statements [2020-05-12T16:26:40.044Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-05-12T16:26:40.044Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-05-12T16:26:40.044Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-05-12T16:26:41.469Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 22.1% of statements [2020-05-12T16:26:43.431Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.143s coverage: 95.8% of statements [2020-05-12T16:26:53.478Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.024s coverage: 11.4% of statements [2020-05-12T16:26:53.478Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements [2020-05-12T16:26:53.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-05-12T16:26:53.478Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 1.156s coverage: 36.9% of statements [2020-05-12T16:26:53.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-05-12T16:26:53.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-05-12T16:26:53.478Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.282s coverage: 65.2% of statements [2020-05-12T16:26:53.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-05-12T16:26:53.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-05-12T16:26:53.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-05-12T16:26:53.478Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.019s coverage: 52.6% of statements [2020-05-12T16:26:53.478Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-05-12T16:26:53.478Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.104s coverage: 68.9% of statements [2020-05-12T16:26:53.478Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-05-12T16:26:53.478Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-05-12T16:26:53.478Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-12T16:26:55.409Z] gofmt -l . [2020-05-12T16:26:55.409Z] [ "`gofmt -l .`" = "" ] [2020-05-12T16:26:55.409Z] ./bin/test-attribution-txt.sh [2020-05-12T16:26:56.351Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-05-12T16:26:56.734Z] Stashed 1 file(s) [Pipeline] } [2020-05-12T16:26:56.743Z] $ docker stop --time=1 b41cd2f7b4c0ba555fca4d1003c437523cbea96d1b593021396313ac15a2d960 [2020-05-12T16:26:58.289Z] $ docker rm -f b41cd2f7b4c0ba555fca4d1003c437523cbea96d1b593021396313ac15a2d960 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-12T16:26:59.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-12T16:26:59.943Z] + ls -al . [2020-05-12T16:26:59.943Z] total 180 [2020-05-12T16:26:59.943Z] drwxrwxr-x. 11 jenkins jenkins 4096 May 12 16:26 . [2020-05-12T16:26:59.943Z] drwxrwxr-x. 4 jenkins jenkins 30 May 12 16:25 .. [2020-05-12T16:26:59.943Z] drwxrwxr-x. 3 jenkins jenkins 20 May 12 16:25 api [2020-05-12T16:26:59.943Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 16:25 bin [2020-05-12T16:26:59.943Z] -rw-r--r--. 1 jenkins jenkins 110877 May 12 16:26 coverage.out [2020-05-12T16:26:59.943Z] -rw-rw-r--. 1 jenkins jenkins 936 May 12 16:25 Dockerfile.build [2020-05-12T16:26:59.943Z] -rw-rw-r--. 1 jenkins jenkins 140 May 12 16:25 .dockerignore [2020-05-12T16:26:59.943Z] drwxrwxr-x. 4 jenkins jenkins 48 May 12 16:25 example [2020-05-12T16:26:59.943Z] drwxrwxr-x. 8 jenkins jenkins 162 May 12 16:25 .git [2020-05-12T16:26:59.943Z] drwxrwxr-x. 2 jenkins jenkins 38 May 12 16:25 .github [2020-05-12T16:26:59.943Z] -rw-rw-r--. 1 jenkins jenkins 138 May 12 16:25 .gitignore [2020-05-12T16:26:59.943Z] -rw-r--r--. 1 jenkins jenkins 446 May 12 16:26 go.mod [2020-05-12T16:26:59.943Z] -rw-r--r--. 1 jenkins jenkins 12179 May 12 16:26 go.sum [2020-05-12T16:26:59.943Z] drwxrwxr-x. 15 jenkins jenkins 217 May 12 16:25 internal [2020-05-12T16:26:59.943Z] -rw-rw-r--. 1 jenkins jenkins 808 May 12 16:25 Jenkinsfile [2020-05-12T16:26:59.943Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 12 16:25 LICENSE [2020-05-12T16:26:59.943Z] -rw-rw-r--. 1 jenkins jenkins 892 May 12 16:25 Makefile [2020-05-12T16:26:59.943Z] drwxrwxr-x. 5 jenkins jenkins 50 May 12 16:25 pkg [2020-05-12T16:26:59.943Z] -rw-rw-r--. 1 jenkins jenkins 3166 May 12 16:25 README.md [2020-05-12T16:26:59.943Z] -rw-rw-r--. 1 jenkins jenkins 3788 May 12 16:25 RELEASE-NOTES.txt [2020-05-12T16:26:59.943Z] drwxrwxr-x. 3 jenkins jenkins 44 May 12 16:25 .semver [2020-05-12T16:26:59.943Z] drwxrwxr-x. 4 jenkins jenkins 54 May 12 16:25 snap [2020-05-12T16:26:59.944Z] -rw-rw-r--. 1 jenkins jenkins 11 May 12 16:22 VERSION [2020-05-12T16:26:59.944Z] -rw-rw-r--. 1 jenkins jenkins 222 May 12 16:25 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:27:00.240Z] + 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=06597099208d767b199b1ee3278a93f9e7a6e7dd --label arch=amd64 --label version=1.2.1-dev.5 . [2020-05-12T16:27:00.499Z] Sending build context to Docker daemon 3.184MB [2020-05-12T16:27:00.499Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-05-12T16:27:00.499Z] Step 2/21 : FROM ${BASE} AS builder [2020-05-12T16:27:00.499Z] ---> 72074eee1209 [2020-05-12T16:27:00.499Z] Step 3/21 : ARG MAKE='make build' [2020-05-12T16:27:00.499Z] ---> Running in 233a4bcd8316 [2020-05-12T16:27:00.758Z] Removing intermediate container 233a4bcd8316 [2020-05-12T16:27:00.758Z] ---> 0aabef2092a0 [2020-05-12T16:27:00.758Z] Step 4/21 : WORKDIR /device-sdk-go [2020-05-12T16:27:00.758Z] ---> Running in 65201797127c [2020-05-12T16:27:00.758Z] Removing intermediate container 65201797127c [2020-05-12T16:27:00.758Z] ---> 28d60dea98cf [2020-05-12T16:27:00.758Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-12T16:27:00.758Z] ---> Running in bae8632a7c8b [2020-05-12T16:27:01.017Z] Removing intermediate container bae8632a7c8b [2020-05-12T16:27:01.017Z] ---> 9b856173757b [2020-05-12T16:27:01.017Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-12T16:27:01.017Z] ---> Running in c038d34cfdfa [2020-05-12T16:27:01.962Z] Removing intermediate container c038d34cfdfa [2020-05-12T16:27:01.962Z] ---> 49aeb0d0d13f [2020-05-12T16:27:01.962Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-05-12T16:27:01.962Z] ---> Running in d299ba06cd50 [2020-05-12T16:27:02.223Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-12T16:27:03.160Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-12T16:27:03.160Z] OK: 143 MiB in 39 packages [2020-05-12T16:27:03.729Z] Removing intermediate container d299ba06cd50 [2020-05-12T16:27:03.729Z] ---> 5ab781f352fa [2020-05-12T16:27:03.729Z] Step 8/21 : COPY . . [2020-05-12T16:27:03.989Z] ---> 1f0e4168b3fb [2020-05-12T16:27:03.989Z] Step 9/21 : RUN ${MAKE} [2020-05-12T16:27:03.989Z] ---> Running in 605008a59558 [2020-05-12T16:27:04.247Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.1-dev.5" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-05-12T16:27:12.399Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-05-12T16:27:12.969Z] Removing intermediate container 605008a59558 [2020-05-12T16:27:12.969Z] ---> bb6e910067d5 [2020-05-12T16:27:12.969Z] Step 10/21 : FROM scratch [2020-05-12T16:27:12.969Z] ---> [2020-05-12T16:27:12.969Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-12T16:27:12.969Z] ---> Running in cda8109fde9c [2020-05-12T16:27:13.234Z] Removing intermediate container cda8109fde9c [2020-05-12T16:27:13.234Z] ---> f4e3e0a470f6 [2020-05-12T16:27:13.234Z] Step 12/21 : ENV APP_PORT=49990 [2020-05-12T16:27:13.234Z] ---> Running in 7db678513bce [2020-05-12T16:27:13.234Z] Removing intermediate container 7db678513bce [2020-05-12T16:27:13.234Z] ---> 4a41df756a12 [2020-05-12T16:27:13.234Z] Step 13/21 : EXPOSE $APP_PORT [2020-05-12T16:27:13.492Z] ---> Running in 27e646305187 [2020-05-12T16:27:13.492Z] Removing intermediate container 27e646305187 [2020-05-12T16:27:13.492Z] ---> ace13f2879a8 [2020-05-12T16:27:13.492Z] Step 14/21 : WORKDIR / [2020-05-12T16:27:13.492Z] ---> Running in 2c15629ae102 [2020-05-12T16:27:13.752Z] Removing intermediate container 2c15629ae102 [2020-05-12T16:27:13.752Z] ---> 397b7aa33c03 [2020-05-12T16:27:13.752Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-05-12T16:27:14.011Z] ---> 380ac055db88 [2020-05-12T16:27:14.012Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-05-12T16:27:14.270Z] ---> d919e29b3708 [2020-05-12T16:27:14.270Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-05-12T16:27:14.270Z] ---> d1fb1c282cc3 [2020-05-12T16:27:14.270Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-05-12T16:27:14.530Z] ---> Running in 3750e44e9164 [2020-05-12T16:27:14.530Z] Removing intermediate container 3750e44e9164 [2020-05-12T16:27:14.530Z] ---> 3d66136cd153 [2020-05-12T16:27:14.530Z] Step 19/21 : LABEL arch=amd64 [2020-05-12T16:27:14.530Z] ---> Running in 6ae4d6db6c01 [2020-05-12T16:27:14.789Z] Removing intermediate container 6ae4d6db6c01 [2020-05-12T16:27:14.789Z] ---> b8aa06a99f7c [2020-05-12T16:27:14.789Z] Step 20/21 : LABEL git_sha=06597099208d767b199b1ee3278a93f9e7a6e7dd [2020-05-12T16:27:14.789Z] ---> Running in e1e46ac8bd17 [2020-05-12T16:27:14.789Z] Removing intermediate container e1e46ac8bd17 [2020-05-12T16:27:14.789Z] ---> 96755898fb2c [2020-05-12T16:27:14.789Z] Step 21/21 : LABEL version=1.2.1-dev.5 [2020-05-12T16:27:15.048Z] ---> Running in 6e5c322fb7d0 [2020-05-12T16:27:15.048Z] Removing intermediate container 6e5c322fb7d0 [2020-05-12T16:27:15.048Z] ---> 8bc87998bad9 [2020-05-12T16:27:15.048Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-12T16:27:15.048Z] Successfully built 8bc87998bad9 [2020-05-12T16:27:15.048Z] 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 [2020-05-12T16:27:15.688Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.041s coverage: 11.4% of statements [2020-05-12T16:27:15.688Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.7% of statements [2020-05-12T16:27:15.688Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-05-12T16:27:15.688Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.168s coverage: 36.9% of statements [2020-05-12T16:27:15.688Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-05-12T16:27:15.688Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-05-12T16:27:15.688Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.481s coverage: 65.2% of statements [2020-05-12T16:27:15.688Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-05-12T16:27:15.688Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-05-12T16:27:15.688Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-05-12T16:27:15.688Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements [2020-05-12T16:27:15.688Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-05-12T16:27:15.688Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.376s coverage: 68.9% of statements [2020-05-12T16:27:15.688Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-05-12T16:27:15.688Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-05-12T16:27:15.688Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-05-12T16:27:19.983Z] gofmt -l . [2020-05-12T16:27:20.250Z] [ "`gofmt -l .`" = "" ] [2020-05-12T16:27:20.523Z] ./bin/test-attribution-txt.sh [2020-05-12T16:27:21.486Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-05-12T16:27:21.855Z] Warning: overwriting stash ‘coverage-report’ [2020-05-12T16:27:22.335Z] Stashed 1 file(s) [Pipeline] } [2020-05-12T16:27:22.337Z] $ docker stop --time=1 b14924fab6a7f982bec8581884dc3055e0e2ea86c26f2d26c321f8b18fb08fe8 [2020-05-12T16:27:24.587Z] $ docker rm -f b14924fab6a7f982bec8581884dc3055e0e2ea86c26f2d26c321f8b18fb08fe8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-12T16:27:25.910Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-12T16:27:26.235Z] + ls -al . [2020-05-12T16:27:26.235Z] total 220 [2020-05-12T16:27:26.235Z] drwxrwxr-x 11 jenkins jenkins 4096 May 12 16:27 . [2020-05-12T16:27:26.235Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 16:24 .. [2020-05-12T16:27:26.235Z] -rw-rw-r-- 1 jenkins jenkins 140 May 12 16:24 .dockerignore [2020-05-12T16:27:26.235Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 16:24 .git [2020-05-12T16:27:26.235Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 16:24 .github [2020-05-12T16:27:26.235Z] -rw-rw-r-- 1 jenkins jenkins 138 May 12 16:24 .gitignore [2020-05-12T16:27:26.235Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 16:25 .semver [2020-05-12T16:27:26.235Z] -rw-rw-r-- 1 jenkins jenkins 936 May 12 16:24 Dockerfile.build [2020-05-12T16:27:26.235Z] -rw-rw-r-- 1 jenkins jenkins 808 May 12 16:24 Jenkinsfile [2020-05-12T16:27:26.235Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 12 16:24 LICENSE [2020-05-12T16:27:26.235Z] -rw-rw-r-- 1 jenkins jenkins 892 May 12 16:24 Makefile [2020-05-12T16:27:26.235Z] -rw-rw-r-- 1 jenkins jenkins 3166 May 12 16:24 README.md [2020-05-12T16:27:26.235Z] -rw-rw-r-- 1 jenkins jenkins 3788 May 12 16:24 RELEASE-NOTES.txt [2020-05-12T16:27:26.235Z] -rw-rw-r-- 1 jenkins jenkins 11 May 12 16:22 VERSION [2020-05-12T16:27:26.235Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 16:24 api [2020-05-12T16:27:26.235Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 16:24 bin [2020-05-12T16:27:26.235Z] -rw-r--r-- 1 jenkins jenkins 110877 May 12 16:27 coverage.out [2020-05-12T16:27:26.235Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 16:24 example [2020-05-12T16:27:26.235Z] -rw-r--r-- 1 jenkins jenkins 446 May 12 16:27 go.mod [2020-05-12T16:27:26.235Z] -rw-r--r-- 1 jenkins jenkins 12179 May 12 16:27 go.sum [2020-05-12T16:27:26.235Z] drwxrwxr-x 15 jenkins jenkins 4096 May 12 16:24 internal [2020-05-12T16:27:26.235Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 16:24 pkg [2020-05-12T16:27:26.235Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 16:24 snap [2020-05-12T16:27:26.235Z] -rw-rw-r-- 1 jenkins jenkins 222 May 12 16:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:27:26.567Z] + 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=06597099208d767b199b1ee3278a93f9e7a6e7dd --label arch=arm64 --label version=1.2.1-dev.5 . [2020-05-12T16:27:27.150Z] Sending build context to Docker daemon 3.184MB [2020-05-12T16:27:27.150Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-05-12T16:27:27.150Z] Step 2/21 : FROM ${BASE} AS builder [2020-05-12T16:27:27.150Z] ---> 74cb5f72e5e2 [2020-05-12T16:27:27.150Z] Step 3/21 : ARG MAKE='make build' [2020-05-12T16:27:27.731Z] ---> Running in 82665a098b44 [2020-05-12T16:27:27.998Z] Removing intermediate container 82665a098b44 [2020-05-12T16:27:27.998Z] ---> 9e3a2246fe1c [2020-05-12T16:27:27.998Z] Step 4/21 : WORKDIR /device-sdk-go [2020-05-12T16:27:28.583Z] ---> Running in 81a5e44b7af3 [2020-05-12T16:27:29.166Z] Removing intermediate container 81a5e44b7af3 [2020-05-12T16:27:29.166Z] ---> d76116589629 [2020-05-12T16:27:29.166Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-12T16:27:29.432Z] ---> Running in 9a24081be03c [2020-05-12T16:27:30.015Z] Removing intermediate container 9a24081be03c [2020-05-12T16:27:30.015Z] ---> a9de9dd683e1 [2020-05-12T16:27:30.015Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-12T16:27:30.600Z] ---> Running in 6af1e09b27f8 [2020-05-12T16:27:32.545Z] Removing intermediate container 6af1e09b27f8 [2020-05-12T16:27:32.545Z] ---> 63c2b928f66d [2020-05-12T16:27:32.545Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-05-12T16:27:32.545Z] ---> Running in 245e50ef0139 [2020-05-12T16:27:33.129Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-12T16:27:34.085Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-12T16:27:35.045Z] OK: 125 MiB in 39 packages [2020-05-12T16:27:36.094Z] Removing intermediate container 245e50ef0139 [2020-05-12T16:27:36.094Z] ---> 3b9404b34020 [2020-05-12T16:27:36.094Z] Step 8/21 : COPY . . [2020-05-12T16:27:37.094Z] ---> fe65ec4b4e7a [2020-05-12T16:27:37.094Z] Step 9/21 : RUN ${MAKE} [2020-05-12T16:27:37.372Z] ---> Running in fa7956b65ed0 [2020-05-12T16:27:38.345Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.1-dev.5" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-05-12T16:28:00.421Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-05-12T16:28:03.003Z] Removing intermediate container fa7956b65ed0 [2020-05-12T16:28:03.003Z] ---> 2ed2981c122b [2020-05-12T16:28:03.003Z] Step 10/21 : FROM scratch [2020-05-12T16:28:03.003Z] ---> [2020-05-12T16:28:03.003Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-12T16:28:03.003Z] ---> Running in 817e5dd14196 [2020-05-12T16:28:03.270Z] Removing intermediate container 817e5dd14196 [2020-05-12T16:28:03.270Z] ---> d228ac269b60 [2020-05-12T16:28:03.270Z] Step 12/21 : ENV APP_PORT=49990 [2020-05-12T16:28:03.270Z] ---> Running in 5563b8d1905f [2020-05-12T16:28:03.537Z] Removing intermediate container 5563b8d1905f [2020-05-12T16:28:03.537Z] ---> 4405806a7bd9 [2020-05-12T16:28:03.537Z] Step 13/21 : EXPOSE $APP_PORT [2020-05-12T16:28:03.537Z] ---> Running in 0c4aba1c2e45 [2020-05-12T16:28:04.123Z] Removing intermediate container 0c4aba1c2e45 [2020-05-12T16:28:04.123Z] ---> f024c44e966a [2020-05-12T16:28:04.123Z] Step 14/21 : WORKDIR / [2020-05-12T16:28:04.123Z] ---> Running in b28ef275ab09 [2020-05-12T16:28:04.389Z] Removing intermediate container b28ef275ab09 [2020-05-12T16:28:04.389Z] ---> 3460ac56b90b [2020-05-12T16:28:04.389Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-05-12T16:28:05.350Z] ---> ee307f4ddc50 [2020-05-12T16:28:05.350Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-05-12T16:28:05.933Z] ---> a72eecfb0ce9 [2020-05-12T16:28:05.933Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-05-12T16:28:06.519Z] ---> 00677503425e [2020-05-12T16:28:06.519Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-05-12T16:28:06.519Z] ---> Running in 6784bd9c8176 [2020-05-12T16:28:07.101Z] Removing intermediate container 6784bd9c8176 [2020-05-12T16:28:07.101Z] ---> 1756044ae09a [2020-05-12T16:28:07.101Z] Step 19/21 : LABEL arch=arm64 [2020-05-12T16:28:07.368Z] ---> Running in 0bd2aa43d400 [2020-05-12T16:28:07.636Z] Removing intermediate container 0bd2aa43d400 [2020-05-12T16:28:07.636Z] ---> bdf2b23432d2 [2020-05-12T16:28:07.636Z] Step 20/21 : LABEL git_sha=06597099208d767b199b1ee3278a93f9e7a6e7dd [2020-05-12T16:28:07.636Z] ---> Running in f1b76cdfd8c4 [2020-05-12T16:28:08.219Z] Removing intermediate container f1b76cdfd8c4 [2020-05-12T16:28:08.219Z] ---> 1c44ce1f0c35 [2020-05-12T16:28:08.219Z] Step 21/21 : LABEL version=1.2.1-dev.5 [2020-05-12T16:28:08.219Z] ---> Running in 331da315f4fc [2020-05-12T16:28:08.486Z] Removing intermediate container 331da315f4fc [2020-05-12T16:28:08.486Z] ---> e92a18fdb54f [2020-05-12T16:28:08.486Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-12T16:28:08.486Z] Successfully built e92a18fdb54f [2020-05-12T16:28:08.486Z] 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-12T16:28:09.972Z] provisioning config files... [2020-05-12T16:28:09.984Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8092081514769449705tmp [Pipeline] { [Pipeline] sh [2020-05-12T16:28:10.334Z] + curl -s https://codecov.io/bash [2020-05-12T16:28:10.334Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8092081514769449705tmp [2020-05-12T16:28:10.598Z] [2020-05-12T16:28:10.598Z] _____ _ [2020-05-12T16:28:10.598Z] / ____| | | [2020-05-12T16:28:10.598Z] | | ___ __| | ___ ___ _____ __ [2020-05-12T16:28:10.598Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-05-12T16:28:10.598Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-05-12T16:28:10.598Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-05-12T16:28:10.598Z] Bash-tbd [2020-05-12T16:28:10.598Z] [2020-05-12T16:28:10.598Z] [2020-05-12T16:28:10.598Z] ==> Jenkins CI detected. [2020-05-12T16:28:10.598Z] project root: . [2020-05-12T16:28:10.598Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-05-12T16:28:10.598Z] ==> Running gcov in . (disable via -X gcov) [2020-05-12T16:28:10.598Z] ==> Python coveragepy not found [2020-05-12T16:28:10.598Z] ==> Searching for coverage reports in: [2020-05-12T16:28:10.598Z] + . [2020-05-12T16:28:10.598Z] -> Found 1 reports [2020-05-12T16:28:10.598Z] ==> Detecting git/mercurial file structure [2020-05-12T16:28:10.598Z] ==> Reading reports [2020-05-12T16:28:10.598Z] + ./coverage.out bytes=110877 [2020-05-12T16:28:10.598Z] ==> Appending adjustments [2020-05-12T16:28:10.598Z] http://docs.codecov.io/docs/fixing-reports [2020-05-12T16:28:11.170Z] + Found adjustments [2020-05-12T16:28:11.170Z] ==> Gzipping contents [2020-05-12T16:28:11.170Z] ==> Uploading reports [2020-05-12T16:28:11.170Z] url: https://codecov.io [2020-05-12T16:28:11.170Z] query: branch=master&commit=06597099208d767b199b1ee3278a93f9e7a6e7dd&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-05-12T16:28:11.170Z] -> Pinging Codecov [2020-05-12T16:28:11.170Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=06597099208d767b199b1ee3278a93f9e7a6e7dd&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-05-12T16:28:11.432Z] -> Uploading [2020-05-12T16:28:12.006Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/06597099208d767b199b1ee3278a93f9e7a6e7dd [Pipeline] } [2020-05-12T16:28:12.014Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-05-12T16:28:12.418Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-05-12T16:28:12.419Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-05-12T16:28:12.461Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:28:12.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-05-12T16:28:12.805Z] [2020-05-12T16:28:12.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:28:13.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-05-12T16:28:13.142Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-05-12T16:28:13.142Z] cbdbe7a5bc2a: Pulling fs layer [2020-05-12T16:28:13.142Z] 408f87550127: Pulling fs layer [2020-05-12T16:28:13.142Z] fe522b08c979: Pulling fs layer [2020-05-12T16:28:13.142Z] 221eaa008020: Pulling fs layer [2020-05-12T16:28:13.142Z] 2a4607e5d6b9: Pulling fs layer [2020-05-12T16:28:13.142Z] 95d3c3421fef: Pulling fs layer [2020-05-12T16:28:13.142Z] 2fec7dd152b6: Pulling fs layer [2020-05-12T16:28:13.142Z] d65e43aa86fe: Pulling fs layer [2020-05-12T16:28:13.142Z] 10a7cc25405e: Pulling fs layer [2020-05-12T16:28:13.142Z] 95d3c3421fef: Waiting [2020-05-12T16:28:13.142Z] 2fec7dd152b6: Waiting [2020-05-12T16:28:13.142Z] d65e43aa86fe: Waiting [2020-05-12T16:28:13.142Z] 221eaa008020: Waiting [2020-05-12T16:28:13.142Z] 2a4607e5d6b9: Waiting [2020-05-12T16:28:13.142Z] 10a7cc25405e: Waiting [2020-05-12T16:28:13.142Z] fe522b08c979: Verifying Checksum [2020-05-12T16:28:13.142Z] fe522b08c979: Download complete [2020-05-12T16:28:13.142Z] 408f87550127: Verifying Checksum [2020-05-12T16:28:13.142Z] 408f87550127: Download complete [2020-05-12T16:28:13.142Z] 2a4607e5d6b9: Verifying Checksum [2020-05-12T16:28:13.142Z] 2a4607e5d6b9: Download complete [2020-05-12T16:28:13.142Z] 95d3c3421fef: Verifying Checksum [2020-05-12T16:28:13.142Z] 95d3c3421fef: Download complete [2020-05-12T16:28:13.420Z] cbdbe7a5bc2a: Verifying Checksum [2020-05-12T16:28:13.421Z] cbdbe7a5bc2a: Download complete [2020-05-12T16:28:13.691Z] cbdbe7a5bc2a: Pull complete [2020-05-12T16:28:13.691Z] 2fec7dd152b6: Verifying Checksum [2020-05-12T16:28:13.691Z] 2fec7dd152b6: Download complete [2020-05-12T16:28:13.973Z] 408f87550127: Pull complete [2020-05-12T16:28:14.257Z] d65e43aa86fe: Verifying Checksum [2020-05-12T16:28:14.257Z] d65e43aa86fe: Download complete [2020-05-12T16:28:14.523Z] fe522b08c979: Pull complete [2020-05-12T16:28:14.523Z] 10a7cc25405e: Verifying Checksum [2020-05-12T16:28:14.523Z] 10a7cc25405e: Download complete [2020-05-12T16:28:15.471Z] 221eaa008020: Verifying Checksum [2020-05-12T16:28:15.471Z] 221eaa008020: Download complete [2020-05-12T16:28:22.060Z] 221eaa008020: Pull complete [2020-05-12T16:28:22.060Z] 2a4607e5d6b9: Pull complete [2020-05-12T16:28:22.060Z] 95d3c3421fef: Pull complete [2020-05-12T16:28:23.969Z] 2fec7dd152b6: Pull complete [2020-05-12T16:28:27.265Z] d65e43aa86fe: Pull complete [2020-05-12T16:28:27.839Z] 10a7cc25405e: Pull complete [2020-05-12T16:28:27.839Z] Digest: sha256:f69c3a2814e8191a177e5024c1aa2982a1df1c15a1f5ff5a42290ad3eeac8c0b [2020-05-12T16:28:27.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-05-12T16:28:28.026Z] prd-centos7-docker-4c-2g-8024 does not seem to be running inside a container [2020-05-12T16:28:28.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-05-12T16:28:28.720Z] $ docker top 85f2ed79d354ad3562a96c1487dfe018d5a35c5657df76b307184b0e4ea135b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-12T16:28:29.257Z] + snyk monitor '--org=edgex-jenkins' [2020-05-12T16:28:55.813Z] [2020-05-12T16:28:55.813Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-05-12T16:28:55.813Z] [2020-05-12T16:28:55.813Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/724d78f6-2219-4411-8a02-c1e12b591735 [2020-05-12T16:28:55.813Z] [2020-05-12T16:28:55.813Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-05-12T16:28:55.813Z] [2020-05-12T16:28:56.380Z] [Pipeline] } [2020-05-12T16:28:56.390Z] $ docker stop --time=1 85f2ed79d354ad3562a96c1487dfe018d5a35c5657df76b307184b0e4ea135b7 [2020-05-12T16:28:57.761Z] $ docker rm -f 85f2ed79d354ad3562a96c1487dfe018d5a35c5657df76b307184b0e4ea135b7 [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-12T16:28:58.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T16:28:58.945Z] . [Pipeline] withDockerContainer [2020-05-12T16:28:59.065Z] prd-centos7-docker-4c-2g-8024 does not seem to be running inside a container [2020-05-12T16:28:59.112Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-12T16:28:59.709Z] $ docker top 5a90d7c7c241fd667ca51024bccd454c0806d4f92d8277f6654a67c8299a28c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-12T16:29:00.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T16:29:00.019Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T16:29:00.271Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T16:29:00.274Z] $ docker exec 5a90d7c7c241fd667ca51024bccd454c0806d4f92d8277f6654a67c8299a28c8 ssh-agent [2020-05-12T16:29:00.464Z] SSH_AUTH_SOCK=/tmp/ssh-k20EVz1hiIes/agent.14 [2020-05-12T16:29:00.464Z] SSH_AGENT_PID=21 [2020-05-12T16:29:00.476Z] Running ssh-add (command line suppressed) [2020-05-12T16:29:00.626Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2663462302986576854.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2663462302986576854.key) [2020-05-12T16:29:00.681Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T16:29:01.009Z] + git semver tag [2020-05-12T16:29:01.009Z] # -> Open(): unable to determine branch for HEAD [2020-05-12T16:29:01.009Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-05-12T16:29:01.009Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-12T16:29:01.009Z] # $SEMVER_REMOTE_NAME = origin [2020-05-12T16:29:01.009Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-12T16:29:01.009Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-12T16:29:01.009Z] # $SEMVER_BRANCH = master [2020-05-12T16:29:01.009Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-05-12T16:29:01.009Z] # 06597099208d767b199b1ee3278a93f9e7a6e7dd HEAD [2020-05-12T16:29:01.270Z] # -> Force: false [2020-05-12T16:29:01.270Z] # 19d485f0588af0d9f05689fd7628693e9eac745d refs/tags/v1.2.1-dev.5 [Pipeline] } [2020-05-12T16:29:01.280Z] $ docker exec --env ******** --env ******** 5a90d7c7c241fd667ca51024bccd454c0806d4f92d8277f6654a67c8299a28c8 ssh-agent -k [2020-05-12T16:29:01.436Z] unset SSH_AUTH_SOCK; [2020-05-12T16:29:01.436Z] unset SSH_AGENT_PID; [2020-05-12T16:29:01.436Z] echo Agent pid 21 killed; [2020-05-12T16:29:01.481Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-12T16:29:01.923Z] + git semver [Pipeline] } [2020-05-12T16:29:01.936Z] $ docker stop --time=1 5a90d7c7c241fd667ca51024bccd454c0806d4f92d8277f6654a67c8299a28c8 [2020-05-12T16:29:03.300Z] $ docker rm -f 5a90d7c7c241fd667ca51024bccd454c0806d4f92d8277f6654a67c8299a28c8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:29:03.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-05-12T16:29:03.888Z] [2020-05-12T16:29:03.888Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:29:04.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-05-12T16:29:04.261Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-05-12T16:29:04.261Z] ab5ef0e58194: Pulling fs layer [2020-05-12T16:29:04.261Z] 9712f1f96733: Pulling fs layer [2020-05-12T16:29:04.261Z] 63f879dbbcfc: Pulling fs layer [2020-05-12T16:29:04.261Z] 0d9ebad4ef96: Pulling fs layer [2020-05-12T16:29:04.261Z] e9a5061849ea: Pulling fs layer [2020-05-12T16:29:04.261Z] d747dcd14b5f: Pulling fs layer [2020-05-12T16:29:04.261Z] 2de7ff778b66: Pulling fs layer [2020-05-12T16:29:04.261Z] e9a5061849ea: Waiting [2020-05-12T16:29:04.261Z] d747dcd14b5f: Waiting [2020-05-12T16:29:04.261Z] 0d9ebad4ef96: Waiting [2020-05-12T16:29:04.261Z] 2de7ff778b66: Waiting [2020-05-12T16:29:04.261Z] 9712f1f96733: Verifying Checksum [2020-05-12T16:29:04.261Z] 9712f1f96733: Download complete [2020-05-12T16:29:04.851Z] 63f879dbbcfc: Verifying Checksum [2020-05-12T16:29:04.851Z] 63f879dbbcfc: Download complete [2020-05-12T16:29:05.146Z] e9a5061849ea: Verifying Checksum [2020-05-12T16:29:05.146Z] e9a5061849ea: Download complete [2020-05-12T16:29:05.146Z] d747dcd14b5f: Verifying Checksum [2020-05-12T16:29:05.146Z] d747dcd14b5f: Download complete [2020-05-12T16:29:05.407Z] 2de7ff778b66: Verifying Checksum [2020-05-12T16:29:05.407Z] 2de7ff778b66: Download complete [2020-05-12T16:29:05.407Z] 0d9ebad4ef96: Verifying Checksum [2020-05-12T16:29:05.407Z] 0d9ebad4ef96: Download complete [2020-05-12T16:29:05.407Z] ab5ef0e58194: Verifying Checksum [2020-05-12T16:29:05.407Z] ab5ef0e58194: Download complete [2020-05-12T16:29:10.696Z] ab5ef0e58194: Pull complete [2020-05-12T16:29:10.696Z] 9712f1f96733: Pull complete [2020-05-12T16:29:12.603Z] 63f879dbbcfc: Pull complete [2020-05-12T16:29:17.881Z] 0d9ebad4ef96: Pull complete [2020-05-12T16:29:22.139Z] e9a5061849ea: Pull complete [2020-05-12T16:29:22.139Z] d747dcd14b5f: Pull complete [2020-05-12T16:29:23.079Z] 2de7ff778b66: Pull complete [2020-05-12T16:29:23.079Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-05-12T16:29:23.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-05-12T16:29:23.203Z] prd-centos7-docker-4c-2g-8024 does not seem to be running inside a container [2020-05-12T16:29:23.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-05-12T16:29:23.821Z] $ docker top c2470bdd5aa085df0e650795cf12e95031a53591ba5d3afde549496cc20b23f6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-05-12T16:29:24.015Z] provisioning config files... [2020-05-12T16:29:24.025Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8059099415823894219tmp [2020-05-12T16:29:24.040Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1015528733872062347tmp [2020-05-12T16:29:24.052Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6718571875469805562tmp [Pipeline] { [Pipeline] echo [2020-05-12T16:29:24.128Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T16:29:24.418Z] ---> sigul-configuration.sh [2020-05-12T16:29:24.418Z] gpg: directory `/root/.gnupg' created [2020-05-12T16:29:24.418Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-05-12T16:29:24.418Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-05-12T16:29:24.418Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-05-12T16:29:24.418Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-05-12T16:29:24.418Z] gpg: CAST5 encrypted data [2020-05-12T16:29:24.676Z] gpg: encrypted with 1 passphrase [2020-05-12T16:29:24.676Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-05-12T16:29:24.968Z] + mkdir /home/jenkins [2020-05-12T16:29:24.968Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-05-12T16:29:25.259Z] + 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-12T16:29:25.267Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T16:29:25.557Z] ---> sigul-install.sh [2020-05-12T16:29:33.794Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-05-12T16:29:34.145Z] + git tag --list [2020-05-12T16:29:34.145Z] v1.2.1-dev.5 [Pipeline] sh [2020-05-12T16:29:34.490Z] + lftools sign git-tag v1.2.1-dev.5 [2020-05-12T16:29:35.453Z] Signing Git tag with Sigul... [2020-05-12T16:29:35.453Z] Signing v1.2.1-dev.5 [Pipeline] echo [2020-05-12T16:29:36.837Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T16:29:37.127Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-05-12T16:29:37.133Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-05-12T16:29:37.203Z] $ docker stop --time=1 c2470bdd5aa085df0e650795cf12e95031a53591ba5d3afde549496cc20b23f6 [2020-05-12T16:29:38.572Z] $ docker rm -f c2470bdd5aa085df0e650795cf12e95031a53591ba5d3afde549496cc20b23f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:29:39.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T16:29:39.230Z] . [Pipeline] withDockerContainer [2020-05-12T16:29:39.351Z] prd-centos7-docker-4c-2g-8024 does not seem to be running inside a container [2020-05-12T16:29:39.393Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-12T16:29:39.934Z] $ docker top 15a24dc4ef4cd4fc5a84986c621c8a9637f7b4715c7b58fb4cccf847ff56bd02 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-12T16:29:40.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T16:29:40.237Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T16:29:40.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T16:29:40.436Z] $ docker exec 15a24dc4ef4cd4fc5a84986c621c8a9637f7b4715c7b58fb4cccf847ff56bd02 ssh-agent [2020-05-12T16:29:40.618Z] SSH_AUTH_SOCK=/tmp/ssh-kYjscT5MrfBd/agent.15 [2020-05-12T16:29:40.618Z] SSH_AGENT_PID=22 [2020-05-12T16:29:40.624Z] Running ssh-add (command line suppressed) [2020-05-12T16:29:40.767Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2706538657146431992.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2706538657146431992.key) [2020-05-12T16:29:40.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T16:29:41.172Z] + git semver bump pre [2020-05-12T16:29:41.172Z] # -> Open(): unable to determine branch for HEAD [2020-05-12T16:29:41.172Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-05-12T16:29:41.172Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-12T16:29:41.172Z] # $SEMVER_REMOTE_NAME = origin [2020-05-12T16:29:41.172Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-12T16:29:41.172Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-12T16:29:41.172Z] # $SEMVER_BRANCH = master [2020-05-12T16:29:41.172Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-05-12T16:29:41.172Z] 1.2.1-dev.6 [Pipeline] } [2020-05-12T16:29:41.181Z] $ docker exec --env ******** --env ******** 15a24dc4ef4cd4fc5a84986c621c8a9637f7b4715c7b58fb4cccf847ff56bd02 ssh-agent -k [2020-05-12T16:29:41.320Z] unset SSH_AUTH_SOCK; [2020-05-12T16:29:41.320Z] unset SSH_AGENT_PID; [2020-05-12T16:29:41.320Z] echo Agent pid 22 killed; [2020-05-12T16:29:41.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-12T16:29:41.952Z] + git semver [Pipeline] } [2020-05-12T16:29:41.965Z] $ docker stop --time=1 15a24dc4ef4cd4fc5a84986c621c8a9637f7b4715c7b58fb4cccf847ff56bd02 [2020-05-12T16:29:43.330Z] $ docker rm -f 15a24dc4ef4cd4fc5a84986c621c8a9637f7b4715c7b58fb4cccf847ff56bd02 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:29:43.923Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T16:29:43.923Z] . [Pipeline] withDockerContainer [2020-05-12T16:29:44.032Z] prd-centos7-docker-4c-2g-8024 does not seem to be running inside a container [2020-05-12T16:29:44.082Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-12T16:29:44.613Z] $ docker top e48290dce9a5a63180a139cb390e7ca45a6ab7296148da1555de0a682fda22c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-12T16:29:44.914Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T16:29:44.914Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T16:29:45.104Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T16:29:45.107Z] $ docker exec e48290dce9a5a63180a139cb390e7ca45a6ab7296148da1555de0a682fda22c9 ssh-agent [2020-05-12T16:29:45.289Z] SSH_AUTH_SOCK=/tmp/ssh-Hzq1zmzRxzuV/agent.13 [2020-05-12T16:29:45.289Z] SSH_AGENT_PID=20 [2020-05-12T16:29:45.296Z] Running ssh-add (command line suppressed) [2020-05-12T16:29:45.435Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6068622936914105413.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6068622936914105413.key) [2020-05-12T16:29:45.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T16:29:45.806Z] + git semver push [2020-05-12T16:29:45.807Z] # -> Open(): unable to determine branch for HEAD [2020-05-12T16:29:45.807Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-05-12T16:29:45.807Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-12T16:29:45.807Z] # $SEMVER_REMOTE_NAME = origin [2020-05-12T16:29:45.807Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-12T16:29:45.807Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-12T16:29:45.807Z] # $SEMVER_BRANCH = master [2020-05-12T16:29:45.807Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-05-12T16:29:53.931Z] $ docker exec --env ******** --env ******** e48290dce9a5a63180a139cb390e7ca45a6ab7296148da1555de0a682fda22c9 ssh-agent -k [2020-05-12T16:29:54.120Z] unset SSH_AUTH_SOCK; [2020-05-12T16:29:54.121Z] unset SSH_AGENT_PID; [2020-05-12T16:29:54.121Z] echo Agent pid 20 killed; [2020-05-12T16:29:54.186Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-12T16:29:54.781Z] + git semver [Pipeline] } [2020-05-12T16:29:54.794Z] $ docker stop --time=1 e48290dce9a5a63180a139cb390e7ca45a6ab7296148da1555de0a682fda22c9 [2020-05-12T16:29:56.165Z] $ docker rm -f e48290dce9a5a63180a139cb390e7ca45a6ab7296148da1555de0a682fda22c9 [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-12T16:29:57.222Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T16:29:57.777Z] ---> package-listing.sh [2020-05-12T16:29:57.777Z] ++ facter osfamily [2020-05-12T16:29:57.777Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-12T16:29:57.777Z] + OS_FAMILY=redhat [2020-05-12T16:29:57.777Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-05-12T16:29:57.777Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-12T16:29:57.777Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-12T16:29:57.777Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-12T16:29:57.777Z] + PACKAGES=/tmp/packages_start.txt [2020-05-12T16:29:57.777Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-05-12T16:29:57.777Z] + PACKAGES=/tmp/packages_end.txt [2020-05-12T16:29:57.777Z] + case "${OS_FAMILY}" in [2020-05-12T16:29:57.777Z] + rpm -qa [2020-05-12T16:29:57.777Z] + sort [2020-05-12T16:30:01.065Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-12T16:30:01.065Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-12T16:30:01.065Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-12T16:30:01.065Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-05-12T16:30:01.065Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-05-12T16:30:01.065Z] + 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-12T16:30:01.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-12T16:30:01.518Z] [2020-05-12T16:30:01.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-12T16:30:01.963Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-12T16:30:01.963Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-12T16:30:01.963Z] c9b1b535fdd9: Pulling fs layer [2020-05-12T16:30:01.963Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-12T16:30:01.963Z] 756a868c4378: Pulling fs layer [2020-05-12T16:30:01.963Z] 444b2fc9a129: Pulling fs layer [2020-05-12T16:30:01.963Z] ea15f1150254: Pulling fs layer [2020-05-12T16:30:01.963Z] 41b27a9f41bf: Pulling fs layer [2020-05-12T16:30:01.963Z] 28c525ee5125: Pulling fs layer [2020-05-12T16:30:01.963Z] 094b1ea09ed8: Pulling fs layer [2020-05-12T16:30:01.963Z] 138eaada9080: Pulling fs layer [2020-05-12T16:30:01.963Z] 0622d0fa9048: Pulling fs layer [2020-05-12T16:30:01.963Z] 28c525ee5125: Waiting [2020-05-12T16:30:01.963Z] 094b1ea09ed8: Waiting [2020-05-12T16:30:01.963Z] 138eaada9080: Waiting [2020-05-12T16:30:01.963Z] 0622d0fa9048: Waiting [2020-05-12T16:30:01.963Z] 444b2fc9a129: Waiting [2020-05-12T16:30:01.963Z] ea15f1150254: Waiting [2020-05-12T16:30:01.963Z] 41b27a9f41bf: Waiting [2020-05-12T16:30:01.963Z] 2cc5ad85d9ab: Download complete [2020-05-12T16:30:01.963Z] 444b2fc9a129: Verifying Checksum [2020-05-12T16:30:01.963Z] 444b2fc9a129: Download complete [2020-05-12T16:30:02.229Z] c9b1b535fdd9: Verifying Checksum [2020-05-12T16:30:02.229Z] c9b1b535fdd9: Download complete [2020-05-12T16:30:02.229Z] ea15f1150254: Download complete [2020-05-12T16:30:02.229Z] 28c525ee5125: Verifying Checksum [2020-05-12T16:30:02.229Z] 28c525ee5125: Download complete [2020-05-12T16:30:02.494Z] c9b1b535fdd9: Pull complete [2020-05-12T16:30:02.768Z] 756a868c4378: Verifying Checksum [2020-05-12T16:30:02.768Z] 756a868c4378: Download complete [2020-05-12T16:30:02.768Z] 138eaada9080: Verifying Checksum [2020-05-12T16:30:02.768Z] 138eaada9080: Download complete [2020-05-12T16:30:03.035Z] 0622d0fa9048: Verifying Checksum [2020-05-12T16:30:03.035Z] 0622d0fa9048: Download complete [2020-05-12T16:30:03.035Z] 094b1ea09ed8: Verifying Checksum [2020-05-12T16:30:03.035Z] 094b1ea09ed8: Download complete [2020-05-12T16:30:03.606Z] 41b27a9f41bf: Verifying Checksum [2020-05-12T16:30:03.606Z] 41b27a9f41bf: Download complete [2020-05-12T16:30:03.867Z] 2cc5ad85d9ab: Pull complete [2020-05-12T16:30:05.782Z] 756a868c4378: Pull complete [2020-05-12T16:30:05.782Z] 444b2fc9a129: Pull complete [2020-05-12T16:30:06.043Z] ea15f1150254: Pull complete [2020-05-12T16:30:09.341Z] 41b27a9f41bf: Pull complete [2020-05-12T16:30:09.341Z] 28c525ee5125: Pull complete [2020-05-12T16:30:11.891Z] 094b1ea09ed8: Pull complete [2020-05-12T16:30:11.891Z] 138eaada9080: Pull complete [2020-05-12T16:30:11.891Z] 0622d0fa9048: Pull complete [2020-05-12T16:30:11.891Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-12T16:30:11.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-12T16:30:12.013Z] prd-centos7-docker-4c-2g-8024 does not seem to be running inside a container [2020-05-12T16:30:12.056Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-05-12T16:30:13.111Z] $ docker top 4db7a625fe4a9c2c7439d42eb4f338b282829bc4fc1cbf8318bf6664dcfc7e90 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-12T16:30:13.363Z] provisioning config files... [2020-05-12T16:30:13.378Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4953277774811359640tmp [Pipeline] { [Pipeline] echo [2020-05-12T16:30:13.454Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T16:30:13.746Z] ---> create-netrc.sh [Pipeline] echo [2020-05-12T16:30:13.754Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T16:30:14.047Z] ---> logs-deploy.sh [2020-05-12T16:30:14.047Z] + ARCHIVE_ARTIFACTS= [2020-05-12T16:30:14.047Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-12T16:30:14.047Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-12T16:30:14.047Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-12T16:30:14.047Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/41 [2020-05-12T16:30:14.047Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/41/ [2020-05-12T16:30:14.047Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/41 /w/workspace/dgexfoundry_device-sdk-go_master [2020-05-12T16:30:14.987Z] Archives upload complete. [2020-05-12T16:30:15.246Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/41 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/41/