Pull request #506 opened 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 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520+dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 (b19d3f9bc253e1204e4a281e9c0460ffdf236260) Running in Durability level: MAX_SURVIVABILITY 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-506/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # 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 > git --version # 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-5492 in /w/workspace/dgexfoundry_device-sdk-go_PR-506 [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-506 # 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/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 into PR head commit 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 Merge succeeded, producing 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 Checking out Revision 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 (PR-506) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/506/head:refs/remotes/origin/PR-506 # 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/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # 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 dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # timeout=10 Commit message: "Add initialized filed in service struct" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:48:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:48:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:48:13 ========================================================= 02:48:13 EdgeX Global Pipelines Version Info 02:48:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:48:15 ------------------- 02:48:15 stable info: 02:48:15 ------------------- 02:48:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:48:15 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 02:48:15 Message: update stable to v1.0.73 02:48:15 ------------------- 02:48:15 experimental info: 02:48:15 ------------------- 02:48:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:48:15 Commit SHA: 009f18ce5b4e192ba54fce1c3905cefe13074ee2 02:48:15 Message: update experimental to v1.0.75 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 02:48:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:48:18 02:48:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:48:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:48:18 latest: Pulling from edgex-devops/git-semver 02:48:18 9123ac7c32f7: Pulling fs layer 02:48:18 b8cc5d1170e3: Pulling fs layer 02:48:18 2924cbbf6a41: Pulling fs layer 02:48:18 93b08a4f1073: Pulling fs layer 02:48:18 93b08a4f1073: Waiting 02:48:18 b8cc5d1170e3: Verifying Checksum 02:48:18 b8cc5d1170e3: Download complete 02:48:18 9123ac7c32f7: Verifying Checksum 02:48:18 9123ac7c32f7: Download complete 02:48:18 93b08a4f1073: Verifying Checksum 02:48:18 93b08a4f1073: Download complete 02:48:18 2924cbbf6a41: Verifying Checksum 02:48:18 2924cbbf6a41: Download complete 02:48:18 9123ac7c32f7: Pull complete 02:48:19 b8cc5d1170e3: Pull complete 02:48:19 2924cbbf6a41: Pull complete 02:48:19 93b08a4f1073: Pull complete 02:48:19 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 02:48:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:48:20 prd-centos7-docker-4c-2g-5492 does not seem to be running inside a container 02:48:20 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-506 -v /w/workspace/dgexfoundry_device-sdk-go_PR-506:/w/workspace/dgexfoundry_device-sdk-go_PR-506:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-506@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:48:20 $ docker top 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:48:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:21 [ssh-agent] Looking for ssh-agent implementation... 02:48:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:21 $ docker exec 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c ssh-agent 02:48:21 SSH_AUTH_SOCK=/tmp/ssh-zWcRz2jNr05E/agent.15 02:48:21 SSH_AGENT_PID=22 02:48:21 Running ssh-add (command line suppressed) 02:48:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/private_key_1321887773482371091.key (/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/private_key_1321887773482371091.key) 02:48:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:22 + git describe --exact-match --tags HEAD 02:48:22 fatal: No names found, cannot describe anything. [Pipeline] } 02:48:22 $ docker exec --env ******** --env ******** 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c ssh-agent -k 02:48:22 unset SSH_AUTH_SOCK; 02:48:22 unset SSH_AGENT_PID; 02:48:22 echo Agent pid 22 killed; 02:48:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:48:22 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:48:22 This usually means this commit has not been tagged. [Pipeline] sshagent 02:48:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:22 [ssh-agent] Looking for ssh-agent implementation... 02:48:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:23 $ docker exec 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c ssh-agent 02:48:23 SSH_AUTH_SOCK=/tmp/ssh-c0b4z0Rjls36/agent.57 02:48:23 SSH_AGENT_PID=64 02:48:23 Running ssh-add (command line suppressed) 02:48:23 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/private_key_7489369108865452295.key (/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/private_key_7489369108865452295.key) 02:48:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:23 + git semver init 02:48:23 # -> Open(): unable to determine branch for HEAD 02:48:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-506/.git 02:48:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-506 02:48:23 # $SEMVER_REMOTE_NAME = origin 02:48:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:48:23 # $SEMVER_USER_NAME = edgex-jenkins 02:48:23 # $SEMVER_BRANCH = PR-506 02:48:23 # $SEMVER_TEMP = /tmp/semver-838642846 02:48:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:48:24 # '/tmp/semver-838642846' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-506/.semver' 02:48:24 # -> Force: false 02:48:24 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-506/.semver [Pipeline] } 02:48:24 $ docker exec --env ******** --env ******** 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c ssh-agent -k 02:48:24 unset SSH_AUTH_SOCK; 02:48:24 unset SSH_AGENT_PID; 02:48:24 echo Agent pid 64 killed; 02:48:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:48:25 + git semver [Pipeline] } 02:48:25 $ docker stop --time=1 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c 02:48:26 $ docker rm -f 7779009f5599ed0493bbaa8ff5dd2bcdd264b2a2a86a70e4d12ca79df11ed37c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:48:28 Stashed 53 file(s) [Pipeline] echo 02:48:28 [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 02:48:44 Still waiting to schedule task 02:48:44 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:48:44 Still waiting to schedule task 02:48:44 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:50:37 Running on prd-centos7-docker-4c-2g-5494 in /w/workspace/dgexfoundry_device-sdk-go_PR-506 [Pipeline] { [Pipeline] ws 02:50:37 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 02:50:40 using credential edgex-jenkins-ssh 02:50:40 Cloning the remote Git repository 02:50:40 Cloning with configured refspecs honoured and without tags 02:50:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:50:41 Fetching without tags 02:50:40 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:50:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:50:40 > git --version # timeout=10 02:50:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:50:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:50:41 > git config --add remote.origin.fetch +refs/pull/506/head:refs/remotes/origin/PR-506 # timeout=10 02:50:41 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:50:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:50:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:50:41 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:50:42 Merging remotes/origin/master commit dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 into PR head commit 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 02:50:42 Merge succeeded, producing 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 02:50:42 Checking out Revision 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 (PR-506) 02:50:42 > git config core.sparsecheckout # timeout=10 02:50:42 > git checkout -f 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # timeout=10 02:50:42 > git remote # timeout=10 02:50:42 > git config --get remote.origin.url # timeout=10 02:50:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:42 > git merge dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 # timeout=10 02:50:42 > git rev-parse HEAD^{commit} # timeout=10 02:50:42 > git config core.sparsecheckout # timeout=10 02:50:42 > git checkout -f 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # timeout=10 02:50:46 Commit message: "Add initialized filed in service struct" 02:50:46 > git --version # timeout=10 02:50:46 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:50:47 ========================================================= 02:50:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 02:50:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:50:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5493 in /w/workspace/dgexfoundry_device-sdk-go_PR-506 [Pipeline] { [Pipeline] ws 02:50:48 Running in /w/workspace/device-sdk-go/1 [Pipeline] { 02:50:48 + 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 . [Pipeline] checkout 02:50:48 Sending build context to Docker daemon 3.013MB 02:50:48 Step 1/8 : ARG BASE=golang:1.13-alpine 02:50:48 Step 2/8 : FROM ${BASE} 02:50:48 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 02:50:48 e6b0cf9c0882: Pulling fs layer 02:50:48 2848faf0eed1: Pulling fs layer 02:50:48 0f37312ad70f: Pulling fs layer 02:50:48 5788d62ee057: Pulling fs layer 02:50:48 0e6b1d234666: Pulling fs layer 02:50:48 bf5d7aec512f: Pulling fs layer 02:50:48 34c802a77dc8: Pulling fs layer 02:50:48 9eb99e56ec68: Pulling fs layer 02:50:48 27c7a5d97fbd: Pulling fs layer 02:50:48 5c102a31e300: Pulling fs layer 02:50:48 dcfb455df0a1: Pulling fs layer 02:50:48 34c802a77dc8: Waiting 02:50:48 9eb99e56ec68: Waiting 02:50:48 5c102a31e300: Waiting 02:50:48 5788d62ee057: Waiting 02:50:48 0e6b1d234666: Waiting 02:50:48 bf5d7aec512f: Waiting 02:50:48 0f37312ad70f: Verifying Checksum 02:50:48 2848faf0eed1: Verifying Checksum 02:50:48 2848faf0eed1: Download complete 02:50:48 0f37312ad70f: Download complete 02:50:48 0e6b1d234666: Verifying Checksum 02:50:48 0e6b1d234666: Download complete 02:50:48 bf5d7aec512f: Download complete 02:50:48 e6b0cf9c0882: Verifying Checksum 02:50:48 e6b0cf9c0882: Download complete 02:50:48 e6b0cf9c0882: Pull complete 02:50:49 2848faf0eed1: Pull complete 02:50:49 0f37312ad70f: Pull complete 02:50:49 34c802a77dc8: Verifying Checksum 02:50:49 34c802a77dc8: Download complete 02:50:49 27c7a5d97fbd: Verifying Checksum 02:50:49 27c7a5d97fbd: Download complete 02:50:50 5c102a31e300: Verifying Checksum 02:50:50 5c102a31e300: Download complete 02:50:50 dcfb455df0a1: Verifying Checksum 02:50:50 dcfb455df0a1: Download complete 02:50:50 5788d62ee057: Verifying Checksum 02:50:50 5788d62ee057: Download complete 02:50:50 9eb99e56ec68: Verifying Checksum 02:50:50 9eb99e56ec68: Download complete 02:50:54 using credential edgex-jenkins-ssh 02:50:54 Cloning the remote Git repository 02:50:54 Cloning with configured refspecs honoured and without tags 02:50:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:50:54 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:50:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:50:54 > git --version # timeout=10 02:50:54 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:55 Fetching without tags 02:50:54 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:50:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:50:55 > git config --add remote.origin.fetch +refs/pull/506/head:refs/remotes/origin/PR-506 # timeout=10 02:50:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:50:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:50:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:50:55 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:50:56 Merging remotes/origin/master commit dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 into PR head commit 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 02:50:56 Merge succeeded, producing 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 02:50:56 Checking out Revision 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 (PR-506) 02:50:56 > git config core.sparsecheckout # timeout=10 02:50:56 > git checkout -f 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # timeout=10 02:50:56 > git remote # timeout=10 02:50:56 > git config --get remote.origin.url # timeout=10 02:50:56 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:56 > git merge dfaaf3db4a48c41e92535fbbc26dffa7770b5bf3 # timeout=10 02:50:56 > git rev-parse HEAD^{commit} # timeout=10 02:50:56 > git config core.sparsecheckout # timeout=10 02:50:56 > git checkout -f 9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 # timeout=10 02:50:57 5788d62ee057: Pull complete 02:50:57 0e6b1d234666: Pull complete 02:50:57 bf5d7aec512f: Pull complete 02:51:01 Commit message: "Add initialized filed in service struct" 02:51:01 > git --version # timeout=10 02:51:01 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:51:02 ========================================================= 02:51:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 02:51:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:51:02 34c802a77dc8: Pull complete 02:51:03 + 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 . 02:51:04 Sending build context to Docker daemon 3.013MB 02:51:04 Step 1/8 : ARG BASE=golang:1.13-alpine 02:51:04 Step 2/8 : FROM ${BASE} 02:51:05 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:51:05 cde5963f3b93: Pulling fs layer 02:51:05 2a23fa8c16f7: Pulling fs layer 02:51:05 777b28850792: Pulling fs layer 02:51:05 8a11ddd9e578: Pulling fs layer 02:51:05 4cf88f913ddb: Pulling fs layer 02:51:05 1df406cf5192: Pulling fs layer 02:51:05 8a11ddd9e578: Waiting 02:51:05 4cf88f913ddb: Waiting 02:51:05 cd6300453558: Pulling fs layer 02:51:05 b9c365052c96: Pulling fs layer 02:51:05 a2d8cc88f415: Pulling fs layer 02:51:05 ea1d1ca13537: Pulling fs layer 02:51:05 3750a50a1c5e: Pulling fs layer 02:51:05 a2d8cc88f415: Waiting 02:51:05 1df406cf5192: Waiting 02:51:05 ea1d1ca13537: Waiting 02:51:05 3750a50a1c5e: Waiting 02:51:05 cd6300453558: Waiting 02:51:05 b9c365052c96: Waiting 02:51:05 777b28850792: Download complete 02:51:05 2a23fa8c16f7: Verifying Checksum 02:51:05 2a23fa8c16f7: Download complete 02:51:05 4cf88f913ddb: Verifying Checksum 02:51:05 4cf88f913ddb: Download complete 02:51:05 1df406cf5192: Download complete 02:51:05 cde5963f3b93: Download complete 02:51:06 cde5963f3b93: Pull complete 02:51:07 2a23fa8c16f7: Pull complete 02:51:07 9eb99e56ec68: Pull complete 02:51:07 27c7a5d97fbd: Pull complete 02:51:07 777b28850792: Pull complete 02:51:07 5c102a31e300: Pull complete 02:51:07 dcfb455df0a1: Pull complete 02:51:07 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 02:51:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 02:51:07 ---> 7c70fe431013 02:51:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:07 ---> Running in 150b947116d2 02:51:08 Removing intermediate container 150b947116d2 02:51:08 ---> 4a614e935853 02:51:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:08 ---> Running in f32a40278ddf 02:51:09 Removing intermediate container f32a40278ddf 02:51:09 ---> 61629254e1d2 02:51:09 Step 5/8 : RUN apk add --no-cache make git 02:51:09 ---> Running in 4b906b64a861 02:51:09 cd6300453558: Verifying Checksum 02:51:09 cd6300453558: Download complete 02:51:09 a2d8cc88f415: Verifying Checksum 02:51:09 a2d8cc88f415: Download complete 02:51:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:51:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:51:12 OK: 143 MiB in 39 packages 02:51:12 ea1d1ca13537: Verifying Checksum 02:51:12 ea1d1ca13537: Download complete 02:51:12 3750a50a1c5e: Verifying Checksum 02:51:12 3750a50a1c5e: Download complete 02:51:12 Removing intermediate container 4b906b64a861 02:51:12 ---> e96c1a621a67 02:51:12 Step 6/8 : WORKDIR /device-sdk-go 02:51:12 ---> Running in f14307b40722 02:51:12 Removing intermediate container f14307b40722 02:51:12 ---> 45cd0eebf7da 02:51:12 Step 7/8 : COPY . . 02:51:13 ---> 460884c674c9 02:51:13 Step 8/8 : RUN go mod download 02:51:13 ---> Running in 055d97fda6b2 02:51:15 b9c365052c96: Verifying Checksum 02:51:15 b9c365052c96: Download complete 02:51:15 go: finding github.com/BurntSushi/toml v0.3.1 02:51:15 go: finding github.com/OneOfOne/xxhash v1.2.6 02:51:15 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:51:15 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:51:15 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:51:15 go: finding github.com/bgentry/speakeasy v0.1.0 02:51:15 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:51:15 go: finding github.com/davecgh/go-spew v1.1.1 02:51:15 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 02:51:15 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:51:15 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 02:51:15 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 02:51:15 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:51:15 go: finding github.com/fatih/color v1.7.0 02:51:15 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:51:16 go: finding github.com/go-kit/kit v0.8.0 02:51:16 go: finding github.com/go-logfmt/logfmt v0.4.0 02:51:16 go: finding github.com/go-stack/stack v1.8.0 02:51:16 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:51:16 go: finding github.com/google/uuid v1.1.0 02:51:16 go: finding github.com/gorilla/mux v1.7.1 02:51:16 go: finding github.com/hashicorp/consul/api v1.1.0 02:51:16 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:51:16 go: finding github.com/hashicorp/errwrap v1.0.0 02:51:16 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:51:16 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:51:16 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:51:16 go: finding github.com/hashicorp/go-multierror v1.0.0 02:51:16 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:51:16 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:51:16 go: finding github.com/hashicorp/go-syslog v1.0.0 02:51:16 go: finding github.com/hashicorp/go-uuid v1.0.1 02:51:16 go: finding github.com/hashicorp/go.net v0.0.1 02:51:16 8a11ddd9e578: Verifying Checksum 02:51:16 8a11ddd9e578: Download complete 02:51:16 go: finding github.com/hashicorp/golang-lru v0.5.0 02:51:16 go: finding github.com/hashicorp/logutils v1.0.0 02:51:16 go: finding github.com/hashicorp/mdns v1.0.0 02:51:16 go: finding github.com/hashicorp/memberlist v0.1.3 02:51:16 go: finding github.com/hashicorp/serf v0.8.2 02:51:16 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:51:16 go: finding github.com/mattn/go-colorable v0.0.9 02:51:16 go: finding github.com/mattn/go-isatty v0.0.3 02:51:16 go: finding github.com/miekg/dns v1.0.14 02:51:16 go: finding github.com/mitchellh/cli v1.0.0 02:51:16 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:51:16 go: finding github.com/mitchellh/copystructure v1.0.0 02:51:16 go: finding github.com/mitchellh/go-homedir v1.0.0 02:51:16 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:51:17 go: finding github.com/mitchellh/gox v0.4.0 02:51:17 go: finding github.com/mitchellh/iochan v1.0.0 02:51:17 go: finding github.com/mitchellh/mapstructure v1.1.2 02:51:17 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:51:17 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:51:17 go: finding github.com/pelletier/go-toml v1.2.0 02:51:17 go: finding github.com/pkg/errors v0.8.1 02:51:17 go: finding github.com/pmezard/go-difflib v1.0.0 02:51:17 go: finding github.com/posener/complete v1.1.1 02:51:17 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:51:17 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:51:17 go: finding github.com/stretchr/objx v0.1.0 02:51:17 go: finding github.com/stretchr/testify v1.5.1 02:51:17 go: finding github.com/ugorji/go v1.1.4 02:51:17 go: finding github.com/x448/float16 v0.8.4 02:51:17 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:51:17 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:51:17 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:51:17 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:51:17 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:51:17 go: finding gopkg.in/yaml.v2 v2.2.8 02:51:22 Removing intermediate container 055d97fda6b2 02:51:22 ---> 00a3260106ab 02:51:22 Successfully built 00a3260106ab 02:51:22 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 02:51:23 + docker inspect -f . ci-base-image-x86_64 02:51:23 . [Pipeline] withDockerContainer 02:51:23 prd-centos7-docker-4c-2g-5494 does not seem to be running inside a container 02:51:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 02:51:25 $ docker top f980cec1a12b0461e7e222131a14a09f85f9fc75de7e9d7c6b72c2fed4c46da8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:26 + go version 02:51:26 go version go1.13.5 linux/amd64 [Pipeline] sh 02:51:26 + make test 02:51:26 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:51:27 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:51:28 8a11ddd9e578: Pull complete 02:51:28 4cf88f913ddb: Pull complete 02:51:28 1df406cf5192: Pull complete 02:51:34 cd6300453558: Pull complete 02:51:38 b9c365052c96: Pull complete 02:51:38 a2d8cc88f415: Pull complete 02:51:39 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:51:39 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:51:39 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:51:40 ea1d1ca13537: Pull complete 02:51:40 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.561s coverage: 21.9% of statements 02:51:41 3750a50a1c5e: Pull complete 02:51:41 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 02:51:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 02:51:41 ---> 78745c68409d 02:51:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:42 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.040s coverage: 95.8% of statements 02:51:45 ---> Running in eafd8f5846c0 02:51:45 Removing intermediate container eafd8f5846c0 02:51:45 ---> f532b1e14700 02:51:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:45 ---> Running in 2f95c6e272a6 02:51:47 Removing intermediate container 2f95c6e272a6 02:51:47 ---> a81cb4563e7c 02:51:47 Step 5/8 : RUN apk add --no-cache make git 02:51:47 ---> Running in 7409149b38c6 02:51:48 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:51:49 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:51:50 OK: 125 MiB in 39 packages 02:51:51 Removing intermediate container 7409149b38c6 02:51:51 ---> adf8c24dcb15 02:51:51 Step 6/8 : WORKDIR /device-sdk-go 02:51:52 ---> Running in 6ff4b4c21fc5 02:51:52 Removing intermediate container 6ff4b4c21fc5 02:51:52 ---> 72f08fbd1bb4 02:51:52 Step 7/8 : COPY . . 02:51:53 ---> 33d93456af34 02:51:53 Step 8/8 : RUN go mod download 02:51:53 ---> Running in 5b460956cec7 02:51:55 go: finding github.com/BurntSushi/toml v0.3.1 02:51:55 go: finding github.com/OneOfOne/xxhash v1.2.6 02:51:55 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:51:55 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:51:55 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:51:55 go: finding github.com/bgentry/speakeasy v0.1.0 02:51:55 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:51:55 go: finding github.com/davecgh/go-spew v1.1.1 02:51:55 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 02:51:55 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:51:55 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 02:51:55 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 02:51:55 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:51:55 go: finding github.com/fatih/color v1.7.0 02:51:55 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:51:55 go: finding github.com/go-kit/kit v0.8.0 02:51:55 go: finding github.com/go-logfmt/logfmt v0.4.0 02:51:55 go: finding github.com/go-stack/stack v1.8.0 02:51:55 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:51:55 go: finding github.com/google/uuid v1.1.0 02:51:55 go: finding github.com/gorilla/mux v1.7.1 02:51:55 go: finding github.com/hashicorp/consul/api v1.1.0 02:51:55 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:51:55 go: finding github.com/hashicorp/errwrap v1.0.0 02:51:55 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:51:55 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:51:55 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:51:55 go: finding github.com/hashicorp/go-multierror v1.0.0 02:51:55 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:51:55 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:51:55 go: finding github.com/hashicorp/go-syslog v1.0.0 02:51:55 go: finding github.com/hashicorp/go-uuid v1.0.1 02:51:55 go: finding github.com/hashicorp/go.net v0.0.1 02:51:55 go: finding github.com/hashicorp/golang-lru v0.5.0 02:51:55 go: finding github.com/hashicorp/logutils v1.0.0 02:51:55 go: finding github.com/hashicorp/mdns v1.0.0 02:51:55 go: finding github.com/hashicorp/memberlist v0.1.3 02:51:55 go: finding github.com/hashicorp/serf v0.8.2 02:51:55 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:51:55 go: finding github.com/mattn/go-colorable v0.0.9 02:51:55 go: finding github.com/mattn/go-isatty v0.0.3 02:51:55 go: finding github.com/miekg/dns v1.0.14 02:51:55 go: finding github.com/mitchellh/cli v1.0.0 02:51:55 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:51:55 go: finding github.com/mitchellh/copystructure v1.0.0 02:51:55 go: finding github.com/mitchellh/go-homedir v1.0.0 02:51:55 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:51:55 go: finding github.com/mitchellh/gox v0.4.0 02:51:55 go: finding github.com/mitchellh/iochan v1.0.0 02:51:55 go: finding github.com/mitchellh/mapstructure v1.1.2 02:51:55 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:51:55 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:51:55 go: finding github.com/pelletier/go-toml v1.2.0 02:51:55 go: finding github.com/pkg/errors v0.8.1 02:51:55 go: finding github.com/pmezard/go-difflib v1.0.0 02:51:55 go: finding github.com/posener/complete v1.1.1 02:51:55 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:51:55 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:51:55 go: finding github.com/stretchr/objx v0.1.0 02:51:55 go: finding github.com/stretchr/testify v1.5.1 02:51:55 go: finding github.com/ugorji/go v1.1.4 02:51:55 go: finding github.com/x448/float16 v0.8.4 02:51:55 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:51:55 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:51:55 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:51:55 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:51:55 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:51:55 go: finding gopkg.in/yaml.v2 v2.2.8 02:52:06 Removing intermediate container 5b460956cec7 02:52:06 ---> dfea73459955 02:52:06 Successfully built dfea73459955 02:52:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:52:06 + docker inspect -f . ci-base-image-arm64 02:52:07 . [Pipeline] withDockerContainer 02:52:07 prd-ubuntu18.04-docker-arm64-4c-16g-5493 does not seem to be running inside a container 02:52:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 02:52:09 $ docker top d498b560457a8c011b720f2bb76517d06f7eaf1f724be6f8dbe697bc67351fc1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:10 + go version 02:52:10 go version go1.13.5 linux/arm64 [Pipeline] sh 02:52:10 + make test 02:52:10 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:52:12 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:52:14 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 11.4% of statements 02:52:14 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 21.7% of statements 02:52:14 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:52:14 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.073s coverage: 36.9% of statements 02:52:14 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:52:14 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 02:52:14 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.334s coverage: 65.2% of statements 02:52:14 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:52:14 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:52:14 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:52:14 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.023s coverage: 52.6% of statements 02:52:14 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 02:52:14 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.131s coverage: 68.9% of statements 02:52:14 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:52:14 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:52:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:52:14 gofmt -l . 02:52:15 [ "`gofmt -l .`" = "" ] 02:52:15 ./bin/test-attribution-txt.sh 02:52:16 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:52:16 Stashed 1 file(s) [Pipeline] } 02:52:16 $ docker stop --time=1 f980cec1a12b0461e7e222131a14a09f85f9fc75de7e9d7c6b72c2fed4c46da8 02:52:18 $ docker rm -f f980cec1a12b0461e7e222131a14a09f85f9fc75de7e9d7c6b72c2fed4c46da8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:52:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:52:20 + ls -al . 02:52:20 total 176 02:52:20 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 22 02:52 . 02:52:20 drwxrwxr-x. 4 jenkins jenkins 28 Apr 22 02:50 .. 02:52:20 drwxrwxr-x. 3 jenkins jenkins 20 Apr 22 02:50 api 02:52:20 drwxrwxr-x. 2 jenkins jenkins 64 Apr 22 02:50 bin 02:52:20 -rw-r--r--. 1 jenkins jenkins 110966 Apr 22 02:52 coverage.out 02:52:20 -rw-rw-r--. 1 jenkins jenkins 936 Apr 22 02:50 Dockerfile.build 02:52:20 -rw-rw-r--. 1 jenkins jenkins 140 Apr 22 02:50 .dockerignore 02:52:20 drwxrwxr-x. 4 jenkins jenkins 48 Apr 22 02:50 example 02:52:20 drwxrwxr-x. 8 jenkins jenkins 179 Apr 22 02:50 .git 02:52:20 drwxrwxr-x. 2 jenkins jenkins 38 Apr 22 02:50 .github 02:52:20 -rw-rw-r--. 1 jenkins jenkins 138 Apr 22 02:50 .gitignore 02:52:20 -rw-r--r--. 1 jenkins jenkins 446 Apr 22 02:52 go.mod 02:52:20 -rw-r--r--. 1 jenkins jenkins 12076 Apr 22 02:52 go.sum 02:52:20 drwxrwxr-x. 15 jenkins jenkins 217 Apr 22 02:50 internal 02:52:20 -rw-rw-r--. 1 jenkins jenkins 808 Apr 22 02:50 Jenkinsfile 02:52:20 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 22 02:50 LICENSE 02:52:20 -rw-rw-r--. 1 jenkins jenkins 892 Apr 22 02:50 Makefile 02:52:20 drwxrwxr-x. 5 jenkins jenkins 50 Apr 22 02:50 pkg 02:52:20 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 22 02:50 README.md 02:52:20 drwxrwxr-x. 3 jenkins jenkins 58 Apr 22 02:50 .semver 02:52:20 drwxrwxr-x. 4 jenkins jenkins 54 Apr 22 02:50 snap 02:52:20 -rw-rw-r--. 1 jenkins jenkins 5 Apr 22 02:48 VERSION 02:52:20 -rw-rw-r--. 1 jenkins jenkins 222 Apr 22 02:50 version.go [Pipeline] isUnix [Pipeline] sh 02:52:20 + 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=9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 --label arch=amd64 --label version=0.0.0 . 02:52:20 Sending build context to Docker daemon 3.141MB 02:52:20 Step 1/21 : ARG BASE=golang:1.13-alpine 02:52:20 Step 2/21 : FROM ${BASE} AS builder 02:52:20 ---> 00a3260106ab 02:52:20 Step 3/21 : ARG MAKE='make build' 02:52:20 ---> Running in adc9721f8e0b 02:52:21 Removing intermediate container adc9721f8e0b 02:52:21 ---> 9025a85f001f 02:52:21 Step 4/21 : WORKDIR /device-sdk-go 02:52:21 ---> Running in 9ad91e1ec2d3 02:52:21 Removing intermediate container 9ad91e1ec2d3 02:52:21 ---> 5b1375bcc649 02:52:21 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:21 ---> Running in 5f0bf9bcbd35 02:52:21 Removing intermediate container 5f0bf9bcbd35 02:52:21 ---> bfc1df72f3c1 02:52:21 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:52:21 ---> Running in 8903ce6d13a9 02:52:22 Removing intermediate container 8903ce6d13a9 02:52:22 ---> 57d2fbfee64c 02:52:22 Step 7/21 : RUN apk add --update --no-cache make git 02:52:22 ---> Running in 8abe6dae1693 02:52:22 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:52:24 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:52:26 OK: 143 MiB in 39 packages 02:52:26 Removing intermediate container 8abe6dae1693 02:52:26 ---> 0d4bf25cf705 02:52:26 Step 8/21 : COPY . . 02:52:26 ---> c7b6be640ab0 02:52:26 Step 9/21 : RUN ${MAKE} 02:52:26 ---> Running in 44fe48c1cd04 02:52:27 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 02:52:37 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:52:37 Removing intermediate container 44fe48c1cd04 02:52:37 ---> a5be9abc34f7 02:52:37 Step 10/21 : FROM scratch 02:52:37 ---> 02:52:37 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:37 ---> Running in d057b9c08346 02:52:37 Removing intermediate container d057b9c08346 02:52:37 ---> b839fc877dbe 02:52:37 Step 12/21 : ENV APP_PORT=49990 02:52:37 ---> Running in a4aeb31d6509 02:52:37 Removing intermediate container a4aeb31d6509 02:52:37 ---> fa0693f3f6a9 02:52:37 Step 13/21 : EXPOSE $APP_PORT 02:52:37 ---> Running in 49508ddb28f4 02:52:37 Removing intermediate container 49508ddb28f4 02:52:37 ---> 94bf8603f94d 02:52:37 Step 14/21 : WORKDIR / 02:52:37 ---> Running in 28a94655885b 02:52:37 Removing intermediate container 28a94655885b 02:52:37 ---> 9fb813933c7e 02:52:37 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:52:38 ---> ba997d6861bb 02:52:38 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:52:38 ---> 503496e96a02 02:52:38 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:52:38 ---> e0a10235c576 02:52:38 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:38 ---> Running in 5821aa1dbafb 02:52:38 Removing intermediate container 5821aa1dbafb 02:52:38 ---> bb90bf80cf91 02:52:38 Step 19/21 : LABEL arch=amd64 02:52:38 ---> Running in d838f6f961fe 02:52:38 Removing intermediate container d838f6f961fe 02:52:38 ---> e5962a70de24 02:52:38 Step 20/21 : LABEL git_sha=9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 02:52:38 ---> Running in e9fa2397eec1 02:52:39 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:52:39 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:52:39 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:52:39 Removing intermediate container e9fa2397eec1 02:52:39 ---> 82d45d6aed92 02:52:39 Step 21/21 : LABEL version=0.0.0 02:52:39 ---> Running in d5782c718ff7 02:52:39 Removing intermediate container d5782c718ff7 02:52:39 ---> c368214d586d 02:52:39 [Warning] One or more build-args [ARCH] were not consumed 02:52:39 Successfully built c368214d586d 02:52:39 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] } 02:52:42 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.056s coverage: 21.9% of statements 02:52:45 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.151s coverage: 95.8% of statements 02:53:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.039s coverage: 11.4% of statements 02:53:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.7% of statements 02:53:18 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:53:18 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.191s coverage: 36.9% of statements 02:53:18 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:53:18 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 02:53:18 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.609s coverage: 65.2% of statements 02:53:18 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:53:18 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:53:18 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:53:18 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.048s coverage: 52.6% of statements 02:53:18 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 02:53:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.331s coverage: 68.9% of statements 02:53:18 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:53:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:53:18 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:53:21 gofmt -l . 02:53:21 [ "`gofmt -l .`" = "" ] 02:53:21 ./bin/test-attribution-txt.sh 02:53:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:53:22 Warning: overwriting stash ‘coverage-report’ 02:53:23 Stashed 1 file(s) [Pipeline] } 02:53:23 $ docker stop --time=1 d498b560457a8c011b720f2bb76517d06f7eaf1f724be6f8dbe697bc67351fc1 02:53:25 $ docker rm -f d498b560457a8c011b720f2bb76517d06f7eaf1f724be6f8dbe697bc67351fc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:53:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:53:27 + ls -al . 02:53:27 total 216 02:53:27 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 02:53 . 02:53:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:50 .. 02:53:27 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 02:50 .dockerignore 02:53:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 02:51 .git 02:53:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:50 .github 02:53:27 -rw-rw-r-- 1 jenkins jenkins 138 Apr 22 02:50 .gitignore 02:53:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:51 .semver 02:53:27 -rw-rw-r-- 1 jenkins jenkins 936 Apr 22 02:50 Dockerfile.build 02:53:27 -rw-rw-r-- 1 jenkins jenkins 808 Apr 22 02:50 Jenkinsfile 02:53:27 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 02:50 LICENSE 02:53:27 -rw-rw-r-- 1 jenkins jenkins 892 Apr 22 02:50 Makefile 02:53:27 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 22 02:50 README.md 02:53:27 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 02:48 VERSION 02:53:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:50 api 02:53:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:50 bin 02:53:27 -rw-r--r-- 1 jenkins jenkins 110966 Apr 22 02:53 coverage.out 02:53:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:50 example 02:53:27 -rw-r--r-- 1 jenkins jenkins 446 Apr 22 02:53 go.mod 02:53:27 -rw-r--r-- 1 jenkins jenkins 12076 Apr 22 02:53 go.sum 02:53:27 drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 02:50 internal 02:53:27 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:50 pkg 02:53:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:50 snap 02:53:27 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 02:50 version.go [Pipeline] isUnix [Pipeline] sh 02:53:27 + 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=9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 --label arch=arm64 --label version=0.0.0 . 02:53:28 Sending build context to Docker daemon 3.141MB 02:53:28 Step 1/21 : ARG BASE=golang:1.13-alpine 02:53:28 Step 2/21 : FROM ${BASE} AS builder 02:53:28 ---> dfea73459955 02:53:28 Step 3/21 : ARG MAKE='make build' 02:53:28 ---> Running in 2b575807c8f0 02:53:29 Removing intermediate container 2b575807c8f0 02:53:29 ---> 69344a30f8d7 02:53:29 Step 4/21 : WORKDIR /device-sdk-go 02:53:29 ---> Running in 05cac76d835a 02:53:29 Removing intermediate container 05cac76d835a 02:53:29 ---> 4299ca36a048 02:53:29 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:53:29 ---> Running in 9ec4fe1dded1 02:53:29 Removing intermediate container 9ec4fe1dded1 02:53:29 ---> 3a43258e797f 02:53:29 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:53:29 ---> Running in 603eb035dfb7 02:53:31 Removing intermediate container 603eb035dfb7 02:53:31 ---> 97c12b344256 02:53:31 Step 7/21 : RUN apk add --update --no-cache make git 02:53:31 ---> Running in 4c019037668e 02:53:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:53:34 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:53:36 OK: 125 MiB in 39 packages 02:53:37 Removing intermediate container 4c019037668e 02:53:37 ---> 5f9393b55525 02:53:37 Step 8/21 : COPY . . 02:53:38 ---> d7e4843984a8 02:53:38 Step 9/21 : RUN ${MAKE} 02:53:38 ---> Running in 0e8792fe23ba 02:53:39 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 02:54:06 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:54:06 Removing intermediate container 0e8792fe23ba 02:54:06 ---> cbdc1fa05ed0 02:54:06 Step 10/21 : FROM scratch 02:54:06 ---> 02:54:06 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:54:06 ---> Running in cb05f0862264 02:54:06 Removing intermediate container cb05f0862264 02:54:06 ---> 840007704aae 02:54:06 Step 12/21 : ENV APP_PORT=49990 02:54:06 ---> Running in 3a11031a53f3 02:54:06 Removing intermediate container 3a11031a53f3 02:54:06 ---> 1f0e5d5e9548 02:54:06 Step 13/21 : EXPOSE $APP_PORT 02:54:06 ---> Running in d08ad39179c1 02:54:06 Removing intermediate container d08ad39179c1 02:54:06 ---> 29ef36650a01 02:54:06 Step 14/21 : WORKDIR / 02:54:06 ---> Running in a467ebd55a68 02:54:06 Removing intermediate container a467ebd55a68 02:54:06 ---> e5177d95f981 02:54:06 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:54:07 ---> ffe77f231c83 02:54:07 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:54:08 ---> 5918a8578f49 02:54:08 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:54:08 ---> 2ba512db9614 02:54:08 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:54:08 ---> Running in d0281dee923b 02:54:09 Removing intermediate container d0281dee923b 02:54:09 ---> 17079955da6e 02:54:09 Step 19/21 : LABEL arch=arm64 02:54:09 ---> Running in 0ac8099387b7 02:54:09 Removing intermediate container 0ac8099387b7 02:54:09 ---> 684e92ffdfac 02:54:09 Step 20/21 : LABEL git_sha=9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 02:54:09 ---> Running in c3c296aef241 02:54:10 Removing intermediate container c3c296aef241 02:54:10 ---> 448ed5cdbdd6 02:54:10 Step 21/21 : LABEL version=0.0.0 02:54:10 ---> Running in fdf4d9765ced 02:54:10 Removing intermediate container fdf4d9765ced 02:54:10 ---> 3a244178fbbf 02:54:10 [Warning] One or more build-args [ARCH] were not consumed 02:54:10 Successfully built 3a244178fbbf 02:54:10 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 02:54:12 provisioning config files... 02:54:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/config7235206851965842291tmp [Pipeline] { [Pipeline] sh 02:54:13 + curl -s https://codecov.io/bash 02:54:13 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/config7235206851965842291tmp 02:54:13 02:54:13 _____ _ 02:54:13 / ____| | | 02:54:13 | | ___ __| | ___ ___ _____ __ 02:54:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:54:13 | |___| (_) | (_| | __/ (_| (_) \ V / 02:54:13 \_____\___/ \__,_|\___|\___\___/ \_/ 02:54:13 Bash-tbd 02:54:13 02:54:13 02:54:13 ==> Jenkins CI detected. 02:54:13 project root: . 02:54:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:54:13 ==> Running gcov in . (disable via -X gcov) 02:54:13 ==> Python coveragepy not found 02:54:13 ==> Searching for coverage reports in: 02:54:13 + . 02:54:13 -> Found 1 reports 02:54:13 ==> Detecting git/mercurial file structure 02:54:13 ==> Reading reports 02:54:13 + ./coverage.out bytes=110966 02:54:13 ==> Appending adjustments 02:54:13 http://docs.codecov.io/docs/fixing-reports 02:54:14 + Found adjustments 02:54:14 ==> Gzipping contents 02:54:14 ==> Uploading reports 02:54:14 url: https://codecov.io 02:54:14 query: branch=PR-506&commit=9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-506%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=506&job= 02:54:14 -> Pinging Codecov 02:54:14 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-506&commit=9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-506%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=506&job= 02:54:14 -> Uploading 02:54:15 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9dfcc4aa34cfd14efbefd96e7c6edb8cf811a520 [Pipeline] } 02:54:15 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 02:54:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:54:17 ---> package-listing.sh 02:54:17 ++ facter osfamily 02:54:17 ++ tr '[:upper:]' '[:lower:]' 02:54:17 + OS_FAMILY=redhat 02:54:17 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-506 02:54:17 + START_PACKAGES=/tmp/packages_start.txt 02:54:17 + END_PACKAGES=/tmp/packages_end.txt 02:54:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:54:17 + PACKAGES=/tmp/packages_start.txt 02:54:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-506 ']' 02:54:17 + PACKAGES=/tmp/packages_end.txt 02:54:17 + case "${OS_FAMILY}" in 02:54:17 + rpm -qa 02:54:17 + sort 02:54:21 + '[' -f /tmp/packages_start.txt ']' 02:54:21 + '[' -f /tmp/packages_end.txt ']' 02:54:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:54:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-506 ']' 02:54:21 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-506/archives/ 02:54:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-506/archives/ [Pipeline] isUnix [Pipeline] sh 02:54:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:54:22 02:54:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:54:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:54:22 alpine: Pulling from edgex-lftools-log-publisher 02:54:22 c9b1b535fdd9: Pulling fs layer 02:54:22 2cc5ad85d9ab: Pulling fs layer 02:54:22 756a868c4378: Pulling fs layer 02:54:22 444b2fc9a129: Pulling fs layer 02:54:22 ea15f1150254: Pulling fs layer 02:54:22 41b27a9f41bf: Pulling fs layer 02:54:22 28c525ee5125: Pulling fs layer 02:54:22 094b1ea09ed8: Pulling fs layer 02:54:22 138eaada9080: Pulling fs layer 02:54:22 0622d0fa9048: Pulling fs layer 02:54:22 ea15f1150254: Waiting 02:54:22 41b27a9f41bf: Waiting 02:54:22 28c525ee5125: Waiting 02:54:22 094b1ea09ed8: Waiting 02:54:22 138eaada9080: Waiting 02:54:22 0622d0fa9048: Waiting 02:54:22 444b2fc9a129: Waiting 02:54:22 2cc5ad85d9ab: Download complete 02:54:22 444b2fc9a129: Verifying Checksum 02:54:22 444b2fc9a129: Download complete 02:54:23 c9b1b535fdd9: Verifying Checksum 02:54:23 c9b1b535fdd9: Download complete 02:54:23 ea15f1150254: Verifying Checksum 02:54:23 ea15f1150254: Download complete 02:54:23 28c525ee5125: Verifying Checksum 02:54:23 28c525ee5125: Download complete 02:54:23 756a868c4378: Verifying Checksum 02:54:23 756a868c4378: Download complete 02:54:23 138eaada9080: Verifying Checksum 02:54:23 138eaada9080: Download complete 02:54:23 094b1ea09ed8: Verifying Checksum 02:54:23 094b1ea09ed8: Download complete 02:54:23 c9b1b535fdd9: Pull complete 02:54:23 0622d0fa9048: Verifying Checksum 02:54:23 0622d0fa9048: Download complete 02:54:23 2cc5ad85d9ab: Pull complete 02:54:24 41b27a9f41bf: Verifying Checksum 02:54:24 41b27a9f41bf: Download complete 02:54:26 756a868c4378: Pull complete 02:54:26 444b2fc9a129: Pull complete 02:54:26 ea15f1150254: Pull complete 02:54:30 41b27a9f41bf: Pull complete 02:54:30 28c525ee5125: Pull complete 02:54:32 094b1ea09ed8: Pull complete 02:54:32 138eaada9080: Pull complete 02:54:32 0622d0fa9048: Pull complete 02:54:32 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:54:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:54:32 prd-centos7-docker-4c-2g-5492 does not seem to be running inside a container 02:54:32 $ 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-506 -v /w/workspace/dgexfoundry_device-sdk-go_PR-506:/w/workspace/dgexfoundry_device-sdk-go_PR-506:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-506@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:54:34 $ docker top c673f59ceb62d03ce3b09a7ca19019570a9efbc35a79ae14757828ccb23ddebb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:34 provisioning config files... 02:54:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-506@tmp/config1757697653335562889tmp [Pipeline] { [Pipeline] echo 02:54:34 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:54:34 ---> create-netrc.sh [Pipeline] echo 02:54:34 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:54:35 ---> logs-deploy.sh 02:54:35 + ARCHIVE_ARTIFACTS= 02:54:35 + LOGS_SERVER=https://logs.edgexfoundry.org 02:54:35 + '[' https://logs.edgexfoundry.org == None ']' 02:54:35 + NEXUS_URL=https://nexus.edgexfoundry.org 02:54:35 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-506/1 02:54:35 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-506/1/ 02:54:35 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-506/1 /w/workspace/dgexfoundry_device-sdk-go_PR-506 02:54:36 Archives upload complete. 02:54:36 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-506/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-506/1/