Pull request #473 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 Loading trusted files from base branch master at 44a3efcab02ed32588a403b99094af06f0793c80 rather than d827b439126bfdf9e1259be0466ec1739bf70a4a Obtained Jenkinsfile from 44a3efcab02ed32588a403b99094af06f0793c80 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-2760 in /w/workspace/dgexfoundry_device-sdk-go_PR-473 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-473 # timeout=10 Fetching without tags 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/473/head:refs/remotes/origin/PR-473 +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/473/head:refs/remotes/origin/PR-473 # 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/473/head:refs/remotes/origin/PR-473 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 44a3efcab02ed32588a403b99094af06f0793c80 into PR head commit d827b439126bfdf9e1259be0466ec1739bf70a4a Merge succeeded, producing d827b439126bfdf9e1259be0466ec1739bf70a4a Checking out Revision d827b439126bfdf9e1259be0466ec1739bf70a4a (PR-473) > git config core.sparsecheckout # timeout=10 > git checkout -f d827b439126bfdf9e1259be0466ec1739bf70a4a # 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 44a3efcab02ed32588a403b99094af06f0793c80 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d827b439126bfdf9e1259be0466ec1739bf70a4a # timeout=10 Commit message: "Switch CBOR library for better security" First time build. Skipping changelog. > git rev-list --no-walk 6c5ac1f081446ebae8afec7ac9fa80d1a6e7ed8c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:56:29 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 05:56:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:56:31 05:56:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:56:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:56:31 latest: Pulling from edgex-devops/git-semver 05:56:31 9123ac7c32f7: Pulling fs layer 05:56:31 b8cc5d1170e3: Pulling fs layer 05:56:31 2924cbbf6a41: Pulling fs layer 05:56:31 93b08a4f1073: Pulling fs layer 05:56:31 93b08a4f1073: Waiting 05:56:31 b8cc5d1170e3: Verifying Checksum 05:56:31 b8cc5d1170e3: Download complete 05:56:32 9123ac7c32f7: Download complete 05:56:32 93b08a4f1073: Verifying Checksum 05:56:32 93b08a4f1073: Download complete 05:56:32 2924cbbf6a41: Verifying Checksum 05:56:32 2924cbbf6a41: Download complete 05:56:32 9123ac7c32f7: Pull complete 05:56:32 b8cc5d1170e3: Pull complete 05:56:33 2924cbbf6a41: Pull complete 05:56:33 93b08a4f1073: Pull complete 05:56:33 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 05:56:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:56:33 prd-centos7-docker-4c-2g-2760 does not seem to be running inside a container 05:56:33 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-473 -v /w/workspace/dgexfoundry_device-sdk-go_PR-473:/w/workspace/dgexfoundry_device-sdk-go_PR-473:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-473@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 05:56:34 $ docker top 21104e75e21e5695b68297e6ed2893faacf1614a8d8e5ebe02999777dc41278d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:56:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:56:34 [ssh-agent] Looking for ssh-agent implementation... 05:56:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:56:35 $ docker exec 21104e75e21e5695b68297e6ed2893faacf1614a8d8e5ebe02999777dc41278d ssh-agent 05:56:35 SSH_AUTH_SOCK=/tmp/ssh-iS4ovX0UVn3B/agent.15 05:56:35 SSH_AGENT_PID=22 05:56:35 Running ssh-add (command line suppressed) 05:56:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/private_key_5783584719727001253.key (/w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/private_key_5783584719727001253.key) 05:56:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:56:35 + git describe --exact-match --tags HEAD 05:56:35 fatal: No names found, cannot describe anything. [Pipeline] } 05:56:35 $ docker exec --env ******** --env ******** 21104e75e21e5695b68297e6ed2893faacf1614a8d8e5ebe02999777dc41278d ssh-agent -k 05:56:36 unset SSH_AUTH_SOCK; 05:56:36 unset SSH_AGENT_PID; 05:56:36 echo Agent pid 22 killed; 05:56:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:56:36 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:56:36 This usually means this commit has not been tagged. [Pipeline] sshagent 05:56:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:56:36 [ssh-agent] Looking for ssh-agent implementation... 05:56:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:56:36 $ docker exec 21104e75e21e5695b68297e6ed2893faacf1614a8d8e5ebe02999777dc41278d ssh-agent 05:56:36 SSH_AUTH_SOCK=/tmp/ssh-95QH7hUUrBVA/agent.58 05:56:36 SSH_AGENT_PID=65 05:56:36 Running ssh-add (command line suppressed) 05:56:36 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/private_key_7198265980793075973.key (/w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/private_key_7198265980793075973.key) 05:56:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:56:37 + git semver init 05:56:37 # -> Open(): unable to determine branch for HEAD 05:56:37 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-473/.git 05:56:37 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-473 05:56:37 # $SEMVER_REMOTE_NAME = origin 05:56:37 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 05:56:37 # $SEMVER_USER_NAME = jenkins 05:56:37 # $SEMVER_BRANCH = PR-473 05:56:37 # $SEMVER_TEMP = /tmp/semver-876168928 05:56:37 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:56:37 # '/tmp/semver-876168928' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-473/.semver' 05:56:37 # -> Force: false 05:56:37 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-473/.semver [Pipeline] } 05:56:37 $ docker exec --env ******** --env ******** 21104e75e21e5695b68297e6ed2893faacf1614a8d8e5ebe02999777dc41278d ssh-agent -k 05:56:38 unset SSH_AUTH_SOCK; 05:56:38 unset SSH_AGENT_PID; 05:56:38 echo Agent pid 65 killed; 05:56:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:56:38 + git semver [Pipeline] } 05:56:38 $ docker stop --time=1 21104e75e21e5695b68297e6ed2893faacf1614a8d8e5ebe02999777dc41278d 05:56:40 $ docker rm -f 21104e75e21e5695b68297e6ed2893faacf1614a8d8e5ebe02999777dc41278d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:56:41 Stashed 36 file(s) [Pipeline] echo 05:56:41 [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 05:56:56 Still waiting to schedule task 05:56:56 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:56:56 Still waiting to schedule task 05:56:56 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:59:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2761 in /w/workspace/dgexfoundry_device-sdk-go_PR-473 [Pipeline] { [Pipeline] ws 05:59:04 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 05:59:10 using credential edgex-jenkins-ssh 05:59:10 Cloning the remote Git repository 05:59:10 Cloning with configured refspecs honoured and without tags 05:59:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:59:11 > git init /w/workspace/device-sdk-go/3 # timeout=10 05:59:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:59:11 > git --version # timeout=10 05:59:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/473/head:refs/remotes/origin/PR-473 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:59:12 Fetching without tags 05:59:12 Merging remotes/origin/master commit 44a3efcab02ed32588a403b99094af06f0793c80 into PR head commit d827b439126bfdf9e1259be0466ec1739bf70a4a 05:59:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:59:12 > git config --add remote.origin.fetch +refs/pull/473/head:refs/remotes/origin/PR-473 # timeout=10 05:59:12 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:59:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:59:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:59:12 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:12 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/473/head:refs/remotes/origin/PR-473 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:59:12 > git config core.sparsecheckout # timeout=10 05:59:12 > git checkout -f d827b439126bfdf9e1259be0466ec1739bf70a4a # timeout=10 05:59:13 Merge succeeded, producing d827b439126bfdf9e1259be0466ec1739bf70a4a 05:59:13 Checking out Revision d827b439126bfdf9e1259be0466ec1739bf70a4a (PR-473) 05:59:13 > git remote # timeout=10 05:59:13 > git config --get remote.origin.url # timeout=10 05:59:13 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:13 > git merge 44a3efcab02ed32588a403b99094af06f0793c80 # timeout=10 05:59:13 > git rev-parse HEAD^{commit} # timeout=10 05:59:13 > git config core.sparsecheckout # timeout=10 05:59:13 > git checkout -f d827b439126bfdf9e1259be0466ec1739bf70a4a # timeout=10 05:59:17 Commit message: "Switch CBOR library for better security" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:59:18 ========================================================= 05:59:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:59:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:59:19 + 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 . 05:59:20 Sending build context to Docker daemon 2.822MB 05:59:20 Step 1/8 : ARG BASE=golang:1.13-alpine 05:59:20 Step 2/8 : FROM ${BASE} 05:59:21 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:59:21 cde5963f3b93: Pulling fs layer 05:59:21 2a23fa8c16f7: Pulling fs layer 05:59:21 777b28850792: Pulling fs layer 05:59:21 8a11ddd9e578: Pulling fs layer 05:59:21 4cf88f913ddb: Pulling fs layer 05:59:21 1df406cf5192: Pulling fs layer 05:59:21 cd6300453558: Pulling fs layer 05:59:21 b9c365052c96: Pulling fs layer 05:59:21 a2d8cc88f415: Pulling fs layer 05:59:21 ea1d1ca13537: Pulling fs layer 05:59:21 3750a50a1c5e: Pulling fs layer 05:59:21 8a11ddd9e578: Waiting 05:59:21 4cf88f913ddb: Waiting 05:59:21 1df406cf5192: Waiting 05:59:21 cd6300453558: Waiting 05:59:21 b9c365052c96: Waiting 05:59:21 a2d8cc88f415: Waiting 05:59:21 ea1d1ca13537: Waiting 05:59:21 3750a50a1c5e: Waiting 05:59:21 777b28850792: Verifying Checksum 05:59:21 777b28850792: Download complete 05:59:21 2a23fa8c16f7: Download complete 05:59:21 4cf88f913ddb: Verifying Checksum 05:59:21 4cf88f913ddb: Download complete 05:59:21 1df406cf5192: Download complete 05:59:21 cde5963f3b93: Verifying Checksum 05:59:21 cde5963f3b93: Download complete 05:59:22 cde5963f3b93: Pull complete 05:59:22 2a23fa8c16f7: Pull complete 05:59:23 777b28850792: Pull complete 05:59:25 cd6300453558: Verifying Checksum 05:59:25 cd6300453558: Download complete 05:59:25 a2d8cc88f415: Verifying Checksum 05:59:25 a2d8cc88f415: Download complete 05:59:28 ea1d1ca13537: Verifying Checksum 05:59:28 ea1d1ca13537: Download complete 05:59:28 3750a50a1c5e: Verifying Checksum 05:59:28 3750a50a1c5e: Download complete 05:59:28 Running on prd-centos7-docker-4c-2g-2762 in /w/workspace/dgexfoundry_device-sdk-go_PR-473 [Pipeline] { [Pipeline] ws 05:59:28 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 05:59:31 b9c365052c96: Verifying Checksum 05:59:31 b9c365052c96: Download complete 05:59:31 using credential edgex-jenkins-ssh 05:59:31 Cloning the remote Git repository 05:59:31 Cloning with configured refspecs honoured and without tags 05:59:31 Fetching without tags 05:59:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:59:31 > git init /w/workspace/device-sdk-go/3 # timeout=10 05:59:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:59:31 > git --version # timeout=10 05:59:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/473/head:refs/remotes/origin/PR-473 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:59:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:59:31 > git config --add remote.origin.fetch +refs/pull/473/head:refs/remotes/origin/PR-473 # timeout=10 05:59:31 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:59:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:59:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:59:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/473/head:refs/remotes/origin/PR-473 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:59:32 Merging remotes/origin/master commit 44a3efcab02ed32588a403b99094af06f0793c80 into PR head commit d827b439126bfdf9e1259be0466ec1739bf70a4a 05:59:32 Merge succeeded, producing d827b439126bfdf9e1259be0466ec1739bf70a4a 05:59:32 Checking out Revision d827b439126bfdf9e1259be0466ec1739bf70a4a (PR-473) 05:59:32 8a11ddd9e578: Verifying Checksum 05:59:32 8a11ddd9e578: Download complete 05:59:32 > git config core.sparsecheckout # timeout=10 05:59:32 > git checkout -f d827b439126bfdf9e1259be0466ec1739bf70a4a # timeout=10 05:59:32 > git remote # timeout=10 05:59:32 > git config --get remote.origin.url # timeout=10 05:59:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:32 > git merge 44a3efcab02ed32588a403b99094af06f0793c80 # timeout=10 05:59:32 > git rev-parse HEAD^{commit} # timeout=10 05:59:32 > git config core.sparsecheckout # timeout=10 05:59:32 > git checkout -f d827b439126bfdf9e1259be0466ec1739bf70a4a # timeout=10 05:59:36 Commit message: "Switch CBOR library for better security" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:59:37 ========================================================= 05:59:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:59:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:59:37 + 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 . 05:59:38 Sending build context to Docker daemon 2.822MB 05:59:38 Step 1/8 : ARG BASE=golang:1.13-alpine 05:59:38 Step 2/8 : FROM ${BASE} 05:59:38 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:59:38 e6b0cf9c0882: Pulling fs layer 05:59:38 2848faf0eed1: Pulling fs layer 05:59:38 0f37312ad70f: Pulling fs layer 05:59:38 5788d62ee057: Pulling fs layer 05:59:38 0e6b1d234666: Pulling fs layer 05:59:38 bf5d7aec512f: Pulling fs layer 05:59:38 34c802a77dc8: Pulling fs layer 05:59:38 9eb99e56ec68: Pulling fs layer 05:59:38 27c7a5d97fbd: Pulling fs layer 05:59:38 5c102a31e300: Pulling fs layer 05:59:38 dcfb455df0a1: Pulling fs layer 05:59:38 bf5d7aec512f: Waiting 05:59:38 34c802a77dc8: Waiting 05:59:38 5788d62ee057: Waiting 05:59:38 9eb99e56ec68: Waiting 05:59:38 27c7a5d97fbd: Waiting 05:59:38 0e6b1d234666: Waiting 05:59:38 5c102a31e300: Waiting 05:59:38 0f37312ad70f: Verifying Checksum 05:59:38 0f37312ad70f: Download complete 05:59:38 2848faf0eed1: Download complete 05:59:38 0e6b1d234666: Verifying Checksum 05:59:38 0e6b1d234666: Download complete 05:59:38 bf5d7aec512f: Verifying Checksum 05:59:38 bf5d7aec512f: Download complete 05:59:38 e6b0cf9c0882: Verifying Checksum 05:59:38 e6b0cf9c0882: Download complete 05:59:38 e6b0cf9c0882: Pull complete 05:59:38 2848faf0eed1: Pull complete 05:59:38 0f37312ad70f: Pull complete 05:59:39 34c802a77dc8: Verifying Checksum 05:59:39 34c802a77dc8: Download complete 05:59:39 27c7a5d97fbd: Verifying Checksum 05:59:39 27c7a5d97fbd: Download complete 05:59:39 5788d62ee057: Verifying Checksum 05:59:39 5788d62ee057: Download complete 05:59:39 5c102a31e300: Verifying Checksum 05:59:39 5c102a31e300: Download complete 05:59:39 dcfb455df0a1: Verifying Checksum 05:59:39 dcfb455df0a1: Download complete 05:59:40 9eb99e56ec68: Verifying Checksum 05:59:40 9eb99e56ec68: Download complete 05:59:44 8a11ddd9e578: Pull complete 05:59:44 4cf88f913ddb: Pull complete 05:59:44 1df406cf5192: Pull complete 05:59:46 5788d62ee057: Pull complete 05:59:46 0e6b1d234666: Pull complete 05:59:46 bf5d7aec512f: Pull complete 05:59:48 cd6300453558: Pull complete 05:59:50 34c802a77dc8: Pull complete 05:59:53 b9c365052c96: Pull complete 05:59:53 a2d8cc88f415: Pull complete 05:59:54 9eb99e56ec68: Pull complete 05:59:54 27c7a5d97fbd: Pull complete 05:59:55 5c102a31e300: Pull complete 05:59:55 dcfb455df0a1: Pull complete 05:59:55 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:59:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:59:55 ---> 7c70fe431013 05:59:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:55 ---> Running in 3b1c561107bb 05:59:55 Removing intermediate container 3b1c561107bb 05:59:55 ---> 5f0a72902dec 05:59:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:55 ---> Running in c95cb4630d9a 05:59:55 ea1d1ca13537: Pull complete 05:59:56 3750a50a1c5e: Pull complete 05:59:56 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:59:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:59:56 ---> 78745c68409d 05:59:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:56 Removing intermediate container c95cb4630d9a 05:59:56 ---> 26d94f5652e9 05:59:56 Step 5/8 : RUN apk add --no-cache make git 05:59:56 ---> Running in 3a707c15b205 05:59:57 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:59:57 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:59:58 OK: 143 MiB in 39 packages 05:59:58 Removing intermediate container 3a707c15b205 05:59:58 ---> bc09f7ed8602 05:59:58 Step 6/8 : WORKDIR /device-sdk-go 05:59:58 ---> Running in 58b41b6d5c7d 05:59:58 Removing intermediate container 58b41b6d5c7d 05:59:58 ---> 9ded324a3f2e 05:59:58 Step 7/8 : COPY . . 05:59:59 ---> b12636d72bc7 05:59:59 Step 8/8 : RUN go mod download 05:59:59 ---> Running in 8af411df472b 05:59:59 ---> Running in 41802b8366b6 06:00:00 Removing intermediate container 41802b8366b6 06:00:00 ---> fb636b598d92 06:00:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:00:00 ---> Running in f8d55e88f270 06:00:01 go: finding github.com/BurntSushi/toml v0.3.1 06:00:01 go: finding github.com/OneOfOne/xxhash v1.2.6 06:00:01 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:00:01 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:00:01 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:00:01 go: finding github.com/bgentry/speakeasy v0.1.0 06:00:01 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:00:01 go: finding github.com/davecgh/go-spew v1.1.1 06:00:01 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 06:00:01 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:00:01 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 06:00:01 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 06:00:01 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:00:01 go: finding github.com/fatih/color v1.7.0 06:00:01 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:00:02 Removing intermediate container f8d55e88f270 06:00:02 ---> 7dc5dd4e8353 06:00:02 Step 5/8 : RUN apk add --no-cache make git 06:00:02 go: finding github.com/go-kit/kit v0.8.0 06:00:02 go: finding github.com/go-logfmt/logfmt v0.4.0 06:00:02 go: finding github.com/go-stack/stack v1.8.0 06:00:02 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:00:02 go: finding github.com/google/uuid v1.1.0 06:00:02 go: finding github.com/gorilla/mux v1.7.1 06:00:02 go: finding github.com/hashicorp/consul/api v1.1.0 06:00:02 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:00:02 go: finding github.com/hashicorp/errwrap v1.0.0 06:00:02 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:00:02 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:00:02 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:00:02 go: finding github.com/hashicorp/go-multierror v1.0.0 06:00:02 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:00:02 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:00:02 go: finding github.com/hashicorp/go-syslog v1.0.0 06:00:02 go: finding github.com/hashicorp/go-uuid v1.0.1 06:00:02 go: finding github.com/hashicorp/go.net v0.0.1 06:00:02 go: finding github.com/hashicorp/golang-lru v0.5.0 06:00:02 go: finding github.com/hashicorp/logutils v1.0.0 06:00:02 go: finding github.com/hashicorp/mdns v1.0.0 06:00:02 go: finding github.com/hashicorp/memberlist v0.1.3 06:00:02 go: finding github.com/hashicorp/serf v0.8.2 06:00:02 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:00:02 go: finding github.com/mattn/go-colorable v0.0.9 06:00:02 go: finding github.com/mattn/go-isatty v0.0.3 06:00:02 go: finding github.com/miekg/dns v1.0.14 06:00:02 go: finding github.com/mitchellh/cli v1.0.0 06:00:02 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:00:02 ---> Running in 4ba5a2341a1d 06:00:02 go: finding github.com/mitchellh/copystructure v1.0.0 06:00:02 go: finding github.com/mitchellh/go-homedir v1.0.0 06:00:02 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:00:02 go: finding github.com/mitchellh/gox v0.4.0 06:00:02 go: finding github.com/mitchellh/iochan v1.0.0 06:00:02 go: finding github.com/mitchellh/mapstructure v1.1.2 06:00:02 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:00:02 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:00:02 go: finding github.com/pelletier/go-toml v1.2.0 06:00:02 go: finding github.com/pkg/errors v0.8.1 06:00:02 go: finding github.com/pmezard/go-difflib v1.0.0 06:00:02 go: finding github.com/posener/complete v1.1.1 06:00:02 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:00:02 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:00:02 go: finding github.com/stretchr/objx v0.1.0 06:00:02 go: finding github.com/stretchr/testify v1.5.1 06:00:02 go: finding github.com/ugorji/go v1.1.4 06:00:02 go: finding github.com/x448/float16 v0.8.4 06:00:02 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:00:02 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:00:02 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:00:02 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:00:02 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:00:02 go: finding gopkg.in/yaml.v2 v2.2.8 06:00:03 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 06:00:03 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 06:00:04 OK: 125 MiB in 39 packages 06:00:05 Removing intermediate container 4ba5a2341a1d 06:00:05 ---> f83c79a688a7 06:00:05 Step 6/8 : WORKDIR /device-sdk-go 06:00:06 ---> Running in f7721958f5ef 06:00:06 Removing intermediate container f7721958f5ef 06:00:06 ---> cd25d3a61bcf 06:00:06 Step 7/8 : COPY . . 06:00:06 Removing intermediate container 8af411df472b 06:00:06 ---> 84287cb92410 06:00:06 Successfully built 84287cb92410 06:00:06 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 06:00:07 ---> 59843993404f 06:00:07 Step 8/8 : RUN go mod download 06:00:07 + docker inspect -f . ci-base-image-x86_64 06:00:07 . [Pipeline] withDockerContainer 06:00:07 prd-centos7-docker-4c-2g-2762 does not seem to be running inside a container 06:00:07 ---> Running in e780d852cfcf 06:00:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 06:00:08 $ docker top 9163ca2b544cd5424df0be4d0151ad3d99c7cda76704db09f012594624940850 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:08 + go version 06:00:08 go version go1.13.5 linux/amd64 [Pipeline] sh 06:00:09 + make test 06:00:09 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:00:09 go: finding github.com/BurntSushi/toml v0.3.1 06:00:09 go: finding github.com/OneOfOne/xxhash v1.2.6 06:00:09 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:00:09 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:00:09 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:00:09 go: finding github.com/bgentry/speakeasy v0.1.0 06:00:09 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:00:09 go: finding github.com/davecgh/go-spew v1.1.1 06:00:09 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 06:00:09 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:00:09 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 06:00:09 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 06:00:09 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:00:09 go: finding github.com/fatih/color v1.7.0 06:00:09 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:00:09 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:00:09 go: finding github.com/go-kit/kit v0.8.0 06:00:09 go: finding github.com/go-logfmt/logfmt v0.4.0 06:00:09 go: finding github.com/go-stack/stack v1.8.0 06:00:09 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:00:09 go: finding github.com/google/uuid v1.1.0 06:00:09 go: finding github.com/gorilla/mux v1.7.1 06:00:09 go: finding github.com/hashicorp/consul/api v1.1.0 06:00:09 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:00:09 go: finding github.com/hashicorp/errwrap v1.0.0 06:00:09 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:00:09 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:00:09 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:00:09 go: finding github.com/hashicorp/go-multierror v1.0.0 06:00:09 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:00:09 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:00:09 go: finding github.com/hashicorp/go-syslog v1.0.0 06:00:09 go: finding github.com/hashicorp/go-uuid v1.0.1 06:00:09 go: finding github.com/hashicorp/go.net v0.0.1 06:00:09 go: finding github.com/hashicorp/golang-lru v0.5.0 06:00:09 go: finding github.com/hashicorp/logutils v1.0.0 06:00:09 go: finding github.com/hashicorp/mdns v1.0.0 06:00:09 go: finding github.com/hashicorp/memberlist v0.1.3 06:00:09 go: finding github.com/hashicorp/serf v0.8.2 06:00:09 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:00:09 go: finding github.com/mattn/go-colorable v0.0.9 06:00:09 go: finding github.com/mattn/go-isatty v0.0.3 06:00:09 go: finding github.com/miekg/dns v1.0.14 06:00:10 go: finding github.com/mitchellh/cli v1.0.0 06:00:10 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:00:10 go: finding github.com/mitchellh/copystructure v1.0.0 06:00:10 go: finding github.com/mitchellh/go-homedir v1.0.0 06:00:10 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:00:10 go: finding github.com/mitchellh/gox v0.4.0 06:00:10 go: finding github.com/mitchellh/iochan v1.0.0 06:00:10 go: finding github.com/mitchellh/mapstructure v1.1.2 06:00:10 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:00:10 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:00:10 go: finding github.com/pelletier/go-toml v1.2.0 06:00:10 go: finding github.com/pkg/errors v0.8.1 06:00:10 go: finding github.com/pmezard/go-difflib v1.0.0 06:00:10 go: finding github.com/posener/complete v1.1.1 06:00:10 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:00:10 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:00:10 go: finding github.com/stretchr/objx v0.1.0 06:00:10 go: finding github.com/stretchr/testify v1.5.1 06:00:10 go: finding github.com/ugorji/go v1.1.4 06:00:10 go: finding github.com/x448/float16 v0.8.4 06:00:10 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:00:10 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:00:10 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:00:10 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:00:10 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:00:10 go: finding gopkg.in/yaml.v2 v2.2.8 06:00:19 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:00:19 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:00:19 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.019s coverage: 22.6% of statements 06:00:20 Removing intermediate container e780d852cfcf 06:00:20 ---> 95973195043d 06:00:20 Successfully built 95973195043d 06:00:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:00:21 + docker inspect -f . ci-base-image-arm64 06:00:21 . [Pipeline] withDockerContainer 06:00:21 prd-ubuntu18.04-docker-arm64-4c-16g-2761 does not seem to be running inside a container 06:00:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 06:00:22 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.046s coverage: 95.8% of statements 06:00:23 $ docker top 820b9334712c2bb8fe2a53a7f8cfe0b73fa06460b18c6341f7902ea87496cc46 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:24 + go version 06:00:24 go version go1.13.5 linux/arm64 [Pipeline] sh 06:00:25 + make test 06:00:25 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:00:26 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:00:53 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:00:53 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:00:55 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.039s coverage: 22.6% of statements 06:00:58 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.149s coverage: 95.8% of statements 06:01:00 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.017s coverage: 11.4% of statements 06:01:00 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.012s coverage: 22.7% of statements 06:01:00 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:01:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.115s coverage: 38.5% of statements 06:01:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:01:00 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 06:01:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.390s coverage: 79.9% of statements 06:01:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:01:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:01:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:01:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.020s coverage: 52.6% of statements 06:01:00 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 06:01:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 76.1% of statements 06:01:00 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:01:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:01:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:01:00 gofmt -l . 06:01:00 [ "`gofmt -l .`" = "" ] 06:01:00 ./bin/test-attribution-txt.sh 06:01:00 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:01:01 Stashed 1 file(s) [Pipeline] } 06:01:01 $ docker stop --time=1 9163ca2b544cd5424df0be4d0151ad3d99c7cda76704db09f012594624940850 06:01:02 $ docker rm -f 9163ca2b544cd5424df0be4d0151ad3d99c7cda76704db09f012594624940850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:04 + ls -al . 06:01:04 total 160 06:01:04 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 8 06:00 . 06:01:04 drwxrwxr-x. 4 jenkins jenkins 28 Apr 8 05:59 .. 06:01:04 drwxrwxr-x. 3 jenkins jenkins 20 Apr 8 05:59 api 06:01:04 drwxrwxr-x. 2 jenkins jenkins 64 Apr 8 05:59 bin 06:01:04 -rw-r--r--. 1 jenkins jenkins 94579 Apr 8 06:00 coverage.out 06:01:04 -rw-rw-r--. 1 jenkins jenkins 936 Apr 8 05:59 Dockerfile.build 06:01:04 -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 05:59 .dockerignore 06:01:04 drwxrwxr-x. 4 jenkins jenkins 31 Apr 8 05:59 example 06:01:04 drwxrwxr-x. 8 jenkins jenkins 179 Apr 8 05:59 .git 06:01:04 drwxrwxr-x. 2 jenkins jenkins 38 Apr 8 05:59 .github 06:01:04 -rw-rw-r--. 1 jenkins jenkins 138 Apr 8 05:59 .gitignore 06:01:04 -rw-r--r--. 1 jenkins jenkins 446 Apr 8 06:00 go.mod 06:01:04 -rw-r--r--. 1 jenkins jenkins 12076 Apr 8 06:00 go.sum 06:01:04 drwxrwxr-x. 14 jenkins jenkins 196 Apr 8 05:59 internal 06:01:04 -rw-rw-r--. 1 jenkins jenkins 808 Apr 8 05:59 Jenkinsfile 06:01:04 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 8 05:59 LICENSE 06:01:04 -rw-rw-r--. 1 jenkins jenkins 892 Apr 8 05:59 Makefile 06:01:04 drwxrwxr-x. 5 jenkins jenkins 50 Apr 8 05:59 pkg 06:01:04 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 8 05:59 README.md 06:01:04 drwxrwxr-x. 3 jenkins jenkins 58 Apr 8 05:59 .semver 06:01:04 drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 05:59 snap 06:01:04 -rw-rw-r--. 1 jenkins jenkins 5 Apr 8 05:56 VERSION 06:01:04 -rw-rw-r--. 1 jenkins jenkins 222 Apr 8 05:59 version.go [Pipeline] isUnix [Pipeline] sh 06:01:04 + 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=d827b439126bfdf9e1259be0466ec1739bf70a4a --label arch=amd64 --label version=0.0.0 . 06:01:04 Sending build context to Docker daemon 2.938MB 06:01:04 Step 1/20 : ARG BASE=golang:1.13-alpine 06:01:04 Step 2/20 : FROM ${BASE} AS builder 06:01:04 ---> 84287cb92410 06:01:04 Step 3/20 : ARG MAKE='make build' 06:01:04 ---> Running in 8a853a3c7dba 06:01:04 Removing intermediate container 8a853a3c7dba 06:01:04 ---> 26e50f3c64ad 06:01:04 Step 4/20 : WORKDIR /device-sdk-go 06:01:04 ---> Running in a223a1622be7 06:01:05 Removing intermediate container a223a1622be7 06:01:05 ---> 242efae9ba0a 06:01:05 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:01:05 ---> Running in 9b3620fc3aca 06:01:05 Removing intermediate container 9b3620fc3aca 06:01:05 ---> eda7a51977a7 06:01:05 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:05 ---> Running in 5b5114fb96a1 06:01:05 Removing intermediate container 5b5114fb96a1 06:01:05 ---> 82ca8f079d11 06:01:05 Step 7/20 : RUN apk add --update --no-cache make git 06:01:06 ---> Running in a73984cc1693 06:01:06 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 06:01:07 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 06:01:07 OK: 143 MiB in 39 packages 06:01:08 Removing intermediate container a73984cc1693 06:01:08 ---> 40f3b8a97bf5 06:01:08 Step 8/20 : COPY . . 06:01:08 ---> 9e6ff18c3bf5 06:01:08 Step 9/20 : RUN ${MAKE} 06:01:08 ---> Running in c4f077fb3445 06:01:08 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 06:01:17 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:01:17 Removing intermediate container c4f077fb3445 06:01:17 ---> 97861ee7f976 06:01:17 Step 10/20 : FROM scratch 06:01:17 ---> 06:01:17 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:01:17 ---> Running in 7b15c9d004ca 06:01:17 Removing intermediate container 7b15c9d004ca 06:01:17 ---> 153279abdfc8 06:01:17 Step 12/20 : ENV APP_PORT=49990 06:01:17 ---> Running in 625c7af4ca06 06:01:17 Removing intermediate container 625c7af4ca06 06:01:17 ---> 77f7fb435b48 06:01:17 Step 13/20 : EXPOSE $APP_PORT 06:01:17 ---> Running in 7e9b7e8142af 06:01:17 Removing intermediate container 7e9b7e8142af 06:01:17 ---> b8c8a981d66e 06:01:17 Step 14/20 : WORKDIR / 06:01:17 ---> Running in e02c39dd82d2 06:01:17 Removing intermediate container e02c39dd82d2 06:01:17 ---> e4d0865695c0 06:01:17 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:01:18 ---> ed882ca34056 06:01:18 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 06:01:18 ---> 784ffaf7aa20 06:01:18 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 06:01:18 ---> Running in afee7d1d7230 06:01:18 Removing intermediate container afee7d1d7230 06:01:18 ---> af2c2e33c832 06:01:18 Step 18/20 : LABEL arch=amd64 06:01:18 ---> Running in 2a6dc73707be 06:01:18 Removing intermediate container 2a6dc73707be 06:01:18 ---> 10883383d371 06:01:18 Step 19/20 : LABEL git_sha=d827b439126bfdf9e1259be0466ec1739bf70a4a 06:01:18 ---> Running in 5d860b83be97 06:01:18 Removing intermediate container 5d860b83be97 06:01:18 ---> 1b3ed5fbd52e 06:01:18 Step 20/20 : LABEL version=0.0.0 06:01:18 ---> Running in ca462c2b7755 06:01:19 Removing intermediate container ca462c2b7755 06:01:19 ---> 480836fae3d4 06:01:19 [Warning] One or more build-args [ARCH] were not consumed 06:01:19 Successfully built 480836fae3d4 06:01:19 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] } 06:01:30 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.070s coverage: 11.4% of statements 06:01:30 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 22.7% of statements 06:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:01:30 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.169s coverage: 38.5% of statements 06:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 06:01:30 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.725s coverage: 79.9% of statements 06:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:01:30 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements 06:01:30 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 06:01:30 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.328s coverage: 76.1% of statements 06:01:30 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:01:30 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:01:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:01:32 gofmt -l . 06:01:32 [ "`gofmt -l .`" = "" ] 06:01:33 ./bin/test-attribution-txt.sh 06:01:34 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:01:34 Warning: overwriting stash ‘coverage-report’ 06:01:34 Stashed 1 file(s) [Pipeline] } 06:01:34 $ docker stop --time=1 820b9334712c2bb8fe2a53a7f8cfe0b73fa06460b18c6341f7902ea87496cc46 06:01:36 $ docker rm -f 820b9334712c2bb8fe2a53a7f8cfe0b73fa06460b18c6341f7902ea87496cc46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:38 + ls -al . 06:01:38 total 200 06:01:38 drwxrwxr-x 11 jenkins jenkins 4096 Apr 8 06:01 . 06:01:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 05:59 .. 06:01:38 -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 05:59 .dockerignore 06:01:38 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 05:59 .git 06:01:38 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 05:59 .github 06:01:38 -rw-rw-r-- 1 jenkins jenkins 138 Apr 8 05:59 .gitignore 06:01:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 05:59 .semver 06:01:38 -rw-rw-r-- 1 jenkins jenkins 936 Apr 8 05:59 Dockerfile.build 06:01:38 -rw-rw-r-- 1 jenkins jenkins 808 Apr 8 05:59 Jenkinsfile 06:01:38 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 05:59 LICENSE 06:01:38 -rw-rw-r-- 1 jenkins jenkins 892 Apr 8 05:59 Makefile 06:01:38 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 8 05:59 README.md 06:01:38 -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 05:56 VERSION 06:01:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 05:59 api 06:01:38 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 05:59 bin 06:01:38 -rw-r--r-- 1 jenkins jenkins 94579 Apr 8 06:01 coverage.out 06:01:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 05:59 example 06:01:38 -rw-r--r-- 1 jenkins jenkins 446 Apr 8 06:01 go.mod 06:01:38 -rw-r--r-- 1 jenkins jenkins 12076 Apr 8 06:01 go.sum 06:01:38 drwxrwxr-x 14 jenkins jenkins 4096 Apr 8 05:59 internal 06:01:38 drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 05:59 pkg 06:01:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 05:59 snap 06:01:38 -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 05:59 version.go [Pipeline] isUnix [Pipeline] sh 06:01:38 + 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=d827b439126bfdf9e1259be0466ec1739bf70a4a --label arch=arm64 --label version=0.0.0 . 06:01:39 Sending build context to Docker daemon 2.938MB 06:01:39 Step 1/20 : ARG BASE=golang:1.13-alpine 06:01:39 Step 2/20 : FROM ${BASE} AS builder 06:01:39 ---> 95973195043d 06:01:39 Step 3/20 : ARG MAKE='make build' 06:01:39 ---> Running in c25dbbce7633 06:01:39 Removing intermediate container c25dbbce7633 06:01:39 ---> e04b18826b19 06:01:39 Step 4/20 : WORKDIR /device-sdk-go 06:01:39 ---> Running in be7db5529488 06:01:40 Removing intermediate container be7db5529488 06:01:40 ---> fcb02e1945e8 06:01:40 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:01:40 ---> Running in 5b07248b280e 06:01:40 Removing intermediate container 5b07248b280e 06:01:40 ---> be487995a472 06:01:40 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:41 ---> Running in 86bf4cef8437 06:01:43 Removing intermediate container 86bf4cef8437 06:01:43 ---> a7e304b2ad44 06:01:43 Step 7/20 : RUN apk add --update --no-cache make git 06:01:43 ---> Running in 30da1edef010 06:01:43 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 06:01:44 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 06:01:45 OK: 125 MiB in 39 packages 06:01:46 Removing intermediate container 30da1edef010 06:01:46 ---> 52a7dbb9ce0b 06:01:46 Step 8/20 : COPY . . 06:01:47 ---> 874658137ce1 06:01:47 Step 9/20 : RUN ${MAKE} 06:01:47 ---> Running in 21040a49330a 06:01:48 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 06:02:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:02:13 Removing intermediate container 21040a49330a 06:02:13 ---> c3f69c0b3799 06:02:13 Step 10/20 : FROM scratch 06:02:13 ---> 06:02:13 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:02:13 ---> Running in 13281a3a0d44 06:02:13 Removing intermediate container 13281a3a0d44 06:02:13 ---> 166333c4bada 06:02:13 Step 12/20 : ENV APP_PORT=49990 06:02:13 ---> Running in 108ae25abc33 06:02:14 Removing intermediate container 108ae25abc33 06:02:14 ---> 331b60224df9 06:02:14 Step 13/20 : EXPOSE $APP_PORT 06:02:14 ---> Running in b2243bfe38c8 06:02:14 Removing intermediate container b2243bfe38c8 06:02:14 ---> ce52719f332b 06:02:14 Step 14/20 : WORKDIR / 06:02:14 ---> Running in a0bdbb22e1ef 06:02:14 Removing intermediate container a0bdbb22e1ef 06:02:14 ---> c6c67124ee6e 06:02:14 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:02:15 ---> c5a10b48ba13 06:02:15 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 06:02:16 ---> 3501c4cf9fb6 06:02:16 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 06:02:16 ---> Running in 275a2578721c 06:02:17 Removing intermediate container 275a2578721c 06:02:17 ---> c5a1cf8f3462 06:02:17 Step 18/20 : LABEL arch=arm64 06:02:17 ---> Running in a4acb0c36aa8 06:02:17 Removing intermediate container a4acb0c36aa8 06:02:17 ---> 42c17724713b 06:02:17 Step 19/20 : LABEL git_sha=d827b439126bfdf9e1259be0466ec1739bf70a4a 06:02:17 ---> Running in 6251c6537d74 06:02:17 Removing intermediate container 6251c6537d74 06:02:17 ---> 4af6ce73f2e4 06:02:17 Step 20/20 : LABEL version=0.0.0 06:02:18 ---> Running in 9acb495ab624 06:02:18 Removing intermediate container 9acb495ab624 06:02:18 ---> ca88438ba4ab 06:02:18 [Warning] One or more build-args [ARCH] were not consumed 06:02:18 Successfully built ca88438ba4ab 06:02:18 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 06:02:19 provisioning config files... 06:02:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/config869261849407758142tmp [Pipeline] { [Pipeline] sh 06:02:19 + curl -s https://codecov.io/bash 06:02:19 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/config869261849407758142tmp 06:02:20 06:02:20 _____ _ 06:02:20 / ____| | | 06:02:20 | | ___ __| | ___ ___ _____ __ 06:02:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:02:20 | |___| (_) | (_| | __/ (_| (_) \ V / 06:02:20 \_____\___/ \__,_|\___|\___\___/ \_/ 06:02:20 Bash-tbd 06:02:20 06:02:20 06:02:20 ==> Jenkins CI detected. 06:02:20 project root: . 06:02:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:02:20 ==> Running gcov in . (disable via -X gcov) 06:02:20 ==> Python coveragepy not found 06:02:20 ==> Searching for coverage reports in: 06:02:20 + . 06:02:20 -> Found 1 reports 06:02:20 ==> Detecting git/mercurial file structure 06:02:20 ==> Reading reports 06:02:20 + ./coverage.out bytes=94579 06:02:20 ==> Appending adjustments 06:02:20 http://docs.codecov.io/docs/fixing-reports 06:02:20 + Found adjustments 06:02:20 ==> Gzipping contents 06:02:20 ==> Uploading reports 06:02:20 url: https://codecov.io 06:02:20 query: branch=PR-473&commit=d827b439126bfdf9e1259be0466ec1739bf70a4a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-473%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=473&job= 06:02:20 -> Pinging Codecov 06:02:20 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-473&commit=d827b439126bfdf9e1259be0466ec1739bf70a4a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-473%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=473&job= 06:02:20 -> Sleeping for 30s and trying again... 06:02:53 -> Pinging Codecov 06:02:53 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-473&commit=d827b439126bfdf9e1259be0466ec1739bf70a4a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-473%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=473&job= 06:02:53 -> Uploading 06:02:53 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d827b439126bfdf9e1259be0466ec1739bf70a4a [Pipeline] } 06:02:53 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 06:02:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:02:54 ---> package-listing.sh 06:02:54 ++ facter osfamily 06:02:54 ++ tr '[:upper:]' '[:lower:]' 06:02:54 + OS_FAMILY=redhat 06:02:54 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-473 06:02:54 + START_PACKAGES=/tmp/packages_start.txt 06:02:54 + END_PACKAGES=/tmp/packages_end.txt 06:02:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:02:54 + PACKAGES=/tmp/packages_start.txt 06:02:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-473 ']' 06:02:54 + PACKAGES=/tmp/packages_end.txt 06:02:54 + case "${OS_FAMILY}" in 06:02:54 + rpm -qa 06:02:54 + sort 06:02:58 + '[' -f /tmp/packages_start.txt ']' 06:02:58 + '[' -f /tmp/packages_end.txt ']' 06:02:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:02:58 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-473 ']' 06:02:58 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-473/archives/ 06:02:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-473/archives/ [Pipeline] isUnix [Pipeline] sh 06:02:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:59 06:02:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:02:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:59 alpine: Pulling from edgex-lftools-log-publisher 06:02:59 c9b1b535fdd9: Pulling fs layer 06:02:59 2cc5ad85d9ab: Pulling fs layer 06:02:59 756a868c4378: Pulling fs layer 06:02:59 444b2fc9a129: Pulling fs layer 06:02:59 ea15f1150254: Pulling fs layer 06:02:59 41b27a9f41bf: Pulling fs layer 06:02:59 28c525ee5125: Pulling fs layer 06:02:59 094b1ea09ed8: Pulling fs layer 06:02:59 138eaada9080: Pulling fs layer 06:02:59 0622d0fa9048: Pulling fs layer 06:02:59 444b2fc9a129: Waiting 06:02:59 ea15f1150254: Waiting 06:02:59 41b27a9f41bf: Waiting 06:02:59 28c525ee5125: Waiting 06:02:59 094b1ea09ed8: Waiting 06:02:59 138eaada9080: Waiting 06:02:59 0622d0fa9048: Waiting 06:02:59 2cc5ad85d9ab: Verifying Checksum 06:02:59 2cc5ad85d9ab: Download complete 06:02:59 444b2fc9a129: Verifying Checksum 06:02:59 c9b1b535fdd9: Verifying Checksum 06:02:59 c9b1b535fdd9: Download complete 06:02:59 ea15f1150254: Verifying Checksum 06:02:59 ea15f1150254: Download complete 06:02:59 28c525ee5125: Verifying Checksum 06:02:59 28c525ee5125: Download complete 06:03:00 c9b1b535fdd9: Pull complete 06:03:00 756a868c4378: Verifying Checksum 06:03:00 756a868c4378: Download complete 06:03:00 138eaada9080: Verifying Checksum 06:03:00 138eaada9080: Download complete 06:03:00 0622d0fa9048: Verifying Checksum 06:03:00 0622d0fa9048: Download complete 06:03:00 094b1ea09ed8: Verifying Checksum 06:03:00 094b1ea09ed8: Download complete 06:03:00 2cc5ad85d9ab: Pull complete 06:03:00 41b27a9f41bf: Verifying Checksum 06:03:00 41b27a9f41bf: Download complete 06:03:02 756a868c4378: Pull complete 06:03:02 444b2fc9a129: Pull complete 06:03:02 ea15f1150254: Pull complete 06:03:07 41b27a9f41bf: Pull complete 06:03:07 28c525ee5125: Pull complete 06:03:09 094b1ea09ed8: Pull complete 06:03:09 138eaada9080: Pull complete 06:03:10 0622d0fa9048: Pull complete 06:03:10 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 06:03:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:03:10 prd-centos7-docker-4c-2g-2760 does not seem to be running inside a container 06:03:10 $ 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-473 -v /w/workspace/dgexfoundry_device-sdk-go_PR-473:/w/workspace/dgexfoundry_device-sdk-go_PR-473:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-473@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 06:03:11 $ docker top e84c4f5db733bc3cb60e543e8e57746cdde5f466094e4d272c9e68c4d232e1cf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:03:11 provisioning config files... 06:03:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-473@tmp/config4943438737855224606tmp [Pipeline] { [Pipeline] echo 06:03:11 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:03:11 ---> create-netrc.sh [Pipeline] echo 06:03:11 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:03:12 ---> logs-deploy.sh 06:03:12 + ARCHIVE_ARTIFACTS= 06:03:12 + LOGS_SERVER=https://logs.edgexfoundry.org 06:03:12 + '[' https://logs.edgexfoundry.org == None ']' 06:03:12 + NEXUS_URL=https://nexus.edgexfoundry.org 06:03:12 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-473/3 06:03:12 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-473/3/ 06:03:12 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-473/3 /w/workspace/dgexfoundry_device-sdk-go_PR-473 06:03:13 Archives upload complete. 06:03:13 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-473/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-473/3/