Pull request #515 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf+81b7cd9291b428fa4ba6e2c1479b175d963e3d04 (3398d8ed421b1e8ca0b51e08e75df4c1458ae1dd) 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 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-515/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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6232 in /w/workspace/dgexfoundry_device-sdk-go_PR-515 [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-515 # 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/515/head:refs/remotes/origin/PR-515 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 into PR head commit 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf Merge succeeded, producing 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf Checking out Revision 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf (PR-515) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/515/head:refs/remotes/origin/PR-515 # 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/515/head:refs/remotes/origin/PR-515 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf # 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 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf # timeout=10 Commit message: "docs: update release notes" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:12:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:12:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:12:09 ========================================================= 07:12:09 EdgeX Global Pipelines Version Info 07:12:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:12:10 ------------------- 07:12:10 stable info: 07:12:10 ------------------- 07:12:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:12:10 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 07:12:10 Message: update stable to v1.0.73 07:12:11 ------------------- 07:12:11 experimental info: 07:12:11 ------------------- 07:12:11 Commited By: Emilio Reyes emilio.reyes@intel.com 07:12:11 Commit SHA: e9f46a538d08225106cc4f35d30277fc6c232516 07:12:11 Message: update experimental to v1.0.84 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 07:12:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:12:13 07:12:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:12:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:12:14 latest: Pulling from edgex-devops/git-semver 07:12:14 9123ac7c32f7: Pulling fs layer 07:12:14 b8cc5d1170e3: Pulling fs layer 07:12:14 2924cbbf6a41: Pulling fs layer 07:12:14 93b08a4f1073: Pulling fs layer 07:12:14 93b08a4f1073: Waiting 07:12:14 b8cc5d1170e3: Verifying Checksum 07:12:14 b8cc5d1170e3: Download complete 07:12:14 9123ac7c32f7: Verifying Checksum 07:12:14 9123ac7c32f7: Download complete 07:12:14 2924cbbf6a41: Verifying Checksum 07:12:14 2924cbbf6a41: Download complete 07:12:14 93b08a4f1073: Verifying Checksum 07:12:14 93b08a4f1073: Download complete 07:12:14 9123ac7c32f7: Pull complete 07:12:14 b8cc5d1170e3: Pull complete 07:12:15 2924cbbf6a41: Pull complete 07:12:15 93b08a4f1073: Pull complete 07:12:15 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 07:12:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:12:15 prd-centos7-docker-4c-2g-6232 does not seem to be running inside a container 07:12:15 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-515 -v /w/workspace/dgexfoundry_device-sdk-go_PR-515:/w/workspace/dgexfoundry_device-sdk-go_PR-515:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:12:16 $ docker top 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:12:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:12:16 [ssh-agent] Looking for ssh-agent implementation... 07:12:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:12:17 $ docker exec 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea ssh-agent 07:12:17 SSH_AUTH_SOCK=/tmp/ssh-0ApGilePjt2p/agent.15 07:12:17 SSH_AGENT_PID=22 07:12:17 Running ssh-add (command line suppressed) 07:12:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/private_key_5004305869710106267.key (/w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/private_key_5004305869710106267.key) 07:12:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:12:17 + git describe --exact-match --tags HEAD 07:12:17 fatal: No names found, cannot describe anything. [Pipeline] } 07:12:17 $ docker exec --env ******** --env ******** 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea ssh-agent -k 07:12:18 unset SSH_AUTH_SOCK; 07:12:18 unset SSH_AGENT_PID; 07:12:18 echo Agent pid 22 killed; 07:12:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:12:18 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:12:18 This usually means this commit has not been tagged. [Pipeline] sshagent 07:12:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:12:18 [ssh-agent] Looking for ssh-agent implementation... 07:12:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:12:18 $ docker exec 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea ssh-agent 07:12:18 SSH_AUTH_SOCK=/tmp/ssh-3qTjznD6YGgu/agent.56 07:12:18 SSH_AGENT_PID=63 07:12:18 Running ssh-add (command line suppressed) 07:12:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/private_key_7662990930369045710.key (/w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/private_key_7662990930369045710.key) 07:12:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:12:19 + git semver init 07:12:19 # -> Open(): unable to determine branch for HEAD 07:12:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-515/.git 07:12:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-515 07:12:19 # $SEMVER_REMOTE_NAME = origin 07:12:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:12:19 # $SEMVER_USER_NAME = edgex-jenkins 07:12:19 # $SEMVER_BRANCH = PR-515 07:12:19 # $SEMVER_TEMP = /tmp/semver-042473834 07:12:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:12:19 # '/tmp/semver-042473834' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-515/.semver' 07:12:19 # -> Force: false 07:12:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-515/.semver [Pipeline] } 07:12:19 $ docker exec --env ******** --env ******** 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea ssh-agent -k 07:12:20 unset SSH_AUTH_SOCK; 07:12:20 unset SSH_AGENT_PID; 07:12:20 echo Agent pid 63 killed; 07:12:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:12:20 + git semver [Pipeline] } 07:12:20 $ docker stop --time=1 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea 07:12:22 $ docker rm -f 7d203a0262c8e6c747240a76dc943ed6b96d8ca429cf0ff76a373b95cbe60fea [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:12:23 Stashed 57 file(s) [Pipeline] echo 07:12:23 [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 07:12:38 Still waiting to schedule task 07:12:38 ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4592’ is offline; ‘prd-centos7-docker-4c-2g-5275’ is offline; ‘prd-centos7-docker-4c-2g-5278’ is offline; ‘prd-centos7-docker-4c-2g-5281’ is offline; ‘prd-centos7-docker-4c-2g-6221’ is offline; ‘prd-centos7-docker-4c-2g-6233’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6230’ doesn’t have label ‘centos7-docker-4c-2g’ 07:12:39 Still waiting to schedule task 07:12:39 ‘prd-ubuntu18.04-docker-arm64-4c-16g-6230’ is offline 07:12:43 Running on prd-centos7-docker-4c-2g-6233 in /w/workspace/dgexfoundry_device-sdk-go_PR-515 [Pipeline] { [Pipeline] ws 07:12:43 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:12:45 using credential edgex-jenkins-ssh 07:12:45 Cloning the remote Git repository 07:12:45 Cloning with configured refspecs honoured and without tags 07:12:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:12:45 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:12:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:12:45 > git --version # timeout=10 07:12:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/515/head:refs/remotes/origin/PR-515 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:46 Fetching without tags 07:12:46 Merging remotes/origin/master commit 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 into PR head commit 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf 07:12:47 Merge succeeded, producing 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf 07:12:47 Checking out Revision 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf (PR-515) 07:12:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:12:46 > git config --add remote.origin.fetch +refs/pull/515/head:refs/remotes/origin/PR-515 # timeout=10 07:12:46 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:12:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:12:46 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/515/head:refs/remotes/origin/PR-515 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:46 > git config core.sparsecheckout # timeout=10 07:12:46 > git checkout -f 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf # timeout=10 07:12:47 > git remote # timeout=10 07:12:47 > git config --get remote.origin.url # timeout=10 07:12:47 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:47 > git merge 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 # timeout=10 07:12:47 > git rev-parse HEAD^{commit} # timeout=10 07:12:47 > git config core.sparsecheckout # timeout=10 07:12:47 > git checkout -f 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf # timeout=10 07:12:51 Commit message: "docs: update release notes" 07:12:51 > git --version # timeout=10 07:12:51 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:12:52 ========================================================= 07:12:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:12:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:12:52 + 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 . 07:12:53 Sending build context to Docker daemon 3.013MB 07:12:53 Step 1/8 : ARG BASE=golang:1.13-alpine 07:12:53 Step 2/8 : FROM ${BASE} 07:12:53 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:12:53 e6b0cf9c0882: Pulling fs layer 07:12:53 2848faf0eed1: Pulling fs layer 07:12:53 0f37312ad70f: Pulling fs layer 07:12:53 5788d62ee057: Pulling fs layer 07:12:53 0e6b1d234666: Pulling fs layer 07:12:53 bf5d7aec512f: Pulling fs layer 07:12:53 34c802a77dc8: Pulling fs layer 07:12:53 9eb99e56ec68: Pulling fs layer 07:12:53 27c7a5d97fbd: Pulling fs layer 07:12:53 5c102a31e300: Pulling fs layer 07:12:53 dcfb455df0a1: Pulling fs layer 07:12:53 34c802a77dc8: Waiting 07:12:53 9eb99e56ec68: Waiting 07:12:53 27c7a5d97fbd: Waiting 07:12:53 5c102a31e300: Waiting 07:12:53 dcfb455df0a1: Waiting 07:12:53 5788d62ee057: Waiting 07:12:53 0e6b1d234666: Waiting 07:12:53 bf5d7aec512f: Waiting 07:12:53 0f37312ad70f: Download complete 07:12:53 2848faf0eed1: Verifying Checksum 07:12:53 2848faf0eed1: Download complete 07:12:53 0e6b1d234666: Verifying Checksum 07:12:53 0e6b1d234666: Download complete 07:12:53 bf5d7aec512f: Verifying Checksum 07:12:53 bf5d7aec512f: Download complete 07:12:53 e6b0cf9c0882: Verifying Checksum 07:12:53 e6b0cf9c0882: Download complete 07:12:53 e6b0cf9c0882: Pull complete 07:12:53 2848faf0eed1: Pull complete 07:12:54 34c802a77dc8: Verifying Checksum 07:12:54 34c802a77dc8: Download complete 07:12:54 27c7a5d97fbd: Verifying Checksum 07:12:54 27c7a5d97fbd: Download complete 07:12:54 5788d62ee057: Verifying Checksum 07:12:54 5788d62ee057: Download complete 07:12:54 dcfb455df0a1: Verifying Checksum 07:12:54 dcfb455df0a1: Download complete 07:12:54 5c102a31e300: Verifying Checksum 07:12:54 5c102a31e300: Download complete 07:12:54 9eb99e56ec68: Verifying Checksum 07:12:54 9eb99e56ec68: Download complete 07:12:55 0f37312ad70f: Pull complete 07:13:02 5788d62ee057: Pull complete 07:13:02 0e6b1d234666: Pull complete 07:13:02 bf5d7aec512f: Pull complete 07:13:05 34c802a77dc8: Pull complete 07:13:09 9eb99e56ec68: Pull complete 07:13:09 27c7a5d97fbd: Pull complete 07:13:09 5c102a31e300: Pull complete 07:13:10 dcfb455df0a1: Pull complete 07:13:10 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 07:13:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:13:10 ---> 7c70fe431013 07:13:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:13:10 ---> Running in 5b33d32fece7 07:13:10 Removing intermediate container 5b33d32fece7 07:13:10 ---> 5a66e216a9f9 07:13:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:10 ---> Running in 2cd1b01e32c0 07:13:11 Removing intermediate container 2cd1b01e32c0 07:13:11 ---> 4978515ae26f 07:13:11 Step 5/8 : RUN apk add --no-cache make git 07:13:11 ---> Running in f1057a4a14a1 07:13:12 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:13:13 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:13:14 OK: 143 MiB in 39 packages 07:13:14 Removing intermediate container f1057a4a14a1 07:13:14 ---> 540f832db484 07:13:14 Step 6/8 : WORKDIR /device-sdk-go 07:13:14 ---> Running in 9c14e7ba9fb4 07:13:14 Removing intermediate container 9c14e7ba9fb4 07:13:14 ---> 5a3484b7d77d 07:13:14 Step 7/8 : COPY . . 07:13:15 ---> f90255718401 07:13:15 Step 8/8 : RUN go mod download 07:13:15 ---> Running in 7a2a7dbef60a 07:13:18 go: finding github.com/BurntSushi/toml v0.3.1 07:13:18 go: finding github.com/OneOfOne/xxhash v1.2.6 07:13:18 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:13:18 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:13:18 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:13:18 go: finding github.com/bgentry/speakeasy v0.1.0 07:13:18 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:13:18 go: finding github.com/davecgh/go-spew v1.1.1 07:13:18 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 07:13:18 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:13:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 07:13:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:13:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:13:18 go: finding github.com/fatih/color v1.7.0 07:13:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:13:18 go: finding github.com/go-kit/kit v0.8.0 07:13:18 go: finding github.com/go-logfmt/logfmt v0.4.0 07:13:18 go: finding github.com/go-stack/stack v1.8.0 07:13:18 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:13:18 go: finding github.com/google/uuid v1.1.0 07:13:18 go: finding github.com/gorilla/mux v1.7.1 07:13:18 go: finding github.com/hashicorp/consul/api v1.1.0 07:13:18 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:13:18 go: finding github.com/hashicorp/errwrap v1.0.0 07:13:18 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:13:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:13:18 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:13:18 go: finding github.com/hashicorp/go-multierror v1.0.0 07:13:18 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:13:18 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:13:18 go: finding github.com/hashicorp/go-syslog v1.0.0 07:13:18 go: finding github.com/hashicorp/go-uuid v1.0.1 07:13:18 go: finding github.com/hashicorp/go.net v0.0.1 07:13:18 go: finding github.com/hashicorp/golang-lru v0.5.0 07:13:18 go: finding github.com/hashicorp/logutils v1.0.0 07:13:18 go: finding github.com/hashicorp/mdns v1.0.0 07:13:18 go: finding github.com/hashicorp/memberlist v0.1.3 07:13:18 go: finding github.com/hashicorp/serf v0.8.2 07:13:18 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:13:18 go: finding github.com/mattn/go-colorable v0.0.9 07:13:18 go: finding github.com/mattn/go-isatty v0.0.3 07:13:18 go: finding github.com/miekg/dns v1.0.14 07:13:18 go: finding github.com/mitchellh/cli v1.0.0 07:13:18 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:13:18 go: finding github.com/mitchellh/copystructure v1.0.0 07:13:18 go: finding github.com/mitchellh/go-homedir v1.0.0 07:13:18 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:13:18 go: finding github.com/mitchellh/gox v0.4.0 07:13:18 go: finding github.com/mitchellh/iochan v1.0.0 07:13:18 go: finding github.com/mitchellh/mapstructure v1.1.2 07:13:18 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:13:18 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:13:18 go: finding github.com/pelletier/go-toml v1.2.0 07:13:18 go: finding github.com/pkg/errors v0.8.1 07:13:18 go: finding github.com/pmezard/go-difflib v1.0.0 07:13:18 go: finding github.com/posener/complete v1.1.1 07:13:18 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:13:18 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:13:18 go: finding github.com/stretchr/objx v0.1.0 07:13:18 go: finding github.com/stretchr/testify v1.5.1 07:13:18 go: finding github.com/ugorji/go v1.1.4 07:13:18 go: finding github.com/x448/float16 v0.8.4 07:13:18 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:13:18 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:13:18 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:13:18 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:13:18 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:13:18 go: finding gopkg.in/yaml.v2 v2.2.8 07:13:23 Removing intermediate container 7a2a7dbef60a 07:13:23 ---> 2b0fb1ece6af 07:13:23 Successfully built 2b0fb1ece6af 07:13:23 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 07:13:24 + docker inspect -f . ci-base-image-x86_64 07:13:24 . [Pipeline] withDockerContainer 07:13:24 prd-centos7-docker-4c-2g-6233 does not seem to be running inside a container 07:13:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:13:25 $ docker top bd2b1c0af2ddf792da628d661bae1d45c6f058ce8725d520dce1e139de3d0796 -eo pid,comm [Pipeline] { [Pipeline] sh 07:13:25 + go version 07:13:25 go version go1.13.5 linux/amd64 [Pipeline] sh 07:13:26 + make test 07:13:26 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:13:28 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:13:38 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:13:38 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:13:38 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:13:38 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.011s coverage: 22.1% of statements 07:13:41 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.056s coverage: 95.8% of statements 07:14:08 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 11.4% of statements 07:14:08 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 07:14:08 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:14:08 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.126s coverage: 36.9% of statements 07:14:08 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:14:08 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:14:08 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.413s coverage: 65.2% of statements 07:14:08 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:14:08 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:14:08 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:14:08 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.061s coverage: 52.6% of statements 07:14:08 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 07:14:08 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 68.9% of statements 07:14:08 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:14:08 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:14:08 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:14:10 gofmt -l . 07:14:10 [ "`gofmt -l .`" = "" ] 07:14:10 ./bin/test-attribution-txt.sh 07:14:11 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:14:11 Stashed 1 file(s) [Pipeline] } 07:14:11 $ docker stop --time=1 bd2b1c0af2ddf792da628d661bae1d45c6f058ce8725d520dce1e139de3d0796 07:14:13 $ docker rm -f bd2b1c0af2ddf792da628d661bae1d45c6f058ce8725d520dce1e139de3d0796 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:14:14 + ls -al . 07:14:14 total 180 07:14:14 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 27 07:14 . 07:14:14 drwxrwxr-x. 4 jenkins jenkins 28 Apr 27 07:12 .. 07:14:14 drwxrwxr-x. 3 jenkins jenkins 20 Apr 27 07:12 api 07:14:14 drwxrwxr-x. 2 jenkins jenkins 64 Apr 27 07:12 bin 07:14:14 -rw-r--r--. 1 jenkins jenkins 110877 Apr 27 07:14 coverage.out 07:14:14 -rw-rw-r--. 1 jenkins jenkins 936 Apr 27 07:12 Dockerfile.build 07:14:14 -rw-rw-r--. 1 jenkins jenkins 140 Apr 27 07:12 .dockerignore 07:14:14 drwxrwxr-x. 4 jenkins jenkins 48 Apr 27 07:12 example 07:14:14 drwxrwxr-x. 8 jenkins jenkins 179 Apr 27 07:12 .git 07:14:14 drwxrwxr-x. 2 jenkins jenkins 38 Apr 27 07:12 .github 07:14:14 -rw-rw-r--. 1 jenkins jenkins 138 Apr 27 07:12 .gitignore 07:14:14 -rw-r--r--. 1 jenkins jenkins 446 Apr 27 07:14 go.mod 07:14:14 -rw-r--r--. 1 jenkins jenkins 12076 Apr 27 07:14 go.sum 07:14:14 drwxrwxr-x. 15 jenkins jenkins 217 Apr 27 07:12 internal 07:14:14 -rw-rw-r--. 1 jenkins jenkins 808 Apr 27 07:12 Jenkinsfile 07:14:14 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 27 07:12 LICENSE 07:14:14 -rw-rw-r--. 1 jenkins jenkins 892 Apr 27 07:12 Makefile 07:14:14 drwxrwxr-x. 5 jenkins jenkins 50 Apr 27 07:12 pkg 07:14:14 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 27 07:12 README.md 07:14:14 -rw-rw-r--. 1 jenkins jenkins 3497 Apr 27 07:12 RELEASE-NOTES.txt 07:14:14 drwxrwxr-x. 3 jenkins jenkins 58 Apr 27 07:12 .semver 07:14:14 drwxrwxr-x. 4 jenkins jenkins 54 Apr 27 07:12 snap 07:14:14 -rw-rw-r--. 1 jenkins jenkins 5 Apr 27 07:12 VERSION 07:14:14 -rw-rw-r--. 1 jenkins jenkins 222 Apr 27 07:12 version.go [Pipeline] isUnix [Pipeline] sh 07:14:15 + 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=1850fbb91e99cac4d992f089ef49d29e3d1ca5bf --label arch=amd64 --label version=0.0.0 . 07:14:15 Sending build context to Docker daemon 3.141MB 07:14:15 Step 1/21 : ARG BASE=golang:1.13-alpine 07:14:15 Step 2/21 : FROM ${BASE} AS builder 07:14:15 ---> 2b0fb1ece6af 07:14:15 Step 3/21 : ARG MAKE='make build' 07:14:15 ---> Running in 302158aeab35 07:14:15 Removing intermediate container 302158aeab35 07:14:15 ---> 580f5459ca23 07:14:15 Step 4/21 : WORKDIR /device-sdk-go 07:14:15 ---> Running in 7c30958e67ae 07:14:15 Removing intermediate container 7c30958e67ae 07:14:15 ---> c1bf9b071a2e 07:14:15 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:14:15 ---> Running in 0774108fd8e2 07:14:16 Removing intermediate container 0774108fd8e2 07:14:16 ---> 130ae346dc3f 07:14:16 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:14:16 ---> Running in 48f0f3216a06 07:14:16 Removing intermediate container 48f0f3216a06 07:14:16 ---> c4ce794d3107 07:14:16 Step 7/21 : RUN apk add --update --no-cache make git 07:14:16 ---> Running in 0ed09921e257 07:14:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:14:18 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:14:18 OK: 143 MiB in 39 packages 07:14:19 Removing intermediate container 0ed09921e257 07:14:19 ---> 68355e93163d 07:14:19 Step 8/21 : COPY . . 07:14:19 ---> 766710ff2e14 07:14:19 Step 9/21 : RUN ${MAKE} 07:14:19 ---> Running in 4c75a7dd656c 07:14:19 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 07:14:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:14:28 Removing intermediate container 4c75a7dd656c 07:14:28 ---> 5c26111eb70e 07:14:28 Step 10/21 : FROM scratch 07:14:28 ---> 07:14:28 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:14:28 ---> Running in 29f80c6da4be 07:14:28 Removing intermediate container 29f80c6da4be 07:14:28 ---> 2ef16c6e7393 07:14:28 Step 12/21 : ENV APP_PORT=49990 07:14:28 ---> Running in a5f9683b3451 07:14:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6234 in /w/workspace/dgexfoundry_device-sdk-go_PR-515 [Pipeline] { 07:14:28 Removing intermediate container a5f9683b3451 07:14:28 ---> 05a79c63fa7d 07:14:28 Step 13/21 : EXPOSE $APP_PORT 07:14:28 ---> Running in 866d132430ed 07:14:28 Removing intermediate container 866d132430ed 07:14:28 ---> 2fcd958cb832 07:14:28 Step 14/21 : WORKDIR / 07:14:28 ---> Running in 377ae82b9c51 [Pipeline] ws 07:14:28 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:14:29 Removing intermediate container 377ae82b9c51 07:14:29 ---> 973d3d8e4b5e 07:14:29 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:14:29 ---> a7e2b06043fa 07:14:29 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:14:29 ---> 67d2b0acb3cb 07:14:29 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:14:29 ---> d50e9c1e025a 07:14:29 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:14:29 ---> Running in 7e2413749fa3 07:14:29 Removing intermediate container 7e2413749fa3 07:14:29 ---> fe3968edf5ec 07:14:29 Step 19/21 : LABEL arch=amd64 07:14:30 ---> Running in bca1da8f84ac 07:14:30 Removing intermediate container bca1da8f84ac 07:14:30 ---> c849e76d6124 07:14:30 Step 20/21 : LABEL git_sha=1850fbb91e99cac4d992f089ef49d29e3d1ca5bf 07:14:30 ---> Running in 669f2ecee411 07:14:30 Removing intermediate container 669f2ecee411 07:14:30 ---> 16e839ffb9c3 07:14:30 Step 21/21 : LABEL version=0.0.0 07:14:30 ---> Running in 4a2695666148 07:14:30 Removing intermediate container 4a2695666148 07:14:30 ---> eb93089c88fc 07:14:30 [Warning] One or more build-args [ARCH] were not consumed 07:14:30 Successfully built eb93089c88fc 07:14:30 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] } 07:14:35 using credential edgex-jenkins-ssh 07:14:35 Cloning the remote Git repository 07:14:35 Cloning with configured refspecs honoured and without tags 07:14:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:14:35 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:14:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:14:35 > git --version # timeout=10 07:14:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:14:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/515/head:refs/remotes/origin/PR-515 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:14:36 Fetching without tags 07:14:37 Merging remotes/origin/master commit 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 into PR head commit 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf 07:14:37 Merge succeeded, producing 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf 07:14:37 Checking out Revision 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf (PR-515) 07:14:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:14:36 > git config --add remote.origin.fetch +refs/pull/515/head:refs/remotes/origin/PR-515 # timeout=10 07:14:36 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:14:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:14:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:14:36 using GIT_SSH to set credentials SSH Credentials for GitHub 07:14:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/515/head:refs/remotes/origin/PR-515 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:14:37 > git config core.sparsecheckout # timeout=10 07:14:37 > git checkout -f 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf # timeout=10 07:14:37 > git remote # timeout=10 07:14:37 > git config --get remote.origin.url # timeout=10 07:14:37 using GIT_SSH to set credentials SSH Credentials for GitHub 07:14:37 > git merge 81b7cd9291b428fa4ba6e2c1479b175d963e3d04 # timeout=10 07:14:37 > git rev-parse HEAD^{commit} # timeout=10 07:14:37 > git config core.sparsecheckout # timeout=10 07:14:37 > git checkout -f 1850fbb91e99cac4d992f089ef49d29e3d1ca5bf # timeout=10 07:14:42 Commit message: "docs: update release notes" 07:14:42 > git --version # timeout=10 07:14:42 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:14:44 ========================================================= 07:14:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:14:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:14:45 + 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 . 07:14:46 Sending build context to Docker daemon 3.013MB 07:14:46 Step 1/8 : ARG BASE=golang:1.13-alpine 07:14:46 Step 2/8 : FROM ${BASE} 07:14:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:14:46 cde5963f3b93: Pulling fs layer 07:14:46 2a23fa8c16f7: Pulling fs layer 07:14:46 777b28850792: Pulling fs layer 07:14:46 8a11ddd9e578: Pulling fs layer 07:14:46 4cf88f913ddb: Pulling fs layer 07:14:46 1df406cf5192: Pulling fs layer 07:14:46 cd6300453558: Pulling fs layer 07:14:46 b9c365052c96: Pulling fs layer 07:14:46 a2d8cc88f415: Pulling fs layer 07:14:46 ea1d1ca13537: Pulling fs layer 07:14:46 3750a50a1c5e: Pulling fs layer 07:14:46 1df406cf5192: Waiting 07:14:46 8a11ddd9e578: Waiting 07:14:46 4cf88f913ddb: Waiting 07:14:46 cd6300453558: Waiting 07:14:46 b9c365052c96: Waiting 07:14:46 a2d8cc88f415: Waiting 07:14:46 ea1d1ca13537: Waiting 07:14:46 3750a50a1c5e: Waiting 07:14:46 777b28850792: Verifying Checksum 07:14:46 777b28850792: Download complete 07:14:46 2a23fa8c16f7: Verifying Checksum 07:14:46 2a23fa8c16f7: Download complete 07:14:46 4cf88f913ddb: Verifying Checksum 07:14:46 4cf88f913ddb: Download complete 07:14:46 1df406cf5192: Verifying Checksum 07:14:46 1df406cf5192: Download complete 07:14:46 cde5963f3b93: Verifying Checksum 07:14:46 cde5963f3b93: Download complete 07:14:47 cde5963f3b93: Pull complete 07:14:48 2a23fa8c16f7: Pull complete 07:14:48 777b28850792: Pull complete 07:14:51 cd6300453558: Verifying Checksum 07:14:51 cd6300453558: Download complete 07:14:51 a2d8cc88f415: Verifying Checksum 07:14:51 a2d8cc88f415: Download complete 07:14:53 ea1d1ca13537: Verifying Checksum 07:14:53 ea1d1ca13537: Download complete 07:14:53 3750a50a1c5e: Download complete 07:14:56 b9c365052c96: Download complete 07:14:58 8a11ddd9e578: Verifying Checksum 07:14:58 8a11ddd9e578: Download complete 07:15:10 8a11ddd9e578: Pull complete 07:15:10 4cf88f913ddb: Pull complete 07:15:10 1df406cf5192: Pull complete 07:15:14 cd6300453558: Pull complete 07:15:20 b9c365052c96: Pull complete 07:15:20 a2d8cc88f415: Pull complete 07:15:22 ea1d1ca13537: Pull complete 07:15:22 3750a50a1c5e: Pull complete 07:15:22 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 07:15:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:15:22 ---> 78745c68409d 07:15:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:15:26 ---> Running in daf363f7ebca 07:15:26 Removing intermediate container daf363f7ebca 07:15:26 ---> 9eb61730c3e0 07:15:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:15:26 ---> Running in cf3e148597ee 07:15:28 Removing intermediate container cf3e148597ee 07:15:28 ---> 49d13f2533f2 07:15:28 Step 5/8 : RUN apk add --no-cache make git 07:15:29 ---> Running in 442f90e12b23 07:15:30 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:15:31 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:15:32 OK: 125 MiB in 39 packages 07:15:32 Removing intermediate container 442f90e12b23 07:15:32 ---> 387bb2b153df 07:15:32 Step 6/8 : WORKDIR /device-sdk-go 07:15:33 ---> Running in 0d2a7eb2ebbe 07:15:33 Removing intermediate container 0d2a7eb2ebbe 07:15:33 ---> aedd0d5b6fed 07:15:33 Step 7/8 : COPY . . 07:15:34 ---> bd25c85badf9 07:15:34 Step 8/8 : RUN go mod download 07:15:34 ---> Running in 5b8439e16ed8 07:15:36 go: finding github.com/BurntSushi/toml v0.3.1 07:15:36 go: finding github.com/OneOfOne/xxhash v1.2.6 07:15:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:15:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:15:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:15:36 go: finding github.com/bgentry/speakeasy v0.1.0 07:15:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:15:36 go: finding github.com/davecgh/go-spew v1.1.1 07:15:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 07:15:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:15:36 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 07:15:36 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:15:36 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:15:36 go: finding github.com/fatih/color v1.7.0 07:15:36 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:15:36 go: finding github.com/go-kit/kit v0.8.0 07:15:36 go: finding github.com/go-logfmt/logfmt v0.4.0 07:15:36 go: finding github.com/go-stack/stack v1.8.0 07:15:36 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:15:36 go: finding github.com/google/uuid v1.1.0 07:15:36 go: finding github.com/gorilla/mux v1.7.1 07:15:36 go: finding github.com/hashicorp/consul/api v1.1.0 07:15:36 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:15:36 go: finding github.com/hashicorp/errwrap v1.0.0 07:15:36 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:15:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:15:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:15:37 go: finding github.com/hashicorp/go-multierror v1.0.0 07:15:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:15:37 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:15:37 go: finding github.com/hashicorp/go-syslog v1.0.0 07:15:37 go: finding github.com/hashicorp/go-uuid v1.0.1 07:15:37 go: finding github.com/hashicorp/go.net v0.0.1 07:15:37 go: finding github.com/hashicorp/golang-lru v0.5.0 07:15:37 go: finding github.com/hashicorp/logutils v1.0.0 07:15:37 go: finding github.com/hashicorp/mdns v1.0.0 07:15:37 go: finding github.com/hashicorp/memberlist v0.1.3 07:15:37 go: finding github.com/hashicorp/serf v0.8.2 07:15:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:15:37 go: finding github.com/mattn/go-colorable v0.0.9 07:15:37 go: finding github.com/mattn/go-isatty v0.0.3 07:15:37 go: finding github.com/miekg/dns v1.0.14 07:15:37 go: finding github.com/mitchellh/cli v1.0.0 07:15:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:15:37 go: finding github.com/mitchellh/copystructure v1.0.0 07:15:37 go: finding github.com/mitchellh/go-homedir v1.0.0 07:15:37 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:15:37 go: finding github.com/mitchellh/gox v0.4.0 07:15:37 go: finding github.com/mitchellh/iochan v1.0.0 07:15:37 go: finding github.com/mitchellh/mapstructure v1.1.2 07:15:37 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:15:37 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:15:37 go: finding github.com/pelletier/go-toml v1.2.0 07:15:37 go: finding github.com/pkg/errors v0.8.1 07:15:37 go: finding github.com/pmezard/go-difflib v1.0.0 07:15:37 go: finding github.com/posener/complete v1.1.1 07:15:37 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:15:37 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:15:37 go: finding github.com/stretchr/objx v0.1.0 07:15:37 go: finding github.com/stretchr/testify v1.5.1 07:15:37 go: finding github.com/ugorji/go v1.1.4 07:15:37 go: finding github.com/x448/float16 v0.8.4 07:15:37 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:15:37 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:15:37 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:15:37 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:15:37 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:15:37 go: finding gopkg.in/yaml.v2 v2.2.8 07:15:47 Removing intermediate container 5b8439e16ed8 07:15:47 ---> 0f6f4de97474 07:15:47 Successfully built 0f6f4de97474 07:15:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:15:48 + docker inspect -f . ci-base-image-arm64 07:15:48 . [Pipeline] withDockerContainer 07:15:49 prd-ubuntu18.04-docker-arm64-4c-16g-6234 does not seem to be running inside a container 07:15:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:15:50 $ docker top dd790de33b7d7760eeb2ab4ace38d68b71b0250cda34a62926f01d50b44f120a -eo pid,comm [Pipeline] { [Pipeline] sh 07:15:51 + go version 07:15:51 go version go1.13.5 linux/arm64 [Pipeline] sh 07:15:52 + make test 07:15:52 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:15:54 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:16:20 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:16:20 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:16:20 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:16:22 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 22.1% of statements 07:16:25 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.150s coverage: 95.8% of statements 07:16:57 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.080s coverage: 11.4% of statements 07:16:57 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.7% of statements 07:16:57 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:16:57 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.151s coverage: 36.9% of statements 07:16:57 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:16:57 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:16:57 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.457s coverage: 65.2% of statements 07:16:57 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:16:57 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:16:57 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:16:57 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 07:16:57 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 07:16:57 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 68.9% of statements 07:16:57 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:16:57 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:16:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:17:00 gofmt -l . 07:17:00 [ "`gofmt -l .`" = "" ] 07:17:01 ./bin/test-attribution-txt.sh 07:17:01 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:17:02 Warning: overwriting stash ‘coverage-report’ 07:17:02 Stashed 1 file(s) [Pipeline] } 07:17:02 $ docker stop --time=1 dd790de33b7d7760eeb2ab4ace38d68b71b0250cda34a62926f01d50b44f120a 07:17:05 $ docker rm -f dd790de33b7d7760eeb2ab4ace38d68b71b0250cda34a62926f01d50b44f120a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:17:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:17:06 + ls -al . 07:17:06 total 220 07:17:06 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 07:17 . 07:17:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 07:14 .. 07:17:06 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 07:14 .dockerignore 07:17:06 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 07:14 .git 07:17:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 07:14 .github 07:17:06 -rw-rw-r-- 1 jenkins jenkins 138 Apr 27 07:14 .gitignore 07:17:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 07:14 .semver 07:17:06 -rw-rw-r-- 1 jenkins jenkins 936 Apr 27 07:14 Dockerfile.build 07:17:06 -rw-rw-r-- 1 jenkins jenkins 808 Apr 27 07:14 Jenkinsfile 07:17:06 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 07:14 LICENSE 07:17:06 -rw-rw-r-- 1 jenkins jenkins 892 Apr 27 07:14 Makefile 07:17:06 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 27 07:14 README.md 07:17:06 -rw-rw-r-- 1 jenkins jenkins 3497 Apr 27 07:14 RELEASE-NOTES.txt 07:17:06 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 07:12 VERSION 07:17:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 07:14 api 07:17:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 07:14 bin 07:17:06 -rw-r--r-- 1 jenkins jenkins 110877 Apr 27 07:16 coverage.out 07:17:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 07:14 example 07:17:06 -rw-r--r-- 1 jenkins jenkins 446 Apr 27 07:17 go.mod 07:17:06 -rw-r--r-- 1 jenkins jenkins 12076 Apr 27 07:17 go.sum 07:17:06 drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 07:14 internal 07:17:06 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 07:14 pkg 07:17:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 07:14 snap 07:17:06 -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 07:14 version.go [Pipeline] isUnix [Pipeline] sh 07:17:07 + 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=1850fbb91e99cac4d992f089ef49d29e3d1ca5bf --label arch=arm64 --label version=0.0.0 . 07:17:07 Sending build context to Docker daemon 3.141MB 07:17:07 Step 1/21 : ARG BASE=golang:1.13-alpine 07:17:07 Step 2/21 : FROM ${BASE} AS builder 07:17:07 ---> 0f6f4de97474 07:17:07 Step 3/21 : ARG MAKE='make build' 07:17:08 ---> Running in 03a499cf9f23 07:17:08 Removing intermediate container 03a499cf9f23 07:17:08 ---> 2f21f7f6fc5c 07:17:08 Step 4/21 : WORKDIR /device-sdk-go 07:17:08 ---> Running in e407d9ec6e9e 07:17:08 Removing intermediate container e407d9ec6e9e 07:17:08 ---> ff0e0b00f605 07:17:08 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:17:08 ---> Running in bedb7c583a4a 07:17:09 Removing intermediate container bedb7c583a4a 07:17:09 ---> ba6002ad25d5 07:17:09 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:09 ---> Running in c382761aee1a 07:17:11 Removing intermediate container c382761aee1a 07:17:11 ---> 346682deef71 07:17:11 Step 7/21 : RUN apk add --update --no-cache make git 07:17:11 ---> Running in 65de8bde1b86 07:17:12 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:17:13 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:17:13 OK: 125 MiB in 39 packages 07:17:14 Removing intermediate container 65de8bde1b86 07:17:14 ---> 733e2eab1b0d 07:17:14 Step 8/21 : COPY . . 07:17:15 ---> 1bbb500c0c76 07:17:15 Step 9/21 : RUN ${MAKE} 07:17:15 ---> Running in e776fe2396f4 07:17:16 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 07:17:43 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:17:43 Removing intermediate container e776fe2396f4 07:17:43 ---> ee0ab634a0f2 07:17:43 Step 10/21 : FROM scratch 07:17:43 ---> 07:17:43 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:17:43 ---> Running in 1233436874df 07:17:43 Removing intermediate container 1233436874df 07:17:43 ---> a1aa0ac3ffad 07:17:43 Step 12/21 : ENV APP_PORT=49990 07:17:43 ---> Running in b6be01288c03 07:17:43 Removing intermediate container b6be01288c03 07:17:43 ---> a2e43f145a26 07:17:43 Step 13/21 : EXPOSE $APP_PORT 07:17:43 ---> Running in cf611321c8ae 07:17:43 Removing intermediate container cf611321c8ae 07:17:43 ---> d3a2b35dfec6 07:17:43 Step 14/21 : WORKDIR / 07:17:43 ---> Running in 35bfae30eabb 07:17:43 Removing intermediate container 35bfae30eabb 07:17:43 ---> 6deeac32ec2b 07:17:43 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:17:44 ---> ebc2d2e59679 07:17:44 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:17:45 ---> 5073e82cb34b 07:17:45 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:17:45 ---> bc4ad4c9eea5 07:17:45 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:17:45 ---> Running in ee3c289baee5 07:17:46 Removing intermediate container ee3c289baee5 07:17:46 ---> 2f6d13a0f506 07:17:46 Step 19/21 : LABEL arch=arm64 07:17:46 ---> Running in c60964f5d009 07:17:46 Removing intermediate container c60964f5d009 07:17:46 ---> afab93d06e57 07:17:46 Step 20/21 : LABEL git_sha=1850fbb91e99cac4d992f089ef49d29e3d1ca5bf 07:17:46 ---> Running in 5027e3b0d711 07:17:47 Removing intermediate container 5027e3b0d711 07:17:47 ---> 69ae699b1c2c 07:17:47 Step 21/21 : LABEL version=0.0.0 07:17:47 ---> Running in f2acd29933df 07:17:47 Removing intermediate container f2acd29933df 07:17:47 ---> 4ec2ad152470 07:17:47 [Warning] One or more build-args [ARCH] were not consumed 07:17:47 Successfully built 4ec2ad152470 07:17:47 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:17:49 provisioning config files... 07:17:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/config62720579146128627tmp [Pipeline] { [Pipeline] sh 07:17:49 + curl -s https://codecov.io/bash 07:17:49 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/config62720579146128627tmp 07:17:50 07:17:50 _____ _ 07:17:50 / ____| | | 07:17:50 | | ___ __| | ___ ___ _____ __ 07:17:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:17:50 | |___| (_) | (_| | __/ (_| (_) \ V / 07:17:50 \_____\___/ \__,_|\___|\___\___/ \_/ 07:17:50 Bash-tbd 07:17:50 07:17:50 07:17:50 ==> Jenkins CI detected. 07:17:50 project root: . 07:17:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:17:50 ==> Running gcov in . (disable via -X gcov) 07:17:50 ==> Python coveragepy not found 07:17:50 ==> Searching for coverage reports in: 07:17:50 + . 07:17:50 -> Found 1 reports 07:17:50 ==> Detecting git/mercurial file structure 07:17:50 ==> Reading reports 07:17:50 + ./coverage.out bytes=110877 07:17:50 ==> Appending adjustments 07:17:50 http://docs.codecov.io/docs/fixing-reports 07:17:50 + Found adjustments 07:17:50 ==> Gzipping contents 07:17:50 ==> Uploading reports 07:17:50 url: https://codecov.io 07:17:50 query: branch=PR-515&commit=1850fbb91e99cac4d992f089ef49d29e3d1ca5bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-515%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=515&job= 07:17:50 -> Pinging Codecov 07:17:50 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-515&commit=1850fbb91e99cac4d992f089ef49d29e3d1ca5bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-515%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=515&job= 07:17:50 -> Uploading 07:17:51 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1850fbb91e99cac4d992f089ef49d29e3d1ca5bf [Pipeline] } 07:17:51 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 07:17:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:17:53 ---> package-listing.sh 07:17:53 ++ facter osfamily 07:17:53 ++ tr '[:upper:]' '[:lower:]' 07:17:53 + OS_FAMILY=redhat 07:17:53 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-515 07:17:53 + START_PACKAGES=/tmp/packages_start.txt 07:17:53 + END_PACKAGES=/tmp/packages_end.txt 07:17:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:17:53 + PACKAGES=/tmp/packages_start.txt 07:17:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-515 ']' 07:17:53 + PACKAGES=/tmp/packages_end.txt 07:17:53 + case "${OS_FAMILY}" in 07:17:53 + rpm -qa 07:17:53 + sort 07:17:57 + '[' -f /tmp/packages_start.txt ']' 07:17:57 + '[' -f /tmp/packages_end.txt ']' 07:17:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:17:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-515 ']' 07:17:57 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-515/archives/ 07:17:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-515/archives/ [Pipeline] isUnix [Pipeline] sh 07:17:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:17:58 07:17:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:17:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:17:58 alpine: Pulling from edgex-lftools-log-publisher 07:17:58 c9b1b535fdd9: Pulling fs layer 07:17:58 2cc5ad85d9ab: Pulling fs layer 07:17:58 756a868c4378: Pulling fs layer 07:17:58 444b2fc9a129: Pulling fs layer 07:17:58 ea15f1150254: Pulling fs layer 07:17:58 41b27a9f41bf: Pulling fs layer 07:17:58 28c525ee5125: Pulling fs layer 07:17:58 094b1ea09ed8: Pulling fs layer 07:17:58 138eaada9080: Pulling fs layer 07:17:58 0622d0fa9048: Pulling fs layer 07:17:58 41b27a9f41bf: Waiting 07:17:58 28c525ee5125: Waiting 07:17:58 094b1ea09ed8: Waiting 07:17:58 138eaada9080: Waiting 07:17:58 0622d0fa9048: Waiting 07:17:58 444b2fc9a129: Waiting 07:17:58 ea15f1150254: Waiting 07:17:58 2cc5ad85d9ab: Download complete 07:17:58 444b2fc9a129: Verifying Checksum 07:17:58 444b2fc9a129: Download complete 07:17:58 c9b1b535fdd9: Verifying Checksum 07:17:58 c9b1b535fdd9: Download complete 07:17:58 ea15f1150254: Verifying Checksum 07:17:58 ea15f1150254: Download complete 07:17:58 28c525ee5125: Verifying Checksum 07:17:58 28c525ee5125: Download complete 07:17:59 c9b1b535fdd9: Pull complete 07:17:59 756a868c4378: Verifying Checksum 07:17:59 756a868c4378: Download complete 07:17:59 138eaada9080: Verifying Checksum 07:17:59 138eaada9080: Download complete 07:17:59 0622d0fa9048: Verifying Checksum 07:17:59 0622d0fa9048: Download complete 07:17:59 2cc5ad85d9ab: Pull complete 07:17:59 094b1ea09ed8: Verifying Checksum 07:17:59 094b1ea09ed8: Download complete 07:17:59 41b27a9f41bf: Verifying Checksum 07:17:59 41b27a9f41bf: Download complete 07:18:01 756a868c4378: Pull complete 07:18:01 444b2fc9a129: Pull complete 07:18:01 ea15f1150254: Pull complete 07:18:05 41b27a9f41bf: Pull complete 07:18:05 28c525ee5125: Pull complete 07:18:07 094b1ea09ed8: Pull complete 07:18:07 138eaada9080: Pull complete 07:18:08 0622d0fa9048: Pull complete 07:18:08 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:18:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:18:08 prd-centos7-docker-4c-2g-6232 does not seem to be running inside a container 07:18:08 $ 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-515 -v /w/workspace/dgexfoundry_device-sdk-go_PR-515:/w/workspace/dgexfoundry_device-sdk-go_PR-515:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:18:08 $ docker top 984aa2917ca538f85c614bc2e4a845ff9b7276c9d9e9f4178118d5326b1e0c71 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:09 provisioning config files... 07:18:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-515@tmp/config2336777938382164350tmp [Pipeline] { [Pipeline] echo 07:18:09 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:18:09 ---> create-netrc.sh [Pipeline] echo 07:18:09 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:18:09 ---> logs-deploy.sh 07:18:09 + ARCHIVE_ARTIFACTS= 07:18:09 + LOGS_SERVER=https://logs.edgexfoundry.org 07:18:09 + '[' https://logs.edgexfoundry.org == None ']' 07:18:09 + NEXUS_URL=https://nexus.edgexfoundry.org 07:18:09 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-515/1 07:18:09 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-515/1/ 07:18:09 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-515/1 /w/workspace/dgexfoundry_device-sdk-go_PR-515 07:18:11 Archives upload complete. 07:18:11 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-515/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-515/1/ 07:18:11 ---> uname -a: 07:18:11 Linux 984aa2917ca5 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 07:18:11 07:18:11