Pull request #531 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of dnoliver for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 06597099208d767b199b1ee3278a93f9e7a6e7dd rather than 388974858cf8b54e9044a2d4aeb64230445ce455 Obtained Jenkinsfile from 06597099208d767b199b1ee3278a93f9e7a6e7dd Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git https://github.com/edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-840 in /w/workspace/dgexfoundry_device-sdk-go_PR-531 [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 Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-531 # 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/531/head:refs/remotes/origin/PR-531 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/531/head:refs/remotes/origin/PR-531 # 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/531/head:refs/remotes/origin/PR-531 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 06597099208d767b199b1ee3278a93f9e7a6e7dd into PR head commit 388974858cf8b54e9044a2d4aeb64230445ce455 Merge succeeded, producing 388974858cf8b54e9044a2d4aeb64230445ce455 Checking out Revision 388974858cf8b54e9044a2d4aeb64230445ce455 (PR-531) > git config core.sparsecheckout # timeout=10 > git checkout -f 388974858cf8b54e9044a2d4aeb64230445ce455 # 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 06597099208d767b199b1ee3278a93f9e7a6e7dd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 388974858cf8b54e9044a2d4aeb64230445ce455 # timeout=10 Commit message: "Update Dockerfile" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk af8c5607e70d459dd4b42191360f2f21428da2d5 # timeout=10 [Pipeline] timeout 21:16:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:16:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:16:34 ========================================================= 21:16:34 EdgeX Global Pipelines Version Info 21:16:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:16:36 ------------------- 21:16:36 stable info: 21:16:36 ------------------- 21:16:36 Commited By: Emilio Reyes emilio.reyes@intel.com 21:16:36 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 21:16:36 Message: update stable to v1.0.87 21:16:36 ------------------- 21:16:36 experimental info: 21:16:36 ------------------- 21:16:36 Commited By: **** collab-it+edgex@linuxfoundation.org 21:16:36 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 21:16:36 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 21:16:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:16:38 21:16:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:16:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:16:39 latest: Pulling from edgex-devops/git-semver 21:16:39 9123ac7c32f7: Pulling fs layer 21:16:39 b8cc5d1170e3: Pulling fs layer 21:16:39 2924cbbf6a41: Pulling fs layer 21:16:39 93b08a4f1073: Pulling fs layer 21:16:39 93b08a4f1073: Waiting 21:16:39 b8cc5d1170e3: Verifying Checksum 21:16:39 b8cc5d1170e3: Download complete 21:16:39 9123ac7c32f7: Verifying Checksum 21:16:39 9123ac7c32f7: Download complete 21:16:39 93b08a4f1073: Verifying Checksum 21:16:39 93b08a4f1073: Download complete 21:16:39 2924cbbf6a41: Verifying Checksum 21:16:39 2924cbbf6a41: Download complete 21:16:39 9123ac7c32f7: Pull complete 21:16:39 b8cc5d1170e3: Pull complete 21:16:40 2924cbbf6a41: Pull complete 21:16:40 93b08a4f1073: Pull complete 21:16:40 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 21:16:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:16:40 prd-centos7-docker-4c-2g-840 does not seem to be running inside a container 21:16:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-531 -v /w/workspace/dgexfoundry_device-sdk-go_PR-531:/w/workspace/dgexfoundry_device-sdk-go_PR-531:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:16:41 $ docker top 02d3de6a579c3df38e5c35e01bf04fd31b06aa3c4062bbc84176371fd43de3ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:41 [ssh-agent] Looking for ssh-agent implementation... 21:16:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:42 $ docker exec 02d3de6a579c3df38e5c35e01bf04fd31b06aa3c4062bbc84176371fd43de3ff ssh-agent 21:16:42 SSH_AUTH_SOCK=/tmp/ssh-tbQQq2MtalzR/agent.15 21:16:42 SSH_AGENT_PID=22 21:16:42 Running ssh-add (command line suppressed) 21:16:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/private_key_8126453960850335223.key (/w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/private_key_8126453960850335223.key) 21:16:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:42 + git describe --exact-match --tags HEAD 21:16:42 fatal: No names found, cannot describe anything. [Pipeline] } 21:16:42 $ docker exec --env ******** --env ******** 02d3de6a579c3df38e5c35e01bf04fd31b06aa3c4062bbc84176371fd43de3ff ssh-agent -k 21:16:43 unset SSH_AUTH_SOCK; 21:16:43 unset SSH_AGENT_PID; 21:16:43 echo Agent pid 22 killed; 21:16:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:16:43 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 21:16:43 This usually means this commit has not been tagged. [Pipeline] sshagent 21:16:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:43 [ssh-agent] Looking for ssh-agent implementation... 21:16:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:43 $ docker exec 02d3de6a579c3df38e5c35e01bf04fd31b06aa3c4062bbc84176371fd43de3ff ssh-agent 21:16:43 SSH_AUTH_SOCK=/tmp/ssh-rP2vm9PIGXNZ/agent.55 21:16:43 SSH_AGENT_PID=61 21:16:43 Running ssh-add (command line suppressed) 21:16:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/private_key_7802135620886135979.key (/w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/private_key_7802135620886135979.key) 21:16:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:44 + git semver init 21:16:44 # -> Open(): unable to determine branch for HEAD 21:16:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-531/.git 21:16:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-531 21:16:44 # $SEMVER_REMOTE_NAME = origin 21:16:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:16:44 # $SEMVER_USER_NAME = edgex-jenkins 21:16:44 # $SEMVER_BRANCH = PR-531 21:16:44 # $SEMVER_TEMP = /tmp/semver-796692281 21:16:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 21:16:44 # '/tmp/semver-796692281' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-531/.semver' 21:16:44 # -> Force: false 21:16:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-531/.semver [Pipeline] } 21:16:44 $ docker exec --env ******** --env ******** 02d3de6a579c3df38e5c35e01bf04fd31b06aa3c4062bbc84176371fd43de3ff ssh-agent -k 21:16:45 unset SSH_AUTH_SOCK; 21:16:45 unset SSH_AGENT_PID; 21:16:45 echo Agent pid 61 killed; 21:16:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:45 + git semver [Pipeline] } 21:16:45 $ docker stop --time=1 02d3de6a579c3df38e5c35e01bf04fd31b06aa3c4062bbc84176371fd43de3ff 21:16:46 $ docker rm -f 02d3de6a579c3df38e5c35e01bf04fd31b06aa3c4062bbc84176371fd43de3ff [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 21:16:47 Stashed 65 file(s) [Pipeline] echo 21:16: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 21:17:02 Still waiting to schedule task 21:17:02 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-840’ 21:17:02 Still waiting to schedule task 21:17:02 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 21:18:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-841 in /w/workspace/dgexfoundry_device-sdk-go_PR-531 [Pipeline] { [Pipeline] ws 21:18:50 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 21:18:56 using credential edgex-jenkins-ssh 21:18:56 Cloning the remote Git repository 21:18:56 Cloning with configured refspecs honoured and without tags 21:18:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:18:57 > git init /w/workspace/device-sdk-go/3 # timeout=10 21:18:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:18:57 > git --version # timeout=10 21:18:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:18:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/531/head:refs/remotes/origin/PR-531 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:18:58 Fetching without tags 21:18:59 Merging remotes/origin/master commit 06597099208d767b199b1ee3278a93f9e7a6e7dd into PR head commit 388974858cf8b54e9044a2d4aeb64230445ce455 21:18:59 Merge succeeded, producing 388974858cf8b54e9044a2d4aeb64230445ce455 21:18:59 Checking out Revision 388974858cf8b54e9044a2d4aeb64230445ce455 (PR-531) 21:18:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:18:58 > git config --add remote.origin.fetch +refs/pull/531/head:refs/remotes/origin/PR-531 # timeout=10 21:18:58 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:18:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:18:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:18:58 using GIT_SSH to set credentials SSH Credentials for GitHub 21:18:58 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/531/head:refs/remotes/origin/PR-531 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:18:59 > git config core.sparsecheckout # timeout=10 21:18:59 > git checkout -f 388974858cf8b54e9044a2d4aeb64230445ce455 # timeout=10 21:18:59 > git remote # timeout=10 21:18:59 > git config --get remote.origin.url # timeout=10 21:18:59 using GIT_SSH to set credentials SSH Credentials for GitHub 21:18:59 > git merge 06597099208d767b199b1ee3278a93f9e7a6e7dd # timeout=10 21:18:59 > git rev-parse HEAD^{commit} # timeout=10 21:18:59 > git config core.sparsecheckout # timeout=10 21:18:59 > git checkout -f 388974858cf8b54e9044a2d4aeb64230445ce455 # timeout=10 21:19:03 Commit message: "Update Dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:19:05 ========================================================= 21:19:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 21:19:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:19:06 + 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 . 21:19:07 Sending build context to Docker daemon 3.056MB 21:19:07 Step 1/8 : ARG BASE=golang:1.13-alpine 21:19:07 Step 2/8 : FROM ${BASE} 21:19:07 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:19:07 cde5963f3b93: Pulling fs layer 21:19:07 2a23fa8c16f7: Pulling fs layer 21:19:07 777b28850792: Pulling fs layer 21:19:07 8a11ddd9e578: Pulling fs layer 21:19:07 4cf88f913ddb: Pulling fs layer 21:19:07 1df406cf5192: Pulling fs layer 21:19:07 cd6300453558: Pulling fs layer 21:19:07 b9c365052c96: Pulling fs layer 21:19:07 a2d8cc88f415: Pulling fs layer 21:19:07 ea1d1ca13537: Pulling fs layer 21:19:07 3750a50a1c5e: Pulling fs layer 21:19:07 cd6300453558: Waiting 21:19:07 b9c365052c96: Waiting 21:19:07 8a11ddd9e578: Waiting 21:19:07 a2d8cc88f415: Waiting 21:19:07 4cf88f913ddb: Waiting 21:19:07 ea1d1ca13537: Waiting 21:19:07 1df406cf5192: Waiting 21:19:07 3750a50a1c5e: Waiting 21:19:07 777b28850792: Verifying Checksum 21:19:07 777b28850792: Download complete 21:19:07 2a23fa8c16f7: Verifying Checksum 21:19:07 2a23fa8c16f7: Download complete 21:19:07 4cf88f913ddb: Verifying Checksum 21:19:07 4cf88f913ddb: Download complete 21:19:07 1df406cf5192: Verifying Checksum 21:19:07 1df406cf5192: Download complete 21:19:07 cde5963f3b93: Verifying Checksum 21:19:08 cde5963f3b93: Pull complete 21:19:09 2a23fa8c16f7: Pull complete 21:19:09 777b28850792: Pull complete 21:19:12 cd6300453558: Verifying Checksum 21:19:12 cd6300453558: Download complete 21:19:12 a2d8cc88f415: Download complete 21:19:14 ea1d1ca13537: Verifying Checksum 21:19:14 ea1d1ca13537: Download complete 21:19:14 3750a50a1c5e: Verifying Checksum 21:19:14 3750a50a1c5e: Download complete 21:19:17 b9c365052c96: Verifying Checksum 21:19:17 b9c365052c96: Download complete 21:19:18 8a11ddd9e578: Verifying Checksum 21:19:18 8a11ddd9e578: Download complete 21:19:30 Running on prd-centos7-docker-4c-2g-842 in /w/workspace/dgexfoundry_device-sdk-go_PR-531 [Pipeline] { [Pipeline] ws 21:19:30 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 21:19:31 8a11ddd9e578: Pull complete 21:19:31 4cf88f913ddb: Pull complete 21:19:31 1df406cf5192: Pull complete 21:19:32 using credential edgex-jenkins-ssh 21:19:32 Cloning the remote Git repository 21:19:32 Cloning with configured refspecs honoured and without tags 21:19:33 Fetching without tags 21:19:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:19:32 > git init /w/workspace/device-sdk-go/3 # timeout=10 21:19:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:19:33 > git --version # timeout=10 21:19:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/531/head:refs/remotes/origin/PR-531 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:19:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:19:33 > git config --add remote.origin.fetch +refs/pull/531/head:refs/remotes/origin/PR-531 # timeout=10 21:19:33 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:19:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:19:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:19:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/531/head:refs/remotes/origin/PR-531 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:19:34 Merging remotes/origin/master commit 06597099208d767b199b1ee3278a93f9e7a6e7dd into PR head commit 388974858cf8b54e9044a2d4aeb64230445ce455 21:19:34 Merge succeeded, producing 388974858cf8b54e9044a2d4aeb64230445ce455 21:19:34 Checking out Revision 388974858cf8b54e9044a2d4aeb64230445ce455 (PR-531) 21:19:34 > git config core.sparsecheckout # timeout=10 21:19:34 > git checkout -f 388974858cf8b54e9044a2d4aeb64230445ce455 # timeout=10 21:19:34 > git remote # timeout=10 21:19:34 > git config --get remote.origin.url # timeout=10 21:19:34 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:34 > git merge 06597099208d767b199b1ee3278a93f9e7a6e7dd # timeout=10 21:19:34 > git rev-parse HEAD^{commit} # timeout=10 21:19:34 > git config core.sparsecheckout # timeout=10 21:19:34 > git checkout -f 388974858cf8b54e9044a2d4aeb64230445ce455 # timeout=10 21:19:36 cd6300453558: Pull complete 21:19:38 Commit message: "Update Dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:19:38 ========================================================= 21:19:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 21:19:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:19:39 + 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 . 21:19:39 Sending build context to Docker daemon 3.056MB 21:19:39 Step 1/8 : ARG BASE=golang:1.13-alpine 21:19:39 Step 2/8 : FROM ${BASE} 21:19:39 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 21:19:40 e6b0cf9c0882: Pulling fs layer 21:19:40 2848faf0eed1: Pulling fs layer 21:19:40 0f37312ad70f: Pulling fs layer 21:19:40 5788d62ee057: Pulling fs layer 21:19:40 0e6b1d234666: Pulling fs layer 21:19:40 bf5d7aec512f: Pulling fs layer 21:19:40 34c802a77dc8: Pulling fs layer 21:19:40 9eb99e56ec68: Pulling fs layer 21:19:40 27c7a5d97fbd: Pulling fs layer 21:19:40 5c102a31e300: Pulling fs layer 21:19:40 dcfb455df0a1: Pulling fs layer 21:19:40 34c802a77dc8: Waiting 21:19:40 9eb99e56ec68: Waiting 21:19:40 27c7a5d97fbd: Waiting 21:19:40 5c102a31e300: Waiting 21:19:40 5788d62ee057: Waiting 21:19:40 dcfb455df0a1: Waiting 21:19:40 0e6b1d234666: Waiting 21:19:40 bf5d7aec512f: Waiting 21:19:40 0f37312ad70f: Verifying Checksum 21:19:40 0f37312ad70f: Download complete 21:19:40 2848faf0eed1: Verifying Checksum 21:19:40 2848faf0eed1: Download complete 21:19:40 0e6b1d234666: Verifying Checksum 21:19:40 0e6b1d234666: Download complete 21:19:40 bf5d7aec512f: Verifying Checksum 21:19:40 bf5d7aec512f: Download complete 21:19:40 e6b0cf9c0882: Verifying Checksum 21:19:40 e6b0cf9c0882: Pull complete 21:19:40 2848faf0eed1: Pull complete 21:19:41 34c802a77dc8: Verifying Checksum 21:19:41 34c802a77dc8: Download complete 21:19:41 27c7a5d97fbd: Verifying Checksum 21:19:41 27c7a5d97fbd: Download complete 21:19:41 b9c365052c96: Pull complete 21:19:41 a2d8cc88f415: Pull complete 21:19:41 5c102a31e300: Verifying Checksum 21:19:41 5c102a31e300: Download complete 21:19:41 dcfb455df0a1: Verifying Checksum 21:19:41 dcfb455df0a1: Download complete 21:19:41 5788d62ee057: Verifying Checksum 21:19:41 5788d62ee057: Download complete 21:19:41 9eb99e56ec68: Download complete 21:19:43 0f37312ad70f: Pull complete 21:19:43 ea1d1ca13537: Pull complete 21:19:43 3750a50a1c5e: Pull complete 21:19:43 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 21:19:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 21:19:43 ---> 78745c68409d 21:19:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:19:47 ---> Running in 5a45cfc23f40 21:19:47 Removing intermediate container 5a45cfc23f40 21:19:47 ---> 8bc89c0ea115 21:19:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:19:48 ---> Running in 150104560dc9 21:19:49 5788d62ee057: Pull complete 21:19:49 0e6b1d234666: Pull complete 21:19:49 bf5d7aec512f: Pull complete 21:19:50 Removing intermediate container 150104560dc9 21:19:50 ---> 418c51da77b6 21:19:50 Step 5/8 : RUN apk add --no-cache make git 21:19:50 ---> Running in 2b24ac0c7cd7 21:19:51 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:19:52 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:19:52 OK: 125 MiB in 39 packages 21:19:53 34c802a77dc8: Pull complete 21:19:54 Removing intermediate container 2b24ac0c7cd7 21:19:54 ---> 939aa4bf6152 21:19:54 Step 6/8 : WORKDIR /device-sdk-go 21:19:54 ---> Running in 115c1984dc4c 21:19:54 Removing intermediate container 115c1984dc4c 21:19:54 ---> 80fc6204421d 21:19:54 Step 7/8 : COPY . . 21:19:55 ---> 37bb0ce57f0d 21:19:55 Step 8/8 : RUN go mod download 21:19:55 ---> Running in 4f990454cd09 21:19:56 9eb99e56ec68: Pull complete 21:19:56 27c7a5d97fbd: Pull complete 21:19:57 5c102a31e300: Pull complete 21:19:57 dcfb455df0a1: Pull complete 21:19:57 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 21:19:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 21:19:57 ---> 7c70fe431013 21:19:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:19:57 ---> Running in b8a6def1c77d 21:19:57 go: finding github.com/BurntSushi/toml v0.3.1 21:19:57 go: finding github.com/OneOfOne/xxhash v1.2.6 21:19:57 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:19:57 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:19:57 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:19:57 go: finding github.com/bgentry/speakeasy v0.1.0 21:19:57 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:19:57 go: finding github.com/davecgh/go-spew v1.1.1 21:19:57 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 21:19:57 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:19:57 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 21:19:57 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 21:19:57 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:19:57 go: finding github.com/fatih/color v1.7.0 21:19:57 go: finding github.com/fxamacker/cbor/v2 v2.2.0 21:19:57 go: finding github.com/go-kit/kit v0.8.0 21:19:57 go: finding github.com/go-logfmt/logfmt v0.4.0 21:19:57 Removing intermediate container b8a6def1c77d 21:19:57 ---> a5b9e524aeca 21:19:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:19:57 ---> Running in 8bc1ad0e0593 21:19:58 go: finding github.com/go-stack/stack v1.8.0 21:19:58 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:19:58 go: finding github.com/google/uuid v1.1.0 21:19:58 go: finding github.com/gorilla/mux v1.7.1 21:19:58 go: finding github.com/hashicorp/consul/api v1.1.0 21:19:58 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:19:58 go: finding github.com/hashicorp/errwrap v1.0.0 21:19:58 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:19:58 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:19:58 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:19:58 go: finding github.com/hashicorp/go-multierror v1.0.0 21:19:58 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:19:58 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:19:58 go: finding github.com/hashicorp/go-syslog v1.0.0 21:19:58 go: finding github.com/hashicorp/go-uuid v1.0.1 21:19:58 go: finding github.com/hashicorp/go.net v0.0.1 21:19:58 go: finding github.com/hashicorp/golang-lru v0.5.0 21:19:58 go: finding github.com/hashicorp/logutils v1.0.0 21:19:58 go: finding github.com/hashicorp/mdns v1.0.0 21:19:58 go: finding github.com/hashicorp/memberlist v0.1.3 21:19:58 go: finding github.com/hashicorp/serf v0.8.2 21:19:58 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:19:58 go: finding github.com/mattn/go-colorable v0.0.9 21:19:58 go: finding github.com/mattn/go-isatty v0.0.3 21:19:58 go: finding github.com/miekg/dns v1.0.14 21:19:58 go: finding github.com/mitchellh/cli v1.0.0 21:19:58 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:19:58 go: finding github.com/mitchellh/copystructure v1.0.0 21:19:58 go: finding github.com/mitchellh/go-homedir v1.0.0 21:19:58 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:19:58 go: finding github.com/mitchellh/gox v0.4.0 21:19:58 go: finding github.com/mitchellh/iochan v1.0.0 21:19:58 go: finding github.com/mitchellh/mapstructure v1.1.2 21:19:58 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:19:58 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:19:58 go: finding github.com/pelletier/go-toml v1.2.0 21:19:58 go: finding github.com/pkg/errors v0.8.1 21:19:58 go: finding github.com/pmezard/go-difflib v1.0.0 21:19:58 go: finding github.com/posener/complete v1.1.1 21:19:58 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:19:58 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:19:58 go: finding github.com/stretchr/objx v0.1.0 21:19:58 go: finding github.com/stretchr/testify v1.5.1 21:19:58 go: finding github.com/ugorji/go v1.1.4 21:19:58 go: finding github.com/x448/float16 v0.8.4 21:19:58 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 21:19:58 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 21:19:58 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:19:58 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 21:19:58 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 21:19:58 go: finding gopkg.in/yaml.v2 v2.2.8 21:19:58 Removing intermediate container 8bc1ad0e0593 21:19:58 ---> 7ccd990feadb 21:19:58 Step 5/8 : RUN apk add --no-cache make git 21:19:58 ---> Running in 7bd4a461c3fe 21:19:59 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:20:00 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:20:01 OK: 143 MiB in 39 packages 21:20:01 Removing intermediate container 7bd4a461c3fe 21:20:01 ---> f80849ac3d73 21:20:01 Step 6/8 : WORKDIR /device-sdk-go 21:20:01 ---> Running in 756ef0ded35c 21:20:01 Removing intermediate container 756ef0ded35c 21:20:01 ---> bc97ea438bd1 21:20:01 Step 7/8 : COPY . . 21:20:02 ---> c26b6a1c1b38 21:20:02 Step 8/8 : RUN go mod download 21:20:02 ---> Running in 79034cb3eb97 21:20:04 go: finding github.com/BurntSushi/toml v0.3.1 21:20:04 go: finding github.com/OneOfOne/xxhash v1.2.6 21:20:04 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:20:04 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:20:04 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:20:04 go: finding github.com/bgentry/speakeasy v0.1.0 21:20:04 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:20:04 go: finding github.com/davecgh/go-spew v1.1.1 21:20:04 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 21:20:04 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:20:04 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 21:20:04 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 21:20:04 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:20:04 go: finding github.com/fatih/color v1.7.0 21:20:04 go: finding github.com/fxamacker/cbor/v2 v2.2.0 21:20:04 go: finding github.com/go-kit/kit v0.8.0 21:20:04 go: finding github.com/go-logfmt/logfmt v0.4.0 21:20:04 go: finding github.com/go-stack/stack v1.8.0 21:20:04 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:20:04 go: finding github.com/google/uuid v1.1.0 21:20:04 go: finding github.com/gorilla/mux v1.7.1 21:20:04 go: finding github.com/hashicorp/consul/api v1.1.0 21:20:04 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:20:04 go: finding github.com/hashicorp/errwrap v1.0.0 21:20:04 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:20:04 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:20:04 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:20:04 go: finding github.com/hashicorp/go-multierror v1.0.0 21:20:04 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:20:04 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:20:04 go: finding github.com/hashicorp/go-syslog v1.0.0 21:20:04 go: finding github.com/hashicorp/go-uuid v1.0.1 21:20:04 go: finding github.com/hashicorp/go.net v0.0.1 21:20:04 go: finding github.com/hashicorp/golang-lru v0.5.0 21:20:04 go: finding github.com/hashicorp/logutils v1.0.0 21:20:04 go: finding github.com/hashicorp/mdns v1.0.0 21:20:04 go: finding github.com/hashicorp/memberlist v0.1.3 21:20:04 go: finding github.com/hashicorp/serf v0.8.2 21:20:04 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:20:04 go: finding github.com/mattn/go-colorable v0.0.9 21:20:04 go: finding github.com/mattn/go-isatty v0.0.3 21:20:04 go: finding github.com/miekg/dns v1.0.14 21:20:04 go: finding github.com/mitchellh/cli v1.0.0 21:20:04 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:20:04 go: finding github.com/mitchellh/copystructure v1.0.0 21:20:04 go: finding github.com/mitchellh/go-homedir v1.0.0 21:20:04 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:20:04 go: finding github.com/mitchellh/gox v0.4.0 21:20:04 go: finding github.com/mitchellh/iochan v1.0.0 21:20:04 go: finding github.com/mitchellh/mapstructure v1.1.2 21:20:04 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:20:04 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:20:04 go: finding github.com/pelletier/go-toml v1.2.0 21:20:04 go: finding github.com/pkg/errors v0.8.1 21:20:04 go: finding github.com/pmezard/go-difflib v1.0.0 21:20:04 go: finding github.com/posener/complete v1.1.1 21:20:04 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:20:04 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:20:04 go: finding github.com/stretchr/objx v0.1.0 21:20:04 go: finding github.com/stretchr/testify v1.5.1 21:20:04 go: finding github.com/ugorji/go v1.1.4 21:20:04 go: finding github.com/x448/float16 v0.8.4 21:20:04 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 21:20:04 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 21:20:04 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:20:04 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 21:20:04 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 21:20:04 go: finding gopkg.in/yaml.v2 v2.2.8 21:20:08 Removing intermediate container 4f990454cd09 21:20:08 ---> 7d4c0aa1fb8b 21:20:08 Successfully built 7d4c0aa1fb8b 21:20:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:20:09 + docker inspect -f . ci-base-image-arm64 21:20:10 . 21:20:10 Removing intermediate container 79034cb3eb97 21:20:10 ---> f088641f78eb 21:20:10 Successfully built f088641f78eb 21:20:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] withDockerContainer 21:20:10 prd-ubuntu18.04-docker-arm64-4c-16g-841 does not seem to be running inside a container 21:20:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:20:11 $ docker top 305fc02a228085ba7710039d947c85afbd3df689d468fe5e1d793cb46337e8d0 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:20:13 + docker inspect -f . ci-base-image-x86_64 21:20:13 . [Pipeline] withDockerContainer 21:20:13 + go version 21:20:13 go version go1.13.5 linux/arm64 21:20:13 prd-centos7-docker-4c-2g-842 does not seem to be running inside a container 21:20:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:20:13 $ docker top 8cd75c389314631292a336d85152e859b991959500b6b6078e4030c1999368da -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 21:20:14 + go version 21:20:14 go version go1.13.5 linux/amd64 [Pipeline] sh 21:20:14 + make test 21:20:14 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:20:14 + make test 21:20:14 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:20:15 ? github.com/edgexfoundry/device-sdk-go [no test files] 21:20:16 ? github.com/edgexfoundry/device-sdk-go [no test files] 21:20:25 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 21:20:25 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 21:20:25 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 21:20:26 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.013s coverage: 22.1% of statements 21:20:29 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.047s coverage: 95.8% of statements 21:20:43 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 21:20:43 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 21:20:43 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 21:20:45 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements 21:20:47 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.157s coverage: 95.8% of statements 21:21:01 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.031s coverage: 11.4% of statements 21:21:01 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 21.7% of statements 21:21:01 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 21:21:01 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.118s coverage: 36.9% of statements 21:21:01 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 21:21:01 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 21:21:01 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.336s coverage: 65.2% of statements 21:21:01 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 21:21:01 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 21:21:01 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 21:21:01 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.012s coverage: 52.6% of statements 21:21:01 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 21:21:01 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.114s coverage: 68.9% of statements 21:21:01 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 21:21:01 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 21:21:01 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:21:01 gofmt -l . 21:21:01 [ "`gofmt -l .`" = "" ] 21:21:01 ./bin/test-attribution-txt.sh 21:21:01 ./bin/test-go-mod-tidy.sh [Pipeline] stash 21:21:03 Stashed 1 file(s) [Pipeline] } 21:21:03 $ docker stop --time=1 8cd75c389314631292a336d85152e859b991959500b6b6078e4030c1999368da 21:21:04 $ docker rm -f 8cd75c389314631292a336d85152e859b991959500b6b6078e4030c1999368da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:21:06 + ls -al . 21:21:06 total 180 21:21:06 drwxrwxr-x. 11 jenkins jenkins 4096 May 26 21:21 . 21:21:06 drwxrwxr-x. 4 jenkins jenkins 28 May 26 21:19 .. 21:21:06 drwxrwxr-x. 3 jenkins jenkins 20 May 26 21:19 api 21:21:06 drwxrwxr-x. 2 jenkins jenkins 64 May 26 21:19 bin 21:21:06 -rw-r--r--. 1 jenkins jenkins 110877 May 26 21:20 coverage.out 21:21:06 -rw-rw-r--. 1 jenkins jenkins 936 May 26 21:19 Dockerfile.build 21:21:06 -rw-rw-r--. 1 jenkins jenkins 140 May 26 21:19 .dockerignore 21:21:06 drwxrwxr-x. 4 jenkins jenkins 48 May 26 21:19 example 21:21:06 drwxrwxr-x. 8 jenkins jenkins 179 May 26 21:19 .git 21:21:06 drwxrwxr-x. 2 jenkins jenkins 38 May 26 21:19 .github 21:21:06 -rw-rw-r--. 1 jenkins jenkins 138 May 26 21:19 .gitignore 21:21:06 -rw-r--r--. 1 jenkins jenkins 446 May 26 21:21 go.mod 21:21:06 -rw-r--r--. 1 jenkins jenkins 12179 May 26 21:21 go.sum 21:21:06 drwxrwxr-x. 15 jenkins jenkins 217 May 26 21:19 internal 21:21:06 -rw-rw-r--. 1 jenkins jenkins 808 May 26 21:19 Jenkinsfile 21:21:06 -rw-rw-r--. 1 jenkins jenkins 11341 May 26 21:19 LICENSE 21:21:06 -rw-rw-r--. 1 jenkins jenkins 892 May 26 21:19 Makefile 21:21:06 drwxrwxr-x. 5 jenkins jenkins 50 May 26 21:19 pkg 21:21:06 -rw-rw-r--. 1 jenkins jenkins 3166 May 26 21:19 README.md 21:21:06 -rw-rw-r--. 1 jenkins jenkins 3788 May 26 21:19 RELEASE-NOTES.txt 21:21:06 drwxrwxr-x. 3 jenkins jenkins 58 May 26 21:19 .semver 21:21:06 drwxrwxr-x. 4 jenkins jenkins 54 May 26 21:19 snap 21:21:06 -rw-rw-r--. 1 jenkins jenkins 5 May 26 21:16 VERSION 21:21:06 -rw-rw-r--. 1 jenkins jenkins 222 May 26 21:19 version.go [Pipeline] isUnix [Pipeline] sh 21:21:06 + 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=388974858cf8b54e9044a2d4aeb64230445ce455 --label arch=amd64 --label version=0.0.0 . 21:21:06 Sending build context to Docker daemon 3.184MB 21:21:06 Step 1/23 : ARG BASE=golang:1.13-alpine 21:21:06 Step 2/23 : FROM ${BASE} AS builder 21:21:06 ---> f088641f78eb 21:21:06 Step 3/23 : ARG MAKE='make build' 21:21:06 ---> Running in ca812f7dc45f 21:21:06 Removing intermediate container ca812f7dc45f 21:21:06 ---> dc35322eca1c 21:21:06 Step 4/23 : WORKDIR /device-sdk-go 21:21:07 ---> Running in 89b1d014ec4a 21:21:07 Removing intermediate container 89b1d014ec4a 21:21:07 ---> 61e506d2a2bb 21:21:07 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:21:07 ---> Running in 5a6156de45cc 21:21:07 Removing intermediate container 5a6156de45cc 21:21:07 ---> 76ccd9abf3f4 21:21:07 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:21:07 ---> Running in babbe9e5d752 21:21:08 Removing intermediate container babbe9e5d752 21:21:08 ---> a87af945551c 21:21:08 Step 7/23 : RUN apk add --update --no-cache make git 21:21:08 ---> Running in b814d4b086bc 21:21:08 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:21:09 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:21:10 OK: 143 MiB in 39 packages 21:21:10 Removing intermediate container b814d4b086bc 21:21:10 ---> 650833ad43de 21:21:10 Step 8/23 : COPY . . 21:21:10 ---> b4c696ea490f 21:21:10 Step 9/23 : RUN ${MAKE} 21:21:10 ---> Running in 59b90976124d 21:21:11 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 21:21:19 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:21:19 Removing intermediate container 59b90976124d 21:21:19 ---> 715ac517b7bc 21:21:19 Step 10/23 : FROM scratch 21:21:19 ---> 21:21:19 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:21:19 ---> Running in a6cb87bf1896 21:21:19 Removing intermediate container a6cb87bf1896 21:21:19 ---> 7fc512b5a870 21:21:19 Step 12/23 : ENV APP_PORT=49990 21:21:19 ---> Running in de1dd84d8286 21:21:20 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.048s coverage: 11.4% of statements 21:21:20 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 21.7% of statements 21:21:20 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 21:21:20 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.239s coverage: 36.9% of statements 21:21:20 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 21:21:20 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 21:21:20 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.544s coverage: 65.2% of statements 21:21:20 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 21:21:20 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 21:21:20 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 21:21:20 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.042s coverage: 52.6% of statements 21:21:20 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 21:21:20 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.331s coverage: 68.9% of statements 21:21:20 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 21:21:20 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 21:21:20 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:21:20 Removing intermediate container de1dd84d8286 21:21:20 ---> d1fa2ed66d85 21:21:20 Step 13/23 : EXPOSE $APP_PORT 21:21:20 ---> Running in 920a7e41cf26 21:21:20 Removing intermediate container 920a7e41cf26 21:21:20 ---> 4a1cedf1a8a6 21:21:20 Step 14/23 : WORKDIR / 21:21:20 ---> Running in e9e46703bb94 21:21:20 Removing intermediate container e9e46703bb94 21:21:20 ---> de13e5c343f2 21:21:20 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:21:20 ---> e49d55fb618e 21:21:20 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:21:21 ---> e369caf9d658 21:21:21 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:21:21 ---> 6368d6f79cfd 21:21:21 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:21:21 ---> 38f380a45aa3 21:21:21 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:21:21 ---> 7a996363ebf5 21:21:21 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:21:21 ---> Running in c88b27c5185c 21:21:21 Removing intermediate container c88b27c5185c 21:21:21 ---> 1cc64e880f59 21:21:21 Step 21/23 : LABEL arch=amd64 21:21:21 ---> Running in 30c2c16ab7f3 21:21:21 Removing intermediate container 30c2c16ab7f3 21:21:21 ---> 2e993c227f75 21:21:21 Step 22/23 : LABEL git_sha=388974858cf8b54e9044a2d4aeb64230445ce455 21:21:22 ---> Running in 0f6375fa7f75 21:21:22 Removing intermediate container 0f6375fa7f75 21:21:22 ---> 8b9efe53fc90 21:21:22 Step 23/23 : LABEL version=0.0.0 21:21:22 ---> Running in cb57e7a966ca 21:21:22 Removing intermediate container cb57e7a966ca 21:21:22 ---> 0261c2fe4f4c 21:21:22 [Warning] One or more build-args [ARCH] were not consumed 21:21:22 Successfully built 0261c2fe4f4c 21:21:22 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] } 21:21:23 gofmt -l . 21:21:23 [ "`gofmt -l .`" = "" ] 21:21:23 ./bin/test-attribution-txt.sh 21:21:24 ./bin/test-go-mod-tidy.sh [Pipeline] stash 21:21:25 Warning: overwriting stash ‘coverage-report’ 21:21:25 Stashed 1 file(s) [Pipeline] } 21:21:25 $ docker stop --time=1 305fc02a228085ba7710039d947c85afbd3df689d468fe5e1d793cb46337e8d0 21:21:27 $ docker rm -f 305fc02a228085ba7710039d947c85afbd3df689d468fe5e1d793cb46337e8d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:21:29 + ls -al . 21:21:29 total 220 21:21:29 drwxrwxr-x 11 jenkins jenkins 4096 May 26 21:21 . 21:21:29 drwxrwxr-x 4 jenkins jenkins 4096 May 26 21:18 .. 21:21:29 -rw-rw-r-- 1 jenkins jenkins 140 May 26 21:18 .dockerignore 21:21:29 drwxrwxr-x 8 jenkins jenkins 4096 May 26 21:19 .git 21:21:29 drwxrwxr-x 2 jenkins jenkins 4096 May 26 21:18 .github 21:21:29 -rw-rw-r-- 1 jenkins jenkins 138 May 26 21:18 .gitignore 21:21:29 drwxrwxr-x 3 jenkins jenkins 4096 May 26 21:19 .semver 21:21:29 -rw-rw-r-- 1 jenkins jenkins 936 May 26 21:18 Dockerfile.build 21:21:29 -rw-rw-r-- 1 jenkins jenkins 808 May 26 21:18 Jenkinsfile 21:21:29 -rw-rw-r-- 1 jenkins jenkins 11341 May 26 21:18 LICENSE 21:21:29 -rw-rw-r-- 1 jenkins jenkins 892 May 26 21:18 Makefile 21:21:29 -rw-rw-r-- 1 jenkins jenkins 3166 May 26 21:18 README.md 21:21:29 -rw-rw-r-- 1 jenkins jenkins 3788 May 26 21:18 RELEASE-NOTES.txt 21:21:29 -rw-rw-r-- 1 jenkins jenkins 5 May 26 21:16 VERSION 21:21:29 drwxrwxr-x 3 jenkins jenkins 4096 May 26 21:18 api 21:21:29 drwxrwxr-x 2 jenkins jenkins 4096 May 26 21:18 bin 21:21:29 -rw-r--r-- 1 jenkins jenkins 110877 May 26 21:21 coverage.out 21:21:29 drwxrwxr-x 4 jenkins jenkins 4096 May 26 21:18 example 21:21:29 -rw-r--r-- 1 jenkins jenkins 446 May 26 21:21 go.mod 21:21:29 -rw-r--r-- 1 jenkins jenkins 12179 May 26 21:21 go.sum 21:21:29 drwxrwxr-x 15 jenkins jenkins 4096 May 26 21:18 internal 21:21:29 drwxrwxr-x 5 jenkins jenkins 4096 May 26 21:18 pkg 21:21:29 drwxrwxr-x 4 jenkins jenkins 4096 May 26 21:18 snap 21:21:29 -rw-rw-r-- 1 jenkins jenkins 222 May 26 21:18 version.go [Pipeline] isUnix [Pipeline] sh 21:21:29 + 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=388974858cf8b54e9044a2d4aeb64230445ce455 --label arch=arm64 --label version=0.0.0 . 21:21:30 Sending build context to Docker daemon 3.184MB 21:21:30 Step 1/23 : ARG BASE=golang:1.13-alpine 21:21:30 Step 2/23 : FROM ${BASE} AS builder 21:21:30 ---> 7d4c0aa1fb8b 21:21:30 Step 3/23 : ARG MAKE='make build' 21:21:30 ---> Running in 13ecdef33d13 21:21:30 Removing intermediate container 13ecdef33d13 21:21:30 ---> d0097dd419eb 21:21:30 Step 4/23 : WORKDIR /device-sdk-go 21:21:30 ---> Running in 99d6ee450b6c 21:21:31 Removing intermediate container 99d6ee450b6c 21:21:31 ---> c8a7364bf275 21:21:31 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:21:31 ---> Running in a53c345964cb 21:21:31 Removing intermediate container a53c345964cb 21:21:31 ---> 19eba685d2f6 21:21:31 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:21:31 ---> Running in be3b965290d6 21:21:33 Removing intermediate container be3b965290d6 21:21:33 ---> ee130d8599f1 21:21:33 Step 7/23 : RUN apk add --update --no-cache make git 21:21:33 ---> Running in 8c3eb2690ea4 21:21:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:21:35 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:21:36 OK: 125 MiB in 39 packages 21:21:37 Removing intermediate container 8c3eb2690ea4 21:21:37 ---> 8073d2b8f383 21:21:37 Step 8/23 : COPY . . 21:21:38 ---> dd26c42fd3ac 21:21:38 Step 9/23 : RUN ${MAKE} 21:21:38 ---> Running in 04a4918ef9b7 21:21:39 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:22:06 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:22:06 Removing intermediate container 04a4918ef9b7 21:22:06 ---> 10f269bad6c3 21:22:06 Step 10/23 : FROM scratch 21:22:06 ---> 21:22:06 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:22:06 ---> Running in 2f61fa573ffd 21:22:06 Removing intermediate container 2f61fa573ffd 21:22:06 ---> 4b729061d681 21:22:06 Step 12/23 : ENV APP_PORT=49990 21:22:06 ---> Running in a8c1d2f96907 21:22:06 Removing intermediate container a8c1d2f96907 21:22:06 ---> 8875f5110932 21:22:06 Step 13/23 : EXPOSE $APP_PORT 21:22:06 ---> Running in 75e56ea125dc 21:22:06 Removing intermediate container 75e56ea125dc 21:22:06 ---> 3a4049843641 21:22:06 Step 14/23 : WORKDIR / 21:22:06 ---> Running in 243d5f4a4c56 21:22:06 Removing intermediate container 243d5f4a4c56 21:22:06 ---> 43eff6cfb1fd 21:22:06 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:22:07 ---> 300c9b9d38c5 21:22:07 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:22:08 ---> da09ec63a43c 21:22:08 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:22:09 ---> 9721568c9109 21:22:09 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:22:09 ---> 1a4e6a0d9e6c 21:22:09 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:22:10 ---> eec8dfd0b25c 21:22:10 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:22:10 ---> Running in 24686938a810 21:22:10 Removing intermediate container 24686938a810 21:22:10 ---> 507880c95723 21:22:10 Step 21/23 : LABEL arch=arm64 21:22:10 ---> Running in 9a9d7739654f 21:22:11 Removing intermediate container 9a9d7739654f 21:22:11 ---> f8a76ba1553c 21:22:11 Step 22/23 : LABEL git_sha=388974858cf8b54e9044a2d4aeb64230445ce455 21:22:11 ---> Running in 4389e396ce0b 21:22:11 Removing intermediate container 4389e396ce0b 21:22:11 ---> e18b6dd65232 21:22:11 Step 23/23 : LABEL version=0.0.0 21:22:11 ---> Running in e0f384a0799f 21:22:12 Removing intermediate container e0f384a0799f 21:22:12 ---> 6923188ca916 21:22:12 [Warning] One or more build-args [ARCH] were not consumed 21:22:12 Successfully built 6923188ca916 21:22:12 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 21:22:13 provisioning config files... 21:22:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/config3502697457182367607tmp [Pipeline] { [Pipeline] sh 21:22:14 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/config3502697457182367607tmp 21:22:14 + curl -s https://codecov.io/bash 21:22:14 21:22:14 _____ _ 21:22:14 / ____| | | 21:22:14 | | ___ __| | ___ ___ _____ __ 21:22:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:22:14 | |___| (_) | (_| | __/ (_| (_) \ V / 21:22:14 \_____\___/ \__,_|\___|\___\___/ \_/ 21:22:14 Bash-20200430-d757c17 21:22:14 21:22:14 21:22:14 ==> Jenkins CI detected. 21:22:14 project root: . 21:22:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:22:14 ==> Running gcov in . (disable via -X gcov) 21:22:14 ==> Python coveragepy not found 21:22:14 ==> Searching for coverage reports in: 21:22:14 + . 21:22:14 -> Found 1 reports 21:22:14 ==> Detecting git/mercurial file structure 21:22:14 ==> Reading reports 21:22:14 + ./coverage.out bytes=110877 21:22:14 ==> Appending adjustments 21:22:14 https://docs.codecov.io/docs/fixing-reports 21:22:14 + Found adjustments 21:22:14 ==> Gzipping contents 21:22:14 ==> Uploading reports 21:22:14 url: https://codecov.io 21:22:14 query: branch=PR-531&commit=388974858cf8b54e9044a2d4aeb64230445ce455&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-531%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=531&job= 21:22:14 -> Pinging Codecov 21:22:14 https://codecov.io/upload/v4?package=bash-20200430-d757c17&token=secret&branch=PR-531&commit=388974858cf8b54e9044a2d4aeb64230445ce455&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-531%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=531&job= 21:22:15 -> Uploading 21:22:15 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/388974858cf8b54e9044a2d4aeb64230445ce455 [Pipeline] } 21:22:15 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 21:22:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:22:17 ---> package-listing.sh 21:22:17 ++ facter osfamily 21:22:17 ++ tr '[:upper:]' '[:lower:]' 21:22:17 + OS_FAMILY=redhat 21:22:17 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-531 21:22:17 + START_PACKAGES=/tmp/packages_start.txt 21:22:17 + END_PACKAGES=/tmp/packages_end.txt 21:22:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:22:17 + PACKAGES=/tmp/packages_start.txt 21:22:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-531 ']' 21:22:17 + PACKAGES=/tmp/packages_end.txt 21:22:17 + case "${OS_FAMILY}" in 21:22:17 + rpm -qa 21:22:17 + sort 21:22:21 + '[' -f /tmp/packages_start.txt ']' 21:22:21 + '[' -f /tmp/packages_end.txt ']' 21:22:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:22:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-531 ']' 21:22:21 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-531/archives/ 21:22:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-531/archives/ [Pipeline] isUnix [Pipeline] sh 21:22:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:22:22 21:22:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:22:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:22:22 alpine: Pulling from edgex-lftools-log-publisher 21:22:22 c9b1b535fdd9: Pulling fs layer 21:22:22 2cc5ad85d9ab: Pulling fs layer 21:22:22 756a868c4378: Pulling fs layer 21:22:22 444b2fc9a129: Pulling fs layer 21:22:22 ea15f1150254: Pulling fs layer 21:22:22 41b27a9f41bf: Pulling fs layer 21:22:22 28c525ee5125: Pulling fs layer 21:22:22 094b1ea09ed8: Pulling fs layer 21:22:22 138eaada9080: Pulling fs layer 21:22:22 0622d0fa9048: Pulling fs layer 21:22:22 444b2fc9a129: Waiting 21:22:22 ea15f1150254: Waiting 21:22:22 41b27a9f41bf: Waiting 21:22:22 28c525ee5125: Waiting 21:22:22 094b1ea09ed8: Waiting 21:22:22 138eaada9080: Waiting 21:22:22 0622d0fa9048: Waiting 21:22:22 2cc5ad85d9ab: Verifying Checksum 21:22:22 2cc5ad85d9ab: Download complete 21:22:22 444b2fc9a129: Verifying Checksum 21:22:22 444b2fc9a129: Download complete 21:22:22 c9b1b535fdd9: Verifying Checksum 21:22:22 c9b1b535fdd9: Download complete 21:22:22 ea15f1150254: Verifying Checksum 21:22:22 ea15f1150254: Download complete 21:22:22 28c525ee5125: Verifying Checksum 21:22:22 28c525ee5125: Download complete 21:22:22 756a868c4378: Verifying Checksum 21:22:22 756a868c4378: Download complete 21:22:22 c9b1b535fdd9: Pull complete 21:22:22 138eaada9080: Verifying Checksum 21:22:22 138eaada9080: Download complete 21:22:22 0622d0fa9048: Verifying Checksum 21:22:22 0622d0fa9048: Download complete 21:22:23 094b1ea09ed8: Verifying Checksum 21:22:23 094b1ea09ed8: Download complete 21:22:23 2cc5ad85d9ab: Pull complete 21:22:23 41b27a9f41bf: Verifying Checksum 21:22:23 41b27a9f41bf: Download complete 21:22:24 756a868c4378: Pull complete 21:22:24 444b2fc9a129: Pull complete 21:22:25 ea15f1150254: Pull complete 21:22:29 41b27a9f41bf: Pull complete 21:22:29 28c525ee5125: Pull complete 21:22:31 094b1ea09ed8: Pull complete 21:22:33 138eaada9080: Pull complete 21:22:33 0622d0fa9048: Pull complete 21:22:33 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 21:22:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:22:33 prd-centos7-docker-4c-2g-840 does not seem to be running inside a container 21:22:33 $ 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-531 -v /w/workspace/dgexfoundry_device-sdk-go_PR-531:/w/workspace/dgexfoundry_device-sdk-go_PR-531:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:22:34 $ docker top c5f6f88f95d9e445c6b1d81ca85dc4db65df7f01ca9f7d37466e1c14929bfa64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:22:34 provisioning config files... 21:22:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/config3556109545222343718tmp [Pipeline] { [Pipeline] echo 21:22:34 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:22:35 ---> create-netrc.sh [Pipeline] echo 21:22:35 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:22:35 ---> logs-deploy.sh 21:22:35 + ARCHIVE_ARTIFACTS= 21:22:35 + LOGS_SERVER=https://logs.edgexfoundry.org 21:22:35 + '[' https://logs.edgexfoundry.org == None ']' 21:22:35 + NEXUS_URL=https://nexus.edgexfoundry.org 21:22:35 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-531/3 21:22:35 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-531/3/ 21:22:35 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-531/3 /w/workspace/dgexfoundry_device-sdk-go_PR-531 21:22:36 Archives upload complete. 21:22:36 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-531/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-531/3/