Pull request #464 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 akramtexas for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7e91e03fe71a168d34d5d653fa2873cad446c6b3+40c90adbf9fac26db7d7745c142bac7f98eae2fe (8e146b0b573a20f578c33ebc6519b6ba7907d5fc) 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 ‘prd-centos7-docker-4c-2g-4023’ is offline Running on prd-centos7-docker-4c-2g-4024 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [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-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit 7e91e03fe71a168d34d5d653fa2873cad446c6b3 Merge succeeded, producing 7e91e03fe71a168d34d5d653fa2873cad446c6b3 Checking out Revision 7e91e03fe71a168d34d5d653fa2873cad446c6b3 (PR-464) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e91e03fe71a168d34d5d653fa2873cad446c6b3 # 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 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e91e03fe71a168d34d5d653fa2873cad446c6b3 # timeout=10 Commit message: "Fix the Content Header-related issue with CBOR." First time build. Skipping changelog. > git rev-list --no-walk 093062ca8780fb7de972a7e378e583d7b3051588 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:49:40 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 10:49:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:49:42 10:49:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:49:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:49:43 latest: Pulling from edgex-devops/git-semver 10:49:43 9123ac7c32f7: Pulling fs layer 10:49:43 b8cc5d1170e3: Pulling fs layer 10:49:43 2924cbbf6a41: Pulling fs layer 10:49:43 93b08a4f1073: Pulling fs layer 10:49:43 93b08a4f1073: Waiting 10:49:43 b8cc5d1170e3: Verifying Checksum 10:49:43 b8cc5d1170e3: Download complete 10:49:43 9123ac7c32f7: Verifying Checksum 10:49:43 9123ac7c32f7: Download complete 10:49:43 93b08a4f1073: Verifying Checksum 10:49:43 93b08a4f1073: Download complete 10:49:43 2924cbbf6a41: Verifying Checksum 10:49:43 2924cbbf6a41: Download complete 10:49:43 9123ac7c32f7: Pull complete 10:49:43 b8cc5d1170e3: Pull complete 10:49:44 2924cbbf6a41: Pull complete 10:49:44 93b08a4f1073: Pull complete 10:49:44 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 10:49:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:49:44 prd-centos7-docker-4c-2g-4024 does not seem to be running inside a container 10:49:44 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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 10:49:45 $ docker top 2d09b00d157644cea7da1b14a21d2ea60ff2c8cf63b1dae23e33e24c2ab1eef3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:49:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:49:45 [ssh-agent] Looking for ssh-agent implementation... 10:49:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:49:45 $ docker exec 2d09b00d157644cea7da1b14a21d2ea60ff2c8cf63b1dae23e33e24c2ab1eef3 ssh-agent 10:49:46 SSH_AUTH_SOCK=/tmp/ssh-4MOJDjAZcLoa/agent.14 10:49:46 SSH_AGENT_PID=20 10:49:46 Running ssh-add (command line suppressed) 10:49:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_7008939460429203611.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_7008939460429203611.key) 10:49:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:49:46 + git describe --exact-match --tags HEAD 10:49:46 fatal: No names found, cannot describe anything. [Pipeline] } 10:49:46 $ docker exec --env ******** --env ******** 2d09b00d157644cea7da1b14a21d2ea60ff2c8cf63b1dae23e33e24c2ab1eef3 ssh-agent -k 10:49:46 unset SSH_AUTH_SOCK; 10:49:46 unset SSH_AGENT_PID; 10:49:46 echo Agent pid 20 killed; 10:49:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:49:46 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:49:46 This usually means this commit has not been tagged. [Pipeline] sshagent 10:49:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:49:47 [ssh-agent] Looking for ssh-agent implementation... 10:49:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:49:47 $ docker exec 2d09b00d157644cea7da1b14a21d2ea60ff2c8cf63b1dae23e33e24c2ab1eef3 ssh-agent 10:49:47 SSH_AUTH_SOCK=/tmp/ssh-TjoNxoVt2DCk/agent.52 10:49:47 SSH_AGENT_PID=59 10:49:47 Running ssh-add (command line suppressed) 10:49:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3407193243704736716.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3407193243704736716.key) 10:49:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:49:47 + git semver init 10:49:47 # -> Open(): unable to determine branch for HEAD 10:49:47 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.git 10:49:47 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-464 10:49:47 # $SEMVER_REMOTE_NAME = origin 10:49:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:49:47 # $SEMVER_USER_NAME = edgex-jenkins 10:49:47 # $SEMVER_BRANCH = PR-464 10:49:47 # $SEMVER_TEMP = /tmp/semver-102834785 10:49:47 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:49:48 # '/tmp/semver-102834785' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver' 10:49:48 # -> Force: false 10:49:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver [Pipeline] } 10:49:48 $ docker exec --env ******** --env ******** 2d09b00d157644cea7da1b14a21d2ea60ff2c8cf63b1dae23e33e24c2ab1eef3 ssh-agent -k 10:49:48 unset SSH_AUTH_SOCK; 10:49:48 unset SSH_AGENT_PID; 10:49:48 echo Agent pid 59 killed; 10:49:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:49:49 + git semver [Pipeline] } 10:49:49 $ docker stop --time=1 2d09b00d157644cea7da1b14a21d2ea60ff2c8cf63b1dae23e33e24c2ab1eef3 10:49:50 $ docker rm -f 2d09b00d157644cea7da1b14a21d2ea60ff2c8cf63b1dae23e33e24c2ab1eef3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:49:51 Stashed 43 file(s) [Pipeline] echo 10:49:51 [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 10:50:06 Still waiting to schedule task 10:50:06 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4024’ 10:50:06 Still waiting to schedule task 10:50:06 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2736’ is offline 10:51:57 Running on prd-centos7-docker-4c-2g-4026 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws 10:51:57 Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout 10:51:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4025 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws 10:51:58 Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout 10:51:59 using credential edgex-jenkins-ssh 10:51:59 Cloning the remote Git repository 10:51:59 Cloning with configured refspecs honoured and without tags 10:52:00 Fetching without tags 10:51:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:51:59 > git init /w/workspace/device-sdk-go/21 # timeout=10 10:51:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:51:59 > git --version # timeout=10 10:51:59 using GIT_SSH to set credentials SSH Credentials for GitHub 10:51:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:52:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:52:00 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 10:52:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:52:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:52:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:52:00 using GIT_SSH to set credentials SSH Credentials for GitHub 10:52:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:52:00 Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit 7e91e03fe71a168d34d5d653fa2873cad446c6b3 10:52:00 Merge succeeded, producing 7e91e03fe71a168d34d5d653fa2873cad446c6b3 10:52:00 Checking out Revision 7e91e03fe71a168d34d5d653fa2873cad446c6b3 (PR-464) 10:52:00 > git config core.sparsecheckout # timeout=10 10:52:00 > git checkout -f 7e91e03fe71a168d34d5d653fa2873cad446c6b3 # timeout=10 10:52:00 > git remote # timeout=10 10:52:00 > git config --get remote.origin.url # timeout=10 10:52:00 using GIT_SSH to set credentials SSH Credentials for GitHub 10:52:00 > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 10:52:00 > git rev-parse HEAD^{commit} # timeout=10 10:52:00 > git config core.sparsecheckout # timeout=10 10:52:00 > git checkout -f 7e91e03fe71a168d34d5d653fa2873cad446c6b3 # timeout=10 10:52:04 Commit message: "Fix the Content Header-related issue with CBOR." 10:52:04 using credential edgex-jenkins-ssh 10:52:04 Cloning the remote Git repository 10:52:04 Cloning with configured refspecs honoured and without tags [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:52:05 ========================================================= 10:52:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 10:52:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:52:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:52:04 > git init /w/workspace/device-sdk-go/21 # timeout=10 10:52:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:52:05 > git --version # timeout=10 10:52:05 using GIT_SSH to set credentials SSH Credentials for GitHub 10:52:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:52:06 + 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 . 10:52:06 Fetching without tags 10:52:06 Sending build context to Docker daemon 2.886MB 10:52:06 Step 1/8 : ARG BASE=golang:1.13-alpine 10:52:06 Step 2/8 : FROM ${BASE} 10:52:06 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 10:52:06 e6b0cf9c0882: Pulling fs layer 10:52:06 2848faf0eed1: Pulling fs layer 10:52:06 0f37312ad70f: Pulling fs layer 10:52:06 5788d62ee057: Pulling fs layer 10:52:06 0e6b1d234666: Pulling fs layer 10:52:06 bf5d7aec512f: Pulling fs layer 10:52:06 34c802a77dc8: Pulling fs layer 10:52:06 9eb99e56ec68: Pulling fs layer 10:52:06 27c7a5d97fbd: Pulling fs layer 10:52:06 5c102a31e300: Pulling fs layer 10:52:06 dcfb455df0a1: Pulling fs layer 10:52:06 34c802a77dc8: Waiting 10:52:06 9eb99e56ec68: Waiting 10:52:06 27c7a5d97fbd: Waiting 10:52:06 5c102a31e300: Waiting 10:52:06 dcfb455df0a1: Waiting 10:52:06 5788d62ee057: Waiting 10:52:06 bf5d7aec512f: Waiting 10:52:06 0e6b1d234666: Waiting 10:52:06 0f37312ad70f: Verifying Checksum 10:52:06 0f37312ad70f: Download complete 10:52:06 2848faf0eed1: Verifying Checksum 10:52:06 2848faf0eed1: Download complete 10:52:06 0e6b1d234666: Verifying Checksum 10:52:06 0e6b1d234666: Download complete 10:52:06 e6b0cf9c0882: Verifying Checksum 10:52:06 e6b0cf9c0882: Download complete 10:52:06 bf5d7aec512f: Verifying Checksum 10:52:06 bf5d7aec512f: Download complete 10:52:06 e6b0cf9c0882: Pull complete 10:52:06 Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit 7e91e03fe71a168d34d5d653fa2873cad446c6b3 10:52:06 2848faf0eed1: Pull complete 10:52:07 Merge succeeded, producing 7e91e03fe71a168d34d5d653fa2873cad446c6b3 10:52:07 Checking out Revision 7e91e03fe71a168d34d5d653fa2873cad446c6b3 (PR-464) 10:52:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:52:06 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 10:52:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:52:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:52:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:52:06 using GIT_SSH to set credentials SSH Credentials for GitHub 10:52:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:52:06 > git config core.sparsecheckout # timeout=10 10:52:06 > git checkout -f 7e91e03fe71a168d34d5d653fa2873cad446c6b3 # timeout=10 10:52:06 > git remote # timeout=10 10:52:06 > git config --get remote.origin.url # timeout=10 10:52:06 using GIT_SSH to set credentials SSH Credentials for GitHub 10:52:06 > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 10:52:07 > git rev-parse HEAD^{commit} # timeout=10 10:52:07 > git config core.sparsecheckout # timeout=10 10:52:07 > git checkout -f 7e91e03fe71a168d34d5d653fa2873cad446c6b3 # timeout=10 10:52:07 34c802a77dc8: Verifying Checksum 10:52:07 34c802a77dc8: Download complete 10:52:07 27c7a5d97fbd: Verifying Checksum 10:52:07 27c7a5d97fbd: Download complete 10:52:07 0f37312ad70f: Pull complete 10:52:08 5c102a31e300: Verifying Checksum 10:52:08 5c102a31e300: Download complete 10:52:08 dcfb455df0a1: Verifying Checksum 10:52:08 dcfb455df0a1: Download complete 10:52:08 5788d62ee057: Verifying Checksum 10:52:08 5788d62ee057: Download complete 10:52:08 9eb99e56ec68: Verifying Checksum 10:52:08 9eb99e56ec68: Download complete 10:52:11 Commit message: "Fix the Content Header-related issue with CBOR." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:52:12 ========================================================= 10:52:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 10:52:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:52:13 5788d62ee057: Pull complete 10:52:13 0e6b1d234666: Pull complete 10:52:13 bf5d7aec512f: Pull complete 10:52:13 + 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 . 10:52:14 Sending build context to Docker daemon 2.886MB 10:52:14 Step 1/8 : ARG BASE=golang:1.13-alpine 10:52:14 Step 2/8 : FROM ${BASE} 10:52:15 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:52:15 cde5963f3b93: Pulling fs layer 10:52:15 2a23fa8c16f7: Pulling fs layer 10:52:15 777b28850792: Pulling fs layer 10:52:15 8a11ddd9e578: Pulling fs layer 10:52:15 4cf88f913ddb: Pulling fs layer 10:52:15 1df406cf5192: Pulling fs layer 10:52:15 cd6300453558: Pulling fs layer 10:52:15 b9c365052c96: Pulling fs layer 10:52:15 a2d8cc88f415: Pulling fs layer 10:52:15 ea1d1ca13537: Pulling fs layer 10:52:15 3750a50a1c5e: Pulling fs layer 10:52:15 cd6300453558: Waiting 10:52:15 b9c365052c96: Waiting 10:52:15 a2d8cc88f415: Waiting 10:52:15 8a11ddd9e578: Waiting 10:52:15 ea1d1ca13537: Waiting 10:52:15 3750a50a1c5e: Waiting 10:52:15 4cf88f913ddb: Waiting 10:52:15 1df406cf5192: Waiting 10:52:15 777b28850792: Verifying Checksum 10:52:15 777b28850792: Download complete 10:52:15 2a23fa8c16f7: Verifying Checksum 10:52:15 2a23fa8c16f7: Download complete 10:52:15 4cf88f913ddb: Verifying Checksum 10:52:15 4cf88f913ddb: Download complete 10:52:15 1df406cf5192: Verifying Checksum 10:52:15 1df406cf5192: Download complete 10:52:15 cde5963f3b93: Verifying Checksum 10:52:15 cde5963f3b93: Download complete 10:52:16 cde5963f3b93: Pull complete 10:52:16 2a23fa8c16f7: Pull complete 10:52:17 777b28850792: Pull complete 10:52:19 cd6300453558: Download complete 10:52:19 a2d8cc88f415: Verifying Checksum 10:52:19 a2d8cc88f415: Download complete 10:52:20 34c802a77dc8: Pull complete 10:52:21 ea1d1ca13537: Verifying Checksum 10:52:21 ea1d1ca13537: Download complete 10:52:22 3750a50a1c5e: Verifying Checksum 10:52:22 3750a50a1c5e: Download complete 10:52:23 9eb99e56ec68: Pull complete 10:52:23 27c7a5d97fbd: Pull complete 10:52:23 5c102a31e300: Pull complete 10:52:24 dcfb455df0a1: Pull complete 10:52:24 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 10:52:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 10:52:24 ---> 7c70fe431013 10:52:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:52:24 ---> Running in 8ce539b737a2 10:52:24 Removing intermediate container 8ce539b737a2 10:52:24 ---> e5629f6df033 10:52:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:52:24 ---> Running in f3fc4a5b1332 10:52:24 b9c365052c96: Verifying Checksum 10:52:24 b9c365052c96: Download complete 10:52:25 Removing intermediate container f3fc4a5b1332 10:52:25 ---> 6b52cbb5cca1 10:52:25 Step 5/8 : RUN apk add --no-cache make git 10:52:25 ---> Running in a34c3683e5d1 10:52:26 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 10:52:26 8a11ddd9e578: Verifying Checksum 10:52:26 8a11ddd9e578: Download complete 10:52:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 10:52:27 OK: 143 MiB in 39 packages 10:52:27 Removing intermediate container a34c3683e5d1 10:52:27 ---> 5f4e8e4d2402 10:52:27 Step 6/8 : WORKDIR /device-sdk-go 10:52:27 ---> Running in 5550589924e0 10:52:27 Removing intermediate container 5550589924e0 10:52:27 ---> c556ba2b0105 10:52:27 Step 7/8 : COPY . . 10:52:28 ---> f188054ed25a 10:52:28 Step 8/8 : RUN go mod download 10:52:28 ---> Running in 95b3b2afde57 10:52:30 go: finding github.com/BurntSushi/toml v0.3.1 10:52:30 go: finding github.com/OneOfOne/xxhash v1.2.6 10:52:30 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 10:52:30 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:52:30 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 10:52:30 go: finding github.com/bgentry/speakeasy v0.1.0 10:52:30 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 10:52:30 go: finding github.com/davecgh/go-spew v1.1.1 10:52:30 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 10:52:30 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 10:52:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 10:52:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 10:52:30 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 10:52:30 go: finding github.com/fatih/color v1.7.0 10:52:30 go: finding github.com/fxamacker/cbor/v2 v2.2.0 10:52:30 go: finding github.com/go-kit/kit v0.8.0 10:52:30 go: finding github.com/go-logfmt/logfmt v0.4.0 10:52:30 go: finding github.com/go-stack/stack v1.8.0 10:52:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 10:52:30 go: finding github.com/google/uuid v1.1.0 10:52:30 go: finding github.com/gorilla/mux v1.7.1 10:52:30 go: finding github.com/hashicorp/consul/api v1.1.0 10:52:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 10:52:30 go: finding github.com/hashicorp/errwrap v1.0.0 10:52:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 10:52:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 10:52:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 10:52:30 go: finding github.com/hashicorp/go-multierror v1.0.0 10:52:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 10:52:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 10:52:30 go: finding github.com/hashicorp/go-syslog v1.0.0 10:52:30 go: finding github.com/hashicorp/go-uuid v1.0.1 10:52:30 go: finding github.com/hashicorp/go.net v0.0.1 10:52:30 go: finding github.com/hashicorp/golang-lru v0.5.0 10:52:30 go: finding github.com/hashicorp/logutils v1.0.0 10:52:30 go: finding github.com/hashicorp/mdns v1.0.0 10:52:30 go: finding github.com/hashicorp/memberlist v0.1.3 10:52:30 go: finding github.com/hashicorp/serf v0.8.2 10:52:30 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 10:52:30 go: finding github.com/mattn/go-colorable v0.0.9 10:52:31 go: finding github.com/mattn/go-isatty v0.0.3 10:52:31 go: finding github.com/miekg/dns v1.0.14 10:52:31 go: finding github.com/mitchellh/cli v1.0.0 10:52:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:52:31 go: finding github.com/mitchellh/copystructure v1.0.0 10:52:31 go: finding github.com/mitchellh/go-homedir v1.0.0 10:52:31 go: finding github.com/mitchellh/go-testing-interface v1.0.0 10:52:31 go: finding github.com/mitchellh/gox v0.4.0 10:52:31 go: finding github.com/mitchellh/iochan v1.0.0 10:52:31 go: finding github.com/mitchellh/mapstructure v1.1.2 10:52:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 10:52:31 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 10:52:31 go: finding github.com/pelletier/go-toml v1.2.0 10:52:31 go: finding github.com/pkg/errors v0.8.1 10:52:31 go: finding github.com/pmezard/go-difflib v1.0.0 10:52:31 go: finding github.com/posener/complete v1.1.1 10:52:31 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 10:52:31 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 10:52:31 go: finding github.com/stretchr/objx v0.1.0 10:52:31 go: finding github.com/stretchr/testify v1.5.1 10:52:31 go: finding github.com/ugorji/go v1.1.4 10:52:31 go: finding github.com/x448/float16 v0.8.4 10:52:31 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 10:52:31 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 10:52:31 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 10:52:31 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 10:52:31 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 10:52:31 go: finding gopkg.in/yaml.v2 v2.2.8 10:52:37 Removing intermediate container 95b3b2afde57 10:52:37 ---> 04d148560651 10:52:37 Successfully built 04d148560651 10:52:37 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 10:52:37 + docker inspect -f . ci-base-image-x86_64 10:52:37 . [Pipeline] withDockerContainer 10:52:37 prd-centos7-docker-4c-2g-4026 does not seem to be running inside a container 10:52:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:52:38 $ docker top 13f45467328f1d60489dc78cb99d35ebac8c6ec50b056576bd30736fc533b95d -eo pid,comm 10:52:38 8a11ddd9e578: Pull complete 10:52:38 4cf88f913ddb: Pull complete 10:52:38 1df406cf5192: Pull complete [Pipeline] { [Pipeline] sh 10:52:39 + go version 10:52:39 go version go1.13.5 linux/amd64 [Pipeline] sh 10:52:39 + make test 10:52:39 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 10:52:40 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:52:43 cd6300453558: Pull complete 10:52:48 b9c365052c96: Pull complete 10:52:48 a2d8cc88f415: Pull complete 10:52:50 ea1d1ca13537: Pull complete 10:52:50 3750a50a1c5e: Pull complete 10:52:50 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 10:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 10:52:50 ---> 78745c68409d 10:52:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:52:54 ---> Running in f455a70fdc09 10:52:55 Removing intermediate container f455a70fdc09 10:52:55 ---> 52dc3db41d8d 10:52:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:52:55 ---> Running in 8e752c306e2f 10:52:57 Removing intermediate container 8e752c306e2f 10:52:57 ---> 854c34101776 10:52:57 Step 5/8 : RUN apk add --no-cache make git 10:52:57 ---> Running in e38655f724fe 10:52:58 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 10:52:58 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:52:58 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:52:58 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 22.1% of statements 10:52:58 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.037s coverage: 95.8% of statements 10:52:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 10:52:59 OK: 125 MiB in 39 packages 10:53:00 Removing intermediate container e38655f724fe 10:53:00 ---> 17a941333da3 10:53:00 Step 6/8 : WORKDIR /device-sdk-go 10:53:00 ---> Running in 31cb98e864ea 10:53:01 Removing intermediate container 31cb98e864ea 10:53:01 ---> 13eb03eded37 10:53:01 Step 7/8 : COPY . . 10:53:02 ---> 10fb229996b7 10:53:02 Step 8/8 : RUN go mod download 10:53:02 ---> Running in 90dbb1b9fe37 10:53:04 go: finding github.com/BurntSushi/toml v0.3.1 10:53:04 go: finding github.com/OneOfOne/xxhash v1.2.6 10:53:04 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 10:53:04 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:53:04 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 10:53:04 go: finding github.com/bgentry/speakeasy v0.1.0 10:53:04 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 10:53:04 go: finding github.com/davecgh/go-spew v1.1.1 10:53:04 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 10:53:04 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 10:53:04 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 10:53:04 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 10:53:04 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 10:53:04 go: finding github.com/fatih/color v1.7.0 10:53:04 go: finding github.com/fxamacker/cbor/v2 v2.2.0 10:53:04 go: finding github.com/go-kit/kit v0.8.0 10:53:05 go: finding github.com/go-logfmt/logfmt v0.4.0 10:53:05 go: finding github.com/go-stack/stack v1.8.0 10:53:05 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 10:53:05 go: finding github.com/google/uuid v1.1.0 10:53:05 go: finding github.com/gorilla/mux v1.7.1 10:53:05 go: finding github.com/hashicorp/consul/api v1.1.0 10:53:05 go: finding github.com/hashicorp/consul/sdk v0.1.1 10:53:05 go: finding github.com/hashicorp/errwrap v1.0.0 10:53:05 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 10:53:05 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 10:53:05 go: finding github.com/hashicorp/go-msgpack v0.5.3 10:53:05 go: finding github.com/hashicorp/go-multierror v1.0.0 10:53:05 go: finding github.com/hashicorp/go-rootcerts v1.0.0 10:53:05 go: finding github.com/hashicorp/go-sockaddr v1.0.0 10:53:05 go: finding github.com/hashicorp/go-syslog v1.0.0 10:53:05 go: finding github.com/hashicorp/go-uuid v1.0.1 10:53:05 go: finding github.com/hashicorp/go.net v0.0.1 10:53:05 go: finding github.com/hashicorp/golang-lru v0.5.0 10:53:05 go: finding github.com/hashicorp/logutils v1.0.0 10:53:05 go: finding github.com/hashicorp/mdns v1.0.0 10:53:05 go: finding github.com/hashicorp/memberlist v0.1.3 10:53:05 go: finding github.com/hashicorp/serf v0.8.2 10:53:05 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 10:53:05 go: finding github.com/mattn/go-colorable v0.0.9 10:53:05 go: finding github.com/mattn/go-isatty v0.0.3 10:53:05 go: finding github.com/miekg/dns v1.0.14 10:53:05 go: finding github.com/mitchellh/cli v1.0.0 10:53:05 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:53:05 go: finding github.com/mitchellh/copystructure v1.0.0 10:53:05 go: finding github.com/mitchellh/go-homedir v1.0.0 10:53:05 go: finding github.com/mitchellh/go-testing-interface v1.0.0 10:53:05 go: finding github.com/mitchellh/gox v0.4.0 10:53:05 go: finding github.com/mitchellh/iochan v1.0.0 10:53:06 go: finding github.com/mitchellh/mapstructure v1.1.2 10:53:06 go: finding github.com/mitchellh/reflectwalk v1.0.0 10:53:06 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 10:53:06 go: finding github.com/pelletier/go-toml v1.2.0 10:53:06 go: finding github.com/pkg/errors v0.8.1 10:53:06 go: finding github.com/pmezard/go-difflib v1.0.0 10:53:06 go: finding github.com/posener/complete v1.1.1 10:53:06 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 10:53:06 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 10:53:06 go: finding github.com/stretchr/objx v0.1.0 10:53:06 go: finding github.com/stretchr/testify v1.5.1 10:53:06 go: finding github.com/ugorji/go v1.1.4 10:53:06 go: finding github.com/x448/float16 v0.8.4 10:53:06 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 10:53:06 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 10:53:06 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 10:53:06 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 10:53:06 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 10:53:06 go: finding gopkg.in/yaml.v2 v2.2.8 10:53:16 Removing intermediate container 90dbb1b9fe37 10:53:16 ---> b19aceebf2eb 10:53:16 Successfully built b19aceebf2eb 10:53:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:53:17 + docker inspect -f . ci-base-image-arm64 10:53:17 . [Pipeline] withDockerContainer 10:53:18 prd-ubuntu18.04-docker-arm64-4c-16g-4025 does not seem to be running inside a container 10:53:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 10:53:19 $ docker top 374ae21069ac43f22d00b7b653b5774f96f1f194851f18739df4baf3da4571bc -eo pid,comm [Pipeline] { [Pipeline] sh 10:53:20 + go version 10:53:20 go version go1.13.5 linux/arm64 [Pipeline] sh 10:53:21 + make test 10:53:21 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 10:53:22 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:53:30 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 11.4% of statements 10:53:30 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 22.1% of statements 10:53:30 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:53:30 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.077s coverage: 38.5% of statements 10:53:30 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:53:30 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 10:53:30 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.463s coverage: 77.9% of statements 10:53:30 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:53:30 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:53:30 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:53:30 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.024s coverage: 52.6% of statements 10:53:30 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 10:53:30 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.110s coverage: 71.4% of statements 10:53:30 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:53:30 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:53:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:53:30 gofmt -l . 10:53:30 [ "`gofmt -l .`" = "" ] 10:53:31 ./bin/test-attribution-txt.sh 10:53:31 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:53:32 Stashed 1 file(s) [Pipeline] } 10:53:32 $ docker stop --time=1 13f45467328f1d60489dc78cb99d35ebac8c6ec50b056576bd30736fc533b95d 10:53:33 $ docker rm -f 13f45467328f1d60489dc78cb99d35ebac8c6ec50b056576bd30736fc533b95d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:53:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:53:35 + ls -al . 10:53:35 total 160 10:53:35 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 15 10:53 . 10:53:35 drwxrwxr-x. 4 jenkins jenkins 30 Apr 15 10:51 .. 10:53:35 drwxrwxr-x. 3 jenkins jenkins 20 Apr 15 10:52 api 10:53:35 drwxrwxr-x. 2 jenkins jenkins 64 Apr 15 10:52 bin 10:53:35 -rw-r--r--. 1 jenkins jenkins 97490 Apr 15 10:53 coverage.out 10:53:35 -rw-rw-r--. 1 jenkins jenkins 936 Apr 15 10:52 Dockerfile.build 10:53:35 -rw-rw-r--. 1 jenkins jenkins 140 Apr 15 10:52 .dockerignore 10:53:35 drwxrwxr-x. 4 jenkins jenkins 31 Apr 15 10:52 example 10:53:35 drwxrwxr-x. 8 jenkins jenkins 179 Apr 15 10:52 .git 10:53:35 drwxrwxr-x. 2 jenkins jenkins 38 Apr 15 10:52 .github 10:53:35 -rw-rw-r--. 1 jenkins jenkins 138 Apr 15 10:52 .gitignore 10:53:35 -rw-r--r--. 1 jenkins jenkins 475 Apr 15 10:53 go.mod 10:53:35 -rw-r--r--. 1 jenkins jenkins 12152 Apr 15 10:53 go.sum 10:53:35 drwxrwxr-x. 14 jenkins jenkins 196 Apr 15 10:52 internal 10:53:35 -rw-rw-r--. 1 jenkins jenkins 808 Apr 15 10:52 Jenkinsfile 10:53:35 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 15 10:52 LICENSE 10:53:35 -rw-rw-r--. 1 jenkins jenkins 892 Apr 15 10:52 Makefile 10:53:35 drwxrwxr-x. 5 jenkins jenkins 50 Apr 15 10:52 pkg 10:53:35 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 15 10:52 README.md 10:53:35 drwxrwxr-x. 3 jenkins jenkins 58 Apr 15 10:52 .semver 10:53:35 drwxrwxr-x. 4 jenkins jenkins 54 Apr 15 10:52 snap 10:53:35 -rw-rw-r--. 1 jenkins jenkins 5 Apr 15 10:49 VERSION 10:53:35 -rw-rw-r--. 1 jenkins jenkins 222 Apr 15 10:52 version.go [Pipeline] isUnix [Pipeline] sh 10:53:35 + 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=7e91e03fe71a168d34d5d653fa2873cad446c6b3 --label arch=amd64 --label version=0.0.0 . 10:53:35 Sending build context to Docker daemon 3.004MB 10:53:35 Step 1/21 : ARG BASE=golang:1.13-alpine 10:53:35 Step 2/21 : FROM ${BASE} AS builder 10:53:35 ---> 04d148560651 10:53:35 Step 3/21 : ARG MAKE='make build' 10:53:35 ---> Running in 8def2996c197 10:53:35 Removing intermediate container 8def2996c197 10:53:35 ---> 6e6ed7300137 10:53:35 Step 4/21 : WORKDIR /device-sdk-go 10:53:35 ---> Running in a1c874532b4b 10:53:36 Removing intermediate container a1c874532b4b 10:53:36 ---> fb86f5dfcd83 10:53:36 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:53:36 ---> Running in d68c84c24d2a 10:53:36 Removing intermediate container d68c84c24d2a 10:53:36 ---> 82e923e84fe7 10:53:36 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:53:36 ---> Running in 4a9b21ae1be4 10:53:36 Removing intermediate container 4a9b21ae1be4 10:53:36 ---> 0d42df74519d 10:53:36 Step 7/21 : RUN apk add --update --no-cache make git 10:53:37 ---> Running in 737120133e0c 10:53:37 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 10:53:38 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 10:53:38 OK: 143 MiB in 39 packages 10:53:38 Removing intermediate container 737120133e0c 10:53:38 ---> 96463a51730e 10:53:38 Step 8/21 : COPY . . 10:53:39 ---> 67e17534a5e6 10:53:39 Step 9/21 : RUN ${MAKE} 10:53:39 ---> Running in b358766b0278 10:53:39 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 10:53:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:53:52 Removing intermediate container b358766b0278 10:53:52 ---> 8e0f44184182 10:53:52 Step 10/21 : FROM scratch 10:53:52 ---> 10:53:52 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:53:52 ---> Running in 30f286bb24ce 10:53:52 Removing intermediate container 30f286bb24ce 10:53:52 ---> e91e682808a1 10:53:52 Step 12/21 : ENV APP_PORT=49990 10:53:52 ---> Running in 34512db69520 10:53:52 Removing intermediate container 34512db69520 10:53:52 ---> 7c54881de67b 10:53:52 Step 13/21 : EXPOSE $APP_PORT 10:53:52 ---> Running in 2c47a26a6b4e 10:53:52 Removing intermediate container 2c47a26a6b4e 10:53:52 ---> f4e52c815ada 10:53:52 Step 14/21 : WORKDIR / 10:53:52 ---> Running in aeceefaa749b 10:53:52 Removing intermediate container aeceefaa749b 10:53:52 ---> 00a6b54bdee7 10:53:52 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:53:52 ---> f8da5e86880e 10:53:52 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:53:53 ---> 40975635b6b2 10:53:53 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:53:53 ---> 25e83a8e1be1 10:53:53 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:53:54 ---> Running in 03560a6641bd 10:53:54 Removing intermediate container 03560a6641bd 10:53:54 ---> 16781b7808b6 10:53:54 Step 19/21 : LABEL arch=amd64 10:53:54 ---> Running in 0830682cfa81 10:53:54 Removing intermediate container 0830682cfa81 10:53:54 ---> 5ba4d05b961e 10:53:54 Step 20/21 : LABEL git_sha=7e91e03fe71a168d34d5d653fa2873cad446c6b3 10:53:54 ---> Running in 958319f3480e 10:53:54 Removing intermediate container 958319f3480e 10:53:54 ---> 6b0f91462a36 10:53:54 Step 21/21 : LABEL version=0.0.0 10:53:54 ---> Running in b996ed5ab715 10:53:54 Removing intermediate container b996ed5ab715 10:53:54 ---> 474c61ce3fa5 10:53:54 [Warning] One or more build-args [ARCH] were not consumed 10:53:54 Successfully built 474c61ce3fa5 10:53:54 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] } 10:54:09 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:54:09 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:54:09 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.022s coverage: 22.1% of statements 10:54:09 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.140s coverage: 95.8% of statements 10:54:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.076s coverage: 11.4% of statements 10:54:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 22.1% of statements 10:54:28 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:54:28 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.189s coverage: 38.5% of statements 10:54:28 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:54:28 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 10:54:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.560s coverage: 77.9% of statements 10:54:28 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:54:28 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:54:28 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:54:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements 10:54:28 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 10:54:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.339s coverage: 71.4% of statements 10:54:28 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:54:28 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:54:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:54:36 gofmt -l . 10:54:36 [ "`gofmt -l .`" = "" ] 10:54:36 ./bin/test-attribution-txt.sh 10:54:37 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:54:37 Warning: overwriting stash ‘coverage-report’ 10:54:38 Stashed 1 file(s) [Pipeline] } 10:54:38 $ docker stop --time=1 374ae21069ac43f22d00b7b653b5774f96f1f194851f18739df4baf3da4571bc 10:54:40 $ docker rm -f 374ae21069ac43f22d00b7b653b5774f96f1f194851f18739df4baf3da4571bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:54:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:54:41 + ls -al . 10:54:41 total 200 10:54:41 drwxrwxr-x 11 jenkins jenkins 4096 Apr 15 10:54 . 10:54:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 10:52 .. 10:54:41 -rw-rw-r-- 1 jenkins jenkins 140 Apr 15 10:52 .dockerignore 10:54:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 10:52 .git 10:54:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 10:52 .github 10:54:41 -rw-rw-r-- 1 jenkins jenkins 138 Apr 15 10:52 .gitignore 10:54:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 10:52 .semver 10:54:41 -rw-rw-r-- 1 jenkins jenkins 936 Apr 15 10:52 Dockerfile.build 10:54:41 -rw-rw-r-- 1 jenkins jenkins 808 Apr 15 10:52 Jenkinsfile 10:54:41 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 15 10:52 LICENSE 10:54:41 -rw-rw-r-- 1 jenkins jenkins 892 Apr 15 10:52 Makefile 10:54:41 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 15 10:52 README.md 10:54:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 10:49 VERSION 10:54:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 10:52 api 10:54:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 10:52 bin 10:54:41 -rw-r--r-- 1 jenkins jenkins 97490 Apr 15 10:54 coverage.out 10:54:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 10:52 example 10:54:41 -rw-r--r-- 1 jenkins jenkins 475 Apr 15 10:54 go.mod 10:54:41 -rw-r--r-- 1 jenkins jenkins 12152 Apr 15 10:54 go.sum 10:54:41 drwxrwxr-x 14 jenkins jenkins 4096 Apr 15 10:52 internal 10:54:41 drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 10:52 pkg 10:54:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 10:52 snap 10:54:41 -rw-rw-r-- 1 jenkins jenkins 222 Apr 15 10:52 version.go [Pipeline] isUnix [Pipeline] sh 10:54:42 + 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=7e91e03fe71a168d34d5d653fa2873cad446c6b3 --label arch=arm64 --label version=0.0.0 . 10:54:42 Sending build context to Docker daemon 3.004MB 10:54:42 Step 1/21 : ARG BASE=golang:1.13-alpine 10:54:42 Step 2/21 : FROM ${BASE} AS builder 10:54:42 ---> b19aceebf2eb 10:54:42 Step 3/21 : ARG MAKE='make build' 10:54:42 ---> Running in 62731299e5bd 10:54:43 Removing intermediate container 62731299e5bd 10:54:43 ---> 7334a7453258 10:54:43 Step 4/21 : WORKDIR /device-sdk-go 10:54:43 ---> Running in e9887025fd88 10:54:43 Removing intermediate container e9887025fd88 10:54:43 ---> 09c00276c578 10:54:43 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:54:43 ---> Running in e8e3da5a0826 10:54:44 Removing intermediate container e8e3da5a0826 10:54:44 ---> d62ed6f5c885 10:54:44 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:54:44 ---> Running in 98004b776b92 10:54:45 Removing intermediate container 98004b776b92 10:54:45 ---> 615a766bbb18 10:54:45 Step 7/21 : RUN apk add --update --no-cache make git 10:54:46 ---> Running in 79af18c50d9f 10:54:47 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 10:54:47 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 10:54:48 OK: 125 MiB in 39 packages 10:54:49 Removing intermediate container 79af18c50d9f 10:54:49 ---> 47d3d26cd0bc 10:54:49 Step 8/21 : COPY . . 10:54:50 ---> bc691c76a147 10:54:50 Step 9/21 : RUN ${MAKE} 10:54:50 ---> Running in 3874892e00b2 10:54:51 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 10:55:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:55:30 Removing intermediate container 3874892e00b2 10:55:30 ---> 137e7e218eed 10:55:30 Step 10/21 : FROM scratch 10:55:30 ---> 10:55:30 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:55:30 ---> Running in c2957c434134 10:55:30 Removing intermediate container c2957c434134 10:55:30 ---> e3f60e9f71b8 10:55:30 Step 12/21 : ENV APP_PORT=49990 10:55:30 ---> Running in 33d77abd3325 10:55:30 Removing intermediate container 33d77abd3325 10:55:30 ---> 7eb430637f4f 10:55:30 Step 13/21 : EXPOSE $APP_PORT 10:55:30 ---> Running in 6102c52f4f95 10:55:30 Removing intermediate container 6102c52f4f95 10:55:30 ---> 8d76c5d9a75e 10:55:30 Step 14/21 : WORKDIR / 10:55:30 ---> Running in 18b79c6bfdf1 10:55:31 Removing intermediate container 18b79c6bfdf1 10:55:31 ---> 75dab0163c6d 10:55:31 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:55:32 ---> 04172e12ffc4 10:55:32 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:55:32 ---> bdc82ef1eb93 10:55:32 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:55:33 ---> f644e6d18838 10:55:33 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:55:33 ---> Running in 5cdfff20a4b1 10:55:33 Removing intermediate container 5cdfff20a4b1 10:55:33 ---> bbdf482f125e 10:55:33 Step 19/21 : LABEL arch=arm64 10:55:33 ---> Running in 3b60fac61834 10:55:34 Removing intermediate container 3b60fac61834 10:55:34 ---> a6aaa3ae813b 10:55:34 Step 20/21 : LABEL git_sha=7e91e03fe71a168d34d5d653fa2873cad446c6b3 10:55:34 ---> Running in 391a47b889ac 10:55:34 Removing intermediate container 391a47b889ac 10:55:34 ---> cef07c6b4477 10:55:34 Step 21/21 : LABEL version=0.0.0 10:55:35 ---> Running in 364f94ab495f 10:55:35 Removing intermediate container 364f94ab495f 10:55:35 ---> 561e9f4c7bce 10:55:35 [Warning] One or more build-args [ARCH] were not consumed 10:55:35 Successfully built 561e9f4c7bce 10:55:35 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 10:55:36 provisioning config files... 10:55:36 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config2119349919332263653tmp [Pipeline] { [Pipeline] sh 10:55:36 + curl -s https://codecov.io/bash 10:55:36 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config2119349919332263653tmp 10:55:37 10:55:37 _____ _ 10:55:37 / ____| | | 10:55:37 | | ___ __| | ___ ___ _____ __ 10:55:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:55:37 | |___| (_) | (_| | __/ (_| (_) \ V / 10:55:37 \_____\___/ \__,_|\___|\___\___/ \_/ 10:55:37 Bash-20200410-0786dee 10:55:37 10:55:37 10:55:37 ==> Jenkins CI detected. 10:55:37 project root: . 10:55:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:55:37 ==> Running gcov in . (disable via -X gcov) 10:55:37 ==> Python coveragepy not found 10:55:37 ==> Searching for coverage reports in: 10:55:37 + . 10:55:37 -> Found 1 reports 10:55:37 ==> Detecting git/mercurial file structure 10:55:37 ==> Reading reports 10:55:37 + ./coverage.out bytes=97490 10:55:37 ==> Appending adjustments 10:55:37 http://docs.codecov.io/docs/fixing-reports 10:55:37 + Found adjustments 10:55:37 ==> Gzipping contents 10:55:37 ==> Uploading reports 10:55:37 url: https://codecov.io 10:55:37 query: branch=PR-464&commit=7e91e03fe71a168d34d5d653fa2873cad446c6b3&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= 10:55:37 -> Pinging Codecov 10:55:37 https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-464&commit=7e91e03fe71a168d34d5d653fa2873cad446c6b3&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= 10:55:37 -> Uploading 10:55:38 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7e91e03fe71a168d34d5d653fa2873cad446c6b3 [Pipeline] } 10:55:38 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 10:55:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:55:39 ---> package-listing.sh 10:55:39 ++ facter osfamily 10:55:39 ++ tr '[:upper:]' '[:lower:]' 10:55:39 + OS_FAMILY=redhat 10:55:39 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-464 10:55:39 + START_PACKAGES=/tmp/packages_start.txt 10:55:39 + END_PACKAGES=/tmp/packages_end.txt 10:55:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:55:39 + PACKAGES=/tmp/packages_start.txt 10:55:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' 10:55:39 + PACKAGES=/tmp/packages_end.txt 10:55:39 + case "${OS_FAMILY}" in 10:55:39 + rpm -qa 10:55:39 + sort 10:55:44 + '[' -f /tmp/packages_start.txt ']' 10:55:44 + '[' -f /tmp/packages_end.txt ']' 10:55:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:55:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' 10:55:44 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ 10:55:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [Pipeline] isUnix [Pipeline] sh 10:55:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:55:44 10:55:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:55:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:55:44 alpine: Pulling from edgex-lftools-log-publisher 10:55:44 c9b1b535fdd9: Pulling fs layer 10:55:44 2cc5ad85d9ab: Pulling fs layer 10:55:44 756a868c4378: Pulling fs layer 10:55:44 444b2fc9a129: Pulling fs layer 10:55:44 ea15f1150254: Pulling fs layer 10:55:44 41b27a9f41bf: Pulling fs layer 10:55:44 28c525ee5125: Pulling fs layer 10:55:44 094b1ea09ed8: Pulling fs layer 10:55:44 138eaada9080: Pulling fs layer 10:55:44 0622d0fa9048: Pulling fs layer 10:55:44 28c525ee5125: Waiting 10:55:44 444b2fc9a129: Waiting 10:55:44 0622d0fa9048: Waiting 10:55:44 094b1ea09ed8: Waiting 10:55:44 ea15f1150254: Waiting 10:55:44 138eaada9080: Waiting 10:55:44 41b27a9f41bf: Waiting 10:55:44 2cc5ad85d9ab: Verifying Checksum 10:55:44 2cc5ad85d9ab: Download complete 10:55:44 444b2fc9a129: Verifying Checksum 10:55:44 444b2fc9a129: Download complete 10:55:44 c9b1b535fdd9: Download complete 10:55:45 ea15f1150254: Verifying Checksum 10:55:45 ea15f1150254: Download complete 10:55:45 28c525ee5125: Verifying Checksum 10:55:45 28c525ee5125: Download complete 10:55:45 756a868c4378: Verifying Checksum 10:55:45 756a868c4378: Download complete 10:55:45 c9b1b535fdd9: Pull complete 10:55:45 138eaada9080: Verifying Checksum 10:55:45 138eaada9080: Download complete 10:55:45 0622d0fa9048: Verifying Checksum 10:55:45 0622d0fa9048: Download complete 10:55:45 094b1ea09ed8: Verifying Checksum 10:55:45 094b1ea09ed8: Download complete 10:55:45 2cc5ad85d9ab: Pull complete 10:55:45 41b27a9f41bf: Verifying Checksum 10:55:45 41b27a9f41bf: Download complete 10:55:47 756a868c4378: Pull complete 10:55:47 444b2fc9a129: Pull complete 10:55:47 ea15f1150254: Pull complete 10:55:50 41b27a9f41bf: Pull complete 10:55:50 28c525ee5125: Pull complete 10:55:52 094b1ea09ed8: Pull complete 10:55:52 138eaada9080: Pull complete 10:55:52 0622d0fa9048: Pull complete 10:55:52 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 10:55:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:55:53 prd-centos7-docker-4c-2g-4024 does not seem to be running inside a container 10:55:53 $ 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-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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 10:55:54 $ docker top 96087ab27905b8536e1834d231e3d8f3069a72523575c98f89bbbd43499969aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:55:54 provisioning config files... 10:55:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config6227323853917915472tmp [Pipeline] { [Pipeline] echo 10:55:54 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:55:54 ---> create-netrc.sh [Pipeline] echo 10:55:54 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:55:55 ---> logs-deploy.sh 10:55:55 + ARCHIVE_ARTIFACTS= 10:55:55 + LOGS_SERVER=https://logs.edgexfoundry.org 10:55:55 + '[' https://logs.edgexfoundry.org == None ']' 10:55:55 + NEXUS_URL=https://nexus.edgexfoundry.org 10:55:55 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/21 10:55:55 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/21/ 10:55:55 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/21 /w/workspace/dgexfoundry_device-sdk-go_PR-464 10:55:56 Archives upload complete. 10:55:56 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/21 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/21/