Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2731ca63cc475b67e9cc596139d210d033590fbd 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 b810438aec07f555226556e3b59abf2bab733840 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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3345 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 Fetching 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 > 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 Checking out Revision 2731ca63cc475b67e9cc596139d210d033590fbd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 Commit message: "Merge pull request #458 from weichou1229/issue-457" > git rev-list --no-walk 6b5c10e5a815794950d6808b6cccf5c95c2b64e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-09T04:06:03.810Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:06:06.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T04:06:06.036Z] [2020-03-09T04:06:06.036Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:06:06.405Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T04:06:06.405Z] latest: Pulling from edgex-devops/git-semver [2020-03-09T04:06:06.405Z] 9123ac7c32f7: Pulling fs layer [2020-03-09T04:06:06.405Z] b8cc5d1170e3: Pulling fs layer [2020-03-09T04:06:06.405Z] 2924cbbf6a41: Pulling fs layer [2020-03-09T04:06:06.405Z] 93b08a4f1073: Pulling fs layer [2020-03-09T04:06:06.405Z] 93b08a4f1073: Waiting [2020-03-09T04:06:06.405Z] b8cc5d1170e3: Verifying Checksum [2020-03-09T04:06:06.405Z] b8cc5d1170e3: Download complete [2020-03-09T04:06:06.405Z] 9123ac7c32f7: Verifying Checksum [2020-03-09T04:06:06.405Z] 9123ac7c32f7: Download complete [2020-03-09T04:06:06.667Z] 93b08a4f1073: Verifying Checksum [2020-03-09T04:06:06.667Z] 93b08a4f1073: Download complete [2020-03-09T04:06:06.667Z] 2924cbbf6a41: Verifying Checksum [2020-03-09T04:06:06.667Z] 2924cbbf6a41: Download complete [2020-03-09T04:06:06.929Z] 9123ac7c32f7: Pull complete [2020-03-09T04:06:06.929Z] b8cc5d1170e3: Pull complete [2020-03-09T04:06:07.501Z] 2924cbbf6a41: Pull complete [2020-03-09T04:06:07.761Z] 93b08a4f1073: Pull complete [2020-03-09T04:06:08.020Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-09T04:06:08.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-09T04:06:08.150Z] prd-centos7-docker-4c-2g-3345 does not seem to be running inside a container [2020-03-09T04:06:08.196Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-09T04:06:08.815Z] $ docker top b8a8a106831b00addc06e14475a987095fdfeaa9ad4c169bea0ff30db6492fdd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-09T04:06:09.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T04:06:09.566Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T04:06:09.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T04:06:09.782Z] $ docker exec b8a8a106831b00addc06e14475a987095fdfeaa9ad4c169bea0ff30db6492fdd ssh-agent [2020-03-09T04:06:09.982Z] SSH_AUTH_SOCK=/tmp/ssh-kWmzuuUyge84/agent.13 [2020-03-09T04:06:09.982Z] SSH_AGENT_PID=20 [2020-03-09T04:06:09.993Z] Running ssh-add (command line suppressed) [2020-03-09T04:06:10.134Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7515789527676797476.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7515789527676797476.key) [2020-03-09T04:06:10.181Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T04:06:10.545Z] + git describe --exact-match --tags HEAD [2020-03-09T04:06:10.545Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-09T04:06:10.612Z] $ docker exec --env ******** --env ******** b8a8a106831b00addc06e14475a987095fdfeaa9ad4c169bea0ff30db6492fdd ssh-agent -k [2020-03-09T04:06:10.767Z] unset SSH_AUTH_SOCK; [2020-03-09T04:06:10.768Z] unset SSH_AGENT_PID; [2020-03-09T04:06:10.768Z] echo Agent pid 20 killed; [2020-03-09T04:06:10.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-09T04:06:10.905Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-09T04:06:10.905Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-09T04:06:10.986Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T04:06:10.986Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T04:06:11.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T04:06:11.166Z] $ docker exec b8a8a106831b00addc06e14475a987095fdfeaa9ad4c169bea0ff30db6492fdd ssh-agent [2020-03-09T04:06:11.337Z] SSH_AUTH_SOCK=/tmp/ssh-c2vczEX9fDzh/agent.56 [2020-03-09T04:06:11.337Z] SSH_AGENT_PID=63 [2020-03-09T04:06:11.343Z] Running ssh-add (command line suppressed) [2020-03-09T04:06:11.494Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2836603974145573355.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2836603974145573355.key) [2020-03-09T04:06:11.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T04:06:11.874Z] + git semver init [2020-03-09T04:06:11.874Z] # -> Open(): unable to determine branch for HEAD [2020-03-09T04:06:11.874Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-09T04:06:11.874Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-09T04:06:11.874Z] # $SEMVER_REMOTE_NAME = origin [2020-03-09T04:06:11.874Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-09T04:06:11.874Z] # $SEMVER_USER_NAME = jenkins [2020-03-09T04:06:11.874Z] # $SEMVER_BRANCH = master [2020-03-09T04:06:11.874Z] # $SEMVER_TEMP = /tmp/semver-464828177 [2020-03-09T04:06:11.874Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-09T04:06:12.443Z] # '/tmp/semver-464828177' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-03-09T04:06:12.443Z] # -> Force: false [2020-03-09T04:06:12.443Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-03-09T04:06:12.451Z] $ docker exec --env ******** --env ******** b8a8a106831b00addc06e14475a987095fdfeaa9ad4c169bea0ff30db6492fdd ssh-agent -k [2020-03-09T04:06:12.583Z] unset SSH_AUTH_SOCK; [2020-03-09T04:06:12.585Z] unset SSH_AGENT_PID; [2020-03-09T04:06:12.585Z] echo Agent pid 63 killed; [2020-03-09T04:06:12.630Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-09T04:06:13.059Z] + git semver [Pipeline] } [2020-03-09T04:06:13.080Z] $ docker stop --time=1 b8a8a106831b00addc06e14475a987095fdfeaa9ad4c169bea0ff30db6492fdd [2020-03-09T04:06:14.405Z] $ docker rm -f b8a8a106831b00addc06e14475a987095fdfeaa9ad4c169bea0ff30db6492fdd [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-09T04:06:15.267Z] Stashed 25 file(s) [Pipeline] echo [2020-03-09T04:06:15.269Z] [edgeXSemver] initialized semver on version 1.2.0-dev.8 [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-03-09T04:06:30.555Z] Still waiting to schedule task [2020-03-09T04:06:30.555Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-09T04:06:30.557Z] Still waiting to schedule task [2020-03-09T04:06:30.557Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2518’ is offline [2020-03-09T04:08:11.265Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3347 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-03-09T04:08:11.330Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-03-09T04:08:18.448Z] using credential edgex-jenkins-ssh [2020-03-09T04:08:18.498Z] Cloning the remote Git repository [2020-03-09T04:08:18.498Z] Cloning with configured refspecs honoured and without tags [2020-03-09T04:08:18.573Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T04:08:18.667Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-03-09T04:08:18.778Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T04:08:18.787Z] > git --version # timeout=10 [2020-03-09T04:08:18.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T04:08:18.915Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T04:08:20.242Z] Fetching without tags [2020-03-09T04:08:20.108Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T04:08:20.156Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T04:08:20.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T04:08:20.242Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T04:08:20.243Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T04:08:20.256Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T04:08:20.802Z] Checking out Revision 2731ca63cc475b67e9cc596139d210d033590fbd (master) [2020-03-09T04:08:20.846Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T04:08:20.893Z] > git checkout -f 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 [2020-03-09T04:08:25.691Z] Commit message: "Merge pull request #458 from weichou1229/issue-457" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-09T04:08:26.937Z] ========================================================= [2020-03-09T04:08:26.937Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-09T04:08:26.937Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:08:27.966Z] + 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-03-09T04:08:29.005Z] Sending build context to Docker daemon 2.659MB [2020-03-09T04:08:29.005Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-09T04:08:29.005Z] Step 2/8 : FROM ${BASE} [2020-03-09T04:08:29.277Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-09T04:08:29.277Z] cde5963f3b93: Pulling fs layer [2020-03-09T04:08:29.277Z] 2a23fa8c16f7: Pulling fs layer [2020-03-09T04:08:29.277Z] 777b28850792: Pulling fs layer [2020-03-09T04:08:29.277Z] 8a11ddd9e578: Pulling fs layer [2020-03-09T04:08:29.277Z] 4cf88f913ddb: Pulling fs layer [2020-03-09T04:08:29.277Z] 1df406cf5192: Pulling fs layer [2020-03-09T04:08:29.278Z] cd6300453558: Pulling fs layer [2020-03-09T04:08:29.278Z] b9c365052c96: Pulling fs layer [2020-03-09T04:08:29.278Z] a2d8cc88f415: Pulling fs layer [2020-03-09T04:08:29.278Z] ea1d1ca13537: Pulling fs layer [2020-03-09T04:08:29.278Z] 3750a50a1c5e: Pulling fs layer [2020-03-09T04:08:29.278Z] 1df406cf5192: Waiting [2020-03-09T04:08:29.278Z] cd6300453558: Waiting [2020-03-09T04:08:29.278Z] b9c365052c96: Waiting [2020-03-09T04:08:29.278Z] a2d8cc88f415: Waiting [2020-03-09T04:08:29.278Z] ea1d1ca13537: Waiting [2020-03-09T04:08:29.278Z] 3750a50a1c5e: Waiting [2020-03-09T04:08:29.278Z] 8a11ddd9e578: Waiting [2020-03-09T04:08:29.278Z] 4cf88f913ddb: Waiting [2020-03-09T04:08:29.560Z] 777b28850792: Verifying Checksum [2020-03-09T04:08:29.560Z] 777b28850792: Download complete [2020-03-09T04:08:29.560Z] 2a23fa8c16f7: Verifying Checksum [2020-03-09T04:08:29.560Z] 2a23fa8c16f7: Download complete [2020-03-09T04:08:29.560Z] 4cf88f913ddb: Verifying Checksum [2020-03-09T04:08:29.560Z] 4cf88f913ddb: Download complete [2020-03-09T04:08:29.560Z] 1df406cf5192: Verifying Checksum [2020-03-09T04:08:29.560Z] 1df406cf5192: Download complete [2020-03-09T04:08:30.181Z] cde5963f3b93: Verifying Checksum [2020-03-09T04:08:30.181Z] cde5963f3b93: Download complete [2020-03-09T04:08:31.163Z] cde5963f3b93: Pull complete [2020-03-09T04:08:32.163Z] 2a23fa8c16f7: Pull complete [2020-03-09T04:08:32.755Z] 777b28850792: Pull complete [2020-03-09T04:08:34.176Z] cd6300453558: Verifying Checksum [2020-03-09T04:08:34.176Z] cd6300453558: Download complete [2020-03-09T04:08:34.176Z] a2d8cc88f415: Verifying Checksum [2020-03-09T04:08:34.176Z] a2d8cc88f415: Download complete [2020-03-09T04:08:36.817Z] ea1d1ca13537: Verifying Checksum [2020-03-09T04:08:36.817Z] ea1d1ca13537: Download complete [2020-03-09T04:08:36.817Z] 3750a50a1c5e: Verifying Checksum [2020-03-09T04:08:36.817Z] 3750a50a1c5e: Download complete [2020-03-09T04:08:39.420Z] b9c365052c96: Verifying Checksum [2020-03-09T04:08:39.420Z] b9c365052c96: Download complete [2020-03-09T04:08:40.841Z] 8a11ddd9e578: Verifying Checksum [2020-03-09T04:08:40.841Z] 8a11ddd9e578: Download complete [2020-03-09T04:08:53.195Z] 8a11ddd9e578: Pull complete [2020-03-09T04:08:53.195Z] 4cf88f913ddb: Pull complete [2020-03-09T04:08:53.195Z] 1df406cf5192: Pull complete [2020-03-09T04:08:56.553Z] cd6300453558: Pull complete [2020-03-09T04:09:00.818Z] b9c365052c96: Pull complete [2020-03-09T04:09:01.087Z] a2d8cc88f415: Pull complete [2020-03-09T04:09:03.042Z] ea1d1ca13537: Pull complete [2020-03-09T04:09:03.633Z] 3750a50a1c5e: Pull complete [2020-03-09T04:09:03.633Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-09T04:09:03.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-09T04:09:03.633Z] ---> 78745c68409d [2020-03-09T04:09:03.633Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T04:09:07.915Z] ---> Running in 15b0ebf7e5ec [2020-03-09T04:09:08.191Z] Removing intermediate container 15b0ebf7e5ec [2020-03-09T04:09:08.191Z] ---> 3b3093a6d600 [2020-03-09T04:09:08.191Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T04:09:08.460Z] ---> Running in 985d947bdede [2020-03-09T04:09:11.049Z] Removing intermediate container 985d947bdede [2020-03-09T04:09:11.049Z] ---> 208f3a497c16 [2020-03-09T04:09:11.049Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-09T04:09:11.049Z] ---> Running in 21724bc727cb [2020-03-09T04:09:11.634Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-09T04:09:12.596Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-09T04:09:13.186Z] OK: 125 MiB in 39 packages [2020-03-09T04:09:14.154Z] Removing intermediate container 21724bc727cb [2020-03-09T04:09:14.154Z] ---> 08c3c4266372 [2020-03-09T04:09:14.154Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-09T04:09:14.425Z] ---> Running in e7f548df84aa [2020-03-09T04:09:15.013Z] Removing intermediate container e7f548df84aa [2020-03-09T04:09:15.013Z] ---> c8359d1e25d0 [2020-03-09T04:09:15.013Z] Step 7/8 : COPY . . [2020-03-09T04:09:15.979Z] ---> 111ae847d90f [2020-03-09T04:09:15.979Z] Step 8/8 : RUN go mod download [2020-03-09T04:09:15.979Z] ---> Running in 41ba09356b9d [2020-03-09T04:09:17.935Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-09T04:09:17.935Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-09T04:09:17.935Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-09T04:09:17.935Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-09T04:09:18.203Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-09T04:09:18.203Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-09T04:09:18.203Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-09T04:09:18.203Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-09T04:09:18.203Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-09T04:09:18.203Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-09T04:09:18.203Z] go: finding github.com/fatih/color v1.7.0 [2020-03-09T04:09:18.203Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-09T04:09:18.203Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-09T04:09:18.203Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-09T04:09:18.203Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-09T04:09:18.203Z] go: finding github.com/google/uuid v1.1.0 [2020-03-09T04:09:18.203Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-09T04:09:18.203Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-09T04:09:18.203Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-09T04:09:18.203Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-09T04:09:18.203Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-09T04:09:18.203Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-09T04:09:18.203Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-09T04:09:18.470Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-09T04:09:18.470Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-09T04:09:18.470Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-09T04:09:18.470Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-09T04:09:18.470Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-09T04:09:18.470Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-09T04:09:18.470Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-09T04:09:18.470Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-09T04:09:18.470Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-09T04:09:18.470Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-09T04:09:18.470Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-09T04:09:18.470Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-09T04:09:18.470Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-09T04:09:18.470Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-09T04:09:18.737Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-09T04:09:18.737Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-09T04:09:18.737Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-09T04:09:18.737Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-09T04:09:18.737Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-09T04:09:18.737Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-09T04:09:18.737Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-09T04:09:18.737Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-09T04:09:18.737Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-09T04:09:18.737Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-09T04:09:18.737Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-09T04:09:18.737Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-09T04:09:18.737Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-09T04:09:19.004Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-09T04:09:19.004Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-09T04:09:19.004Z] go: finding github.com/posener/complete v1.1.1 [2020-03-09T04:09:19.005Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-09T04:09:19.005Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-09T04:09:19.005Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-09T04:09:19.005Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-09T04:09:19.005Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-09T04:09:19.005Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-09T04:09:19.005Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-09T04:09:19.005Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-09T04:09:19.005Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-09T04:09:19.005Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-09T04:09:19.282Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-09T04:09:37.517Z] Removing intermediate container 41ba09356b9d [2020-03-09T04:09:37.517Z] ---> d84692ea672b [2020-03-09T04:09:37.517Z] Successfully built d84692ea672b [2020-03-09T04:09:37.517Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:09:38.305Z] + docker inspect -f . ci-base-image-arm64 [2020-03-09T04:09:38.306Z] . [Pipeline] withDockerContainer [2020-03-09T04:09:38.927Z] prd-ubuntu18.04-docker-arm64-4c-16g-3347 does not seem to be running inside a container [2020-03-09T04:09:39.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** ci-base-image-arm64 cat [2020-03-09T04:09:40.594Z] $ docker top 1d4d4f54d7dda2ce8694160466a963e0bdb240777b3f8edb6e51f5ded596d182 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-09T04:09:42.993Z] + go version [2020-03-09T04:09:42.993Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-09T04:09:43.657Z] + make test [2020-03-09T04:09:43.657Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-09T04:10:30.561Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-09T04:10:30.561Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-09T04:10:30.561Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-09T04:10:30.561Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.049s coverage: 23.1% of statements [2020-03-09T04:10:30.561Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.169s coverage: 95.8% of statements [2020-03-09T04:10:30.561Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.091s coverage: 12.7% of statements [2020-03-09T04:10:30.847Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.087s coverage: 25.6% of statements [2020-03-09T04:11:09.818Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.044s coverage: 30.0% of statements [2020-03-09T04:11:09.818Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.395s coverage: 42.3% of statements [2020-03-09T04:11:09.818Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-09T04:11:09.818Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-09T04:11:09.818Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.984s coverage: 79.5% of statements [2020-03-09T04:11:09.818Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-09T04:11:09.818Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-09T04:11:09.818Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-09T04:11:09.818Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.042s coverage: 52.6% of statements [2020-03-09T04:11:09.818Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.364s coverage: 75.8% of statements [2020-03-09T04:11:09.818Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-09T04:11:09.818Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-09T04:11:11.780Z] gofmt -l . [2020-03-09T04:11:12.048Z] [ "`gofmt -l .`" = "" ] [2020-03-09T04:11:12.633Z] ./bin/test-attribution-txt.sh [2020-03-09T04:11:13.220Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-09T04:11:13.980Z] Stashed 1 file(s) [Pipeline] } [2020-03-09T04:11:13.987Z] $ docker stop --time=1 1d4d4f54d7dda2ce8694160466a963e0bdb240777b3f8edb6e51f5ded596d182 [2020-03-09T04:11:16.237Z] $ docker rm -f 1d4d4f54d7dda2ce8694160466a963e0bdb240777b3f8edb6e51f5ded596d182 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-09T04:11:18.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-09T04:11:18.735Z] + ls -al . [2020-03-09T04:11:18.735Z] total 240 [2020-03-09T04:11:18.735Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 04:11 . [2020-03-09T04:11:18.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 04:08 .. [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 04:08 .dockerignore [2020-03-09T04:11:18.735Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 04:08 .git [2020-03-09T04:11:18.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 04:08 .github [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 9 04:08 .gitignore [2020-03-09T04:11:18.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:08 .semver [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 9 04:08 Dockerfile.build [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 9 04:08 Jenkinsfile [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 04:08 LICENSE [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 9 04:08 Makefile [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 9 04:08 README.md [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 9 04:06 VERSION [2020-03-09T04:11:18.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:08 api [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 9 04:08 async.go [2020-03-09T04:11:18.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 04:08 bin [2020-03-09T04:11:18.735Z] -rw-r--r-- 1 jenkins jenkins 100859 Mar 9 04:11 coverage.out [2020-03-09T04:11:18.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 04:08 example [2020-03-09T04:11:18.735Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 9 04:11 go.mod [2020-03-09T04:11:18.735Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 9 04:11 go.sum [2020-03-09T04:11:18.735Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 9 04:08 internal [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 9 04:08 manageddevices.go [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 9 04:08 managedprofiles.go [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 9 04:08 managedwatchers.go [2020-03-09T04:11:18.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 04:08 pkg [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 9 04:08 service.go [2020-03-09T04:11:18.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 04:08 snap [2020-03-09T04:11:18.735Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 04:08 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:11:19.063Z] + 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=2731ca63cc475b67e9cc596139d210d033590fbd --label arch=arm64 --label version=1.2.0-dev.8 . [2020-03-09T04:11:19.652Z] Sending build context to Docker daemon 2.786MB [2020-03-09T04:11:19.652Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-09T04:11:19.652Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-09T04:11:19.652Z] ---> d84692ea672b [2020-03-09T04:11:19.652Z] Step 3/20 : ARG MAKE='make build' [2020-03-09T04:11:19.652Z] ---> Running in a316010adfc0 [2020-03-09T04:11:20.236Z] Removing intermediate container a316010adfc0 [2020-03-09T04:11:20.236Z] ---> 20800b428d86 [2020-03-09T04:11:20.236Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-09T04:11:20.236Z] ---> Running in 1e847e86d797 [2020-03-09T04:11:20.504Z] Removing intermediate container 1e847e86d797 [2020-03-09T04:11:20.504Z] ---> bdb5ef4288fb [2020-03-09T04:11:20.505Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T04:11:20.772Z] ---> Running in be226afe8450 [2020-03-09T04:11:21.040Z] Removing intermediate container be226afe8450 [2020-03-09T04:11:21.040Z] ---> ef8cefb9a7ad [2020-03-09T04:11:21.040Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T04:11:21.040Z] ---> Running in fee3b54082c7 [2020-03-09T04:11:22.991Z] Removing intermediate container fee3b54082c7 [2020-03-09T04:11:22.991Z] ---> c1fc1fcfb53c [2020-03-09T04:11:22.991Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-09T04:11:22.991Z] ---> Running in 697ab0cdadcf [2020-03-09T04:11:23.952Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-09T04:11:24.909Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-09T04:11:25.496Z] OK: 125 MiB in 39 packages [2020-03-09T04:11:26.461Z] Removing intermediate container 697ab0cdadcf [2020-03-09T04:11:26.461Z] ---> 8e76b3f5b974 [2020-03-09T04:11:26.461Z] Step 8/20 : COPY . . [2020-03-09T04:11:27.425Z] ---> 2201c5b9d5c6 [2020-03-09T04:11:27.425Z] Step 9/20 : RUN ${MAKE} [2020-03-09T04:11:27.695Z] ---> Running in ed838b4a0100 [2020-03-09T04:11:28.662Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.8" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-09T04:12:07.964Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-09T04:12:20.331Z] Removing intermediate container ed838b4a0100 [2020-03-09T04:12:20.331Z] ---> 9c5db103fd25 [2020-03-09T04:12:20.331Z] Step 10/20 : FROM scratch [2020-03-09T04:12:20.331Z] ---> [2020-03-09T04:12:20.331Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T04:12:20.597Z] ---> Running in d7649a5bed94 [2020-03-09T04:12:20.865Z] Removing intermediate container d7649a5bed94 [2020-03-09T04:12:20.865Z] ---> 876a3f6aea94 [2020-03-09T04:12:20.865Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-09T04:12:20.865Z] ---> Running in 4973102a7b64 [2020-03-09T04:12:21.450Z] Removing intermediate container 4973102a7b64 [2020-03-09T04:12:21.450Z] ---> ebeeb94004bc [2020-03-09T04:12:21.450Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-09T04:12:21.450Z] ---> Running in 56023bd66fbb [2020-03-09T04:12:21.717Z] Removing intermediate container 56023bd66fbb [2020-03-09T04:12:21.717Z] ---> ba5828c72e3d [2020-03-09T04:12:21.717Z] Step 14/20 : WORKDIR / [2020-03-09T04:12:21.717Z] ---> Running in e0f660fe2a19 [2020-03-09T04:12:22.302Z] Removing intermediate container e0f660fe2a19 [2020-03-09T04:12:22.302Z] ---> f91a0edb37f6 [2020-03-09T04:12:22.302Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-09T04:12:23.260Z] ---> a553ae676d7e [2020-03-09T04:12:23.260Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-09T04:12:23.841Z] ---> 95413640ec52 [2020-03-09T04:12:23.841Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-09T04:12:23.841Z] ---> Running in ed8f19a951e0 [2020-03-09T04:12:24.108Z] Removing intermediate container ed8f19a951e0 [2020-03-09T04:12:24.108Z] ---> 64d7596df51a [2020-03-09T04:12:24.108Z] Step 18/20 : LABEL arch=arm64 [2020-03-09T04:12:24.374Z] ---> Running in 1775dc98f789 [2020-03-09T04:12:24.641Z] Removing intermediate container 1775dc98f789 [2020-03-09T04:12:24.641Z] ---> 6defc2d7593b [2020-03-09T04:12:24.641Z] Step 19/20 : LABEL git_sha=2731ca63cc475b67e9cc596139d210d033590fbd [2020-03-09T04:12:24.915Z] ---> Running in 4179f4af9b6e [2020-03-09T04:12:25.184Z] Removing intermediate container 4179f4af9b6e [2020-03-09T04:12:25.184Z] ---> 1133a349d5d2 [2020-03-09T04:12:25.184Z] Step 20/20 : LABEL version=1.2.0-dev.8 [2020-03-09T04:12:25.184Z] ---> Running in 7d5c5193dbcd [2020-03-09T04:12:25.453Z] Removing intermediate container 7d5c5193dbcd [2020-03-09T04:12:25.453Z] ---> d1589027fd76 [2020-03-09T04:12:25.453Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-09T04:12:25.719Z] Successfully built d1589027fd76 [2020-03-09T04:12:25.719Z] 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-09T04:13:45.808Z] Running on prd-centos7-docker-4c-2g-3348 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-03-09T04:13:45.906Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-03-09T04:13:48.219Z] using credential edgex-jenkins-ssh [2020-03-09T04:13:48.262Z] Cloning the remote Git repository [2020-03-09T04:13:48.262Z] Cloning with configured refspecs honoured and without tags [2020-03-09T04:13:49.009Z] Fetching without tags [2020-03-09T04:13:47.804Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T04:13:47.848Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-03-09T04:13:47.894Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T04:13:47.894Z] > git --version # timeout=10 [2020-03-09T04:13:47.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T04:13:47.934Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T04:13:48.556Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T04:13:48.568Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T04:13:48.581Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T04:13:48.591Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T04:13:48.591Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T04:13:48.596Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T04:13:49.433Z] Checking out Revision 2731ca63cc475b67e9cc596139d210d033590fbd (master) [2020-03-09T04:13:49.057Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T04:13:49.063Z] > git checkout -f 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 [2020-03-09T04:13:53.918Z] Commit message: "Merge pull request #458 from weichou1229/issue-457" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-09T04:13:54.937Z] ========================================================= [2020-03-09T04:13:54.938Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-09T04:13:54.938Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:13:55.610Z] + 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-03-09T04:13:55.870Z] Sending build context to Docker daemon 2.659MB [2020-03-09T04:13:55.870Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-09T04:13:55.870Z] Step 2/8 : FROM ${BASE} [2020-03-09T04:13:55.870Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-09T04:13:55.870Z] e6b0cf9c0882: Pulling fs layer [2020-03-09T04:13:55.870Z] 2848faf0eed1: Pulling fs layer [2020-03-09T04:13:55.870Z] 0f37312ad70f: Pulling fs layer [2020-03-09T04:13:55.870Z] 5788d62ee057: Pulling fs layer [2020-03-09T04:13:55.870Z] 0e6b1d234666: Pulling fs layer [2020-03-09T04:13:55.870Z] bf5d7aec512f: Pulling fs layer [2020-03-09T04:13:55.870Z] 34c802a77dc8: Pulling fs layer [2020-03-09T04:13:55.870Z] 9eb99e56ec68: Pulling fs layer [2020-03-09T04:13:55.870Z] 27c7a5d97fbd: Pulling fs layer [2020-03-09T04:13:55.870Z] 5c102a31e300: Pulling fs layer [2020-03-09T04:13:55.870Z] dcfb455df0a1: Pulling fs layer [2020-03-09T04:13:55.870Z] 5788d62ee057: Waiting [2020-03-09T04:13:55.870Z] 0e6b1d234666: Waiting [2020-03-09T04:13:55.870Z] bf5d7aec512f: Waiting [2020-03-09T04:13:55.870Z] 34c802a77dc8: Waiting [2020-03-09T04:13:55.870Z] 9eb99e56ec68: Waiting [2020-03-09T04:13:55.870Z] 27c7a5d97fbd: Waiting [2020-03-09T04:13:55.870Z] 5c102a31e300: Waiting [2020-03-09T04:13:55.870Z] dcfb455df0a1: Waiting [2020-03-09T04:13:56.137Z] 0f37312ad70f: Download complete [2020-03-09T04:13:56.137Z] 2848faf0eed1: Verifying Checksum [2020-03-09T04:13:56.137Z] 2848faf0eed1: Download complete [2020-03-09T04:13:56.137Z] 0e6b1d234666: Verifying Checksum [2020-03-09T04:13:56.137Z] 0e6b1d234666: Download complete [2020-03-09T04:13:56.137Z] bf5d7aec512f: Verifying Checksum [2020-03-09T04:13:56.137Z] bf5d7aec512f: Download complete [2020-03-09T04:13:56.137Z] e6b0cf9c0882: Verifying Checksum [2020-03-09T04:13:56.137Z] e6b0cf9c0882: Download complete [2020-03-09T04:13:56.404Z] e6b0cf9c0882: Pull complete [2020-03-09T04:13:56.663Z] 2848faf0eed1: Pull complete [2020-03-09T04:13:56.928Z] 34c802a77dc8: Verifying Checksum [2020-03-09T04:13:56.928Z] 34c802a77dc8: Download complete [2020-03-09T04:13:56.928Z] 27c7a5d97fbd: Verifying Checksum [2020-03-09T04:13:56.928Z] 27c7a5d97fbd: Download complete [2020-03-09T04:13:57.505Z] 5c102a31e300: Verifying Checksum [2020-03-09T04:13:57.505Z] 5c102a31e300: Download complete [2020-03-09T04:13:57.505Z] dcfb455df0a1: Verifying Checksum [2020-03-09T04:13:57.505Z] dcfb455df0a1: Download complete [2020-03-09T04:13:57.769Z] 9eb99e56ec68: Verifying Checksum [2020-03-09T04:13:57.770Z] 9eb99e56ec68: Download complete [2020-03-09T04:13:57.770Z] 5788d62ee057: Verifying Checksum [2020-03-09T04:13:57.770Z] 5788d62ee057: Download complete [2020-03-09T04:13:58.708Z] 0f37312ad70f: Pull complete [2020-03-09T04:14:05.291Z] 5788d62ee057: Pull complete [2020-03-09T04:14:05.291Z] 0e6b1d234666: Pull complete [2020-03-09T04:14:05.291Z] bf5d7aec512f: Pull complete [2020-03-09T04:14:09.483Z] 34c802a77dc8: Pull complete [2020-03-09T04:14:12.771Z] 9eb99e56ec68: Pull complete [2020-03-09T04:14:12.771Z] 27c7a5d97fbd: Pull complete [2020-03-09T04:14:13.725Z] 5c102a31e300: Pull complete [2020-03-09T04:14:13.986Z] dcfb455df0a1: Pull complete [2020-03-09T04:14:13.986Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-09T04:14:13.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-09T04:14:13.986Z] ---> 7c70fe431013 [2020-03-09T04:14:13.986Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T04:14:13.986Z] ---> Running in 8802af182925 [2020-03-09T04:14:14.250Z] Removing intermediate container 8802af182925 [2020-03-09T04:14:14.250Z] ---> 935b5f2f9114 [2020-03-09T04:14:14.250Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T04:14:14.250Z] ---> Running in 4e5d5e1972ce [2020-03-09T04:14:15.191Z] Removing intermediate container 4e5d5e1972ce [2020-03-09T04:14:15.191Z] ---> e54d47b99709 [2020-03-09T04:14:15.191Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-09T04:14:15.191Z] ---> Running in 0d9cbe725a28 [2020-03-09T04:14:16.129Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T04:14:17.075Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T04:14:17.644Z] OK: 143 MiB in 39 packages [2020-03-09T04:14:18.214Z] Removing intermediate container 0d9cbe725a28 [2020-03-09T04:14:18.214Z] ---> 7dfc3128bf71 [2020-03-09T04:14:18.214Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-09T04:14:18.214Z] ---> Running in 271fcd0387a0 [2020-03-09T04:14:18.214Z] Removing intermediate container 271fcd0387a0 [2020-03-09T04:14:18.214Z] ---> 04e7a66a14bf [2020-03-09T04:14:18.214Z] Step 7/8 : COPY . . [2020-03-09T04:14:18.784Z] ---> 524ab7e5ab98 [2020-03-09T04:14:18.784Z] Step 8/8 : RUN go mod download [2020-03-09T04:14:18.784Z] ---> Running in c825007704f4 [2020-03-09T04:14:21.388Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-09T04:14:21.388Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-09T04:14:21.388Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-09T04:14:21.388Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-09T04:14:21.388Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-09T04:14:21.388Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-09T04:14:21.388Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-09T04:14:21.388Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-09T04:14:21.388Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-09T04:14:21.388Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-09T04:14:21.388Z] go: finding github.com/fatih/color v1.7.0 [2020-03-09T04:14:21.388Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-09T04:14:21.388Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-09T04:14:21.388Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-09T04:14:21.388Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-09T04:14:21.388Z] go: finding github.com/google/uuid v1.1.0 [2020-03-09T04:14:21.388Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-09T04:14:21.388Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-09T04:14:21.388Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-09T04:14:21.388Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-09T04:14:21.388Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-09T04:14:21.388Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-09T04:14:21.388Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-09T04:14:21.388Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-09T04:14:21.388Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-09T04:14:21.388Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-09T04:14:21.388Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-09T04:14:21.388Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-09T04:14:21.388Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-09T04:14:21.388Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-09T04:14:21.388Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-09T04:14:21.388Z] go: finding github.com/posener/complete v1.1.1 [2020-03-09T04:14:21.388Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-09T04:14:21.388Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-09T04:14:21.388Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-09T04:14:21.388Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-09T04:14:21.388Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-09T04:14:21.388Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-09T04:14:21.388Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-09T04:14:21.388Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-09T04:14:21.388Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-09T04:14:21.388Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-09T04:14:21.388Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-09T04:14:29.531Z] Removing intermediate container c825007704f4 [2020-03-09T04:14:29.531Z] ---> be0747fa65e0 [2020-03-09T04:14:29.531Z] Successfully built be0747fa65e0 [2020-03-09T04:14:29.531Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:14:30.118Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-09T04:14:30.118Z] . [Pipeline] withDockerContainer [2020-03-09T04:14:30.254Z] prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container [2020-03-09T04:14:30.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** ci-base-image-x86_64 cat [2020-03-09T04:14:31.218Z] $ docker top ebcebdaadb58196ba2ff5168a73561fc27e0cf33ec52482feea690f38bea3096 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-09T04:14:32.191Z] + go version [2020-03-09T04:14:32.191Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-09T04:14:32.493Z] + make test [2020-03-09T04:14:32.493Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-09T04:14:47.468Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-09T04:14:47.468Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-09T04:14:47.468Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-09T04:14:47.728Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 23.1% of statements [2020-03-09T04:14:47.991Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.054s coverage: 95.8% of statements [2020-03-09T04:14:51.302Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.022s coverage: 12.7% of statements [2020-03-09T04:14:51.302Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 25.6% of statements [2020-03-09T04:15:23.398Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.018s coverage: 30.0% of statements [2020-03-09T04:15:23.398Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.257s coverage: 42.3% of statements [2020-03-09T04:15:23.398Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-09T04:15:23.398Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-09T04:15:23.398Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.302s coverage: 79.5% of statements [2020-03-09T04:15:23.398Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-09T04:15:23.398Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-09T04:15:23.398Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-09T04:15:23.398Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements [2020-03-09T04:15:23.398Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.105s coverage: 75.8% of statements [2020-03-09T04:15:23.398Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-09T04:15:23.398Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-09T04:15:23.398Z] gofmt -l . [2020-03-09T04:15:23.398Z] [ "`gofmt -l .`" = "" ] [2020-03-09T04:15:23.398Z] ./bin/test-attribution-txt.sh [2020-03-09T04:15:23.398Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-09T04:15:23.677Z] Warning: overwriting stash ‘coverage-report’ [2020-03-09T04:15:24.059Z] Stashed 1 file(s) [Pipeline] } [2020-03-09T04:15:24.065Z] $ docker stop --time=1 ebcebdaadb58196ba2ff5168a73561fc27e0cf33ec52482feea690f38bea3096 [2020-03-09T04:15:25.524Z] $ docker rm -f ebcebdaadb58196ba2ff5168a73561fc27e0cf33ec52482feea690f38bea3096 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-09T04:15:26.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-09T04:15:26.637Z] + ls -al . [2020-03-09T04:15:26.637Z] total 200 [2020-03-09T04:15:26.637Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 9 04:15 . [2020-03-09T04:15:26.637Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 9 04:13 .. [2020-03-09T04:15:26.637Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 9 04:13 api [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 9 04:13 async.go [2020-03-09T04:15:26.637Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 9 04:13 bin [2020-03-09T04:15:26.637Z] -rw-r--r--. 1 jenkins jenkins 100859 Mar 9 04:15 coverage.out [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 9 04:13 Dockerfile.build [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 9 04:13 .dockerignore [2020-03-09T04:15:26.637Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 9 04:13 example [2020-03-09T04:15:26.637Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 9 04:13 .git [2020-03-09T04:15:26.637Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 9 04:13 .github [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 9 04:13 .gitignore [2020-03-09T04:15:26.637Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 9 04:15 go.mod [2020-03-09T04:15:26.637Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 9 04:15 go.sum [2020-03-09T04:15:26.637Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 9 04:13 internal [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 9 04:13 Jenkinsfile [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 9 04:13 LICENSE [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 9 04:13 Makefile [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 9 04:13 manageddevices.go [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 9 04:13 managedprofiles.go [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 9 04:13 managedwatchers.go [2020-03-09T04:15:26.637Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 9 04:13 pkg [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 9 04:13 README.md [2020-03-09T04:15:26.637Z] drwxrwxr-x. 3 jenkins jenkins 44 Mar 9 04:13 .semver [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 9 04:13 service.go [2020-03-09T04:15:26.637Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 9 04:13 snap [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 11 Mar 9 04:06 VERSION [2020-03-09T04:15:26.637Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 9 04:13 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:15:26.932Z] + 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=2731ca63cc475b67e9cc596139d210d033590fbd --label arch=amd64 --label version=1.2.0-dev.8 . [2020-03-09T04:15:26.932Z] Sending build context to Docker daemon 2.786MB [2020-03-09T04:15:26.932Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-09T04:15:26.932Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-09T04:15:26.932Z] ---> be0747fa65e0 [2020-03-09T04:15:26.932Z] Step 3/20 : ARG MAKE='make build' [2020-03-09T04:15:27.192Z] ---> Running in a5c66cf012b4 [2020-03-09T04:15:27.192Z] Removing intermediate container a5c66cf012b4 [2020-03-09T04:15:27.192Z] ---> bb32b6569166 [2020-03-09T04:15:27.192Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-09T04:15:27.192Z] ---> Running in f1950851e1e0 [2020-03-09T04:15:27.450Z] Removing intermediate container f1950851e1e0 [2020-03-09T04:15:27.450Z] ---> 65a71738cba1 [2020-03-09T04:15:27.450Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T04:15:27.450Z] ---> Running in 9edba39c3794 [2020-03-09T04:15:27.709Z] Removing intermediate container 9edba39c3794 [2020-03-09T04:15:27.709Z] ---> ae34173fdcbb [2020-03-09T04:15:27.709Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T04:15:27.709Z] ---> Running in 86edc7aed436 [2020-03-09T04:15:28.280Z] Removing intermediate container 86edc7aed436 [2020-03-09T04:15:28.280Z] ---> 11632fff3d50 [2020-03-09T04:15:28.280Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-09T04:15:28.539Z] ---> Running in c36ad1686e24 [2020-03-09T04:15:28.799Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T04:15:29.735Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T04:15:30.304Z] OK: 143 MiB in 39 packages [2020-03-09T04:15:30.562Z] Removing intermediate container c36ad1686e24 [2020-03-09T04:15:30.562Z] ---> 0df22e0cb286 [2020-03-09T04:15:30.562Z] Step 8/20 : COPY . . [2020-03-09T04:15:31.135Z] ---> 3c8ab7b023e6 [2020-03-09T04:15:31.135Z] Step 9/20 : RUN ${MAKE} [2020-03-09T04:15:31.135Z] ---> Running in b71894cfff75 [2020-03-09T04:15:31.396Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.8" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-09T04:15:43.748Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-09T04:15:49.073Z] Removing intermediate container b71894cfff75 [2020-03-09T04:15:49.073Z] ---> bc9f6c6f4507 [2020-03-09T04:15:49.073Z] Step 10/20 : FROM scratch [2020-03-09T04:15:49.073Z] ---> [2020-03-09T04:15:49.073Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T04:15:49.073Z] ---> Running in 2a5d28ef9a8b [2020-03-09T04:15:49.073Z] Removing intermediate container 2a5d28ef9a8b [2020-03-09T04:15:49.073Z] ---> e1d231b6e7b2 [2020-03-09T04:15:49.073Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-09T04:15:49.073Z] ---> Running in 8a896d472099 [2020-03-09T04:15:49.073Z] Removing intermediate container 8a896d472099 [2020-03-09T04:15:49.073Z] ---> 50d551fb189d [2020-03-09T04:15:49.073Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-09T04:15:49.073Z] ---> Running in 2ab29b4e2eef [2020-03-09T04:15:49.073Z] Removing intermediate container 2ab29b4e2eef [2020-03-09T04:15:49.073Z] ---> cb1be9a4ab04 [2020-03-09T04:15:49.073Z] Step 14/20 : WORKDIR / [2020-03-09T04:15:49.073Z] ---> Running in a25514991492 [2020-03-09T04:15:49.073Z] Removing intermediate container a25514991492 [2020-03-09T04:15:49.073Z] ---> f5365ee6f885 [2020-03-09T04:15:49.073Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-09T04:15:49.647Z] ---> 86bda44e9a71 [2020-03-09T04:15:49.647Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-09T04:15:49.647Z] ---> 0adedc556f96 [2020-03-09T04:15:49.647Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-09T04:15:49.647Z] ---> Running in 71be8720c62e [2020-03-09T04:15:49.907Z] Removing intermediate container 71be8720c62e [2020-03-09T04:15:49.907Z] ---> e89cdbc57469 [2020-03-09T04:15:49.907Z] Step 18/20 : LABEL arch=amd64 [2020-03-09T04:15:49.907Z] ---> Running in 3991f4aceda5 [2020-03-09T04:15:50.167Z] Removing intermediate container 3991f4aceda5 [2020-03-09T04:15:50.167Z] ---> 0772d7b8d926 [2020-03-09T04:15:50.167Z] Step 19/20 : LABEL git_sha=2731ca63cc475b67e9cc596139d210d033590fbd [2020-03-09T04:15:50.167Z] ---> Running in 228f07a0e0d0 [2020-03-09T04:15:50.167Z] Removing intermediate container 228f07a0e0d0 [2020-03-09T04:15:50.167Z] ---> 35bc7907cf94 [2020-03-09T04:15:50.167Z] Step 20/20 : LABEL version=1.2.0-dev.8 [2020-03-09T04:15:50.427Z] ---> Running in 2d2d8088390e [2020-03-09T04:15:50.427Z] Removing intermediate container 2d2d8088390e [2020-03-09T04:15:50.427Z] ---> ffd90853aba5 [2020-03-09T04:15:50.427Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-09T04:15:50.427Z] Successfully built ffd90853aba5 [2020-03-09T04:15:50.427Z] 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] } [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-03-09T04:15:51.592Z] provisioning config files... [2020-03-09T04:15:51.603Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3917575399967657486tmp [Pipeline] { [Pipeline] sh [2020-03-09T04:15:51.959Z] + curl -s https://codecov.io/bash [2020-03-09T04:15:51.960Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3917575399967657486tmp [2020-03-09T04:15:52.221Z] [2020-03-09T04:15:52.221Z] _____ _ [2020-03-09T04:15:52.221Z] / ____| | | [2020-03-09T04:15:52.221Z] | | ___ __| | ___ ___ _____ __ [2020-03-09T04:15:52.221Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-09T04:15:52.221Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-09T04:15:52.221Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-09T04:15:52.221Z] Bash-20200303-bc4d7e6 [2020-03-09T04:15:52.221Z] [2020-03-09T04:15:52.221Z] [2020-03-09T04:15:52.221Z] ==> Jenkins CI detected. [2020-03-09T04:15:52.221Z] project root: . [2020-03-09T04:15:52.221Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-09T04:15:52.221Z] ==> Running gcov in . (disable via -X gcov) [2020-03-09T04:15:52.221Z] ==> Python coveragepy not found [2020-03-09T04:15:52.221Z] ==> Searching for coverage reports in: [2020-03-09T04:15:52.221Z] + . [2020-03-09T04:15:52.221Z] -> Found 1 reports [2020-03-09T04:15:52.221Z] ==> Detecting git/mercurial file structure [2020-03-09T04:15:52.221Z] ==> Reading reports [2020-03-09T04:15:52.221Z] + ./coverage.out bytes=100859 [2020-03-09T04:15:52.221Z] ==> Appending adjustments [2020-03-09T04:15:52.221Z] http://docs.codecov.io/docs/fixing-reports [2020-03-09T04:15:52.482Z] + Found adjustments [2020-03-09T04:15:52.482Z] ==> Gzipping contents [2020-03-09T04:15:52.482Z] ==> Uploading reports [2020-03-09T04:15:52.482Z] url: https://codecov.io [2020-03-09T04:15:52.482Z] query: branch=master&commit=2731ca63cc475b67e9cc596139d210d033590fbd&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-03-09T04:15:52.482Z] -> Pinging Codecov [2020-03-09T04:15:52.482Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=master&commit=2731ca63cc475b67e9cc596139d210d033590fbd&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-03-09T04:15:53.053Z] -> Uploading [2020-03-09T04:15:53.622Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2731ca63cc475b67e9cc596139d210d033590fbd [Pipeline] } [2020-03-09T04:15:53.628Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-03-09T04:15:53.939Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-03-09T04:15:53.940Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-03-09T04:15:53.982Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:15:54.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-03-09T04:15:54.370Z] [2020-03-09T04:15:54.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:15:54.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-03-09T04:15:54.718Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-03-09T04:15:54.718Z] e6b0cf9c0882: Pulling fs layer [2020-03-09T04:15:54.718Z] 2848faf0eed1: Pulling fs layer [2020-03-09T04:15:54.718Z] 0f37312ad70f: Pulling fs layer [2020-03-09T04:15:54.718Z] 7d08f2745646: Pulling fs layer [2020-03-09T04:15:54.718Z] 4c9f31393084: Pulling fs layer [2020-03-09T04:15:54.718Z] eb21ddb83652: Pulling fs layer [2020-03-09T04:15:54.718Z] 345998794f6b: Pulling fs layer [2020-03-09T04:15:54.718Z] 97a711d68925: Pulling fs layer [2020-03-09T04:15:54.718Z] 7c8476c1cb00: Pulling fs layer [2020-03-09T04:15:54.718Z] eb21ddb83652: Waiting [2020-03-09T04:15:54.718Z] 345998794f6b: Waiting [2020-03-09T04:15:54.718Z] 97a711d68925: Waiting [2020-03-09T04:15:54.718Z] 7c8476c1cb00: Waiting [2020-03-09T04:15:54.718Z] 7d08f2745646: Waiting [2020-03-09T04:15:54.718Z] 4c9f31393084: Waiting [2020-03-09T04:15:54.718Z] 0f37312ad70f: Verifying Checksum [2020-03-09T04:15:54.718Z] 0f37312ad70f: Download complete [2020-03-09T04:15:54.718Z] 2848faf0eed1: Download complete [2020-03-09T04:15:54.718Z] 4c9f31393084: Verifying Checksum [2020-03-09T04:15:54.718Z] 4c9f31393084: Download complete [2020-03-09T04:15:54.718Z] eb21ddb83652: Verifying Checksum [2020-03-09T04:15:54.718Z] eb21ddb83652: Download complete [2020-03-09T04:15:54.718Z] e6b0cf9c0882: Verifying Checksum [2020-03-09T04:15:54.718Z] e6b0cf9c0882: Download complete [2020-03-09T04:15:54.981Z] e6b0cf9c0882: Pull complete [2020-03-09T04:15:55.246Z] 2848faf0eed1: Pull complete [2020-03-09T04:15:55.246Z] 345998794f6b: Verifying Checksum [2020-03-09T04:15:55.246Z] 345998794f6b: Download complete [2020-03-09T04:15:55.514Z] 0f37312ad70f: Pull complete [2020-03-09T04:15:55.780Z] 97a711d68925: Verifying Checksum [2020-03-09T04:15:55.780Z] 97a711d68925: Download complete [2020-03-09T04:15:56.040Z] 7c8476c1cb00: Verifying Checksum [2020-03-09T04:15:56.040Z] 7c8476c1cb00: Download complete [2020-03-09T04:15:56.983Z] 7d08f2745646: Verifying Checksum [2020-03-09T04:15:56.983Z] 7d08f2745646: Download complete [2020-03-09T04:16:02.266Z] 7d08f2745646: Pull complete [2020-03-09T04:16:02.266Z] 4c9f31393084: Pull complete [2020-03-09T04:16:02.266Z] eb21ddb83652: Pull complete [2020-03-09T04:16:04.176Z] 345998794f6b: Pull complete [2020-03-09T04:16:07.475Z] 97a711d68925: Pull complete [2020-03-09T04:16:08.043Z] 7c8476c1cb00: Pull complete [2020-03-09T04:16:08.043Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-03-09T04:16:08.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-03-09T04:16:08.205Z] prd-centos7-docker-4c-2g-3345 does not seem to be running inside a container [2020-03-09T04:16:08.249Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-03-09T04:16:08.824Z] $ docker top 8aa9507c366cdeb968f6d0770442dd6dbc2178794b7451fee6ac9bcd1589f719 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-09T04:16:09.792Z] + snyk monitor '--org=edgex-jenkins' [2020-03-09T04:16:24.684Z] [2020-03-09T04:16:24.684Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-03-09T04:16:24.684Z] [2020-03-09T04:16:24.684Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/76469293-d300-48c7-910e-71c90fb25b3a [2020-03-09T04:16:24.684Z] [2020-03-09T04:16:24.684Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-03-09T04:16:24.684Z] [2020-03-09T04:16:24.684Z] [Pipeline] } [2020-03-09T04:16:24.698Z] $ docker stop --time=1 8aa9507c366cdeb968f6d0770442dd6dbc2178794b7451fee6ac9bcd1589f719 [2020-03-09T04:16:26.360Z] $ docker rm -f 8aa9507c366cdeb968f6d0770442dd6dbc2178794b7451fee6ac9bcd1589f719 [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-03-09T04:16:27.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T04:16:27.650Z] . [Pipeline] withDockerContainer [2020-03-09T04:16:27.757Z] prd-centos7-docker-4c-2g-3345 does not seem to be running inside a container [2020-03-09T04:16:27.799Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-09T04:16:28.435Z] $ docker top 06cb16e2f5024f8682bb50e77995af0d3562cf0cd76ba251d75fd044f897a327 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-09T04:16:29.171Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T04:16:29.172Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T04:16:29.381Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T04:16:29.384Z] $ docker exec 06cb16e2f5024f8682bb50e77995af0d3562cf0cd76ba251d75fd044f897a327 ssh-agent [2020-03-09T04:16:29.565Z] SSH_AUTH_SOCK=/tmp/ssh-B9mRSC3OKu2R/agent.15 [2020-03-09T04:16:29.565Z] SSH_AGENT_PID=21 [2020-03-09T04:16:29.572Z] Running ssh-add (command line suppressed) [2020-03-09T04:16:29.714Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8994405002707951248.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8994405002707951248.key) [2020-03-09T04:16:29.761Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T04:16:30.081Z] + git semver tag [2020-03-09T04:16:30.081Z] # -> Open(): unable to determine branch for HEAD [2020-03-09T04:16:30.081Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-09T04:16:30.081Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-09T04:16:30.081Z] # $SEMVER_REMOTE_NAME = origin [2020-03-09T04:16:30.081Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-09T04:16:30.081Z] # $SEMVER_USER_NAME = jenkins [2020-03-09T04:16:30.081Z] # $SEMVER_BRANCH = master [2020-03-09T04:16:30.081Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-03-09T04:16:30.081Z] # 2731ca63cc475b67e9cc596139d210d033590fbd HEAD [2020-03-09T04:16:30.340Z] # -> Force: false [2020-03-09T04:16:30.340Z] # e1506113fc129916b4025df52beecd64ee83c2d4 refs/tags/v1.2.0-dev.8 [Pipeline] } [2020-03-09T04:16:30.349Z] $ docker exec --env ******** --env ******** 06cb16e2f5024f8682bb50e77995af0d3562cf0cd76ba251d75fd044f897a327 ssh-agent -k [2020-03-09T04:16:30.486Z] unset SSH_AUTH_SOCK; [2020-03-09T04:16:30.486Z] unset SSH_AGENT_PID; [2020-03-09T04:16:30.486Z] echo Agent pid 21 killed; [2020-03-09T04:16:30.537Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-09T04:16:30.999Z] + git semver [Pipeline] } [2020-03-09T04:16:31.012Z] $ docker stop --time=1 06cb16e2f5024f8682bb50e77995af0d3562cf0cd76ba251d75fd044f897a327 [2020-03-09T04:16:32.344Z] $ docker rm -f 06cb16e2f5024f8682bb50e77995af0d3562cf0cd76ba251d75fd044f897a327 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:16:32.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-lftools:0.23.1-centos7 [2020-03-09T04:16:32.921Z] [2020-03-09T04:16:32.921Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:16:33.252Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-lftools:0.23.1-centos7 [2020-03-09T04:16:33.252Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-03-09T04:16:33.252Z] 8ba884070f61: Pulling fs layer [2020-03-09T04:16:33.252Z] 78d65bd6cf10: Pulling fs layer [2020-03-09T04:16:33.252Z] 5573da4c1a9d: Pulling fs layer [2020-03-09T04:16:33.252Z] 4493e11b668a: Pulling fs layer [2020-03-09T04:16:33.252Z] 2e4ad32216ba: Pulling fs layer [2020-03-09T04:16:33.252Z] 14bc7892088f: Pulling fs layer [2020-03-09T04:16:33.252Z] 14bc7892088f: Waiting [2020-03-09T04:16:33.252Z] 4493e11b668a: Waiting [2020-03-09T04:16:33.252Z] 2e4ad32216ba: Waiting [2020-03-09T04:16:33.252Z] 78d65bd6cf10: Verifying Checksum [2020-03-09T04:16:33.252Z] 78d65bd6cf10: Download complete [2020-03-09T04:16:33.513Z] 4493e11b668a: Verifying Checksum [2020-03-09T04:16:33.513Z] 4493e11b668a: Download complete [2020-03-09T04:16:33.513Z] 2e4ad32216ba: Verifying Checksum [2020-03-09T04:16:33.513Z] 2e4ad32216ba: Download complete [2020-03-09T04:16:34.090Z] 14bc7892088f: Verifying Checksum [2020-03-09T04:16:34.090Z] 14bc7892088f: Download complete [2020-03-09T04:16:34.358Z] 8ba884070f61: Download complete [2020-03-09T04:16:34.617Z] 5573da4c1a9d: Verifying Checksum [2020-03-09T04:16:34.617Z] 5573da4c1a9d: Download complete [2020-03-09T04:16:38.832Z] 8ba884070f61: Pull complete [2020-03-09T04:16:39.097Z] 78d65bd6cf10: Pull complete [2020-03-09T04:16:51.326Z] 5573da4c1a9d: Pull complete [2020-03-09T04:16:51.326Z] 4493e11b668a: Pull complete [2020-03-09T04:16:51.326Z] 2e4ad32216ba: Pull complete [2020-03-09T04:16:51.893Z] 14bc7892088f: Pull complete [2020-03-09T04:16:51.893Z] Digest: sha256:d6004a4377c0936d28e977567e7ee784baaf6af585b07dc8541bedd134509ec7 [2020-03-09T04:16:51.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-03-09T04:16:52.063Z] prd-centos7-docker-4c-2g-3345 does not seem to be running inside a container [2020-03-09T04:16:52.185Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-lftools:0.23.1-centos7 cat [2020-03-09T04:16:52.808Z] $ docker top 7332025ec89fc0be85b8fd09fa51d1f51fa6567e1571a94bc2aabb52946f320a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-03-09T04:16:53.548Z] provisioning config files... [2020-03-09T04:16:53.556Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8267222310851664267tmp [2020-03-09T04:16:53.571Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3995480507178040540tmp [2020-03-09T04:16:53.585Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5991102459394314145tmp [Pipeline] { [Pipeline] echo [2020-03-09T04:16:53.627Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T04:16:53.921Z] ---> sigul-configuration.sh [2020-03-09T04:16:53.921Z] gpg: directory `/root/.gnupg' created [2020-03-09T04:16:53.922Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-03-09T04:16:53.922Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-03-09T04:16:53.922Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-03-09T04:16:53.922Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-03-09T04:16:53.922Z] gpg: CAST5 encrypted data [2020-03-09T04:16:54.180Z] gpg: encrypted with 1 passphrase [2020-03-09T04:16:54.180Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-03-09T04:16:54.479Z] + mkdir /home/jenkins [2020-03-09T04:16:54.479Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-03-09T04:16:54.771Z] + 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-03-09T04:16:54.778Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T04:16:55.066Z] ---> sigul-install.sh [2020-03-09T04:17:01.635Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-03-09T04:17:01.929Z] + git tag --list [2020-03-09T04:17:01.929Z] v1.2.0-dev.8 [Pipeline] sh [2020-03-09T04:17:02.226Z] + lftools sign git-tag v1.2.0-dev.8 [2020-03-09T04:17:03.162Z] Signing Git tag with Sigul... [2020-03-09T04:17:03.162Z] Signing v1.2.0-dev.8 [Pipeline] echo [2020-03-09T04:17:04.547Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T04:17:04.842Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-03-09T04:17:04.851Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-03-09T04:17:04.946Z] $ docker stop --time=1 7332025ec89fc0be85b8fd09fa51d1f51fa6567e1571a94bc2aabb52946f320a [2020-03-09T04:17:06.337Z] $ docker rm -f 7332025ec89fc0be85b8fd09fa51d1f51fa6567e1571a94bc2aabb52946f320a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:17:07.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T04:17:07.033Z] . [Pipeline] withDockerContainer [2020-03-09T04:17:07.151Z] prd-centos7-docker-4c-2g-3345 does not seem to be running inside a container [2020-03-09T04:17:07.189Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-09T04:17:07.812Z] $ docker top ceed373604a7cecf06c778e4c19e57c2d50012b3ed5a29985c7a1c49bbbf4101 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-09T04:17:08.494Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T04:17:08.494Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T04:17:08.686Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T04:17:08.690Z] $ docker exec ceed373604a7cecf06c778e4c19e57c2d50012b3ed5a29985c7a1c49bbbf4101 ssh-agent [2020-03-09T04:17:08.871Z] SSH_AUTH_SOCK=/tmp/ssh-2gxyxLDNh1dF/agent.15 [2020-03-09T04:17:08.871Z] SSH_AGENT_PID=22 [2020-03-09T04:17:08.882Z] Running ssh-add (command line suppressed) [2020-03-09T04:17:09.025Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9149894974593020789.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9149894974593020789.key) [2020-03-09T04:17:09.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T04:17:09.400Z] + git semver bump pre [2020-03-09T04:17:09.400Z] # -> Open(): unable to determine branch for HEAD [2020-03-09T04:17:09.400Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-09T04:17:09.400Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-09T04:17:09.400Z] # $SEMVER_REMOTE_NAME = origin [2020-03-09T04:17:09.400Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-09T04:17:09.400Z] # $SEMVER_USER_NAME = jenkins [2020-03-09T04:17:09.400Z] # $SEMVER_BRANCH = master [2020-03-09T04:17:09.400Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-03-09T04:17:09.400Z] 1.2.0-dev.9 [Pipeline] } [2020-03-09T04:17:09.409Z] $ docker exec --env ******** --env ******** ceed373604a7cecf06c778e4c19e57c2d50012b3ed5a29985c7a1c49bbbf4101 ssh-agent -k [2020-03-09T04:17:09.549Z] unset SSH_AUTH_SOCK; [2020-03-09T04:17:09.549Z] unset SSH_AGENT_PID; [2020-03-09T04:17:09.550Z] echo Agent pid 22 killed; [2020-03-09T04:17:09.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-09T04:17:10.010Z] + git semver [Pipeline] } [2020-03-09T04:17:10.023Z] $ docker stop --time=1 ceed373604a7cecf06c778e4c19e57c2d50012b3ed5a29985c7a1c49bbbf4101 [2020-03-09T04:17:11.379Z] $ docker rm -f ceed373604a7cecf06c778e4c19e57c2d50012b3ed5a29985c7a1c49bbbf4101 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:17:11.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T04:17:11.888Z] . [Pipeline] withDockerContainer [2020-03-09T04:17:12.005Z] prd-centos7-docker-4c-2g-3345 does not seem to be running inside a container [2020-03-09T04:17:12.044Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-09T04:17:12.609Z] $ docker top a273ebe612cc74915b0aa65e80194820c6a4b0034d124d40236396f4dd79be91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-09T04:17:13.310Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T04:17:13.310Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T04:17:13.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T04:17:13.505Z] $ docker exec a273ebe612cc74915b0aa65e80194820c6a4b0034d124d40236396f4dd79be91 ssh-agent [2020-03-09T04:17:13.705Z] SSH_AUTH_SOCK=/tmp/ssh-AIplgI6LwnC0/agent.14 [2020-03-09T04:17:13.705Z] SSH_AGENT_PID=20 [2020-03-09T04:17:13.711Z] Running ssh-add (command line suppressed) [2020-03-09T04:17:13.851Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_137083621500961270.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_137083621500961270.key) [2020-03-09T04:17:13.898Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T04:17:14.221Z] + git semver push [2020-03-09T04:17:14.221Z] # -> Open(): unable to determine branch for HEAD [2020-03-09T04:17:14.221Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-09T04:17:14.221Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-09T04:17:14.221Z] # $SEMVER_REMOTE_NAME = origin [2020-03-09T04:17:14.221Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-09T04:17:14.221Z] # $SEMVER_USER_NAME = jenkins [2020-03-09T04:17:14.221Z] # $SEMVER_BRANCH = master [2020-03-09T04:17:14.221Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-03-09T04:17:20.801Z] $ docker exec --env ******** --env ******** a273ebe612cc74915b0aa65e80194820c6a4b0034d124d40236396f4dd79be91 ssh-agent -k [2020-03-09T04:17:20.959Z] unset SSH_AUTH_SOCK; [2020-03-09T04:17:20.959Z] unset SSH_AGENT_PID; [2020-03-09T04:17:20.959Z] echo Agent pid 20 killed; [2020-03-09T04:17:21.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-09T04:17:21.445Z] + git semver [Pipeline] } [2020-03-09T04:17:21.460Z] $ docker stop --time=1 a273ebe612cc74915b0aa65e80194820c6a4b0034d124d40236396f4dd79be91 [2020-03-09T04:17:22.884Z] $ docker rm -f a273ebe612cc74915b0aa65e80194820c6a4b0034d124d40236396f4dd79be91 [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-03-09T04:17:24.037Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T04:17:24.591Z] ---> package-listing.sh [2020-03-09T04:17:24.592Z] ++ facter osfamily [2020-03-09T04:17:24.592Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-09T04:17:24.592Z] + OS_FAMILY=redhat [2020-03-09T04:17:24.592Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-03-09T04:17:24.592Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-09T04:17:24.592Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-09T04:17:24.592Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-09T04:17:24.592Z] + PACKAGES=/tmp/packages_start.txt [2020-03-09T04:17:24.592Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-03-09T04:17:24.592Z] + PACKAGES=/tmp/packages_end.txt [2020-03-09T04:17:24.592Z] + case "${OS_FAMILY}" in [2020-03-09T04:17:24.592Z] + rpm -qa [2020-03-09T04:17:24.592Z] + sort [2020-03-09T04:17:28.783Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-09T04:17:28.783Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-09T04:17:28.783Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-09T04:17:28.783Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-03-09T04:17:28.783Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-03-09T04:17:28.783Z] + 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-03-09T04:17:29.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T04:17:29.220Z] [2020-03-09T04:17:29.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-09T04:17:29.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T04:17:29.547Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-09T04:17:29.547Z] c9b1b535fdd9: Pulling fs layer [2020-03-09T04:17:29.547Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-09T04:17:29.547Z] 756a868c4378: Pulling fs layer [2020-03-09T04:17:29.547Z] 444b2fc9a129: Pulling fs layer [2020-03-09T04:17:29.547Z] ea15f1150254: Pulling fs layer [2020-03-09T04:17:29.547Z] 41b27a9f41bf: Pulling fs layer [2020-03-09T04:17:29.547Z] 28c525ee5125: Pulling fs layer [2020-03-09T04:17:29.547Z] 094b1ea09ed8: Pulling fs layer [2020-03-09T04:17:29.547Z] 138eaada9080: Pulling fs layer [2020-03-09T04:17:29.547Z] 0622d0fa9048: Pulling fs layer [2020-03-09T04:17:29.547Z] ea15f1150254: Waiting [2020-03-09T04:17:29.547Z] 41b27a9f41bf: Waiting [2020-03-09T04:17:29.547Z] 28c525ee5125: Waiting [2020-03-09T04:17:29.547Z] 094b1ea09ed8: Waiting [2020-03-09T04:17:29.547Z] 138eaada9080: Waiting [2020-03-09T04:17:29.547Z] 444b2fc9a129: Waiting [2020-03-09T04:17:29.547Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-09T04:17:29.547Z] 2cc5ad85d9ab: Download complete [2020-03-09T04:17:29.547Z] 444b2fc9a129: Verifying Checksum [2020-03-09T04:17:29.547Z] 444b2fc9a129: Download complete [2020-03-09T04:17:29.547Z] c9b1b535fdd9: Verifying Checksum [2020-03-09T04:17:29.547Z] c9b1b535fdd9: Download complete [2020-03-09T04:17:29.547Z] ea15f1150254: Verifying Checksum [2020-03-09T04:17:29.547Z] ea15f1150254: Download complete [2020-03-09T04:17:29.808Z] 28c525ee5125: Verifying Checksum [2020-03-09T04:17:29.808Z] 28c525ee5125: Download complete [2020-03-09T04:17:30.072Z] 756a868c4378: Verifying Checksum [2020-03-09T04:17:30.072Z] 756a868c4378: Download complete [2020-03-09T04:17:30.072Z] 138eaada9080: Verifying Checksum [2020-03-09T04:17:30.072Z] 138eaada9080: Download complete [2020-03-09T04:17:30.334Z] 0622d0fa9048: Verifying Checksum [2020-03-09T04:17:30.334Z] 0622d0fa9048: Download complete [2020-03-09T04:17:30.334Z] 094b1ea09ed8: Verifying Checksum [2020-03-09T04:17:30.334Z] 094b1ea09ed8: Download complete [2020-03-09T04:17:30.334Z] c9b1b535fdd9: Pull complete [2020-03-09T04:17:30.901Z] 41b27a9f41bf: Verifying Checksum [2020-03-09T04:17:30.901Z] 41b27a9f41bf: Download complete [2020-03-09T04:17:31.469Z] 2cc5ad85d9ab: Pull complete [2020-03-09T04:17:32.850Z] 756a868c4378: Pull complete [2020-03-09T04:17:32.850Z] 444b2fc9a129: Pull complete [2020-03-09T04:17:33.109Z] ea15f1150254: Pull complete [2020-03-09T04:17:36.401Z] 41b27a9f41bf: Pull complete [2020-03-09T04:17:36.401Z] 28c525ee5125: Pull complete [2020-03-09T04:17:38.313Z] 094b1ea09ed8: Pull complete [2020-03-09T04:17:38.572Z] 138eaada9080: Pull complete [2020-03-09T04:17:38.831Z] 0622d0fa9048: Pull complete [2020-03-09T04:17:38.831Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-09T04:17:38.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-09T04:17:38.948Z] prd-centos7-docker-4c-2g-3345 does not seem to be running inside a container [2020-03-09T04:17:38.989Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-09T04:17:39.523Z] $ docker top c5261ca1f92d01bb2ed570158db1e68410605b6973c0a69b7a360c806595a042 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-09T04:17:40.218Z] provisioning config files... [2020-03-09T04:17:40.234Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5971942357651253352tmp [Pipeline] { [Pipeline] echo [2020-03-09T04:17:40.288Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T04:17:40.577Z] ---> create-netrc.sh [Pipeline] echo [2020-03-09T04:17:40.584Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T04:17:40.875Z] ---> logs-deploy.sh [2020-03-09T04:17:40.875Z] + ARCHIVE_ARTIFACTS= [2020-03-09T04:17:40.875Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-09T04:17:40.875Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-09T04:17:40.875Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-09T04:17:40.875Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/8 [2020-03-09T04:17:40.875Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/8/ [2020-03-09T04:17:40.875Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/8 /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-09T04:17:41.809Z] Archives upload complete. [2020-03-09T04:17:42.068Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/8/