Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b+fc4d8ba2ca6bee1bf2e474e60f47b75130718504 (a35075e8b4656836ecaacc3a58d78e42f147f119) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4304 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-448 # 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/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b Merge succeeded, producing ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b Checking out Revision ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b (PR-448) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # 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/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b # timeout=10 Commit message: "Merge commit 'fc4d8ba2ca6bee1bf2e474e60f47b75130718504' into HEAD" > git rev-list --no-walk d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:42:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:42:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:42:54 ========================================================= 14:42:54 EdgeX Global Pipelines Version Info 14:42:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:42:56 ------------------- 14:42:56 stable info: 14:42:56 ------------------- 14:42:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:42:56 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 14:42:56 Message: update stable to v1.0.73 14:42:57 ------------------- 14:42:57 experimental info: 14:42:57 ------------------- 14:42:57 Commited By: **** collab-it+edgex@linuxfoundation.org 14:42:57 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 14:42:57 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:42:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:58 14:42:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:42:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:59 latest: Pulling from edgex-devops/git-semver 14:42:59 9123ac7c32f7: Pulling fs layer 14:42:59 b8cc5d1170e3: Pulling fs layer 14:42:59 2924cbbf6a41: Pulling fs layer 14:42:59 93b08a4f1073: Pulling fs layer 14:42:59 93b08a4f1073: Waiting 14:42:59 b8cc5d1170e3: Download complete 14:42:59 9123ac7c32f7: Verifying Checksum 14:42:59 9123ac7c32f7: Download complete 14:42:59 93b08a4f1073: Verifying Checksum 14:42:59 93b08a4f1073: Download complete 14:42:59 2924cbbf6a41: Verifying Checksum 14:42:59 2924cbbf6a41: Download complete 14:42:59 9123ac7c32f7: Pull complete 14:42:59 b8cc5d1170e3: Pull complete 14:43:00 2924cbbf6a41: Pull complete 14:43:00 93b08a4f1073: Pull complete 14:43:00 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:43:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:43:00 prd-centos7-docker-4c-2g-4304 does not seem to be running inside a container 14:43:00 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:43:01 $ docker top 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:43:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:43:01 [ssh-agent] Looking for ssh-agent implementation... 14:43:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:43:02 $ docker exec 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd ssh-agent 14:43:02 SSH_AUTH_SOCK=/tmp/ssh-MOGSY8iHRsou/agent.14 14:43:02 SSH_AGENT_PID=21 14:43:02 Running ssh-add (command line suppressed) 14:43:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_6288577812900240710.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_6288577812900240710.key) 14:43:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:43:02 + git describe --exact-match --tags HEAD 14:43:02 fatal: No names found, cannot describe anything. [Pipeline] } 14:43:02 $ docker exec --env ******** --env ******** 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd ssh-agent -k 14:43:03 unset SSH_AUTH_SOCK; 14:43:03 unset SSH_AGENT_PID; 14:43:03 echo Agent pid 21 killed; 14:43:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:43:03 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:43:03 This usually means this commit has not been tagged. [Pipeline] sshagent 14:43:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:43:03 [ssh-agent] Looking for ssh-agent implementation... 14:43:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:43:03 $ docker exec 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd ssh-agent 14:43:03 SSH_AUTH_SOCK=/tmp/ssh-7vKCG8MCfTR2/agent.56 14:43:03 SSH_AGENT_PID=62 14:43:03 Running ssh-add (command line suppressed) 14:43:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_4903259504369690273.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_4903259504369690273.key) 14:43:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:43:04 + git semver init 14:43:04 # -> Open(): unable to determine branch for HEAD 14:43:04 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.git 14:43:04 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-448 14:43:04 # $SEMVER_REMOTE_NAME = origin 14:43:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:43:04 # $SEMVER_USER_NAME = edgex-jenkins 14:43:04 # $SEMVER_BRANCH = PR-448 14:43:04 # $SEMVER_TEMP = /tmp/semver-934414672 14:43:04 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:43:04 # '/tmp/semver-934414672' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver' 14:43:04 # -> Force: false 14:43:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver [Pipeline] } 14:43:04 $ docker exec --env ******** --env ******** 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd ssh-agent -k 14:43:04 unset SSH_AUTH_SOCK; 14:43:04 unset SSH_AGENT_PID; 14:43:04 echo Agent pid 62 killed; 14:43:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:43:05 + git semver [Pipeline] } 14:43:05 $ docker stop --time=1 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd 14:43:06 $ docker rm -f 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:43:07 Stashed 44 file(s) [Pipeline] echo 14:43:07 [edgeXSemver] initialized semver on version 0.0.0 [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 14:43:22 Still waiting to schedule task 14:43:22 ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4291’ is offline; ‘prd-centos7-docker-4c-2g-4307’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4303’ doesn’t have label ‘centos7-docker-4c-2g’ 14:43:22 Still waiting to schedule task 14:43:22 ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4291’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4307’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4303’ is offline 14:44:16 Running on prd-centos7-docker-4c-2g-4309 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws 14:44:16 Running in /w/workspace/device-sdk-go/29 [Pipeline] { [Pipeline] checkout 14:44:19 using credential edgex-jenkins-ssh 14:44:19 Cloning the remote Git repository 14:44:19 Cloning with configured refspecs honoured and without tags 14:44:19 Fetching without tags 14:44:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:44:19 > git init /w/workspace/device-sdk-go/29 # timeout=10 14:44:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:44:19 > git --version # timeout=10 14:44:19 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:44:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:44:19 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 14:44:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:44:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:44:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:44:19 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:44:20 Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b 14:44:20 Merge succeeded, producing 8c8a22b233d087206a8b4f7722caaff94fa75efb 14:44:20 Checking out Revision 8c8a22b233d087206a8b4f7722caaff94fa75efb (PR-448) 14:44:20 > git config core.sparsecheckout # timeout=10 14:44:20 > git checkout -f d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 14:44:20 > git remote # timeout=10 14:44:20 > git config --get remote.origin.url # timeout=10 14:44:20 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:20 > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 14:44:20 > git rev-parse HEAD^{commit} # timeout=10 14:44:20 > git config core.sparsecheckout # timeout=10 14:44:20 > git checkout -f 8c8a22b233d087206a8b4f7722caaff94fa75efb # timeout=10 14:44:24 Commit message: "Merge commit 'fc4d8ba2ca6bee1bf2e474e60f47b75130718504' into HEAD" 14:44:24 > git rev-list --no-walk d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:44:25 ========================================================= 14:44:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:44:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:44:26 + 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 . 14:44:26 Sending build context to Docker daemon 2.914MB 14:44:26 Step 1/8 : ARG BASE=golang:1.13-alpine 14:44:26 Step 2/8 : FROM ${BASE} 14:44:26 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:44:26 e6b0cf9c0882: Pulling fs layer 14:44:26 2848faf0eed1: Pulling fs layer 14:44:26 0f37312ad70f: Pulling fs layer 14:44:26 5788d62ee057: Pulling fs layer 14:44:26 0e6b1d234666: Pulling fs layer 14:44:26 bf5d7aec512f: Pulling fs layer 14:44:26 34c802a77dc8: Pulling fs layer 14:44:26 9eb99e56ec68: Pulling fs layer 14:44:26 27c7a5d97fbd: Pulling fs layer 14:44:26 5c102a31e300: Pulling fs layer 14:44:26 dcfb455df0a1: Pulling fs layer 14:44:26 34c802a77dc8: Waiting 14:44:26 9eb99e56ec68: Waiting 14:44:26 5788d62ee057: Waiting 14:44:26 27c7a5d97fbd: Waiting 14:44:26 dcfb455df0a1: Waiting 14:44:26 5c102a31e300: Waiting 14:44:26 bf5d7aec512f: Waiting 14:44:26 0f37312ad70f: Verifying Checksum 14:44:26 0f37312ad70f: Download complete 14:44:26 2848faf0eed1: Verifying Checksum 14:44:26 2848faf0eed1: Download complete 14:44:26 0e6b1d234666: Verifying Checksum 14:44:26 0e6b1d234666: Download complete 14:44:26 bf5d7aec512f: Verifying Checksum 14:44:26 bf5d7aec512f: Download complete 14:44:26 e6b0cf9c0882: Download complete 14:44:26 e6b0cf9c0882: Pull complete 14:44:26 2848faf0eed1: Pull complete 14:44:27 0f37312ad70f: Pull complete 14:44:27 34c802a77dc8: Verifying Checksum 14:44:27 34c802a77dc8: Download complete 14:44:27 27c7a5d97fbd: Verifying Checksum 14:44:27 27c7a5d97fbd: Download complete 14:44:28 5c102a31e300: Verifying Checksum 14:44:28 5c102a31e300: Download complete 14:44:28 5788d62ee057: Verifying Checksum 14:44:28 5788d62ee057: Download complete 14:44:28 dcfb455df0a1: Verifying Checksum 14:44:28 dcfb455df0a1: Download complete 14:44:28 9eb99e56ec68: Verifying Checksum 14:44:28 9eb99e56ec68: Download complete 14:44:36 5788d62ee057: Pull complete 14:44:36 0e6b1d234666: Pull complete 14:44:36 bf5d7aec512f: Pull complete 14:44:39 34c802a77dc8: Pull complete 14:44:43 9eb99e56ec68: Pull complete 14:44:43 27c7a5d97fbd: Pull complete 14:44:43 5c102a31e300: Pull complete 14:44:43 dcfb455df0a1: Pull complete 14:44:43 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:44:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:44:43 ---> 7c70fe431013 14:44:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:44:43 ---> Running in 97c347d81a8a 14:44:44 Removing intermediate container 97c347d81a8a 14:44:44 ---> 8e7e86651bd7 14:44:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:44:44 ---> Running in 9a51b5a8f55f 14:44:45 Removing intermediate container 9a51b5a8f55f 14:44:45 ---> db48fec3a5d2 14:44:45 Step 5/8 : RUN apk add --no-cache make git 14:44:45 ---> Running in 88e40dde8b4e 14:44:45 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:44:46 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:44:46 OK: 143 MiB in 39 packages 14:44:47 Removing intermediate container 88e40dde8b4e 14:44:47 ---> 51fec486f508 14:44:47 Step 6/8 : WORKDIR /device-sdk-go 14:44:47 ---> Running in e41454f759c7 14:44:47 Removing intermediate container e41454f759c7 14:44:47 ---> f8cf68f44602 14:44:47 Step 7/8 : COPY . . 14:44:47 ---> debc977a9f3a 14:44:47 Step 8/8 : RUN go mod download 14:44:47 ---> Running in c266c105c572 14:44:49 go: finding github.com/BurntSushi/toml v0.3.1 14:44:49 go: finding github.com/OneOfOne/xxhash v1.2.6 14:44:49 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:44:49 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:44:49 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:44:49 go: finding github.com/bgentry/speakeasy v0.1.0 14:44:49 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:44:49 go: finding github.com/davecgh/go-spew v1.1.1 14:44:49 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:44:49 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:44:49 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:44:49 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:44:49 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:44:49 go: finding github.com/fatih/color v1.7.0 14:44:49 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:44:49 go: finding github.com/go-kit/kit v0.8.0 14:44:49 go: finding github.com/go-logfmt/logfmt v0.4.0 14:44:49 go: finding github.com/go-stack/stack v1.8.0 14:44:49 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:44:49 go: finding github.com/google/uuid v1.1.0 14:44:49 go: finding github.com/gorilla/mux v1.7.1 14:44:49 go: finding github.com/hashicorp/consul/api v1.1.0 14:44:49 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:44:49 go: finding github.com/hashicorp/errwrap v1.0.0 14:44:49 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:44:49 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:44:49 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:44:49 go: finding github.com/hashicorp/go-multierror v1.0.0 14:44:49 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:44:49 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:44:49 go: finding github.com/hashicorp/go-syslog v1.0.0 14:44:49 go: finding github.com/hashicorp/go-uuid v1.0.1 14:44:49 go: finding github.com/hashicorp/go.net v0.0.1 14:44:49 go: finding github.com/hashicorp/golang-lru v0.5.0 14:44:49 go: finding github.com/hashicorp/logutils v1.0.0 14:44:49 go: finding github.com/hashicorp/mdns v1.0.0 14:44:49 go: finding github.com/hashicorp/memberlist v0.1.3 14:44:49 go: finding github.com/hashicorp/serf v0.8.2 14:44:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:44:49 go: finding github.com/mattn/go-colorable v0.0.9 14:44:49 go: finding github.com/mattn/go-isatty v0.0.3 14:44:49 go: finding github.com/miekg/dns v1.0.14 14:44:49 go: finding github.com/mitchellh/cli v1.0.0 14:44:49 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:44:49 go: finding github.com/mitchellh/copystructure v1.0.0 14:44:49 go: finding github.com/mitchellh/go-homedir v1.0.0 14:44:49 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:44:49 go: finding github.com/mitchellh/gox v0.4.0 14:44:49 go: finding github.com/mitchellh/iochan v1.0.0 14:44:49 go: finding github.com/mitchellh/mapstructure v1.1.2 14:44:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:44:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:44:49 go: finding github.com/pelletier/go-toml v1.2.0 14:44:49 go: finding github.com/pkg/errors v0.8.1 14:44:49 go: finding github.com/pmezard/go-difflib v1.0.0 14:44:49 go: finding github.com/posener/complete v1.1.1 14:44:49 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:44:49 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:44:49 go: finding github.com/stretchr/objx v0.1.0 14:44:49 go: finding github.com/stretchr/testify v1.5.1 14:44:49 go: finding github.com/ugorji/go v1.1.4 14:44:49 go: finding github.com/x448/float16 v0.8.4 14:44:49 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:44:49 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:44:49 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:44:49 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:44:49 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:44:49 go: finding gopkg.in/yaml.v2 v2.2.8 14:44:55 Removing intermediate container c266c105c572 14:44:55 ---> 1a1ad99d8113 14:44:55 Successfully built 1a1ad99d8113 14:44:55 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 14:44:55 + docker inspect -f . ci-base-image-x86_64 14:44:55 . [Pipeline] withDockerContainer 14:44:55 prd-centos7-docker-4c-2g-4309 does not seem to be running inside a container 14:44:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:44:56 $ docker top da7d8a1dd4b71fbb54d28fbab8c57ee30107a854687fb1173da27c41be0ca496 -eo pid,comm [Pipeline] { [Pipeline] sh 14:44:57 + go version 14:44:57 go version go1.13.5 linux/amd64 [Pipeline] sh 14:44:57 + make test 14:44:57 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:44:59 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:45:09 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:45:09 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:45:09 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 14:45:09 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 22.1% of statements 14:45:12 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.053s coverage: 95.8% of statements 14:45:45 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.031s coverage: 11.4% of statements 14:45:45 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 22.1% of statements 14:45:45 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:45:45 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.093s coverage: 36.9% of statements 14:45:45 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:45:45 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:45:45 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.798s coverage: 74.9% of statements 14:45:45 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:45:45 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:45:45 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:45:45 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.027s coverage: 52.6% of statements 14:45:45 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:45:45 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.104s coverage: 71.4% of statements 14:45:45 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:45:45 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:45:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:45:45 gofmt -l . 14:45:45 [ "`gofmt -l .`" = "" ] 14:45:45 ./bin/test-attribution-txt.sh 14:45:45 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:45:46 Stashed 1 file(s) [Pipeline] } 14:45:46 $ docker stop --time=1 da7d8a1dd4b71fbb54d28fbab8c57ee30107a854687fb1173da27c41be0ca496 14:45:47 $ docker rm -f da7d8a1dd4b71fbb54d28fbab8c57ee30107a854687fb1173da27c41be0ca496 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:45:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:45:49 + ls -al . 14:45:49 total 160 14:45:49 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 16 14:45 . 14:45:49 drwxrwxr-x. 4 jenkins jenkins 30 Apr 16 14:44 .. 14:45:49 drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 14:44 api 14:45:49 drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 14:44 bin 14:45:49 -rw-r--r--. 1 jenkins jenkins 97497 Apr 16 14:45 coverage.out 14:45:49 -rw-rw-r--. 1 jenkins jenkins 936 Apr 16 14:44 Dockerfile.build 14:45:49 -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 14:44 .dockerignore 14:45:49 drwxrwxr-x. 4 jenkins jenkins 48 Apr 16 14:44 example 14:45:49 drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 14:44 .git 14:45:49 drwxrwxr-x. 2 jenkins jenkins 38 Apr 16 14:44 .github 14:45:49 -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 14:44 .gitignore 14:45:49 -rw-r--r--. 1 jenkins jenkins 446 Apr 16 14:45 go.mod 14:45:49 -rw-r--r--. 1 jenkins jenkins 12076 Apr 16 14:45 go.sum 14:45:49 drwxrwxr-x. 15 jenkins jenkins 217 Apr 16 14:44 internal 14:45:49 -rw-rw-r--. 1 jenkins jenkins 808 Apr 16 14:44 Jenkinsfile 14:45:49 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 14:44 LICENSE 14:45:49 -rw-rw-r--. 1 jenkins jenkins 892 Apr 16 14:44 Makefile 14:45:49 drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 14:44 pkg 14:45:49 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 16 14:44 README.md 14:45:49 drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 14:44 .semver 14:45:49 drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 14:44 snap 14:45:49 -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 14:43 VERSION 14:45:49 -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 14:44 version.go [Pipeline] isUnix [Pipeline] sh 14:45:49 + 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=ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b --label arch=amd64 --label version=0.0.0 . 14:45:49 Sending build context to Docker daemon 3.033MB 14:45:49 Step 1/21 : ARG BASE=golang:1.13-alpine 14:45:49 Step 2/21 : FROM ${BASE} AS builder 14:45:49 ---> 1a1ad99d8113 14:45:49 Step 3/21 : ARG MAKE='make build' 14:45:49 ---> Running in bff8008bf515 14:45:49 Removing intermediate container bff8008bf515 14:45:49 ---> a4806fcacaba 14:45:49 Step 4/21 : WORKDIR /device-sdk-go 14:45:49 ---> Running in d4c95f5ed62a 14:45:50 Removing intermediate container d4c95f5ed62a 14:45:50 ---> 35fb501f36c1 14:45:50 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:45:50 ---> Running in 5e0529e1a709 14:45:50 Removing intermediate container 5e0529e1a709 14:45:50 ---> e0e3c64ffa14 14:45:50 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:45:50 ---> Running in 7c034690bdb7 14:45:50 Removing intermediate container 7c034690bdb7 14:45:50 ---> 49e2824d949f 14:45:50 Step 7/21 : RUN apk add --update --no-cache make git 14:45:50 ---> Running in 19ac39afc041 14:45:51 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:45:52 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:45:52 OK: 143 MiB in 39 packages 14:45:52 Removing intermediate container 19ac39afc041 14:45:52 ---> f8c901c08184 14:45:52 Step 8/21 : COPY . . 14:45:53 ---> ad8d1b761c37 14:45:53 Step 9/21 : RUN ${MAKE} 14:45:53 ---> Running in c0318321f766 14:45:53 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:46:01 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:46:03 Removing intermediate container c0318321f766 14:46:03 ---> 4eac220979af 14:46:03 Step 10/21 : FROM scratch 14:46:03 ---> 14:46:03 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:46:03 ---> Running in ffbc48f8eef8 14:46:03 Removing intermediate container ffbc48f8eef8 14:46:03 ---> 416dcbfb82ce 14:46:03 Step 12/21 : ENV APP_PORT=49990 14:46:03 ---> Running in ac90a4287eee 14:46:03 Removing intermediate container ac90a4287eee 14:46:03 ---> 13cc145c622c 14:46:03 Step 13/21 : EXPOSE $APP_PORT 14:46:03 ---> Running in b8b1728c6ea1 14:46:03 Removing intermediate container b8b1728c6ea1 14:46:03 ---> b664a3d65032 14:46:03 Step 14/21 : WORKDIR / 14:46:03 ---> Running in 3f1d225d7401 14:46:03 Removing intermediate container 3f1d225d7401 14:46:03 ---> f5f38a36f33a 14:46:03 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:46:04 ---> 68a8a3838d20 14:46:04 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:46:04 ---> 7ab8080c777c 14:46:04 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:46:04 ---> dafd593dfca5 14:46:04 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:46:04 ---> Running in 7a6550c1eba0 14:46:04 Removing intermediate container 7a6550c1eba0 14:46:04 ---> e076fd5bd0ba 14:46:04 Step 19/21 : LABEL arch=amd64 14:46:04 ---> Running in 4cac8c6a54cc 14:46:04 Removing intermediate container 4cac8c6a54cc 14:46:04 ---> 936ca9971363 14:46:04 Step 20/21 : LABEL git_sha=ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b 14:46:04 ---> Running in 5bce9a5dd443 14:46:04 Removing intermediate container 5bce9a5dd443 14:46:04 ---> 7671ec5b3fc5 14:46:04 Step 21/21 : LABEL version=0.0.0 14:46:04 ---> Running in 8d7249709dd6 14:46:05 Removing intermediate container 8d7249709dd6 14:46:05 ---> ae2e76d8dc32 14:46:05 [Warning] One or more build-args [ARCH] were not consumed 14:46:05 Successfully built ae2e76d8dc32 14:46:05 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:46:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4311 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws 14:46:06 Running in /w/workspace/device-sdk-go/29 [Pipeline] { [Pipeline] checkout 14:46:14 using credential edgex-jenkins-ssh 14:46:14 Cloning the remote Git repository 14:46:14 Cloning with configured refspecs honoured and without tags 14:46:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:46:14 > git init /w/workspace/device-sdk-go/29 # timeout=10 14:46:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:46:15 > git --version # timeout=10 14:46:15 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:16 Fetching without tags 14:46:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:46:16 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 14:46:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:46:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:46:16 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:16 Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b 14:46:17 Merge succeeded, producing e86968aafed21aec571a66528f0b09b2fcc5f919 14:46:17 Checking out Revision e86968aafed21aec571a66528f0b09b2fcc5f919 (PR-448) 14:46:16 > git config core.sparsecheckout # timeout=10 14:46:16 > git checkout -f d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 14:46:17 > git remote # timeout=10 14:46:17 > git config --get remote.origin.url # timeout=10 14:46:17 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:17 > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 14:46:17 > git rev-parse HEAD^{commit} # timeout=10 14:46:17 > git config core.sparsecheckout # timeout=10 14:46:17 > git checkout -f e86968aafed21aec571a66528f0b09b2fcc5f919 # timeout=10 14:46:22 Commit message: "Merge commit 'fc4d8ba2ca6bee1bf2e474e60f47b75130718504' into HEAD" 14:46:22 > git rev-list --no-walk d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:46:23 ========================================================= 14:46:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:46:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:46:24 + 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 . 14:46:25 Sending build context to Docker daemon 2.912MB 14:46:25 Step 1/8 : ARG BASE=golang:1.13-alpine 14:46:25 Step 2/8 : FROM ${BASE} 14:46:26 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:46:26 cde5963f3b93: Pulling fs layer 14:46:26 2a23fa8c16f7: Pulling fs layer 14:46:26 777b28850792: Pulling fs layer 14:46:26 8a11ddd9e578: Pulling fs layer 14:46:26 4cf88f913ddb: Pulling fs layer 14:46:26 1df406cf5192: Pulling fs layer 14:46:26 cd6300453558: Pulling fs layer 14:46:26 b9c365052c96: Pulling fs layer 14:46:26 a2d8cc88f415: Pulling fs layer 14:46:26 ea1d1ca13537: Pulling fs layer 14:46:26 3750a50a1c5e: Pulling fs layer 14:46:26 1df406cf5192: Waiting 14:46:26 cd6300453558: Waiting 14:46:26 b9c365052c96: Waiting 14:46:26 a2d8cc88f415: Waiting 14:46:26 ea1d1ca13537: Waiting 14:46:26 3750a50a1c5e: Waiting 14:46:26 4cf88f913ddb: Waiting 14:46:26 777b28850792: Verifying Checksum 14:46:26 777b28850792: Download complete 14:46:26 2a23fa8c16f7: Download complete 14:46:26 4cf88f913ddb: Download complete 14:46:26 1df406cf5192: Verifying Checksum 14:46:26 1df406cf5192: Download complete 14:46:26 cde5963f3b93: Verifying Checksum 14:46:26 cde5963f3b93: Download complete 14:46:28 cde5963f3b93: Pull complete 14:46:28 2a23fa8c16f7: Pull complete 14:46:28 777b28850792: Pull complete 14:46:30 cd6300453558: Verifying Checksum 14:46:30 cd6300453558: Download complete 14:46:30 a2d8cc88f415: Verifying Checksum 14:46:30 a2d8cc88f415: Download complete 14:46:33 ea1d1ca13537: Verifying Checksum 14:46:33 ea1d1ca13537: Download complete 14:46:33 3750a50a1c5e: Verifying Checksum 14:46:33 3750a50a1c5e: Download complete 14:46:36 b9c365052c96: Verifying Checksum 14:46:36 b9c365052c96: Download complete 14:46:37 8a11ddd9e578: Download complete 14:46:50 8a11ddd9e578: Pull complete 14:46:50 4cf88f913ddb: Pull complete 14:46:50 1df406cf5192: Pull complete 14:46:53 cd6300453558: Pull complete 14:46:59 b9c365052c96: Pull complete 14:46:59 a2d8cc88f415: Pull complete 14:47:01 ea1d1ca13537: Pull complete 14:47:01 3750a50a1c5e: Pull complete 14:47:01 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:47:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:47:01 ---> 78745c68409d 14:47:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:47:07 ---> Running in 56b97f2364fe 14:47:07 Removing intermediate container 56b97f2364fe 14:47:07 ---> eed49e58159c 14:47:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:47:07 ---> Running in 6a48900371d6 14:47:08 Removing intermediate container 6a48900371d6 14:47:08 ---> 51cc95c7fa55 14:47:08 Step 5/8 : RUN apk add --no-cache make git 14:47:08 ---> Running in 88a7dec1aeef 14:47:09 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:47:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:47:13 OK: 125 MiB in 39 packages 14:47:14 Removing intermediate container 88a7dec1aeef 14:47:14 ---> 9a3619cf7c6f 14:47:14 Step 6/8 : WORKDIR /device-sdk-go 14:47:14 ---> Running in c4418a5f31d8 14:47:14 Removing intermediate container c4418a5f31d8 14:47:14 ---> de5b5db9533a 14:47:14 Step 7/8 : COPY . . 14:47:16 ---> 63488903ea7d 14:47:16 Step 8/8 : RUN go mod download 14:47:16 ---> Running in 21bd7e41896b 14:47:18 go: finding github.com/BurntSushi/toml v0.3.1 14:47:18 go: finding github.com/OneOfOne/xxhash v1.2.6 14:47:18 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:47:18 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:47:18 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:47:18 go: finding github.com/bgentry/speakeasy v0.1.0 14:47:18 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:47:18 go: finding github.com/davecgh/go-spew v1.1.1 14:47:18 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:47:18 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:47:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:47:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:47:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:47:18 go: finding github.com/fatih/color v1.7.0 14:47:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:47:18 go: finding github.com/go-kit/kit v0.8.0 14:47:18 go: finding github.com/go-logfmt/logfmt v0.4.0 14:47:18 go: finding github.com/go-stack/stack v1.8.0 14:47:18 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:47:18 go: finding github.com/google/uuid v1.1.0 14:47:18 go: finding github.com/gorilla/mux v1.7.1 14:47:18 go: finding github.com/hashicorp/consul/api v1.1.0 14:47:18 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:47:18 go: finding github.com/hashicorp/errwrap v1.0.0 14:47:18 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:47:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:47:18 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:47:18 go: finding github.com/hashicorp/go-multierror v1.0.0 14:47:18 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:47:18 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:47:18 go: finding github.com/hashicorp/go-syslog v1.0.0 14:47:18 go: finding github.com/hashicorp/go-uuid v1.0.1 14:47:18 go: finding github.com/hashicorp/go.net v0.0.1 14:47:18 go: finding github.com/hashicorp/golang-lru v0.5.0 14:47:18 go: finding github.com/hashicorp/logutils v1.0.0 14:47:18 go: finding github.com/hashicorp/mdns v1.0.0 14:47:18 go: finding github.com/hashicorp/memberlist v0.1.3 14:47:18 go: finding github.com/hashicorp/serf v0.8.2 14:47:18 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:47:18 go: finding github.com/mattn/go-colorable v0.0.9 14:47:18 go: finding github.com/mattn/go-isatty v0.0.3 14:47:18 go: finding github.com/miekg/dns v1.0.14 14:47:18 go: finding github.com/mitchellh/cli v1.0.0 14:47:18 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:47:18 go: finding github.com/mitchellh/copystructure v1.0.0 14:47:18 go: finding github.com/mitchellh/go-homedir v1.0.0 14:47:18 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:47:18 go: finding github.com/mitchellh/gox v0.4.0 14:47:18 go: finding github.com/mitchellh/iochan v1.0.0 14:47:18 go: finding github.com/mitchellh/mapstructure v1.1.2 14:47:18 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:47:18 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:47:18 go: finding github.com/pelletier/go-toml v1.2.0 14:47:18 go: finding github.com/pkg/errors v0.8.1 14:47:18 go: finding github.com/pmezard/go-difflib v1.0.0 14:47:18 go: finding github.com/posener/complete v1.1.1 14:47:18 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:47:18 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:47:18 go: finding github.com/stretchr/objx v0.1.0 14:47:18 go: finding github.com/stretchr/testify v1.5.1 14:47:18 go: finding github.com/ugorji/go v1.1.4 14:47:18 go: finding github.com/x448/float16 v0.8.4 14:47:18 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:47:18 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:47:18 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:47:18 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:47:18 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:47:18 go: finding gopkg.in/yaml.v2 v2.2.8 14:47:28 Removing intermediate container 21bd7e41896b 14:47:28 ---> 1a2318af0968 14:47:28 Successfully built 1a2318af0968 14:47:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:47:29 + docker inspect -f . ci-base-image-arm64 14:47:29 . [Pipeline] withDockerContainer 14:47:30 prd-ubuntu18.04-docker-arm64-4c-16g-4311 does not seem to be running inside a container 14:47:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:47:31 $ docker top ee7b72f0ba894f892df4e15ed12caec0b0818e4cdd803ed5d104fec439f544c9 -eo pid,comm [Pipeline] { [Pipeline] sh 14:47:33 + go version 14:47:33 go version go1.13.5 linux/arm64 [Pipeline] sh 14:47:33 + make test 14:47:33 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:47:35 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:48:01 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:48:01 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:48:01 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 14:48:03 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.047s coverage: 22.1% of statements 14:48:07 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.161s coverage: 95.8% of statements 14:48:39 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.051s coverage: 11.4% of statements 14:48:39 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 22.1% of statements 14:48:39 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:48:39 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.247s coverage: 36.9% of statements 14:48:39 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:48:39 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:48:39 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.898s coverage: 74.9% of statements 14:48:39 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:48:39 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:48:39 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:48:39 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.043s coverage: 52.6% of statements 14:48:39 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:48:39 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.325s coverage: 71.4% of statements 14:48:39 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:48:39 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:48:39 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:48:42 gofmt -l . 14:48:42 [ "`gofmt -l .`" = "" ] 14:48:42 ./bin/test-attribution-txt.sh 14:48:43 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:48:43 Warning: overwriting stash ‘coverage-report’ 14:48:44 Stashed 1 file(s) [Pipeline] } 14:48:44 $ docker stop --time=1 ee7b72f0ba894f892df4e15ed12caec0b0818e4cdd803ed5d104fec439f544c9 14:48:46 $ docker rm -f ee7b72f0ba894f892df4e15ed12caec0b0818e4cdd803ed5d104fec439f544c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:48:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:48:47 + ls -al . 14:48:47 total 200 14:48:47 drwxrwxr-x 11 jenkins jenkins 4096 Apr 16 14:48 . 14:48:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:46 .. 14:48:47 -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 14:46 .dockerignore 14:48:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 14:46 .git 14:48:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:46 .github 14:48:47 -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 14:46 .gitignore 14:48:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:46 .semver 14:48:47 -rw-rw-r-- 1 jenkins jenkins 936 Apr 16 14:46 Dockerfile.build 14:48:47 -rw-rw-r-- 1 jenkins jenkins 808 Apr 16 14:46 Jenkinsfile 14:48:47 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 14:46 LICENSE 14:48:47 -rw-rw-r-- 1 jenkins jenkins 892 Apr 16 14:46 Makefile 14:48:47 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 16 14:46 README.md 14:48:47 -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 14:43 VERSION 14:48:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:46 api 14:48:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:46 bin 14:48:47 -rw-r--r-- 1 jenkins jenkins 97497 Apr 16 14:48 coverage.out 14:48:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:46 example 14:48:47 -rw-r--r-- 1 jenkins jenkins 446 Apr 16 14:48 go.mod 14:48:47 -rw-r--r-- 1 jenkins jenkins 12076 Apr 16 14:48 go.sum 14:48:47 drwxrwxr-x 15 jenkins jenkins 4096 Apr 16 14:46 internal 14:48:47 drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 14:46 pkg 14:48:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:46 snap 14:48:47 -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 14:46 version.go [Pipeline] isUnix [Pipeline] sh 14:48:48 + 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=ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b --label arch=arm64 --label version=0.0.0 . 14:48:48 Sending build context to Docker daemon 3.031MB 14:48:48 Step 1/21 : ARG BASE=golang:1.13-alpine 14:48:48 Step 2/21 : FROM ${BASE} AS builder 14:48:48 ---> 1a2318af0968 14:48:48 Step 3/21 : ARG MAKE='make build' 14:48:48 ---> Running in bba683ce6a24 14:48:49 Removing intermediate container bba683ce6a24 14:48:49 ---> fe0b180f51e8 14:48:49 Step 4/21 : WORKDIR /device-sdk-go 14:48:49 ---> Running in d1090802b666 14:48:50 Removing intermediate container d1090802b666 14:48:50 ---> 09dc84257f9b 14:48:50 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:48:50 ---> Running in 748ad25b5e74 14:48:50 Removing intermediate container 748ad25b5e74 14:48:50 ---> af14ac1b1840 14:48:50 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:48:50 ---> Running in b264ca369959 14:48:52 Removing intermediate container b264ca369959 14:48:52 ---> 43b919dc52ed 14:48:52 Step 7/21 : RUN apk add --update --no-cache make git 14:48:52 ---> Running in 7b7ba120d54c 14:48:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:48:54 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:48:55 OK: 125 MiB in 39 packages 14:48:56 Removing intermediate container 7b7ba120d54c 14:48:56 ---> 76f0b79a0e02 14:48:56 Step 8/21 : COPY . . 14:48:57 ---> 4e5ba35eadd8 14:48:57 Step 9/21 : RUN ${MAKE} 14:48:57 ---> Running in f206d2dee267 14:48:58 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:49:25 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:49:25 Removing intermediate container f206d2dee267 14:49:25 ---> 8371f6cf6b44 14:49:25 Step 10/21 : FROM scratch 14:49:25 ---> 14:49:25 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:49:25 ---> Running in a3962474c8c2 14:49:25 Removing intermediate container a3962474c8c2 14:49:25 ---> 338bfdb5172e 14:49:25 Step 12/21 : ENV APP_PORT=49990 14:49:25 ---> Running in 601b705606b9 14:49:25 Removing intermediate container 601b705606b9 14:49:25 ---> 66d9fc3fbf75 14:49:25 Step 13/21 : EXPOSE $APP_PORT 14:49:25 ---> Running in 8ab4b98aca35 14:49:25 Removing intermediate container 8ab4b98aca35 14:49:25 ---> 14d27e920495 14:49:25 Step 14/21 : WORKDIR / 14:49:25 ---> Running in 0aa9c689bf3d 14:49:26 Removing intermediate container 0aa9c689bf3d 14:49:26 ---> af97a5ed8963 14:49:26 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:49:27 ---> bb51a927066b 14:49:27 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:49:27 ---> 07293cb11286 14:49:27 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:49:28 ---> 6b5d9683e48d 14:49:28 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:49:28 ---> Running in 7316b57ec14b 14:49:28 Removing intermediate container 7316b57ec14b 14:49:28 ---> 7003669d6cab 14:49:28 Step 19/21 : LABEL arch=arm64 14:49:28 ---> Running in 8784f3f57c0d 14:49:29 Removing intermediate container 8784f3f57c0d 14:49:29 ---> 0407396525d7 14:49:29 Step 20/21 : LABEL git_sha=ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b 14:49:29 ---> Running in a725bf2212d8 14:49:29 Removing intermediate container a725bf2212d8 14:49:29 ---> 430d0ea045bc 14:49:29 Step 21/21 : LABEL version=0.0.0 14:49:29 ---> Running in 577ddda77527 14:49:30 Removing intermediate container 577ddda77527 14:49:30 ---> 5f14a055d8d9 14:49:30 [Warning] One or more build-args [ARCH] were not consumed 14:49:30 Successfully built 5f14a055d8d9 14:49:30 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 14:49:31 provisioning config files... 14:49:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config251828555906771421tmp [Pipeline] { [Pipeline] sh 14:49:31 + curl -s https://codecov.io/bash 14:49:31 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config251828555906771421tmp 14:49:31 14:49:31 _____ _ 14:49:31 / ____| | | 14:49:31 | | ___ __| | ___ ___ _____ __ 14:49:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:49:31 | |___| (_) | (_| | __/ (_| (_) \ V / 14:49:31 \_____\___/ \__,_|\___|\___\___/ \_/ 14:49:31 Bash-tbd 14:49:31 14:49:31 14:49:31 ==> Jenkins CI detected. 14:49:31 project root: . 14:49:31 Fixing merge commit SHA 14:49:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:49:31 ==> Running gcov in . (disable via -X gcov) 14:49:31 ==> Python coveragepy not found 14:49:31 ==> Searching for coverage reports in: 14:49:31 + . 14:49:31 -> Found 1 reports 14:49:31 ==> Detecting git/mercurial file structure 14:49:31 ==> Reading reports 14:49:31 + ./coverage.out bytes=97497 14:49:31 ==> Appending adjustments 14:49:31 http://docs.codecov.io/docs/fixing-reports 14:49:32 + Found adjustments 14:49:32 ==> Gzipping contents 14:49:32 ==> Uploading reports 14:49:32 url: https://codecov.io 14:49:32 query: branch=PR-448&commit=fc4d8ba2ca6bee1bf2e474e60f47b75130718504&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= 14:49:32 -> Pinging Codecov 14:49:32 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-448&commit=fc4d8ba2ca6bee1bf2e474e60f47b75130718504&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= 14:49:32 -> Uploading 14:49:33 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fc4d8ba2ca6bee1bf2e474e60f47b75130718504 [Pipeline] } 14:49:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 14:49:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:49:34 ---> package-listing.sh 14:49:34 ++ facter osfamily 14:49:34 ++ tr '[:upper:]' '[:lower:]' 14:49:34 + OS_FAMILY=redhat 14:49:34 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-448 14:49:34 + START_PACKAGES=/tmp/packages_start.txt 14:49:34 + END_PACKAGES=/tmp/packages_end.txt 14:49:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:49:34 + PACKAGES=/tmp/packages_start.txt 14:49:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' 14:49:34 + PACKAGES=/tmp/packages_end.txt 14:49:34 + case "${OS_FAMILY}" in 14:49:34 + rpm -qa 14:49:34 + sort 14:49:38 + '[' -f /tmp/packages_start.txt ']' 14:49:38 + '[' -f /tmp/packages_end.txt ']' 14:49:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:49:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' 14:49:38 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ 14:49:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [Pipeline] isUnix [Pipeline] sh 14:49:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:49:39 14:49:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:49:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:49:39 alpine: Pulling from edgex-lftools-log-publisher 14:49:39 c9b1b535fdd9: Pulling fs layer 14:49:39 2cc5ad85d9ab: Pulling fs layer 14:49:39 756a868c4378: Pulling fs layer 14:49:39 444b2fc9a129: Pulling fs layer 14:49:39 ea15f1150254: Pulling fs layer 14:49:39 41b27a9f41bf: Pulling fs layer 14:49:39 28c525ee5125: Pulling fs layer 14:49:39 094b1ea09ed8: Pulling fs layer 14:49:39 138eaada9080: Pulling fs layer 14:49:39 0622d0fa9048: Pulling fs layer 14:49:39 ea15f1150254: Waiting 14:49:39 41b27a9f41bf: Waiting 14:49:39 28c525ee5125: Waiting 14:49:39 094b1ea09ed8: Waiting 14:49:39 138eaada9080: Waiting 14:49:39 0622d0fa9048: Waiting 14:49:39 444b2fc9a129: Waiting 14:49:39 2cc5ad85d9ab: Verifying Checksum 14:49:39 2cc5ad85d9ab: Download complete 14:49:39 444b2fc9a129: Download complete 14:49:39 c9b1b535fdd9: Verifying Checksum 14:49:39 c9b1b535fdd9: Download complete 14:49:39 ea15f1150254: Verifying Checksum 14:49:39 ea15f1150254: Download complete 14:49:39 28c525ee5125: Verifying Checksum 14:49:39 28c525ee5125: Download complete 14:49:39 c9b1b535fdd9: Pull complete 14:49:39 756a868c4378: Verifying Checksum 14:49:39 756a868c4378: Download complete 14:49:39 138eaada9080: Verifying Checksum 14:49:39 138eaada9080: Download complete 14:49:39 0622d0fa9048: Verifying Checksum 14:49:39 0622d0fa9048: Download complete 14:49:39 094b1ea09ed8: Verifying Checksum 14:49:39 094b1ea09ed8: Download complete 14:49:39 2cc5ad85d9ab: Pull complete 14:49:40 41b27a9f41bf: Verifying Checksum 14:49:40 41b27a9f41bf: Download complete 14:49:41 756a868c4378: Pull complete 14:49:41 444b2fc9a129: Pull complete 14:49:42 ea15f1150254: Pull complete 14:49:45 41b27a9f41bf: Pull complete 14:49:45 28c525ee5125: Pull complete 14:49:47 094b1ea09ed8: Pull complete 14:49:47 138eaada9080: Pull complete 14:49:48 0622d0fa9048: Pull complete 14:49:48 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:49:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:49:48 prd-centos7-docker-4c-2g-4304 does not seem to be running inside a container 14:49:48 $ 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_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:49:49 $ docker top d19978834e40f2451cb88a66d589bf2de256206e384737a687570b047ef2b59e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:49:49 provisioning config files... 14:49:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config2213075914993040750tmp [Pipeline] { [Pipeline] echo 14:49:49 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:49:49 ---> create-netrc.sh [Pipeline] echo 14:49:49 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:49:50 ---> logs-deploy.sh 14:49:50 + ARCHIVE_ARTIFACTS= 14:49:50 + LOGS_SERVER=https://logs.edgexfoundry.org 14:49:50 + '[' https://logs.edgexfoundry.org == None ']' 14:49:50 + NEXUS_URL=https://nexus.edgexfoundry.org 14:49:50 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/29 14:49:50 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/29/ 14:49:50 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/29 /w/workspace/dgexfoundry_device-sdk-go_PR-448 14:49:51 Archives upload complete. 14:49:51 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/29 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/29/