Pull request #475 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at b92b1a498a210f23e11ab247bf48f6be566a37ca rather than 06825c0b975d0db7631519faf23f51bf8b208a20 Obtained Jenkinsfile from b92b1a498a210f23e11ab247bf48f6be566a37ca Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-475/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2829 in /w/workspace/dgexfoundry_device-sdk-go_PR-475 [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-475 # 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/475/head:refs/remotes/origin/PR-475 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit 06825c0b975d0db7631519faf23f51bf8b208a20 Merge succeeded, producing 06825c0b975d0db7631519faf23f51bf8b208a20 Checking out Revision 06825c0b975d0db7631519faf23f51bf8b208a20 (PR-475) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/475/head:refs/remotes/origin/PR-475 # 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/475/head:refs/remotes/origin/PR-475 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06825c0b975d0db7631519faf23f51bf8b208a20 # 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 b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06825c0b975d0db7631519faf23f51bf8b208a20 # timeout=10 Commit message: "Avoid logging CBOR event/reading" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:25:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:25:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:25:23 09:25:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:25:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:25:24 latest: Pulling from edgex-devops/git-semver 09:25:24 9123ac7c32f7: Pulling fs layer 09:25:24 b8cc5d1170e3: Pulling fs layer 09:25:24 2924cbbf6a41: Pulling fs layer 09:25:24 93b08a4f1073: Pulling fs layer 09:25:24 93b08a4f1073: Waiting 09:25:24 b8cc5d1170e3: Verifying Checksum 09:25:24 b8cc5d1170e3: Download complete 09:25:24 9123ac7c32f7: Verifying Checksum 09:25:24 9123ac7c32f7: Download complete 09:25:24 93b08a4f1073: Verifying Checksum 09:25:24 93b08a4f1073: Download complete 09:25:24 2924cbbf6a41: Verifying Checksum 09:25:24 2924cbbf6a41: Download complete 09:25:24 9123ac7c32f7: Pull complete 09:25:24 b8cc5d1170e3: Pull complete 09:25:25 2924cbbf6a41: Pull complete 09:25:25 93b08a4f1073: Pull complete 09:25:25 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 09:25:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:25:26 prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container 09:25:26 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-475 -v /w/workspace/dgexfoundry_device-sdk-go_PR-475:/w/workspace/dgexfoundry_device-sdk-go_PR-475:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-475@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-475@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:25:26 $ docker top c6202b13712cca4fb83e77a11540ef4c3db40b7d4e4a9f3c15138127862fefef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:25:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:25:27 [ssh-agent] Looking for ssh-agent implementation... 09:25:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:25:27 $ docker exec c6202b13712cca4fb83e77a11540ef4c3db40b7d4e4a9f3c15138127862fefef ssh-agent 09:25:27 SSH_AUTH_SOCK=/tmp/ssh-PW2DMhwLIfCk/agent.15 09:25:27 SSH_AGENT_PID=21 09:25:27 Running ssh-add (command line suppressed) 09:25:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-475@tmp/private_key_1472442723070175833.key (/w/workspace/dgexfoundry_device-sdk-go_PR-475@tmp/private_key_1472442723070175833.key) 09:25:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:25:28 + git describe --exact-match --tags HEAD 09:25:28 fatal: No names found, cannot describe anything. [Pipeline] } 09:25:28 $ docker exec --env ******** --env ******** c6202b13712cca4fb83e77a11540ef4c3db40b7d4e4a9f3c15138127862fefef ssh-agent -k 09:25:28 unset SSH_AUTH_SOCK; 09:25:28 unset SSH_AGENT_PID; 09:25:28 echo Agent pid 21 killed; 09:25:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:25:28 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:25:28 This usually means this commit has not been tagged. [Pipeline] sshagent 09:25:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:25:28 [ssh-agent] Looking for ssh-agent implementation... 09:25:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:25:29 $ docker exec c6202b13712cca4fb83e77a11540ef4c3db40b7d4e4a9f3c15138127862fefef ssh-agent 09:25:29 SSH_AUTH_SOCK=/tmp/ssh-GxxJQvlodOCo/agent.54 09:25:29 SSH_AGENT_PID=61 09:25:29 Running ssh-add (command line suppressed) 09:25:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-475@tmp/private_key_6377757250419977132.key (/w/workspace/dgexfoundry_device-sdk-go_PR-475@tmp/private_key_6377757250419977132.key) 09:25:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:25:29 + git semver init 09:25:29 # -> Open(): unable to determine branch for HEAD 09:25:29 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-475/.git 09:25:29 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-475 09:25:29 # $SEMVER_REMOTE_NAME = origin 09:25:29 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 09:25:29 # $SEMVER_USER_NAME = jenkins 09:25:29 # $SEMVER_BRANCH = PR-475 09:25:29 # $SEMVER_TEMP = /tmp/semver-919709885 09:25:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:25:30 # '/tmp/semver-919709885' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-475/.semver' 09:25:30 # -> Force: false 09:25:30 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-475/.semver [Pipeline] } 09:25:30 $ docker exec --env ******** --env ******** c6202b13712cca4fb83e77a11540ef4c3db40b7d4e4a9f3c15138127862fefef ssh-agent -k 09:25:30 unset SSH_AUTH_SOCK; 09:25:30 unset SSH_AGENT_PID; 09:25:30 echo Agent pid 61 killed; 09:25:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:25:31 + git semver [Pipeline] } 09:25:31 $ docker stop --time=1 c6202b13712cca4fb83e77a11540ef4c3db40b7d4e4a9f3c15138127862fefef 09:25:32 $ docker rm -f c6202b13712cca4fb83e77a11540ef4c3db40b7d4e4a9f3c15138127862fefef [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:25:33 Stashed 38 file(s) [Pipeline] echo 09:25:33 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:25:48 Still waiting to schedule task 09:25:48 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2829’ 09:25:48 Still waiting to schedule task 09:25:48 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2736’ is offline 09:27:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2830 in /w/workspace/dgexfoundry_device-sdk-go_PR-475 [Pipeline] { [Pipeline] ws 09:27:40 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:27:46 using credential edgex-jenkins-ssh 09:27:46 Cloning the remote Git repository 09:27:46 Cloning with configured refspecs honoured and without tags 09:27:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:27:46 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:27:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:27:46 > git --version # timeout=10 09:27:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/475/head:refs/remotes/origin/PR-475 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:27:48 Fetching without tags 09:27:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:27:47 > git config --add remote.origin.fetch +refs/pull/475/head:refs/remotes/origin/PR-475 # timeout=10 09:27:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:27:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:27:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:27:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/475/head:refs/remotes/origin/PR-475 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:27:48 Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit 06825c0b975d0db7631519faf23f51bf8b208a20 09:27:48 Merge succeeded, producing 06825c0b975d0db7631519faf23f51bf8b208a20 09:27:48 Checking out Revision 06825c0b975d0db7631519faf23f51bf8b208a20 (PR-475) 09:27:48 > git config core.sparsecheckout # timeout=10 09:27:48 > git checkout -f 06825c0b975d0db7631519faf23f51bf8b208a20 # timeout=10 09:27:48 > git remote # timeout=10 09:27:48 > git config --get remote.origin.url # timeout=10 09:27:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:48 > git merge b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 09:27:48 > git rev-parse HEAD^{commit} # timeout=10 09:27:48 > git config core.sparsecheckout # timeout=10 09:27:48 > git checkout -f 06825c0b975d0db7631519faf23f51bf8b208a20 # timeout=10 09:27:53 Commit message: "Avoid logging CBOR event/reading" 09:27:53 > git --version # timeout=10 09:27:53 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:27:55 ========================================================= 09:27:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 09:27:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:27:56 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 09:27:57 Sending build context to Docker daemon 2.835MB 09:27:57 Step 1/8 : ARG BASE=golang:1.13-alpine 09:27:57 Step 2/8 : FROM ${BASE} 09:27:57 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:27:57 cde5963f3b93: Pulling fs layer 09:27:57 2a23fa8c16f7: Pulling fs layer 09:27:57 777b28850792: Pulling fs layer 09:27:57 8a11ddd9e578: Pulling fs layer 09:27:57 4cf88f913ddb: Pulling fs layer 09:27:57 1df406cf5192: Pulling fs layer 09:27:57 cd6300453558: Pulling fs layer 09:27:57 b9c365052c96: Pulling fs layer 09:27:57 a2d8cc88f415: Pulling fs layer 09:27:57 ea1d1ca13537: Pulling fs layer 09:27:57 3750a50a1c5e: Pulling fs layer 09:27:57 8a11ddd9e578: Waiting 09:27:57 4cf88f913ddb: Waiting 09:27:57 a2d8cc88f415: Waiting 09:27:57 1df406cf5192: Waiting 09:27:57 ea1d1ca13537: Waiting 09:27:57 3750a50a1c5e: Waiting 09:27:57 cd6300453558: Waiting 09:27:57 777b28850792: Verifying Checksum 09:27:57 777b28850792: Download complete 09:27:57 2a23fa8c16f7: Verifying Checksum 09:27:57 2a23fa8c16f7: Download complete 09:27:57 4cf88f913ddb: Verifying Checksum 09:27:57 4cf88f913ddb: Download complete 09:27:57 1df406cf5192: Verifying Checksum 09:27:57 1df406cf5192: Download complete 09:27:57 cde5963f3b93: Verifying Checksum 09:27:57 cde5963f3b93: Download complete 09:27:58 cde5963f3b93: Pull complete 09:27:59 2a23fa8c16f7: Pull complete 09:27:59 777b28850792: Pull complete 09:28:02 cd6300453558: Verifying Checksum 09:28:02 cd6300453558: Download complete 09:28:02 a2d8cc88f415: Download complete 09:28:04 ea1d1ca13537: Verifying Checksum 09:28:04 ea1d1ca13537: Download complete 09:28:04 3750a50a1c5e: Verifying Checksum 09:28:04 3750a50a1c5e: Download complete 09:28:07 b9c365052c96: Verifying Checksum 09:28:07 b9c365052c96: Download complete 09:28:08 8a11ddd9e578: Verifying Checksum 09:28:08 8a11ddd9e578: Download complete 09:28:21 8a11ddd9e578: Pull complete 09:28:21 4cf88f913ddb: Pull complete 09:28:21 1df406cf5192: Pull complete 09:28:26 cd6300453558: Pull complete 09:28:30 b9c365052c96: Pull complete 09:28:30 a2d8cc88f415: Pull complete 09:28:32 ea1d1ca13537: Pull complete 09:28:33 3750a50a1c5e: Pull complete 09:28:33 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 09:28:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 09:28:33 ---> 78745c68409d 09:28:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:28:35 Running on prd-centos7-docker-4c-2g-2831 in /w/workspace/dgexfoundry_device-sdk-go_PR-475 [Pipeline] { [Pipeline] ws 09:28:35 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:28:36 ---> Running in d4619dc654ba 09:28:37 Removing intermediate container d4619dc654ba 09:28:37 ---> 6304745397ce 09:28:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:28:37 ---> Running in f052eed1938a 09:28:39 Removing intermediate container f052eed1938a 09:28:39 ---> 7053781e79b3 09:28:39 Step 5/8 : RUN apk add --no-cache make git 09:28:39 ---> Running in cf5ebec5c8c4 09:28:40 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:28:41 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:28:41 OK: 125 MiB in 39 packages 09:28:42 Removing intermediate container cf5ebec5c8c4 09:28:42 ---> 8712006a756c 09:28:42 Step 6/8 : WORKDIR /device-sdk-go 09:28:43 ---> Running in 017575db03c7 09:28:43 Removing intermediate container 017575db03c7 09:28:43 ---> 4965790e5cee 09:28:43 Step 7/8 : COPY . . 09:28:44 ---> b531dffbd4d8 09:28:44 Step 8/8 : RUN go mod download 09:28:44 ---> Running in 4e1d53195aa5 09:28:45 using credential edgex-jenkins-ssh 09:28:45 Cloning the remote Git repository 09:28:45 Cloning with configured refspecs honoured and without tags 09:28:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:28:45 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:28:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:28:46 > git --version # timeout=10 09:28:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/475/head:refs/remotes/origin/PR-475 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:28:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:28:47 > git config --add remote.origin.fetch +refs/pull/475/head:refs/remotes/origin/PR-475 # timeout=10 09:28:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:28:47 Fetching without tags 09:28:47 go: finding github.com/BurntSushi/toml v0.3.1 09:28:47 go: finding github.com/OneOfOne/xxhash v1.2.6 09:28:47 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:28:47 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:28:47 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:28:47 go: finding github.com/bgentry/speakeasy v0.1.0 09:28:47 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:28:47 go: finding github.com/davecgh/go-spew v1.1.1 09:28:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 09:28:47 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:28:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 09:28:47 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 09:28:47 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:28:47 go: finding github.com/fatih/color v1.7.0 09:28:47 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:28:47 go: finding github.com/go-kit/kit v0.8.0 09:28:47 go: finding github.com/go-logfmt/logfmt v0.4.0 09:28:47 go: finding github.com/go-stack/stack v1.8.0 09:28:47 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:28:47 go: finding github.com/google/uuid v1.1.0 09:28:47 go: finding github.com/gorilla/mux v1.7.1 09:28:47 go: finding github.com/hashicorp/consul/api v1.1.0 09:28:47 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:28:47 go: finding github.com/hashicorp/errwrap v1.0.0 09:28:47 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:28:47 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:28:47 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:28:47 go: finding github.com/hashicorp/go-multierror v1.0.0 09:28:47 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:28:47 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:28:47 go: finding github.com/hashicorp/go-syslog v1.0.0 09:28:47 go: finding github.com/hashicorp/go-uuid v1.0.1 09:28:47 go: finding github.com/hashicorp/go.net v0.0.1 09:28:47 go: finding github.com/hashicorp/golang-lru v0.5.0 09:28:47 go: finding github.com/hashicorp/logutils v1.0.0 09:28:47 go: finding github.com/hashicorp/mdns v1.0.0 09:28:47 go: finding github.com/hashicorp/memberlist v0.1.3 09:28:47 go: finding github.com/hashicorp/serf v0.8.2 09:28:47 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:28:47 go: finding github.com/mattn/go-colorable v0.0.9 09:28:47 go: finding github.com/mattn/go-isatty v0.0.3 09:28:47 go: finding github.com/miekg/dns v1.0.14 09:28:47 go: finding github.com/mitchellh/cli v1.0.0 09:28:47 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:28:47 go: finding github.com/mitchellh/copystructure v1.0.0 09:28:47 go: finding github.com/mitchellh/go-homedir v1.0.0 09:28:47 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:28:47 go: finding github.com/mitchellh/gox v0.4.0 09:28:47 go: finding github.com/mitchellh/iochan v1.0.0 09:28:47 go: finding github.com/mitchellh/mapstructure v1.1.2 09:28:47 Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit 06825c0b975d0db7631519faf23f51bf8b208a20 09:28:48 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:28:48 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:28:48 go: finding github.com/pelletier/go-toml v1.2.0 09:28:48 go: finding github.com/pkg/errors v0.8.1 09:28:48 go: finding github.com/pmezard/go-difflib v1.0.0 09:28:48 go: finding github.com/posener/complete v1.1.1 09:28:48 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:28:48 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:28:48 go: finding github.com/stretchr/objx v0.1.0 09:28:48 go: finding github.com/stretchr/testify v1.5.1 09:28:48 go: finding github.com/ugorji/go v1.1.4 09:28:48 go: finding github.com/x448/float16 v0.8.4 09:28:48 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:28:48 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:28:48 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:28:48 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:28:48 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:28:48 go: finding gopkg.in/yaml.v2 v2.2.8 09:28:48 Merge succeeded, producing 06825c0b975d0db7631519faf23f51bf8b208a20 09:28:48 Checking out Revision 06825c0b975d0db7631519faf23f51bf8b208a20 (PR-475) 09:28:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:28:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:28:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/475/head:refs/remotes/origin/PR-475 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:28:47 > git config core.sparsecheckout # timeout=10 09:28:47 > git checkout -f 06825c0b975d0db7631519faf23f51bf8b208a20 # timeout=10 09:28:48 > git remote # timeout=10 09:28:48 > git config --get remote.origin.url # timeout=10 09:28:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:48 > git merge b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 09:28:48 > git rev-parse HEAD^{commit} # timeout=10 09:28:48 > git config core.sparsecheckout # timeout=10 09:28:48 > git checkout -f 06825c0b975d0db7631519faf23f51bf8b208a20 # timeout=10 09:28:53 Commit message: "Avoid logging CBOR event/reading" 09:28:53 > git --version # timeout=10 09:28:53 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:28:54 ========================================================= 09:28:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 09:28:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:28:55 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 09:28:56 Sending build context to Docker daemon 2.835MB 09:28:56 Step 1/8 : ARG BASE=golang:1.13-alpine 09:28:56 Step 2/8 : FROM ${BASE} 09:28:56 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 09:28:56 e6b0cf9c0882: Pulling fs layer 09:28:56 2848faf0eed1: Pulling fs layer 09:28:56 0f37312ad70f: Pulling fs layer 09:28:56 5788d62ee057: Pulling fs layer 09:28:56 0e6b1d234666: Pulling fs layer 09:28:56 bf5d7aec512f: Pulling fs layer 09:28:56 34c802a77dc8: Pulling fs layer 09:28:56 9eb99e56ec68: Pulling fs layer 09:28:56 27c7a5d97fbd: Pulling fs layer 09:28:56 5c102a31e300: Pulling fs layer 09:28:56 dcfb455df0a1: Pulling fs layer 09:28:56 34c802a77dc8: Waiting 09:28:56 9eb99e56ec68: Waiting 09:28:56 27c7a5d97fbd: Waiting 09:28:56 5c102a31e300: Waiting 09:28:56 dcfb455df0a1: Waiting 09:28:56 5788d62ee057: Waiting 09:28:56 0e6b1d234666: Waiting 09:28:56 bf5d7aec512f: Waiting 09:28:56 0f37312ad70f: Verifying Checksum 09:28:56 0f37312ad70f: Download complete 09:28:56 2848faf0eed1: Verifying Checksum 09:28:56 2848faf0eed1: Download complete 09:28:56 0e6b1d234666: Verifying Checksum 09:28:56 0e6b1d234666: Download complete 09:28:56 bf5d7aec512f: Verifying Checksum 09:28:56 bf5d7aec512f: Download complete 09:28:56 e6b0cf9c0882: Verifying Checksum 09:28:56 e6b0cf9c0882: Download complete 09:28:57 e6b0cf9c0882: Pull complete 09:28:58 2848faf0eed1: Pull complete 09:28:58 Removing intermediate container 4e1d53195aa5 09:28:58 ---> 4de32899f1c3 09:28:58 Successfully built 4de32899f1c3 09:28:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:28:58 34c802a77dc8: Verifying Checksum 09:28:58 34c802a77dc8: Download complete 09:28:58 27c7a5d97fbd: Verifying Checksum 09:28:58 27c7a5d97fbd: Download complete 09:28:59 0f37312ad70f: Pull complete 09:28:59 + docker inspect -f . ci-base-image-arm64 09:28:59 . [Pipeline] withDockerContainer 09:28:59 prd-ubuntu18.04-docker-arm64-4c-16g-2830 does not seem to be running inside a container 09:28:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 09:29:00 5c102a31e300: Verifying Checksum 09:29:00 5c102a31e300: Download complete 09:29:00 5788d62ee057: Verifying Checksum 09:29:00 5788d62ee057: Download complete 09:29:00 9eb99e56ec68: Verifying Checksum 09:29:00 9eb99e56ec68: Download complete 09:29:00 dcfb455df0a1: Verifying Checksum 09:29:00 dcfb455df0a1: Download complete 09:29:01 $ docker top 83c7dc75973bc27d146adce725b29569c58768c96b734cdfd4d27aaba8776572 -eo pid,comm [Pipeline] { [Pipeline] sh 09:29:02 + go version 09:29:02 go version go1.13.5 linux/arm64 [Pipeline] sh 09:29:03 + make test 09:29:03 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:29:04 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:29:09 5788d62ee057: Pull complete 09:29:09 0e6b1d234666: Pull complete 09:29:09 bf5d7aec512f: Pull complete 09:29:14 34c802a77dc8: Pull complete 09:29:19 9eb99e56ec68: Pull complete 09:29:19 27c7a5d97fbd: Pull complete 09:29:20 5c102a31e300: Pull complete 09:29:21 dcfb455df0a1: Pull complete 09:29:21 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 09:29:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 09:29:21 ---> 7c70fe431013 09:29:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:29:21 ---> Running in 745779b7fb47 09:29:21 Removing intermediate container 745779b7fb47 09:29:21 ---> 057ea8ff9a03 09:29:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:29:21 ---> Running in 48a31696fc22 09:29:22 Removing intermediate container 48a31696fc22 09:29:22 ---> 0c54b453e532 09:29:22 Step 5/8 : RUN apk add --no-cache make git 09:29:22 ---> Running in 87af23db17c9 09:29:23 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:29:24 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:29:25 OK: 143 MiB in 39 packages 09:29:25 Removing intermediate container 87af23db17c9 09:29:25 ---> 618ee25e0f54 09:29:25 Step 6/8 : WORKDIR /device-sdk-go 09:29:25 ---> Running in e391ae66841d 09:29:25 Removing intermediate container e391ae66841d 09:29:25 ---> 85735c0203ba 09:29:25 Step 7/8 : COPY . . 09:29:27 ---> 161483e15377 09:29:27 Step 8/8 : RUN go mod download 09:29:27 ---> Running in 1f411349c124 09:29:30 go: finding github.com/BurntSushi/toml v0.3.1 09:29:30 go: finding github.com/OneOfOne/xxhash v1.2.6 09:29:30 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:29:30 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:29:30 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:29:30 go: finding github.com/bgentry/speakeasy v0.1.0 09:29:30 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:29:30 go: finding github.com/davecgh/go-spew v1.1.1 09:29:30 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 09:29:30 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:29:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 09:29:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 09:29:30 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:29:30 go: finding github.com/fatih/color v1.7.0 09:29:30 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:29:30 go: finding github.com/go-kit/kit v0.8.0 09:29:30 go: finding github.com/go-logfmt/logfmt v0.4.0 09:29:30 go: finding github.com/go-stack/stack v1.8.0 09:29:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:29:30 go: finding github.com/google/uuid v1.1.0 09:29:30 go: finding github.com/gorilla/mux v1.7.1 09:29:30 go: finding github.com/hashicorp/consul/api v1.1.0 09:29:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:29:30 go: finding github.com/hashicorp/errwrap v1.0.0 09:29:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:29:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:29:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:29:30 go: finding github.com/hashicorp/go-multierror v1.0.0 09:29:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:29:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:29:30 go: finding github.com/hashicorp/go-syslog v1.0.0 09:29:30 go: finding github.com/hashicorp/go-uuid v1.0.1 09:29:30 go: finding github.com/hashicorp/go.net v0.0.1 09:29:30 go: finding github.com/hashicorp/golang-lru v0.5.0 09:29:30 go: finding github.com/hashicorp/logutils v1.0.0 09:29:30 go: finding github.com/hashicorp/mdns v1.0.0 09:29:30 go: finding github.com/hashicorp/memberlist v0.1.3 09:29:30 go: finding github.com/hashicorp/serf v0.8.2 09:29:30 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:29:30 go: finding github.com/mattn/go-colorable v0.0.9 09:29:30 go: finding github.com/mattn/go-isatty v0.0.3 09:29:30 go: finding github.com/miekg/dns v1.0.14 09:29:30 go: finding github.com/mitchellh/cli v1.0.0 09:29:30 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:29:30 go: finding github.com/mitchellh/copystructure v1.0.0 09:29:30 go: finding github.com/mitchellh/go-homedir v1.0.0 09:29:30 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:29:30 go: finding github.com/mitchellh/gox v0.4.0 09:29:30 go: finding github.com/mitchellh/iochan v1.0.0 09:29:30 go: finding github.com/mitchellh/mapstructure v1.1.2 09:29:30 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:29:30 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:29:30 go: finding github.com/pelletier/go-toml v1.2.0 09:29:30 go: finding github.com/pkg/errors v0.8.1 09:29:30 go: finding github.com/pmezard/go-difflib v1.0.0 09:29:30 go: finding github.com/posener/complete v1.1.1 09:29:30 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:29:30 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:29:30 go: finding github.com/stretchr/objx v0.1.0 09:29:31 go: finding github.com/stretchr/testify v1.5.1 09:29:31 go: finding github.com/ugorji/go v1.1.4 09:29:31 go: finding github.com/x448/float16 v0.8.4 09:29:31 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:29:31 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:29:31 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:29:31 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:29:31 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:29:31 go: finding gopkg.in/yaml.v2 v2.2.8 09:29:36 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:29:36 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:29:36 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.040s coverage: 22.1% of statements 09:29:36 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.150s coverage: 95.8% of statements 09:29:37 Removing intermediate container 1f411349c124 09:29:37 ---> 2f628e951a0d 09:29:37 Successfully built 2f628e951a0d 09:29: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 09:29:38 + docker inspect -f . ci-base-image-x86_64 09:29:38 . [Pipeline] withDockerContainer 09:29:38 prd-centos7-docker-4c-2g-2831 does not seem to be running inside a container 09:29:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 09:29:39 $ docker top 92122561fad3d244f5bdbbb130dbb6b186f45ebfccac842c224ad78c7c9d7a6b -eo pid,comm [Pipeline] { [Pipeline] sh 09:29:40 + go version 09:29:40 go version go1.13.5 linux/amd64 [Pipeline] sh 09:29:41 + make test 09:29:41 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:29:42 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:29:57 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:29:57 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:29:57 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.035s coverage: 22.1% of statements 09:30:04 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.073s coverage: 95.8% of statements 09:30:08 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.103s coverage: 11.4% of statements 09:30:08 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.075s coverage: 22.7% of statements 09:30:08 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:30:08 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.137s coverage: 38.5% of statements 09:30:08 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:30:08 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:30:08 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.695s coverage: 80.1% of statements 09:30:08 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:30:08 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:30:08 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:30:08 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements 09:30:08 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 09:30:08 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.327s coverage: 76.1% of statements 09:30:08 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:30:08 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:30:08 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:30:11 gofmt -l . 09:30:11 [ "`gofmt -l .`" = "" ] 09:30:11 ./bin/test-attribution-txt.sh 09:30:12 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:30:13 Stashed 1 file(s) [Pipeline] } 09:30:13 $ docker stop --time=1 83c7dc75973bc27d146adce725b29569c58768c96b734cdfd4d27aaba8776572 09:30:15 $ docker rm -f 83c7dc75973bc27d146adce725b29569c58768c96b734cdfd4d27aaba8776572 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:30:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:30:18 + ls -al . 09:30:18 total 200 09:30:18 drwxrwxr-x 11 jenkins jenkins 4096 Apr 8 09:30 . 09:30:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 09:27 .. 09:30:18 -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 09:27 .dockerignore 09:30:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 09:27 .git 09:30:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 09:27 .github 09:30:18 -rw-rw-r-- 1 jenkins jenkins 138 Apr 8 09:27 .gitignore 09:30:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 09:27 .semver 09:30:18 -rw-rw-r-- 1 jenkins jenkins 936 Apr 8 09:27 Dockerfile.build 09:30:18 -rw-rw-r-- 1 jenkins jenkins 808 Apr 8 09:27 Jenkinsfile 09:30:18 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 09:27 LICENSE 09:30:18 -rw-rw-r-- 1 jenkins jenkins 892 Apr 8 09:27 Makefile 09:30:18 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 8 09:27 README.md 09:30:18 -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 09:25 VERSION 09:30:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 09:27 api 09:30:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 09:27 bin 09:30:18 -rw-r--r-- 1 jenkins jenkins 94999 Apr 8 09:30 coverage.out 09:30:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 09:27 example 09:30:18 -rw-r--r-- 1 jenkins jenkins 446 Apr 8 09:30 go.mod 09:30:18 -rw-r--r-- 1 jenkins jenkins 12076 Apr 8 09:30 go.sum 09:30:18 drwxrwxr-x 14 jenkins jenkins 4096 Apr 8 09:27 internal 09:30:18 drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 09:27 pkg 09:30:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 09:27 snap 09:30:18 -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 09:27 version.go [Pipeline] isUnix [Pipeline] sh 09:30:18 + 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=06825c0b975d0db7631519faf23f51bf8b208a20 --label arch=arm64 --label version=0.0.0 . 09:30:19 Sending build context to Docker daemon 2.951MB 09:30:19 Step 1/20 : ARG BASE=golang:1.13-alpine 09:30:19 Step 2/20 : FROM ${BASE} AS builder 09:30:19 ---> 4de32899f1c3 09:30:19 Step 3/20 : ARG MAKE='make build' 09:30:19 ---> Running in 8d913f737e3a 09:30:19 Removing intermediate container 8d913f737e3a 09:30:19 ---> 844f8e5dc481 09:30:19 Step 4/20 : WORKDIR /device-sdk-go 09:30:19 ---> Running in d2fdd9ee51d8 09:30:20 Removing intermediate container d2fdd9ee51d8 09:30:20 ---> 812ee507e01a 09:30:20 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:30:20 ---> Running in 32a32b748418 09:30:20 Removing intermediate container 32a32b748418 09:30:20 ---> d51be4544c55 09:30:20 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:30:20 ---> Running in caea158b89f1 09:30:22 Removing intermediate container caea158b89f1 09:30:22 ---> d257d1913324 09:30:22 Step 7/20 : RUN apk add --update --no-cache make git 09:30:22 ---> Running in 56d297cb673d 09:30:23 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:30:24 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:30:24 OK: 125 MiB in 39 packages 09:30:25 Removing intermediate container 56d297cb673d 09:30:25 ---> e1b3063a7ed8 09:30:25 Step 8/20 : COPY . . 09:30:26 ---> 20d9a3d13d6d 09:30:26 Step 9/20 : RUN ${MAKE} 09:30:27 ---> Running in 9f6185613f1a 09:30:28 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:30:37 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.925s coverage: 11.4% of statements 09:30:37 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.013s coverage: 22.7% of statements 09:30:37 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:30:37 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.076s coverage: 38.5% of statements 09:30:37 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:30:37 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:30:37 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.808s coverage: 80.1% of statements 09:30:37 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:30:37 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:30:37 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:30:37 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.034s coverage: 52.6% of statements 09:30:37 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 09:30:37 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.112s coverage: 76.1% of statements 09:30:37 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:30:37 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:30:37 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:30:37 gofmt -l . 09:30:37 [ "`gofmt -l .`" = "" ] 09:30:37 ./bin/test-attribution-txt.sh 09:30:38 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:30:39 Warning: overwriting stash ‘coverage-report’ 09:30:40 Stashed 1 file(s) [Pipeline] } 09:30:40 $ docker stop --time=1 92122561fad3d244f5bdbbb130dbb6b186f45ebfccac842c224ad78c7c9d7a6b 09:30:42 $ docker rm -f 92122561fad3d244f5bdbbb130dbb6b186f45ebfccac842c224ad78c7c9d7a6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:30:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:30:44 + ls -al . 09:30:44 total 160 09:30:44 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 8 09:30 . 09:30:44 drwxrwxr-x. 4 jenkins jenkins 28 Apr 8 09:28 .. 09:30:44 drwxrwxr-x. 3 jenkins jenkins 20 Apr 8 09:28 api 09:30:44 drwxrwxr-x. 2 jenkins jenkins 64 Apr 8 09:28 bin 09:30:44 -rw-r--r--. 1 jenkins jenkins 94999 Apr 8 09:30 coverage.out 09:30:44 -rw-rw-r--. 1 jenkins jenkins 936 Apr 8 09:28 Dockerfile.build 09:30:44 -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 09:28 .dockerignore 09:30:44 drwxrwxr-x. 4 jenkins jenkins 31 Apr 8 09:28 example 09:30:44 drwxrwxr-x. 8 jenkins jenkins 179 Apr 8 09:28 .git 09:30:44 drwxrwxr-x. 2 jenkins jenkins 38 Apr 8 09:28 .github 09:30:44 -rw-rw-r--. 1 jenkins jenkins 138 Apr 8 09:28 .gitignore 09:30:44 -rw-r--r--. 1 jenkins jenkins 446 Apr 8 09:30 go.mod 09:30:44 -rw-r--r--. 1 jenkins jenkins 12076 Apr 8 09:30 go.sum 09:30:44 drwxrwxr-x. 14 jenkins jenkins 196 Apr 8 09:28 internal 09:30:44 -rw-rw-r--. 1 jenkins jenkins 808 Apr 8 09:28 Jenkinsfile 09:30:44 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 8 09:28 LICENSE 09:30:44 -rw-rw-r--. 1 jenkins jenkins 892 Apr 8 09:28 Makefile 09:30:44 drwxrwxr-x. 5 jenkins jenkins 50 Apr 8 09:28 pkg 09:30:44 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 8 09:28 README.md 09:30:44 drwxrwxr-x. 3 jenkins jenkins 58 Apr 8 09:28 .semver 09:30:44 drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 09:28 snap 09:30:44 -rw-rw-r--. 1 jenkins jenkins 5 Apr 8 09:25 VERSION 09:30:44 -rw-rw-r--. 1 jenkins jenkins 222 Apr 8 09:28 version.go [Pipeline] isUnix [Pipeline] sh 09:30:44 + 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=06825c0b975d0db7631519faf23f51bf8b208a20 --label arch=amd64 --label version=0.0.0 . 09:30:45 Sending build context to Docker daemon 2.951MB 09:30:45 Step 1/20 : ARG BASE=golang:1.13-alpine 09:30:45 Step 2/20 : FROM ${BASE} AS builder 09:30:45 ---> 2f628e951a0d 09:30:45 Step 3/20 : ARG MAKE='make build' 09:30:45 ---> Running in cd0643758379 09:30:45 Removing intermediate container cd0643758379 09:30:45 ---> 2991687f4db1 09:30:45 Step 4/20 : WORKDIR /device-sdk-go 09:30:45 ---> Running in 41f8f8a2886e 09:30:45 Removing intermediate container 41f8f8a2886e 09:30:45 ---> 79406865e1e9 09:30:45 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:30:45 ---> Running in be14930ac5a8 09:30:45 Removing intermediate container be14930ac5a8 09:30:45 ---> daf29f4c1124 09:30:45 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:30:45 ---> Running in 4ec3293fb2ec 09:30:46 Removing intermediate container 4ec3293fb2ec 09:30:46 ---> 21a3a32a57ce 09:30:46 Step 7/20 : RUN apk add --update --no-cache make git 09:30:46 ---> Running in f321af4cb2b7 09:30:47 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:30:48 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:30:48 OK: 143 MiB in 39 packages 09:30:49 Removing intermediate container f321af4cb2b7 09:30:49 ---> f2c8f41d170a 09:30:49 Step 8/20 : COPY . . 09:30:49 ---> 60c0a258148a 09:30:49 Step 9/20 : RUN ${MAKE} 09:30:49 ---> Running in 57f9bc38f905 09:30:50 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:30:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:30:54 Removing intermediate container 9f6185613f1a 09:30:54 ---> da6fe91777ae 09:30:54 Step 10/20 : FROM scratch 09:30:54 ---> 09:30:54 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:30:54 ---> Running in 87127656e0b8 09:30:54 Removing intermediate container 87127656e0b8 09:30:54 ---> 085e6648cd86 09:30:54 Step 12/20 : ENV APP_PORT=49990 09:30:54 ---> Running in 4fb4c007f50d 09:30:54 Removing intermediate container 4fb4c007f50d 09:30:54 ---> ce28326394fe 09:30:54 Step 13/20 : EXPOSE $APP_PORT 09:30:54 ---> Running in 2956dac180f5 09:30:54 Removing intermediate container 2956dac180f5 09:30:54 ---> 300a89c6edc8 09:30:54 Step 14/20 : WORKDIR / 09:30:54 ---> Running in e3b4e280e27c 09:30:55 Removing intermediate container e3b4e280e27c 09:30:55 ---> 30e416bae213 09:30:55 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:30:56 ---> 0eaea4bc3487 09:30:56 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 09:30:56 ---> be4b3012cd76 09:30:56 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 09:30:56 ---> Running in cdb4539f7346 09:30:56 Removing intermediate container cdb4539f7346 09:30:56 ---> 15775c62e46e 09:30:56 Step 18/20 : LABEL arch=arm64 09:30:57 ---> Running in df21b4f209a7 09:30:57 Removing intermediate container df21b4f209a7 09:30:57 ---> 8bde2b448dc9 09:30:57 Step 19/20 : LABEL git_sha=06825c0b975d0db7631519faf23f51bf8b208a20 09:30:57 ---> Running in d5335d2d4d33 09:30:57 Removing intermediate container d5335d2d4d33 09:30:57 ---> 2151a82ebfc9 09:30:57 Step 20/20 : LABEL version=0.0.0 09:30:57 ---> Running in 9b2e6f3db5a6 09:30:58 Removing intermediate container 9b2e6f3db5a6 09:30:58 ---> ac852e6ff215 09:30:58 [Warning] One or more build-args [ARCH] were not consumed 09:30:58 Successfully built ac852e6ff215 09:30:58 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] } 09:31:13 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:31:13 Removing intermediate container 57f9bc38f905 09:31:13 ---> aeb6daff628a 09:31:13 Step 10/20 : FROM scratch 09:31:13 ---> 09:31:13 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:31:13 ---> Running in 6038216df7d0 09:31:13 Removing intermediate container 6038216df7d0 09:31:13 ---> 91df1c652ba7 09:31:13 Step 12/20 : ENV APP_PORT=49990 09:31:13 ---> Running in 9a5ae748a484 09:31:13 Removing intermediate container 9a5ae748a484 09:31:13 ---> 390cfd1b44c7 09:31:13 Step 13/20 : EXPOSE $APP_PORT 09:31:13 ---> Running in 649cda4aa8bc 09:31:13 Removing intermediate container 649cda4aa8bc 09:31:13 ---> 7aac9bd4c4f3 09:31:13 Step 14/20 : WORKDIR / 09:31:13 ---> Running in 4cb81fb03113 09:31:13 Removing intermediate container 4cb81fb03113 09:31:13 ---> e6369c071121 09:31:13 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:31:13 ---> 03fd5a57f665 09:31:13 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 09:31:13 ---> 0e3f5bc94d57 09:31:13 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 09:31:13 ---> Running in 5ef78dfec272 09:31:14 Removing intermediate container 5ef78dfec272 09:31:14 ---> 6ec14f01308e 09:31:14 Step 18/20 : LABEL arch=amd64 09:31:14 ---> Running in c0d7335baf7f 09:31:14 Removing intermediate container c0d7335baf7f 09:31:14 ---> a24ff2ee96c0 09:31:14 Step 19/20 : LABEL git_sha=06825c0b975d0db7631519faf23f51bf8b208a20 09:31:14 ---> Running in 3310d8cb7521 09:31:14 Removing intermediate container 3310d8cb7521 09:31:14 ---> 0e79a41e41b2 09:31:14 Step 20/20 : LABEL version=0.0.0 09:31:14 ---> Running in f31291f22a3a 09:31:14 Removing intermediate container f31291f22a3a 09:31:14 ---> c21112561747 09:31:14 [Warning] One or more build-args [ARCH] were not consumed 09:31:14 Successfully built c21112561747 09:31:14 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 09:31:16 provisioning config files... 09:31:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-475@tmp/config596402655107357504tmp [Pipeline] { [Pipeline] sh 09:31:16 + curl -s https://codecov.io/bash 09:31:16 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-475@tmp/config596402655107357504tmp 09:31:16 09:31:16 _____ _ 09:31:16 / ____| | | 09:31:16 | | ___ __| | ___ ___ _____ __ 09:31:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:31:16 | |___| (_) | (_| | __/ (_| (_) \ V / 09:31:16 \_____\___/ \__,_|\___|\___\___/ \_/ 09:31:16 Bash-tbd 09:31:16 09:31:16 09:31:16 ==> Jenkins CI detected. 09:31:16 project root: . 09:31:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:31:16 ==> Running gcov in . (disable via -X gcov) 09:31:16 ==> Python coveragepy not found 09:31:16 ==> Searching for coverage reports in: 09:31:16 + . 09:31:16 -> Found 1 reports 09:31:16 ==> Detecting git/mercurial file structure 09:31:16 ==> Reading reports 09:31:16 + ./coverage.out bytes=94999 09:31:16 ==> Appending adjustments 09:31:16 http://docs.codecov.io/docs/fixing-reports 09:31:17 + Found adjustments 09:31:17 ==> Gzipping contents 09:31:17 ==> Uploading reports 09:31:17 url: https://codecov.io 09:31:17 query: branch=PR-475&commit=06825c0b975d0db7631519faf23f51bf8b208a20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-475%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=475&job= 09:31:17 -> Pinging Codecov 09:31:17 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-475&commit=06825c0b975d0db7631519faf23f51bf8b208a20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-475%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=475&job= 09:31:17 -> Uploading 09:31:18 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/06825c0b975d0db7631519faf23f51bf8b208a20 [Pipeline] } 09:31:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:31:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:31:20 ---> package-listing.sh 09:31:20 ++ facter osfamily 09:31:20 ++ tr '[:upper:]' '[:lower:]' 09:31:20 + OS_FAMILY=redhat 09:31:20 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-475 09:31:20 + START_PACKAGES=/tmp/packages_start.txt 09:31:20 + END_PACKAGES=/tmp/packages_end.txt 09:31:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:31:20 + PACKAGES=/tmp/packages_start.txt 09:31:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-475 ']' 09:31:20 + PACKAGES=/tmp/packages_end.txt 09:31:20 + case "${OS_FAMILY}" in 09:31:20 + rpm -qa 09:31:20 + sort 09:31:24 + '[' -f /tmp/packages_start.txt ']' 09:31:24 + '[' -f /tmp/packages_end.txt ']' 09:31:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:31:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-475 ']' 09:31:24 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-475/archives/ 09:31:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-475/archives/ [Pipeline] isUnix [Pipeline] sh 09:31:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:31:24 09:31:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:31:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:31:25 alpine: Pulling from edgex-lftools-log-publisher 09:31:25 c9b1b535fdd9: Pulling fs layer 09:31:25 2cc5ad85d9ab: Pulling fs layer 09:31:25 756a868c4378: Pulling fs layer 09:31:25 444b2fc9a129: Pulling fs layer 09:31:25 ea15f1150254: Pulling fs layer 09:31:25 41b27a9f41bf: Pulling fs layer 09:31:25 28c525ee5125: Pulling fs layer 09:31:25 094b1ea09ed8: Pulling fs layer 09:31:25 138eaada9080: Pulling fs layer 09:31:25 ea15f1150254: Waiting 09:31:25 41b27a9f41bf: Waiting 09:31:25 28c525ee5125: Waiting 09:31:25 444b2fc9a129: Waiting 09:31:25 094b1ea09ed8: Waiting 09:31:25 0622d0fa9048: Pulling fs layer 09:31:25 138eaada9080: Waiting 09:31:25 0622d0fa9048: Waiting 09:31:25 2cc5ad85d9ab: Verifying Checksum 09:31:25 2cc5ad85d9ab: Download complete 09:31:25 444b2fc9a129: Verifying Checksum 09:31:25 444b2fc9a129: Download complete 09:31:25 c9b1b535fdd9: Verifying Checksum 09:31:25 c9b1b535fdd9: Download complete 09:31:25 ea15f1150254: Verifying Checksum 09:31:25 ea15f1150254: Download complete 09:31:25 28c525ee5125: Verifying Checksum 09:31:25 28c525ee5125: Download complete 09:31:25 c9b1b535fdd9: Pull complete 09:31:25 756a868c4378: Verifying Checksum 09:31:25 756a868c4378: Download complete 09:31:25 138eaada9080: Verifying Checksum 09:31:25 138eaada9080: Download complete 09:31:26 0622d0fa9048: Verifying Checksum 09:31:26 0622d0fa9048: Download complete 09:31:26 094b1ea09ed8: Verifying Checksum 09:31:26 094b1ea09ed8: Download complete 09:31:26 2cc5ad85d9ab: Pull complete 09:31:26 41b27a9f41bf: Verifying Checksum 09:31:26 41b27a9f41bf: Download complete 09:31:27 756a868c4378: Pull complete 09:31:27 444b2fc9a129: Pull complete 09:31:28 ea15f1150254: Pull complete 09:31:31 41b27a9f41bf: Pull complete 09:31:31 28c525ee5125: Pull complete 09:31:34 094b1ea09ed8: Pull complete 09:31:34 138eaada9080: Pull complete 09:31:34 0622d0fa9048: Pull complete 09:31:34 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:31:34 prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container 09:31:34 $ 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-475 -v /w/workspace/dgexfoundry_device-sdk-go_PR-475:/w/workspace/dgexfoundry_device-sdk-go_PR-475:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-475@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-475@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:31:35 $ docker top dc2fd72429d6733beac45e16579451574afa6e32fae1d9836b16c5d1f84da898 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:31:35 provisioning config files... 09:31:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-475@tmp/config7134923671555460228tmp [Pipeline] { [Pipeline] echo 09:31:35 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:31:36 ---> create-netrc.sh [Pipeline] echo 09:31:36 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:31:36 ---> logs-deploy.sh 09:31:36 + ARCHIVE_ARTIFACTS= 09:31:36 + LOGS_SERVER=https://logs.edgexfoundry.org 09:31:36 + '[' https://logs.edgexfoundry.org == None ']' 09:31:36 + NEXUS_URL=https://nexus.edgexfoundry.org 09:31:36 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-475/1 09:31:36 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-475/1/ 09:31:36 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-475/1 /w/workspace/dgexfoundry_device-sdk-go_PR-475 09:31:37 Archives upload complete. 09:31:37 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-475/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-475/1/