Pull request #483 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f00dd10d70c517fcbc158321f5bc713325a17dde+cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 (0e657ff9b291bafec28e5aad8ea72da195d106ad) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3804 in /w/workspace/dgexfoundry_device-sdk-go_PR-483 [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-483 # 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/483/head:refs/remotes/origin/PR-483 +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/483/head:refs/remotes/origin/PR-483 # 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/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit f00dd10d70c517fcbc158321f5bc713325a17dde Merge succeeded, producing f00dd10d70c517fcbc158321f5bc713325a17dde Checking out Revision f00dd10d70c517fcbc158321f5bc713325a17dde (PR-483) > git config core.sparsecheckout # timeout=10 > git checkout -f f00dd10d70c517fcbc158321f5bc713325a17dde # 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 cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f00dd10d70c517fcbc158321f5bc713325a17dde # timeout=10 Commit message: "call updateDevice after updating device profile" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 [Pipeline] timeout 09:31:54 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 09:31:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:31:56 09:31:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:31:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:31:56 latest: Pulling from edgex-devops/git-semver 09:31:56 9123ac7c32f7: Pulling fs layer 09:31:56 b8cc5d1170e3: Pulling fs layer 09:31:56 2924cbbf6a41: Pulling fs layer 09:31:56 93b08a4f1073: Pulling fs layer 09:31:56 93b08a4f1073: Waiting 09:31:56 b8cc5d1170e3: Verifying Checksum 09:31:56 b8cc5d1170e3: Download complete 09:31:56 9123ac7c32f7: Verifying Checksum 09:31:56 9123ac7c32f7: Download complete 09:31:56 93b08a4f1073: Verifying Checksum 09:31:56 93b08a4f1073: Download complete 09:31:56 2924cbbf6a41: Verifying Checksum 09:31:56 2924cbbf6a41: Download complete 09:31:57 9123ac7c32f7: Pull complete 09:31:57 b8cc5d1170e3: Pull complete 09:31:57 2924cbbf6a41: Pull complete 09:31:57 93b08a4f1073: Pull complete 09:31:57 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 09:31:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:31:58 prd-centos7-docker-4c-2g-3804 does not seem to be running inside a container 09:31:58 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-483 -v /w/workspace/dgexfoundry_device-sdk-go_PR-483:/w/workspace/dgexfoundry_device-sdk-go_PR-483:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-483@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 09:31:58 $ docker top 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:31:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:31:59 [ssh-agent] Looking for ssh-agent implementation... 09:31:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:31:59 $ docker exec 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 ssh-agent 09:31:59 SSH_AUTH_SOCK=/tmp/ssh-vKYMof541XGY/agent.15 09:31:59 SSH_AGENT_PID=22 09:31:59 Running ssh-add (command line suppressed) 09:31:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_3516416779514863971.key (/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_3516416779514863971.key) 09:31:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:31:59 + git describe --exact-match --tags HEAD 09:31:59 fatal: No names found, cannot describe anything. [Pipeline] } 09:31:59 $ docker exec --env ******** --env ******** 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 ssh-agent -k 09:32:00 unset SSH_AUTH_SOCK; 09:32:00 unset SSH_AGENT_PID; 09:32:00 echo Agent pid 22 killed; 09:32:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:32:00 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:32:00 This usually means this commit has not been tagged. [Pipeline] sshagent 09:32:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:32:00 [ssh-agent] Looking for ssh-agent implementation... 09:32:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:32:00 $ docker exec 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 ssh-agent 09:32:00 SSH_AUTH_SOCK=/tmp/ssh-vjJa6FfNfeBA/agent.57 09:32:00 SSH_AGENT_PID=64 09:32:00 Running ssh-add (command line suppressed) 09:32:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_3706220562528208925.key (/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_3706220562528208925.key) 09:32:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:32:01 + git semver init 09:32:01 # -> Open(): unable to determine branch for HEAD 09:32:01 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-483/.git 09:32:01 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-483 09:32:01 # $SEMVER_REMOTE_NAME = origin 09:32:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:32:01 # $SEMVER_USER_NAME = edgex-jenkins 09:32:01 # $SEMVER_BRANCH = PR-483 09:32:01 # $SEMVER_TEMP = /tmp/semver-399738747 09:32:01 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:32:01 # '/tmp/semver-399738747' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-483/.semver' 09:32:01 # -> Force: false 09:32:01 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-483/.semver [Pipeline] } 09:32:01 $ docker exec --env ******** --env ******** 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 ssh-agent -k 09:32:02 unset SSH_AUTH_SOCK; 09:32:02 unset SSH_AGENT_PID; 09:32:02 echo Agent pid 64 killed; 09:32:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:32:02 + git semver [Pipeline] } 09:32:02 $ docker stop --time=1 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 09:32:03 $ docker rm -f 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:32:04 Stashed 42 file(s) [Pipeline] echo 09:32:04 [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 09:32:19 Still waiting to schedule task 09:32:19 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3804’ 09:32:19 Still waiting to schedule task 09:32:19 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:34:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3805 in /w/workspace/dgexfoundry_device-sdk-go_PR-483 [Pipeline] { [Pipeline] ws 09:34:03 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 09:34:09 using credential edgex-jenkins-ssh 09:34:09 Cloning the remote Git repository 09:34:09 Cloning with configured refspecs honoured and without tags 09:34:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:34:09 > git init /w/workspace/device-sdk-go/2 # timeout=10 09:34:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:34:09 > git --version # timeout=10 09:34:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:34:10 Fetching without tags 09:34:11 Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit f00dd10d70c517fcbc158321f5bc713325a17dde 09:34:11 Merge succeeded, producing f00dd10d70c517fcbc158321f5bc713325a17dde 09:34:11 Checking out Revision f00dd10d70c517fcbc158321f5bc713325a17dde (PR-483) 09:34:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:34:10 > git config --add remote.origin.fetch +refs/pull/483/head:refs/remotes/origin/PR-483 # timeout=10 09:34:10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:34:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:34:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:34:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:34:11 > git config core.sparsecheckout # timeout=10 09:34:11 > git checkout -f f00dd10d70c517fcbc158321f5bc713325a17dde # timeout=10 09:34:11 > git remote # timeout=10 09:34:11 > git config --get remote.origin.url # timeout=10 09:34:11 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:11 > git merge cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 09:34:11 > git rev-parse HEAD^{commit} # timeout=10 09:34:11 > git config core.sparsecheckout # timeout=10 09:34:11 > git checkout -f f00dd10d70c517fcbc158321f5bc713325a17dde # timeout=10 09:34:15 Commit message: "call updateDevice after updating device profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:34:17 ========================================================= 09:34:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 09:34:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:34:18 + 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 . 09:34:19 Sending build context to Docker daemon 2.89MB 09:34:19 Step 1/8 : ARG BASE=golang:1.13-alpine 09:34:19 Step 2/8 : FROM ${BASE} 09:34:19 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:34:19 cde5963f3b93: Pulling fs layer 09:34:19 2a23fa8c16f7: Pulling fs layer 09:34:19 777b28850792: Pulling fs layer 09:34:19 8a11ddd9e578: Pulling fs layer 09:34:19 4cf88f913ddb: Pulling fs layer 09:34:19 1df406cf5192: Pulling fs layer 09:34:19 cd6300453558: Pulling fs layer 09:34:19 b9c365052c96: Pulling fs layer 09:34:19 a2d8cc88f415: Pulling fs layer 09:34:19 ea1d1ca13537: Pulling fs layer 09:34:19 3750a50a1c5e: Pulling fs layer 09:34:19 8a11ddd9e578: Waiting 09:34:19 4cf88f913ddb: Waiting 09:34:19 1df406cf5192: Waiting 09:34:19 a2d8cc88f415: Waiting 09:34:19 ea1d1ca13537: Waiting 09:34:19 3750a50a1c5e: Waiting 09:34:19 cd6300453558: Waiting 09:34:19 b9c365052c96: Waiting 09:34:19 777b28850792: Verifying Checksum 09:34:19 777b28850792: Download complete 09:34:19 2a23fa8c16f7: Verifying Checksum 09:34:19 2a23fa8c16f7: Download complete 09:34:19 4cf88f913ddb: Verifying Checksum 09:34:19 4cf88f913ddb: Download complete 09:34:19 1df406cf5192: Verifying Checksum 09:34:19 1df406cf5192: Download complete 09:34:19 cde5963f3b93: Verifying Checksum 09:34:19 cde5963f3b93: Download complete 09:34:20 cde5963f3b93: Pull complete 09:34:21 2a23fa8c16f7: Pull complete 09:34:21 777b28850792: Pull complete 09:34:24 cd6300453558: Verifying Checksum 09:34:24 cd6300453558: Download complete 09:34:24 a2d8cc88f415: Verifying Checksum 09:34:24 a2d8cc88f415: Download complete 09:34:26 ea1d1ca13537: Verifying Checksum 09:34:26 ea1d1ca13537: Download complete 09:34:26 3750a50a1c5e: Verifying Checksum 09:34:26 3750a50a1c5e: Download complete 09:34:29 b9c365052c96: Verifying Checksum 09:34:29 b9c365052c96: Download complete 09:34:30 8a11ddd9e578: Verifying Checksum 09:34:30 8a11ddd9e578: Download complete 09:34:43 8a11ddd9e578: Pull complete 09:34:43 4cf88f913ddb: Pull complete 09:34:43 1df406cf5192: Pull complete 09:34:44 Running on prd-centos7-docker-4c-2g-3806 in /w/workspace/dgexfoundry_device-sdk-go_PR-483 [Pipeline] { [Pipeline] ws 09:34:44 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 09:34:46 cd6300453558: Pull complete 09:34:47 using credential edgex-jenkins-ssh 09:34:47 Cloning the remote Git repository 09:34:47 Cloning with configured refspecs honoured and without tags 09:34:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:34:47 Fetching without tags 09:34:46 > git init /w/workspace/device-sdk-go/2 # timeout=10 09:34:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:34:46 > git --version # timeout=10 09:34:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:34:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:34:47 > git config --add remote.origin.fetch +refs/pull/483/head:refs/remotes/origin/PR-483 # timeout=10 09:34:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:34:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:34:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:34:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:34:48 Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit f00dd10d70c517fcbc158321f5bc713325a17dde 09:34:48 Merge succeeded, producing f00dd10d70c517fcbc158321f5bc713325a17dde 09:34:48 Checking out Revision f00dd10d70c517fcbc158321f5bc713325a17dde (PR-483) 09:34:48 > git config core.sparsecheckout # timeout=10 09:34:48 > git checkout -f f00dd10d70c517fcbc158321f5bc713325a17dde # timeout=10 09:34:48 > git remote # timeout=10 09:34:48 > git config --get remote.origin.url # timeout=10 09:34:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:48 > git merge cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 09:34:48 > git rev-parse HEAD^{commit} # timeout=10 09:34:48 > git config core.sparsecheckout # timeout=10 09:34:48 > git checkout -f f00dd10d70c517fcbc158321f5bc713325a17dde # timeout=10 09:34:50 b9c365052c96: Pull complete 09:34:50 a2d8cc88f415: Pull complete 09:34:52 Commit message: "call updateDevice after updating device profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:34:52 ========================================================= 09:34:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 09:34:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:34:53 + 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 . 09:34:53 ea1d1ca13537: Pull complete 09:34:53 3750a50a1c5e: Pull complete 09:34:53 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 09:34:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 09:34:53 ---> 78745c68409d 09:34:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:34:53 Sending build context to Docker daemon 2.888MB 09:34:53 Step 1/8 : ARG BASE=golang:1.13-alpine 09:34:53 Step 2/8 : FROM ${BASE} 09:34:53 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 09:34:53 e6b0cf9c0882: Pulling fs layer 09:34:53 2848faf0eed1: Pulling fs layer 09:34:53 0f37312ad70f: Pulling fs layer 09:34:53 5788d62ee057: Pulling fs layer 09:34:53 0e6b1d234666: Pulling fs layer 09:34:53 bf5d7aec512f: Pulling fs layer 09:34:53 34c802a77dc8: Pulling fs layer 09:34:53 9eb99e56ec68: Pulling fs layer 09:34:53 27c7a5d97fbd: Pulling fs layer 09:34:53 5c102a31e300: Pulling fs layer 09:34:53 dcfb455df0a1: Pulling fs layer 09:34:53 5788d62ee057: Waiting 09:34:53 0e6b1d234666: Waiting 09:34:53 bf5d7aec512f: Waiting 09:34:53 34c802a77dc8: Waiting 09:34:53 9eb99e56ec68: Waiting 09:34:53 27c7a5d97fbd: Waiting 09:34:53 5c102a31e300: Waiting 09:34:53 dcfb455df0a1: Waiting 09:34:53 0f37312ad70f: Verifying Checksum 09:34:53 0f37312ad70f: Download complete 09:34:53 2848faf0eed1: Download complete 09:34:53 0e6b1d234666: Verifying Checksum 09:34:53 0e6b1d234666: Download complete 09:34:53 e6b0cf9c0882: Download complete 09:34:53 bf5d7aec512f: Verifying Checksum 09:34:53 bf5d7aec512f: Download complete 09:34:53 e6b0cf9c0882: Pull complete 09:34:54 2848faf0eed1: Pull complete 09:34:54 0f37312ad70f: Pull complete 09:34:54 34c802a77dc8: Verifying Checksum 09:34:54 34c802a77dc8: Download complete 09:34:54 27c7a5d97fbd: Verifying Checksum 09:34:54 27c7a5d97fbd: Download complete 09:34:55 5c102a31e300: Verifying Checksum 09:34:55 5c102a31e300: Download complete 09:34:55 dcfb455df0a1: Verifying Checksum 09:34:55 dcfb455df0a1: Download complete 09:34:55 9eb99e56ec68: Verifying Checksum 09:34:55 9eb99e56ec68: Download complete 09:34:55 5788d62ee057: Verifying Checksum 09:34:55 5788d62ee057: Download complete 09:34:57 ---> Running in 616108676a37 09:34:58 Removing intermediate container 616108676a37 09:34:58 ---> 24bce02a27c4 09:34:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:34:58 ---> Running in 67c758625a1b 09:35:00 Removing intermediate container 67c758625a1b 09:35:00 ---> d9160c7ea65a 09:35:00 Step 5/8 : RUN apk add --no-cache make git 09:35:00 ---> Running in e29b164d3636 09:35:01 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:35:01 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:35:02 OK: 125 MiB in 39 packages 09:35:02 5788d62ee057: Pull complete 09:35:02 0e6b1d234666: Pull complete 09:35:02 bf5d7aec512f: Pull complete 09:35:03 Removing intermediate container e29b164d3636 09:35:03 ---> 47c72d0b0437 09:35:03 Step 6/8 : WORKDIR /device-sdk-go 09:35:03 ---> Running in ae3870220b47 09:35:03 Removing intermediate container ae3870220b47 09:35:03 ---> 3619f1e943d1 09:35:03 Step 7/8 : COPY . . 09:35:04 ---> 74e4fe664a97 09:35:04 Step 8/8 : RUN go mod download 09:35:05 ---> Running in e7db999d4530 09:35:06 34c802a77dc8: Pull complete 09:35:07 go: finding github.com/BurntSushi/toml v0.3.1 09:35:07 go: finding github.com/OneOfOne/xxhash v1.2.6 09:35:07 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:35:07 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:35:07 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:35:07 go: finding github.com/bgentry/speakeasy v0.1.0 09:35:07 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:35:07 go: finding github.com/davecgh/go-spew v1.1.1 09:35:07 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 09:35:07 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:35:07 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 09:35:07 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 09:35:07 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:35:07 go: finding github.com/fatih/color v1.7.0 09:35:07 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:35:07 go: finding github.com/go-kit/kit v0.8.0 09:35:07 go: finding github.com/go-logfmt/logfmt v0.4.0 09:35:07 go: finding github.com/go-stack/stack v1.8.0 09:35:07 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:35:07 go: finding github.com/google/uuid v1.1.0 09:35:07 go: finding github.com/gorilla/mux v1.7.1 09:35:07 go: finding github.com/hashicorp/consul/api v1.1.0 09:35:07 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:35:07 go: finding github.com/hashicorp/errwrap v1.0.0 09:35:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:35:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:35:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:35:07 go: finding github.com/hashicorp/go-multierror v1.0.0 09:35:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:35:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:35:07 go: finding github.com/hashicorp/go-syslog v1.0.0 09:35:07 go: finding github.com/hashicorp/go-uuid v1.0.1 09:35:07 go: finding github.com/hashicorp/go.net v0.0.1 09:35:07 go: finding github.com/hashicorp/golang-lru v0.5.0 09:35:07 go: finding github.com/hashicorp/logutils v1.0.0 09:35:07 go: finding github.com/hashicorp/mdns v1.0.0 09:35:07 go: finding github.com/hashicorp/memberlist v0.1.3 09:35:07 go: finding github.com/hashicorp/serf v0.8.2 09:35:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:35:07 go: finding github.com/mattn/go-colorable v0.0.9 09:35:07 go: finding github.com/mattn/go-isatty v0.0.3 09:35:07 go: finding github.com/miekg/dns v1.0.14 09:35:07 go: finding github.com/mitchellh/cli v1.0.0 09:35:07 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:35:07 go: finding github.com/mitchellh/copystructure v1.0.0 09:35:07 go: finding github.com/mitchellh/go-homedir v1.0.0 09:35:07 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:35:07 go: finding github.com/mitchellh/gox v0.4.0 09:35:07 go: finding github.com/mitchellh/iochan v1.0.0 09:35:07 go: finding github.com/mitchellh/mapstructure v1.1.2 09:35:07 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:35:07 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:35:07 go: finding github.com/pelletier/go-toml v1.2.0 09:35:07 go: finding github.com/pkg/errors v0.8.1 09:35:07 go: finding github.com/pmezard/go-difflib v1.0.0 09:35:07 go: finding github.com/posener/complete v1.1.1 09:35:07 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:35:07 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:35:07 go: finding github.com/stretchr/objx v0.1.0 09:35:07 go: finding github.com/stretchr/testify v1.5.1 09:35:07 go: finding github.com/ugorji/go v1.1.4 09:35:07 go: finding github.com/x448/float16 v0.8.4 09:35:07 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:35:07 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:35:07 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:35:07 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:35:07 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:35:07 go: finding gopkg.in/yaml.v2 v2.2.8 09:35:09 9eb99e56ec68: Pull complete 09:35:09 27c7a5d97fbd: Pull complete 09:35:10 5c102a31e300: Pull complete 09:35:10 dcfb455df0a1: Pull complete 09:35:10 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 09:35:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 09:35:10 ---> 7c70fe431013 09:35:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:35:10 ---> Running in e6b412542eb3 09:35:10 Removing intermediate container e6b412542eb3 09:35:10 ---> c27d200f0ff2 09:35:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:35:10 ---> Running in 4069e13ee9b3 09:35:12 Removing intermediate container 4069e13ee9b3 09:35:12 ---> 9afd23807bb2 09:35:12 Step 5/8 : RUN apk add --no-cache make git 09:35:12 ---> Running in f129121d50f5 09:35:12 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:35:13 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:35:14 OK: 143 MiB in 39 packages 09:35:14 Removing intermediate container f129121d50f5 09:35:14 ---> 38735d18f1e2 09:35:14 Step 6/8 : WORKDIR /device-sdk-go 09:35:14 ---> Running in 90496f951bef 09:35:14 Removing intermediate container 90496f951bef 09:35:14 ---> b70b1a041134 09:35:14 Step 7/8 : COPY . . 09:35:15 ---> 404a3e6a3570 09:35:15 Step 8/8 : RUN go mod download 09:35:15 ---> Running in 9606887a7fe7 09:35:17 go: finding github.com/BurntSushi/toml v0.3.1 09:35:17 go: finding github.com/OneOfOne/xxhash v1.2.6 09:35:17 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:35:17 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:35:17 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:35:17 go: finding github.com/bgentry/speakeasy v0.1.0 09:35:17 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:35:17 go: finding github.com/davecgh/go-spew v1.1.1 09:35:17 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 09:35:17 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:35:17 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 09:35:17 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 09:35:17 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:35:17 go: finding github.com/fatih/color v1.7.0 09:35:17 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:35:17 go: finding github.com/go-kit/kit v0.8.0 09:35:17 go: finding github.com/go-logfmt/logfmt v0.4.0 09:35:17 go: finding github.com/go-stack/stack v1.8.0 09:35:17 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:35:17 go: finding github.com/google/uuid v1.1.0 09:35:17 go: finding github.com/gorilla/mux v1.7.1 09:35:17 go: finding github.com/hashicorp/consul/api v1.1.0 09:35:17 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:35:17 Removing intermediate container e7db999d4530 09:35:17 ---> ffc57a6b510b 09:35:17 Successfully built ffc57a6b510b 09:35:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } 09:35:17 go: finding github.com/hashicorp/errwrap v1.0.0 09:35:17 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:35:17 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:35:17 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:35:17 go: finding github.com/hashicorp/go-multierror v1.0.0 09:35:17 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:35:17 go: finding github.com/hashicorp/go-sockaddr v1.0.0 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:35:18 go: finding github.com/hashicorp/go-syslog v1.0.0 09:35:18 go: finding github.com/hashicorp/go-uuid v1.0.1 09:35:18 go: finding github.com/hashicorp/go.net v0.0.1 09:35:18 go: finding github.com/hashicorp/golang-lru v0.5.0 09:35:18 go: finding github.com/hashicorp/logutils v1.0.0 09:35:18 go: finding github.com/hashicorp/mdns v1.0.0 09:35:18 go: finding github.com/hashicorp/memberlist v0.1.3 09:35:18 go: finding github.com/hashicorp/serf v0.8.2 09:35:18 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:35:18 go: finding github.com/mattn/go-colorable v0.0.9 09:35:18 go: finding github.com/mattn/go-isatty v0.0.3 09:35:18 go: finding github.com/miekg/dns v1.0.14 09:35:18 go: finding github.com/mitchellh/cli v1.0.0 09:35:18 + docker inspect -f . ci-base-image-arm64 09:35:18 . 09:35:18 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:35:18 go: finding github.com/mitchellh/copystructure v1.0.0 09:35:18 go: finding github.com/mitchellh/go-homedir v1.0.0 09:35:18 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:35:18 go: finding github.com/mitchellh/gox v0.4.0 09:35:18 go: finding github.com/mitchellh/iochan v1.0.0 09:35:18 go: finding github.com/mitchellh/mapstructure v1.1.2 09:35:18 go: finding github.com/mitchellh/reflectwalk v1.0.0 [Pipeline] withDockerContainer 09:35:18 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:35:18 go: finding github.com/pelletier/go-toml v1.2.0 09:35:18 go: finding github.com/pkg/errors v0.8.1 09:35:18 go: finding github.com/pmezard/go-difflib v1.0.0 09:35:18 go: finding github.com/posener/complete v1.1.1 09:35:18 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:35:18 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:35:18 go: finding github.com/stretchr/objx v0.1.0 09:35:19 prd-ubuntu18.04-docker-arm64-4c-16g-3805 does not seem to be running inside a container 09:35:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:35:19 go: finding github.com/stretchr/testify v1.5.1 09:35:19 go: finding github.com/ugorji/go v1.1.4 09:35:19 go: finding github.com/x448/float16 v0.8.4 09:35:19 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:35:19 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:35:19 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:35:19 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:35:19 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:35:19 go: finding gopkg.in/yaml.v2 v2.2.8 09:35:20 $ docker top afd59895b35a2734549e79e09a37c446c084d224016b1984acfb752c62bfb14a -eo pid,comm [Pipeline] { [Pipeline] sh 09:35:21 + go version 09:35:21 go version go1.13.5 linux/arm64 [Pipeline] sh 09:35:22 + make test 09:35:22 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:35:23 Removing intermediate container 9606887a7fe7 09:35:23 ---> ee548474b42e 09:35:23 Successfully built ee548474b42e 09:35:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 09:35:23 ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:35:24 + docker inspect -f . ci-base-image-x86_64 09:35:24 . [Pipeline] withDockerContainer 09:35:24 prd-centos7-docker-4c-2g-3806 does not seem to be running inside a container 09:35:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:35:24 $ docker top e93c29bcecd815c01a02055fce5369fb19cf505d031d755144b2c161d2209d77 -eo pid,comm [Pipeline] { [Pipeline] sh 09:35:25 + go version 09:35:25 go version go1.13.5 linux/amd64 [Pipeline] sh 09:35:25 + make test 09:35:25 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:35:26 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:35:36 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:35:36 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:35:36 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.024s coverage: 22.1% of statements 09:35:41 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.056s coverage: 95.8% of statements 09:35:50 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:35:50 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:35:51 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.031s coverage: 22.1% of statements 09:35:54 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.153s coverage: 95.8% of statements 09:36:13 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.084s coverage: 11.4% of statements 09:36:13 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.1% of statements 09:36:13 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:36:13 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.118s coverage: 38.5% of statements 09:36:13 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:36:13 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:36:13 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.387s coverage: 79.8% of statements 09:36:13 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:36:13 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:36:13 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:36:13 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements 09:36:13 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 09:36:13 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 71.4% of statements 09:36:13 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:36:13 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:36:13 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:36:13 gofmt -l . 09:36:13 [ "`gofmt -l .`" = "" ] 09:36:13 ./bin/test-attribution-txt.sh 09:36:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:36:13 Stashed 1 file(s) [Pipeline] } 09:36:13 $ docker stop --time=1 e93c29bcecd815c01a02055fce5369fb19cf505d031d755144b2c161d2209d77 09:36:15 $ docker rm -f e93c29bcecd815c01a02055fce5369fb19cf505d031d755144b2c161d2209d77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:36:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:36:16 + ls -al . 09:36:16 total 160 09:36:16 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 14 09:36 . 09:36:16 drwxrwxr-x. 4 jenkins jenkins 28 Apr 14 09:34 .. 09:36:16 drwxrwxr-x. 3 jenkins jenkins 20 Apr 14 09:34 api 09:36:16 drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 09:34 bin 09:36:16 -rw-r--r--. 1 jenkins jenkins 96404 Apr 14 09:36 coverage.out 09:36:16 -rw-rw-r--. 1 jenkins jenkins 936 Apr 14 09:34 Dockerfile.build 09:36:16 -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 09:34 .dockerignore 09:36:16 drwxrwxr-x. 4 jenkins jenkins 31 Apr 14 09:34 example 09:36:16 drwxrwxr-x. 8 jenkins jenkins 179 Apr 14 09:34 .git 09:36:16 drwxrwxr-x. 2 jenkins jenkins 38 Apr 14 09:34 .github 09:36:16 -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 09:34 .gitignore 09:36:16 -rw-r--r--. 1 jenkins jenkins 446 Apr 14 09:36 go.mod 09:36:16 -rw-r--r--. 1 jenkins jenkins 12076 Apr 14 09:36 go.sum 09:36:16 drwxrwxr-x. 14 jenkins jenkins 196 Apr 14 09:34 internal 09:36:16 -rw-rw-r--. 1 jenkins jenkins 808 Apr 14 09:34 Jenkinsfile 09:36:16 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 09:34 LICENSE 09:36:16 -rw-rw-r--. 1 jenkins jenkins 892 Apr 14 09:34 Makefile 09:36:16 drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 09:34 pkg 09:36:16 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 14 09:34 README.md 09:36:16 drwxrwxr-x. 3 jenkins jenkins 58 Apr 14 09:34 .semver 09:36:16 drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 09:34 snap 09:36:16 -rw-rw-r--. 1 jenkins jenkins 5 Apr 14 09:32 VERSION 09:36:16 -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 09:34 version.go [Pipeline] isUnix [Pipeline] sh 09:36:17 + 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=f00dd10d70c517fcbc158321f5bc713325a17dde --label arch=amd64 --label version=0.0.0 . 09:36:17 Sending build context to Docker daemon 3.006MB 09:36:17 Step 1/21 : ARG BASE=golang:1.13-alpine 09:36:17 Step 2/21 : FROM ${BASE} AS builder 09:36:17 ---> ee548474b42e 09:36:17 Step 3/21 : ARG MAKE='make build' 09:36:17 ---> Running in 55880a8eacb9 09:36:17 Removing intermediate container 55880a8eacb9 09:36:17 ---> 64bea53e3877 09:36:17 Step 4/21 : WORKDIR /device-sdk-go 09:36:17 ---> Running in 67853c93450f 09:36:17 Removing intermediate container 67853c93450f 09:36:17 ---> 90011e5d048e 09:36:17 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:36:17 ---> Running in b1d142a7b3d9 09:36:17 Removing intermediate container b1d142a7b3d9 09:36:17 ---> 5511feb7adf8 09:36:17 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:36:17 ---> Running in 9db9bfc6b8b7 09:36:18 Removing intermediate container 9db9bfc6b8b7 09:36:18 ---> 3bd3699684f8 09:36:18 Step 7/21 : RUN apk add --update --no-cache make git 09:36:18 ---> Running in 4712253070df 09:36:18 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:36:19 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:36:19 OK: 143 MiB in 39 packages 09:36:20 Removing intermediate container 4712253070df 09:36:20 ---> 9a8a34960ca8 09:36:20 Step 8/21 : COPY . . 09:36:20 ---> 725a78c2fac0 09:36:20 Step 9/21 : RUN ${MAKE} 09:36:20 ---> Running in 32ea454152a2 09:36:20 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 09:36:26 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.153s coverage: 11.4% of statements 09:36:26 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.031s coverage: 22.1% of statements 09:36:26 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:36:26 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.148s coverage: 38.5% of statements 09:36:26 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:36:26 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:36:26 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.714s coverage: 79.8% of statements 09:36:26 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:36:26 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:36:26 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:36:26 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements 09:36:26 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 09:36:26 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.351s coverage: 71.4% of statements 09:36:26 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:36:26 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:36:26 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:36:29 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:36:29 Removing intermediate container 32ea454152a2 09:36:29 ---> d74c5ab9cd54 09:36:29 Step 10/21 : FROM scratch 09:36:29 ---> 09:36:29 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:36:29 ---> Running in 4bca3355096a 09:36:29 Removing intermediate container 4bca3355096a 09:36:29 ---> e76585e6a8d6 09:36:29 Step 12/21 : ENV APP_PORT=49990 09:36:29 ---> Running in 4851c629bb24 09:36:29 Removing intermediate container 4851c629bb24 09:36:29 ---> 5f8ad31f53cd 09:36:29 Step 13/21 : EXPOSE $APP_PORT 09:36:29 ---> Running in 18da8a6f33dd 09:36:29 Removing intermediate container 18da8a6f33dd 09:36:29 ---> d76d86e9a086 09:36:29 Step 14/21 : WORKDIR / 09:36:29 ---> Running in 91ac5a5e29af 09:36:29 Removing intermediate container 91ac5a5e29af 09:36:29 ---> 4f0fd5e46b7d 09:36:29 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:36:30 ---> 262bcbe6d32a 09:36:30 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:36:30 gofmt -l . 09:36:30 ---> 0bbed1a0bf24 09:36:30 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:36:30 [ "`gofmt -l .`" = "" ] 09:36:30 ---> 09a2e99779aa 09:36:30 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:36:30 ---> Running in a77c0a7e9e29 09:36:30 Removing intermediate container a77c0a7e9e29 09:36:30 ---> 6523ab0d2bc3 09:36:30 Step 19/21 : LABEL arch=amd64 09:36:30 ---> Running in cd4a0b4a6827 09:36:30 ./bin/test-attribution-txt.sh 09:36:30 Removing intermediate container cd4a0b4a6827 09:36:30 ---> 0eaec8432cd8 09:36:30 Step 20/21 : LABEL git_sha=f00dd10d70c517fcbc158321f5bc713325a17dde 09:36:30 ---> Running in 29314bee02e4 09:36:31 Removing intermediate container 29314bee02e4 09:36:31 ---> d40f153f6519 09:36:31 Step 21/21 : LABEL version=0.0.0 09:36:31 ---> Running in eb93ff6133d2 09:36:31 Removing intermediate container eb93ff6133d2 09:36:31 ---> b6277f91f0e1 09:36:31 [Warning] One or more build-args [ARCH] were not consumed 09:36:31 Successfully built b6277f91f0e1 09:36:31 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] } 09:36:31 ./bin/test-go-mod-tidy.sh [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] stash 09:36:32 Warning: overwriting stash ‘coverage-report’ [Pipeline] // stage [Pipeline] } 09:36:32 Stashed 1 file(s) [Pipeline] } 09:36:32 $ docker stop --time=1 afd59895b35a2734549e79e09a37c446c084d224016b1984acfb752c62bfb14a 09:36:34 $ docker rm -f afd59895b35a2734549e79e09a37c446c084d224016b1984acfb752c62bfb14a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:36:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:36:36 + ls -al . 09:36:36 total 200 09:36:36 drwxrwxr-x 11 jenkins jenkins 4096 Apr 14 09:36 . 09:36:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 09:34 .. 09:36:36 -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 09:34 .dockerignore 09:36:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 09:34 .git 09:36:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 09:34 .github 09:36:36 -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 09:34 .gitignore 09:36:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 09:34 .semver 09:36:36 -rw-rw-r-- 1 jenkins jenkins 936 Apr 14 09:34 Dockerfile.build 09:36:36 -rw-rw-r-- 1 jenkins jenkins 808 Apr 14 09:34 Jenkinsfile 09:36:36 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 09:34 LICENSE 09:36:36 -rw-rw-r-- 1 jenkins jenkins 892 Apr 14 09:34 Makefile 09:36:36 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 14 09:34 README.md 09:36:36 -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 09:32 VERSION 09:36:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 09:34 api 09:36:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 09:34 bin 09:36:36 -rw-r--r-- 1 jenkins jenkins 96404 Apr 14 09:36 coverage.out 09:36:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 09:34 example 09:36:36 -rw-r--r-- 1 jenkins jenkins 446 Apr 14 09:36 go.mod 09:36:36 -rw-r--r-- 1 jenkins jenkins 12076 Apr 14 09:36 go.sum 09:36:36 drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 09:34 internal 09:36:36 drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 09:34 pkg 09:36:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 09:34 snap 09:36:36 -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 09:34 version.go [Pipeline] isUnix [Pipeline] sh 09:36:36 + 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=f00dd10d70c517fcbc158321f5bc713325a17dde --label arch=arm64 --label version=0.0.0 . 09:36:37 Sending build context to Docker daemon 3.008MB 09:36:37 Step 1/21 : ARG BASE=golang:1.13-alpine 09:36:37 Step 2/21 : FROM ${BASE} AS builder 09:36:37 ---> ffc57a6b510b 09:36:37 Step 3/21 : ARG MAKE='make build' 09:36:37 ---> Running in 6ac6c668cb44 09:36:37 Removing intermediate container 6ac6c668cb44 09:36:37 ---> 0e57721bf048 09:36:37 Step 4/21 : WORKDIR /device-sdk-go 09:36:37 ---> Running in 2f2d3cf7a9ea 09:36:38 Removing intermediate container 2f2d3cf7a9ea 09:36:38 ---> b10322fcfb64 09:36:38 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:36:38 ---> Running in cdcf72f6900e 09:36:38 Removing intermediate container cdcf72f6900e 09:36:38 ---> 2117e2084aa2 09:36:38 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:36:38 ---> Running in 266abb818d4e 09:36:40 Removing intermediate container 266abb818d4e 09:36:40 ---> d0404a342baa 09:36:40 Step 7/21 : RUN apk add --update --no-cache make git 09:36:40 ---> Running in f6fb23b10ee5 09:36:41 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:36:42 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:36:42 OK: 125 MiB in 39 packages 09:36:43 Removing intermediate container f6fb23b10ee5 09:36:43 ---> a8eb59064ba0 09:36:43 Step 8/21 : COPY . . 09:36:45 ---> 1e524ffca31b 09:36:45 Step 9/21 : RUN ${MAKE} 09:36:45 ---> Running in 724480fdd7aa 09:36:45 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 09:37:07 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:37:11 Removing intermediate container 724480fdd7aa 09:37:11 ---> ca2d07effee9 09:37:11 Step 10/21 : FROM scratch 09:37:11 ---> 09:37:11 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:37:11 ---> Running in 86610020c566 09:37:11 Removing intermediate container 86610020c566 09:37:11 ---> 3aefe375bf2d 09:37:11 Step 12/21 : ENV APP_PORT=49990 09:37:11 ---> Running in 97f57f2b6a34 09:37:11 Removing intermediate container 97f57f2b6a34 09:37:11 ---> 6b2eadc4368f 09:37:11 Step 13/21 : EXPOSE $APP_PORT 09:37:11 ---> Running in a279c04e8d9b 09:37:12 Removing intermediate container a279c04e8d9b 09:37:12 ---> 5cb1b1936c04 09:37:12 Step 14/21 : WORKDIR / 09:37:12 ---> Running in 924632876c6f 09:37:12 Removing intermediate container 924632876c6f 09:37:12 ---> 2738c451c60b 09:37:12 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:37:13 ---> 467213329918 09:37:13 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:37:13 ---> 58d0def7a968 09:37:13 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:37:14 ---> eb34c16a29f0 09:37:14 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:37:14 ---> Running in 712a0ec3f229 09:37:14 Removing intermediate container 712a0ec3f229 09:37:14 ---> 4dbbd114993c 09:37:14 Step 19/21 : LABEL arch=arm64 09:37:15 ---> Running in 9eadb6f06828 09:37:15 Removing intermediate container 9eadb6f06828 09:37:15 ---> 254d41d10d00 09:37:15 Step 20/21 : LABEL git_sha=f00dd10d70c517fcbc158321f5bc713325a17dde 09:37:15 ---> Running in 2b757dd70390 09:37:15 Removing intermediate container 2b757dd70390 09:37:15 ---> 18d3492ee214 09:37:15 Step 21/21 : LABEL version=0.0.0 09:37:15 ---> Running in e784657e095c 09:37:16 Removing intermediate container e784657e095c 09:37:16 ---> 6c556be914e6 09:37:16 [Warning] One or more build-args [ARCH] were not consumed 09:37:16 Successfully built 6c556be914e6 09:37:16 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 09:37:17 provisioning config files... 09:37:17 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/config1533558632773636615tmp [Pipeline] { [Pipeline] sh 09:37:17 + curl -s https://codecov.io/bash 09:37:17 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/config1533558632773636615tmp 09:37:18 09:37:18 _____ _ 09:37:18 / ____| | | 09:37:18 | | ___ __| | ___ ___ _____ __ 09:37:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:37:18 | |___| (_) | (_| | __/ (_| (_) \ V / 09:37:18 \_____\___/ \__,_|\___|\___\___/ \_/ 09:37:18 Bash-20200410-0786dee 09:37:18 09:37:18 09:37:18 ==> Jenkins CI detected. 09:37:18 project root: . 09:37:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:37:18 ==> Running gcov in . (disable via -X gcov) 09:37:18 ==> Python coveragepy not found 09:37:18 ==> Searching for coverage reports in: 09:37:18 + . 09:37:18 -> Found 1 reports 09:37:18 ==> Detecting git/mercurial file structure 09:37:18 ==> Reading reports 09:37:18 + ./coverage.out bytes=96404 09:37:18 ==> Appending adjustments 09:37:18 http://docs.codecov.io/docs/fixing-reports 09:37:18 + Found adjustments 09:37:18 ==> Gzipping contents 09:37:18 ==> Uploading reports 09:37:18 url: https://codecov.io 09:37:18 query: branch=PR-483&commit=f00dd10d70c517fcbc158321f5bc713325a17dde&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-483%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=483&job= 09:37:18 -> Pinging Codecov 09:37:18 https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-483&commit=f00dd10d70c517fcbc158321f5bc713325a17dde&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-483%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=483&job= 09:37:19 -> Uploading 09:37:19 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f00dd10d70c517fcbc158321f5bc713325a17dde [Pipeline] } 09:37:19 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 09:37:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:37:21 ---> package-listing.sh 09:37:21 ++ facter osfamily 09:37:21 ++ tr '[:upper:]' '[:lower:]' 09:37:21 + OS_FAMILY=redhat 09:37:21 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-483 09:37:21 + START_PACKAGES=/tmp/packages_start.txt 09:37:21 + END_PACKAGES=/tmp/packages_end.txt 09:37:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:37:21 + PACKAGES=/tmp/packages_start.txt 09:37:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-483 ']' 09:37:21 + PACKAGES=/tmp/packages_end.txt 09:37:21 + case "${OS_FAMILY}" in 09:37:21 + rpm -qa 09:37:21 + sort 09:37:25 + '[' -f /tmp/packages_start.txt ']' 09:37:25 + '[' -f /tmp/packages_end.txt ']' 09:37:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:37:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-483 ']' 09:37:25 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-483/archives/ 09:37:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-483/archives/ [Pipeline] isUnix [Pipeline] sh 09:37:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:37:25 09:37:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:37:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:37:26 alpine: Pulling from edgex-lftools-log-publisher 09:37:26 c9b1b535fdd9: Pulling fs layer 09:37:26 2cc5ad85d9ab: Pulling fs layer 09:37:26 756a868c4378: Pulling fs layer 09:37:26 444b2fc9a129: Pulling fs layer 09:37:26 ea15f1150254: Pulling fs layer 09:37:26 41b27a9f41bf: Pulling fs layer 09:37:26 28c525ee5125: Pulling fs layer 09:37:26 094b1ea09ed8: Pulling fs layer 09:37:26 138eaada9080: Pulling fs layer 09:37:26 0622d0fa9048: Pulling fs layer 09:37:26 41b27a9f41bf: Waiting 09:37:26 28c525ee5125: Waiting 09:37:26 094b1ea09ed8: Waiting 09:37:26 138eaada9080: Waiting 09:37:26 0622d0fa9048: Waiting 09:37:26 444b2fc9a129: Waiting 09:37:26 ea15f1150254: Waiting 09:37:26 2cc5ad85d9ab: Download complete 09:37:26 444b2fc9a129: Verifying Checksum 09:37:26 444b2fc9a129: Download complete 09:37:26 c9b1b535fdd9: Verifying Checksum 09:37:26 ea15f1150254: Verifying Checksum 09:37:26 ea15f1150254: Download complete 09:37:26 28c525ee5125: Verifying Checksum 09:37:26 28c525ee5125: Download complete 09:37:26 756a868c4378: Verifying Checksum 09:37:26 756a868c4378: Download complete 09:37:26 c9b1b535fdd9: Pull complete 09:37:26 138eaada9080: Verifying Checksum 09:37:26 138eaada9080: Download complete 09:37:26 0622d0fa9048: Verifying Checksum 09:37:26 0622d0fa9048: Download complete 09:37:26 094b1ea09ed8: Verifying Checksum 09:37:26 094b1ea09ed8: Download complete 09:37:26 2cc5ad85d9ab: Pull complete 09:37:27 41b27a9f41bf: Verifying Checksum 09:37:27 41b27a9f41bf: Download complete 09:37:28 756a868c4378: Pull complete 09:37:28 444b2fc9a129: Pull complete 09:37:28 ea15f1150254: Pull complete 09:37:32 41b27a9f41bf: Pull complete 09:37:32 28c525ee5125: Pull complete 09:37:34 094b1ea09ed8: Pull complete 09:37:34 138eaada9080: Pull complete 09:37:34 0622d0fa9048: Pull complete 09:37:34 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:37:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:37:35 prd-centos7-docker-4c-2g-3804 does not seem to be running inside a container 09:37:35 $ 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-483 -v /w/workspace/dgexfoundry_device-sdk-go_PR-483:/w/workspace/dgexfoundry_device-sdk-go_PR-483:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-483@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 09:37:36 $ docker top aeeb8fff8ae0c70cc62204dbfa06d60bfd52ae83cc38065ba8e60a5fae76ff9b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:37:36 provisioning config files... 09:37:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/config4733689065228476790tmp [Pipeline] { [Pipeline] echo 09:37:36 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:37:36 ---> create-netrc.sh [Pipeline] echo 09:37:36 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:37:37 ---> logs-deploy.sh 09:37:37 + ARCHIVE_ARTIFACTS= 09:37:37 + LOGS_SERVER=https://logs.edgexfoundry.org 09:37:37 + '[' https://logs.edgexfoundry.org == None ']' 09:37:37 + NEXUS_URL=https://nexus.edgexfoundry.org 09:37:37 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-483/2 09:37:37 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-483/2/ 09:37:37 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-483/2 /w/workspace/dgexfoundry_device-sdk-go_PR-483 09:37:38 Archives upload complete. 09:37:38 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-483/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-483/2/