Pull request #432 updated 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 IOTechSystems for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 0605716f3fd271273ac872c46dcfc3221fe9ce3f rather than db181d74d0f33ce61b4265d7b2d762f63055a0ac Obtained Jenkinsfile from 0605716f3fd271273ac872c46dcfc3221fe9ce3f 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2345 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-432 # 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/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # 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/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit db181d74d0f33ce61b4265d7b2d762f63055a0ac Merge succeeded, producing db181d74d0f33ce61b4265d7b2d762f63055a0ac Checking out Revision db181d74d0f33ce61b4265d7b2d762f63055a0ac (PR-432) > git config core.sparsecheckout # timeout=10 > git checkout -f db181d74d0f33ce61b4265d7b2d762f63055a0ac # 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 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db181d74d0f33ce61b4265d7b2d762f63055a0ac # timeout=10 Commit message: "Refactoring" > git rev-list --no-walk 888b39f222b207ffcba3a6825bb33c7eea8f5d72 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:29:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 03:29:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:29:13 03:29:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:29:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:29:13 latest: Pulling from edgex-devops/git-semver 03:29:13 9123ac7c32f7: Pulling fs layer 03:29:13 b8cc5d1170e3: Pulling fs layer 03:29:13 2924cbbf6a41: Pulling fs layer 03:29:13 93b08a4f1073: Pulling fs layer 03:29:13 93b08a4f1073: Waiting 03:29:13 b8cc5d1170e3: Verifying Checksum 03:29:13 b8cc5d1170e3: Download complete 03:29:13 9123ac7c32f7: Verifying Checksum 03:29:13 9123ac7c32f7: Download complete 03:29:13 93b08a4f1073: Verifying Checksum 03:29:13 93b08a4f1073: Download complete 03:29:13 2924cbbf6a41: Verifying Checksum 03:29:13 2924cbbf6a41: Download complete 03:29:14 9123ac7c32f7: Pull complete 03:29:14 b8cc5d1170e3: Pull complete 03:29:15 2924cbbf6a41: Pull complete 03:29:15 93b08a4f1073: Pull complete 03:29:15 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 03:29:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:29:15 prd-centos7-docker-4c-2g-2345 does not seem to be running inside a container 03:29:15 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@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 03:29:16 $ docker top d722d48357bcbdf956d75bdd045fd150d95af9f2c8d70d9eb2017e336ba6145c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:29:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:29:16 [ssh-agent] Looking for ssh-agent implementation... 03:29:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:29:17 $ docker exec d722d48357bcbdf956d75bdd045fd150d95af9f2c8d70d9eb2017e336ba6145c ssh-agent 03:29:17 SSH_AUTH_SOCK=/tmp/ssh-V5IWbLWH3AZK/agent.14 03:29:17 SSH_AGENT_PID=21 03:29:17 Running ssh-add (command line suppressed) 03:29:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_804069175545148200.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_804069175545148200.key) 03:29:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:29:17 + git describe --exact-match --tags HEAD 03:29:17 fatal: No names found, cannot describe anything. [Pipeline] } 03:29:17 $ docker exec --env ******** --env ******** d722d48357bcbdf956d75bdd045fd150d95af9f2c8d70d9eb2017e336ba6145c ssh-agent -k 03:29:18 unset SSH_AUTH_SOCK; 03:29:18 unset SSH_AGENT_PID; 03:29:18 echo Agent pid 21 killed; 03:29:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:29:18 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:29:18 This usually means this commit has not been tagged. [Pipeline] sshagent 03:29:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:29:18 [ssh-agent] Looking for ssh-agent implementation... 03:29:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:29:18 $ docker exec d722d48357bcbdf956d75bdd045fd150d95af9f2c8d70d9eb2017e336ba6145c ssh-agent 03:29:18 SSH_AUTH_SOCK=/tmp/ssh-XpZGYcqCXf3C/agent.57 03:29:18 SSH_AGENT_PID=64 03:29:18 Running ssh-add (command line suppressed) 03:29:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_185124996414210347.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_185124996414210347.key) 03:29:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:29:19 + git semver init 03:29:19 # -> Open(): unable to determine branch for HEAD 03:29:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.git 03:29:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-432 03:29:19 # $SEMVER_REMOTE_NAME = origin 03:29:19 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 03:29:19 # $SEMVER_USER_NAME = jenkins 03:29:19 # $SEMVER_BRANCH = PR-432 03:29:19 # $SEMVER_TEMP = /tmp/semver-216333438 03:29:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:29:20 # '/tmp/semver-216333438' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver' 03:29:20 # -> Force: false 03:29:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver [Pipeline] } 03:29:20 $ docker exec --env ******** --env ******** d722d48357bcbdf956d75bdd045fd150d95af9f2c8d70d9eb2017e336ba6145c ssh-agent -k 03:29:20 unset SSH_AUTH_SOCK; 03:29:20 unset SSH_AGENT_PID; 03:29:20 echo Agent pid 64 killed; 03:29:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:29:20 + git semver [Pipeline] } 03:29:20 $ docker stop --time=1 d722d48357bcbdf956d75bdd045fd150d95af9f2c8d70d9eb2017e336ba6145c 03:29:22 $ docker rm -f d722d48357bcbdf956d75bdd045fd150d95af9f2c8d70d9eb2017e336ba6145c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:29:23 Stashed 35 file(s) [Pipeline] echo 03:29:23 [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 03:29:38 Still waiting to schedule task 03:29:38 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:29:38 Still waiting to schedule task 03:29:38 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1788’ is offline 03:31:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2346 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 03:31:22 Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout 03:31:29 using credential edgex-jenkins-ssh 03:31:29 Cloning the remote Git repository 03:31:29 Cloning with configured refspecs honoured and without tags 03:31:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:31:29 > git init /w/workspace/device-sdk-go/12 # timeout=10 03:31:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:31:29 > git --version # timeout=10 03:31:29 using GIT_SSH to set credentials SSH Credentials for GitHub 03:31:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:31:30 Fetching without tags 03:31:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:31:30 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 03:31:31 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:31:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:31:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:31:31 using GIT_SSH to set credentials SSH Credentials for GitHub 03:31:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:31:31 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit db181d74d0f33ce61b4265d7b2d762f63055a0ac 03:31:31 Merge succeeded, producing db181d74d0f33ce61b4265d7b2d762f63055a0ac 03:31:31 Checking out Revision db181d74d0f33ce61b4265d7b2d762f63055a0ac (PR-432) 03:31:31 > git config core.sparsecheckout # timeout=10 03:31:31 > git checkout -f db181d74d0f33ce61b4265d7b2d762f63055a0ac # timeout=10 03:31:31 > git remote # timeout=10 03:31:31 > git config --get remote.origin.url # timeout=10 03:31:31 using GIT_SSH to set credentials SSH Credentials for GitHub 03:31:31 > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 03:31:31 > git rev-parse HEAD^{commit} # timeout=10 03:31:31 > git config core.sparsecheckout # timeout=10 03:31:31 > git checkout -f db181d74d0f33ce61b4265d7b2d762f63055a0ac # timeout=10 03:31:36 Commit message: "Refactoring" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:31:37 ========================================================= 03:31:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:31:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:31:38 + 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 . 03:31:39 Sending build context to Docker daemon 2.775MB 03:31:39 Step 1/8 : ARG BASE=golang:1.13-alpine 03:31:39 Step 2/8 : FROM ${BASE} 03:31:39 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:31:39 cde5963f3b93: Pulling fs layer 03:31:39 2a23fa8c16f7: Pulling fs layer 03:31:39 777b28850792: Pulling fs layer 03:31:39 8a11ddd9e578: Pulling fs layer 03:31:39 4cf88f913ddb: Pulling fs layer 03:31:39 1df406cf5192: Pulling fs layer 03:31:39 cd6300453558: Pulling fs layer 03:31:39 b9c365052c96: Pulling fs layer 03:31:39 a2d8cc88f415: Pulling fs layer 03:31:39 ea1d1ca13537: Pulling fs layer 03:31:39 3750a50a1c5e: Pulling fs layer 03:31:39 4cf88f913ddb: Waiting 03:31:39 1df406cf5192: Waiting 03:31:39 cd6300453558: Waiting 03:31:39 b9c365052c96: Waiting 03:31:39 8a11ddd9e578: Waiting 03:31:39 a2d8cc88f415: Waiting 03:31:39 ea1d1ca13537: Waiting 03:31:39 3750a50a1c5e: Waiting 03:31:39 777b28850792: Verifying Checksum 03:31:39 777b28850792: Download complete 03:31:39 2a23fa8c16f7: Verifying Checksum 03:31:39 2a23fa8c16f7: Download complete 03:31:39 4cf88f913ddb: Download complete 03:31:39 1df406cf5192: Download complete 03:31:40 cde5963f3b93: Verifying Checksum 03:31:40 cde5963f3b93: Download complete 03:31:40 cde5963f3b93: Pull complete 03:31:41 2a23fa8c16f7: Pull complete 03:31:41 777b28850792: Pull complete 03:31:42 Running on prd-centos7-docker-4c-2g-2347 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 03:31:42 Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout 03:31:43 cd6300453558: Verifying Checksum 03:31:43 cd6300453558: Download complete 03:31:43 a2d8cc88f415: Verifying Checksum 03:31:43 a2d8cc88f415: Download complete 03:31:44 using credential edgex-jenkins-ssh 03:31:44 Cloning the remote Git repository 03:31:44 Cloning with configured refspecs honoured and without tags 03:31:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:31:44 > git init /w/workspace/device-sdk-go/12 # timeout=10 03:31:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:31:44 > git --version # timeout=10 03:31:44 using GIT_SSH to set credentials SSH Credentials for GitHub 03:31:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:31:45 Fetching without tags 03:31:45 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit db181d74d0f33ce61b4265d7b2d762f63055a0ac 03:31:46 Merge succeeded, producing db181d74d0f33ce61b4265d7b2d762f63055a0ac 03:31:46 Checking out Revision db181d74d0f33ce61b4265d7b2d762f63055a0ac (PR-432) 03:31:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:31:44 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 03:31:44 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:31:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:31:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:31:44 using GIT_SSH to set credentials SSH Credentials for GitHub 03:31:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:31:45 > git config core.sparsecheckout # timeout=10 03:31:45 > git checkout -f db181d74d0f33ce61b4265d7b2d762f63055a0ac # timeout=10 03:31:45 > git remote # timeout=10 03:31:45 > git config --get remote.origin.url # timeout=10 03:31:45 using GIT_SSH to set credentials SSH Credentials for GitHub 03:31:45 > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 03:31:45 > git rev-parse HEAD^{commit} # timeout=10 03:31:45 > git config core.sparsecheckout # timeout=10 03:31:45 > git checkout -f db181d74d0f33ce61b4265d7b2d762f63055a0ac # timeout=10 03:31:46 ea1d1ca13537: Verifying Checksum 03:31:46 ea1d1ca13537: Download complete 03:31:46 3750a50a1c5e: Verifying Checksum 03:31:46 3750a50a1c5e: Download complete 03:31:49 Commit message: "Refactoring" 03:31:49 b9c365052c96: Verifying Checksum 03:31:49 b9c365052c96: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:31:50 ========================================================= 03:31:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:31:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:31:50 + 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 . 03:31:51 8a11ddd9e578: Verifying Checksum 03:31:51 8a11ddd9e578: Download complete 03:31:51 Sending build context to Docker daemon 2.775MB 03:31:51 Step 1/8 : ARG BASE=golang:1.13-alpine 03:31:51 Step 2/8 : FROM ${BASE} 03:31:51 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:31:51 e6b0cf9c0882: Pulling fs layer 03:31:51 2848faf0eed1: Pulling fs layer 03:31:51 0f37312ad70f: Pulling fs layer 03:31:51 5788d62ee057: Pulling fs layer 03:31:51 0e6b1d234666: Pulling fs layer 03:31:51 bf5d7aec512f: Pulling fs layer 03:31:51 34c802a77dc8: Pulling fs layer 03:31:51 9eb99e56ec68: Pulling fs layer 03:31:51 27c7a5d97fbd: Pulling fs layer 03:31:51 5c102a31e300: Pulling fs layer 03:31:51 dcfb455df0a1: Pulling fs layer 03:31:51 34c802a77dc8: Waiting 03:31:51 9eb99e56ec68: Waiting 03:31:51 27c7a5d97fbd: Waiting 03:31:51 5c102a31e300: Waiting 03:31:51 dcfb455df0a1: Waiting 03:31:51 0e6b1d234666: Waiting 03:31:51 bf5d7aec512f: Waiting 03:31:51 5788d62ee057: Waiting 03:31:51 0f37312ad70f: Verifying Checksum 03:31:51 0f37312ad70f: Download complete 03:31:51 2848faf0eed1: Verifying Checksum 03:31:51 2848faf0eed1: Download complete 03:31:51 e6b0cf9c0882: Verifying Checksum 03:31:51 e6b0cf9c0882: Download complete 03:31:51 0e6b1d234666: Verifying Checksum 03:31:51 0e6b1d234666: Download complete 03:31:51 bf5d7aec512f: Verifying Checksum 03:31:51 bf5d7aec512f: Download complete 03:31:51 e6b0cf9c0882: Pull complete 03:31:51 2848faf0eed1: Pull complete 03:31:52 34c802a77dc8: Verifying Checksum 03:31:52 34c802a77dc8: Download complete 03:31:52 27c7a5d97fbd: Verifying Checksum 03:31:52 27c7a5d97fbd: Download complete 03:31:52 5c102a31e300: Verifying Checksum 03:31:52 5c102a31e300: Download complete 03:31:52 dcfb455df0a1: Verifying Checksum 03:31:52 dcfb455df0a1: Download complete 03:31:52 5788d62ee057: Verifying Checksum 03:31:52 5788d62ee057: Download complete 03:31:53 9eb99e56ec68: Download complete 03:31:53 0f37312ad70f: Pull complete 03:32:00 5788d62ee057: Pull complete 03:32:00 0e6b1d234666: Pull complete 03:32:00 bf5d7aec512f: Pull complete 03:32:03 8a11ddd9e578: Pull complete 03:32:03 4cf88f913ddb: Pull complete 03:32:03 1df406cf5192: Pull complete 03:32:03 34c802a77dc8: Pull complete 03:32:06 9eb99e56ec68: Pull complete 03:32:06 27c7a5d97fbd: Pull complete 03:32:07 5c102a31e300: Pull complete 03:32:08 dcfb455df0a1: Pull complete 03:32:08 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 03:32:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:32:08 ---> 7c70fe431013 03:32:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:32:08 ---> Running in 99b45c61600e 03:32:08 Removing intermediate container 99b45c61600e 03:32:08 ---> 1e1229f6f3a3 03:32:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:32:08 ---> Running in 2d5a61e260f2 03:32:08 cd6300453558: Pull complete 03:32:09 Removing intermediate container 2d5a61e260f2 03:32:09 ---> a6c16e4132a0 03:32:09 Step 5/8 : RUN apk add --no-cache make git 03:32:09 ---> Running in 7914dc538cf7 03:32:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:32:10 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:32:11 OK: 143 MiB in 39 packages 03:32:11 Removing intermediate container 7914dc538cf7 03:32:11 ---> 562a03dc0cc7 03:32:11 Step 6/8 : WORKDIR /device-sdk-go 03:32:11 ---> Running in 3c52ed145323 03:32:11 Removing intermediate container 3c52ed145323 03:32:11 ---> 98f81d8f0432 03:32:11 Step 7/8 : COPY . . 03:32:12 ---> 2a1987689dea 03:32:12 Step 8/8 : RUN go mod download 03:32:12 ---> Running in 0eeb0bedecde 03:32:13 b9c365052c96: Pull complete 03:32:13 a2d8cc88f415: Pull complete 03:32:15 ea1d1ca13537: Pull complete 03:32:15 go: finding github.com/BurntSushi/toml v0.3.1 03:32:15 go: finding github.com/OneOfOne/xxhash v1.2.6 03:32:15 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:32:15 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:32:15 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:32:15 go: finding github.com/bgentry/speakeasy v0.1.0 03:32:15 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:32:15 go: finding github.com/davecgh/go-spew v1.1.1 03:32:15 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 03:32:15 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:32:15 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 03:32:15 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:32:15 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:32:15 go: finding github.com/fatih/color v1.7.0 03:32:15 go: finding github.com/go-kit/kit v0.8.0 03:32:15 go: finding github.com/go-logfmt/logfmt v0.4.0 03:32:15 3750a50a1c5e: Pull complete 03:32:15 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 03:32:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:32:15 ---> 78745c68409d 03:32:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:32:15 go: finding github.com/go-stack/stack v1.8.0 03:32:15 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:32:15 go: finding github.com/google/uuid v1.1.0 03:32:15 go: finding github.com/gorilla/mux v1.7.1 03:32:15 go: finding github.com/hashicorp/consul/api v1.1.0 03:32:15 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:32:15 go: finding github.com/hashicorp/errwrap v1.0.0 03:32:16 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:32:16 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:32:16 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:32:16 go: finding github.com/hashicorp/go-multierror v1.0.0 03:32:16 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:32:16 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:32:16 go: finding github.com/hashicorp/go-syslog v1.0.0 03:32:16 go: finding github.com/hashicorp/go-uuid v1.0.1 03:32:16 go: finding github.com/hashicorp/go.net v0.0.1 03:32:16 go: finding github.com/hashicorp/golang-lru v0.5.0 03:32:16 go: finding github.com/hashicorp/logutils v1.0.0 03:32:16 go: finding github.com/hashicorp/mdns v1.0.0 03:32:16 go: finding github.com/hashicorp/memberlist v0.1.3 03:32:16 go: finding github.com/hashicorp/serf v0.8.2 03:32:16 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:32:16 go: finding github.com/mattn/go-colorable v0.0.9 03:32:16 go: finding github.com/mattn/go-isatty v0.0.3 03:32:16 go: finding github.com/miekg/dns v1.0.14 03:32:16 go: finding github.com/mitchellh/cli v1.0.0 03:32:16 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:32:16 go: finding github.com/mitchellh/copystructure v1.0.0 03:32:16 go: finding github.com/mitchellh/go-homedir v1.0.0 03:32:16 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:32:16 go: finding github.com/mitchellh/gox v0.4.0 03:32:16 go: finding github.com/mitchellh/iochan v1.0.0 03:32:16 go: finding github.com/mitchellh/mapstructure v1.1.2 03:32:16 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:32:17 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:32:17 go: finding github.com/pelletier/go-toml v1.2.0 03:32:17 go: finding github.com/pkg/errors v0.8.1 03:32:17 go: finding github.com/pmezard/go-difflib v1.0.0 03:32:17 go: finding github.com/posener/complete v1.1.1 03:32:17 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:32:17 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:32:17 go: finding github.com/stretchr/objx v0.1.0 03:32:17 go: finding github.com/stretchr/testify v1.5.1 03:32:17 go: finding github.com/ugorji/go v1.1.4 03:32:17 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:32:17 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:32:17 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:32:17 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:32:17 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:32:17 go: finding gopkg.in/yaml.v2 v2.2.8 03:32:20 ---> Running in 19bbc2290c95 03:32:20 Removing intermediate container 19bbc2290c95 03:32:20 ---> 9ee4c252cba7 03:32:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:32:20 ---> Running in 87a8a5c76417 03:32:21 Removing intermediate container 0eeb0bedecde 03:32:21 ---> 62cd57a8a468 03:32:21 Successfully built 62cd57a8a468 03:32:21 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 03:32:22 Removing intermediate container 87a8a5c76417 03:32:22 ---> 6722157d46ba 03:32:22 Step 5/8 : RUN apk add --no-cache make git 03:32:22 ---> Running in 8e582a649972 03:32:22 + docker inspect -f . ci-base-image-x86_64 03:32:22 . [Pipeline] withDockerContainer 03:32:22 prd-centos7-docker-4c-2g-2347 does not seem to be running inside a container 03:32:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 ******** ci-base-image-x86_64 cat 03:32:23 $ docker top 6e7b4d12fd5c01fd75ed360578c6b76bd5e3b8ca903010c56e60d75c3e60467a -eo pid,comm [Pipeline] { 03:32:23 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [Pipeline] sh 03:32:23 + go version 03:32:23 go version go1.13.5 linux/amd64 [Pipeline] sh 03:32:23 + make test 03:32:23 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:32:24 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:32:24 OK: 125 MiB in 39 packages 03:32:24 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:32:25 Removing intermediate container 8e582a649972 03:32:25 ---> a6f87eab68fe 03:32:25 Step 6/8 : WORKDIR /device-sdk-go 03:32:25 ---> Running in 8febcf4b7ccd 03:32:26 Removing intermediate container 8febcf4b7ccd 03:32:26 ---> fab45078b4ae 03:32:26 Step 7/8 : COPY . . 03:32:27 ---> b885c85d9683 03:32:27 Step 8/8 : RUN go mod download 03:32:27 ---> Running in 3c19889838d1 03:32:29 go: finding github.com/BurntSushi/toml v0.3.1 03:32:29 go: finding github.com/OneOfOne/xxhash v1.2.6 03:32:29 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:32:29 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:32:29 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:32:29 go: finding github.com/bgentry/speakeasy v0.1.0 03:32:29 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:32:29 go: finding github.com/davecgh/go-spew v1.1.1 03:32:29 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 03:32:29 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:32:29 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 03:32:29 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:32:29 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:32:29 go: finding github.com/fatih/color v1.7.0 03:32:29 go: finding github.com/go-kit/kit v0.8.0 03:32:29 go: finding github.com/go-logfmt/logfmt v0.4.0 03:32:29 go: finding github.com/go-stack/stack v1.8.0 03:32:29 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:32:29 go: finding github.com/google/uuid v1.1.0 03:32:29 go: finding github.com/gorilla/mux v1.7.1 03:32:29 go: finding github.com/hashicorp/consul/api v1.1.0 03:32:29 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:32:29 go: finding github.com/hashicorp/errwrap v1.0.0 03:32:29 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:32:29 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:32:29 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:32:29 go: finding github.com/hashicorp/go-multierror v1.0.0 03:32:29 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:32:29 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:32:29 go: finding github.com/hashicorp/go-syslog v1.0.0 03:32:29 go: finding github.com/hashicorp/go-uuid v1.0.1 03:32:29 go: finding github.com/hashicorp/go.net v0.0.1 03:32:29 go: finding github.com/hashicorp/golang-lru v0.5.0 03:32:29 go: finding github.com/hashicorp/logutils v1.0.0 03:32:29 go: finding github.com/hashicorp/mdns v1.0.0 03:32:29 go: finding github.com/hashicorp/memberlist v0.1.3 03:32:29 go: finding github.com/hashicorp/serf v0.8.2 03:32:29 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:32:29 go: finding github.com/mattn/go-colorable v0.0.9 03:32:29 go: finding github.com/mattn/go-isatty v0.0.3 03:32:29 go: finding github.com/miekg/dns v1.0.14 03:32:29 go: finding github.com/mitchellh/cli v1.0.0 03:32:29 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:32:29 go: finding github.com/mitchellh/copystructure v1.0.0 03:32:29 go: finding github.com/mitchellh/go-homedir v1.0.0 03:32:29 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:32:29 go: finding github.com/mitchellh/gox v0.4.0 03:32:29 go: finding github.com/mitchellh/iochan v1.0.0 03:32:29 go: finding github.com/mitchellh/mapstructure v1.1.2 03:32:29 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:32:29 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:32:29 go: finding github.com/pelletier/go-toml v1.2.0 03:32:29 go: finding github.com/pkg/errors v0.8.1 03:32:29 go: finding github.com/pmezard/go-difflib v1.0.0 03:32:29 go: finding github.com/posener/complete v1.1.1 03:32:29 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:32:29 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:32:29 go: finding github.com/stretchr/objx v0.1.0 03:32:29 go: finding github.com/stretchr/testify v1.5.1 03:32:29 go: finding github.com/ugorji/go v1.1.4 03:32:29 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:32:29 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:32:29 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:32:29 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:32:30 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:32:30 go: finding gopkg.in/yaml.v2 v2.2.8 03:32:39 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:32:39 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:32:39 # github.com/edgexfoundry/device-sdk-go/internal/clients [github.com/edgexfoundry/device-sdk-go/internal/clients.test] 03:32:39 internal/clients/init_test.go:21:4: unknown field 'ClientInfo' in struct literal of type common.ClientInfo 03:32:40 Removing intermediate container 3c19889838d1 03:32:40 ---> d30c1651a962 03:32:40 Successfully built d30c1651a962 03:32:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:32:40 + docker inspect -f . ci-base-image-arm64 03:32:40 . [Pipeline] withDockerContainer 03:32:41 prd-ubuntu18.04-docker-arm64-4c-16g-2346 does not seem to be running inside a container 03:32:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 03:32:42 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 22.6% of statements 03:32:42 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements 03:32:42 FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] 03:32:42 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 21.7% of statements 03:32:42 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:32:42 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.138s coverage: 38.5% of statements 03:32:42 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:32:42 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 03:32:43 $ docker top f13ac40c7160858022b36cf93c4d38225e1e5afd661a341f8580ae17cefa43b7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:32:44 + go version 03:32:44 go version go1.13.5 linux/arm64 [Pipeline] sh 03:32:44 + make test 03:32:44 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:32:45 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:32:46 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.268s coverage: 79.9% of statements 03:32:46 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:32:46 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:32:46 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:32:46 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.040s coverage: 52.6% of statements 03:32:46 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.108s coverage: 76.1% of statements 03:32:46 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:32:46 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:32:46 FAIL 03:32:46 make: *** [Makefile:29: test] Error 2 [Pipeline] } 03:32:46 $ docker stop --time=1 6e7b4d12fd5c01fd75ed360578c6b76bd5e3b8ca903010c56e60d75c3e60467a 03:32:47 $ docker rm -f 6e7b4d12fd5c01fd75ed360578c6b76bd5e3b8ca903010c56e60d75c3e60467a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:32:48 Failed in branch amd64 03:33:24 # github.com/edgexfoundry/device-sdk-go/internal/clients [github.com/edgexfoundry/device-sdk-go/internal/clients.test] 03:33:24 internal/clients/init_test.go:21:4: unknown field 'ClientInfo' in struct literal of type common.ClientInfo 03:33:25 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:33:25 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:33:25 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.054s coverage: 22.6% of statements 03:33:26 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.189s coverage: 95.8% of statements 03:33:26 FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] 03:33:29 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.036s coverage: 21.7% of statements 03:33:29 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:33:33 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.256s coverage: 38.5% of statements 03:33:33 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:33:33 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 03:33:33 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.581s coverage: 79.9% of statements 03:33:33 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:33:33 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:33:33 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:33:33 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.058s coverage: 52.6% of statements 03:33:35 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.335s coverage: 76.1% of statements 03:33:35 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:33:35 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:33:35 FAIL 03:33:35 make: *** [Makefile:29: test] Error 2 [Pipeline] } 03:33:35 $ docker stop --time=1 f13ac40c7160858022b36cf93c4d38225e1e5afd661a341f8580ae17cefa43b7 03:33:37 $ docker rm -f f13ac40c7160858022b36cf93c4d38225e1e5afd661a341f8580ae17cefa43b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:33:38 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 03:33:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:33:40 ---> package-listing.sh 03:33:40 ++ facter osfamily 03:33:40 ++ tr '[:upper:]' '[:lower:]' 03:33:40 + OS_FAMILY=redhat 03:33:40 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-432 03:33:40 + START_PACKAGES=/tmp/packages_start.txt 03:33:40 + END_PACKAGES=/tmp/packages_end.txt 03:33:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:33:40 + PACKAGES=/tmp/packages_start.txt 03:33:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 03:33:40 + PACKAGES=/tmp/packages_end.txt 03:33:40 + case "${OS_FAMILY}" in 03:33:40 + rpm -qa 03:33:40 + sort 03:33:44 + '[' -f /tmp/packages_start.txt ']' 03:33:44 + '[' -f /tmp/packages_end.txt ']' 03:33:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:33:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 03:33:44 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ 03:33:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ [Pipeline] isUnix [Pipeline] sh 03:33:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:33:45 03:33:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:33:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:33:46 alpine: Pulling from edgex-lftools-log-publisher 03:33:46 c9b1b535fdd9: Pulling fs layer 03:33:46 2cc5ad85d9ab: Pulling fs layer 03:33:46 756a868c4378: Pulling fs layer 03:33:46 444b2fc9a129: Pulling fs layer 03:33:46 ea15f1150254: Pulling fs layer 03:33:46 41b27a9f41bf: Pulling fs layer 03:33:46 28c525ee5125: Pulling fs layer 03:33:46 094b1ea09ed8: Pulling fs layer 03:33:46 138eaada9080: Pulling fs layer 03:33:46 0622d0fa9048: Pulling fs layer 03:33:46 41b27a9f41bf: Waiting 03:33:46 444b2fc9a129: Waiting 03:33:46 ea15f1150254: Waiting 03:33:46 28c525ee5125: Waiting 03:33:46 094b1ea09ed8: Waiting 03:33:46 138eaada9080: Waiting 03:33:46 0622d0fa9048: Waiting 03:33:46 2cc5ad85d9ab: Download complete 03:33:46 444b2fc9a129: Verifying Checksum 03:33:46 444b2fc9a129: Download complete 03:33:46 c9b1b535fdd9: Download complete 03:33:46 ea15f1150254: Download complete 03:33:46 28c525ee5125: Verifying Checksum 03:33:46 28c525ee5125: Download complete 03:33:46 c9b1b535fdd9: Pull complete 03:33:46 756a868c4378: Verifying Checksum 03:33:46 756a868c4378: Download complete 03:33:46 138eaada9080: Verifying Checksum 03:33:46 138eaada9080: Download complete 03:33:46 2cc5ad85d9ab: Pull complete 03:33:46 094b1ea09ed8: Verifying Checksum 03:33:46 094b1ea09ed8: Download complete 03:33:46 0622d0fa9048: Verifying Checksum 03:33:46 0622d0fa9048: Download complete 03:33:47 41b27a9f41bf: Verifying Checksum 03:33:47 41b27a9f41bf: Download complete 03:33:48 756a868c4378: Pull complete 03:33:48 444b2fc9a129: Pull complete 03:33:49 ea15f1150254: Pull complete 03:33:53 41b27a9f41bf: Pull complete 03:33:53 28c525ee5125: Pull complete 03:33:55 094b1ea09ed8: Pull complete 03:33:55 138eaada9080: Pull complete 03:33:55 0622d0fa9048: Pull complete 03:33:55 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:33:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:33:56 prd-centos7-docker-4c-2g-2345 does not seem to be running inside a container 03:33:56 $ 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-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@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 03:33:56 $ docker top 7c9cf8dcb7a99ea039eb0d5ac567037d7e3b93f732530d9b82956d88ddebfe24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:33:57 provisioning config files... 03:33:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config5901542283973232159tmp [Pipeline] { [Pipeline] echo 03:33:57 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:33:57 ---> create-netrc.sh [Pipeline] echo 03:33:57 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:33:57 ---> logs-deploy.sh 03:33:57 + ARCHIVE_ARTIFACTS= 03:33:57 + LOGS_SERVER=https://logs.edgexfoundry.org 03:33:57 + '[' https://logs.edgexfoundry.org == None ']' 03:33:57 + NEXUS_URL=https://nexus.edgexfoundry.org 03:33:57 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/12 03:33:57 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/12/ 03:33:57 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/12 /w/workspace/dgexfoundry_device-sdk-go_PR-432 03:33:59 Archives upload complete. 03:33:59 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/12 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/12/