Pull request #447 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 brandonforster for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 79a40a317d1b6800d1816ffd538dea299a9d4c8b rather than 30e86e25716f55939028e204efa866500f969cd9 Obtained Jenkinsfile from 79a40a317d1b6800d1816ffd538dea299a9d4c8b 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-2442 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [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-447 # 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/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 79a40a317d1b6800d1816ffd538dea299a9d4c8b into PR head commit 30e86e25716f55939028e204efa866500f969cd9 Merge succeeded, producing 30e86e25716f55939028e204efa866500f969cd9 Checking out Revision 30e86e25716f55939028e204efa866500f969cd9 (PR-447) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # 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/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30e86e25716f55939028e204efa866500f969cd9 # 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 79a40a317d1b6800d1816ffd538dea299a9d4c8b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30e86e25716f55939028e204efa866500f969cd9 # timeout=10 Commit message: "#446: Refactored usage of service clients to be compatible with latest contracts changes." First time build. Skipping changelog. > git rev-list --no-walk 253bfd329dd1ea7fc22c5eed4f1cba51171da9b4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:03:46 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 20:03:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:03:48 20:03:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:03:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:03:48 latest: Pulling from edgex-devops/git-semver 20:03:48 9123ac7c32f7: Pulling fs layer 20:03:48 b8cc5d1170e3: Pulling fs layer 20:03:48 2924cbbf6a41: Pulling fs layer 20:03:48 93b08a4f1073: Pulling fs layer 20:03:48 93b08a4f1073: Waiting 20:03:48 b8cc5d1170e3: Verifying Checksum 20:03:48 b8cc5d1170e3: Download complete 20:03:48 9123ac7c32f7: Verifying Checksum 20:03:48 9123ac7c32f7: Download complete 20:03:48 2924cbbf6a41: Verifying Checksum 20:03:48 2924cbbf6a41: Download complete 20:03:48 93b08a4f1073: Verifying Checksum 20:03:48 93b08a4f1073: Download complete 20:03:48 9123ac7c32f7: Pull complete 20:03:49 b8cc5d1170e3: Pull complete 20:03:49 2924cbbf6a41: Pull complete 20:03:50 93b08a4f1073: Pull complete 20:03:50 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 20:03:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:03:50 prd-centos7-docker-4c-2g-2442 does not seem to be running inside a container 20:03:50 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-447 -v /w/workspace/dgexfoundry_device-sdk-go_PR-447:/w/workspace/dgexfoundry_device-sdk-go_PR-447:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-447@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 20:03:50 $ docker top 82561aa950a837fab1e04c5b8b7b93a8487a94d121fe99b242c6fd10c7b8583a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:03:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:51 [ssh-agent] Looking for ssh-agent implementation... 20:03:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:51 $ docker exec 82561aa950a837fab1e04c5b8b7b93a8487a94d121fe99b242c6fd10c7b8583a ssh-agent 20:03:51 SSH_AUTH_SOCK=/tmp/ssh-M5pIR7XmC39f/agent.15 20:03:51 SSH_AGENT_PID=22 20:03:51 Running ssh-add (command line suppressed) 20:03:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_6730807832347815711.key (/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_6730807832347815711.key) 20:03:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:52 + git describe --exact-match --tags HEAD 20:03:52 fatal: No names found, cannot describe anything. [Pipeline] } 20:03:52 $ docker exec --env ******** --env ******** 82561aa950a837fab1e04c5b8b7b93a8487a94d121fe99b242c6fd10c7b8583a ssh-agent -k 20:03:52 unset SSH_AUTH_SOCK; 20:03:52 unset SSH_AGENT_PID; 20:03:52 echo Agent pid 22 killed; 20:03:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:03:52 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:03:52 This usually means this commit has not been tagged. [Pipeline] sshagent 20:03:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:52 [ssh-agent] Looking for ssh-agent implementation... 20:03:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:52 $ docker exec 82561aa950a837fab1e04c5b8b7b93a8487a94d121fe99b242c6fd10c7b8583a ssh-agent 20:03:52 SSH_AUTH_SOCK=/tmp/ssh-lyIkj1JeQWcO/agent.58 20:03:52 SSH_AGENT_PID=65 20:03:52 Running ssh-add (command line suppressed) 20:03:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_8851413030275981494.key (/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_8851413030275981494.key) 20:03:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:53 + git semver init 20:03:53 # -> Open(): unable to determine branch for HEAD 20:03:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-447/.git 20:03:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-447 20:03:53 # $SEMVER_REMOTE_NAME = origin 20:03:53 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 20:03:53 # $SEMVER_USER_NAME = jenkins 20:03:53 # $SEMVER_BRANCH = PR-447 20:03:53 # $SEMVER_TEMP = /tmp/semver-296979377 20:03:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 20:03:53 # '/tmp/semver-296979377' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-447/.semver' 20:03:53 # -> Force: false 20:03:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-447/.semver [Pipeline] } 20:03:53 $ docker exec --env ******** --env ******** 82561aa950a837fab1e04c5b8b7b93a8487a94d121fe99b242c6fd10c7b8583a ssh-agent -k 20:03:54 unset SSH_AUTH_SOCK; 20:03:54 unset SSH_AGENT_PID; 20:03:54 echo Agent pid 65 killed; 20:03:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:03:54 + git semver [Pipeline] } 20:03:54 $ docker stop --time=1 82561aa950a837fab1e04c5b8b7b93a8487a94d121fe99b242c6fd10c7b8583a 20:03:55 $ docker rm -f 82561aa950a837fab1e04c5b8b7b93a8487a94d121fe99b242c6fd10c7b8583a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:03:56 Stashed 36 file(s) [Pipeline] echo 20:03:56 [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 20:04:12 Still waiting to schedule task 20:04:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:04:12 Still waiting to schedule task 20:04:12 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:05:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2444 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [Pipeline] { [Pipeline] ws 20:05:53 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 20:05:59 using credential edgex-jenkins-ssh 20:05:59 Cloning the remote Git repository 20:05:59 Cloning with configured refspecs honoured and without tags 20:05:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:05:59 > git init /w/workspace/device-sdk-go/13 # timeout=10 20:05:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:05:59 > git --version # timeout=10 20:05:59 using GIT_SSH to set credentials SSH Credentials for GitHub 20:05:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:06:00 Fetching without tags 20:06:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:06:00 > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # timeout=10 20:06:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:06:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:06:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:06:00 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:06:01 Merging remotes/origin/master commit 79a40a317d1b6800d1816ffd538dea299a9d4c8b into PR head commit 30e86e25716f55939028e204efa866500f969cd9 20:06:01 Merge succeeded, producing 30e86e25716f55939028e204efa866500f969cd9 20:06:01 Checking out Revision 30e86e25716f55939028e204efa866500f969cd9 (PR-447) 20:06:01 > git config core.sparsecheckout # timeout=10 20:06:01 > git checkout -f 30e86e25716f55939028e204efa866500f969cd9 # timeout=10 20:06:01 > git remote # timeout=10 20:06:01 > git config --get remote.origin.url # timeout=10 20:06:01 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:01 > git merge 79a40a317d1b6800d1816ffd538dea299a9d4c8b # timeout=10 20:06:01 > git rev-parse HEAD^{commit} # timeout=10 20:06:01 > git config core.sparsecheckout # timeout=10 20:06:01 > git checkout -f 30e86e25716f55939028e204efa866500f969cd9 # timeout=10 20:06:06 Commit message: "#446: Refactored usage of service clients to be compatible with latest contracts changes." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:06:07 ========================================================= 20:06:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 20:06:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:06:08 + 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 . 20:06:09 Sending build context to Docker daemon 2.815MB 20:06:09 Step 1/8 : ARG BASE=golang:1.13-alpine 20:06:09 Step 2/8 : FROM ${BASE} 20:06:09 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:06:09 cde5963f3b93: Pulling fs layer 20:06:09 2a23fa8c16f7: Pulling fs layer 20:06:09 777b28850792: Pulling fs layer 20:06:09 8a11ddd9e578: Pulling fs layer 20:06:09 4cf88f913ddb: Pulling fs layer 20:06:09 1df406cf5192: Pulling fs layer 20:06:09 cd6300453558: Pulling fs layer 20:06:09 b9c365052c96: Pulling fs layer 20:06:09 a2d8cc88f415: Pulling fs layer 20:06:09 8a11ddd9e578: Waiting 20:06:09 4cf88f913ddb: Waiting 20:06:09 1df406cf5192: Waiting 20:06:09 cd6300453558: Waiting 20:06:09 b9c365052c96: Waiting 20:06:09 a2d8cc88f415: Waiting 20:06:09 ea1d1ca13537: Pulling fs layer 20:06:09 3750a50a1c5e: Pulling fs layer 20:06:09 ea1d1ca13537: Waiting 20:06:09 3750a50a1c5e: Waiting 20:06:09 777b28850792: Verifying Checksum 20:06:09 777b28850792: Download complete 20:06:09 2a23fa8c16f7: Verifying Checksum 20:06:09 2a23fa8c16f7: Download complete 20:06:09 4cf88f913ddb: Verifying Checksum 20:06:09 4cf88f913ddb: Download complete 20:06:09 1df406cf5192: Download complete 20:06:09 cde5963f3b93: Verifying Checksum 20:06:10 cde5963f3b93: Pull complete 20:06:11 2a23fa8c16f7: Pull complete 20:06:11 777b28850792: Pull complete 20:06:14 cd6300453558: Verifying Checksum 20:06:14 cd6300453558: Download complete 20:06:14 a2d8cc88f415: Verifying Checksum 20:06:14 a2d8cc88f415: Download complete 20:06:14 Running on prd-centos7-docker-4c-2g-2445 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [Pipeline] { [Pipeline] ws 20:06:15 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 20:06:16 ea1d1ca13537: Verifying Checksum 20:06:16 ea1d1ca13537: Download complete 20:06:16 3750a50a1c5e: Verifying Checksum 20:06:16 3750a50a1c5e: Download complete 20:06:18 using credential edgex-jenkins-ssh 20:06:18 Cloning the remote Git repository 20:06:18 Cloning with configured refspecs honoured and without tags 20:06:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:06:18 > git init /w/workspace/device-sdk-go/13 # timeout=10 20:06:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:06:18 > git --version # timeout=10 20:06:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:06:19 Fetching without tags 20:06:19 Merging remotes/origin/master commit 79a40a317d1b6800d1816ffd538dea299a9d4c8b into PR head commit 30e86e25716f55939028e204efa866500f969cd9 20:06:19 b9c365052c96: Verifying Checksum 20:06:19 b9c365052c96: Download complete 20:06:19 Merge succeeded, producing 30e86e25716f55939028e204efa866500f969cd9 20:06:19 Checking out Revision 30e86e25716f55939028e204efa866500f969cd9 (PR-447) 20:06:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:06:19 > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # timeout=10 20:06:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:06:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:06:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:06:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:06:19 > git config core.sparsecheckout # timeout=10 20:06:19 > git checkout -f 30e86e25716f55939028e204efa866500f969cd9 # timeout=10 20:06:19 > git remote # timeout=10 20:06:19 > git config --get remote.origin.url # timeout=10 20:06:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:19 > git merge 79a40a317d1b6800d1816ffd538dea299a9d4c8b # timeout=10 20:06:19 > git rev-parse HEAD^{commit} # timeout=10 20:06:19 > git config core.sparsecheckout # timeout=10 20:06:19 > git checkout -f 30e86e25716f55939028e204efa866500f969cd9 # timeout=10 20:06:20 8a11ddd9e578: Verifying Checksum 20:06:20 8a11ddd9e578: Download complete 20:06:23 Commit message: "#446: Refactored usage of service clients to be compatible with latest contracts changes." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:06:24 ========================================================= 20:06:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 20:06:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:06:24 + 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 . 20:06:25 Sending build context to Docker daemon 2.818MB 20:06:25 Step 1/8 : ARG BASE=golang:1.13-alpine 20:06:25 Step 2/8 : FROM ${BASE} 20:06:25 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 20:06:25 e6b0cf9c0882: Pulling fs layer 20:06:25 2848faf0eed1: Pulling fs layer 20:06:25 0f37312ad70f: Pulling fs layer 20:06:25 5788d62ee057: Pulling fs layer 20:06:25 0e6b1d234666: Pulling fs layer 20:06:25 bf5d7aec512f: Pulling fs layer 20:06:25 34c802a77dc8: Pulling fs layer 20:06:25 9eb99e56ec68: Pulling fs layer 20:06:25 27c7a5d97fbd: Pulling fs layer 20:06:25 5c102a31e300: Pulling fs layer 20:06:25 dcfb455df0a1: Pulling fs layer 20:06:25 5788d62ee057: Waiting 20:06:25 0e6b1d234666: Waiting 20:06:25 bf5d7aec512f: Waiting 20:06:25 34c802a77dc8: Waiting 20:06:25 5c102a31e300: Waiting 20:06:25 9eb99e56ec68: Waiting 20:06:25 dcfb455df0a1: Waiting 20:06:25 27c7a5d97fbd: Waiting 20:06:25 0f37312ad70f: Verifying Checksum 20:06:25 0f37312ad70f: Download complete 20:06:25 2848faf0eed1: Download complete 20:06:25 0e6b1d234666: Verifying Checksum 20:06:25 0e6b1d234666: Download complete 20:06:25 bf5d7aec512f: Verifying Checksum 20:06:25 bf5d7aec512f: Download complete 20:06:25 e6b0cf9c0882: Verifying Checksum 20:06:25 e6b0cf9c0882: Pull complete 20:06:25 2848faf0eed1: Pull complete 20:06:26 0f37312ad70f: Pull complete 20:06:26 34c802a77dc8: Verifying Checksum 20:06:26 34c802a77dc8: Download complete 20:06:26 27c7a5d97fbd: Verifying Checksum 20:06:26 27c7a5d97fbd: Download complete 20:06:26 9eb99e56ec68: Verifying Checksum 20:06:26 9eb99e56ec68: Download complete 20:06:26 5c102a31e300: Download complete 20:06:26 dcfb455df0a1: Verifying Checksum 20:06:26 dcfb455df0a1: Download complete 20:06:27 5788d62ee057: Verifying Checksum 20:06:27 5788d62ee057: Download complete 20:06:33 8a11ddd9e578: Pull complete 20:06:33 4cf88f913ddb: Pull complete 20:06:33 1df406cf5192: Pull complete 20:06:34 5788d62ee057: Pull complete 20:06:34 0e6b1d234666: Pull complete 20:06:34 bf5d7aec512f: Pull complete 20:06:38 cd6300453558: Pull complete 20:06:40 34c802a77dc8: Pull complete 20:06:42 b9c365052c96: Pull complete 20:06:43 a2d8cc88f415: Pull complete 20:06:44 9eb99e56ec68: Pull complete 20:06:44 27c7a5d97fbd: Pull complete 20:06:44 5c102a31e300: Pull complete 20:06:45 dcfb455df0a1: Pull complete 20:06:45 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 20:06:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 20:06:45 ---> 7c70fe431013 20:06:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:06:45 ---> Running in b065520b980e 20:06:45 ea1d1ca13537: Pull complete 20:06:45 Removing intermediate container b065520b980e 20:06:45 ---> c598853c8562 20:06:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:45 ---> Running in cac8678752c5 20:06:45 3750a50a1c5e: Pull complete 20:06:45 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 20:06:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 20:06:45 ---> 78745c68409d 20:06:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:06:46 Removing intermediate container cac8678752c5 20:06:46 ---> 928971b0224d 20:06:46 Step 5/8 : RUN apk add --no-cache make git 20:06:46 ---> Running in a6c966d78682 20:06:47 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 20:06:47 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 20:06:47 OK: 143 MiB in 39 packages 20:06:48 Removing intermediate container a6c966d78682 20:06:48 ---> 8a26240761c5 20:06:48 Step 6/8 : WORKDIR /device-sdk-go 20:06:48 ---> Running in de7d4e984185 20:06:48 Removing intermediate container de7d4e984185 20:06:48 ---> 174a50dbcc03 20:06:48 Step 7/8 : COPY . . 20:06:48 ---> bf3be0987d82 20:06:48 Step 8/8 : RUN go mod download 20:06:48 ---> Running in 7f25d6ff97b3 20:06:49 ---> Running in 080eee2e9cee 20:06:50 Removing intermediate container 080eee2e9cee 20:06:50 ---> a4a58dbfd30b 20:06:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:50 ---> Running in 891c64a4c723 20:06:50 go: finding github.com/BurntSushi/toml v0.3.1 20:06:50 go: finding github.com/OneOfOne/xxhash v1.2.6 20:06:51 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:06:51 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:06:51 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:06:51 go: finding github.com/bgentry/speakeasy v0.1.0 20:06:51 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:06:51 go: finding github.com/davecgh/go-spew v1.1.1 20:06:51 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 20:06:51 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:06:51 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 20:06:51 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 20:06:51 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:06:51 go: finding github.com/fatih/color v1.7.0 20:06:51 go: finding github.com/go-kit/kit v0.8.0 20:06:51 go: finding github.com/go-logfmt/logfmt v0.4.0 20:06:51 go: finding github.com/go-stack/stack v1.8.0 20:06:51 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:06:51 go: finding github.com/google/uuid v1.1.0 20:06:51 go: finding github.com/gorilla/mux v1.7.1 20:06:51 go: finding github.com/hashicorp/consul/api v1.1.0 20:06:51 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:06:51 go: finding github.com/hashicorp/errwrap v1.0.0 20:06:51 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:06:51 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:06:51 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:06:51 go: finding github.com/hashicorp/go-multierror v1.0.0 20:06:51 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:06:51 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:06:51 go: finding github.com/hashicorp/go-syslog v1.0.0 20:06:51 go: finding github.com/hashicorp/go-uuid v1.0.1 20:06:51 go: finding github.com/hashicorp/go.net v0.0.1 20:06:51 go: finding github.com/hashicorp/golang-lru v0.5.0 20:06:51 go: finding github.com/hashicorp/logutils v1.0.0 20:06:51 go: finding github.com/hashicorp/mdns v1.0.0 20:06:51 go: finding github.com/hashicorp/memberlist v0.1.3 20:06:51 go: finding github.com/hashicorp/serf v0.8.2 20:06:51 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:06:51 go: finding github.com/mattn/go-colorable v0.0.9 20:06:51 go: finding github.com/mattn/go-isatty v0.0.3 20:06:51 go: finding github.com/miekg/dns v1.0.14 20:06:51 go: finding github.com/mitchellh/cli v1.0.0 20:06:51 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:06:51 go: finding github.com/mitchellh/copystructure v1.0.0 20:06:51 go: finding github.com/mitchellh/go-homedir v1.0.0 20:06:51 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:06:51 go: finding github.com/mitchellh/gox v0.4.0 20:06:51 go: finding github.com/mitchellh/iochan v1.0.0 20:06:51 go: finding github.com/mitchellh/mapstructure v1.1.2 20:06:51 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:06:51 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:06:51 go: finding github.com/pelletier/go-toml v1.2.0 20:06:51 go: finding github.com/pkg/errors v0.8.1 20:06:51 go: finding github.com/pmezard/go-difflib v1.0.0 20:06:51 go: finding github.com/posener/complete v1.1.1 20:06:51 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:06:51 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:06:52 go: finding github.com/stretchr/objx v0.1.0 20:06:52 go: finding github.com/stretchr/testify v1.5.1 20:06:52 go: finding github.com/ugorji/go v1.1.4 20:06:52 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:06:52 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:06:52 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:06:52 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:06:52 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:06:52 go: finding gopkg.in/yaml.v2 v2.2.8 20:06:52 Removing intermediate container 891c64a4c723 20:06:52 ---> e0ce96a469fb 20:06:52 Step 5/8 : RUN apk add --no-cache make git 20:06:52 ---> Running in de05f870030f 20:06:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 20:06:54 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 20:06:55 OK: 125 MiB in 39 packages 20:06:56 Removing intermediate container de05f870030f 20:06:56 ---> 2850154fc8e4 20:06:56 Step 6/8 : WORKDIR /device-sdk-go 20:06:56 ---> Running in f97cd22b55b8 20:06:56 Removing intermediate container f97cd22b55b8 20:06:56 ---> 09b03ccacfe5 20:06:56 Step 7/8 : COPY . . 20:06:57 Removing intermediate container 7f25d6ff97b3 20:06:57 ---> 328e7cce9a7d 20:06:57 Successfully built 328e7cce9a7d 20:06:57 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 20:06:57 ---> 931024f0c9cf 20:06:57 Step 8/8 : RUN go mod download 20:06:57 ---> Running in 7a08c09b4bb7 20:06:58 + docker inspect -f . ci-base-image-x86_64 20:06:58 . [Pipeline] withDockerContainer 20:06:58 prd-centos7-docker-4c-2g-2445 does not seem to be running inside a container 20:06:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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 20:06:59 $ docker top a23279487d084bccd6e5973ab366f3c78abf9a2d3c43a706d82d2ee8a3cf10e5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:59 go: finding github.com/BurntSushi/toml v0.3.1 20:06:59 go: finding github.com/OneOfOne/xxhash v1.2.6 20:06:59 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:06:59 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:06:59 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:06:59 go: finding github.com/bgentry/speakeasy v0.1.0 20:06:59 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:06:59 go: finding github.com/davecgh/go-spew v1.1.1 20:06:59 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 20:06:59 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:06:59 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 20:06:59 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 20:06:59 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:06:59 go: finding github.com/fatih/color v1.7.0 20:06:59 go: finding github.com/go-kit/kit v0.8.0 20:06:59 go: finding github.com/go-logfmt/logfmt v0.4.0 20:06:59 go: finding github.com/go-stack/stack v1.8.0 20:06:59 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:06:59 go: finding github.com/google/uuid v1.1.0 20:06:59 go: finding github.com/gorilla/mux v1.7.1 20:06:59 go: finding github.com/hashicorp/consul/api v1.1.0 20:06:59 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:06:59 go: finding github.com/hashicorp/errwrap v1.0.0 20:06:59 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:06:59 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:06:59 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:06:59 go: finding github.com/hashicorp/go-multierror v1.0.0 20:06:59 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:06:59 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:06:59 go: finding github.com/hashicorp/go-syslog v1.0.0 20:06:59 go: finding github.com/hashicorp/go-uuid v1.0.1 20:06:59 go: finding github.com/hashicorp/go.net v0.0.1 20:06:59 go: finding github.com/hashicorp/golang-lru v0.5.0 20:06:59 go: finding github.com/hashicorp/logutils v1.0.0 20:06:59 go: finding github.com/hashicorp/mdns v1.0.0 20:06:59 go: finding github.com/hashicorp/memberlist v0.1.3 20:07:00 + go version 20:07:00 go version go1.13.5 linux/amd64 [Pipeline] sh 20:07:00 go: finding github.com/hashicorp/serf v0.8.2 20:07:00 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:07:00 go: finding github.com/mattn/go-colorable v0.0.9 20:07:00 go: finding github.com/mattn/go-isatty v0.0.3 20:07:00 go: finding github.com/miekg/dns v1.0.14 20:07:00 go: finding github.com/mitchellh/cli v1.0.0 20:07:00 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:07:00 go: finding github.com/mitchellh/copystructure v1.0.0 20:07:00 go: finding github.com/mitchellh/go-homedir v1.0.0 20:07:00 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:07:00 go: finding github.com/mitchellh/gox v0.4.0 20:07:00 go: finding github.com/mitchellh/iochan v1.0.0 20:07:00 go: finding github.com/mitchellh/mapstructure v1.1.2 20:07:00 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:07:00 + make test 20:07:00 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:07:00 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:07:00 go: finding github.com/pelletier/go-toml v1.2.0 20:07:00 go: finding github.com/pkg/errors v0.8.1 20:07:00 go: finding github.com/pmezard/go-difflib v1.0.0 20:07:00 go: finding github.com/posener/complete v1.1.1 20:07:00 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:07:00 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:07:00 go: finding github.com/stretchr/objx v0.1.0 20:07:00 go: finding github.com/stretchr/testify v1.5.1 20:07:00 go: finding github.com/ugorji/go v1.1.4 20:07:00 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:07:00 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:07:00 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:07:00 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:07:00 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:07:00 go: finding gopkg.in/yaml.v2 v2.2.8 20:07:01 ? github.com/edgexfoundry/device-sdk-go [no test files] 20:07:10 Removing intermediate container 7a08c09b4bb7 20:07:10 ---> 2becf1594ee2 20:07:10 Successfully built 2becf1594ee2 20:07:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:07:11 + docker inspect -f . ci-base-image-arm64 20:07:11 . [Pipeline] withDockerContainer 20:07:11 prd-ubuntu18.04-docker-arm64-4c-16g-2444 does not seem to be running inside a container 20:07:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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 20:07:13 $ docker top 6f82d8d25ccf07c8e58deb17f99089d907e438cb88860eab7f8c363e9bd1c344 -eo pid,comm [Pipeline] { [Pipeline] sh 20:07:14 + go version 20:07:14 go version go1.13.5 linux/arm64 [Pipeline] sh 20:07:15 + make test 20:07:15 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:07:15 # github.com/edgexfoundry/device-sdk-go/internal/urlclient 20:07:15 internal/urlclient/factory.go:46:9: undefined: common.ClientInfo 20:07:16 ? github.com/edgexfoundry/device-sdk-go [no test files] 20:07:21 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 22.6% of statements 20:07:21 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.113s coverage: 95.8% of statements 20:07:21 FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] 20:07:21 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 22.7% of statements 20:07:21 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.154s coverage: 38.5% of statements 20:07:24 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.619s coverage: 79.9% of statements 20:07:24 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.143s coverage: 52.6% of statements 20:07:24 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.121s coverage: 76.1% of statements 20:07:24 make: *** [Makefile:29: test] Error 2 [Pipeline] } 20:07:24 $ docker stop --time=1 a23279487d084bccd6e5973ab366f3c78abf9a2d3c43a706d82d2ee8a3cf10e5 20:07:25 $ docker rm -f a23279487d084bccd6e5973ab366f3c78abf9a2d3c43a706d82d2ee8a3cf10e5 [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] } 20:07:26 Failed in branch amd64 20:07:55 # github.com/edgexfoundry/device-sdk-go/internal/urlclient 20:07:55 internal/urlclient/factory.go:46:9: undefined: common.ClientInfo 20:07:56 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.070s coverage: 22.6% of statements 20:07:57 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.281s coverage: 95.8% of statements 20:07:57 FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] 20:07:57 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.029s coverage: 22.7% of statements 20:08:02 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.174s coverage: 38.5% of statements 20:08:02 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.804s coverage: 79.9% of statements 20:08:02 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements 20:08:03 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.333s coverage: 76.1% of statements 20:08:03 make: *** [Makefile:29: test] Error 2 [Pipeline] } 20:08:03 $ docker stop --time=1 6f82d8d25ccf07c8e58deb17f99089d907e438cb88860eab7f8c363e9bd1c344 20:08:06 $ docker rm -f 6f82d8d25ccf07c8e58deb17f99089d907e438cb88860eab7f8c363e9bd1c344 [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] } 20:08:07 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 20:08:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:08:09 ---> package-listing.sh 20:08:09 ++ facter osfamily 20:08:09 ++ tr '[:upper:]' '[:lower:]' 20:08:09 + OS_FAMILY=redhat 20:08:09 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-447 20:08:09 + START_PACKAGES=/tmp/packages_start.txt 20:08:09 + END_PACKAGES=/tmp/packages_end.txt 20:08:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:08:09 + PACKAGES=/tmp/packages_start.txt 20:08:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-447 ']' 20:08:09 + PACKAGES=/tmp/packages_end.txt 20:08:09 + case "${OS_FAMILY}" in 20:08:09 + rpm -qa 20:08:09 + sort 20:08:13 + '[' -f /tmp/packages_start.txt ']' 20:08:13 + '[' -f /tmp/packages_end.txt ']' 20:08:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:08:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-447 ']' 20:08:13 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-447/archives/ 20:08:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-447/archives/ [Pipeline] isUnix [Pipeline] sh 20:08:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:08:13 20:08:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:08:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:08:14 alpine: Pulling from edgex-lftools-log-publisher 20:08:14 c9b1b535fdd9: Pulling fs layer 20:08:14 2cc5ad85d9ab: Pulling fs layer 20:08:14 756a868c4378: Pulling fs layer 20:08:14 444b2fc9a129: Pulling fs layer 20:08:14 ea15f1150254: Pulling fs layer 20:08:14 41b27a9f41bf: Pulling fs layer 20:08:14 28c525ee5125: Pulling fs layer 20:08:14 094b1ea09ed8: Pulling fs layer 20:08:14 138eaada9080: Pulling fs layer 20:08:14 0622d0fa9048: Pulling fs layer 20:08:14 41b27a9f41bf: Waiting 20:08:14 28c525ee5125: Waiting 20:08:14 094b1ea09ed8: Waiting 20:08:14 138eaada9080: Waiting 20:08:14 0622d0fa9048: Waiting 20:08:14 444b2fc9a129: Waiting 20:08:14 ea15f1150254: Waiting 20:08:14 2cc5ad85d9ab: Verifying Checksum 20:08:14 2cc5ad85d9ab: Download complete 20:08:14 444b2fc9a129: Verifying Checksum 20:08:14 444b2fc9a129: Download complete 20:08:14 c9b1b535fdd9: Verifying Checksum 20:08:14 c9b1b535fdd9: Download complete 20:08:14 ea15f1150254: Verifying Checksum 20:08:14 ea15f1150254: Download complete 20:08:14 28c525ee5125: Verifying Checksum 20:08:14 28c525ee5125: Download complete 20:08:14 756a868c4378: Verifying Checksum 20:08:14 756a868c4378: Download complete 20:08:14 c9b1b535fdd9: Pull complete 20:08:14 138eaada9080: Verifying Checksum 20:08:14 138eaada9080: Download complete 20:08:14 0622d0fa9048: Verifying Checksum 20:08:14 0622d0fa9048: Download complete 20:08:14 094b1ea09ed8: Verifying Checksum 20:08:14 094b1ea09ed8: Download complete 20:08:14 2cc5ad85d9ab: Pull complete 20:08:15 41b27a9f41bf: Verifying Checksum 20:08:15 41b27a9f41bf: Download complete 20:08:16 756a868c4378: Pull complete 20:08:16 444b2fc9a129: Pull complete 20:08:16 ea15f1150254: Pull complete 20:08:20 41b27a9f41bf: Pull complete 20:08:20 28c525ee5125: Pull complete 20:08:22 094b1ea09ed8: Pull complete 20:08:22 138eaada9080: Pull complete 20:08:22 0622d0fa9048: Pull complete 20:08:22 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 20:08:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:08:22 prd-centos7-docker-4c-2g-2442 does not seem to be running inside a container 20:08:22 $ 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-447 -v /w/workspace/dgexfoundry_device-sdk-go_PR-447:/w/workspace/dgexfoundry_device-sdk-go_PR-447:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-447@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 20:08:23 $ docker top 3ea6f85725b01a40aded07877a4a96c0b2ba4dc80064f50a804c13b88fafe2ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:08:23 provisioning config files... 20:08:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config1639096192641439038tmp [Pipeline] { [Pipeline] echo 20:08:23 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:08:23 ---> create-netrc.sh [Pipeline] echo 20:08:23 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:08:24 ---> logs-deploy.sh 20:08:24 + ARCHIVE_ARTIFACTS= 20:08:24 + LOGS_SERVER=https://logs.edgexfoundry.org 20:08:24 + '[' https://logs.edgexfoundry.org == None ']' 20:08:24 + NEXUS_URL=https://nexus.edgexfoundry.org 20:08:24 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/13 20:08:24 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-447/13/ 20:08:24 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/13 /w/workspace/dgexfoundry_device-sdk-go_PR-447 20:08:25 Archives upload complete. 20:08:25 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/13 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-447/13/ 20:08:26 ---> uname -a: 20:08:26 Linux 3ea6f85725b0 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 20:08:26 20:08:26 20:08:26 ---> lscpu: 20:08:26 Architecture: x86_64 20:08:26 CPU op-mode(s): 32-bit, 64-bit 20:08:26 Byte Order: Little Endian 20:08:26 Address sizes: 40 bits physical, 48 bits virtual 20:08:26 CPU(s): 4 20:08:26 On-line CPU(s) list: 0-3 20:08:26 Thread(s) per core: 1 20:08:26 Core(s) per socket: 1 20:08:26 Socket(s): 4 20:08:26 NUMA node(s): 1 20:08:26 Vendor ID: GenuineIntel 20:08:26 CPU family: 6 20:08:26 Model: 44 20:08:26 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:08:26 Stepping: 1 20:08:26 CPU MHz: 2933.396 20:08:26 BogoMIPS: 5866.79 20:08:26 Virtualization: VT-x 20:08:26 Hypervisor vendor: KVM 20:08:26 Virtualization type: full 20:08:26 L1d cache: 128 KiB 20:08:26 L1i cache: 128 KiB 20:08:26 L2 cache: 16 MiB 20:08:26 L3 cache: 64 MiB 20:08:26 NUMA node0 CPU(s): 0-3 20:08:26 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 20:08:26 Vulnerability Meltdown: Mitigation; PTI 20:08:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:08:26 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 20:08:26 Vulnerability Spectre v2: Mitigation; Full retpoline 20:08:26 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 20:08:26 20:08:26 20:08:26 ---> nproc: 20:08:26 4 20:08:26 20:08:26 20:08:26 ---> df -h: 20:08:26 Filesystem Size Used Available Use% Mounted on 20:08:26 overlay 50.0G 6.3G 43.7G 13% / 20:08:26 tmpfs 64.0M 0 64.0M 0% /dev 20:08:26 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 20:08:26 shm 64.0M 0 64.0M 0% /dev/shm 20:08:26 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 20:08:26 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 20:08:26 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 20:08:26 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 20:08:26 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-447 20:08:26 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp 20:08:26 20:08:26 20:08:26 ---> free -m: 20:08:26 total used free shared buff/cache available 20:08:26 Mem: 1838 605 63 0 1169 1127 20:08:26 Swap: 1023 1 1022 20:08:26 20:08:26 20:08:26 ---> ip addr: 20:08:26 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:08:26 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:08:26 inet 127.0.0.1/8 scope host lo 20:08:26 valid_lft forever preferred_lft forever 20:08:26 6: eth0@if7: mtu 1458 qdisc noqueue state UP 20:08:26 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 20:08:26 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 20:08:26 valid_lft forever preferred_lft forever 20:08:26 20:08:26 20:08:26 ---> sar -b -r -n DEV: 20:08:26 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/06/20 _x86_64_ (4 CPU) 20:08:26 20:08:26 20:03:09 LINUX RESTART 20:08:26 20:08:26 20:04:01 tps rtps wtps bread/s bwrtn/s 20:08:26 20:05:01 10.11 0.12 9.99 3.73 2179.36 20:08:26 20:06:01 2.95 0.00 2.95 0.00 93.64 20:08:26 20:07:01 0.70 0.00 0.70 0.00 8.28 20:08:26 20:08:01 0.53 0.00 0.53 0.00 5.96 20:08:26 Average: 3.57 0.03 3.54 0.93 571.81 20:08:26 20:08:26 20:04:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:08:26 20:05:01 109656 1772648 94.17 2620 1236244 948632 32.37 420692 1193664 8 20:08:26 20:06:01 114236 1768068 93.93 2620 1236248 901344 30.75 419208 1191932 8 20:08:26 20:07:01 114348 1767956 93.93 2620 1236256 901296 30.75 418832 1191932 8 20:08:26 20:08:01 115432 1766872 93.87 2620 1236260 901104 30.75 417892 1191932 12 20:08:26 Average: 113418 1768886 93.97 2620 1236252 913094 31.15 419156 1192365 9 20:08:26 20:08:26 20:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 20:08:26 20:05:01 eth0 1.57 0.50 0.73 0.26 0.00 0.00 0.00 20:08:26 20:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:08:26 20:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:08:26 20:06:01 eth0 2.00 0.65 1.26 0.22 0.00 0.00 0.00 20:08:26 20:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:08:26 20:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:08:26 20:07:01 eth0 0.50 0.37 0.27 0.20 0.00 0.00 0.00 20:08:26 20:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:08:26 20:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:08:26 20:08:01 eth0 0.03 0.02 0.00 0.00 0.00 0.00 0.00 20:08:26 20:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:08:26 20:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:08:26 Average: eth0 1.02 0.38 0.57 0.17 0.00 0.00 0.00 20:08:26 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:08:26 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:08:26 20:08:26 20:08:26 ---> sar -P ALL: 20:08:26 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/06/20 _x86_64_ (4 CPU) 20:08:26 20:08:26 20:03:09 LINUX RESTART 20:08:26 20:08:26 20:04:01 CPU %user %nice %system %iowait %steal %idle 20:08:26 20:05:01 all 0.22 0.00 0.12 0.02 0.00 99.64 20:08:26 20:05:01 0 0.05 0.00 0.10 0.00 0.00 99.85 20:08:26 20:05:01 1 0.63 0.00 0.22 0.08 0.00 99.07 20:08:26 20:05:01 2 0.10 0.00 0.08 0.00 0.00 99.82 20:08:26 20:05:01 3 0.08 0.00 0.10 0.00 0.00 99.82 20:08:26 20:06:01 all 0.18 0.00 0.05 0.00 0.00 99.77 20:08:26 20:06:01 0 0.07 0.00 0.07 0.00 0.00 99.87 20:08:26 20:06:01 1 0.50 0.00 0.03 0.00 0.00 99.47 20:08:26 20:06:01 2 0.07 0.00 0.03 0.00 0.00 99.90 20:08:26 20:06:01 3 0.08 0.00 0.07 0.00 0.00 99.85 20:08:26 20:07:01 all 0.15 0.00 0.05 0.00 0.00 99.80 20:08:26 20:07:01 0 0.03 0.00 0.03 0.00 0.00 99.93 20:08:26 20:07:01 1 0.07 0.00 0.07 0.00 0.00 99.87 20:08:26 20:07:01 2 0.05 0.00 0.05 0.00 0.00 99.90 20:08:26 20:07:01 3 0.47 0.00 0.02 0.00 0.00 99.52 20:08:26 20:08:01 all 0.16 0.00 0.04 0.00 0.00 99.80 20:08:26 20:08:01 0 0.05 0.00 0.03 0.00 0.00 99.92 20:08:26 20:08:01 1 0.50 0.00 0.03 0.00 0.00 99.47 20:08:26 20:08:01 2 0.05 0.00 0.03 0.00 0.02 99.90 20:08:26 20:08:01 3 0.03 0.00 0.05 0.00 0.02 99.90 20:08:26 Average: all 0.18 0.00 0.06 0.01 0.00 99.75 20:08:26 Average: 0 0.05 0.00 0.06 0.00 0.00 99.89 20:08:26 Average: 1 0.43 0.00 0.09 0.02 0.00 99.47 20:08:26 Average: 2 0.07 0.00 0.05 0.00 0.00 99.88 20:08:26 Average: 3 0.17 0.00 0.06 0.00 0.00 99.77 20:08:26 20:08:26 20:08:26