Pull request #499 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at e907dc85042501c8e2f4fb84c2bfa5a8a6549c65 rather than 7680030a4412dd53a5f61a22282511126651d0a2 Obtained Jenkinsfile from e907dc85042501c8e2f4fb84c2bfa5a8a6549c65 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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-499/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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5088 in /w/workspace/dgexfoundry_device-sdk-go_PR-499 [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-499 # 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/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit e907dc85042501c8e2f4fb84c2bfa5a8a6549c65 into PR head commit 7680030a4412dd53a5f61a22282511126651d0a2 Merge succeeded, producing 48f597e7a21d7198b45a17a617ee6a77924ff016 Checking out Revision 48f597e7a21d7198b45a17a617ee6a77924ff016 (PR-499) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/499/head:refs/remotes/origin/PR-499 # 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/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7680030a4412dd53a5f61a22282511126651d0a2 # 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 e907dc85042501c8e2f4fb84c2bfa5a8a6549c65 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48f597e7a21d7198b45a17a617ee6a77924ff016 # timeout=10 Commit message: "Merge commit 'e907dc85042501c8e2f4fb84c2bfa5a8a6549c65' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:05:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:05:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:05:33 ========================================================= 02:05:33 EdgeX Global Pipelines Version Info 02:05:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:05:35 ------------------- 02:05:35 stable info: 02:05:35 ------------------- 02:05:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:05:35 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 02:05:35 Message: update stable to v1.0.73 02:05:35 ------------------- 02:05:35 experimental info: 02:05:35 ------------------- 02:05:35 Commited By: **** collab-it+edgex@linuxfoundation.org 02:05:35 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 02:05:35 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 02:05:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:05:38 02:05:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:05:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:05:38 latest: Pulling from edgex-devops/git-semver 02:05:38 9123ac7c32f7: Pulling fs layer 02:05:38 b8cc5d1170e3: Pulling fs layer 02:05:38 2924cbbf6a41: Pulling fs layer 02:05:38 93b08a4f1073: Pulling fs layer 02:05:38 93b08a4f1073: Waiting 02:05:38 b8cc5d1170e3: Verifying Checksum 02:05:38 b8cc5d1170e3: Download complete 02:05:38 9123ac7c32f7: Download complete 02:05:38 93b08a4f1073: Verifying Checksum 02:05:38 93b08a4f1073: Download complete 02:05:38 2924cbbf6a41: Verifying Checksum 02:05:38 2924cbbf6a41: Download complete 02:05:38 9123ac7c32f7: Pull complete 02:05:39 b8cc5d1170e3: Pull complete 02:05:39 2924cbbf6a41: Pull complete 02:05:40 93b08a4f1073: Pull complete 02:05:40 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 02:05:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:05:40 prd-centos7-docker-4c-2g-5088 does not seem to be running inside a container 02:05:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-499 -v /w/workspace/dgexfoundry_device-sdk-go_PR-499:/w/workspace/dgexfoundry_device-sdk-go_PR-499:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:05:40 $ docker top 8b5a9fc1e9d266bd71abd016f9c6d495d6853bbcd19b91879fa62cabfbdcb7ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:05:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:41 [ssh-agent] Looking for ssh-agent implementation... 02:05:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:41 $ docker exec 8b5a9fc1e9d266bd71abd016f9c6d495d6853bbcd19b91879fa62cabfbdcb7ad ssh-agent 02:05:41 SSH_AUTH_SOCK=/tmp/ssh-UZqm5YINSouf/agent.15 02:05:41 SSH_AGENT_PID=22 02:05:41 Running ssh-add (command line suppressed) 02:05:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_8097577663480613490.key (/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_8097577663480613490.key) 02:05:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:42 + git describe --exact-match --tags HEAD 02:05:42 fatal: No names found, cannot describe anything. [Pipeline] } 02:05:42 $ docker exec --env ******** --env ******** 8b5a9fc1e9d266bd71abd016f9c6d495d6853bbcd19b91879fa62cabfbdcb7ad ssh-agent -k 02:05:42 unset SSH_AUTH_SOCK; 02:05:42 unset SSH_AGENT_PID; 02:05:42 echo Agent pid 22 killed; 02:05:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:05:42 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:05:42 This usually means this commit has not been tagged. [Pipeline] sshagent 02:05:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:42 [ssh-agent] Looking for ssh-agent implementation... 02:05:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:42 $ docker exec 8b5a9fc1e9d266bd71abd016f9c6d495d6853bbcd19b91879fa62cabfbdcb7ad ssh-agent 02:05:43 SSH_AUTH_SOCK=/tmp/ssh-gG8cCmjusvSe/agent.58 02:05:43 SSH_AGENT_PID=65 02:05:43 Running ssh-add (command line suppressed) 02:05:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_4189523394937797951.key (/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_4189523394937797951.key) 02:05:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:43 + git semver init 02:05:43 # -> Open(): unable to determine branch for HEAD 02:05:43 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-499/.git 02:05:43 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-499 02:05:43 # $SEMVER_REMOTE_NAME = origin 02:05:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:05:43 # $SEMVER_USER_NAME = edgex-jenkins 02:05:43 # $SEMVER_BRANCH = PR-499 02:05:43 # $SEMVER_TEMP = /tmp/semver-508000649 02:05:43 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:05:44 # '/tmp/semver-508000649' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-499/.semver' 02:05:44 # -> Force: false 02:05:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-499/.semver [Pipeline] } 02:05:44 $ docker exec --env ******** --env ******** 8b5a9fc1e9d266bd71abd016f9c6d495d6853bbcd19b91879fa62cabfbdcb7ad ssh-agent -k 02:05:44 unset SSH_AUTH_SOCK; 02:05:44 unset SSH_AGENT_PID; 02:05:44 echo Agent pid 65 killed; 02:05:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:05:45 + git semver [Pipeline] } 02:05:45 $ docker stop --time=1 8b5a9fc1e9d266bd71abd016f9c6d495d6853bbcd19b91879fa62cabfbdcb7ad 02:05:46 $ docker rm -f 8b5a9fc1e9d266bd71abd016f9c6d495d6853bbcd19b91879fa62cabfbdcb7ad [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:05:47 Stashed 48 file(s) [Pipeline] echo 02:05:47 [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:06:02 Still waiting to schedule task 02:06:02 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:06:02 Still waiting to schedule task 02:06:02 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:07:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5089 in /w/workspace/dgexfoundry_device-sdk-go_PR-499 [Pipeline] { [Pipeline] ws 02:07:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 02:07:51 using credential edgex-jenkins-ssh 02:07:51 Cloning the remote Git repository 02:07:51 Cloning with configured refspecs honoured and without tags 02:07:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:07:52 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:07:53 Fetching without tags 02:07:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:07:52 > git --version # timeout=10 02:07:52 using GIT_SSH to set credentials SSH Credentials for GitHub 02:07:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:07:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:07:53 > git config --add remote.origin.fetch +refs/pull/499/head:refs/remotes/origin/PR-499 # timeout=10 02:07:53 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:07:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:07:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:07:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:07:53 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:07:53 Merging remotes/origin/master commit e907dc85042501c8e2f4fb84c2bfa5a8a6549c65 into PR head commit 7680030a4412dd53a5f61a22282511126651d0a2 02:07:54 Merge succeeded, producing 082f1a0e1313d182ed9a9c3e25ed15f16e8c91f9 02:07:54 Checking out Revision 082f1a0e1313d182ed9a9c3e25ed15f16e8c91f9 (PR-499) 02:07:53 > git config core.sparsecheckout # timeout=10 02:07:53 > git checkout -f 7680030a4412dd53a5f61a22282511126651d0a2 # timeout=10 02:07:54 > git remote # timeout=10 02:07:54 > git config --get remote.origin.url # timeout=10 02:07:54 using GIT_SSH to set credentials SSH Credentials for GitHub 02:07:54 > git merge e907dc85042501c8e2f4fb84c2bfa5a8a6549c65 # timeout=10 02:07:54 > git rev-parse HEAD^{commit} # timeout=10 02:07:54 > git config core.sparsecheckout # timeout=10 02:07:54 > git checkout -f 082f1a0e1313d182ed9a9c3e25ed15f16e8c91f9 # timeout=10 02:07:58 Commit message: "Merge commit 'e907dc85042501c8e2f4fb84c2bfa5a8a6549c65' into HEAD" 02:07:58 First time build. Skipping changelog. 02:07:58 > git --version # timeout=10 02:07:58 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:08:00 ========================================================= 02:08:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 02:08:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:08:01 + 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:08:02 Sending build context to Docker daemon 2.94MB 02:08:02 Step 1/8 : ARG BASE=golang:1.13-alpine 02:08:02 Step 2/8 : FROM ${BASE} 02:08:02 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:08:02 cde5963f3b93: Pulling fs layer 02:08:02 2a23fa8c16f7: Pulling fs layer 02:08:02 777b28850792: Pulling fs layer 02:08:02 8a11ddd9e578: Pulling fs layer 02:08:02 4cf88f913ddb: Pulling fs layer 02:08:02 1df406cf5192: Pulling fs layer 02:08:02 cd6300453558: Pulling fs layer 02:08:02 b9c365052c96: Pulling fs layer 02:08:02 a2d8cc88f415: Pulling fs layer 02:08:02 ea1d1ca13537: Pulling fs layer 02:08:02 3750a50a1c5e: Pulling fs layer 02:08:02 8a11ddd9e578: Waiting 02:08:02 4cf88f913ddb: Waiting 02:08:02 1df406cf5192: Waiting 02:08:02 cd6300453558: Waiting 02:08:02 b9c365052c96: Waiting 02:08:02 a2d8cc88f415: Waiting 02:08:02 ea1d1ca13537: Waiting 02:08:02 3750a50a1c5e: Waiting 02:08:02 777b28850792: Verifying Checksum 02:08:02 777b28850792: Download complete 02:08:02 2a23fa8c16f7: Verifying Checksum 02:08:02 2a23fa8c16f7: Download complete 02:08:02 4cf88f913ddb: Verifying Checksum 02:08:02 4cf88f913ddb: Download complete 02:08:02 1df406cf5192: Verifying Checksum 02:08:02 1df406cf5192: Download complete 02:08:02 cde5963f3b93: Verifying Checksum 02:08:03 cde5963f3b93: Pull complete 02:08:04 2a23fa8c16f7: Pull complete 02:08:04 777b28850792: Pull complete 02:08:07 cd6300453558: Download complete 02:08:07 a2d8cc88f415: Verifying Checksum 02:08:07 a2d8cc88f415: Download complete 02:08:09 ea1d1ca13537: Verifying Checksum 02:08:09 ea1d1ca13537: Download complete 02:08:09 3750a50a1c5e: Verifying Checksum 02:08:09 3750a50a1c5e: Download complete 02:08:12 b9c365052c96: Verifying Checksum 02:08:12 b9c365052c96: Download complete 02:08:13 8a11ddd9e578: Verifying Checksum 02:08:13 8a11ddd9e578: Download complete 02:08:15 Running on prd-centos7-docker-4c-2g-5090 in /w/workspace/dgexfoundry_device-sdk-go_PR-499 [Pipeline] { [Pipeline] ws 02:08:15 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 02:08:18 using credential edgex-jenkins-ssh 02:08:18 Cloning the remote Git repository 02:08:18 Cloning with configured refspecs honoured and without tags 02:08:19 Fetching without tags 02:08:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:08:18 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:08:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:08:18 > git --version # timeout=10 02:08:18 using GIT_SSH to set credentials SSH Credentials for GitHub 02:08:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:08:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:08:19 > git config --add remote.origin.fetch +refs/pull/499/head:refs/remotes/origin/PR-499 # timeout=10 02:08:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:08:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:08:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:08:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:08:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:08:20 Merging remotes/origin/master commit e907dc85042501c8e2f4fb84c2bfa5a8a6549c65 into PR head commit 7680030a4412dd53a5f61a22282511126651d0a2 02:08:20 Merge succeeded, producing e43abd0f5e03db6d00eb904817ea1d28662c9dab 02:08:20 Checking out Revision e43abd0f5e03db6d00eb904817ea1d28662c9dab (PR-499) 02:08:20 > git config core.sparsecheckout # timeout=10 02:08:20 > git checkout -f 7680030a4412dd53a5f61a22282511126651d0a2 # timeout=10 02:08:20 > git remote # timeout=10 02:08:20 > git config --get remote.origin.url # timeout=10 02:08:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:08:20 > git merge e907dc85042501c8e2f4fb84c2bfa5a8a6549c65 # timeout=10 02:08:20 > git rev-parse HEAD^{commit} # timeout=10 02:08:20 > git config core.sparsecheckout # timeout=10 02:08:20 > git checkout -f e43abd0f5e03db6d00eb904817ea1d28662c9dab # timeout=10 02:08:23 Commit message: "Merge commit 'e907dc85042501c8e2f4fb84c2bfa5a8a6549c65' into HEAD" 02:08:23 First time build. Skipping changelog. 02:08:23 > git --version # timeout=10 02:08:23 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:08:24 ========================================================= 02:08:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 02:08:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:08:25 + 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:08:26 Sending build context to Docker daemon 2.94MB 02:08:26 Step 1/8 : ARG BASE=golang:1.13-alpine 02:08:26 Step 2/8 : FROM ${BASE} 02:08:26 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 02:08:26 e6b0cf9c0882: Pulling fs layer 02:08:26 2848faf0eed1: Pulling fs layer 02:08:26 0f37312ad70f: Pulling fs layer 02:08:26 5788d62ee057: Pulling fs layer 02:08:26 0e6b1d234666: Pulling fs layer 02:08:26 bf5d7aec512f: Pulling fs layer 02:08:26 34c802a77dc8: Pulling fs layer 02:08:26 9eb99e56ec68: Pulling fs layer 02:08:26 27c7a5d97fbd: Pulling fs layer 02:08:26 5c102a31e300: Pulling fs layer 02:08:26 dcfb455df0a1: Pulling fs layer 02:08:26 5788d62ee057: Waiting 02:08:26 0e6b1d234666: Waiting 02:08:26 bf5d7aec512f: Waiting 02:08:26 27c7a5d97fbd: Waiting 02:08:26 34c802a77dc8: Waiting 02:08:26 5c102a31e300: Waiting 02:08:26 9eb99e56ec68: Waiting 02:08:26 dcfb455df0a1: Waiting 02:08:26 0f37312ad70f: Verifying Checksum 02:08:26 0f37312ad70f: Download complete 02:08:26 2848faf0eed1: Download complete 02:08:26 0e6b1d234666: Verifying Checksum 02:08:26 0e6b1d234666: Download complete 02:08:26 bf5d7aec512f: Download complete 02:08:26 e6b0cf9c0882: Verifying Checksum 02:08:26 8a11ddd9e578: Pull complete 02:08:26 4cf88f913ddb: Pull complete 02:08:26 1df406cf5192: Pull complete 02:08:26 e6b0cf9c0882: Pull complete 02:08:26 2848faf0eed1: Pull complete 02:08:26 34c802a77dc8: Verifying Checksum 02:08:26 34c802a77dc8: Download complete 02:08:27 27c7a5d97fbd: Verifying Checksum 02:08:27 27c7a5d97fbd: Download complete 02:08:27 9eb99e56ec68: Verifying Checksum 02:08:27 9eb99e56ec68: Download complete 02:08:27 5788d62ee057: Verifying Checksum 02:08:27 5788d62ee057: Download complete 02:08:27 5c102a31e300: Verifying Checksum 02:08:27 5c102a31e300: Download complete 02:08:27 dcfb455df0a1: Verifying Checksum 02:08:27 dcfb455df0a1: Download complete 02:08:29 0f37312ad70f: Pull complete 02:08:29 cd6300453558: Pull complete 02:08:33 b9c365052c96: Pull complete 02:08:33 a2d8cc88f415: Pull complete 02:08:35 5788d62ee057: Pull complete 02:08:35 0e6b1d234666: Pull complete 02:08:35 bf5d7aec512f: Pull complete 02:08:36 ea1d1ca13537: Pull complete 02:08:36 3750a50a1c5e: Pull complete 02:08:36 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 02:08:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 02:08:37 ---> 78745c68409d 02:08:37 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:08:39 34c802a77dc8: Pull complete 02:08:41 ---> Running in e363d118256e 02:08:41 Removing intermediate container e363d118256e 02:08:41 ---> 8611c49e38d7 02:08:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:08:41 ---> Running in 1d0a4f4de487 02:08:42 9eb99e56ec68: Pull complete 02:08:42 27c7a5d97fbd: Pull complete 02:08:43 Removing intermediate container 1d0a4f4de487 02:08:43 ---> 449ad6a4a280 02:08:43 Step 5/8 : RUN apk add --no-cache make git 02:08:43 5c102a31e300: Pull complete 02:08:43 dcfb455df0a1: Pull complete 02:08:43 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 02:08:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 02:08:43 ---> 7c70fe431013 02:08:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:08:43 ---> Running in 0a09b92fe9df 02:08:43 ---> Running in 3e49065b6617 02:08:43 Removing intermediate container 3e49065b6617 02:08:43 ---> 01340cf70ca8 02:08:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:08:43 ---> Running in 831de5689816 02:08:44 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:08:44 Removing intermediate container 831de5689816 02:08:44 ---> 02c2036ab49f 02:08:44 Step 5/8 : RUN apk add --no-cache make git 02:08:44 ---> Running in 0d9ab859535d 02:08:45 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:08:45 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:08:45 OK: 125 MiB in 39 packages 02:08:45 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:08:46 OK: 143 MiB in 39 packages 02:08:46 Removing intermediate container 0d9ab859535d 02:08:46 ---> 8e22acde0909 02:08:46 Step 6/8 : WORKDIR /device-sdk-go 02:08:46 ---> Running in 1504ccb50467 02:08:46 Removing intermediate container 1504ccb50467 02:08:46 ---> ee90774f1f12 02:08:46 Step 7/8 : COPY . . 02:08:46 Removing intermediate container 0a09b92fe9df 02:08:46 ---> 4d4d32af12f3 02:08:46 Step 6/8 : WORKDIR /device-sdk-go 02:08:47 ---> Running in 13cc65f62b00 02:08:47 ---> c326d02416e4 02:08:47 Step 8/8 : RUN go mod download 02:08:47 ---> Running in d5f44820d990 02:08:47 Removing intermediate container 13cc65f62b00 02:08:47 ---> 98ba270ff6a5 02:08:47 Step 7/8 : COPY . . 02:08:48 ---> eaa2b6d26522 02:08:48 Step 8/8 : RUN go mod download 02:08:48 ---> Running in 7c41b84ddc44 02:08:50 go: finding github.com/BurntSushi/toml v0.3.1 02:08:50 go: finding github.com/OneOfOne/xxhash v1.2.6 02:08:50 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:08:50 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:08:50 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:08:50 go: finding github.com/bgentry/speakeasy v0.1.0 02:08:50 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:08:50 go: finding github.com/davecgh/go-spew v1.1.1 02:08:50 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 02:08:50 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:08:50 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 02:08:50 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 02:08:50 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:08:50 go: finding github.com/fatih/color v1.7.0 02:08:50 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:08:50 go: finding github.com/go-kit/kit v0.8.0 02:08:50 go: finding github.com/BurntSushi/toml v0.3.1 02:08:50 go: finding github.com/OneOfOne/xxhash v1.2.6 02:08:50 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:08:50 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:08:50 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:08:50 go: finding github.com/bgentry/speakeasy v0.1.0 02:08:50 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:08:50 go: finding github.com/davecgh/go-spew v1.1.1 02:08:50 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 02:08:50 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:08:50 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 02:08:50 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 02:08:50 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:08:50 go: finding github.com/fatih/color v1.7.0 02:08:50 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:08:50 go: finding github.com/go-kit/kit v0.8.0 02:08:50 go: finding github.com/go-logfmt/logfmt v0.4.0 02:08:50 go: finding github.com/go-stack/stack v1.8.0 02:08:50 go: finding github.com/go-logfmt/logfmt v0.4.0 02:08:50 go: finding github.com/go-stack/stack v1.8.0 02:08:50 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:08:50 go: finding github.com/google/uuid v1.1.0 02:08:50 go: finding github.com/gorilla/mux v1.7.1 02:08:50 go: finding github.com/hashicorp/consul/api v1.1.0 02:08:50 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:08:51 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:08:51 go: finding github.com/google/uuid v1.1.0 02:08:51 go: finding github.com/gorilla/mux v1.7.1 02:08:51 go: finding github.com/hashicorp/consul/api v1.1.0 02:08:51 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:08:51 go: finding github.com/hashicorp/errwrap v1.0.0 02:08:51 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:08:51 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:08:51 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:08:51 go: finding github.com/hashicorp/go-multierror v1.0.0 02:08:51 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:08:51 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:08:51 go: finding github.com/hashicorp/go-syslog v1.0.0 02:08:51 go: finding github.com/hashicorp/errwrap v1.0.0 02:08:51 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:08:51 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:08:51 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:08:51 go: finding github.com/hashicorp/go-multierror v1.0.0 02:08:51 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:08:51 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:08:51 go: finding github.com/hashicorp/go-syslog v1.0.0 02:08:51 go: finding github.com/hashicorp/go-uuid v1.0.1 02:08:51 go: finding github.com/hashicorp/go.net v0.0.1 02:08:51 go: finding github.com/hashicorp/golang-lru v0.5.0 02:08:51 go: finding github.com/hashicorp/logutils v1.0.0 02:08:51 go: finding github.com/hashicorp/mdns v1.0.0 02:08:51 go: finding github.com/hashicorp/memberlist v0.1.3 02:08:51 go: finding github.com/hashicorp/serf v0.8.2 02:08:51 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:08:51 go: finding github.com/mattn/go-colorable v0.0.9 02:08:51 go: finding github.com/mattn/go-isatty v0.0.3 02:08:51 go: finding github.com/hashicorp/go-uuid v1.0.1 02:08:51 go: finding github.com/hashicorp/go.net v0.0.1 02:08:51 go: finding github.com/hashicorp/golang-lru v0.5.0 02:08:51 go: finding github.com/hashicorp/logutils v1.0.0 02:08:51 go: finding github.com/hashicorp/mdns v1.0.0 02:08:51 go: finding github.com/hashicorp/memberlist v0.1.3 02:08:51 go: finding github.com/hashicorp/serf v0.8.2 02:08:51 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:08:51 go: finding github.com/mattn/go-colorable v0.0.9 02:08:51 go: finding github.com/mattn/go-isatty v0.0.3 02:08:51 go: finding github.com/miekg/dns v1.0.14 02:08:51 go: finding github.com/mitchellh/cli v1.0.0 02:08:51 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:08:51 go: finding github.com/mitchellh/copystructure v1.0.0 02:08:51 go: finding github.com/mitchellh/go-homedir v1.0.0 02:08:51 go: finding github.com/miekg/dns v1.0.14 02:08:51 go: finding github.com/mitchellh/cli v1.0.0 02:08:51 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:08:51 go: finding github.com/mitchellh/copystructure v1.0.0 02:08:51 go: finding github.com/mitchellh/go-homedir v1.0.0 02:08:51 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:08:51 go: finding github.com/mitchellh/gox v0.4.0 02:08:51 go: finding github.com/mitchellh/iochan v1.0.0 02:08:51 go: finding github.com/mitchellh/mapstructure v1.1.2 02:08:51 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:08:51 go: finding github.com/mitchellh/gox v0.4.0 02:08:51 go: finding github.com/mitchellh/iochan v1.0.0 02:08:51 go: finding github.com/mitchellh/mapstructure v1.1.2 02:08:51 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:08:51 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:08:51 go: finding github.com/pelletier/go-toml v1.2.0 02:08:51 go: finding github.com/pkg/errors v0.8.1 02:08:51 go: finding github.com/pmezard/go-difflib v1.0.0 02:08:51 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:08:51 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:08:51 go: finding github.com/pelletier/go-toml v1.2.0 02:08:51 go: finding github.com/pkg/errors v0.8.1 02:08:51 go: finding github.com/pmezard/go-difflib v1.0.0 02:08:51 go: finding github.com/posener/complete v1.1.1 02:08:51 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:08:51 go: finding github.com/posener/complete v1.1.1 02:08:51 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:08:51 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:08:51 go: finding github.com/stretchr/objx v0.1.0 02:08:51 go: finding github.com/stretchr/testify v1.5.1 02:08:51 go: finding github.com/ugorji/go v1.1.4 02:08:51 go: finding github.com/x448/float16 v0.8.4 02:08:51 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:08:51 go: finding github.com/stretchr/objx v0.1.0 02:08:51 go: finding github.com/stretchr/testify v1.5.1 02:08:51 go: finding github.com/ugorji/go v1.1.4 02:08:51 go: finding github.com/x448/float16 v0.8.4 02:08:51 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:08:51 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:08:51 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:08:52 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:08:52 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:08:52 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:08:52 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:08:52 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:08:52 go: finding gopkg.in/yaml.v2 v2.2.8 02:08:52 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:08:52 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:08:52 go: finding gopkg.in/yaml.v2 v2.2.8 02:08:57 Removing intermediate container d5f44820d990 02:08:57 ---> 33ea33c2f0ce 02:08:57 Successfully built 33ea33c2f0ce 02:08:57 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 02:08:58 + docker inspect -f . ci-base-image-x86_64 02:08:58 . [Pipeline] withDockerContainer 02:08:58 prd-centos7-docker-4c-2g-5090 does not seem to be running inside a container 02:08:58 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:08:59 $ docker top 6a182dbd48cd41bd092427684492c94939486de5b4a76a2564a425ddf223cc3a -eo pid,comm [Pipeline] { [Pipeline] sh 02:08:59 + go version 02:08:59 go version go1.13.5 linux/amd64 [Pipeline] sh 02:09:00 + make test 02:09:00 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:09:00 Removing intermediate container 7c41b84ddc44 02:09:00 ---> 1eb36a3d7726 02:09:00 Successfully built 1eb36a3d7726 02:09:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:09:01 + docker inspect -f . ci-base-image-arm64 02:09:01 . [Pipeline] withDockerContainer 02:09:02 prd-ubuntu18.04-docker-arm64-4c-16g-5089 does not seem to be running inside a container 02:09:02 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 02:09:02 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:09:03 $ docker top 088baa4af356f07b5f5572fbc4d3ee3785b2fd3842f06f260afcc1f354ac068e -eo pid,comm [Pipeline] { [Pipeline] sh 02:09:04 + go version 02:09:04 go version go1.13.5 linux/arm64 [Pipeline] sh 02:09:05 + make test 02:09:05 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:09:06 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:09:12 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:09:12 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:09:12 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:09:12 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.024s coverage: 22.1% of statements 02:09:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.040s coverage: 95.8% of statements 02:09:33 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:09:33 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:09:33 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:09:35 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.082s coverage: 22.1% of statements 02:09:38 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.137s coverage: 95.8% of statements 02:09:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.023s coverage: 11.4% of statements 02:09:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.032s coverage: 22.1% of statements 02:09:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:09:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.107s coverage: 36.9% of statements 02:09:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:09:48 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 02:09:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.407s coverage: 76.2% of statements 02:09:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:09:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:09:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:09:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.022s coverage: 52.6% of statements 02:09:48 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 02:09:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 71.4% of statements 02:09:48 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:09:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:09:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:09:48 gofmt -l . 02:09:48 [ "`gofmt -l .`" = "" ] 02:09:48 ./bin/test-attribution-txt.sh 02:09:48 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:09:49 Stashed 1 file(s) [Pipeline] } 02:09:49 $ docker stop --time=1 6a182dbd48cd41bd092427684492c94939486de5b4a76a2564a425ddf223cc3a 02:09:50 $ docker rm -f 6a182dbd48cd41bd092427684492c94939486de5b4a76a2564a425ddf223cc3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:09:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:09:52 + ls -al . 02:09:52 total 164 02:09:52 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 02:09 . 02:09:52 drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 02:08 .. 02:09:52 drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 02:08 api 02:09:52 drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 02:08 bin 02:09:52 -rw-r--r--. 1 jenkins jenkins 98831 Apr 21 02:09 coverage.out 02:09:52 -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 02:08 Dockerfile.build 02:09:52 -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 02:08 .dockerignore 02:09:52 drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 02:08 example 02:09:52 drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 02:08 .git 02:09:52 drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 02:08 .github 02:09:52 -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 02:08 .gitignore 02:09:52 -rw-r--r--. 1 jenkins jenkins 446 Apr 21 02:09 go.mod 02:09:52 -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 02:09 go.sum 02:09:52 drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 02:08 internal 02:09:52 -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 02:08 Jenkinsfile 02:09:52 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 02:08 LICENSE 02:09:52 -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 02:08 Makefile 02:09:52 drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 02:08 pkg 02:09:52 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 02:08 README.md 02:09:52 drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 02:08 .semver 02:09:52 drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 02:08 snap 02:09:52 -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 02:05 VERSION 02:09:52 -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 02:08 version.go [Pipeline] isUnix [Pipeline] sh 02:09:53 + 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=48f597e7a21d7198b45a17a617ee6a77924ff016 --label arch=amd64 --label version=0.0.0 . 02:09:53 Sending build context to Docker daemon 3.061MB 02:09:53 Step 1/21 : ARG BASE=golang:1.13-alpine 02:09:53 Step 2/21 : FROM ${BASE} AS builder 02:09:53 ---> 33ea33c2f0ce 02:09:53 Step 3/21 : ARG MAKE='make build' 02:09:53 ---> Running in a44e4e19b092 02:09:53 Removing intermediate container a44e4e19b092 02:09:53 ---> 07c5c02a3623 02:09:53 Step 4/21 : WORKDIR /device-sdk-go 02:09:53 ---> Running in d6ccb0373b7c 02:09:53 Removing intermediate container d6ccb0373b7c 02:09:53 ---> 19dd6706619b 02:09:53 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:09:53 ---> Running in 5289e69bd6c8 02:09:53 Removing intermediate container 5289e69bd6c8 02:09:53 ---> 08d52101b62a 02:09:53 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:09:53 ---> Running in 2d1f9068ab9f 02:09:54 Removing intermediate container 2d1f9068ab9f 02:09:54 ---> 43f3fb8bfd04 02:09:54 Step 7/21 : RUN apk add --update --no-cache make git 02:09:54 ---> Running in 207b91aecee2 02:09:54 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:09:55 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:09:55 OK: 143 MiB in 39 packages 02:09:56 Removing intermediate container 207b91aecee2 02:09:56 ---> 78223711beb9 02:09:56 Step 8/21 : COPY . . 02:09:56 ---> 232a02bf38d6 02:09:56 Step 9/21 : RUN ${MAKE} 02:09:56 ---> Running in 7f7b3e3f31c8 02:09:56 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:10:05 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:10:05 Removing intermediate container 7f7b3e3f31c8 02:10:05 ---> dae38ae3a64a 02:10:05 Step 10/21 : FROM scratch 02:10:05 ---> 02:10:05 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:10:05 ---> Running in 492ebf2eb3d8 02:10:05 Removing intermediate container 492ebf2eb3d8 02:10:05 ---> a053a0de4ba9 02:10:05 Step 12/21 : ENV APP_PORT=49990 02:10:05 ---> Running in 10290b3808df 02:10:05 Removing intermediate container 10290b3808df 02:10:05 ---> 994759159ec9 02:10:05 Step 13/21 : EXPOSE $APP_PORT 02:10:05 ---> Running in 7b53b37958b6 02:10:05 Removing intermediate container 7b53b37958b6 02:10:05 ---> 111d50ee1724 02:10:05 Step 14/21 : WORKDIR / 02:10:05 ---> Running in cc26be50d870 02:10:06 Removing intermediate container cc26be50d870 02:10:06 ---> 3ebefd091e89 02:10:06 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:10:06 ---> b443c5a158dc 02:10:06 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:10:06 ---> c505888164b5 02:10:06 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:10:06 ---> cf40661f50ef 02:10:06 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:10:06 ---> Running in b7485bc73ce7 02:10:06 Removing intermediate container b7485bc73ce7 02:10:06 ---> 20606731ea3c 02:10:06 Step 19/21 : LABEL arch=amd64 02:10:06 ---> Running in 86d026cec970 02:10:07 Removing intermediate container 86d026cec970 02:10:07 ---> 44f3b5991e8d 02:10:07 Step 20/21 : LABEL git_sha=48f597e7a21d7198b45a17a617ee6a77924ff016 02:10:07 ---> Running in 0229542c4346 02:10:07 Removing intermediate container 0229542c4346 02:10:07 ---> 4bea1bbac226 02:10:07 Step 21/21 : LABEL version=0.0.0 02:10:07 ---> Running in 44c655cd7a4b 02:10:07 Removing intermediate container 44c655cd7a4b 02:10:07 ---> 951ba6790cfd 02:10:07 [Warning] One or more build-args [ARCH] were not consumed 02:10:07 Successfully built 951ba6790cfd 02:10:07 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:10:10 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.046s coverage: 11.4% of statements 02:10:10 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 22.1% of statements 02:10:10 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:10:10 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.179s coverage: 36.9% of statements 02:10:10 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:10:10 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 02:10:10 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.792s coverage: 76.2% of statements 02:10:10 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:10:10 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:10:10 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:10:10 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.039s coverage: 52.6% of statements 02:10:10 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 02:10:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 71.4% of statements 02:10:10 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:10:10 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:10:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:10:14 gofmt -l . 02:10:14 [ "`gofmt -l .`" = "" ] 02:10:14 ./bin/test-attribution-txt.sh 02:10:15 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:10:16 Warning: overwriting stash ‘coverage-report’ 02:10:16 Stashed 1 file(s) [Pipeline] } 02:10:16 $ docker stop --time=1 088baa4af356f07b5f5572fbc4d3ee3785b2fd3842f06f260afcc1f354ac068e 02:10:18 $ docker rm -f 088baa4af356f07b5f5572fbc4d3ee3785b2fd3842f06f260afcc1f354ac068e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:10:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:10:20 + ls -al . 02:10:20 total 204 02:10:20 drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 02:10 . 02:10:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 02:07 .. 02:10:20 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 02:07 .dockerignore 02:10:20 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 02:07 .git 02:10:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 02:07 .github 02:10:20 -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 02:07 .gitignore 02:10:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 02:08 .semver 02:10:20 -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 02:07 Dockerfile.build 02:10:20 -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 02:07 Jenkinsfile 02:10:20 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 02:07 LICENSE 02:10:20 -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 02:07 Makefile 02:10:20 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 02:07 README.md 02:10:20 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 02:05 VERSION 02:10:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 02:07 api 02:10:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 02:07 bin 02:10:20 -rw-r--r-- 1 jenkins jenkins 98831 Apr 21 02:10 coverage.out 02:10:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 02:07 example 02:10:20 -rw-r--r-- 1 jenkins jenkins 446 Apr 21 02:10 go.mod 02:10:20 -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 02:10 go.sum 02:10:20 drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 02:07 internal 02:10:20 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 02:07 pkg 02:10:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 02:07 snap 02:10:20 -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 02:07 version.go [Pipeline] isUnix [Pipeline] sh 02:10: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=48f597e7a21d7198b45a17a617ee6a77924ff016 --label arch=arm64 --label version=0.0.0 . 02:10:21 Sending build context to Docker daemon 3.061MB 02:10:21 Step 1/21 : ARG BASE=golang:1.13-alpine 02:10:21 Step 2/21 : FROM ${BASE} AS builder 02:10:21 ---> 1eb36a3d7726 02:10:21 Step 3/21 : ARG MAKE='make build' 02:10:21 ---> Running in 127ef3eb199b 02:10:22 Removing intermediate container 127ef3eb199b 02:10:22 ---> aee7eebd6de3 02:10:22 Step 4/21 : WORKDIR /device-sdk-go 02:10:22 ---> Running in cb41cac506c9 02:10:22 Removing intermediate container cb41cac506c9 02:10:22 ---> 2d3b92dc3940 02:10:22 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:10:22 ---> Running in b5c114992027 02:10:22 Removing intermediate container b5c114992027 02:10:22 ---> 8e22d55b3ebc 02:10:22 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:10:23 ---> Running in e896c1ee2b48 02:10:25 Removing intermediate container e896c1ee2b48 02:10:25 ---> d009b20669bb 02:10:25 Step 7/21 : RUN apk add --update --no-cache make git 02:10:25 ---> Running in 5f0d3a76f555 02:10:26 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:10:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:10:27 OK: 125 MiB in 39 packages 02:10:28 Removing intermediate container 5f0d3a76f555 02:10:28 ---> 3a764ee7126c 02:10:28 Step 8/21 : COPY . . 02:10:29 ---> 7e4ec200312b 02:10:29 Step 9/21 : RUN ${MAKE} 02:10:29 ---> Running in a71d24f8f586 02:10:30 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:10:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:10:55 Removing intermediate container a71d24f8f586 02:10:55 ---> 304966fa4520 02:10:55 Step 10/21 : FROM scratch 02:10:55 ---> 02:10:55 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:10:55 ---> Running in 677b4948b947 02:10:56 Removing intermediate container 677b4948b947 02:10:56 ---> 8d1d22fa8a2c 02:10:56 Step 12/21 : ENV APP_PORT=49990 02:10:56 ---> Running in fb28822c39c7 02:10:56 Removing intermediate container fb28822c39c7 02:10:56 ---> 10ddaf3f5b9b 02:10:56 Step 13/21 : EXPOSE $APP_PORT 02:10:56 ---> Running in 5df072e56434 02:10:56 Removing intermediate container 5df072e56434 02:10:56 ---> ce6dd02f2aad 02:10:56 Step 14/21 : WORKDIR / 02:10:56 ---> Running in d23dfb23a127 02:10:57 Removing intermediate container d23dfb23a127 02:10:57 ---> 3038a52b43f8 02:10:57 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:10:58 ---> 3407cc7b7d4c 02:10:58 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:10:58 ---> bb00066f00dd 02:10:58 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:10:59 ---> 6ea8c13e91cf 02:10:59 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:10:59 ---> Running in 090fc754a5b4 02:10:59 Removing intermediate container 090fc754a5b4 02:10:59 ---> 27cf0cfab29c 02:10:59 Step 19/21 : LABEL arch=arm64 02:10:59 ---> Running in 8d56e87275fb 02:11:00 Removing intermediate container 8d56e87275fb 02:11:00 ---> b3de5021a444 02:11:00 Step 20/21 : LABEL git_sha=48f597e7a21d7198b45a17a617ee6a77924ff016 02:11:00 ---> Running in cc22f9950e10 02:11:00 Removing intermediate container cc22f9950e10 02:11:00 ---> 9c655af7cd17 02:11:00 Step 21/21 : LABEL version=0.0.0 02:11:00 ---> Running in a3265ac4be7a 02:11:01 Removing intermediate container a3265ac4be7a 02:11:01 ---> 163241bd4ffa 02:11:01 [Warning] One or more build-args [ARCH] were not consumed 02:11:01 Successfully built 163241bd4ffa 02:11:01 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:11:03 provisioning config files... 02:11:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/config6350420322227027485tmp [Pipeline] { [Pipeline] sh 02:11:03 + curl -s https://codecov.io/bash 02:11:03 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/config6350420322227027485tmp 02:11:03 02:11:03 _____ _ 02:11:03 / ____| | | 02:11:03 | | ___ __| | ___ ___ _____ __ 02:11:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:11:03 | |___| (_) | (_| | __/ (_| (_) \ V / 02:11:03 \_____\___/ \__,_|\___|\___\___/ \_/ 02:11:03 Bash-tbd 02:11:03 02:11:03 02:11:03 ==> Jenkins CI detected. 02:11:03 project root: . 02:11:03 Fixing merge commit SHA 02:11:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:11:03 ==> Running gcov in . (disable via -X gcov) 02:11:03 ==> Python coveragepy not found 02:11:03 ==> Searching for coverage reports in: 02:11:03 + . 02:11:03 -> Found 1 reports 02:11:03 ==> Detecting git/mercurial file structure 02:11:03 ==> Reading reports 02:11:03 + ./coverage.out bytes=98831 02:11:03 ==> Appending adjustments 02:11:03 http://docs.codecov.io/docs/fixing-reports 02:11:04 + Found adjustments 02:11:04 ==> Gzipping contents 02:11:04 ==> Uploading reports 02:11:04 url: https://codecov.io 02:11:04 query: branch=PR-499&commit=e907dc85042501c8e2f4fb84c2bfa5a8a6549c65&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-499%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=499&job= 02:11:04 -> Pinging Codecov 02:11:04 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-499&commit=e907dc85042501c8e2f4fb84c2bfa5a8a6549c65&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-499%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=499&job= 02:11:04 -> Uploading 02:11:04 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e907dc85042501c8e2f4fb84c2bfa5a8a6549c65 [Pipeline] } 02:11:04 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:11:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:11:07 ---> package-listing.sh 02:11:07 ++ facter osfamily 02:11:07 ++ tr '[:upper:]' '[:lower:]' 02:11:07 + OS_FAMILY=redhat 02:11:07 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-499 02:11:07 + START_PACKAGES=/tmp/packages_start.txt 02:11:07 + END_PACKAGES=/tmp/packages_end.txt 02:11:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:11:07 + PACKAGES=/tmp/packages_start.txt 02:11:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-499 ']' 02:11:07 + PACKAGES=/tmp/packages_end.txt 02:11:07 + case "${OS_FAMILY}" in 02:11:07 + rpm -qa 02:11:07 + sort 02:11:11 + '[' -f /tmp/packages_start.txt ']' 02:11:11 + '[' -f /tmp/packages_end.txt ']' 02:11:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:11:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-499 ']' 02:11:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-499/archives/ 02:11:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-499/archives/ [Pipeline] isUnix [Pipeline] sh 02:11:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:11:11 02:11:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:11:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:11:12 alpine: Pulling from edgex-lftools-log-publisher 02:11:12 c9b1b535fdd9: Pulling fs layer 02:11:12 2cc5ad85d9ab: Pulling fs layer 02:11:12 756a868c4378: Pulling fs layer 02:11:12 444b2fc9a129: Pulling fs layer 02:11:12 ea15f1150254: Pulling fs layer 02:11:12 41b27a9f41bf: Pulling fs layer 02:11:12 28c525ee5125: Pulling fs layer 02:11:12 094b1ea09ed8: Pulling fs layer 02:11:12 138eaada9080: Pulling fs layer 02:11:12 0622d0fa9048: Pulling fs layer 02:11:12 444b2fc9a129: Waiting 02:11:12 094b1ea09ed8: Waiting 02:11:12 138eaada9080: Waiting 02:11:12 0622d0fa9048: Waiting 02:11:12 ea15f1150254: Waiting 02:11:12 41b27a9f41bf: Waiting 02:11:12 28c525ee5125: Waiting 02:11:12 2cc5ad85d9ab: Verifying Checksum 02:11:12 2cc5ad85d9ab: Download complete 02:11:12 444b2fc9a129: Verifying Checksum 02:11:12 444b2fc9a129: Download complete 02:11:12 c9b1b535fdd9: Verifying Checksum 02:11:12 c9b1b535fdd9: Download complete 02:11:12 ea15f1150254: Verifying Checksum 02:11:12 ea15f1150254: Download complete 02:11:12 28c525ee5125: Verifying Checksum 02:11:12 28c525ee5125: Download complete 02:11:12 c9b1b535fdd9: Pull complete 02:11:12 756a868c4378: Verifying Checksum 02:11:12 756a868c4378: Download complete 02:11:12 2cc5ad85d9ab: Pull complete 02:11:12 138eaada9080: Verifying Checksum 02:11:12 138eaada9080: Download complete 02:11:12 0622d0fa9048: Verifying Checksum 02:11:12 0622d0fa9048: Download complete 02:11:12 094b1ea09ed8: Verifying Checksum 02:11:12 094b1ea09ed8: Download complete 02:11:13 41b27a9f41bf: Verifying Checksum 02:11:13 41b27a9f41bf: Download complete 02:11:14 756a868c4378: Pull complete 02:11:14 444b2fc9a129: Pull complete 02:11:14 ea15f1150254: Pull complete 02:11:17 41b27a9f41bf: Pull complete 02:11:17 28c525ee5125: Pull complete 02:11:19 094b1ea09ed8: Pull complete 02:11:19 138eaada9080: Pull complete 02:11:20 0622d0fa9048: Pull complete 02:11:20 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:11:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:11:20 prd-centos7-docker-4c-2g-5088 does not seem to be running inside a container 02:11:20 $ 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-499 -v /w/workspace/dgexfoundry_device-sdk-go_PR-499:/w/workspace/dgexfoundry_device-sdk-go_PR-499:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:11:21 $ docker top 25cba6ced39e56824dd5e90a90ffbf301f21475110fc398ad11f1c744850f6e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:21 provisioning config files... 02:11:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/config1824848730894723730tmp [Pipeline] { [Pipeline] echo 02:11:21 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:11:22 ---> create-netrc.sh [Pipeline] echo 02:11:22 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:11:22 ---> logs-deploy.sh 02:11:22 + ARCHIVE_ARTIFACTS= 02:11:22 + LOGS_SERVER=https://logs.edgexfoundry.org 02:11:22 + '[' https://logs.edgexfoundry.org == None ']' 02:11:22 + NEXUS_URL=https://nexus.edgexfoundry.org 02:11:22 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-499/1 02:11:22 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-499/1/ 02:11:22 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-499/1 /w/workspace/dgexfoundry_device-sdk-go_PR-499 02:11:23 Archives upload complete. 02:11:23 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-499/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-499/1/