Pull request #531 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 dnoliver for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 06597099208d767b199b1ee3278a93f9e7a6e7dd rather than cebcf691a1867c414af877e7898d800615a7caa2 Obtained Jenkinsfile from 06597099208d767b199b1ee3278a93f9e7a6e7dd 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 a8d5489117fb74ecf2babedeac9793ec80335c77 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-531/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 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 > git --version # 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-833 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 > 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 Fetching without tags Merging remotes/origin/master commit 06597099208d767b199b1ee3278a93f9e7a6e7dd into PR head commit cebcf691a1867c414af877e7898d800615a7caa2 Merge succeeded, producing cebcf691a1867c414af877e7898d800615a7caa2 Checking out Revision cebcf691a1867c414af877e7898d800615a7caa2 (PR-531) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f cebcf691a1867c414af877e7898d800615a7caa2 # 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 cebcf691a1867c414af877e7898d800615a7caa2 # timeout=10 Commit message: "Update Dockefile" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:56:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:56:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:56:23 ========================================================= 20:56:23 EdgeX Global Pipelines Version Info 20:56:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:56:25 ------------------- 20:56:25 stable info: 20:56:25 ------------------- 20:56:25 Commited By: Emilio Reyes emilio.reyes@intel.com 20:56:25 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 20:56:25 Message: update stable to v1.0.87 20:56:26 ------------------- 20:56:26 experimental info: 20:56:26 ------------------- 20:56:26 Commited By: **** collab-it+edgex@linuxfoundation.org 20:56:26 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 20:56:26 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 20:56:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:56:30 20:56:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:56:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:56:30 latest: Pulling from edgex-devops/git-semver 20:56:30 9123ac7c32f7: Pulling fs layer 20:56:30 b8cc5d1170e3: Pulling fs layer 20:56:30 2924cbbf6a41: Pulling fs layer 20:56:30 93b08a4f1073: Pulling fs layer 20:56:30 93b08a4f1073: Waiting 20:56:30 b8cc5d1170e3: Download complete 20:56:30 9123ac7c32f7: Verifying Checksum 20:56:30 9123ac7c32f7: Download complete 20:56:30 2924cbbf6a41: Verifying Checksum 20:56:30 2924cbbf6a41: Download complete 20:56:30 93b08a4f1073: Verifying Checksum 20:56:30 93b08a4f1073: Download complete 20:56:31 9123ac7c32f7: Pull complete 20:56:31 b8cc5d1170e3: Pull complete 20:56:32 2924cbbf6a41: Pull complete 20:56:32 93b08a4f1073: Pull complete 20:56:32 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 20:56:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:56:32 prd-centos7-docker-4c-2g-833 does not seem to be running inside a container 20:56:32 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:56:33 $ docker top 5a5b79f0b3b96187ee054a4b74360734abac2758a3d1ad3447b7b8c3df5ce855 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:56:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:34 [ssh-agent] Looking for ssh-agent implementation... 20:56:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:34 $ docker exec 5a5b79f0b3b96187ee054a4b74360734abac2758a3d1ad3447b7b8c3df5ce855 ssh-agent 20:56:34 SSH_AUTH_SOCK=/tmp/ssh-jnH7ENLw80xV/agent.15 20:56:34 SSH_AGENT_PID=22 20:56:34 Running ssh-add (command line suppressed) 20:56:34 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/private_key_66981852984533865.key (/w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/private_key_66981852984533865.key) 20:56:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:35 + git describe --exact-match --tags HEAD 20:56:35 fatal: No names found, cannot describe anything. [Pipeline] } 20:56:35 $ docker exec --env ******** --env ******** 5a5b79f0b3b96187ee054a4b74360734abac2758a3d1ad3447b7b8c3df5ce855 ssh-agent -k 20:56:35 unset SSH_AUTH_SOCK; 20:56:35 unset SSH_AGENT_PID; 20:56:35 echo Agent pid 22 killed; 20:56:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:56:35 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:56:35 This usually means this commit has not been tagged. [Pipeline] sshagent 20:56:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:36 [ssh-agent] Looking for ssh-agent implementation... 20:56:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:36 $ docker exec 5a5b79f0b3b96187ee054a4b74360734abac2758a3d1ad3447b7b8c3df5ce855 ssh-agent 20:56:36 SSH_AUTH_SOCK=/tmp/ssh-99XjRIfiUZ8E/agent.57 20:56:36 SSH_AGENT_PID=64 20:56:36 Running ssh-add (command line suppressed) 20:56:36 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/private_key_6018949307330526936.key (/w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/private_key_6018949307330526936.key) 20:56:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:37 + git semver init 20:56:37 # -> Open(): unable to determine branch for HEAD 20:56:37 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-531/.git 20:56:37 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-531 20:56:37 # $SEMVER_REMOTE_NAME = origin 20:56:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:56:37 # $SEMVER_USER_NAME = edgex-jenkins 20:56:37 # $SEMVER_BRANCH = PR-531 20:56:37 # $SEMVER_TEMP = /tmp/semver-133035652 20:56:37 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 20:56:38 # '/tmp/semver-133035652' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-531/.semver' 20:56:38 # -> Force: false 20:56:38 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-531/.semver [Pipeline] } 20:56:38 $ docker exec --env ******** --env ******** 5a5b79f0b3b96187ee054a4b74360734abac2758a3d1ad3447b7b8c3df5ce855 ssh-agent -k 20:56:38 unset SSH_AUTH_SOCK; 20:56:38 unset SSH_AGENT_PID; 20:56:38 echo Agent pid 64 killed; 20:56:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:56:39 + git semver [Pipeline] } 20:56:39 $ docker stop --time=1 5a5b79f0b3b96187ee054a4b74360734abac2758a3d1ad3447b7b8c3df5ce855 20:56:40 $ docker rm -f 5a5b79f0b3b96187ee054a4b74360734abac2758a3d1ad3447b7b8c3df5ce855 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:56:41 Stashed 65 file(s) [Pipeline] echo 20:56:41 [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 20:56:57 Still waiting to schedule task 20:56:57 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-833’ 20:56:57 Still waiting to schedule task 20:56:57 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:58:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-834 in /w/workspace/dgexfoundry_device-sdk-go_PR-531 [Pipeline] { [Pipeline] ws 20:58:50 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:58:56 using credential edgex-jenkins-ssh 20:58:56 Cloning the remote Git repository 20:58:56 Cloning with configured refspecs honoured and without tags 20:58:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:58:56 > git init /w/workspace/device-sdk-go/1 # timeout=10 20:58:58 Fetching without tags 20:58:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:58:56 > git --version # timeout=10 20:58:56 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58: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 20:58:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:58:57 > git config --add remote.origin.fetch +refs/pull/531/head:refs/remotes/origin/PR-531 # timeout=10 20:58:57 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:58:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:58:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:58:58 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:58 Merging remotes/origin/master commit 06597099208d767b199b1ee3278a93f9e7a6e7dd into PR head commit cebcf691a1867c414af877e7898d800615a7caa2 20:58:59 Merge succeeded, producing cebcf691a1867c414af877e7898d800615a7caa2 20:58:59 Checking out Revision cebcf691a1867c414af877e7898d800615a7caa2 (PR-531) 20:58: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 20:58:58 > git config core.sparsecheckout # timeout=10 20:58:58 > git checkout -f cebcf691a1867c414af877e7898d800615a7caa2 # timeout=10 20:58:58 > git remote # timeout=10 20:58:58 > git config --get remote.origin.url # timeout=10 20:58:58 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:58 > git merge 06597099208d767b199b1ee3278a93f9e7a6e7dd # timeout=10 20:58:58 > git rev-parse HEAD^{commit} # timeout=10 20:58:59 > git config core.sparsecheckout # timeout=10 20:58:59 > git checkout -f cebcf691a1867c414af877e7898d800615a7caa2 # timeout=10 20:59:03 Commit message: "Update Dockefile" 20:59:03 > git --version # timeout=10 20:59:03 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:59:05 ========================================================= 20:59:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 20:59:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:59: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 . 20:59:07 Sending build context to Docker daemon 3.056MB 20:59:07 Step 1/8 : ARG BASE=golang:1.13-alpine 20:59:07 Step 2/8 : FROM ${BASE} 20:59:07 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:59:07 cde5963f3b93: Pulling fs layer 20:59:07 2a23fa8c16f7: Pulling fs layer 20:59:07 777b28850792: Pulling fs layer 20:59:07 8a11ddd9e578: Pulling fs layer 20:59:07 4cf88f913ddb: Pulling fs layer 20:59:07 1df406cf5192: Pulling fs layer 20:59:07 cd6300453558: Pulling fs layer 20:59:07 b9c365052c96: Pulling fs layer 20:59:07 a2d8cc88f415: Pulling fs layer 20:59:07 ea1d1ca13537: Pulling fs layer 20:59:07 3750a50a1c5e: Pulling fs layer 20:59:07 8a11ddd9e578: Waiting 20:59:07 4cf88f913ddb: Waiting 20:59:07 1df406cf5192: Waiting 20:59:07 cd6300453558: Waiting 20:59:07 a2d8cc88f415: Waiting 20:59:07 b9c365052c96: Waiting 20:59:07 777b28850792: Verifying Checksum 20:59:07 777b28850792: Download complete 20:59:07 2a23fa8c16f7: Verifying Checksum 20:59:07 2a23fa8c16f7: Download complete 20:59:07 4cf88f913ddb: Verifying Checksum 20:59:07 4cf88f913ddb: Download complete 20:59:07 1df406cf5192: Verifying Checksum 20:59:07 1df406cf5192: Download complete 20:59:07 cde5963f3b93: Verifying Checksum 20:59:07 cde5963f3b93: Download complete 20:59:08 cde5963f3b93: Pull complete 20:59:09 2a23fa8c16f7: Pull complete 20:59:09 777b28850792: Pull complete 20:59:12 cd6300453558: Verifying Checksum 20:59:12 cd6300453558: Download complete 20:59:12 a2d8cc88f415: Download complete 20:59:14 ea1d1ca13537: Verifying Checksum 20:59:14 ea1d1ca13537: Download complete 20:59:14 3750a50a1c5e: Verifying Checksum 20:59:14 3750a50a1c5e: Download complete 20:59:15 Running on prd-centos7-docker-4c-2g-835 in /w/workspace/dgexfoundry_device-sdk-go_PR-531 [Pipeline] { [Pipeline] ws 20:59:15 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:59:17 b9c365052c96: Verifying Checksum 20:59:17 b9c365052c96: Download complete 20:59:17 using credential edgex-jenkins-ssh 20:59:18 Cloning the remote Git repository 20:59:18 Cloning with configured refspecs honoured and without tags 20:59:18 Fetching without tags 20:59:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:59:17 > git init /w/workspace/device-sdk-go/1 # timeout=10 20:59:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:59:17 > git --version # timeout=10 20:59:17 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:17 > 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 20:59:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:59:18 > git config --add remote.origin.fetch +refs/pull/531/head:refs/remotes/origin/PR-531 # timeout=10 20:59:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:59:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:59:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:59:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:18 > 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 20:59:19 Merging remotes/origin/master commit 06597099208d767b199b1ee3278a93f9e7a6e7dd into PR head commit cebcf691a1867c414af877e7898d800615a7caa2 20:59:19 Merge succeeded, producing cebcf691a1867c414af877e7898d800615a7caa2 20:59:19 Checking out Revision cebcf691a1867c414af877e7898d800615a7caa2 (PR-531) 20:59:19 8a11ddd9e578: Verifying Checksum 20:59:19 8a11ddd9e578: Download complete 20:59:19 > git config core.sparsecheckout # timeout=10 20:59:19 > git checkout -f cebcf691a1867c414af877e7898d800615a7caa2 # timeout=10 20:59:19 > git remote # timeout=10 20:59:19 > git config --get remote.origin.url # timeout=10 20:59:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:19 > git merge 06597099208d767b199b1ee3278a93f9e7a6e7dd # timeout=10 20:59:19 > git rev-parse HEAD^{commit} # timeout=10 20:59:19 > git config core.sparsecheckout # timeout=10 20:59:19 > git checkout -f cebcf691a1867c414af877e7898d800615a7caa2 # timeout=10 20:59:23 Commit message: "Update Dockefile" 20:59:23 > git --version # timeout=10 20:59:23 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:59:24 ========================================================= 20:59:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 20:59:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:59: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 . 20:59:25 Sending build context to Docker daemon 3.058MB 20:59:25 Step 1/8 : ARG BASE=golang:1.13-alpine 20:59:25 Step 2/8 : FROM ${BASE} 20:59:25 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 20:59:25 e6b0cf9c0882: Pulling fs layer 20:59:25 2848faf0eed1: Pulling fs layer 20:59:25 0f37312ad70f: Pulling fs layer 20:59:25 5788d62ee057: Pulling fs layer 20:59:25 0e6b1d234666: Pulling fs layer 20:59:25 bf5d7aec512f: Pulling fs layer 20:59:25 34c802a77dc8: Pulling fs layer 20:59:25 9eb99e56ec68: Pulling fs layer 20:59:25 27c7a5d97fbd: Pulling fs layer 20:59:25 5c102a31e300: Pulling fs layer 20:59:25 dcfb455df0a1: Pulling fs layer 20:59:25 34c802a77dc8: Waiting 20:59:25 9eb99e56ec68: Waiting 20:59:25 27c7a5d97fbd: Waiting 20:59:25 dcfb455df0a1: Waiting 20:59:25 5788d62ee057: Waiting 20:59:25 0e6b1d234666: Waiting 20:59:25 bf5d7aec512f: Waiting 20:59:25 0f37312ad70f: Verifying Checksum 20:59:25 0f37312ad70f: Download complete 20:59:25 2848faf0eed1: Download complete 20:59:25 0e6b1d234666: Verifying Checksum 20:59:25 0e6b1d234666: Download complete 20:59:25 bf5d7aec512f: Verifying Checksum 20:59:25 bf5d7aec512f: Download complete 20:59:25 e6b0cf9c0882: Verifying Checksum 20:59:25 e6b0cf9c0882: Download complete 20:59:25 e6b0cf9c0882: Pull complete 20:59:26 34c802a77dc8: Verifying Checksum 20:59:26 34c802a77dc8: Download complete 20:59:26 27c7a5d97fbd: Verifying Checksum 20:59:26 27c7a5d97fbd: Download complete 20:59:26 5c102a31e300: Verifying Checksum 20:59:26 5c102a31e300: Download complete 20:59:26 dcfb455df0a1: Verifying Checksum 20:59:26 dcfb455df0a1: Download complete 20:59:26 9eb99e56ec68: Verifying Checksum 20:59:26 9eb99e56ec68: Download complete 20:59:26 5788d62ee057: Verifying Checksum 20:59:26 5788d62ee057: Download complete 20:59:27 2848faf0eed1: Pull complete 20:59:28 0f37312ad70f: Pull complete 20:59:32 8a11ddd9e578: Pull complete 20:59:32 4cf88f913ddb: Pull complete 20:59:32 1df406cf5192: Pull complete 20:59:34 5788d62ee057: Pull complete 20:59:34 0e6b1d234666: Pull complete 20:59:34 bf5d7aec512f: Pull complete 20:59:36 cd6300453558: Pull complete 20:59:38 34c802a77dc8: Pull complete 20:59:40 b9c365052c96: Pull complete 20:59:41 a2d8cc88f415: Pull complete 20:59:43 ea1d1ca13537: Pull complete 20:59:43 9eb99e56ec68: Pull complete 20:59:43 27c7a5d97fbd: Pull complete 20:59:43 5c102a31e300: Pull complete 20:59:43 3750a50a1c5e: Pull complete 20:59:43 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 20:59:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 20:59:43 ---> 78745c68409d 20:59:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:59:43 dcfb455df0a1: Pull complete 20:59:43 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 20:59:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 20:59:43 ---> 7c70fe431013 20:59:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:59:44 ---> Running in fa7873158b85 20:59:44 Removing intermediate container fa7873158b85 20:59:44 ---> 3d564d6808f5 20:59:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:59:44 ---> Running in 8755d687f8a9 20:59:44 Removing intermediate container 8755d687f8a9 20:59:44 ---> 9b6c105b8fd6 20:59:44 Step 5/8 : RUN apk add --no-cache make git 20:59:44 ---> Running in c0ccebc95346 20:59:45 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 20:59:46 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 20:59:46 OK: 143 MiB in 39 packages 20:59:46 Removing intermediate container c0ccebc95346 20:59:46 ---> b9aedbbd9058 20:59:46 Step 6/8 : WORKDIR /device-sdk-go 20:59:46 ---> Running in 928408f4c541 20:59:46 Removing intermediate container 928408f4c541 20:59:46 ---> a2deefce2a28 20:59:46 Step 7/8 : COPY . . 20:59:47 ---> Running in 28ca9487f331 20:59:47 Removing intermediate container 28ca9487f331 20:59:47 ---> 4970c5feb24a 20:59:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:59:47 ---> 39547eec6e09 20:59:47 Step 8/8 : RUN go mod download 20:59:47 ---> Running in 91e0087a8a0b 20:59:47 ---> Running in 122994c8c6fd 20:59:49 Removing intermediate container 122994c8c6fd 20:59:49 ---> 8bc5cd44d5bc 20:59:49 Step 5/8 : RUN apk add --no-cache make git 20:59:49 ---> Running in b132d7907769 20:59:50 go: finding github.com/BurntSushi/toml v0.3.1 20:59:50 go: finding github.com/OneOfOne/xxhash v1.2.6 20:59:50 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:59:50 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:59:50 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:59:50 go: finding github.com/bgentry/speakeasy v0.1.0 20:59:50 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:59:50 go: finding github.com/davecgh/go-spew v1.1.1 20:59:50 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 20:59:50 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:59:50 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:59:50 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:59:50 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:59:50 go: finding github.com/fatih/color v1.7.0 20:59:50 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:59:50 go: finding github.com/go-kit/kit v0.8.0 20:59:50 go: finding github.com/go-logfmt/logfmt v0.4.0 20:59:50 go: finding github.com/go-stack/stack v1.8.0 20:59:50 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:59:50 go: finding github.com/google/uuid v1.1.0 20:59:50 go: finding github.com/gorilla/mux v1.7.1 20:59:50 go: finding github.com/hashicorp/consul/api v1.1.0 20:59:50 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:59:50 go: finding github.com/hashicorp/errwrap v1.0.0 20:59:50 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:59:50 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:59:50 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:59:50 go: finding github.com/hashicorp/go-multierror v1.0.0 20:59:50 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:59:50 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:59:50 go: finding github.com/hashicorp/go-syslog v1.0.0 20:59:50 go: finding github.com/hashicorp/go-uuid v1.0.1 20:59:50 go: finding github.com/hashicorp/go.net v0.0.1 20:59:50 go: finding github.com/hashicorp/golang-lru v0.5.0 20:59:50 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 20:59:50 go: finding github.com/hashicorp/logutils v1.0.0 20:59:50 go: finding github.com/hashicorp/mdns v1.0.0 20:59:50 go: finding github.com/hashicorp/memberlist v0.1.3 20:59:50 go: finding github.com/hashicorp/serf v0.8.2 20:59:50 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:59:50 go: finding github.com/mattn/go-colorable v0.0.9 20:59:50 go: finding github.com/mattn/go-isatty v0.0.3 20:59:50 go: finding github.com/miekg/dns v1.0.14 20:59:50 go: finding github.com/mitchellh/cli v1.0.0 20:59:50 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:59:50 go: finding github.com/mitchellh/copystructure v1.0.0 20:59:50 go: finding github.com/mitchellh/go-homedir v1.0.0 20:59:50 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:59:50 go: finding github.com/mitchellh/gox v0.4.0 20:59:50 go: finding github.com/mitchellh/iochan v1.0.0 20:59:50 go: finding github.com/mitchellh/mapstructure v1.1.2 20:59:50 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:59:50 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:59:50 go: finding github.com/pelletier/go-toml v1.2.0 20:59:50 go: finding github.com/pkg/errors v0.8.1 20:59:50 go: finding github.com/pmezard/go-difflib v1.0.0 20:59:50 go: finding github.com/posener/complete v1.1.1 20:59:50 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:59:50 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:59:50 go: finding github.com/stretchr/objx v0.1.0 20:59:50 go: finding github.com/stretchr/testify v1.5.1 20:59:51 go: finding github.com/ugorji/go v1.1.4 20:59:51 go: finding github.com/x448/float16 v0.8.4 20:59:51 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:59:51 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:59:51 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:59:51 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:59:51 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:59:51 go: finding gopkg.in/yaml.v2 v2.2.8 20:59:51 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 20:59:52 OK: 125 MiB in 39 packages 20:59:53 Removing intermediate container b132d7907769 20:59:53 ---> cc459e7b14c8 20:59:53 Step 6/8 : WORKDIR /device-sdk-go 20:59:53 ---> Running in 99d8a41b56fb 20:59:53 Removing intermediate container 99d8a41b56fb 20:59:53 ---> 89c38b7cc14b 20:59:53 Step 7/8 : COPY . . 20:59:55 ---> 54abacccfa4d 20:59:55 Step 8/8 : RUN go mod download 20:59:55 ---> Running in 8d359a245287 20:59:55 Removing intermediate container 91e0087a8a0b 20:59:55 ---> 278712424617 20:59:55 Successfully built 278712424617 20:59:55 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 20:59:56 + docker inspect -f . ci-base-image-x86_64 20:59:56 . [Pipeline] withDockerContainer 20:59:56 prd-centos7-docker-4c-2g-835 does not seem to be running inside a container 20:59:56 $ 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 ******** -e ******** ci-base-image-x86_64 cat 20:59:57 go: finding github.com/BurntSushi/toml v0.3.1 20:59:57 go: finding github.com/OneOfOne/xxhash v1.2.6 20:59:57 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:59:57 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:59:57 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:59:57 go: finding github.com/bgentry/speakeasy v0.1.0 20:59:57 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:59:57 go: finding github.com/davecgh/go-spew v1.1.1 20:59:57 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 20:59:57 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:59:57 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:59:57 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:59:57 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:59:57 go: finding github.com/fatih/color v1.7.0 20:59:57 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:59:57 go: finding github.com/go-kit/kit v0.8.0 20:59:57 go: finding github.com/go-logfmt/logfmt v0.4.0 20:59:57 go: finding github.com/go-stack/stack v1.8.0 20:59:57 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:59:57 go: finding github.com/google/uuid v1.1.0 20:59:57 go: finding github.com/gorilla/mux v1.7.1 20:59:57 go: finding github.com/hashicorp/consul/api v1.1.0 20:59:57 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:59:57 go: finding github.com/hashicorp/errwrap v1.0.0 20:59:57 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:59:57 $ docker top 33ba91c08712113d6b1d95c2753ef1735c20b352656b5b2c2829a2e4ba45a3ec -eo pid,comm 20:59:57 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:59:57 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:59:57 go: finding github.com/hashicorp/go-multierror v1.0.0 20:59:57 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:59:57 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:59:57 go: finding github.com/hashicorp/go-syslog v1.0.0 20:59:57 go: finding github.com/hashicorp/go-uuid v1.0.1 20:59:57 go: finding github.com/hashicorp/go.net v0.0.1 20:59:57 go: finding github.com/hashicorp/golang-lru v0.5.0 20:59:57 go: finding github.com/hashicorp/logutils v1.0.0 20:59:57 go: finding github.com/hashicorp/mdns v1.0.0 20:59:57 go: finding github.com/hashicorp/memberlist v0.1.3 20:59:57 go: finding github.com/hashicorp/serf v0.8.2 20:59:57 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:59:57 go: finding github.com/mattn/go-colorable v0.0.9 20:59:57 go: finding github.com/mattn/go-isatty v0.0.3 20:59:57 go: finding github.com/miekg/dns v1.0.14 20:59:57 go: finding github.com/mitchellh/cli v1.0.0 20:59:57 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:59:57 go: finding github.com/mitchellh/copystructure v1.0.0 20:59:57 go: finding github.com/mitchellh/go-homedir v1.0.0 20:59:57 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:59:57 go: finding github.com/mitchellh/gox v0.4.0 [Pipeline] { [Pipeline] sh 20:59:57 go: finding github.com/mitchellh/iochan v1.0.0 20:59:57 go: finding github.com/mitchellh/mapstructure v1.1.2 20:59:57 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:59:57 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:59:57 go: finding github.com/pelletier/go-toml v1.2.0 20:59:57 go: finding github.com/pkg/errors v0.8.1 20:59:57 go: finding github.com/pmezard/go-difflib v1.0.0 20:59:57 go: finding github.com/posener/complete v1.1.1 20:59:57 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:59:57 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:59:57 go: finding github.com/stretchr/objx v0.1.0 20:59:57 go: finding github.com/stretchr/testify v1.5.1 20:59:57 go: finding github.com/ugorji/go v1.1.4 20:59:57 go: finding github.com/x448/float16 v0.8.4 20:59:57 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:59:57 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:59:57 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:59:57 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:59:57 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:59:57 go: finding gopkg.in/yaml.v2 v2.2.8 20:59:57 + go version 20:59:57 go version go1.13.5 linux/amd64 [Pipeline] sh 20:59:58 + make test 20:59:58 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:00:00 ? github.com/edgexfoundry/device-sdk-go [no test files] 21:00:07 Removing intermediate container 8d359a245287 21:00:07 ---> b830b92d3319 21:00:07 Successfully built b830b92d3319 21:00:07 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:00:08 + docker inspect -f . ci-base-image-arm64 21:00:09 . [Pipeline] withDockerContainer 21:00:09 prd-ubuntu18.04-docker-arm64-4c-16g-834 does not seem to be running inside a container 21:00:09 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:00:10 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 21:00:10 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 21:00:10 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 21:00:10 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.041s coverage: 22.1% of statements 21:00:11 $ docker top e7da88bfd597398eee63e3be81d3f67c9e08d98ac19d1a5176ff0889aaca3e3c -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:12 + go version 21:00:12 go version go1.13.5 linux/arm64 [Pipeline] sh 21:00:12 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.038s coverage: 95.8% of statements 21:00:12 + make test 21:00:12 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:00:14 ? github.com/edgexfoundry/device-sdk-go [no test files] 21:00:41 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 21:00:41 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 21:00:41 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 21:00:43 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 22.1% of statements 21:00:43 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.194s coverage: 95.8% of statements 21:00:44 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.517s coverage: 11.4% of statements 21:00:44 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements 21:00:44 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 21:00:44 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.888s coverage: 36.9% of statements 21:00:44 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 21:00:44 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 21:00:44 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.281s coverage: 65.2% of statements 21:00:44 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 21:00:44 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 21:00:44 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 21:00:44 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.012s coverage: 52.6% of statements 21:00:44 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 21:00:44 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.102s coverage: 68.9% of statements 21:00:44 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 21:00:44 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 21:00:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:00:44 gofmt -l . 21:00:45 [ "`gofmt -l .`" = "" ] 21:00:45 ./bin/test-attribution-txt.sh 21:00:45 ./bin/test-go-mod-tidy.sh [Pipeline] stash 21:00:46 Stashed 1 file(s) [Pipeline] } 21:00:46 $ docker stop --time=1 33ba91c08712113d6b1d95c2753ef1735c20b352656b5b2c2829a2e4ba45a3ec 21:00:47 $ docker rm -f 33ba91c08712113d6b1d95c2753ef1735c20b352656b5b2c2829a2e4ba45a3ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:49 + ls -al . 21:00:49 total 180 21:00:49 drwxrwxr-x. 11 jenkins jenkins 4096 May 26 21:00 . 21:00:49 drwxrwxr-x. 4 jenkins jenkins 28 May 26 20:59 .. 21:00:49 drwxrwxr-x. 3 jenkins jenkins 20 May 26 20:59 api 21:00:49 drwxrwxr-x. 2 jenkins jenkins 64 May 26 20:59 bin 21:00:49 -rw-r--r--. 1 jenkins jenkins 110877 May 26 21:00 coverage.out 21:00:49 -rw-rw-r--. 1 jenkins jenkins 936 May 26 20:59 Dockerfile.build 21:00:49 -rw-rw-r--. 1 jenkins jenkins 140 May 26 20:59 .dockerignore 21:00:49 drwxrwxr-x. 4 jenkins jenkins 48 May 26 20:59 example 21:00:49 drwxrwxr-x. 8 jenkins jenkins 179 May 26 20:59 .git 21:00:49 drwxrwxr-x. 2 jenkins jenkins 38 May 26 20:59 .github 21:00:49 -rw-rw-r--. 1 jenkins jenkins 138 May 26 20:59 .gitignore 21:00:49 -rw-r--r--. 1 jenkins jenkins 446 May 26 21:00 go.mod 21:00:49 -rw-r--r--. 1 jenkins jenkins 12179 May 26 21:00 go.sum 21:00:49 drwxrwxr-x. 15 jenkins jenkins 217 May 26 20:59 internal 21:00:49 -rw-rw-r--. 1 jenkins jenkins 808 May 26 20:59 Jenkinsfile 21:00:49 -rw-rw-r--. 1 jenkins jenkins 11341 May 26 20:59 LICENSE 21:00:49 -rw-rw-r--. 1 jenkins jenkins 892 May 26 20:59 Makefile 21:00:49 drwxrwxr-x. 5 jenkins jenkins 50 May 26 20:59 pkg 21:00:49 -rw-rw-r--. 1 jenkins jenkins 3166 May 26 20:59 README.md 21:00:49 -rw-rw-r--. 1 jenkins jenkins 3788 May 26 20:59 RELEASE-NOTES.txt 21:00:49 drwxrwxr-x. 3 jenkins jenkins 58 May 26 20:59 .semver 21:00:49 drwxrwxr-x. 4 jenkins jenkins 54 May 26 20:59 snap 21:00:49 -rw-rw-r--. 1 jenkins jenkins 5 May 26 20:56 VERSION 21:00:49 -rw-rw-r--. 1 jenkins jenkins 222 May 26 20:59 version.go [Pipeline] isUnix [Pipeline] sh 21:00:50 + 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=cebcf691a1867c414af877e7898d800615a7caa2 --label arch=amd64 --label version=0.0.0 . 21:00:50 Sending build context to Docker daemon 3.186MB 21:00:50 Step 1/23 : ARG BASE=golang:1.13-alpine 21:00:50 Step 2/23 : FROM ${BASE} AS builder 21:00:50 ---> 278712424617 21:00:50 Step 3/23 : ARG MAKE='make build' 21:00:50 ---> Running in abd2fe8ed399 21:00:50 Removing intermediate container abd2fe8ed399 21:00:50 ---> e92924aaafca 21:00:50 Step 4/23 : WORKDIR /device-sdk-go 21:00:50 ---> Running in 4427ab7b4df8 21:00:50 Removing intermediate container 4427ab7b4df8 21:00:50 ---> cf4cf21625da 21:00:50 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:00:50 ---> Running in 75507f98eb18 21:00:50 Removing intermediate container 75507f98eb18 21:00:50 ---> d1b351cf2ebe 21:00:50 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:00:50 ---> Running in 11e58989d140 21:00:51 Removing intermediate container 11e58989d140 21:00:51 ---> ea70704e77b8 21:00:51 Step 7/23 : RUN apk add --update --no-cache make git 21:00:51 ---> Running in 3dfdcb15f3b1 21:00:51 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:00:52 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:00:52 OK: 143 MiB in 39 packages 21:00:53 Removing intermediate container 3dfdcb15f3b1 21:00:53 ---> a56d306dbbc3 21:00:53 Step 8/23 : COPY . . 21:00:53 ---> f3d84c5b074b 21:00:53 Step 9/23 : RUN ${MAKE} 21:00:53 ---> Running in 69ee606463c2 21:00:54 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:01:02 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:01:02 Removing intermediate container 69ee606463c2 21:01:02 ---> fbd612d9d121 21:01:02 Step 10/23 : FROM scratch 21:01:02 ---> 21:01:02 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:01:02 ---> Running in 86303389fb94 21:01:02 Removing intermediate container 86303389fb94 21:01:02 ---> 624daa911513 21:01:02 Step 12/23 : ENV APP_PORT=49990 21:01:02 ---> Running in 5f34f7aa7f1d 21:01:02 Removing intermediate container 5f34f7aa7f1d 21:01:02 ---> b26b221b0f0c 21:01:02 Step 13/23 : EXPOSE $APP_PORT 21:01:02 ---> Running in 315dd4e49bad 21:01:03 Removing intermediate container 315dd4e49bad 21:01:03 ---> f539f3416e55 21:01:03 Step 14/23 : WORKDIR / 21:01:03 ---> Running in 3a8f87f21e01 21:01:03 Removing intermediate container 3a8f87f21e01 21:01:03 ---> f4fe2dc134c4 21:01:03 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:01:03 ---> b7299cbd85b3 21:01:03 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:01:03 ---> 00f8435c9ead 21:01:03 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:01:03 ---> 39ee248c524e 21:01:03 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:01:04 ---> a26609bf503a 21:01:04 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:01:04 ---> 68901069e2d3 21:01:04 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:01:04 ---> Running in 4a6a6a193aa3 21:01:04 Removing intermediate container 4a6a6a193aa3 21:01:04 ---> 1ba86f5d0ad8 21:01:04 Step 21/23 : LABEL arch=amd64 21:01:04 ---> Running in c9d1f8ad6b29 21:01:04 Removing intermediate container c9d1f8ad6b29 21:01:04 ---> d1225f36f9e5 21:01:04 Step 22/23 : LABEL git_sha=cebcf691a1867c414af877e7898d800615a7caa2 21:01:04 ---> Running in eaebfc1e8cda 21:01:04 Removing intermediate container eaebfc1e8cda 21:01:04 ---> e643b84c1d64 21:01:04 Step 23/23 : LABEL version=0.0.0 21:01:04 ---> Running in 49722b4cfb57 21:01:04 Removing intermediate container 49722b4cfb57 21:01:04 ---> 47d9a1593b96 21:01:04 [Warning] One or more build-args [ARCH] were not consumed 21:01:04 Successfully built 47d9a1593b96 21:01:04 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:01:16 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.037s coverage: 11.4% of statements 21:01:16 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements 21:01:16 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 21:01:16 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.178s coverage: 36.9% of statements 21:01:16 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 21:01:16 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 21:01:16 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.501s coverage: 65.2% of statements 21:01:16 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 21:01:16 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 21:01:16 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 21:01:16 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.043s coverage: 52.6% of statements 21:01:16 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 21:01:16 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.353s coverage: 68.9% of statements 21:01:16 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 21:01:16 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 21:01:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:01:21 gofmt -l . 21:01:21 [ "`gofmt -l .`" = "" ] 21:01:21 ./bin/test-attribution-txt.sh 21:01:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 21:01:23 Warning: overwriting stash ‘coverage-report’ 21:01:23 Stashed 1 file(s) [Pipeline] } 21:01:23 $ docker stop --time=1 e7da88bfd597398eee63e3be81d3f67c9e08d98ac19d1a5176ff0889aaca3e3c 21:01:25 $ docker rm -f e7da88bfd597398eee63e3be81d3f67c9e08d98ac19d1a5176ff0889aaca3e3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:01:27 + ls -al . 21:01:27 total 220 21:01:27 drwxrwxr-x 11 jenkins jenkins 4096 May 26 21:01 . 21:01:27 drwxrwxr-x 4 jenkins jenkins 4096 May 26 20:58 .. 21:01:27 -rw-rw-r-- 1 jenkins jenkins 140 May 26 20:58 .dockerignore 21:01:27 drwxrwxr-x 8 jenkins jenkins 4096 May 26 20:59 .git 21:01:27 drwxrwxr-x 2 jenkins jenkins 4096 May 26 20:58 .github 21:01:27 -rw-rw-r-- 1 jenkins jenkins 138 May 26 20:58 .gitignore 21:01:27 drwxrwxr-x 3 jenkins jenkins 4096 May 26 20:59 .semver 21:01:27 -rw-rw-r-- 1 jenkins jenkins 936 May 26 20:58 Dockerfile.build 21:01:27 -rw-rw-r-- 1 jenkins jenkins 808 May 26 20:58 Jenkinsfile 21:01:27 -rw-rw-r-- 1 jenkins jenkins 11341 May 26 20:58 LICENSE 21:01:27 -rw-rw-r-- 1 jenkins jenkins 892 May 26 20:58 Makefile 21:01:27 -rw-rw-r-- 1 jenkins jenkins 3166 May 26 20:58 README.md 21:01:27 -rw-rw-r-- 1 jenkins jenkins 3788 May 26 20:58 RELEASE-NOTES.txt 21:01:27 -rw-rw-r-- 1 jenkins jenkins 5 May 26 20:56 VERSION 21:01:27 drwxrwxr-x 3 jenkins jenkins 4096 May 26 20:58 api 21:01:27 drwxrwxr-x 2 jenkins jenkins 4096 May 26 20:58 bin 21:01:27 -rw-r--r-- 1 jenkins jenkins 110877 May 26 21:01 coverage.out 21:01:27 drwxrwxr-x 4 jenkins jenkins 4096 May 26 20:58 example 21:01:27 -rw-r--r-- 1 jenkins jenkins 446 May 26 21:01 go.mod 21:01:27 -rw-r--r-- 1 jenkins jenkins 12179 May 26 21:01 go.sum 21:01:27 drwxrwxr-x 15 jenkins jenkins 4096 May 26 20:58 internal 21:01:27 drwxrwxr-x 5 jenkins jenkins 4096 May 26 20:58 pkg 21:01:27 drwxrwxr-x 4 jenkins jenkins 4096 May 26 20:58 snap 21:01:27 -rw-rw-r-- 1 jenkins jenkins 222 May 26 20:58 version.go [Pipeline] isUnix [Pipeline] sh 21:01:28 + 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=cebcf691a1867c414af877e7898d800615a7caa2 --label arch=arm64 --label version=0.0.0 . 21:01:28 Sending build context to Docker daemon 3.184MB 21:01:28 Step 1/23 : ARG BASE=golang:1.13-alpine 21:01:28 Step 2/23 : FROM ${BASE} AS builder 21:01:28 ---> b830b92d3319 21:01:28 Step 3/23 : ARG MAKE='make build' 21:01:28 ---> Running in 8133ca481981 21:01:29 Removing intermediate container 8133ca481981 21:01:29 ---> fc33b477d555 21:01:29 Step 4/23 : WORKDIR /device-sdk-go 21:01:29 ---> Running in 0ea542757dd1 21:01:29 Removing intermediate container 0ea542757dd1 21:01:29 ---> 0083afa26ae8 21:01:29 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:01:29 ---> Running in b79a0a0eb0c8 21:01:30 Removing intermediate container b79a0a0eb0c8 21:01:30 ---> a35b119a94ce 21:01:30 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:01:30 ---> Running in 52d10dcf4d18 21:01:32 Removing intermediate container 52d10dcf4d18 21:01:32 ---> 3492022248f7 21:01:32 Step 7/23 : RUN apk add --update --no-cache make git 21:01:32 ---> Running in 4bf3aae00484 21:01:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:01:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:01:34 OK: 125 MiB in 39 packages 21:01:35 Removing intermediate container 4bf3aae00484 21:01:35 ---> 1aeff809e8ea 21:01:35 Step 8/23 : COPY . . 21:01:36 ---> faa77450e20b 21:01:36 Step 9/23 : RUN ${MAKE} 21:01:36 ---> Running in ddc1bbecef24 21:01:37 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:01:59 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:02:03 Removing intermediate container ddc1bbecef24 21:02:03 ---> 85db3f0583ed 21:02:03 Step 10/23 : FROM scratch 21:02:03 ---> 21:02:03 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:02:03 ---> Running in f2c35071da51 21:02:03 Removing intermediate container f2c35071da51 21:02:03 ---> 1d82c03fa6a3 21:02:03 Step 12/23 : ENV APP_PORT=49990 21:02:03 ---> Running in a3a545bd2ae4 21:02:03 Removing intermediate container a3a545bd2ae4 21:02:03 ---> 33bc85a2f5c9 21:02:03 Step 13/23 : EXPOSE $APP_PORT 21:02:03 ---> Running in df5a1508a62a 21:02:03 Removing intermediate container df5a1508a62a 21:02:03 ---> a10b5fed25a3 21:02:03 Step 14/23 : WORKDIR / 21:02:03 ---> Running in dfe79e0fb447 21:02:04 Removing intermediate container dfe79e0fb447 21:02:04 ---> 9145742ee5d1 21:02:04 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:02:05 ---> 47fc5e8ed9a7 21:02:05 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:02:06 ---> aee64ec98975 21:02:06 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:02:06 ---> 57410be11817 21:02:06 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:02:07 ---> e9de0e3a65e9 21:02:07 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:02:07 ---> bfcb948618c2 21:02:07 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:02:07 ---> Running in 893b0a6d7666 21:02:08 Removing intermediate container 893b0a6d7666 21:02:08 ---> 3c8884d28052 21:02:08 Step 21/23 : LABEL arch=arm64 21:02:08 ---> Running in 91ecd7bd7a2f 21:02:08 Removing intermediate container 91ecd7bd7a2f 21:02:08 ---> bd97dd5ed66e 21:02:08 Step 22/23 : LABEL git_sha=cebcf691a1867c414af877e7898d800615a7caa2 21:02:09 ---> Running in 31b0a01da57e 21:02:09 Removing intermediate container 31b0a01da57e 21:02:09 ---> 5e1e1b985354 21:02:09 Step 23/23 : LABEL version=0.0.0 21:02:09 ---> Running in 34ad53a8e385 21:02:09 Removing intermediate container 34ad53a8e385 21:02:09 ---> df43ac3b505c 21:02:09 [Warning] One or more build-args [ARCH] were not consumed 21:02:10 Successfully built df43ac3b505c 21:02:10 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:02:12 provisioning config files... 21:02:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/config5796933476438157568tmp [Pipeline] { [Pipeline] sh 21:02:13 + curl -s https://codecov.io/bash 21:02:13 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/config5796933476438157568tmp 21:02:13 21:02:13 _____ _ 21:02:13 / ____| | | 21:02:13 | | ___ __| | ___ ___ _____ __ 21:02:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:02:13 | |___| (_) | (_| | __/ (_| (_) \ V / 21:02:13 \_____\___/ \__,_|\___|\___\___/ \_/ 21:02:13 Bash-20200430-d757c17 21:02:13 21:02:13 21:02:13 ==> Jenkins CI detected. 21:02:13 project root: . 21:02:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:02:13 ==> Running gcov in . (disable via -X gcov) 21:02:13 ==> Python coveragepy not found 21:02:13 ==> Searching for coverage reports in: 21:02:13 + . 21:02:13 -> Found 1 reports 21:02:13 ==> Detecting git/mercurial file structure 21:02:13 ==> Reading reports 21:02:13 + ./coverage.out bytes=110877 21:02:13 ==> Appending adjustments 21:02:13 https://docs.codecov.io/docs/fixing-reports 21:02:14 + Found adjustments 21:02:14 ==> Gzipping contents 21:02:14 ==> Uploading reports 21:02:14 url: https://codecov.io 21:02:14 query: branch=PR-531&commit=cebcf691a1867c414af877e7898d800615a7caa2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-531%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=531&job= 21:02:14 -> Pinging Codecov 21:02:14 https://codecov.io/upload/v4?package=bash-20200430-d757c17&token=secret&branch=PR-531&commit=cebcf691a1867c414af877e7898d800615a7caa2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-531%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=531&job= 21:02:15 -> Uploading 21:02:15 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cebcf691a1867c414af877e7898d800615a7caa2 [Pipeline] } 21:02: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:02:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:02:18 ---> package-listing.sh 21:02:18 ++ facter osfamily 21:02:18 ++ tr '[:upper:]' '[:lower:]' 21:02:18 + OS_FAMILY=redhat 21:02:18 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-531 21:02:18 + START_PACKAGES=/tmp/packages_start.txt 21:02:18 + END_PACKAGES=/tmp/packages_end.txt 21:02:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:02:18 + PACKAGES=/tmp/packages_start.txt 21:02:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-531 ']' 21:02:18 + PACKAGES=/tmp/packages_end.txt 21:02:18 + case "${OS_FAMILY}" in 21:02:18 + rpm -qa 21:02:18 + sort 21:02:22 + '[' -f /tmp/packages_start.txt ']' 21:02:22 + '[' -f /tmp/packages_end.txt ']' 21:02:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:02:22 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-531 ']' 21:02:22 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-531/archives/ 21:02:22 + 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:02:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:02:22 21:02:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:02:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:02:23 alpine: Pulling from edgex-lftools-log-publisher 21:02:23 c9b1b535fdd9: Pulling fs layer 21:02:23 2cc5ad85d9ab: Pulling fs layer 21:02:23 756a868c4378: Pulling fs layer 21:02:23 444b2fc9a129: Pulling fs layer 21:02:23 ea15f1150254: Pulling fs layer 21:02:23 41b27a9f41bf: Pulling fs layer 21:02:23 28c525ee5125: Pulling fs layer 21:02:23 094b1ea09ed8: Pulling fs layer 21:02:23 138eaada9080: Pulling fs layer 21:02:23 0622d0fa9048: Pulling fs layer 21:02:23 444b2fc9a129: Waiting 21:02:23 ea15f1150254: Waiting 21:02:23 41b27a9f41bf: Waiting 21:02:23 28c525ee5125: Waiting 21:02:23 094b1ea09ed8: Waiting 21:02:23 138eaada9080: Waiting 21:02:23 0622d0fa9048: Waiting 21:02:23 2cc5ad85d9ab: Verifying Checksum 21:02:23 2cc5ad85d9ab: Download complete 21:02:23 444b2fc9a129: Download complete 21:02:23 c9b1b535fdd9: Download complete 21:02:24 ea15f1150254: Verifying Checksum 21:02:24 ea15f1150254: Download complete 21:02:24 c9b1b535fdd9: Pull complete 21:02:24 28c525ee5125: Download complete 21:02:24 2cc5ad85d9ab: Pull complete 21:02:24 756a868c4378: Verifying Checksum 21:02:24 756a868c4378: Download complete 21:02:25 094b1ea09ed8: Verifying Checksum 21:02:25 094b1ea09ed8: Download complete 21:02:25 0622d0fa9048: Verifying Checksum 21:02:25 0622d0fa9048: Download complete 21:02:25 138eaada9080: Verifying Checksum 21:02:25 138eaada9080: Download complete 21:02:25 41b27a9f41bf: Verifying Checksum 21:02:25 41b27a9f41bf: Download complete 21:02:27 756a868c4378: Pull complete 21:02:27 444b2fc9a129: Pull complete 21:02:28 ea15f1150254: Pull complete 21:02:32 41b27a9f41bf: Pull complete 21:02:32 28c525ee5125: Pull complete 21:02:36 094b1ea09ed8: Pull complete 21:02:36 138eaada9080: Pull complete 21:02:37 0622d0fa9048: Pull complete 21:02:37 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 21:02:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:02:38 prd-centos7-docker-4c-2g-833 does not seem to be running inside a container 21:02:38 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:02:39 $ docker top 0fb9397c0ab439bb37c3bf500a7b156f601fd9d2c2624ea41155703262bb29e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:02:39 provisioning config files... 21:02:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp/config5406805268071191841tmp [Pipeline] { [Pipeline] echo 21:02:39 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:02:40 ---> create-netrc.sh [Pipeline] echo 21:02:40 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:02:40 ---> logs-deploy.sh 21:02:40 + ARCHIVE_ARTIFACTS= 21:02:40 + LOGS_SERVER=https://logs.edgexfoundry.org 21:02:40 + '[' https://logs.edgexfoundry.org == None ']' 21:02:40 + NEXUS_URL=https://nexus.edgexfoundry.org 21:02:40 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-531/1 21:02:40 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-531/1/ 21:02:40 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-531/1 /w/workspace/dgexfoundry_device-sdk-go_PR-531 21:02:43 Archives upload complete. 21:02:43 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-531/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-531/1/ 21:02:44 ---> uname -a: 21:02:44 Linux 0fb9397c0ab4 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 21:02:44 21:02:44 21:02:44 ---> lscpu: 21:02:44 Architecture: x86_64 21:02:44 CPU op-mode(s): 32-bit, 64-bit 21:02:44 Byte Order: Little Endian 21:02:44 Address sizes: 40 bits physical, 48 bits virtual 21:02:44 CPU(s): 4 21:02:44 On-line CPU(s) list: 0-3 21:02:44 Thread(s) per core: 1 21:02:44 Core(s) per socket: 1 21:02:44 Socket(s): 4 21:02:44 NUMA node(s): 1 21:02:44 Vendor ID: GenuineIntel 21:02:44 CPU family: 6 21:02:44 Model: 44 21:02:44 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 21:02:44 Stepping: 1 21:02:44 CPU MHz: 2933.438 21:02:44 BogoMIPS: 5866.87 21:02:44 Virtualization: VT-x 21:02:44 Hypervisor vendor: KVM 21:02:44 Virtualization type: full 21:02:44 L1d cache: 128 KiB 21:02:44 L1i cache: 128 KiB 21:02:44 L2 cache: 16 MiB 21:02:44 L3 cache: 64 MiB 21:02:44 NUMA node0 CPU(s): 0-3 21:02:44 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 21:02:44 Vulnerability Meltdown: Mitigation; PTI 21:02:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:02:44 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 21:02:44 Vulnerability Spectre v2: Mitigation; Full retpoline 21:02:44 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 21:02:44 21:02:44 21:02:44 ---> nproc: 21:02:44 4 21:02:44 21:02:44 21:02:44 ---> df -h: 21:02:44 Filesystem Size Used Available Use% Mounted on 21:02:44 overlay 50.0G 6.3G 43.7G 13% / 21:02:44 tmpfs 64.0M 0 64.0M 0% /dev 21:02:44 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 21:02:44 shm 64.0M 0 64.0M 0% /dev/shm 21:02:44 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 21:02:44 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 21:02:44 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 21:02:44 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-531 21:02:44 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-531@tmp 21:02:44 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 21:02:44 21:02:44