Pull request #525 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d7b2a7f097aa9b68831d5830ef33cc975f874121+7338ff0b48ff778770e07d00465366aeceb26e1a (ed2d44d12ce019d5daef6b8af2b129c3035721f7) 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-525/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 [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-7868 in /w/workspace/dgexfoundry_device-sdk-go_PR-525 [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-525 # 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/525/head:refs/remotes/origin/PR-525 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 7338ff0b48ff778770e07d00465366aeceb26e1a into PR head commit d7b2a7f097aa9b68831d5830ef33cc975f874121 Merge succeeded, producing d7b2a7f097aa9b68831d5830ef33cc975f874121 Checking out Revision d7b2a7f097aa9b68831d5830ef33cc975f874121 (PR-525) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/525/head:refs/remotes/origin/PR-525 # 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/525/head:refs/remotes/origin/PR-525 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7b2a7f097aa9b68831d5830ef33cc975f874121 # 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 7338ff0b48ff778770e07d00465366aeceb26e1a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7b2a7f097aa9b68831d5830ef33cc975f874121 # timeout=10 Commit message: "fix: Upgrade the Go modules to include the fixes" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-05-11T15:30:34.617Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-11T15:30:35.024Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-05-11T15:30:35.231Z] ========================================================= [2020-05-11T15:30:35.231Z] EdgeX Global Pipelines Version Info [2020-05-11T15:30:35.231Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-05-11T15:30:36.698Z] ------------------- [2020-05-11T15:30:36.698Z] stable info: [2020-05-11T15:30:36.698Z] ------------------- [2020-05-11T15:30:36.698Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-11T15:30:36.698Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-11T15:30:36.698Z] Message: update stable to v1.0.87 [2020-05-11T15:30:37.266Z] ------------------- [2020-05-11T15:30:37.266Z] experimental info: [2020-05-11T15:30:37.266Z] ------------------- [2020-05-11T15:30:37.266Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-05-11T15:30:37.266Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-11T15:30:37.266Z] Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-05-11T15:30:39.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-11T15:30:39.907Z] [2020-05-11T15:30:39.907Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-11T15:30:40.395Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-11T15:30:40.395Z] latest: Pulling from edgex-devops/git-semver [2020-05-11T15:30:40.395Z] 9123ac7c32f7: Pulling fs layer [2020-05-11T15:30:40.395Z] b8cc5d1170e3: Pulling fs layer [2020-05-11T15:30:40.395Z] 2924cbbf6a41: Pulling fs layer [2020-05-11T15:30:40.395Z] 93b08a4f1073: Pulling fs layer [2020-05-11T15:30:40.395Z] 93b08a4f1073: Waiting [2020-05-11T15:30:40.395Z] b8cc5d1170e3: Download complete [2020-05-11T15:30:40.655Z] 9123ac7c32f7: Verifying Checksum [2020-05-11T15:30:40.655Z] 9123ac7c32f7: Download complete [2020-05-11T15:30:40.655Z] 93b08a4f1073: Verifying Checksum [2020-05-11T15:30:40.655Z] 93b08a4f1073: Download complete [2020-05-11T15:30:40.655Z] 2924cbbf6a41: Verifying Checksum [2020-05-11T15:30:40.655Z] 2924cbbf6a41: Download complete [2020-05-11T15:30:40.917Z] 9123ac7c32f7: Pull complete [2020-05-11T15:30:40.917Z] b8cc5d1170e3: Pull complete [2020-05-11T15:30:41.863Z] 2924cbbf6a41: Pull complete [2020-05-11T15:30:41.863Z] 93b08a4f1073: Pull complete [2020-05-11T15:30:41.863Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-11T15:30:41.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-11T15:30:42.016Z] prd-centos7-docker-4c-2g-7868 does not seem to be running inside a container [2020-05-11T15:30:42.064Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-525 -v /w/workspace/dgexfoundry_device-sdk-go_PR-525:/w/workspace/dgexfoundry_device-sdk-go_PR-525:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-525@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-525@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-11T15:30:42.730Z] $ docker top c62adb23818ef8e63ee019ca8f08dab7cadfabb24162d1970450aa1f2dac34d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-11T15:30:43.060Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-11T15:30:43.060Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-11T15:30:43.260Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-11T15:30:43.262Z] $ docker exec c62adb23818ef8e63ee019ca8f08dab7cadfabb24162d1970450aa1f2dac34d6 ssh-agent [2020-05-11T15:30:43.445Z] SSH_AUTH_SOCK=/tmp/ssh-wukTxsuXbxUl/agent.15 [2020-05-11T15:30:43.445Z] SSH_AGENT_PID=21 [2020-05-11T15:30:43.453Z] Running ssh-add (command line suppressed) [2020-05-11T15:30:43.587Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-525@tmp/private_key_7731613123397412962.key (/w/workspace/dgexfoundry_device-sdk-go_PR-525@tmp/private_key_7731613123397412962.key) [2020-05-11T15:30:43.635Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-11T15:30:43.996Z] + git describe --exact-match --tags HEAD [2020-05-11T15:30:43.996Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-11T15:30:44.076Z] $ docker exec --env ******** --env ******** c62adb23818ef8e63ee019ca8f08dab7cadfabb24162d1970450aa1f2dac34d6 ssh-agent -k [2020-05-11T15:30:44.220Z] unset SSH_AUTH_SOCK; [2020-05-11T15:30:44.221Z] unset SSH_AGENT_PID; [2020-05-11T15:30:44.221Z] echo Agent pid 21 killed; [2020-05-11T15:30:44.265Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-11T15:30:44.401Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-11T15:30:44.401Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-11T15:30:44.496Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-11T15:30:44.496Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-11T15:30:44.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-11T15:30:44.679Z] $ docker exec c62adb23818ef8e63ee019ca8f08dab7cadfabb24162d1970450aa1f2dac34d6 ssh-agent [2020-05-11T15:30:44.884Z] SSH_AUTH_SOCK=/tmp/ssh-9qpZAqT9JSbH/agent.56 [2020-05-11T15:30:44.884Z] SSH_AGENT_PID=63 [2020-05-11T15:30:44.890Z] Running ssh-add (command line suppressed) [2020-05-11T15:30:45.026Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-525@tmp/private_key_8674097108283384597.key (/w/workspace/dgexfoundry_device-sdk-go_PR-525@tmp/private_key_8674097108283384597.key) [2020-05-11T15:30:45.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-11T15:30:45.454Z] + git semver init [2020-05-11T15:30:45.454Z] # -> Open(): unable to determine branch for HEAD [2020-05-11T15:30:45.454Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-525/.git [2020-05-11T15:30:45.454Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-525 [2020-05-11T15:30:45.454Z] # $SEMVER_REMOTE_NAME = origin [2020-05-11T15:30:45.454Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-11T15:30:45.454Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-11T15:30:45.454Z] # $SEMVER_BRANCH = PR-525 [2020-05-11T15:30:45.454Z] # $SEMVER_TEMP = /tmp/semver-194374654 [2020-05-11T15:30:45.454Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-05-11T15:30:46.391Z] # '/tmp/semver-194374654' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-525/.semver' [2020-05-11T15:30:46.391Z] # -> Force: false [2020-05-11T15:30:46.391Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-525/.semver [Pipeline] } [2020-05-11T15:30:46.411Z] $ docker exec --env ******** --env ******** c62adb23818ef8e63ee019ca8f08dab7cadfabb24162d1970450aa1f2dac34d6 ssh-agent -k [2020-05-11T15:30:46.556Z] unset SSH_AUTH_SOCK; [2020-05-11T15:30:46.556Z] unset SSH_AGENT_PID; [2020-05-11T15:30:46.556Z] echo Agent pid 63 killed; [2020-05-11T15:30:46.611Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-11T15:30:47.175Z] + git semver [Pipeline] } [2020-05-11T15:30:47.200Z] $ docker stop --time=1 c62adb23818ef8e63ee019ca8f08dab7cadfabb24162d1970450aa1f2dac34d6 [2020-05-11T15:30:48.549Z] $ docker rm -f c62adb23818ef8e63ee019ca8f08dab7cadfabb24162d1970450aa1f2dac34d6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-11T15:30:49.600Z] Stashed 62 file(s) [Pipeline] echo [2020-05-11T15:30:49.616Z] [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 [2020-05-11T15:31:05.156Z] Still waiting to schedule task [2020-05-11T15:31:05.156Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-7868’ [2020-05-11T15:31:05.181Z] Still waiting to schedule task [2020-05-11T15:31:05.181Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-7864’ [2020-05-11T15:33:36.094Z] Running on prd-centos7-docker-4c-2g-7869 in /w/workspace/dgexfoundry_device-sdk-go_PR-525 [Pipeline] { [Pipeline] ws [2020-05-11T15:33:36.216Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-05-11T15:33:38.726Z] using credential edgex-jenkins-ssh [2020-05-11T15:33:38.777Z] Cloning the remote Git repository [2020-05-11T15:33:38.777Z] Cloning with configured refspecs honoured and without tags [2020-05-11T15:33:39.499Z] Fetching without tags [2020-05-11T15:33:38.802Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-05-11T15:33:38.840Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-05-11T15:33:38.879Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-11T15:33:38.879Z] > git --version # timeout=10 [2020-05-11T15:33:38.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T15:33:38.911Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/525/head:refs/remotes/origin/PR-525 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T15:33:39.463Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-11T15:33:39.472Z] > git config --add remote.origin.fetch +refs/pull/525/head:refs/remotes/origin/PR-525 # timeout=10 [2020-05-11T15:33:39.479Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T15:33:39.491Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-11T15:33:39.502Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-11T15:33:39.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T15:33:39.508Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/525/head:refs/remotes/origin/PR-525 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T15:33:39.895Z] Merging remotes/origin/master commit 7338ff0b48ff778770e07d00465366aeceb26e1a into PR head commit d7b2a7f097aa9b68831d5830ef33cc975f874121 [2020-05-11T15:33:39.983Z] Merge succeeded, producing d7b2a7f097aa9b68831d5830ef33cc975f874121 [2020-05-11T15:33:39.984Z] Checking out Revision d7b2a7f097aa9b68831d5830ef33cc975f874121 (PR-525) [2020-05-11T15:33:39.902Z] > git config core.sparsecheckout # timeout=10 [2020-05-11T15:33:39.909Z] > git checkout -f d7b2a7f097aa9b68831d5830ef33cc975f874121 # timeout=10 [2020-05-11T15:33:39.954Z] > git remote # timeout=10 [2020-05-11T15:33:39.959Z] > git config --get remote.origin.url # timeout=10 [2020-05-11T15:33:39.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T15:33:39.968Z] > git merge 7338ff0b48ff778770e07d00465366aeceb26e1a # timeout=10 [2020-05-11T15:33:39.977Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-11T15:33:39.985Z] > git config core.sparsecheckout # timeout=10 [2020-05-11T15:33:39.992Z] > git checkout -f d7b2a7f097aa9b68831d5830ef33cc975f874121 # timeout=10 [2020-05-11T15:33:43.958Z] Commit message: "fix: Upgrade the Go modules to include the fixes" [2020-05-11T15:33:44.009Z] > git --version # timeout=10 [2020-05-11T15:33:44.020Z] fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-11T15:33:45.163Z] ========================================================= [2020-05-11T15:33:45.163Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-05-11T15:33:45.163Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-11T15:33:45.849Z] + 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 . [2020-05-11T15:33:46.110Z] Sending build context to Docker daemon 3.057MB [2020-05-11T15:33:46.110Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-05-11T15:33:46.110Z] Step 2/8 : FROM ${BASE} [2020-05-11T15:33:46.110Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-05-11T15:33:46.110Z] e6b0cf9c0882: Pulling fs layer [2020-05-11T15:33:46.110Z] 2848faf0eed1: Pulling fs layer [2020-05-11T15:33:46.110Z] 0f37312ad70f: Pulling fs layer [2020-05-11T15:33:46.110Z] 5788d62ee057: Pulling fs layer [2020-05-11T15:33:46.110Z] 0e6b1d234666: Pulling fs layer [2020-05-11T15:33:46.110Z] bf5d7aec512f: Pulling fs layer [2020-05-11T15:33:46.110Z] 34c802a77dc8: Pulling fs layer [2020-05-11T15:33:46.110Z] 9eb99e56ec68: Pulling fs layer [2020-05-11T15:33:46.110Z] 27c7a5d97fbd: Pulling fs layer [2020-05-11T15:33:46.110Z] 5c102a31e300: Pulling fs layer [2020-05-11T15:33:46.110Z] dcfb455df0a1: Pulling fs layer [2020-05-11T15:33:46.110Z] 9eb99e56ec68: Waiting [2020-05-11T15:33:46.111Z] 5788d62ee057: Waiting [2020-05-11T15:33:46.111Z] 27c7a5d97fbd: Waiting [2020-05-11T15:33:46.111Z] 0e6b1d234666: Waiting [2020-05-11T15:33:46.111Z] 5c102a31e300: Waiting [2020-05-11T15:33:46.111Z] bf5d7aec512f: Waiting [2020-05-11T15:33:46.111Z] 34c802a77dc8: Waiting [2020-05-11T15:33:46.111Z] dcfb455df0a1: Waiting [2020-05-11T15:33:46.111Z] 0f37312ad70f: Verifying Checksum [2020-05-11T15:33:46.111Z] 0f37312ad70f: Download complete [2020-05-11T15:33:46.111Z] 2848faf0eed1: Verifying Checksum [2020-05-11T15:33:46.111Z] 2848faf0eed1: Download complete [2020-05-11T15:33:46.111Z] 0e6b1d234666: Verifying Checksum [2020-05-11T15:33:46.111Z] 0e6b1d234666: Download complete [2020-05-11T15:33:46.372Z] bf5d7aec512f: Verifying Checksum [2020-05-11T15:33:46.372Z] bf5d7aec512f: Download complete [2020-05-11T15:33:46.372Z] e6b0cf9c0882: Verifying Checksum [2020-05-11T15:33:46.372Z] e6b0cf9c0882: Download complete [2020-05-11T15:33:46.632Z] e6b0cf9c0882: Pull complete [2020-05-11T15:33:46.900Z] 2848faf0eed1: Pull complete [2020-05-11T15:33:47.166Z] 34c802a77dc8: Verifying Checksum [2020-05-11T15:33:47.166Z] 34c802a77dc8: Download complete [2020-05-11T15:33:47.166Z] 27c7a5d97fbd: Verifying Checksum [2020-05-11T15:33:47.166Z] 27c7a5d97fbd: Download complete [2020-05-11T15:33:47.759Z] 5c102a31e300: Verifying Checksum [2020-05-11T15:33:47.759Z] 5c102a31e300: Download complete [2020-05-11T15:33:47.759Z] dcfb455df0a1: Verifying Checksum [2020-05-11T15:33:47.759Z] dcfb455df0a1: Download complete [2020-05-11T15:33:48.339Z] 5788d62ee057: Verifying Checksum [2020-05-11T15:33:48.339Z] 5788d62ee057: Download complete [2020-05-11T15:33:48.339Z] 9eb99e56ec68: Verifying Checksum [2020-05-11T15:33:48.909Z] 0f37312ad70f: Pull complete [2020-05-11T15:33:55.517Z] 5788d62ee057: Pull complete [2020-05-11T15:33:55.517Z] 0e6b1d234666: Pull complete [2020-05-11T15:33:55.517Z] bf5d7aec512f: Pull complete [2020-05-11T15:33:59.718Z] 34c802a77dc8: Pull complete [2020-05-11T15:34:03.028Z] 9eb99e56ec68: Pull complete [2020-05-11T15:34:03.028Z] 27c7a5d97fbd: Pull complete [2020-05-11T15:34:03.602Z] 5c102a31e300: Pull complete [2020-05-11T15:34:03.602Z] dcfb455df0a1: Pull complete [2020-05-11T15:34:03.602Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-05-11T15:34:03.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-05-11T15:34:03.602Z] ---> 7c70fe431013 [2020-05-11T15:34:03.602Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-11T15:34:03.602Z] ---> Running in 0377272243de [2020-05-11T15:34:03.863Z] Removing intermediate container 0377272243de [2020-05-11T15:34:03.863Z] ---> 4e55c989d0ef [2020-05-11T15:34:03.863Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-11T15:34:03.863Z] ---> Running in 0357c5f1217f [2020-05-11T15:34:04.818Z] Removing intermediate container 0357c5f1217f [2020-05-11T15:34:04.818Z] ---> e95255c5a458 [2020-05-11T15:34:04.818Z] Step 5/8 : RUN apk add --no-cache make git [2020-05-11T15:34:04.818Z] ---> Running in b25609ff3833 [2020-05-11T15:34:05.761Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-11T15:34:07.143Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-11T15:34:08.081Z] OK: 143 MiB in 39 packages [2020-05-11T15:34:08.341Z] Removing intermediate container b25609ff3833 [2020-05-11T15:34:08.341Z] ---> 67a3ec735fdf [2020-05-11T15:34:08.341Z] Step 6/8 : WORKDIR /device-sdk-go [2020-05-11T15:34:08.341Z] ---> Running in c39cc7d8bf7a [2020-05-11T15:34:08.620Z] Removing intermediate container c39cc7d8bf7a [2020-05-11T15:34:08.620Z] ---> 8e9c9de23cb7 [2020-05-11T15:34:08.620Z] Step 7/8 : COPY . . [2020-05-11T15:34:09.224Z] ---> 0c820e15904d [2020-05-11T15:34:09.224Z] Step 8/8 : RUN go mod download [2020-05-11T15:34:09.224Z] ---> Running in a599d71aced7 [2020-05-11T15:34:11.135Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-11T15:34:11.135Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-11T15:34:11.136Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-11T15:34:11.136Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-11T15:34:11.136Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-11T15:34:11.136Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-11T15:34:11.136Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-11T15:34:11.136Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-11T15:34:11.136Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-11T15:34:11.136Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-11T15:34:11.136Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-11T15:34:11.136Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-11T15:34:11.136Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-11T15:34:11.136Z] go: finding github.com/fatih/color v1.7.0 [2020-05-11T15:34:11.394Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-11T15:34:11.394Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-11T15:34:11.394Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-11T15:34:11.394Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-11T15:34:11.394Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-11T15:34:11.394Z] go: finding github.com/google/uuid v1.1.0 [2020-05-11T15:34:11.394Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-11T15:34:11.394Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-11T15:34:11.394Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-11T15:34:11.394Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-11T15:34:11.394Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-11T15:34:11.394Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-11T15:34:11.394Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-11T15:34:11.394Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-11T15:34:11.394Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-11T15:34:11.394Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-11T15:34:11.394Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-11T15:34:11.653Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-11T15:34:11.653Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-11T15:34:11.653Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-11T15:34:11.653Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-11T15:34:11.653Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-11T15:34:11.653Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-11T15:34:11.653Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-11T15:34:11.653Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-11T15:34:11.653Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-11T15:34:11.653Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-11T15:34:11.653Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-11T15:34:11.653Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-11T15:34:11.653Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-11T15:34:11.653Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-11T15:34:11.653Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-11T15:34:11.653Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-11T15:34:11.653Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-11T15:34:11.913Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-11T15:34:11.913Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-11T15:34:11.913Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-11T15:34:11.913Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-11T15:34:11.913Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-11T15:34:11.913Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-11T15:34:11.913Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-11T15:34:11.913Z] go: finding github.com/posener/complete v1.1.1 [2020-05-11T15:34:11.913Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-11T15:34:11.913Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-11T15:34:11.913Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-11T15:34:11.913Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-11T15:34:11.913Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-11T15:34:11.913Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-11T15:34:11.913Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-11T15:34:11.913Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-11T15:34:11.913Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-11T15:34:11.913Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-11T15:34:11.913Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-11T15:34:12.175Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-11T15:34:17.462Z] Removing intermediate container a599d71aced7 [2020-05-11T15:34:17.462Z] ---> 33ba605298ec [2020-05-11T15:34:17.462Z] Successfully built 33ba605298ec [2020-05-11T15:34:17.462Z] 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 [2020-05-11T15:34:18.242Z] + docker inspect -f . ci-base-image-x86_64 [2020-05-11T15:34:18.242Z] . [Pipeline] withDockerContainer [2020-05-11T15:34:18.388Z] prd-centos7-docker-4c-2g-7869 does not seem to be running inside a container [2020-05-11T15:34:18.444Z] $ 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 ******** ci-base-image-x86_64 cat [2020-05-11T15:34:20.121Z] $ docker top 8dce03aaa1140575206d765eb6e8cb9011594902ea09a13e6e176e8ae878e636 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-11T15:34:20.771Z] + go version [2020-05-11T15:34:20.771Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-05-11T15:34:21.089Z] + make test [2020-05-11T15:34:21.090Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-11T15:34:21.660Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-05-11T15:34:31.694Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-05-11T15:34:31.694Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-05-11T15:34:31.694Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-05-11T15:34:31.694Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 22.1% of statements [2020-05-11T15:34:35.019Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.045s coverage: 95.8% of statements [2020-05-11T15:34:56.376Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-7870 in /w/workspace/dgexfoundry_device-sdk-go_PR-525 [Pipeline] { [Pipeline] ws [2020-05-11T15:34:56.482Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-05-11T15:35:02.670Z] using credential edgex-jenkins-ssh [2020-05-11T15:35:02.796Z] Cloning the remote Git repository [2020-05-11T15:35:02.796Z] Cloning with configured refspecs honoured and without tags [2020-05-11T15:35:02.861Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-05-11T15:35:02.954Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-05-11T15:35:03.028Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-11T15:35:03.029Z] > git --version # timeout=10 [2020-05-11T15:35:03.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T15:35:03.117Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/525/head:refs/remotes/origin/PR-525 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T15:35:06.913Z] Fetching without tags [2020-05-11T15:35:06.818Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-11T15:35:06.852Z] > git config --add remote.origin.fetch +refs/pull/525/head:refs/remotes/origin/PR-525 # timeout=10 [2020-05-11T15:35:06.868Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T15:35:06.892Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-05-11T15:35:06.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-05-11T15:35:06.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T15:35:06.956Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/525/head:refs/remotes/origin/PR-525 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T15:35:07.144Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.029s coverage: 11.4% of statements [2020-05-11T15:35:07.144Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements [2020-05-11T15:35:07.144Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-05-11T15:35:07.144Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.071s coverage: 36.9% of statements [2020-05-11T15:35:07.144Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-05-11T15:35:07.144Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-05-11T15:35:07.144Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.291s coverage: 65.2% of statements [2020-05-11T15:35:07.144Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-05-11T15:35:07.144Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-05-11T15:35:07.144Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-05-11T15:35:07.144Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements [2020-05-11T15:35:07.144Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-05-11T15:35:07.145Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.098s coverage: 68.9% of statements [2020-05-11T15:35:07.145Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-05-11T15:35:07.145Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-05-11T15:35:07.145Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-11T15:35:07.145Z] gofmt -l . [2020-05-11T15:35:07.145Z] [ "`gofmt -l .`" = "" ] [2020-05-11T15:35:07.145Z] ./bin/test-attribution-txt.sh [2020-05-11T15:35:07.145Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-05-11T15:35:07.567Z] Stashed 1 file(s) [Pipeline] } [2020-05-11T15:35:07.583Z] $ docker stop --time=1 8dce03aaa1140575206d765eb6e8cb9011594902ea09a13e6e176e8ae878e636 [2020-05-11T15:35:07.705Z] Merging remotes/origin/master commit 7338ff0b48ff778770e07d00465366aeceb26e1a into PR head commit d7b2a7f097aa9b68831d5830ef33cc975f874121 [2020-05-11T15:35:07.925Z] Merge succeeded, producing d7b2a7f097aa9b68831d5830ef33cc975f874121 [2020-05-11T15:35:07.926Z] Checking out Revision d7b2a7f097aa9b68831d5830ef33cc975f874121 (PR-525) [2020-05-11T15:35:07.730Z] > git config core.sparsecheckout # timeout=10 [2020-05-11T15:35:07.749Z] > git checkout -f d7b2a7f097aa9b68831d5830ef33cc975f874121 # timeout=10 [2020-05-11T15:35:07.851Z] > git remote # timeout=10 [2020-05-11T15:35:07.868Z] > git config --get remote.origin.url # timeout=10 [2020-05-11T15:35:07.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T15:35:07.893Z] > git merge 7338ff0b48ff778770e07d00465366aeceb26e1a # timeout=10 [2020-05-11T15:35:07.915Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-11T15:35:07.935Z] > git config core.sparsecheckout # timeout=10 [2020-05-11T15:35:07.950Z] > git checkout -f d7b2a7f097aa9b68831d5830ef33cc975f874121 # timeout=10 [2020-05-11T15:35:09.035Z] $ docker rm -f 8dce03aaa1140575206d765eb6e8cb9011594902ea09a13e6e176e8ae878e636 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-11T15:35:10.649Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-11T15:35:10.962Z] + ls -al . [2020-05-11T15:35:10.962Z] total 180 [2020-05-11T15:35:10.962Z] drwxrwxr-x. 11 jenkins jenkins 4096 May 11 15:35 . [2020-05-11T15:35:10.962Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 15:33 .. [2020-05-11T15:35:10.962Z] drwxrwxr-x. 3 jenkins jenkins 20 May 11 15:33 api [2020-05-11T15:35:10.962Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 15:33 bin [2020-05-11T15:35:10.962Z] -rw-r--r--. 1 jenkins jenkins 110877 May 11 15:35 coverage.out [2020-05-11T15:35:10.962Z] -rw-rw-r--. 1 jenkins jenkins 936 May 11 15:33 Dockerfile.build [2020-05-11T15:35:10.962Z] -rw-rw-r--. 1 jenkins jenkins 140 May 11 15:33 .dockerignore [2020-05-11T15:35:10.962Z] drwxrwxr-x. 4 jenkins jenkins 48 May 11 15:33 example [2020-05-11T15:35:10.962Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 15:33 .git [2020-05-11T15:35:10.962Z] drwxrwxr-x. 2 jenkins jenkins 38 May 11 15:33 .github [2020-05-11T15:35:10.962Z] -rw-rw-r--. 1 jenkins jenkins 138 May 11 15:33 .gitignore [2020-05-11T15:35:10.962Z] -rw-r--r--. 1 jenkins jenkins 446 May 11 15:35 go.mod [2020-05-11T15:35:10.962Z] -rw-r--r--. 1 jenkins jenkins 12179 May 11 15:35 go.sum [2020-05-11T15:35:10.962Z] drwxrwxr-x. 15 jenkins jenkins 217 May 11 15:33 internal [2020-05-11T15:35:10.962Z] -rw-rw-r--. 1 jenkins jenkins 808 May 11 15:33 Jenkinsfile [2020-05-11T15:35:10.962Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 11 15:33 LICENSE [2020-05-11T15:35:10.962Z] -rw-rw-r--. 1 jenkins jenkins 892 May 11 15:33 Makefile [2020-05-11T15:35:10.962Z] drwxrwxr-x. 5 jenkins jenkins 50 May 11 15:33 pkg [2020-05-11T15:35:10.962Z] -rw-rw-r--. 1 jenkins jenkins 3189 May 11 15:33 README.md [2020-05-11T15:35:10.962Z] -rw-rw-r--. 1 jenkins jenkins 3733 May 11 15:33 RELEASE-NOTES.txt [2020-05-11T15:35:10.962Z] drwxrwxr-x. 3 jenkins jenkins 58 May 11 15:33 .semver [2020-05-11T15:35:10.962Z] drwxrwxr-x. 4 jenkins jenkins 54 May 11 15:33 snap [2020-05-11T15:35:10.963Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 15:30 VERSION [2020-05-11T15:35:10.963Z] -rw-rw-r--. 1 jenkins jenkins 222 May 11 15:33 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-11T15:35:11.301Z] + 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=d7b2a7f097aa9b68831d5830ef33cc975f874121 --label arch=amd64 --label version=0.0.0 . [2020-05-11T15:35:11.302Z] Sending build context to Docker daemon 3.185MB [2020-05-11T15:35:11.302Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-05-11T15:35:11.302Z] Step 2/21 : FROM ${BASE} AS builder [2020-05-11T15:35:11.302Z] ---> 33ba605298ec [2020-05-11T15:35:11.302Z] Step 3/21 : ARG MAKE='make build' [2020-05-11T15:35:11.566Z] ---> Running in dee4b8ac225e [2020-05-11T15:35:11.566Z] Removing intermediate container dee4b8ac225e [2020-05-11T15:35:11.566Z] ---> 50454ab6f19c [2020-05-11T15:35:11.566Z] Step 4/21 : WORKDIR /device-sdk-go [2020-05-11T15:35:11.566Z] ---> Running in 619eda3136b9 [2020-05-11T15:35:11.828Z] Removing intermediate container 619eda3136b9 [2020-05-11T15:35:11.828Z] ---> 4305b5833416 [2020-05-11T15:35:11.828Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-11T15:35:11.828Z] ---> Running in 8c6fd13184b5 [2020-05-11T15:35:12.091Z] Removing intermediate container 8c6fd13184b5 [2020-05-11T15:35:12.091Z] ---> e4e313bd095d [2020-05-11T15:35:12.091Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-11T15:35:12.091Z] ---> Running in 9b00c5ccfd88 [2020-05-11T15:35:12.498Z] Commit message: "fix: Upgrade the Go modules to include the fixes" [2020-05-11T15:35:12.558Z] > git --version # timeout=10 [2020-05-11T15:35:12.584Z] fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [2020-05-11T15:35:12.661Z] Removing intermediate container 9b00c5ccfd88 [2020-05-11T15:35:12.661Z] ---> e8d8f2853520 [2020-05-11T15:35:12.661Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-05-11T15:35:12.922Z] ---> Running in ea0b079a208a [2020-05-11T15:35:13.182Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-11T15:35:14.184Z] ========================================================= [2020-05-11T15:35:14.184Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-05-11T15:35:14.184Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-11T15:35:15.088Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-11T15:35:15.338Z] + 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 . [2020-05-11T15:35:16.771Z] Sending build context to Docker daemon 3.057MB [2020-05-11T15:35:16.771Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-05-11T15:35:16.771Z] Step 2/8 : FROM ${BASE} [2020-05-11T15:35:17.044Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-05-11T15:35:17.044Z] cde5963f3b93: Pulling fs layer [2020-05-11T15:35:17.044Z] 2a23fa8c16f7: Pulling fs layer [2020-05-11T15:35:17.044Z] 777b28850792: Pulling fs layer [2020-05-11T15:35:17.044Z] 8a11ddd9e578: Pulling fs layer [2020-05-11T15:35:17.044Z] 4cf88f913ddb: Pulling fs layer [2020-05-11T15:35:17.044Z] 1df406cf5192: Pulling fs layer [2020-05-11T15:35:17.044Z] cd6300453558: Pulling fs layer [2020-05-11T15:35:17.044Z] b9c365052c96: Pulling fs layer [2020-05-11T15:35:17.044Z] a2d8cc88f415: Pulling fs layer [2020-05-11T15:35:17.044Z] ea1d1ca13537: Pulling fs layer [2020-05-11T15:35:17.044Z] 3750a50a1c5e: Pulling fs layer [2020-05-11T15:35:17.044Z] 8a11ddd9e578: Waiting [2020-05-11T15:35:17.044Z] 4cf88f913ddb: Waiting [2020-05-11T15:35:17.044Z] 1df406cf5192: Waiting [2020-05-11T15:35:17.044Z] cd6300453558: Waiting [2020-05-11T15:35:17.044Z] b9c365052c96: Waiting [2020-05-11T15:35:17.044Z] a2d8cc88f415: Waiting [2020-05-11T15:35:17.044Z] ea1d1ca13537: Waiting [2020-05-11T15:35:17.044Z] 3750a50a1c5e: Waiting [2020-05-11T15:35:17.044Z] 777b28850792: Verifying Checksum [2020-05-11T15:35:17.044Z] 777b28850792: Download complete [2020-05-11T15:35:17.044Z] 2a23fa8c16f7: Verifying Checksum [2020-05-11T15:35:17.044Z] 2a23fa8c16f7: Download complete [2020-05-11T15:35:17.044Z] 4cf88f913ddb: Verifying Checksum [2020-05-11T15:35:17.044Z] 4cf88f913ddb: Download complete [2020-05-11T15:35:17.044Z] 1df406cf5192: Verifying Checksum [2020-05-11T15:35:17.044Z] 1df406cf5192: Download complete [2020-05-11T15:35:17.322Z] cde5963f3b93: Verifying Checksum [2020-05-11T15:35:17.322Z] cde5963f3b93: Download complete [2020-05-11T15:35:17.631Z] OK: 143 MiB in 39 packages [2020-05-11T15:35:17.891Z] Removing intermediate container ea0b079a208a [2020-05-11T15:35:17.891Z] ---> 59a1b247bd55 [2020-05-11T15:35:17.891Z] Step 8/21 : COPY . . [2020-05-11T15:35:17.916Z] cde5963f3b93: Pull complete [2020-05-11T15:35:18.155Z] ---> ac3cfd3bc50e [2020-05-11T15:35:18.155Z] Step 9/21 : RUN ${MAKE} [2020-05-11T15:35:18.155Z] ---> Running in 0c3c95723cb3 [2020-05-11T15:35:18.740Z] 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 [2020-05-11T15:35:18.897Z] 2a23fa8c16f7: Pull complete [2020-05-11T15:35:19.172Z] 777b28850792: Pull complete [2020-05-11T15:35:21.139Z] cd6300453558: Verifying Checksum [2020-05-11T15:35:21.139Z] cd6300453558: Download complete [2020-05-11T15:35:21.412Z] a2d8cc88f415: Verifying Checksum [2020-05-11T15:35:21.412Z] a2d8cc88f415: Download complete [2020-05-11T15:35:24.015Z] ea1d1ca13537: Verifying Checksum [2020-05-11T15:35:24.015Z] ea1d1ca13537: Download complete [2020-05-11T15:35:24.015Z] 3750a50a1c5e: Download complete [2020-05-11T15:35:26.611Z] b9c365052c96: Verifying Checksum [2020-05-11T15:35:26.611Z] b9c365052c96: Download complete [2020-05-11T15:35:26.931Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-05-11T15:35:27.193Z] Removing intermediate container 0c3c95723cb3 [2020-05-11T15:35:27.193Z] ---> e5a8e9e97df5 [2020-05-11T15:35:27.193Z] Step 10/21 : FROM scratch [2020-05-11T15:35:27.193Z] ---> [2020-05-11T15:35:27.193Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-11T15:35:27.454Z] ---> Running in 452df8e3a531 [2020-05-11T15:35:27.454Z] Removing intermediate container 452df8e3a531 [2020-05-11T15:35:27.454Z] ---> 80559d09bf7b [2020-05-11T15:35:27.454Z] Step 12/21 : ENV APP_PORT=49990 [2020-05-11T15:35:27.454Z] ---> Running in 14565b6decac [2020-05-11T15:35:27.715Z] Removing intermediate container 14565b6decac [2020-05-11T15:35:27.715Z] ---> 9df85593e130 [2020-05-11T15:35:27.715Z] Step 13/21 : EXPOSE $APP_PORT [2020-05-11T15:35:27.715Z] ---> Running in c7899fce4b74 [2020-05-11T15:35:27.715Z] Removing intermediate container c7899fce4b74 [2020-05-11T15:35:27.715Z] ---> 213eac6abd1f [2020-05-11T15:35:27.715Z] Step 14/21 : WORKDIR / [2020-05-11T15:35:27.715Z] ---> Running in 702f1e7bf8d6 [2020-05-11T15:35:27.978Z] Removing intermediate container 702f1e7bf8d6 [2020-05-11T15:35:27.978Z] ---> a5cc29c826cc [2020-05-11T15:35:27.978Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-05-11T15:35:28.240Z] ---> 257868168d23 [2020-05-11T15:35:28.240Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-05-11T15:35:28.499Z] ---> 831b03a33619 [2020-05-11T15:35:28.499Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-05-11T15:35:28.557Z] 8a11ddd9e578: Verifying Checksum [2020-05-11T15:35:28.557Z] 8a11ddd9e578: Download complete [2020-05-11T15:35:28.767Z] ---> 2fe20b33aa8a [2020-05-11T15:35:28.767Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-05-11T15:35:28.767Z] ---> Running in 1df3809a6f74 [2020-05-11T15:35:29.026Z] Removing intermediate container 1df3809a6f74 [2020-05-11T15:35:29.026Z] ---> 11b33ed5bbbc [2020-05-11T15:35:29.026Z] Step 19/21 : LABEL arch=amd64 [2020-05-11T15:35:29.026Z] ---> Running in 751568f99732 [2020-05-11T15:35:29.026Z] Removing intermediate container 751568f99732 [2020-05-11T15:35:29.026Z] ---> 57a6507cbc32 [2020-05-11T15:35:29.026Z] Step 20/21 : LABEL git_sha=d7b2a7f097aa9b68831d5830ef33cc975f874121 [2020-05-11T15:35:29.026Z] ---> Running in 4f81c25bba7e [2020-05-11T15:35:29.286Z] Removing intermediate container 4f81c25bba7e [2020-05-11T15:35:29.286Z] ---> 8d95527b8865 [2020-05-11T15:35:29.286Z] Step 21/21 : LABEL version=0.0.0 [2020-05-11T15:35:29.286Z] ---> Running in 9d8e1a04d637 [2020-05-11T15:35:29.548Z] Removing intermediate container 9d8e1a04d637 [2020-05-11T15:35:29.548Z] ---> 84dd7cc2f353 [2020-05-11T15:35:29.548Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-11T15:35:29.548Z] Successfully built 84dd7cc2f353 [2020-05-11T15:35:29.548Z] 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] } [2020-05-11T15:35:40.911Z] 8a11ddd9e578: Pull complete [2020-05-11T15:35:40.911Z] 4cf88f913ddb: Pull complete [2020-05-11T15:35:40.911Z] 1df406cf5192: Pull complete [2020-05-11T15:35:45.190Z] cd6300453558: Pull complete [2020-05-11T15:35:49.483Z] b9c365052c96: Pull complete [2020-05-11T15:35:49.483Z] a2d8cc88f415: Pull complete [2020-05-11T15:35:51.453Z] ea1d1ca13537: Pull complete [2020-05-11T15:35:52.050Z] 3750a50a1c5e: Pull complete [2020-05-11T15:35:52.050Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-05-11T15:35:52.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-05-11T15:35:52.050Z] ---> 78745c68409d [2020-05-11T15:35:52.050Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-11T15:35:57.425Z] ---> Running in ec8c2bbc57d8 [2020-05-11T15:35:57.425Z] Removing intermediate container ec8c2bbc57d8 [2020-05-11T15:35:57.425Z] ---> b7d0667e06aa [2020-05-11T15:35:57.425Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-11T15:35:57.425Z] ---> Running in fd25cec63d9b [2020-05-11T15:35:59.393Z] Removing intermediate container fd25cec63d9b [2020-05-11T15:35:59.393Z] ---> f5cec88c2564 [2020-05-11T15:35:59.393Z] Step 5/8 : RUN apk add --no-cache make git [2020-05-11T15:35:59.393Z] ---> Running in 85b62e62fbb0 [2020-05-11T15:36:00.365Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-11T15:36:02.314Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-11T15:36:03.723Z] OK: 125 MiB in 39 packages [2020-05-11T15:36:04.690Z] Removing intermediate container 85b62e62fbb0 [2020-05-11T15:36:04.690Z] ---> c1e2208052da [2020-05-11T15:36:04.690Z] Step 6/8 : WORKDIR /device-sdk-go [2020-05-11T15:36:04.958Z] ---> Running in c499ce9235fa [2020-05-11T15:36:05.228Z] Removing intermediate container c499ce9235fa [2020-05-11T15:36:05.228Z] ---> 969b8a446dad [2020-05-11T15:36:05.228Z] Step 7/8 : COPY . . [2020-05-11T15:36:06.641Z] ---> 5b0987005ba7 [2020-05-11T15:36:06.641Z] Step 8/8 : RUN go mod download [2020-05-11T15:36:06.641Z] ---> Running in 75541d939460 [2020-05-11T15:36:08.594Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-11T15:36:08.594Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-11T15:36:08.594Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-11T15:36:08.594Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-11T15:36:08.594Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-11T15:36:08.594Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-11T15:36:08.594Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-11T15:36:08.594Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-11T15:36:08.594Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-11T15:36:08.594Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-11T15:36:08.594Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-11T15:36:08.594Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-11T15:36:08.594Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-11T15:36:08.594Z] go: finding github.com/fatih/color v1.7.0 [2020-05-11T15:36:08.594Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-11T15:36:08.594Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-11T15:36:08.594Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-11T15:36:08.595Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-11T15:36:08.595Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-11T15:36:08.595Z] go: finding github.com/google/uuid v1.1.0 [2020-05-11T15:36:08.595Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-11T15:36:08.595Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-11T15:36:08.595Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-11T15:36:08.595Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-11T15:36:08.595Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-11T15:36:08.595Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-11T15:36:08.595Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-11T15:36:08.595Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-11T15:36:08.867Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-11T15:36:08.867Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-11T15:36:08.867Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-11T15:36:08.867Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-11T15:36:08.867Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-11T15:36:08.867Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-11T15:36:08.867Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-11T15:36:08.867Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-11T15:36:08.867Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-11T15:36:08.867Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-11T15:36:08.867Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-11T15:36:08.867Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-11T15:36:08.867Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-11T15:36:08.867Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-11T15:36:08.867Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-11T15:36:08.867Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-11T15:36:08.867Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-11T15:36:09.138Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-11T15:36:09.138Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-11T15:36:09.138Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-11T15:36:09.138Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-11T15:36:09.138Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-11T15:36:09.138Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-11T15:36:09.138Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-11T15:36:09.138Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-11T15:36:09.138Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-11T15:36:09.138Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-11T15:36:09.138Z] go: finding github.com/posener/complete v1.1.1 [2020-05-11T15:36:09.138Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-11T15:36:09.138Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-11T15:36:09.138Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-11T15:36:09.138Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-11T15:36:09.138Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-11T15:36:09.408Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-11T15:36:09.408Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-11T15:36:09.408Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-11T15:36:09.408Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-11T15:36:09.408Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-11T15:36:09.408Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-11T15:36:09.408Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-11T15:36:19.503Z] Removing intermediate container 75541d939460 [2020-05-11T15:36:19.504Z] ---> 7df4a226b360 [2020-05-11T15:36:19.504Z] Successfully built 7df4a226b360 [2020-05-11T15:36:19.504Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-05-11T15:36:20.360Z] + docker inspect -f . ci-base-image-arm64 [2020-05-11T15:36:20.629Z] . [Pipeline] withDockerContainer [2020-05-11T15:36:20.987Z] prd-ubuntu18.04-docker-arm64-4c-16g-7870 does not seem to be running inside a container [2020-05-11T15:36:21.069Z] $ 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 ******** ci-base-image-arm64 cat [2020-05-11T15:36:22.446Z] $ docker top 983e18240315e571235f2b5793ea8174227f5e4377fdaa4f0a165ee06241e96a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-11T15:36:23.581Z] + go version [2020-05-11T15:36:23.582Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-05-11T15:36:24.255Z] + make test [2020-05-11T15:36:24.255Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-11T15:36:25.222Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-05-11T15:36:57.529Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-05-11T15:36:57.529Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-05-11T15:36:57.529Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-05-11T15:36:57.529Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 22.1% of statements [2020-05-11T15:36:58.974Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.147s coverage: 95.8% of statements [2020-05-11T15:37:31.235Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.060s coverage: 11.4% of statements [2020-05-11T15:37:31.235Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.7% of statements [2020-05-11T15:37:31.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-05-11T15:37:31.235Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.192s coverage: 36.9% of statements [2020-05-11T15:37:31.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-05-11T15:37:31.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-05-11T15:37:31.235Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.583s coverage: 65.2% of statements [2020-05-11T15:37:31.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-05-11T15:37:31.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-05-11T15:37:31.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-05-11T15:37:31.235Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.040s coverage: 52.6% of statements [2020-05-11T15:37:31.235Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-05-11T15:37:31.235Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.334s coverage: 68.9% of statements [2020-05-11T15:37:31.235Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-05-11T15:37:31.235Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-05-11T15:37:31.235Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-11T15:37:34.601Z] gofmt -l . [2020-05-11T15:37:34.601Z] [ "`gofmt -l .`" = "" ] [2020-05-11T15:37:35.184Z] ./bin/test-attribution-txt.sh [2020-05-11T15:37:35.772Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-05-11T15:37:36.396Z] Warning: overwriting stash ‘coverage-report’ [2020-05-11T15:37:36.882Z] Stashed 1 file(s) [Pipeline] } [2020-05-11T15:37:36.898Z] $ docker stop --time=1 983e18240315e571235f2b5793ea8174227f5e4377fdaa4f0a165ee06241e96a [2020-05-11T15:37:39.048Z] $ docker rm -f 983e18240315e571235f2b5793ea8174227f5e4377fdaa4f0a165ee06241e96a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-11T15:37:40.564Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-11T15:37:40.905Z] + ls -al . [2020-05-11T15:37:40.905Z] total 220 [2020-05-11T15:37:40.905Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 15:37 . [2020-05-11T15:37:40.905Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 15:35 .. [2020-05-11T15:37:40.905Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 15:35 .dockerignore [2020-05-11T15:37:40.905Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 15:35 .git [2020-05-11T15:37:40.905Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:35 .github [2020-05-11T15:37:40.905Z] -rw-rw-r-- 1 jenkins jenkins 138 May 11 15:35 .gitignore [2020-05-11T15:37:40.905Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 15:35 .semver [2020-05-11T15:37:40.905Z] -rw-rw-r-- 1 jenkins jenkins 936 May 11 15:35 Dockerfile.build [2020-05-11T15:37:40.905Z] -rw-rw-r-- 1 jenkins jenkins 808 May 11 15:35 Jenkinsfile [2020-05-11T15:37:40.905Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 11 15:35 LICENSE [2020-05-11T15:37:40.905Z] -rw-rw-r-- 1 jenkins jenkins 892 May 11 15:35 Makefile [2020-05-11T15:37:40.905Z] -rw-rw-r-- 1 jenkins jenkins 3189 May 11 15:35 README.md [2020-05-11T15:37:40.905Z] -rw-rw-r-- 1 jenkins jenkins 3733 May 11 15:35 RELEASE-NOTES.txt [2020-05-11T15:37:40.905Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 15:30 VERSION [2020-05-11T15:37:40.905Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 15:35 api [2020-05-11T15:37:40.905Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:35 bin [2020-05-11T15:37:40.906Z] -rw-r--r-- 1 jenkins jenkins 110877 May 11 15:37 coverage.out [2020-05-11T15:37:40.906Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 15:35 example [2020-05-11T15:37:40.906Z] -rw-r--r-- 1 jenkins jenkins 446 May 11 15:37 go.mod [2020-05-11T15:37:40.906Z] -rw-r--r-- 1 jenkins jenkins 12179 May 11 15:37 go.sum [2020-05-11T15:37:40.906Z] drwxrwxr-x 15 jenkins jenkins 4096 May 11 15:35 internal [2020-05-11T15:37:40.906Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 15:35 pkg [2020-05-11T15:37:40.906Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 15:35 snap [2020-05-11T15:37:40.906Z] -rw-rw-r-- 1 jenkins jenkins 222 May 11 15:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-11T15:37:41.261Z] + 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=d7b2a7f097aa9b68831d5830ef33cc975f874121 --label arch=arm64 --label version=0.0.0 . [2020-05-11T15:37:41.848Z] Sending build context to Docker daemon 3.185MB [2020-05-11T15:37:41.848Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-05-11T15:37:41.848Z] Step 2/21 : FROM ${BASE} AS builder [2020-05-11T15:37:41.848Z] ---> 7df4a226b360 [2020-05-11T15:37:41.848Z] Step 3/21 : ARG MAKE='make build' [2020-05-11T15:37:42.114Z] ---> Running in 5bf715ab98e7 [2020-05-11T15:37:42.382Z] Removing intermediate container 5bf715ab98e7 [2020-05-11T15:37:42.382Z] ---> 39e6d268432e [2020-05-11T15:37:42.382Z] Step 4/21 : WORKDIR /device-sdk-go [2020-05-11T15:37:42.382Z] ---> Running in cd58b3b3b89c [2020-05-11T15:37:42.650Z] Removing intermediate container cd58b3b3b89c [2020-05-11T15:37:42.650Z] ---> 324131580bf8 [2020-05-11T15:37:42.650Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-11T15:37:42.919Z] ---> Running in 75ac9e2f0291 [2020-05-11T15:37:43.195Z] Removing intermediate container 75ac9e2f0291 [2020-05-11T15:37:43.195Z] ---> 52d569f48f6e [2020-05-11T15:37:43.195Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-11T15:37:43.195Z] ---> Running in 55b6a765c052 [2020-05-11T15:37:45.249Z] Removing intermediate container 55b6a765c052 [2020-05-11T15:37:45.249Z] ---> d2d241d1b464 [2020-05-11T15:37:45.249Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-05-11T15:37:45.249Z] ---> Running in 5861a719724c [2020-05-11T15:37:46.224Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-11T15:37:47.627Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-11T15:37:48.583Z] OK: 125 MiB in 39 packages [2020-05-11T15:37:49.992Z] Removing intermediate container 5861a719724c [2020-05-11T15:37:49.992Z] ---> c5134a88f31c [2020-05-11T15:37:49.992Z] Step 8/21 : COPY . . [2020-05-11T15:37:50.968Z] ---> bb7645d89307 [2020-05-11T15:37:50.968Z] Step 9/21 : RUN ${MAKE} [2020-05-11T15:37:50.968Z] ---> Running in 313496c1af55 [2020-05-11T15:37:51.933Z] 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 [2020-05-11T15:38:18.650Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-05-11T15:38:18.650Z] Removing intermediate container 313496c1af55 [2020-05-11T15:38:18.650Z] ---> 9ca7c9b84580 [2020-05-11T15:38:18.650Z] Step 10/21 : FROM scratch [2020-05-11T15:38:18.650Z] ---> [2020-05-11T15:38:18.650Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-05-11T15:38:18.650Z] ---> Running in 188c5e0a5e48 [2020-05-11T15:38:18.650Z] Removing intermediate container 188c5e0a5e48 [2020-05-11T15:38:18.650Z] ---> 415a48e15dd7 [2020-05-11T15:38:18.650Z] Step 12/21 : ENV APP_PORT=49990 [2020-05-11T15:38:18.650Z] ---> Running in a8945c09b5d4 [2020-05-11T15:38:18.650Z] Removing intermediate container a8945c09b5d4 [2020-05-11T15:38:18.650Z] ---> 404f844b842e [2020-05-11T15:38:18.650Z] Step 13/21 : EXPOSE $APP_PORT [2020-05-11T15:38:18.650Z] ---> Running in e2a027e0a7b2 [2020-05-11T15:38:18.927Z] Removing intermediate container e2a027e0a7b2 [2020-05-11T15:38:18.927Z] ---> 2061de27b436 [2020-05-11T15:38:18.927Z] Step 14/21 : WORKDIR / [2020-05-11T15:38:18.927Z] ---> Running in b09ad0bbcfa0 [2020-05-11T15:38:19.512Z] Removing intermediate container b09ad0bbcfa0 [2020-05-11T15:38:19.512Z] ---> ae8cd32f7ce9 [2020-05-11T15:38:19.512Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-05-11T15:38:20.484Z] ---> d7ac5025b204 [2020-05-11T15:38:20.484Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-05-11T15:38:20.756Z] ---> e52207783839 [2020-05-11T15:38:20.756Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-05-11T15:38:21.343Z] ---> 661fbfdfd97e [2020-05-11T15:38:21.343Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-05-11T15:38:21.343Z] ---> Running in ed3cba26a467 [2020-05-11T15:38:21.933Z] Removing intermediate container ed3cba26a467 [2020-05-11T15:38:21.933Z] ---> e55779437c40 [2020-05-11T15:38:21.933Z] Step 19/21 : LABEL arch=arm64 [2020-05-11T15:38:21.933Z] ---> Running in 2ad91bd32ecb [2020-05-11T15:38:22.202Z] Removing intermediate container 2ad91bd32ecb [2020-05-11T15:38:22.202Z] ---> 2eb51de96b9f [2020-05-11T15:38:22.202Z] Step 20/21 : LABEL git_sha=d7b2a7f097aa9b68831d5830ef33cc975f874121 [2020-05-11T15:38:22.470Z] ---> Running in 5d8fcab82ccd [2020-05-11T15:38:22.740Z] Removing intermediate container 5d8fcab82ccd [2020-05-11T15:38:22.740Z] ---> 419899bc60b4 [2020-05-11T15:38:22.740Z] Step 21/21 : LABEL version=0.0.0 [2020-05-11T15:38:22.740Z] ---> Running in 6da2dbc2080a [2020-05-11T15:38:23.335Z] Removing intermediate container 6da2dbc2080a [2020-05-11T15:38:23.335Z] ---> 3c98a915af0b [2020-05-11T15:38:23.335Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-11T15:38:23.335Z] Successfully built 3c98a915af0b [2020-05-11T15:38:23.335Z] 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 [2020-05-11T15:38:25.378Z] provisioning config files... [2020-05-11T15:38:25.389Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-525@tmp/config5012693310147600465tmp [Pipeline] { [Pipeline] sh [2020-05-11T15:38:25.806Z] + curl -s https://codecov.io/bash [2020-05-11T15:38:25.806Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-525@tmp/config5012693310147600465tmp [2020-05-11T15:38:26.067Z] [2020-05-11T15:38:26.067Z] _____ _ [2020-05-11T15:38:26.067Z] / ____| | | [2020-05-11T15:38:26.067Z] | | ___ __| | ___ ___ _____ __ [2020-05-11T15:38:26.067Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-05-11T15:38:26.067Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-05-11T15:38:26.067Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-05-11T15:38:26.067Z] Bash-tbd [2020-05-11T15:38:26.067Z] [2020-05-11T15:38:26.067Z] [2020-05-11T15:38:26.067Z] ==> Jenkins CI detected. [2020-05-11T15:38:26.067Z] project root: . [2020-05-11T15:38:26.067Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-05-11T15:38:26.067Z] ==> Running gcov in . (disable via -X gcov) [2020-05-11T15:38:26.067Z] ==> Python coveragepy not found [2020-05-11T15:38:26.067Z] ==> Searching for coverage reports in: [2020-05-11T15:38:26.067Z] + . [2020-05-11T15:38:26.067Z] -> Found 1 reports [2020-05-11T15:38:26.067Z] ==> Detecting git/mercurial file structure [2020-05-11T15:38:26.067Z] ==> Reading reports [2020-05-11T15:38:26.067Z] + ./coverage.out bytes=110877 [2020-05-11T15:38:26.067Z] ==> Appending adjustments [2020-05-11T15:38:26.067Z] http://docs.codecov.io/docs/fixing-reports [2020-05-11T15:38:26.326Z] + Found adjustments [2020-05-11T15:38:26.326Z] ==> Gzipping contents [2020-05-11T15:38:26.326Z] ==> Uploading reports [2020-05-11T15:38:26.326Z] url: https://codecov.io [2020-05-11T15:38:26.326Z] query: branch=PR-525&commit=d7b2a7f097aa9b68831d5830ef33cc975f874121&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-525%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=525&job= [2020-05-11T15:38:26.326Z] -> Pinging Codecov [2020-05-11T15:38:26.326Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-525&commit=d7b2a7f097aa9b68831d5830ef33cc975f874121&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-525%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=525&job= [2020-05-11T15:38:26.895Z] -> Uploading [2020-05-11T15:38:27.465Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d7b2a7f097aa9b68831d5830ef33cc975f874121 [Pipeline] } [2020-05-11T15:38:27.483Z] 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 [2020-05-11T15:38:29.252Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T15:38:29.575Z] ---> package-listing.sh [2020-05-11T15:38:29.575Z] ++ facter osfamily [2020-05-11T15:38:29.575Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-11T15:38:29.575Z] + OS_FAMILY=redhat [2020-05-11T15:38:29.575Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-525 [2020-05-11T15:38:29.575Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-11T15:38:29.575Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-11T15:38:29.575Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-11T15:38:29.575Z] + PACKAGES=/tmp/packages_start.txt [2020-05-11T15:38:29.575Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-525 ']' [2020-05-11T15:38:29.575Z] + PACKAGES=/tmp/packages_end.txt [2020-05-11T15:38:29.575Z] + case "${OS_FAMILY}" in [2020-05-11T15:38:29.575Z] + rpm -qa [2020-05-11T15:38:29.575Z] + sort [2020-05-11T15:38:33.768Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-11T15:38:33.768Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-11T15:38:33.768Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-11T15:38:33.768Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-525 ']' [2020-05-11T15:38:33.768Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-525/archives/ [2020-05-11T15:38:33.768Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-525/archives/ [Pipeline] isUnix [Pipeline] sh [2020-05-11T15:38:34.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-11T15:38:34.271Z] [2020-05-11T15:38:34.271Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-11T15:38:34.644Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-11T15:38:34.644Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-11T15:38:34.644Z] c9b1b535fdd9: Pulling fs layer [2020-05-11T15:38:34.644Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-11T15:38:34.644Z] 756a868c4378: Pulling fs layer [2020-05-11T15:38:34.644Z] 444b2fc9a129: Pulling fs layer [2020-05-11T15:38:34.644Z] ea15f1150254: Pulling fs layer [2020-05-11T15:38:34.644Z] 41b27a9f41bf: Pulling fs layer [2020-05-11T15:38:34.644Z] 28c525ee5125: Pulling fs layer [2020-05-11T15:38:34.644Z] 094b1ea09ed8: Pulling fs layer [2020-05-11T15:38:34.644Z] 138eaada9080: Pulling fs layer [2020-05-11T15:38:34.644Z] 0622d0fa9048: Pulling fs layer [2020-05-11T15:38:34.644Z] 28c525ee5125: Waiting [2020-05-11T15:38:34.644Z] 094b1ea09ed8: Waiting [2020-05-11T15:38:34.644Z] 0622d0fa9048: Waiting [2020-05-11T15:38:34.644Z] 138eaada9080: Waiting [2020-05-11T15:38:34.644Z] ea15f1150254: Waiting [2020-05-11T15:38:34.644Z] 41b27a9f41bf: Waiting [2020-05-11T15:38:34.644Z] 444b2fc9a129: Waiting [2020-05-11T15:38:34.644Z] 2cc5ad85d9ab: Verifying Checksum [2020-05-11T15:38:34.644Z] 2cc5ad85d9ab: Download complete [2020-05-11T15:38:34.644Z] 444b2fc9a129: Verifying Checksum [2020-05-11T15:38:34.644Z] 444b2fc9a129: Download complete [2020-05-11T15:38:34.644Z] c9b1b535fdd9: Verifying Checksum [2020-05-11T15:38:34.644Z] c9b1b535fdd9: Download complete [2020-05-11T15:38:34.644Z] ea15f1150254: Verifying Checksum [2020-05-11T15:38:34.644Z] ea15f1150254: Download complete [2020-05-11T15:38:34.905Z] 28c525ee5125: Verifying Checksum [2020-05-11T15:38:34.905Z] 28c525ee5125: Download complete [2020-05-11T15:38:35.170Z] 756a868c4378: Verifying Checksum [2020-05-11T15:38:35.170Z] 756a868c4378: Download complete [2020-05-11T15:38:35.170Z] c9b1b535fdd9: Pull complete [2020-05-11T15:38:35.170Z] 094b1ea09ed8: Verifying Checksum [2020-05-11T15:38:35.170Z] 094b1ea09ed8: Download complete [2020-05-11T15:38:35.170Z] 138eaada9080: Verifying Checksum [2020-05-11T15:38:35.170Z] 138eaada9080: Download complete [2020-05-11T15:38:35.170Z] 0622d0fa9048: Verifying Checksum [2020-05-11T15:38:35.170Z] 0622d0fa9048: Download complete [2020-05-11T15:38:35.430Z] 2cc5ad85d9ab: Pull complete [2020-05-11T15:38:35.696Z] 41b27a9f41bf: Verifying Checksum [2020-05-11T15:38:35.696Z] 41b27a9f41bf: Download complete [2020-05-11T15:38:37.073Z] 756a868c4378: Pull complete [2020-05-11T15:38:37.073Z] 444b2fc9a129: Pull complete [2020-05-11T15:38:37.332Z] ea15f1150254: Pull complete [2020-05-11T15:38:40.632Z] 41b27a9f41bf: Pull complete [2020-05-11T15:38:40.632Z] 28c525ee5125: Pull complete [2020-05-11T15:38:42.544Z] 094b1ea09ed8: Pull complete [2020-05-11T15:38:42.803Z] 138eaada9080: Pull complete [2020-05-11T15:38:43.065Z] 0622d0fa9048: Pull complete [2020-05-11T15:38:43.065Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-11T15:38:43.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-11T15:38:43.230Z] prd-centos7-docker-4c-2g-7868 does not seem to be running inside a container [2020-05-11T15:38:43.268Z] $ 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-525 -v /w/workspace/dgexfoundry_device-sdk-go_PR-525:/w/workspace/dgexfoundry_device-sdk-go_PR-525:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-525@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-525@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:10003/edgex-lftools-log-publisher:alpine cat [2020-05-11T15:38:43.879Z] $ docker top c33551b5cd550a1fd960ed294c0aa5b388341d2020be071c48c38a7d5ca52219 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-11T15:38:44.381Z] provisioning config files... [2020-05-11T15:38:44.394Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-525@tmp/config510568353224402045tmp [Pipeline] { [Pipeline] echo [2020-05-11T15:38:44.486Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T15:38:44.803Z] ---> create-netrc.sh [Pipeline] echo [2020-05-11T15:38:44.834Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T15:38:45.156Z] ---> logs-deploy.sh [2020-05-11T15:38:45.156Z] + ARCHIVE_ARTIFACTS= [2020-05-11T15:38:45.156Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-11T15:38:45.156Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-11T15:38:45.156Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-11T15:38:45.156Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-525/1 [2020-05-11T15:38:45.156Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-525/1/ [2020-05-11T15:38:45.156Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-525/1 /w/workspace/dgexfoundry_device-sdk-go_PR-525 [2020-05-11T15:38:47.061Z] Archives upload complete. [2020-05-11T15:38:47.061Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-525/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-525/1/