Pull request #523 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from b7ceb80793de0ea9b7f58d45330eb520c3682622+95692bfba5b6922b9479d5fc02f4a388c744689f (55cb83276e307b966dc77bdcc776677ac5e07f68) 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 a8d5489117fb74ecf2babedeac9793ec80335c77 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 a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > 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/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-7796’ Running on prd-centos7-docker-4c-2g-7798 in /w/workspace/dgexfoundry_device-sdk-go_PR-523 [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-523 # 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/523/head:refs/remotes/origin/PR-523 +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 without tags Merging remotes/origin/master commit 95692bfba5b6922b9479d5fc02f4a388c744689f into PR head commit b7ceb80793de0ea9b7f58d45330eb520c3682622 Merge succeeded, producing b7ceb80793de0ea9b7f58d45330eb520c3682622 Checking out Revision b7ceb80793de0ea9b7f58d45330eb520c3682622 (PR-523) > git config --add remote.origin.fetch +refs/pull/523/head:refs/remotes/origin/PR-523 # 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/523/head:refs/remotes/origin/PR-523 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b7ceb80793de0ea9b7f58d45330eb520c3682622 # 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 95692bfba5b6922b9479d5fc02f4a388c744689f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b7ceb80793de0ea9b7f58d45330eb520c3682622 # timeout=10 Commit message: "feat: add ability for service name override" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:32:37 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 9a9d29433b52a83cd8743e35a802ab1c55c81fb1 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:32:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:32:37 ========================================================= 02:32:37 EdgeX Global Pipelines Version Info 02:32:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:32:39 ------------------- 02:32:39 stable info: 02:32:39 ------------------- 02:32:39 Commited By: Emilio Reyes emilio.reyes@intel.com 02:32:39 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 02:32:39 Message: update stable to v1.0.87 02:32:39 ------------------- 02:32:39 experimental info: 02:32:39 ------------------- 02:32:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:32:39 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 02:32:39 Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 02:32:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:32:42 02:32:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:32:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:32:43 latest: Pulling from edgex-devops/git-semver 02:32:43 9123ac7c32f7: Pulling fs layer 02:32:43 b8cc5d1170e3: Pulling fs layer 02:32:43 2924cbbf6a41: Pulling fs layer 02:32:43 93b08a4f1073: Pulling fs layer 02:32:43 93b08a4f1073: Waiting 02:32:43 b8cc5d1170e3: Download complete 02:32:43 9123ac7c32f7: Verifying Checksum 02:32:43 9123ac7c32f7: Download complete 02:32:43 93b08a4f1073: Verifying Checksum 02:32:43 93b08a4f1073: Download complete 02:32:43 2924cbbf6a41: Verifying Checksum 02:32:43 2924cbbf6a41: Download complete 02:32:43 9123ac7c32f7: Pull complete 02:32:43 b8cc5d1170e3: Pull complete 02:32:44 2924cbbf6a41: Pull complete 02:32:45 93b08a4f1073: Pull complete 02:32:45 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 02:32:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:32:45 prd-centos7-docker-4c-2g-7798 does not seem to be running inside a container 02:32:45 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-523 -v /w/workspace/dgexfoundry_device-sdk-go_PR-523:/w/workspace/dgexfoundry_device-sdk-go_PR-523:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-523@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-523@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:32:46 $ docker top c6a5893e0a436d40bfe22c61a4effd6b86444e1c3d92e887c9af655ee60c8095 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:32:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:46 [ssh-agent] Looking for ssh-agent implementation... 02:32:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:47 $ docker exec c6a5893e0a436d40bfe22c61a4effd6b86444e1c3d92e887c9af655ee60c8095 ssh-agent 02:32:47 SSH_AUTH_SOCK=/tmp/ssh-P1bBIX1jP59W/agent.15 02:32:47 SSH_AGENT_PID=22 02:32:47 Running ssh-add (command line suppressed) 02:32:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-523@tmp/private_key_5656171361199483767.key (/w/workspace/dgexfoundry_device-sdk-go_PR-523@tmp/private_key_5656171361199483767.key) 02:32:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:47 + git describe --exact-match --tags HEAD 02:32:47 fatal: No names found, cannot describe anything. [Pipeline] } 02:32:48 $ docker exec --env ******** --env ******** c6a5893e0a436d40bfe22c61a4effd6b86444e1c3d92e887c9af655ee60c8095 ssh-agent -k 02:32:48 unset SSH_AUTH_SOCK; 02:32:48 unset SSH_AGENT_PID; 02:32:48 echo Agent pid 22 killed; 02:32:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:32:48 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:32:48 This usually means this commit has not been tagged. [Pipeline] sshagent 02:32:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:48 [ssh-agent] Looking for ssh-agent implementation... 02:32:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:49 $ docker exec c6a5893e0a436d40bfe22c61a4effd6b86444e1c3d92e887c9af655ee60c8095 ssh-agent 02:32:49 SSH_AUTH_SOCK=/tmp/ssh-OyiAeGNl1PHG/agent.58 02:32:49 SSH_AGENT_PID=65 02:32:49 Running ssh-add (command line suppressed) 02:32:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-523@tmp/private_key_5000666905254874271.key (/w/workspace/dgexfoundry_device-sdk-go_PR-523@tmp/private_key_5000666905254874271.key) 02:32:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:50 + git semver init 02:32:50 # -> Open(): unable to determine branch for HEAD 02:32:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-523/.git 02:32:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-523 02:32:50 # $SEMVER_REMOTE_NAME = origin 02:32:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:32:50 # $SEMVER_USER_NAME = edgex-jenkins 02:32:50 # $SEMVER_BRANCH = PR-523 02:32:50 # $SEMVER_TEMP = /tmp/semver-568788573 02:32:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:32:50 # '/tmp/semver-568788573' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-523/.semver' 02:32:50 # -> Force: false 02:32:50 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-523/.semver [Pipeline] } 02:32:50 $ docker exec --env ******** --env ******** c6a5893e0a436d40bfe22c61a4effd6b86444e1c3d92e887c9af655ee60c8095 ssh-agent -k 02:32:51 unset SSH_AUTH_SOCK; 02:32:51 unset SSH_AGENT_PID; 02:32:51 echo Agent pid 65 killed; 02:32:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:32:52 + git semver [Pipeline] } 02:32:52 $ docker stop --time=1 c6a5893e0a436d40bfe22c61a4effd6b86444e1c3d92e887c9af655ee60c8095 02:32:53 $ docker rm -f c6a5893e0a436d40bfe22c61a4effd6b86444e1c3d92e887c9af655ee60c8095 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:32:55 Stashed 61 file(s) [Pipeline] echo 02:32:55 [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 02:33:10 Still waiting to schedule task 02:33:10 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:33:10 Still waiting to schedule task 02:33:10 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:34:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-7799 in /w/workspace/dgexfoundry_device-sdk-go_PR-523 [Pipeline] { [Pipeline] ws 02:34:53 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 02:34:59 using credential edgex-jenkins-ssh 02:34:59 Cloning the remote Git repository 02:34:59 Cloning with configured refspecs honoured and without tags 02:35:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:35:00 > git init /w/workspace/device-sdk-go/9 # timeout=10 02:35:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:35:00 > git --version # timeout=10 02:35:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/523/head:refs/remotes/origin/PR-523 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:35:01 Fetching without tags 02:35:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:35:01 > git config --add remote.origin.fetch +refs/pull/523/head:refs/remotes/origin/PR-523 # timeout=10 02:35:01 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:35:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:35:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:35:01 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:01 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/523/head:refs/remotes/origin/PR-523 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:35:02 Merging remotes/origin/master commit 95692bfba5b6922b9479d5fc02f4a388c744689f into PR head commit b7ceb80793de0ea9b7f58d45330eb520c3682622 02:35:02 Merge succeeded, producing b7ceb80793de0ea9b7f58d45330eb520c3682622 02:35:02 Checking out Revision b7ceb80793de0ea9b7f58d45330eb520c3682622 (PR-523) 02:35:02 > git config core.sparsecheckout # timeout=10 02:35:02 > git checkout -f b7ceb80793de0ea9b7f58d45330eb520c3682622 # timeout=10 02:35:02 > git remote # timeout=10 02:35:02 > git config --get remote.origin.url # timeout=10 02:35:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:02 > git merge 95692bfba5b6922b9479d5fc02f4a388c744689f # timeout=10 02:35:02 > git rev-parse HEAD^{commit} # timeout=10 02:35:02 > git config core.sparsecheckout # timeout=10 02:35:02 > git checkout -f b7ceb80793de0ea9b7f58d45330eb520c3682622 # timeout=10 02:35:06 Commit message: "feat: add ability for service name override" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:35:08 ========================================================= 02:35:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 02:35:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:35:09 + 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 . 02:35:10 Sending build context to Docker daemon 3.044MB 02:35:10 Step 1/8 : ARG BASE=golang:1.13-alpine 02:35:10 Step 2/8 : FROM ${BASE} 02:35:10 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:35:10 cde5963f3b93: Pulling fs layer 02:35:10 2a23fa8c16f7: Pulling fs layer 02:35:10 777b28850792: Pulling fs layer 02:35:10 8a11ddd9e578: Pulling fs layer 02:35:10 4cf88f913ddb: Pulling fs layer 02:35:10 1df406cf5192: Pulling fs layer 02:35:10 cd6300453558: Pulling fs layer 02:35:10 b9c365052c96: Pulling fs layer 02:35:10 a2d8cc88f415: Pulling fs layer 02:35:10 ea1d1ca13537: Pulling fs layer 02:35:10 3750a50a1c5e: Pulling fs layer 02:35:10 cd6300453558: Waiting 02:35:10 b9c365052c96: Waiting 02:35:10 a2d8cc88f415: Waiting 02:35:10 ea1d1ca13537: Waiting 02:35:10 8a11ddd9e578: Waiting 02:35:10 4cf88f913ddb: Waiting 02:35:10 1df406cf5192: Waiting 02:35:10 3750a50a1c5e: Waiting 02:35:10 777b28850792: Verifying Checksum 02:35:10 777b28850792: Download complete 02:35:10 4cf88f913ddb: Verifying Checksum 02:35:10 4cf88f913ddb: Download complete 02:35:10 1df406cf5192: Verifying Checksum 02:35:10 1df406cf5192: Download complete 02:35:10 cde5963f3b93: Download complete 02:35:11 cde5963f3b93: Pull complete 02:35:12 2a23fa8c16f7: Pull complete 02:35:12 777b28850792: Pull complete 02:35:15 cd6300453558: Verifying Checksum 02:35:15 cd6300453558: Download complete 02:35:15 a2d8cc88f415: Download complete 02:35:17 ea1d1ca13537: Verifying Checksum 02:35:17 ea1d1ca13537: Download complete 02:35:17 3750a50a1c5e: Verifying Checksum 02:35:17 3750a50a1c5e: Download complete 02:35:19 b9c365052c96: Verifying Checksum 02:35:19 b9c365052c96: Download complete 02:35:22 8a11ddd9e578: Verifying Checksum 02:35:22 8a11ddd9e578: Download complete 02:35:34 8a11ddd9e578: Pull complete 02:35:34 4cf88f913ddb: Pull complete 02:35:34 1df406cf5192: Pull complete 02:35:37 Running on prd-centos7-docker-4c-2g-7800 in /w/workspace/dgexfoundry_device-sdk-go_PR-523 [Pipeline] { [Pipeline] ws 02:35:37 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 02:35:38 cd6300453558: Pull complete 02:35:39 using credential edgex-jenkins-ssh 02:35:39 Cloning the remote Git repository 02:35:39 Cloning with configured refspecs honoured and without tags 02:35:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:35:40 Fetching without tags 02:35:39 > git init /w/workspace/device-sdk-go/9 # timeout=10 02:35:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:35:39 > git --version # timeout=10 02:35:39 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/523/head:refs/remotes/origin/PR-523 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:35:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:35:40 > git config --add remote.origin.fetch +refs/pull/523/head:refs/remotes/origin/PR-523 # timeout=10 02:35:40 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:35:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:35:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:35:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/523/head:refs/remotes/origin/PR-523 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:35:40 Merging remotes/origin/master commit 95692bfba5b6922b9479d5fc02f4a388c744689f into PR head commit b7ceb80793de0ea9b7f58d45330eb520c3682622 02:35:40 Merge succeeded, producing b7ceb80793de0ea9b7f58d45330eb520c3682622 02:35:40 Checking out Revision b7ceb80793de0ea9b7f58d45330eb520c3682622 (PR-523) 02:35:40 > git config core.sparsecheckout # timeout=10 02:35:40 > git checkout -f b7ceb80793de0ea9b7f58d45330eb520c3682622 # timeout=10 02:35:40 > git remote # timeout=10 02:35:40 > git config --get remote.origin.url # timeout=10 02:35:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:40 > git merge 95692bfba5b6922b9479d5fc02f4a388c744689f # timeout=10 02:35:40 > git rev-parse HEAD^{commit} # timeout=10 02:35:40 > git config core.sparsecheckout # timeout=10 02:35:40 > git checkout -f b7ceb80793de0ea9b7f58d45330eb520c3682622 # timeout=10 02:35:44 b9c365052c96: Pull complete 02:35:44 a2d8cc88f415: Pull complete 02:35:44 Commit message: "feat: add ability for service name override" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:35:45 ========================================================= 02:35:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 02:35:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:35:46 ea1d1ca13537: Pull complete 02:35:46 + 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 . 02:35:46 Sending build context to Docker daemon 3.044MB 02:35:46 Step 1/8 : ARG BASE=golang:1.13-alpine 02:35:46 Step 2/8 : FROM ${BASE} 02:35:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 02:35:46 e6b0cf9c0882: Pulling fs layer 02:35:46 2848faf0eed1: Pulling fs layer 02:35:46 0f37312ad70f: Pulling fs layer 02:35:46 5788d62ee057: Pulling fs layer 02:35:46 0e6b1d234666: Pulling fs layer 02:35:46 bf5d7aec512f: Pulling fs layer 02:35:46 34c802a77dc8: Pulling fs layer 02:35:46 9eb99e56ec68: Pulling fs layer 02:35:46 27c7a5d97fbd: Pulling fs layer 02:35:46 5c102a31e300: Pulling fs layer 02:35:46 dcfb455df0a1: Pulling fs layer 02:35:46 34c802a77dc8: Waiting 02:35:46 9eb99e56ec68: Waiting 02:35:46 27c7a5d97fbd: Waiting 02:35:46 5c102a31e300: Waiting 02:35:46 dcfb455df0a1: Waiting 02:35:46 5788d62ee057: Waiting 02:35:46 0e6b1d234666: Waiting 02:35:46 bf5d7aec512f: Waiting 02:35:46 0f37312ad70f: Download complete 02:35:46 2848faf0eed1: Verifying Checksum 02:35:46 2848faf0eed1: Download complete 02:35:46 3750a50a1c5e: Pull complete 02:35:46 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 02:35:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 02:35:46 ---> 78745c68409d 02:35:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:35:46 0e6b1d234666: Verifying Checksum 02:35:46 0e6b1d234666: Download complete 02:35:46 bf5d7aec512f: Verifying Checksum 02:35:46 bf5d7aec512f: Download complete 02:35:46 e6b0cf9c0882: Verifying Checksum 02:35:46 e6b0cf9c0882: Download complete 02:35:47 e6b0cf9c0882: Pull complete 02:35:47 2848faf0eed1: Pull complete 02:35:47 34c802a77dc8: Verifying Checksum 02:35:47 34c802a77dc8: Download complete 02:35:47 27c7a5d97fbd: Verifying Checksum 02:35:47 27c7a5d97fbd: Download complete 02:35:48 5c102a31e300: Verifying Checksum 02:35:48 5c102a31e300: Download complete 02:35:48 dcfb455df0a1: Verifying Checksum 02:35:48 dcfb455df0a1: Download complete 02:35:48 5788d62ee057: Verifying Checksum 02:35:48 5788d62ee057: Download complete 02:35:48 9eb99e56ec68: Download complete 02:35:49 0f37312ad70f: Pull complete 02:35:51 ---> Running in e10349e04f75 02:35:51 Removing intermediate container e10349e04f75 02:35:51 ---> f27f05e0f539 02:35:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:35:51 ---> Running in 1144733033d8 02:35:53 Removing intermediate container 1144733033d8 02:35:53 ---> 260db033cb51 02:35:53 Step 5/8 : RUN apk add --no-cache make git 02:35:53 ---> Running in 42e621bfb3db 02:35:54 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:35:56 5788d62ee057: Pull complete 02:35:56 0e6b1d234666: Pull complete 02:35:56 bf5d7aec512f: Pull complete 02:36:01 34c802a77dc8: Pull complete 02:36:04 9eb99e56ec68: Pull complete 02:36:04 27c7a5d97fbd: Pull complete 02:36:05 5c102a31e300: Pull complete 02:36:05 dcfb455df0a1: Pull complete 02:36:05 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 02:36:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 02:36:05 ---> 7c70fe431013 02:36:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:36:05 ---> Running in a5adb687b6d6 02:36:05 Removing intermediate container a5adb687b6d6 02:36:05 ---> 04176ce776d3 02:36:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:36:05 ---> Running in 8e364122efc1 02:36:06 Removing intermediate container 8e364122efc1 02:36:06 ---> bc0326dfd6ba 02:36:06 Step 5/8 : RUN apk add --no-cache make git 02:36:06 ---> Running in 49c38adfbc13 02:36:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:36:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:36:29 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:36:45 OK: 125 MiB in 39 packages 02:36:45 Removing intermediate container 42e621bfb3db 02:36:45 ---> 11860152abfe 02:36:45 Step 6/8 : WORKDIR /device-sdk-go 02:36:45 ---> Running in 4c17396f5c24 02:36:45 Removing intermediate container 4c17396f5c24 02:36:45 ---> f9d30d7111ad 02:36:45 Step 7/8 : COPY . . 02:36:45 ---> 15c553a76d9f 02:36:45 Step 8/8 : RUN go mod download 02:36:45 ---> Running in f99263cc3618 02:36:48 go: finding github.com/BurntSushi/toml v0.3.1 02:36:48 go: finding github.com/OneOfOne/xxhash v1.2.6 02:36:48 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:36:48 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:36:48 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:36:48 go: finding github.com/bgentry/speakeasy v0.1.0 02:36:48 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:36:48 go: finding github.com/davecgh/go-spew v1.1.1 02:36:48 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 02:36:48 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:36:48 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 02:36:49 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 02:36:49 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:36:49 go: finding github.com/fatih/color v1.7.0 02:36:49 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:36:49 go: finding github.com/go-kit/kit v0.8.0 02:36:49 go: finding github.com/go-logfmt/logfmt v0.4.0 02:36:49 go: finding github.com/go-stack/stack v1.8.0 02:36:49 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:36:49 go: finding github.com/google/uuid v1.1.0 02:36:49 go: finding github.com/gorilla/mux v1.7.1 02:36:49 go: finding github.com/hashicorp/consul/api v1.1.0 02:36:49 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:36:49 go: finding github.com/hashicorp/errwrap v1.0.0 02:36:49 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:36:49 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:36:49 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:36:49 go: finding github.com/hashicorp/go-multierror v1.0.0 02:36:49 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:36:49 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:36:49 go: finding github.com/hashicorp/go-syslog v1.0.0 02:36:49 go: finding github.com/hashicorp/go-uuid v1.0.1 02:36:49 go: finding github.com/hashicorp/go.net v0.0.1 02:36:49 go: finding github.com/hashicorp/golang-lru v0.5.0 02:36:49 go: finding github.com/hashicorp/logutils v1.0.0 02:36:49 go: finding github.com/hashicorp/mdns v1.0.0 02:36:49 go: finding github.com/hashicorp/memberlist v0.1.3 02:36:49 go: finding github.com/hashicorp/serf v0.8.2 02:36:50 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:36:50 go: finding github.com/mattn/go-colorable v0.0.9 02:36:50 go: finding github.com/mattn/go-isatty v0.0.3 02:36:50 go: finding github.com/miekg/dns v1.0.14 02:36:50 go: finding github.com/mitchellh/cli v1.0.0 02:36:50 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:36:50 go: finding github.com/mitchellh/copystructure v1.0.0 02:36:50 go: finding github.com/mitchellh/go-homedir v1.0.0 02:36:50 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:36:50 go: finding github.com/mitchellh/gox v0.4.0 02:36:50 go: finding github.com/mitchellh/iochan v1.0.0 02:36:50 go: finding github.com/mitchellh/mapstructure v1.1.2 02:36:50 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:36:50 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:36:50 go: finding github.com/pelletier/go-toml v1.2.0 02:36:50 go: finding github.com/pkg/errors v0.8.1 02:36:50 go: finding github.com/pmezard/go-difflib v1.0.0 02:36:50 go: finding github.com/posener/complete v1.1.1 02:36:50 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:36:50 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:36:50 go: finding github.com/stretchr/objx v0.1.0 02:36:50 go: finding github.com/stretchr/testify v1.5.1 02:36:50 go: finding github.com/ugorji/go v1.1.4 02:36:50 go: finding github.com/x448/float16 v0.8.4 02:36:51 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:36:51 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:36:51 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:36:51 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:36:51 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:36:51 go: finding gopkg.in/yaml.v2 v2.2.8 02:36:51 OK: 143 MiB in 39 packages 02:36:51 Removing intermediate container 49c38adfbc13 02:36:51 ---> 2f74e7c0c215 02:36:51 Step 6/8 : WORKDIR /device-sdk-go 02:36:52 ---> Running in 5c50bb2d2824 02:36:52 Removing intermediate container 5c50bb2d2824 02:36:52 ---> a201346d9618 02:36:52 Step 7/8 : COPY . . 02:36:52 ---> 7aab66c4ad0c 02:36:52 Step 8/8 : RUN go mod download 02:36:53 ---> Running in fdc9e40e7a20 02:36:54 go: finding github.com/BurntSushi/toml v0.3.1 02:36:54 go: finding github.com/OneOfOne/xxhash v1.2.6 02:36:54 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:36:54 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:36:54 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:36:54 go: finding github.com/bgentry/speakeasy v0.1.0 02:36:54 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:36:54 go: finding github.com/davecgh/go-spew v1.1.1 02:36:54 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 02:36:54 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:36:55 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 02:36:55 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 02:36:55 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:36:55 go: finding github.com/fatih/color v1.7.0 02:36:55 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:36:55 go: finding github.com/go-kit/kit v0.8.0 02:36:55 go: finding github.com/go-logfmt/logfmt v0.4.0 02:36:55 go: finding github.com/go-stack/stack v1.8.0 02:36:55 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:36:55 go: finding github.com/google/uuid v1.1.0 02:36:55 go: finding github.com/gorilla/mux v1.7.1 02:36:55 go: finding github.com/hashicorp/consul/api v1.1.0 02:36:55 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:36:55 go: finding github.com/hashicorp/errwrap v1.0.0 02:36:55 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:36:55 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:36:55 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:36:55 go: finding github.com/hashicorp/go-multierror v1.0.0 02:36:55 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:36:55 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:36:56 go: finding github.com/hashicorp/go-syslog v1.0.0 02:36:56 go: finding github.com/hashicorp/go-uuid v1.0.1 02:36:56 go: finding github.com/hashicorp/go.net v0.0.1 02:36:56 go: finding github.com/hashicorp/golang-lru v0.5.0 02:36:56 go: finding github.com/hashicorp/logutils v1.0.0 02:36:56 go: finding github.com/hashicorp/mdns v1.0.0 02:36:56 go: finding github.com/hashicorp/memberlist v0.1.3 02:36:56 go: finding github.com/hashicorp/serf v0.8.2 02:36:56 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:36:56 go: finding github.com/mattn/go-colorable v0.0.9 02:36:56 go: finding github.com/mattn/go-isatty v0.0.3 02:36:56 go: finding github.com/miekg/dns v1.0.14 02:36:56 go: finding github.com/mitchellh/cli v1.0.0 02:36:56 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:36:56 go: finding github.com/mitchellh/copystructure v1.0.0 02:36:56 go: finding github.com/mitchellh/go-homedir v1.0.0 02:36:56 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:36:56 go: finding github.com/mitchellh/gox v0.4.0 02:36:56 go: finding github.com/mitchellh/iochan v1.0.0 02:36:56 go: finding github.com/mitchellh/mapstructure v1.1.2 02:36:56 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:36:56 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:36:56 go: finding github.com/pelletier/go-toml v1.2.0 02:36:56 go: finding github.com/pkg/errors v0.8.1 02:36:56 go: finding github.com/pmezard/go-difflib v1.0.0 02:36:56 go: finding github.com/posener/complete v1.1.1 02:36:56 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:36:57 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:36:57 go: finding github.com/stretchr/objx v0.1.0 02:36:57 go: finding github.com/stretchr/testify v1.5.1 02:36:57 go: finding github.com/ugorji/go v1.1.4 02:36:57 go: finding github.com/x448/float16 v0.8.4 02:36:57 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:36:57 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:36:57 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:36:57 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:36:57 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:36:57 go: finding gopkg.in/yaml.v2 v2.2.8 02:37:00 Removing intermediate container fdc9e40e7a20 02:37:00 ---> 3371b5d1b381 02:37:00 Successfully built 3371b5d1b381 02:37:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 02:37:01 Removing intermediate container f99263cc3618 02:37:01 ---> 5c74bb227b23 02:37:01 Successfully built 5c74bb227b23 02:37:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 02:37:02 + docker inspect -f . ci-base-image-x86_64 02:37:02 . [Pipeline] withDockerContainer 02:37:02 + docker inspect -f . ci-base-image-arm64 02:37:02 . 02:37:02 prd-centos7-docker-4c-2g-7800 does not seem to be running inside a container 02:37:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** ci-base-image-x86_64 cat 02:37:03 $ docker top 98fe19a710bcbc791170c0dcdd37422bb9f8f45e92673ec640bc612a3f23eedd -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 02:37:03 prd-ubuntu18.04-docker-arm64-4c-16g-7799 does not seem to be running inside a container 02:37:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 02:37:05 $ docker top 01bd24a85da5c2286995f1464bfe179dd2bc4da3d7757b317fbd8a6bb812bd54 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 02:37:05 + go version 02:37:05 go version go1.13.5 linux/amd64 [Pipeline] sh 02:37:06 + make test 02:37:06 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:37:06 + go version 02:37:06 go version go1.13.5 linux/arm64 [Pipeline] sh 02:37:06 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:37:06 + make test 02:37:06 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:37:07 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:37:18 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:37:18 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:37:18 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:37:18 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 22.1% of statements 02:37:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.044s coverage: 95.8% of statements 02:37:34 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:37:34 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:37:34 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:37:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.035s coverage: 22.1% of statements 02:37:37 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.216s coverage: 95.8% of statements 02:37:49 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.017s coverage: 11.4% of statements 02:37:49 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements 02:37:49 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:37:49 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.114s coverage: 36.9% of statements 02:37:49 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:37:49 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 02:37:49 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.405s coverage: 65.2% of statements 02:37:49 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:37:49 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:37:49 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:37:49 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.122s coverage: 52.6% of statements 02:37:49 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 02:37:49 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.097s coverage: 68.9% of statements 02:37:49 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:37:49 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:37:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:37:51 gofmt -l . 02:37:51 [ "`gofmt -l .`" = "" ] 02:37:51 ./bin/test-attribution-txt.sh 02:37:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:37:53 Stashed 1 file(s) [Pipeline] } 02:37:53 $ docker stop --time=1 98fe19a710bcbc791170c0dcdd37422bb9f8f45e92673ec640bc612a3f23eedd 02:37:54 $ docker rm -f 98fe19a710bcbc791170c0dcdd37422bb9f8f45e92673ec640bc612a3f23eedd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:37:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:37:56 + ls -al . 02:37:56 total 180 02:37:56 drwxrwxr-x. 11 jenkins jenkins 4096 May 11 02:37 . 02:37:56 drwxrwxr-x. 4 jenkins jenkins 28 May 11 02:35 .. 02:37:56 drwxrwxr-x. 3 jenkins jenkins 20 May 11 02:35 api 02:37:56 drwxrwxr-x. 2 jenkins jenkins 64 May 11 02:35 bin 02:37:56 -rw-r--r--. 1 jenkins jenkins 110877 May 11 02:37 coverage.out 02:37:56 -rw-rw-r--. 1 jenkins jenkins 936 May 11 02:35 Dockerfile.build 02:37:56 -rw-rw-r--. 1 jenkins jenkins 140 May 11 02:35 .dockerignore 02:37:56 drwxrwxr-x. 4 jenkins jenkins 48 May 11 02:35 example 02:37:56 drwxrwxr-x. 8 jenkins jenkins 179 May 11 02:35 .git 02:37:56 drwxrwxr-x. 2 jenkins jenkins 38 May 11 02:35 .github 02:37:56 -rw-rw-r--. 1 jenkins jenkins 138 May 11 02:35 .gitignore 02:37:56 -rw-r--r--. 1 jenkins jenkins 446 May 11 02:37 go.mod 02:37:56 -rw-r--r--. 1 jenkins jenkins 12076 May 11 02:37 go.sum 02:37:56 drwxrwxr-x. 15 jenkins jenkins 217 May 11 02:35 internal 02:37:56 -rw-rw-r--. 1 jenkins jenkins 808 May 11 02:35 Jenkinsfile 02:37:56 -rw-rw-r--. 1 jenkins jenkins 11341 May 11 02:35 LICENSE 02:37:56 -rw-rw-r--. 1 jenkins jenkins 892 May 11 02:35 Makefile 02:37:56 drwxrwxr-x. 5 jenkins jenkins 50 May 11 02:35 pkg 02:37:56 -rw-rw-r--. 1 jenkins jenkins 3189 May 11 02:35 README.md 02:37:56 -rw-rw-r--. 1 jenkins jenkins 3733 May 11 02:35 RELEASE-NOTES.txt 02:37:56 drwxrwxr-x. 3 jenkins jenkins 58 May 11 02:35 .semver 02:37:56 drwxrwxr-x. 4 jenkins jenkins 54 May 11 02:35 snap 02:37:56 -rw-rw-r--. 1 jenkins jenkins 5 May 11 02:32 VERSION 02:37:56 -rw-rw-r--. 1 jenkins jenkins 222 May 11 02:35 version.go [Pipeline] isUnix [Pipeline] sh 02:37:56 + 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=b7ceb80793de0ea9b7f58d45330eb520c3682622 --label arch=amd64 --label version=0.0.0 . 02:37:56 Sending build context to Docker daemon 3.172MB 02:37:56 Step 1/21 : ARG BASE=golang:1.13-alpine 02:37:56 Step 2/21 : FROM ${BASE} AS builder 02:37:56 ---> 3371b5d1b381 02:37:56 Step 3/21 : ARG MAKE='make build' 02:37:56 ---> Running in 0403be3dfa09 02:37:56 Removing intermediate container 0403be3dfa09 02:37:56 ---> c8f258292f8e 02:37:56 Step 4/21 : WORKDIR /device-sdk-go 02:37:56 ---> Running in e37ca9c65bbc 02:37:57 Removing intermediate container e37ca9c65bbc 02:37:57 ---> 99e105605988 02:37:57 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:37:57 ---> Running in b4aee98d114c 02:37:57 Removing intermediate container b4aee98d114c 02:37:57 ---> c1b396095c84 02:37:57 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:37:57 ---> Running in 086e56e047ca 02:37:57 Removing intermediate container 086e56e047ca 02:37:57 ---> 019e25b5f77a 02:37:57 Step 7/21 : RUN apk add --update --no-cache make git 02:37:57 ---> Running in 39cdcdbd3732 02:37:58 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:38:10 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.071s coverage: 11.4% of statements 02:38:10 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.7% of statements 02:38:10 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:38:10 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.128s coverage: 36.9% of statements 02:38:10 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:38:10 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 02:38:10 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.597s coverage: 65.2% of statements 02:38:10 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:38:10 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:38:10 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:38:10 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements 02:38:10 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 02:38:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.351s coverage: 68.9% of statements 02:38:10 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:38:10 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:38:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:38:14 gofmt -l . 02:38:14 [ "`gofmt -l .`" = "" ] 02:38:14 ./bin/test-attribution-txt.sh 02:38:15 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:38:16 Warning: overwriting stash ‘coverage-report’ 02:38:16 Stashed 1 file(s) [Pipeline] } 02:38:16 $ docker stop --time=1 01bd24a85da5c2286995f1464bfe179dd2bc4da3d7757b317fbd8a6bb812bd54 02:38:18 $ docker rm -f 01bd24a85da5c2286995f1464bfe179dd2bc4da3d7757b317fbd8a6bb812bd54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:38:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:38:20 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:38:20 + ls -al . 02:38:20 total 220 02:38:20 drwxrwxr-x 11 jenkins jenkins 4096 May 11 02:38 . 02:38:20 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:35 .. 02:38:20 -rw-rw-r-- 1 jenkins jenkins 140 May 11 02:35 .dockerignore 02:38:20 drwxrwxr-x 8 jenkins jenkins 4096 May 11 02:35 .git 02:38:20 drwxrwxr-x 2 jenkins jenkins 4096 May 11 02:35 .github 02:38:20 -rw-rw-r-- 1 jenkins jenkins 138 May 11 02:35 .gitignore 02:38:20 drwxrwxr-x 3 jenkins jenkins 4096 May 11 02:35 .semver 02:38:20 -rw-rw-r-- 1 jenkins jenkins 936 May 11 02:35 Dockerfile.build 02:38:20 -rw-rw-r-- 1 jenkins jenkins 808 May 11 02:35 Jenkinsfile 02:38:20 -rw-rw-r-- 1 jenkins jenkins 11341 May 11 02:35 LICENSE 02:38:20 -rw-rw-r-- 1 jenkins jenkins 892 May 11 02:35 Makefile 02:38:20 -rw-rw-r-- 1 jenkins jenkins 3189 May 11 02:35 README.md 02:38:20 -rw-rw-r-- 1 jenkins jenkins 3733 May 11 02:35 RELEASE-NOTES.txt 02:38:20 -rw-rw-r-- 1 jenkins jenkins 5 May 11 02:32 VERSION 02:38:20 drwxrwxr-x 3 jenkins jenkins 4096 May 11 02:35 api 02:38:20 drwxrwxr-x 2 jenkins jenkins 4096 May 11 02:35 bin 02:38:20 -rw-r--r-- 1 jenkins jenkins 110877 May 11 02:38 coverage.out 02:38:20 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:35 example 02:38:20 -rw-r--r-- 1 jenkins jenkins 446 May 11 02:38 go.mod 02:38:20 -rw-r--r-- 1 jenkins jenkins 12076 May 11 02:38 go.sum 02:38:20 drwxrwxr-x 15 jenkins jenkins 4096 May 11 02:35 internal 02:38:20 drwxrwxr-x 5 jenkins jenkins 4096 May 11 02:35 pkg 02:38:20 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:35 snap 02:38:20 -rw-rw-r-- 1 jenkins jenkins 222 May 11 02:35 version.go [Pipeline] isUnix [Pipeline] sh 02:38:20 + 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=b7ceb80793de0ea9b7f58d45330eb520c3682622 --label arch=arm64 --label version=0.0.0 . 02:38:21 Sending build context to Docker daemon 3.172MB 02:38:21 Step 1/21 : ARG BASE=golang:1.13-alpine 02:38:21 Step 2/21 : FROM ${BASE} AS builder 02:38:21 ---> 5c74bb227b23 02:38:21 Step 3/21 : ARG MAKE='make build' 02:38:21 ---> Running in c82c10899c8e 02:38:21 Removing intermediate container c82c10899c8e 02:38:21 ---> 33cb61107531 02:38:21 Step 4/21 : WORKDIR /device-sdk-go 02:38:21 ---> Running in d74976e89c4c 02:38:22 Removing intermediate container d74976e89c4c 02:38:22 ---> 0d061082b98b 02:38:22 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:38:22 ---> Running in 0bd0ef179568 02:38:22 Removing intermediate container 0bd0ef179568 02:38:22 ---> add611f87a23 02:38:22 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:38:23 ---> Running in 72071053ebb8 02:38:24 Removing intermediate container 72071053ebb8 02:38:24 ---> 657ec15e627d 02:38:24 Step 7/21 : RUN apk add --update --no-cache make git 02:38:24 ---> Running in 9c04a4c7068e 02:38:25 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:38:46 OK: 143 MiB in 39 packages 02:38:46 Removing intermediate container 39cdcdbd3732 02:38:46 ---> e6a1d8980fe8 02:38:46 Step 8/21 : COPY . . 02:38:46 ---> dec46cb54604 02:38:46 Step 9/21 : RUN ${MAKE} 02:38:46 ---> Running in afd8b159c2d3 02:38:46 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 02:38:47 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:38:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:38:55 Removing intermediate container afd8b159c2d3 02:38:55 ---> 66e404f568f7 02:38:55 Step 10/21 : FROM scratch 02:38:55 ---> 02:38:55 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:38:55 ---> Running in c9914a01f65d 02:38:55 Removing intermediate container c9914a01f65d 02:38:55 ---> 33a97105b801 02:38:55 Step 12/21 : ENV APP_PORT=49990 02:38:55 ---> Running in ca1b7b773d2e 02:38:55 Removing intermediate container ca1b7b773d2e 02:38:55 ---> 966d829e7bf5 02:38:55 Step 13/21 : EXPOSE $APP_PORT 02:38:55 ---> Running in eb8d8c922e38 02:38:55 Removing intermediate container eb8d8c922e38 02:38:55 ---> a33efc695ea0 02:38:55 Step 14/21 : WORKDIR / 02:38:55 ---> Running in 8bf789625c9f 02:38:55 Removing intermediate container 8bf789625c9f 02:38:55 ---> d8586a33dc37 02:38:55 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:38:56 ---> 7dc6330749fc 02:38:56 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:38:56 ---> 59f9dd04f779 02:38:56 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:38:56 ---> 604498bcdb45 02:38:56 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:38:56 ---> Running in 2d2228deacd3 02:38:56 Removing intermediate container 2d2228deacd3 02:38:56 ---> c4223825cfa5 02:38:56 Step 19/21 : LABEL arch=amd64 02:38:56 ---> Running in f85a5de96a08 02:38:56 Removing intermediate container f85a5de96a08 02:38:56 ---> fbacdd018746 02:38:56 Step 20/21 : LABEL git_sha=b7ceb80793de0ea9b7f58d45330eb520c3682622 02:38:56 ---> Running in 236cdc988226 02:38:57 Removing intermediate container 236cdc988226 02:38:57 ---> f6c0e553eb6f 02:38:57 Step 21/21 : LABEL version=0.0.0 02:38:57 ---> Running in 0fd020ea0b5b 02:38:57 Removing intermediate container 0fd020ea0b5b 02:38:57 ---> c2a18de1c44b 02:38:57 [Warning] One or more build-args [ARCH] were not consumed 02:38:57 Successfully built c2a18de1c44b 02:38:57 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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:39:14 OK: 125 MiB in 39 packages 02:39:14 Removing intermediate container 9c04a4c7068e 02:39:14 ---> 048d2580695e 02:39:14 Step 8/21 : COPY . . 02:39:14 ---> 407a435ac681 02:39:14 Step 9/21 : RUN ${MAKE} 02:39:14 ---> Running in 556c7c861d04 02:39:15 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 02:39:42 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:39:42 Removing intermediate container 556c7c861d04 02:39:42 ---> 32fdcfbc04ae 02:39:42 Step 10/21 : FROM scratch 02:39:42 ---> 02:39:42 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:39:42 ---> Running in 26c0574e177c 02:39:42 Removing intermediate container 26c0574e177c 02:39:42 ---> d85f7517ad1d 02:39:42 Step 12/21 : ENV APP_PORT=49990 02:39:42 ---> Running in b6d379f3d334 02:39:42 Removing intermediate container b6d379f3d334 02:39:42 ---> f78fbd060bea 02:39:42 Step 13/21 : EXPOSE $APP_PORT 02:39:42 ---> Running in a7f16d91e6d0 02:39:43 Removing intermediate container a7f16d91e6d0 02:39:43 ---> 2c870416e016 02:39:43 Step 14/21 : WORKDIR / 02:39:43 ---> Running in 854e1e2f8469 02:39:43 Removing intermediate container 854e1e2f8469 02:39:43 ---> 87f95fe7287b 02:39:43 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:39:44 ---> ac4b16e354d1 02:39:44 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:39:44 ---> c117fc80db46 02:39:44 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:39:45 ---> 1489daaf2333 02:39:45 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:39:45 ---> Running in e6c29a74379a 02:39:46 Removing intermediate container e6c29a74379a 02:39:46 ---> f7ae34222d26 02:39:46 Step 19/21 : LABEL arch=arm64 02:39:46 ---> Running in 2287dc3373c4 02:39:46 Removing intermediate container 2287dc3373c4 02:39:46 ---> 28af830dc6e6 02:39:46 Step 20/21 : LABEL git_sha=b7ceb80793de0ea9b7f58d45330eb520c3682622 02:39:46 ---> Running in c6c1e79383ac 02:39:46 Removing intermediate container c6c1e79383ac 02:39:46 ---> 2f8537909685 02:39:46 Step 21/21 : LABEL version=0.0.0 02:39:47 ---> Running in 65aeb1719463 02:39:47 Removing intermediate container 65aeb1719463 02:39:47 ---> 34d5d1f41a76 02:39:47 [Warning] One or more build-args [ARCH] were not consumed 02:39:47 Successfully built 34d5d1f41a76 02:39:47 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] stage [Pipeline] { (Snap) Stage "Snap" 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 02:39:48 provisioning config files... 02:39:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-523@tmp/config6184464988248601840tmp [Pipeline] { [Pipeline] sh 02:39:49 + curl -s https://codecov.io/bash 02:39:49 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-523@tmp/config6184464988248601840tmp 02:39:49 02:39:49 _____ _ 02:39:49 / ____| | | 02:39:49 | | ___ __| | ___ ___ _____ __ 02:39:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:39:49 | |___| (_) | (_| | __/ (_| (_) \ V / 02:39:49 \_____\___/ \__,_|\___|\___\___/ \_/ 02:39:49 Bash-tbd 02:39:49 02:39:49 02:39:49 ==> Jenkins CI detected. 02:39:49 project root: . 02:39:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:39:49 ==> Running gcov in . (disable via -X gcov) 02:39:49 ==> Python coveragepy not found 02:39:49 ==> Searching for coverage reports in: 02:39:49 + . 02:39:49 -> Found 1 reports 02:39:49 ==> Detecting git/mercurial file structure 02:39:49 ==> Reading reports 02:39:49 + ./coverage.out bytes=110877 02:39:49 ==> Appending adjustments 02:39:49 http://docs.codecov.io/docs/fixing-reports 02:39:50 + Found adjustments 02:39:50 ==> Gzipping contents 02:39:50 ==> Uploading reports 02:39:50 url: https://codecov.io 02:39:50 query: branch=PR-523&commit=b7ceb80793de0ea9b7f58d45330eb520c3682622&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-523%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=523&job= 02:39:50 -> Pinging Codecov 02:39:50 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-523&commit=b7ceb80793de0ea9b7f58d45330eb520c3682622&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-523%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=523&job= 02:39:50 -> Uploading 02:39:50 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b7ceb80793de0ea9b7f58d45330eb520c3682622 [Pipeline] } 02:39:50 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 02:39:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:39:52 ---> package-listing.sh 02:39:52 ++ facter osfamily 02:39:52 ++ tr '[:upper:]' '[:lower:]' 02:39:52 + OS_FAMILY=redhat 02:39:52 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-523 02:39:52 + START_PACKAGES=/tmp/packages_start.txt 02:39:52 + END_PACKAGES=/tmp/packages_end.txt 02:39:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:39:52 + PACKAGES=/tmp/packages_start.txt 02:39:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-523 ']' 02:39:52 + PACKAGES=/tmp/packages_end.txt 02:39:52 + case "${OS_FAMILY}" in 02:39:52 + rpm -qa 02:39:52 + sort 02:39:56 + '[' -f /tmp/packages_start.txt ']' 02:39:56 + '[' -f /tmp/packages_end.txt ']' 02:39:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:39:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-523 ']' 02:39:56 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-523/archives/ 02:39:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-523/archives/ [Pipeline] isUnix [Pipeline] sh 02:39:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:39:57 02:39:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:39:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:39:57 alpine: Pulling from edgex-lftools-log-publisher 02:39:57 c9b1b535fdd9: Pulling fs layer 02:39:57 2cc5ad85d9ab: Pulling fs layer 02:39:57 756a868c4378: Pulling fs layer 02:39:57 444b2fc9a129: Pulling fs layer 02:39:57 ea15f1150254: Pulling fs layer 02:39:57 41b27a9f41bf: Pulling fs layer 02:39:57 28c525ee5125: Pulling fs layer 02:39:57 094b1ea09ed8: Pulling fs layer 02:39:57 138eaada9080: Pulling fs layer 02:39:57 0622d0fa9048: Pulling fs layer 02:39:57 444b2fc9a129: Waiting 02:39:57 ea15f1150254: Waiting 02:39:57 41b27a9f41bf: Waiting 02:39:57 28c525ee5125: Waiting 02:39:57 094b1ea09ed8: Waiting 02:39:57 138eaada9080: Waiting 02:39:57 0622d0fa9048: Waiting 02:39:57 2cc5ad85d9ab: Verifying Checksum 02:39:57 2cc5ad85d9ab: Download complete 02:39:57 444b2fc9a129: Verifying Checksum 02:39:57 444b2fc9a129: Download complete 02:39:57 c9b1b535fdd9: Verifying Checksum 02:39:57 c9b1b535fdd9: Download complete 02:39:58 ea15f1150254: Verifying Checksum 02:39:58 ea15f1150254: Download complete 02:39:58 28c525ee5125: Verifying Checksum 02:39:58 28c525ee5125: Download complete 02:39:58 c9b1b535fdd9: Pull complete 02:39:58 756a868c4378: Verifying Checksum 02:39:58 756a868c4378: Download complete 02:39:58 138eaada9080: Verifying Checksum 02:39:58 138eaada9080: Download complete 02:39:58 2cc5ad85d9ab: Pull complete 02:39:59 0622d0fa9048: Verifying Checksum 02:39:59 0622d0fa9048: Download complete 02:39:59 094b1ea09ed8: Verifying Checksum 02:39:59 094b1ea09ed8: Download complete 02:40:00 41b27a9f41bf: Verifying Checksum 02:40:00 41b27a9f41bf: Download complete 02:40:01 756a868c4378: Pull complete 02:40:01 444b2fc9a129: Pull complete 02:40:02 ea15f1150254: Pull complete 02:40:06 41b27a9f41bf: Pull complete 02:40:07 28c525ee5125: Pull complete 02:40:09 094b1ea09ed8: Pull complete 02:40:09 138eaada9080: Pull complete 02:40:09 0622d0fa9048: Pull complete 02:40:09 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:40:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:40:10 prd-centos7-docker-4c-2g-7798 does not seem to be running inside a container 02:40: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-523 -v /w/workspace/dgexfoundry_device-sdk-go_PR-523:/w/workspace/dgexfoundry_device-sdk-go_PR-523:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-523@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-523@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:40:11 $ docker top a23591a196660af234c29c058800f530591c98fc1c75477ed7de07f9fa27d712 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:40:11 provisioning config files... 02:40:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-523@tmp/config4771802344294619611tmp [Pipeline] { [Pipeline] echo 02:40:11 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:40:12 ---> create-netrc.sh [Pipeline] echo 02:40:12 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:40:13 ---> logs-deploy.sh 02:40:13 + ARCHIVE_ARTIFACTS= 02:40:13 + LOGS_SERVER=https://logs.edgexfoundry.org 02:40:13 + '[' https://logs.edgexfoundry.org == None ']' 02:40:13 + NEXUS_URL=https://nexus.edgexfoundry.org 02:40:13 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-523/9 02:40:13 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-523/9/ 02:40:13 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-523/9 /w/workspace/dgexfoundry_device-sdk-go_PR-523 02:40:14 Archives upload complete. 02:40:14 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-523/9 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-523/9/