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 a50d6b06f0992baef6a08096411198deb3735a9c 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-2458 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 Fetching 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 > 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 Merging remotes/origin/master commit 79a40a317d1b6800d1816ffd538dea299a9d4c8b into PR head commit a50d6b06f0992baef6a08096411198deb3735a9c Merge succeeded, producing a50d6b06f0992baef6a08096411198deb3735a9c Checking out Revision a50d6b06f0992baef6a08096411198deb3735a9c (PR-447) > git config core.sparsecheckout # timeout=10 > git checkout -f a50d6b06f0992baef6a08096411198deb3735a9c # 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 a50d6b06f0992baef6a08096411198deb3735a9c # timeout=10 Commit message: "#446: Refactored usage of service clients to be compatible with latest contracts changes." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:37:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk f4d9378bf7d2b07408b1f0d09247bf81bc462138 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 21:37:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:37:23 21:37:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:37:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:37:24 latest: Pulling from edgex-devops/git-semver 21:37:24 9123ac7c32f7: Pulling fs layer 21:37:24 b8cc5d1170e3: Pulling fs layer 21:37:24 2924cbbf6a41: Pulling fs layer 21:37:24 93b08a4f1073: Pulling fs layer 21:37:24 93b08a4f1073: Waiting 21:37:24 b8cc5d1170e3: Verifying Checksum 21:37:24 b8cc5d1170e3: Download complete 21:37:24 9123ac7c32f7: Verifying Checksum 21:37:24 9123ac7c32f7: Download complete 21:37:24 93b08a4f1073: Verifying Checksum 21:37:24 93b08a4f1073: Download complete 21:37:24 2924cbbf6a41: Verifying Checksum 21:37:24 2924cbbf6a41: Download complete 21:37:24 9123ac7c32f7: Pull complete 21:37:24 b8cc5d1170e3: Pull complete 21:37:25 2924cbbf6a41: Pull complete 21:37:25 93b08a4f1073: Pull complete 21:37:25 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 21:37:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:37:25 prd-centos7-docker-4c-2g-2458 does not seem to be running inside a container 21:37:25 $ 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 21:37:26 $ docker top d94795c4a6b6f64797be9f2246593ebf4898bed1007cf933652bea896a45b9a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:37:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:37:26 [ssh-agent] Looking for ssh-agent implementation... 21:37:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:37:27 $ docker exec d94795c4a6b6f64797be9f2246593ebf4898bed1007cf933652bea896a45b9a7 ssh-agent 21:37:27 SSH_AUTH_SOCK=/tmp/ssh-pECJ7Z2BSLIy/agent.14 21:37:27 SSH_AGENT_PID=21 21:37:27 Running ssh-add (command line suppressed) 21:37:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_3265980658875256037.key (/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_3265980658875256037.key) 21:37:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:37:27 + git describe --exact-match --tags HEAD 21:37:27 fatal: No names found, cannot describe anything. [Pipeline] } 21:37:28 $ docker exec --env ******** --env ******** d94795c4a6b6f64797be9f2246593ebf4898bed1007cf933652bea896a45b9a7 ssh-agent -k 21:37:28 unset SSH_AUTH_SOCK; 21:37:28 unset SSH_AGENT_PID; 21:37:28 echo Agent pid 21 killed; 21:37:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:37:28 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 21:37:28 This usually means this commit has not been tagged. [Pipeline] sshagent 21:37:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:37:28 [ssh-agent] Looking for ssh-agent implementation... 21:37:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:37:28 $ docker exec d94795c4a6b6f64797be9f2246593ebf4898bed1007cf933652bea896a45b9a7 ssh-agent 21:37:28 SSH_AUTH_SOCK=/tmp/ssh-DJHBKsidqtl5/agent.55 21:37:28 SSH_AGENT_PID=61 21:37:28 Running ssh-add (command line suppressed) 21:37:28 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_4915202379267615327.key (/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/private_key_4915202379267615327.key) 21:37:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:37:29 + git semver init 21:37:29 # -> Open(): unable to determine branch for HEAD 21:37:29 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-447/.git 21:37:29 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-447 21:37:29 # $SEMVER_REMOTE_NAME = origin 21:37:29 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 21:37:29 # $SEMVER_USER_NAME = jenkins 21:37:29 # $SEMVER_BRANCH = PR-447 21:37:29 # $SEMVER_TEMP = /tmp/semver-122574349 21:37:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 21:37:29 # '/tmp/semver-122574349' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-447/.semver' 21:37:29 # -> Force: false 21:37:29 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-447/.semver [Pipeline] } 21:37:29 $ docker exec --env ******** --env ******** d94795c4a6b6f64797be9f2246593ebf4898bed1007cf933652bea896a45b9a7 ssh-agent -k 21:37:29 unset SSH_AUTH_SOCK; 21:37:30 unset SSH_AGENT_PID; 21:37:30 echo Agent pid 61 killed; 21:37:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:37:30 + git semver [Pipeline] } 21:37:30 $ docker stop --time=1 d94795c4a6b6f64797be9f2246593ebf4898bed1007cf933652bea896a45b9a7 21:37:31 $ docker rm -f d94795c4a6b6f64797be9f2246593ebf4898bed1007cf933652bea896a45b9a7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 21:37:32 Stashed 36 file(s) [Pipeline] echo 21:37:32 [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 21:37:47 Still waiting to schedule task 21:37:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:37:47 Still waiting to schedule task 21:37:47 ‘prd-centos7-docker-4c-2g-1660’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1788’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2457’ is offline 21:41:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2460 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [Pipeline] { [Pipeline] ws 21:41:18 Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout 21:41:24 using credential edgex-jenkins-ssh 21:41:24 Cloning the remote Git repository 21:41:24 Cloning with configured refspecs honoured and without tags 21:41:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:41:24 > git init /w/workspace/device-sdk-go/15 # timeout=10 21:41:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:41:24 > git --version # timeout=10 21:41:24 using GIT_SSH to set credentials SSH Credentials for GitHub 21:41:25 > 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 21:41:26 Fetching without tags 21:41:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:41:26 > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # timeout=10 21:41:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:41:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:41:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:41:26 using GIT_SSH to set credentials SSH Credentials for GitHub 21:41:26 > 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 21:41:26 Merging remotes/origin/master commit 79a40a317d1b6800d1816ffd538dea299a9d4c8b into PR head commit a50d6b06f0992baef6a08096411198deb3735a9c 21:41:27 Merge succeeded, producing a50d6b06f0992baef6a08096411198deb3735a9c 21:41:27 Checking out Revision a50d6b06f0992baef6a08096411198deb3735a9c (PR-447) 21:41:26 > git config core.sparsecheckout # timeout=10 21:41:26 > git checkout -f a50d6b06f0992baef6a08096411198deb3735a9c # timeout=10 21:41:26 > git remote # timeout=10 21:41:27 > git config --get remote.origin.url # timeout=10 21:41:27 using GIT_SSH to set credentials SSH Credentials for GitHub 21:41:27 > git merge 79a40a317d1b6800d1816ffd538dea299a9d4c8b # timeout=10 21:41:27 > git rev-parse HEAD^{commit} # timeout=10 21:41:27 > git config core.sparsecheckout # timeout=10 21:41:27 > git checkout -f a50d6b06f0992baef6a08096411198deb3735a9c # timeout=10 21:41:32 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 21:41:33 ========================================================= 21:41:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 21:41:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:41:34 + 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 . 21:41:35 Sending build context to Docker daemon 2.813MB 21:41:35 Step 1/8 : ARG BASE=golang:1.13-alpine 21:41:35 Step 2/8 : FROM ${BASE} 21:41:36 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:41:36 cde5963f3b93: Pulling fs layer 21:41:36 2a23fa8c16f7: Pulling fs layer 21:41:36 777b28850792: Pulling fs layer 21:41:36 8a11ddd9e578: Pulling fs layer 21:41:36 4cf88f913ddb: Pulling fs layer 21:41:36 1df406cf5192: Pulling fs layer 21:41:36 cd6300453558: Pulling fs layer 21:41:36 b9c365052c96: Pulling fs layer 21:41:36 a2d8cc88f415: Pulling fs layer 21:41:36 ea1d1ca13537: Pulling fs layer 21:41:36 3750a50a1c5e: Pulling fs layer 21:41:36 8a11ddd9e578: Waiting 21:41:36 4cf88f913ddb: Waiting 21:41:36 1df406cf5192: Waiting 21:41:36 cd6300453558: Waiting 21:41:36 b9c365052c96: Waiting 21:41:36 a2d8cc88f415: Waiting 21:41:36 3750a50a1c5e: Waiting 21:41:36 ea1d1ca13537: Waiting 21:41:36 777b28850792: Verifying Checksum 21:41:36 777b28850792: Download complete 21:41:36 2a23fa8c16f7: Verifying Checksum 21:41:36 2a23fa8c16f7: Download complete 21:41:36 4cf88f913ddb: Verifying Checksum 21:41:36 4cf88f913ddb: Download complete 21:41:36 1df406cf5192: Verifying Checksum 21:41:36 1df406cf5192: Download complete 21:41:36 cde5963f3b93: Verifying Checksum 21:41:36 cde5963f3b93: Download complete 21:41:37 cde5963f3b93: Pull complete 21:41:37 2a23fa8c16f7: Pull complete 21:41:38 777b28850792: Pull complete 21:41:41 cd6300453558: Verifying Checksum 21:41:41 cd6300453558: Download complete 21:41:41 a2d8cc88f415: Download complete 21:41:43 ea1d1ca13537: Verifying Checksum 21:41:43 ea1d1ca13537: Download complete 21:41:43 3750a50a1c5e: Verifying Checksum 21:41:44 3750a50a1c5e: Download complete 21:41:46 b9c365052c96: Download complete 21:41:47 Running on prd-centos7-docker-4c-2g-2459 in /w/workspace/dgexfoundry_device-sdk-go_PR-447 [Pipeline] { [Pipeline] ws 21:41:47 Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout 21:41:48 8a11ddd9e578: Verifying Checksum 21:41:48 8a11ddd9e578: Download complete 21:41:58 using credential edgex-jenkins-ssh 21:41:58 Cloning the remote Git repository 21:41:58 Cloning with configured refspecs honoured and without tags 21:41:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:41:58 > git init /w/workspace/device-sdk-go/15 # timeout=10 21:41:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:41:58 > git --version # timeout=10 21:41:59 using GIT_SSH to set credentials SSH Credentials for GitHub 21:41: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 21:42:00 Fetching without tags 21:42:01 8a11ddd9e578: Pull complete 21:42:01 4cf88f913ddb: Pull complete 21:42:01 1df406cf5192: Pull complete 21:42:01 Merging remotes/origin/master commit 79a40a317d1b6800d1816ffd538dea299a9d4c8b into PR head commit a50d6b06f0992baef6a08096411198deb3735a9c 21:42:01 Merge succeeded, producing a50d6b06f0992baef6a08096411198deb3735a9c 21:42:01 Checking out Revision a50d6b06f0992baef6a08096411198deb3735a9c (PR-447) 21:42:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:42:00 > git config --add remote.origin.fetch +refs/pull/447/head:refs/remotes/origin/PR-447 # timeout=10 21:42:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:42:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:42:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:42:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:42: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 21:42:01 > git config core.sparsecheckout # timeout=10 21:42:01 > git checkout -f a50d6b06f0992baef6a08096411198deb3735a9c # timeout=10 21:42:01 > git remote # timeout=10 21:42:01 > git config --get remote.origin.url # timeout=10 21:42:01 using GIT_SSH to set credentials SSH Credentials for GitHub 21:42:01 > git merge 79a40a317d1b6800d1816ffd538dea299a9d4c8b # timeout=10 21:42:01 > git rev-parse HEAD^{commit} # timeout=10 21:42:01 > git config core.sparsecheckout # timeout=10 21:42:01 > git checkout -f a50d6b06f0992baef6a08096411198deb3735a9c # timeout=10 21:42:06 cd6300453558: Pull complete 21:42: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 21:42:08 ========================================================= 21:42:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 21:42:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:42:10 + 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 . 21:42:10 b9c365052c96: Pull complete 21:42:10 a2d8cc88f415: Pull complete 21:42:11 Sending build context to Docker daemon 2.815MB 21:42:11 Step 1/8 : ARG BASE=golang:1.13-alpine 21:42:11 Step 2/8 : FROM ${BASE} 21:42:11 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 21:42:11 e6b0cf9c0882: Pulling fs layer 21:42:11 2848faf0eed1: Pulling fs layer 21:42:11 0f37312ad70f: Pulling fs layer 21:42:11 5788d62ee057: Pulling fs layer 21:42:11 0e6b1d234666: Pulling fs layer 21:42:11 bf5d7aec512f: Pulling fs layer 21:42:11 34c802a77dc8: Pulling fs layer 21:42:11 9eb99e56ec68: Pulling fs layer 21:42:11 27c7a5d97fbd: Pulling fs layer 21:42:11 5c102a31e300: Pulling fs layer 21:42:11 dcfb455df0a1: Pulling fs layer 21:42:11 34c802a77dc8: Waiting 21:42:11 9eb99e56ec68: Waiting 21:42:11 27c7a5d97fbd: Waiting 21:42:11 5c102a31e300: Waiting 21:42:11 dcfb455df0a1: Waiting 21:42:11 5788d62ee057: Waiting 21:42:11 0e6b1d234666: Waiting 21:42:11 bf5d7aec512f: Waiting 21:42:11 0f37312ad70f: Verifying Checksum 21:42:11 0f37312ad70f: Download complete 21:42:11 2848faf0eed1: Verifying Checksum 21:42:11 2848faf0eed1: Download complete 21:42:11 0e6b1d234666: Verifying Checksum 21:42:11 0e6b1d234666: Download complete 21:42:11 bf5d7aec512f: Verifying Checksum 21:42:11 bf5d7aec512f: Download complete 21:42:11 e6b0cf9c0882: Verifying Checksum 21:42:11 e6b0cf9c0882: Download complete 21:42:12 e6b0cf9c0882: Pull complete 21:42:12 2848faf0eed1: Pull complete 21:42:12 0f37312ad70f: Pull complete 21:42:12 ea1d1ca13537: Pull complete 21:42:13 3750a50a1c5e: Pull complete 21:42:13 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 21:42:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 21:42:13 ---> 78745c68409d 21:42:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:42:16 34c802a77dc8: Verifying Checksum 21:42:16 34c802a77dc8: Download complete 21:42:17 27c7a5d97fbd: Verifying Checksum 21:42:17 27c7a5d97fbd: Download complete 21:42:17 ---> Running in 8b59178aef95 21:42:17 Removing intermediate container 8b59178aef95 21:42:17 ---> 5a2fa34a7882 21:42:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:42:17 ---> Running in 4b7822fe2d76 21:42:19 Removing intermediate container 4b7822fe2d76 21:42:19 ---> b9a2ee247613 21:42:19 Step 5/8 : RUN apk add --no-cache make git 21:42:20 5788d62ee057: Verifying Checksum 21:42:20 5788d62ee057: Download complete 21:42:20 ---> Running in c50a74bcb32e 21:42:21 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:42:21 dcfb455df0a1: Verifying Checksum 21:42:21 dcfb455df0a1: Download complete 21:42:22 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:42:22 5c102a31e300: Verifying Checksum 21:42:22 5c102a31e300: Download complete 21:42:23 OK: 125 MiB in 39 packages 21:42:24 Removing intermediate container c50a74bcb32e 21:42:24 ---> f0fa68a2c205 21:42:24 Step 6/8 : WORKDIR /device-sdk-go 21:42:24 9eb99e56ec68: Verifying Checksum 21:42:24 9eb99e56ec68: Download complete 21:42:24 ---> Running in 33a4f5003c1a 21:42:25 Removing intermediate container 33a4f5003c1a 21:42:25 ---> fe0fec0ac769 21:42:25 Step 7/8 : COPY . . 21:42:26 ---> 9d6389083eb6 21:42:26 Step 8/8 : RUN go mod download 21:42:26 ---> Running in 669db638cd6f 21:42:29 go: finding github.com/BurntSushi/toml v0.3.1 21:42:29 go: finding github.com/OneOfOne/xxhash v1.2.6 21:42:29 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:42:29 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:42:29 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:42:29 go: finding github.com/bgentry/speakeasy v0.1.0 21:42:29 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:42:29 go: finding github.com/davecgh/go-spew v1.1.1 21:42:29 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 21:42:29 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:42:29 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 21:42:29 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 21:42:29 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:42:29 go: finding github.com/fatih/color v1.7.0 21:42:29 go: finding github.com/go-kit/kit v0.8.0 21:42:29 go: finding github.com/go-logfmt/logfmt v0.4.0 21:42:29 go: finding github.com/go-stack/stack v1.8.0 21:42:29 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:42:29 go: finding github.com/google/uuid v1.1.0 21:42:29 go: finding github.com/gorilla/mux v1.7.1 21:42:29 go: finding github.com/hashicorp/consul/api v1.1.0 21:42:29 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:42:29 go: finding github.com/hashicorp/errwrap v1.0.0 21:42:29 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:42:29 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:42:29 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:42:29 go: finding github.com/hashicorp/go-multierror v1.0.0 21:42:29 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:42:29 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:42:29 go: finding github.com/hashicorp/go-syslog v1.0.0 21:42:29 go: finding github.com/hashicorp/go-uuid v1.0.1 21:42:29 go: finding github.com/hashicorp/go.net v0.0.1 21:42:29 go: finding github.com/hashicorp/golang-lru v0.5.0 21:42:29 go: finding github.com/hashicorp/logutils v1.0.0 21:42:29 go: finding github.com/hashicorp/mdns v1.0.0 21:42:29 go: finding github.com/hashicorp/memberlist v0.1.3 21:42:29 go: finding github.com/hashicorp/serf v0.8.2 21:42:29 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:42:29 go: finding github.com/mattn/go-colorable v0.0.9 21:42:29 go: finding github.com/mattn/go-isatty v0.0.3 21:42:29 go: finding github.com/miekg/dns v1.0.14 21:42:29 go: finding github.com/mitchellh/cli v1.0.0 21:42:29 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:42:29 go: finding github.com/mitchellh/copystructure v1.0.0 21:42:29 go: finding github.com/mitchellh/go-homedir v1.0.0 21:42:29 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:42:29 go: finding github.com/mitchellh/gox v0.4.0 21:42:29 go: finding github.com/mitchellh/iochan v1.0.0 21:42:29 go: finding github.com/mitchellh/mapstructure v1.1.2 21:42:29 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:42:29 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:42:29 go: finding github.com/pelletier/go-toml v1.2.0 21:42:29 go: finding github.com/pkg/errors v0.8.1 21:42:29 go: finding github.com/pmezard/go-difflib v1.0.0 21:42:29 go: finding github.com/posener/complete v1.1.1 21:42:29 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:42:29 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:42:29 go: finding github.com/stretchr/objx v0.1.0 21:42:29 go: finding github.com/stretchr/testify v1.5.1 21:42:29 go: finding github.com/ugorji/go v1.1.4 21:42:29 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 21:42:29 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 21:42:29 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:42:29 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 21:42:29 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 21:42:29 go: finding gopkg.in/yaml.v2 v2.2.8 21:42:31 5788d62ee057: Pull complete 21:42:31 0e6b1d234666: Pull complete 21:42:31 bf5d7aec512f: Pull complete 21:42:36 34c802a77dc8: Pull complete 21:42:40 Removing intermediate container 669db638cd6f 21:42:40 ---> db070b8f99ef 21:42:40 Successfully built db070b8f99ef 21:42: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 21:42:40 + docker inspect -f . ci-base-image-arm64 21:42:41 . [Pipeline] withDockerContainer 21:42:41 prd-ubuntu18.04-docker-arm64-4c-16g-2460 does not seem to be running inside a container 21:42:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 21:42:41 9eb99e56ec68: Pull complete 21:42:41 27c7a5d97fbd: Pull complete 21:42:42 $ docker top 54e2e4b304e3271ada8419f566c1deef24b7b7e86d0452b1aac8cd38bd723c8c -eo pid,comm 21:42:43 5c102a31e300: Pull complete 21:42:43 dcfb455df0a1: Pull complete 21:42:43 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [Pipeline] { [Pipeline] sh 21:42:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 21:42:43 ---> 7c70fe431013 21:42:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:42:43 ---> Running in 3169355a324a 21:42:43 Removing intermediate container 3169355a324a 21:42:43 ---> 8a002ddc6634 21:42:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:42:43 ---> Running in c40953a7ce7a 21:42:44 + go version 21:42:44 go version go1.13.5 linux/arm64 [Pipeline] sh 21:42:45 + make test 21:42:45 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:42:45 Removing intermediate container c40953a7ce7a 21:42:45 ---> 71c4f4d2d4aa 21:42:45 Step 5/8 : RUN apk add --no-cache make git 21:42:45 ---> Running in 8420caba94b9 21:42:46 ? github.com/edgexfoundry/device-sdk-go [no test files] 21:42:46 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:42:47 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:42:48 OK: 143 MiB in 39 packages 21:42:49 Removing intermediate container 8420caba94b9 21:42:49 ---> 1870cfdb7f1a 21:42:49 Step 6/8 : WORKDIR /device-sdk-go 21:42:49 ---> Running in f0b3b6bc57e5 21:42:49 Removing intermediate container f0b3b6bc57e5 21:42:49 ---> 27d4ccef48dd 21:42:49 Step 7/8 : COPY . . 21:42:50 ---> 9a9ba887ff4b 21:42:50 Step 8/8 : RUN go mod download 21:42:50 ---> Running in c177c680f102 21:42:53 go: finding github.com/BurntSushi/toml v0.3.1 21:42:53 go: finding github.com/OneOfOne/xxhash v1.2.6 21:42:53 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:42:53 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:42:53 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:42:53 go: finding github.com/bgentry/speakeasy v0.1.0 21:42:53 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:42:53 go: finding github.com/davecgh/go-spew v1.1.1 21:42:53 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 21:42:53 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:42:53 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 21:42:53 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 21:42:53 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:42:53 go: finding github.com/fatih/color v1.7.0 21:42:53 go: finding github.com/go-kit/kit v0.8.0 21:42:53 go: finding github.com/go-logfmt/logfmt v0.4.0 21:42:53 go: finding github.com/go-stack/stack v1.8.0 21:42:53 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:42:53 go: finding github.com/google/uuid v1.1.0 21:42:53 go: finding github.com/gorilla/mux v1.7.1 21:42:53 go: finding github.com/hashicorp/consul/api v1.1.0 21:42:53 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:42:53 go: finding github.com/hashicorp/errwrap v1.0.0 21:42:53 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:42:53 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:42:53 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:42:53 go: finding github.com/hashicorp/go-multierror v1.0.0 21:42:53 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:42:53 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:42:53 go: finding github.com/hashicorp/go-syslog v1.0.0 21:42:53 go: finding github.com/hashicorp/go-uuid v1.0.1 21:42:53 go: finding github.com/hashicorp/go.net v0.0.1 21:42:53 go: finding github.com/hashicorp/golang-lru v0.5.0 21:42:54 go: finding github.com/hashicorp/logutils v1.0.0 21:42:54 go: finding github.com/hashicorp/mdns v1.0.0 21:42:54 go: finding github.com/hashicorp/memberlist v0.1.3 21:42:54 go: finding github.com/hashicorp/serf v0.8.2 21:42:54 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:42:54 go: finding github.com/mattn/go-colorable v0.0.9 21:42:54 go: finding github.com/mattn/go-isatty v0.0.3 21:42:54 go: finding github.com/miekg/dns v1.0.14 21:42:54 go: finding github.com/mitchellh/cli v1.0.0 21:42:54 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:42:54 go: finding github.com/mitchellh/copystructure v1.0.0 21:42:54 go: finding github.com/mitchellh/go-homedir v1.0.0 21:42:54 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:42:54 go: finding github.com/mitchellh/gox v0.4.0 21:42:54 go: finding github.com/mitchellh/iochan v1.0.0 21:42:54 go: finding github.com/mitchellh/mapstructure v1.1.2 21:42:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:42:54 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:42:54 go: finding github.com/pelletier/go-toml v1.2.0 21:42:54 go: finding github.com/pkg/errors v0.8.1 21:42:54 go: finding github.com/pmezard/go-difflib v1.0.0 21:42:54 go: finding github.com/posener/complete v1.1.1 21:42:54 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:42:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:42:54 go: finding github.com/stretchr/objx v0.1.0 21:42:54 go: finding github.com/stretchr/testify v1.5.1 21:42:54 go: finding github.com/ugorji/go v1.1.4 21:42:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 21:42:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 21:42:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:42:54 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 21:42:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 21:42:54 go: finding gopkg.in/yaml.v2 v2.2.8 21:42:59 Removing intermediate container c177c680f102 21:42:59 ---> f87cbb6d3ea7 21:42:59 Successfully built f87cbb6d3ea7 21:42:59 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 21:43:00 + docker inspect -f . ci-base-image-x86_64 21:43:00 . [Pipeline] withDockerContainer 21:43:00 prd-centos7-docker-4c-2g-2459 does not seem to be running inside a container 21:43:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 21:43:02 $ docker top 7e5791b59d11e4fac08552dc8e5ae85f79658b6388f9a1ee1079070f383b29b2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:03 + go version 21:43:03 go version go1.13.5 linux/amd64 [Pipeline] sh 21:43:04 + make test 21:43:04 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:43:06 ? github.com/edgexfoundry/device-sdk-go [no test files] 21:43:33 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 21:43:33 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 21:43:33 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.022s coverage: 22.6% of statements 21:43:33 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.159s coverage: 95.8% of statements 21:43:33 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 21:43:33 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 21:43:33 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.017s coverage: 22.6% of statements 21:43:33 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.082s coverage: 95.8% of statements 21:44:00 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.084s coverage: 11.1% of statements 21:44:00 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 22.7% of statements 21:44:00 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 21:44:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.198s coverage: 38.5% of statements 21:44:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 21:44:00 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 21:44:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.823s coverage: 79.9% of statements 21:44:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 21:44:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 21:44:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 21:44:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements 21:44:00 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 21:44:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 76.1% of statements 21:44:00 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 21:44:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 21:44:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:44:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.089s coverage: 11.1% of statements 21:44:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.032s coverage: 22.7% of statements 21:44:06 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 21:44:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.135s coverage: 38.5% of statements 21:44:06 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 21:44:06 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 21:44:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.435s coverage: 79.9% of statements 21:44:06 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 21:44:06 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 21:44:06 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 21:44:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.026s coverage: 52.6% of statements 21:44:06 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 21:44:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.118s coverage: 76.1% of statements 21:44:06 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 21:44:06 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 21:44:06 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:44:07 gofmt -l . 21:44:07 [ "`gofmt -l .`" = "" ] 21:44:07 ./bin/test-attribution-txt.sh 21:44:07 ./bin/test-go-mod-tidy.sh [Pipeline] stash 21:44:07 gofmt -l . 21:44:07 [ "`gofmt -l .`" = "" ] 21:44:08 Stashed 1 file(s) [Pipeline] } 21:44:08 $ docker stop --time=1 54e2e4b304e3271ada8419f566c1deef24b7b7e86d0452b1aac8cd38bd723c8c 21:44:08 ./bin/test-attribution-txt.sh 21:44:09 ./bin/test-go-mod-tidy.sh 21:44:10 $ docker rm -f 54e2e4b304e3271ada8419f566c1deef24b7b7e86d0452b1aac8cd38bd723c8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash 21:44:10 Warning: overwriting stash ‘coverage-report’ [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:44:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:44:12 Stashed 1 file(s) [Pipeline] } 21:44:12 $ docker stop --time=1 7e5791b59d11e4fac08552dc8e5ae85f79658b6388f9a1ee1079070f383b29b2 21:44:12 + ls -al . 21:44:12 total 200 21:44:12 drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 21:44 . 21:44:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 21:41 .. 21:44:12 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 21:41 .dockerignore 21:44:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 21:41 .git 21:44:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 21:41 .github 21:44:12 -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 21:41 .gitignore 21:44:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 21:41 .semver 21:44:12 -rw-rw-r-- 1 jenkins jenkins 936 Apr 6 21:41 Dockerfile.build 21:44:12 -rw-rw-r-- 1 jenkins jenkins 808 Apr 6 21:41 Jenkinsfile 21:44:12 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 21:41 LICENSE 21:44:12 -rw-rw-r-- 1 jenkins jenkins 892 Apr 6 21:41 Makefile 21:44:12 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 6 21:41 README.md 21:44:12 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 21:37 VERSION 21:44:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 21:41 api 21:44:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 21:41 bin 21:44:12 -rw-r--r-- 1 jenkins jenkins 94662 Apr 6 21:43 coverage.out 21:44:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 21:41 example 21:44:12 -rw-r--r-- 1 jenkins jenkins 438 Apr 6 21:44 go.mod 21:44:12 -rw-r--r-- 1 jenkins jenkins 11812 Apr 6 21:44 go.sum 21:44:12 drwxrwxr-x 14 jenkins jenkins 4096 Apr 6 21:41 internal 21:44:12 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 21:41 pkg 21:44:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 21:41 snap 21:44:12 -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 21:41 version.go 21:44:14 $ docker rm -f 7e5791b59d11e4fac08552dc8e5ae85f79658b6388f9a1ee1079070f383b29b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:44:14 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a50d6b06f0992baef6a08096411198deb3735a9c --label arch=arm64 --label version=0.0.0 . 21:44:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:44:15 + ls -al . 21:44:15 total 160 21:44:15 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 6 21:44 . 21:44:15 drwxrwxr-x. 4 jenkins jenkins 30 Apr 6 21:41 .. 21:44:15 drwxrwxr-x. 3 jenkins jenkins 20 Apr 6 21:42 api 21:44:15 drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 21:42 bin 21:44:15 -rw-r--r--. 1 jenkins jenkins 94662 Apr 6 21:44 coverage.out 21:44:15 -rw-rw-r--. 1 jenkins jenkins 936 Apr 6 21:42 Dockerfile.build 21:44:15 -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 21:42 .dockerignore 21:44:15 drwxrwxr-x. 4 jenkins jenkins 31 Apr 6 21:42 example 21:44:15 drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 21:42 .git 21:44:15 drwxrwxr-x. 2 jenkins jenkins 38 Apr 6 21:42 .github 21:44:15 -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 21:42 .gitignore 21:44:15 -rw-r--r--. 1 jenkins jenkins 438 Apr 6 21:44 go.mod 21:44:15 -rw-r--r--. 1 jenkins jenkins 11812 Apr 6 21:44 go.sum 21:44:15 drwxrwxr-x. 14 jenkins jenkins 196 Apr 6 21:42 internal 21:44:15 -rw-rw-r--. 1 jenkins jenkins 808 Apr 6 21:42 Jenkinsfile 21:44:15 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 21:42 LICENSE 21:44:15 -rw-rw-r--. 1 jenkins jenkins 892 Apr 6 21:42 Makefile 21:44:15 drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 21:42 pkg 21:44:15 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 6 21:42 README.md 21:44:15 drwxrwxr-x. 3 jenkins jenkins 58 Apr 6 21:42 .semver 21:44:15 drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 21:42 snap 21:44:15 -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 21:37 VERSION 21:44:15 -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 21:42 version.go [Pipeline] isUnix [Pipeline] sh 21:44:15 Sending build context to Docker daemon 2.929MB 21:44:15 Step 1/20 : ARG BASE=golang:1.13-alpine 21:44:15 Step 2/20 : FROM ${BASE} AS builder 21:44:15 ---> db070b8f99ef 21:44:15 Step 3/20 : ARG MAKE='make build' 21:44:15 ---> Running in 7d4fb1fde80d 21:44:15 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a50d6b06f0992baef6a08096411198deb3735a9c --label arch=amd64 --label version=0.0.0 . 21:44:16 Removing intermediate container 7d4fb1fde80d 21:44:16 ---> aa62433f1bfc 21:44:16 Step 4/20 : WORKDIR /device-sdk-go 21:44:16 ---> Running in 4a85b046da50 21:44:16 Removing intermediate container 4a85b046da50 21:44:16 ---> 5a158786a58d 21:44:16 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:44:16 Sending build context to Docker daemon 2.931MB 21:44:16 Step 1/20 : ARG BASE=golang:1.13-alpine 21:44:16 Step 2/20 : FROM ${BASE} AS builder 21:44:16 ---> f87cbb6d3ea7 21:44:16 Step 3/20 : ARG MAKE='make build' 21:44:16 ---> Running in fcf25381d838 21:44:16 Removing intermediate container fcf25381d838 21:44:16 ---> 4d42f15d2553 21:44:16 Step 4/20 : WORKDIR /device-sdk-go 21:44:16 ---> Running in c8cd26c8d9c2 21:44:16 ---> Running in 8011de42574c 21:44:16 Removing intermediate container 8011de42574c 21:44:16 ---> 04c3291eac34 21:44:16 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:44:17 ---> Running in 08879e1905ad 21:44:17 Removing intermediate container c8cd26c8d9c2 21:44:17 ---> dc3987db49d1 21:44:17 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:44:17 ---> Running in d0352fa527ab 21:44:17 Removing intermediate container d0352fa527ab 21:44:17 ---> 582eea3f944b 21:44:17 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:44:17 ---> Running in b165dbc292f2 21:44:18 Removing intermediate container b165dbc292f2 21:44:18 ---> 5cd88b8ad6dc 21:44:18 Step 7/20 : RUN apk add --update --no-cache make git 21:44:18 ---> Running in af62aa8ab264 21:44:18 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:44:19 Removing intermediate container 08879e1905ad 21:44:19 ---> 1950bdf4a4ec 21:44:19 Step 7/20 : RUN apk add --update --no-cache make git 21:44:19 ---> Running in 6955fe94bc1d 21:44:19 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:44:20 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:44:20 OK: 143 MiB in 39 packages 21:44:21 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:44:21 Removing intermediate container af62aa8ab264 21:44:21 ---> 82483e0eb55d 21:44:21 Step 8/20 : COPY . . 21:44:21 ---> 36843c8fcc90 21:44:21 Step 9/20 : RUN ${MAKE} 21:44:21 ---> Running in 757ef6e09e03 21:44:21 OK: 125 MiB in 39 packages 21:44:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:44:22 Removing intermediate container 6955fe94bc1d 21:44:22 ---> 8bed3e0ea3fb 21:44:22 Step 8/20 : COPY . . 21:44:23 ---> 9ec607a24d1d 21:44:23 Step 9/20 : RUN ${MAKE} 21:44:23 ---> Running in 4e46a98c8621 21:44:24 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:44:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:44:41 Removing intermediate container 757ef6e09e03 21:44:41 ---> b82c9602c6f7 21:44:41 Step 10/20 : FROM scratch 21:44:41 ---> 21:44:41 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:44:41 ---> Running in 6450907c1fc7 21:44:41 Removing intermediate container 6450907c1fc7 21:44:41 ---> 9b8c3b1e2088 21:44:41 Step 12/20 : ENV APP_PORT=49990 21:44:41 ---> Running in 7b98375502e3 21:44:41 Removing intermediate container 7b98375502e3 21:44:41 ---> 2dff751091e1 21:44:41 Step 13/20 : EXPOSE $APP_PORT 21:44:41 ---> Running in d0a3fe7fb611 21:44:41 Removing intermediate container d0a3fe7fb611 21:44:41 ---> 17587d4b62e3 21:44:41 Step 14/20 : WORKDIR / 21:44:41 ---> Running in ef96337bca7e 21:44:41 Removing intermediate container ef96337bca7e 21:44:41 ---> ab6a03cc0a4a 21:44:41 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:44:42 ---> a59399c2f840 21:44:42 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 21:44:42 ---> 468c897143ff 21:44:42 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 21:44:42 ---> Running in ce0e13c5c706 21:44:42 Removing intermediate container ce0e13c5c706 21:44:42 ---> 9b114ec92de5 21:44:42 Step 18/20 : LABEL arch=amd64 21:44:42 ---> Running in 07815c6e63b3 21:44:43 Removing intermediate container 07815c6e63b3 21:44:43 ---> bbb543662633 21:44:43 Step 19/20 : LABEL git_sha=a50d6b06f0992baef6a08096411198deb3735a9c 21:44:43 ---> Running in 88c525b3482a 21:44:43 Removing intermediate container 88c525b3482a 21:44:43 ---> dbb8f67603e8 21:44:43 Step 20/20 : LABEL version=0.0.0 21:44:43 ---> Running in cca5622cb8cc 21:44:43 Removing intermediate container cca5622cb8cc 21:44:43 ---> bc8b3e0ce943 21:44:43 [Warning] One or more build-args [ARCH] were not consumed 21:44:43 Successfully built bc8b3e0ce943 21:44:43 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:45:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:45:04 Removing intermediate container 4e46a98c8621 21:45:04 ---> 8c5b910f08a4 21:45:04 Step 10/20 : FROM scratch 21:45:04 ---> 21:45:04 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:45:04 ---> Running in 26f2f58cca7b 21:45:04 Removing intermediate container 26f2f58cca7b 21:45:04 ---> 850d693f6425 21:45:04 Step 12/20 : ENV APP_PORT=49990 21:45:04 ---> Running in 98ff2d0b99cd 21:45:04 Removing intermediate container 98ff2d0b99cd 21:45:04 ---> 18456c9f3618 21:45:04 Step 13/20 : EXPOSE $APP_PORT 21:45:04 ---> Running in 1c81d3110e03 21:45:04 Removing intermediate container 1c81d3110e03 21:45:04 ---> 7068cf2b7990 21:45:04 Step 14/20 : WORKDIR / 21:45:04 ---> Running in 4a913c31422e 21:45:04 Removing intermediate container 4a913c31422e 21:45:04 ---> 37166d18e6ea 21:45:04 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:45:05 ---> 886ff69ec97d 21:45:05 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 21:45:05 ---> acf05b7f3589 21:45:05 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 21:45:05 ---> Running in a499ca8de6af 21:45:05 Removing intermediate container a499ca8de6af 21:45:05 ---> 97737e643e38 21:45:05 Step 18/20 : LABEL arch=arm64 21:45:06 ---> Running in 48d5d6462767 21:45:06 Removing intermediate container 48d5d6462767 21:45:06 ---> 7c9a3ece1083 21:45:06 Step 19/20 : LABEL git_sha=a50d6b06f0992baef6a08096411198deb3735a9c 21:45:06 ---> Running in 11ee393e1195 21:45:06 Removing intermediate container 11ee393e1195 21:45:06 ---> bf68ba1f0428 21:45:06 Step 20/20 : LABEL version=0.0.0 21:45:06 ---> Running in 297d7deb3af1 21:45:07 Removing intermediate container 297d7deb3af1 21:45:07 ---> 29fa79b60556 21:45:07 [Warning] One or more build-args [ARCH] were not consumed 21:45:07 Successfully built 29fa79b60556 21:45:07 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 21:45:08 provisioning config files... 21:45:08 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config7277274728554503499tmp [Pipeline] { [Pipeline] sh 21:45:08 + curl -s https://codecov.io/bash 21:45:08 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config7277274728554503499tmp 21:45:08 21:45:08 _____ _ 21:45:08 / ____| | | 21:45:08 | | ___ __| | ___ ___ _____ __ 21:45:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:45:08 | |___| (_) | (_| | __/ (_| (_) \ V / 21:45:08 \_____\___/ \__,_|\___|\___\___/ \_/ 21:45:08 Bash-tbd 21:45:08 21:45:08 21:45:08 ==> Jenkins CI detected. 21:45:08 project root: . 21:45:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:45:08 ==> Running gcov in . (disable via -X gcov) 21:45:08 ==> Python coveragepy not found 21:45:08 ==> Searching for coverage reports in: 21:45:08 + . 21:45:08 -> Found 1 reports 21:45:08 ==> Detecting git/mercurial file structure 21:45:08 ==> Reading reports 21:45:08 + ./coverage.out bytes=94662 21:45:08 ==> Appending adjustments 21:45:08 http://docs.codecov.io/docs/fixing-reports 21:45:09 + Found adjustments 21:45:09 ==> Gzipping contents 21:45:09 ==> Uploading reports 21:45:09 url: https://codecov.io 21:45:09 query: branch=PR-447&commit=a50d6b06f0992baef6a08096411198deb3735a9c&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-447%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=447&job= 21:45:09 -> Pinging Codecov 21:45:09 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-447&commit=a50d6b06f0992baef6a08096411198deb3735a9c&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-447%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=447&job= 21:45:09 -> Uploading 21:45:10 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a50d6b06f0992baef6a08096411198deb3735a9c [Pipeline] } 21:45:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 21:45:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:45:11 ---> package-listing.sh 21:45:11 ++ facter osfamily 21:45:11 ++ tr '[:upper:]' '[:lower:]' 21:45:11 + OS_FAMILY=redhat 21:45:11 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-447 21:45:11 + START_PACKAGES=/tmp/packages_start.txt 21:45:11 + END_PACKAGES=/tmp/packages_end.txt 21:45:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:45:11 + PACKAGES=/tmp/packages_start.txt 21:45:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-447 ']' 21:45:11 + PACKAGES=/tmp/packages_end.txt 21:45:11 + case "${OS_FAMILY}" in 21:45:11 + rpm -qa 21:45:11 + sort 21:45:15 + '[' -f /tmp/packages_start.txt ']' 21:45:15 + '[' -f /tmp/packages_end.txt ']' 21:45:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:45:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-447 ']' 21:45:15 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-447/archives/ 21:45:15 + 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 21:45:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:45:16 21:45:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:45:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:45:16 alpine: Pulling from edgex-lftools-log-publisher 21:45:16 c9b1b535fdd9: Pulling fs layer 21:45:16 2cc5ad85d9ab: Pulling fs layer 21:45:16 756a868c4378: Pulling fs layer 21:45:16 444b2fc9a129: Pulling fs layer 21:45:16 ea15f1150254: Pulling fs layer 21:45:16 41b27a9f41bf: Pulling fs layer 21:45:16 28c525ee5125: Pulling fs layer 21:45:16 094b1ea09ed8: Pulling fs layer 21:45:16 138eaada9080: Pulling fs layer 21:45:16 0622d0fa9048: Pulling fs layer 21:45:16 41b27a9f41bf: Waiting 21:45:16 28c525ee5125: Waiting 21:45:16 094b1ea09ed8: Waiting 21:45:16 138eaada9080: Waiting 21:45:16 0622d0fa9048: Waiting 21:45:16 444b2fc9a129: Waiting 21:45:16 ea15f1150254: Waiting 21:45:16 2cc5ad85d9ab: Verifying Checksum 21:45:16 2cc5ad85d9ab: Download complete 21:45:16 444b2fc9a129: Download complete 21:45:16 c9b1b535fdd9: Verifying Checksum 21:45:16 c9b1b535fdd9: Download complete 21:45:16 ea15f1150254: Verifying Checksum 21:45:16 ea15f1150254: Download complete 21:45:17 28c525ee5125: Verifying Checksum 21:45:17 28c525ee5125: Download complete 21:45:17 756a868c4378: Verifying Checksum 21:45:17 756a868c4378: Download complete 21:45:17 c9b1b535fdd9: Pull complete 21:45:17 138eaada9080: Verifying Checksum 21:45:17 138eaada9080: Download complete 21:45:17 0622d0fa9048: Verifying Checksum 21:45:17 0622d0fa9048: Download complete 21:45:17 094b1ea09ed8: Verifying Checksum 21:45:17 094b1ea09ed8: Download complete 21:45:17 2cc5ad85d9ab: Pull complete 21:45:18 41b27a9f41bf: Verifying Checksum 21:45:18 41b27a9f41bf: Download complete 21:45:19 756a868c4378: Pull complete 21:45:19 444b2fc9a129: Pull complete 21:45:20 ea15f1150254: Pull complete 21:45:25 41b27a9f41bf: Pull complete 21:45:25 28c525ee5125: Pull complete 21:45:27 094b1ea09ed8: Pull complete 21:45:27 138eaada9080: Pull complete 21:45:28 0622d0fa9048: Pull complete 21:45:28 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 21:45:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:45:28 prd-centos7-docker-4c-2g-2458 does not seem to be running inside a container 21:45:28 $ 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 21:45:29 $ docker top bccff9cfc016c674cd05f374915d62958d774b0e79c4e1ed08701c9b251264fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:45:30 provisioning config files... 21:45:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-447@tmp/config4813292778868318528tmp [Pipeline] { [Pipeline] echo 21:45:30 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:45:30 ---> create-netrc.sh [Pipeline] echo 21:45:30 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:45:30 ---> logs-deploy.sh 21:45:30 + ARCHIVE_ARTIFACTS= 21:45:30 + LOGS_SERVER=https://logs.edgexfoundry.org 21:45:30 + '[' https://logs.edgexfoundry.org == None ']' 21:45:30 + NEXUS_URL=https://nexus.edgexfoundry.org 21:45:30 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/15 21:45:30 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-447/15/ 21:45:30 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/15 /w/workspace/dgexfoundry_device-sdk-go_PR-447 21:45:32 Archives upload complete. 21:45:32 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-447/15 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-447/15/