Pull request #492 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 74e513e89effa008bfc797cd1eccc3b81c3dc47a+c9525094fd4abef9af2e7dd202c12c7ca3958476 (7a3d8ecd0f56636b646aeb60e6ecee1d15a82b19) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-492/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4450 in /w/workspace/dgexfoundry_device-sdk-go_PR-492 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-492 # 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/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/492/head:refs/remotes/origin/PR-492 # 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/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c9525094fd4abef9af2e7dd202c12c7ca3958476 into PR head commit 74e513e89effa008bfc797cd1eccc3b81c3dc47a Merge succeeded, producing 74e513e89effa008bfc797cd1eccc3b81c3dc47a Checking out Revision 74e513e89effa008bfc797cd1eccc3b81c3dc47a (PR-492) > git config core.sparsecheckout # timeout=10 > git checkout -f 74e513e89effa008bfc797cd1eccc3b81c3dc47a # 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 c9525094fd4abef9af2e7dd202c12c7ca3958476 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74e513e89effa008bfc797cd1eccc3b81c3dc47a # timeout=10 Commit message: "Refactor bootstrap process" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-17T06:27:40.883Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-17T06:27:41.161Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-17T06:27:41.357Z] ========================================================= [2020-04-17T06:27:41.357Z] EdgeX Global Pipelines Version Info [2020-04-17T06:27:41.357Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-17T06:27:42.788Z] ------------------- [2020-04-17T06:27:42.788Z] stable info: [2020-04-17T06:27:42.788Z] ------------------- [2020-04-17T06:27:42.788Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-17T06:27:42.788Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-17T06:27:42.788Z] Message: update stable to v1.0.73 [2020-04-17T06:27:43.357Z] ------------------- [2020-04-17T06:27:43.357Z] experimental info: [2020-04-17T06:27:43.357Z] ------------------- [2020-04-17T06:27:43.357Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-17T06:27:43.357Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-17T06:27:43.357Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-17T06:27:45.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T06:27:46.084Z] [2020-04-17T06:27:46.084Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-17T06:27:46.553Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T06:27:46.553Z] latest: Pulling from edgex-devops/git-semver [2020-04-17T06:27:46.553Z] 9123ac7c32f7: Pulling fs layer [2020-04-17T06:27:46.553Z] b8cc5d1170e3: Pulling fs layer [2020-04-17T06:27:46.553Z] 2924cbbf6a41: Pulling fs layer [2020-04-17T06:27:46.553Z] 93b08a4f1073: Pulling fs layer [2020-04-17T06:27:46.553Z] 93b08a4f1073: Waiting [2020-04-17T06:27:46.553Z] b8cc5d1170e3: Verifying Checksum [2020-04-17T06:27:46.553Z] b8cc5d1170e3: Download complete [2020-04-17T06:27:46.553Z] 9123ac7c32f7: Verifying Checksum [2020-04-17T06:27:46.553Z] 9123ac7c32f7: Download complete [2020-04-17T06:27:46.814Z] 2924cbbf6a41: Verifying Checksum [2020-04-17T06:27:46.814Z] 2924cbbf6a41: Download complete [2020-04-17T06:27:46.814Z] 93b08a4f1073: Verifying Checksum [2020-04-17T06:27:46.814Z] 93b08a4f1073: Download complete [2020-04-17T06:27:46.814Z] 9123ac7c32f7: Pull complete [2020-04-17T06:27:47.072Z] b8cc5d1170e3: Pull complete [2020-04-17T06:27:47.642Z] 2924cbbf6a41: Pull complete [2020-04-17T06:27:47.902Z] 93b08a4f1073: Pull complete [2020-04-17T06:27:47.902Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-17T06:27:47.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-17T06:27:48.056Z] prd-centos7-docker-4c-2g-4450 does not seem to be running inside a container [2020-04-17T06:27:48.101Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-492 -v /w/workspace/dgexfoundry_device-sdk-go_PR-492:/w/workspace/dgexfoundry_device-sdk-go_PR-492:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-492@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 [2020-04-17T06:27:48.704Z] $ docker top 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-17T06:27:49.079Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T06:27:49.079Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T06:27:49.293Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T06:27:49.295Z] $ docker exec 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 ssh-agent [2020-04-17T06:27:49.490Z] SSH_AUTH_SOCK=/tmp/ssh-RhvlJ8YwiX7z/agent.15 [2020-04-17T06:27:49.490Z] SSH_AGENT_PID=22 [2020-04-17T06:27:49.498Z] Running ssh-add (command line suppressed) [2020-04-17T06:27:49.660Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/private_key_935738196984297294.key (/w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/private_key_935738196984297294.key) [2020-04-17T06:27:49.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T06:27:50.093Z] + git describe --exact-match --tags HEAD [2020-04-17T06:27:50.093Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-17T06:27:50.161Z] $ docker exec --env ******** --env ******** 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 ssh-agent -k [2020-04-17T06:27:50.291Z] unset SSH_AUTH_SOCK; [2020-04-17T06:27:50.292Z] unset SSH_AGENT_PID; [2020-04-17T06:27:50.292Z] echo Agent pid 22 killed; [2020-04-17T06:27:50.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-17T06:27:50.458Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-17T06:27:50.459Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-17T06:27:50.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T06:27:50.566Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T06:27:50.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T06:27:50.751Z] $ docker exec 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 ssh-agent [2020-04-17T06:27:50.950Z] SSH_AUTH_SOCK=/tmp/ssh-oJeJ72GDpUhp/agent.57 [2020-04-17T06:27:50.950Z] SSH_AGENT_PID=64 [2020-04-17T06:27:50.957Z] Running ssh-add (command line suppressed) [2020-04-17T06:27:51.093Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/private_key_9205397071104702076.key (/w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/private_key_9205397071104702076.key) [2020-04-17T06:27:51.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T06:27:51.496Z] + git semver init [2020-04-17T06:27:51.496Z] # -> Open(): unable to determine branch for HEAD [2020-04-17T06:27:51.496Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-492/.git [2020-04-17T06:27:51.496Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-492 [2020-04-17T06:27:51.496Z] # $SEMVER_REMOTE_NAME = origin [2020-04-17T06:27:51.496Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-17T06:27:51.496Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-17T06:27:51.496Z] # $SEMVER_BRANCH = PR-492 [2020-04-17T06:27:51.496Z] # $SEMVER_TEMP = /tmp/semver-145325700 [2020-04-17T06:27:51.496Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-17T06:27:52.065Z] # '/tmp/semver-145325700' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-492/.semver' [2020-04-17T06:27:52.065Z] # -> Force: false [2020-04-17T06:27:52.065Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-492/.semver [Pipeline] } [2020-04-17T06:27:52.084Z] $ docker exec --env ******** --env ******** 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 ssh-agent -k [2020-04-17T06:27:52.218Z] unset SSH_AUTH_SOCK; [2020-04-17T06:27:52.219Z] unset SSH_AGENT_PID; [2020-04-17T06:27:52.219Z] echo Agent pid 64 killed; [2020-04-17T06:27:52.253Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-17T06:27:52.775Z] + git semver [Pipeline] } [2020-04-17T06:27:52.800Z] $ docker stop --time=1 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 [2020-04-17T06:27:54.145Z] $ docker rm -f 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-17T06:27:55.031Z] Stashed 45 file(s) [Pipeline] echo [2020-04-17T06:27:55.050Z] [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-04-17T06:28:10.488Z] Still waiting to schedule task [2020-04-17T06:28:10.488Z] ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4449’ is offline; ‘prd-centos7-docker-4c-2g-4451’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4427’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-04-17T06:28:10.507Z] Still waiting to schedule task [2020-04-17T06:28:10.507Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-17T06:30:41.804Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4452 in /w/workspace/dgexfoundry_device-sdk-go_PR-492 [Pipeline] { [Pipeline] ws [2020-04-17T06:30:41.870Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-17T06:30:47.942Z] using credential edgex-jenkins-ssh [2020-04-17T06:30:47.996Z] Cloning the remote Git repository [2020-04-17T06:30:47.996Z] Cloning with configured refspecs honoured and without tags [2020-04-17T06:30:48.064Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T06:30:48.158Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-17T06:30:48.256Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T06:30:48.258Z] > git --version # timeout=10 [2020-04-17T06:30:48.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T06:30:49.453Z] Fetching without tags [2020-04-17T06:30:48.362Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T06:30:49.303Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T06:30:49.331Z] > git config --add remote.origin.fetch +refs/pull/492/head:refs/remotes/origin/PR-492 # timeout=10 [2020-04-17T06:30:49.373Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T06:30:49.422Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T06:30:49.481Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T06:30:49.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T06:30:49.495Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T06:30:49.991Z] Merging remotes/origin/master commit c9525094fd4abef9af2e7dd202c12c7ca3958476 into PR head commit 74e513e89effa008bfc797cd1eccc3b81c3dc47a [2020-04-17T06:30:50.323Z] Merge succeeded, producing 74e513e89effa008bfc797cd1eccc3b81c3dc47a [2020-04-17T06:30:50.324Z] Checking out Revision 74e513e89effa008bfc797cd1eccc3b81c3dc47a (PR-492) [2020-04-17T06:30:50.013Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T06:30:50.058Z] > git checkout -f 74e513e89effa008bfc797cd1eccc3b81c3dc47a # timeout=10 [2020-04-17T06:30:50.167Z] > git remote # timeout=10 [2020-04-17T06:30:50.210Z] > git config --get remote.origin.url # timeout=10 [2020-04-17T06:30:50.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T06:30:50.261Z] > git merge c9525094fd4abef9af2e7dd202c12c7ca3958476 # timeout=10 [2020-04-17T06:30:50.292Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-17T06:30:50.336Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T06:30:50.363Z] > git checkout -f 74e513e89effa008bfc797cd1eccc3b81c3dc47a # timeout=10 [2020-04-17T06:30:54.987Z] Commit message: "Refactor bootstrap process" [2020-04-17T06:30:55.038Z] > git --version # timeout=10 [2020-04-17T06:30:55.064Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-17T06:30:56.646Z] ========================================================= [2020-04-17T06:30:56.646Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-17T06:30:56.646Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-17T06:30:57.426Z] Running on prd-centos7-docker-4c-2g-4454 in /w/workspace/dgexfoundry_device-sdk-go_PR-492 [Pipeline] { [Pipeline] ws [2020-04-17T06:30:57.636Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-17T06:30:57.828Z] + 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-04-17T06:30:58.791Z] Sending build context to Docker daemon 2.886MB [2020-04-17T06:30:58.791Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-17T06:30:58.791Z] Step 2/8 : FROM ${BASE} [2020-04-17T06:30:59.058Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-17T06:30:59.058Z] cde5963f3b93: Pulling fs layer [2020-04-17T06:30:59.058Z] 2a23fa8c16f7: Pulling fs layer [2020-04-17T06:30:59.058Z] 777b28850792: Pulling fs layer [2020-04-17T06:30:59.058Z] 8a11ddd9e578: Pulling fs layer [2020-04-17T06:30:59.058Z] 4cf88f913ddb: Pulling fs layer [2020-04-17T06:30:59.058Z] 1df406cf5192: Pulling fs layer [2020-04-17T06:30:59.058Z] cd6300453558: Pulling fs layer [2020-04-17T06:30:59.058Z] b9c365052c96: Pulling fs layer [2020-04-17T06:30:59.058Z] a2d8cc88f415: Pulling fs layer [2020-04-17T06:30:59.058Z] ea1d1ca13537: Pulling fs layer [2020-04-17T06:30:59.058Z] 3750a50a1c5e: Pulling fs layer [2020-04-17T06:30:59.058Z] cd6300453558: Waiting [2020-04-17T06:30:59.058Z] b9c365052c96: Waiting [2020-04-17T06:30:59.058Z] a2d8cc88f415: Waiting [2020-04-17T06:30:59.058Z] ea1d1ca13537: Waiting [2020-04-17T06:30:59.058Z] 3750a50a1c5e: Waiting [2020-04-17T06:30:59.058Z] 8a11ddd9e578: Waiting [2020-04-17T06:30:59.058Z] 4cf88f913ddb: Waiting [2020-04-17T06:30:59.058Z] 1df406cf5192: Waiting [2020-04-17T06:30:59.058Z] 777b28850792: Verifying Checksum [2020-04-17T06:30:59.058Z] 777b28850792: Download complete [2020-04-17T06:30:59.058Z] 2a23fa8c16f7: Verifying Checksum [2020-04-17T06:30:59.058Z] 2a23fa8c16f7: Download complete [2020-04-17T06:30:59.325Z] 4cf88f913ddb: Verifying Checksum [2020-04-17T06:30:59.325Z] 4cf88f913ddb: Download complete [2020-04-17T06:30:59.325Z] 1df406cf5192: Download complete [2020-04-17T06:30:59.325Z] cde5963f3b93: Verifying Checksum [2020-04-17T06:30:59.325Z] cde5963f3b93: Download complete [2020-04-17T06:30:59.675Z] using credential edgex-jenkins-ssh [2020-04-17T06:30:59.717Z] Cloning the remote Git repository [2020-04-17T06:30:59.717Z] Cloning with configured refspecs honoured and without tags [2020-04-17T06:30:59.878Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T06:30:59.918Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-17T06:31:00.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T06:31:00.158Z] > git --version # timeout=10 [2020-04-17T06:31:00.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T06:31:00.188Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T06:31:00.294Z] cde5963f3b93: Pull complete [2020-04-17T06:31:00.628Z] Fetching without tags [2020-04-17T06:31:00.890Z] 2a23fa8c16f7: Pull complete [2020-04-17T06:31:01.014Z] Merging remotes/origin/master commit c9525094fd4abef9af2e7dd202c12c7ca3958476 into PR head commit 74e513e89effa008bfc797cd1eccc3b81c3dc47a [2020-04-17T06:31:01.101Z] Merge succeeded, producing 74e513e89effa008bfc797cd1eccc3b81c3dc47a [2020-04-17T06:31:01.102Z] Checking out Revision 74e513e89effa008bfc797cd1eccc3b81c3dc47a (PR-492) [2020-04-17T06:31:00.703Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T06:31:00.708Z] > git config --add remote.origin.fetch +refs/pull/492/head:refs/remotes/origin/PR-492 # timeout=10 [2020-04-17T06:31:00.712Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T06:31:00.720Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T06:31:00.730Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T06:31:00.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T06:31:00.733Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T06:31:01.087Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T06:31:01.094Z] > git checkout -f 74e513e89effa008bfc797cd1eccc3b81c3dc47a # timeout=10 [2020-04-17T06:31:01.130Z] > git remote # timeout=10 [2020-04-17T06:31:01.134Z] > git config --get remote.origin.url # timeout=10 [2020-04-17T06:31:01.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T06:31:01.142Z] > git merge c9525094fd4abef9af2e7dd202c12c7ca3958476 # timeout=10 [2020-04-17T06:31:01.149Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-17T06:31:01.162Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T06:31:01.166Z] > git checkout -f 74e513e89effa008bfc797cd1eccc3b81c3dc47a # timeout=10 [2020-04-17T06:31:01.484Z] 777b28850792: Pull complete [2020-04-17T06:31:03.455Z] cd6300453558: Verifying Checksum [2020-04-17T06:31:03.455Z] cd6300453558: Download complete [2020-04-17T06:31:03.455Z] a2d8cc88f415: Verifying Checksum [2020-04-17T06:31:03.455Z] a2d8cc88f415: Download complete [2020-04-17T06:31:04.908Z] Commit message: "Refactor bootstrap process" [2020-04-17T06:31:04.934Z] > git --version # timeout=10 [2020-04-17T06:31:04.945Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-17T06:31:05.914Z] ========================================================= [2020-04-17T06:31:05.915Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-17T06:31:05.915Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-17T06:31:06.065Z] ea1d1ca13537: Verifying Checksum [2020-04-17T06:31:06.065Z] ea1d1ca13537: Download complete [2020-04-17T06:31:06.065Z] 3750a50a1c5e: Verifying Checksum [2020-04-17T06:31:06.065Z] 3750a50a1c5e: Download complete [2020-04-17T06:31:06.615Z] + 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-04-17T06:31:06.882Z] Sending build context to Docker daemon 2.888MB [2020-04-17T06:31:06.882Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-17T06:31:06.882Z] Step 2/8 : FROM ${BASE} [2020-04-17T06:31:06.882Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-17T06:31:06.882Z] e6b0cf9c0882: Pulling fs layer [2020-04-17T06:31:06.882Z] 2848faf0eed1: Pulling fs layer [2020-04-17T06:31:06.882Z] 0f37312ad70f: Pulling fs layer [2020-04-17T06:31:06.882Z] 5788d62ee057: Pulling fs layer [2020-04-17T06:31:06.882Z] 0e6b1d234666: Pulling fs layer [2020-04-17T06:31:06.882Z] bf5d7aec512f: Pulling fs layer [2020-04-17T06:31:06.882Z] 34c802a77dc8: Pulling fs layer [2020-04-17T06:31:06.882Z] 9eb99e56ec68: Pulling fs layer [2020-04-17T06:31:06.882Z] 27c7a5d97fbd: Pulling fs layer [2020-04-17T06:31:06.882Z] 5c102a31e300: Pulling fs layer [2020-04-17T06:31:06.882Z] dcfb455df0a1: Pulling fs layer [2020-04-17T06:31:06.882Z] 34c802a77dc8: Waiting [2020-04-17T06:31:06.882Z] 9eb99e56ec68: Waiting [2020-04-17T06:31:06.882Z] 27c7a5d97fbd: Waiting [2020-04-17T06:31:06.882Z] 5c102a31e300: Waiting [2020-04-17T06:31:06.882Z] dcfb455df0a1: Waiting [2020-04-17T06:31:06.882Z] 5788d62ee057: Waiting [2020-04-17T06:31:06.882Z] 0e6b1d234666: Waiting [2020-04-17T06:31:06.882Z] bf5d7aec512f: Waiting [2020-04-17T06:31:06.882Z] 0f37312ad70f: Verifying Checksum [2020-04-17T06:31:06.882Z] 0f37312ad70f: Download complete [2020-04-17T06:31:06.882Z] 2848faf0eed1: Verifying Checksum [2020-04-17T06:31:06.882Z] 2848faf0eed1: Download complete [2020-04-17T06:31:06.882Z] 0e6b1d234666: Verifying Checksum [2020-04-17T06:31:06.882Z] 0e6b1d234666: Download complete [2020-04-17T06:31:06.882Z] bf5d7aec512f: Verifying Checksum [2020-04-17T06:31:06.882Z] bf5d7aec512f: Download complete [2020-04-17T06:31:06.882Z] e6b0cf9c0882: Verifying Checksum [2020-04-17T06:31:06.882Z] e6b0cf9c0882: Download complete [2020-04-17T06:31:07.456Z] e6b0cf9c0882: Pull complete [2020-04-17T06:31:07.456Z] 2848faf0eed1: Pull complete [2020-04-17T06:31:07.456Z] 0f37312ad70f: Pull complete [2020-04-17T06:31:07.748Z] 34c802a77dc8: Download complete [2020-04-17T06:31:07.748Z] 27c7a5d97fbd: Verifying Checksum [2020-04-17T06:31:07.748Z] 27c7a5d97fbd: Download complete [2020-04-17T06:31:08.323Z] 5c102a31e300: Verifying Checksum [2020-04-17T06:31:08.323Z] 5c102a31e300: Download complete [2020-04-17T06:31:08.588Z] dcfb455df0a1: Verifying Checksum [2020-04-17T06:31:08.588Z] dcfb455df0a1: Download complete [2020-04-17T06:31:08.588Z] 9eb99e56ec68: Verifying Checksum [2020-04-17T06:31:08.588Z] 9eb99e56ec68: Download complete [2020-04-17T06:31:08.656Z] b9c365052c96: Download complete [2020-04-17T06:31:08.854Z] 5788d62ee057: Verifying Checksum [2020-04-17T06:31:08.854Z] 5788d62ee057: Download complete [2020-04-17T06:31:10.603Z] 8a11ddd9e578: Verifying Checksum [2020-04-17T06:31:10.603Z] 8a11ddd9e578: Download complete [2020-04-17T06:31:14.203Z] 5788d62ee057: Pull complete [2020-04-17T06:31:14.203Z] 0e6b1d234666: Pull complete [2020-04-17T06:31:14.203Z] bf5d7aec512f: Pull complete [2020-04-17T06:31:20.768Z] 34c802a77dc8: Pull complete [2020-04-17T06:31:22.947Z] 8a11ddd9e578: Pull complete [2020-04-17T06:31:22.948Z] 4cf88f913ddb: Pull complete [2020-04-17T06:31:22.948Z] 1df406cf5192: Pull complete [2020-04-17T06:31:24.059Z] 9eb99e56ec68: Pull complete [2020-04-17T06:31:24.059Z] 27c7a5d97fbd: Pull complete [2020-04-17T06:31:24.629Z] 5c102a31e300: Pull complete [2020-04-17T06:31:24.629Z] dcfb455df0a1: Pull complete [2020-04-17T06:31:24.629Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-17T06:31:24.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-17T06:31:24.629Z] ---> 7c70fe431013 [2020-04-17T06:31:24.629Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T06:31:24.889Z] ---> Running in ccdd2cccc9bf [2020-04-17T06:31:24.889Z] Removing intermediate container ccdd2cccc9bf [2020-04-17T06:31:24.889Z] ---> 1103affd6e82 [2020-04-17T06:31:24.889Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T06:31:24.889Z] ---> Running in c16f5ce0960e [2020-04-17T06:31:25.826Z] Removing intermediate container c16f5ce0960e [2020-04-17T06:31:25.826Z] ---> b95bd7e64692 [2020-04-17T06:31:25.826Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-17T06:31:25.826Z] ---> Running in 727c048b1572 [2020-04-17T06:31:26.760Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-17T06:31:27.328Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-17T06:31:27.588Z] OK: 143 MiB in 39 packages [2020-04-17T06:31:27.846Z] Removing intermediate container 727c048b1572 [2020-04-17T06:31:27.846Z] ---> 9d77c2d2b2b0 [2020-04-17T06:31:27.846Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-17T06:31:28.106Z] ---> Running in 11c028e3b03e [2020-04-17T06:31:28.106Z] Removing intermediate container 11c028e3b03e [2020-04-17T06:31:28.106Z] ---> bf300c6c256e [2020-04-17T06:31:28.106Z] Step 7/8 : COPY . . [2020-04-17T06:31:28.333Z] cd6300453558: Pull complete [2020-04-17T06:31:28.674Z] ---> b38fad2e052f [2020-04-17T06:31:28.674Z] Step 8/8 : RUN go mod download [2020-04-17T06:31:28.674Z] ---> Running in 20abbe91adef [2020-04-17T06:31:31.961Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-17T06:31:31.962Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-17T06:31:31.962Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-17T06:31:31.962Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-17T06:31:31.962Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-17T06:31:31.962Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-17T06:31:31.962Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-17T06:31:31.962Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-17T06:31:31.962Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-17T06:31:31.962Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-17T06:31:31.962Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-17T06:31:31.962Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-17T06:31:31.962Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-17T06:31:32.220Z] go: finding github.com/fatih/color v1.7.0 [2020-04-17T06:31:32.220Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-17T06:31:32.220Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-17T06:31:32.220Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-17T06:31:32.220Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-17T06:31:32.220Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-17T06:31:32.220Z] go: finding github.com/google/uuid v1.1.0 [2020-04-17T06:31:32.488Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-17T06:31:32.488Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-17T06:31:32.488Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-17T06:31:32.488Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-17T06:31:32.488Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-17T06:31:32.488Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-17T06:31:32.608Z] b9c365052c96: Pull complete [2020-04-17T06:31:32.746Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-17T06:31:32.747Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-17T06:31:32.747Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-17T06:31:32.747Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-17T06:31:32.747Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-17T06:31:32.747Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-17T06:31:32.747Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-17T06:31:32.879Z] a2d8cc88f415: Pull complete [2020-04-17T06:31:33.005Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-17T06:31:33.005Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-17T06:31:33.005Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-17T06:31:33.005Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-17T06:31:33.005Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-17T06:31:33.005Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-17T06:31:33.005Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-17T06:31:33.263Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-17T06:31:33.263Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-17T06:31:33.263Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-17T06:31:33.263Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-17T06:31:33.263Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-17T06:31:33.263Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-17T06:31:33.263Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-17T06:31:33.521Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-17T06:31:33.521Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-17T06:31:33.521Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-17T06:31:33.521Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-17T06:31:33.521Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-17T06:31:33.521Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-17T06:31:33.521Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-17T06:31:33.521Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-17T06:31:33.782Z] go: finding github.com/posener/complete v1.1.1 [2020-04-17T06:31:33.782Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-17T06:31:33.782Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-17T06:31:33.782Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-17T06:31:33.782Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-17T06:31:33.782Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-17T06:31:33.782Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-17T06:31:34.041Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-17T06:31:34.041Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-17T06:31:34.041Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-17T06:31:34.041Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-17T06:31:34.041Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-17T06:31:34.041Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-17T06:31:34.840Z] ea1d1ca13537: Pull complete [2020-04-17T06:31:35.428Z] 3750a50a1c5e: Pull complete [2020-04-17T06:31:35.428Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-17T06:31:35.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-17T06:31:35.428Z] ---> 78745c68409d [2020-04-17T06:31:35.428Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T06:31:39.307Z] Removing intermediate container 20abbe91adef [2020-04-17T06:31:39.307Z] ---> a820e1fca813 [2020-04-17T06:31:39.307Z] Successfully built a820e1fca813 [2020-04-17T06:31:39.307Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-04-17T06:31:39.704Z] ---> Running in e5ec22724ed6 [2020-04-17T06:31:39.704Z] Removing intermediate container e5ec22724ed6 [2020-04-17T06:31:39.704Z] ---> c47041549db8 [2020-04-17T06:31:39.704Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] isUnix [Pipeline] sh [2020-04-17T06:31:39.974Z] ---> Running in 6a17e277379b [2020-04-17T06:31:40.085Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-17T06:31:40.085Z] . [Pipeline] withDockerContainer [2020-04-17T06:31:40.319Z] prd-centos7-docker-4c-2g-4454 does not seem to be running inside a container [2020-04-17T06:31:40.454Z] $ 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 [2020-04-17T06:31:41.523Z] $ docker top ebae67a28ac50022b551b8ef8527033ce9b36f885485da406eedcbb3183fcae0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-17T06:31:41.921Z] Removing intermediate container 6a17e277379b [2020-04-17T06:31:41.921Z] ---> 2335251cc83f [2020-04-17T06:31:41.921Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-17T06:31:42.036Z] + go version [2020-04-17T06:31:42.036Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-17T06:31:42.191Z] ---> Running in d76216e2c0da [2020-04-17T06:31:42.354Z] + make test [2020-04-17T06:31:42.354Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-17T06:31:42.778Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-17T06:31:42.922Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-17T06:31:43.741Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-17T06:31:44.324Z] OK: 125 MiB in 39 packages [2020-04-17T06:31:45.737Z] Removing intermediate container d76216e2c0da [2020-04-17T06:31:45.737Z] ---> 2c03db371b8c [2020-04-17T06:31:45.737Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-17T06:31:45.737Z] ---> Running in fe1949118595 [2020-04-17T06:31:46.004Z] Removing intermediate container fe1949118595 [2020-04-17T06:31:46.004Z] ---> 9dd4b8f85a70 [2020-04-17T06:31:46.004Z] Step 7/8 : COPY . . [2020-04-17T06:31:46.975Z] ---> 59aa8852c5e8 [2020-04-17T06:31:46.975Z] Step 8/8 : RUN go mod download [2020-04-17T06:31:47.242Z] ---> Running in 2b50117973d8 [2020-04-17T06:31:49.191Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-17T06:31:49.191Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-17T06:31:49.191Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-17T06:31:49.191Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-17T06:31:49.191Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-17T06:31:49.191Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-17T06:31:49.191Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-17T06:31:49.191Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-17T06:31:49.191Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-17T06:31:49.191Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-17T06:31:49.191Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-17T06:31:49.191Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-17T06:31:49.191Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-17T06:31:49.191Z] go: finding github.com/fatih/color v1.7.0 [2020-04-17T06:31:49.191Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-17T06:31:49.191Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-17T06:31:49.191Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-17T06:31:49.191Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-17T06:31:49.191Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-17T06:31:49.191Z] go: finding github.com/google/uuid v1.1.0 [2020-04-17T06:31:49.191Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-17T06:31:49.191Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-17T06:31:49.459Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-17T06:31:49.459Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-17T06:31:49.459Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-17T06:31:49.459Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-17T06:31:49.459Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-17T06:31:49.459Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-17T06:31:49.459Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-17T06:31:49.459Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-17T06:31:49.459Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-17T06:31:49.459Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-17T06:31:49.459Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-17T06:31:49.459Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-17T06:31:49.459Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-17T06:31:49.459Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-17T06:31:49.459Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-17T06:31:49.459Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-17T06:31:49.459Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-17T06:31:49.459Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-17T06:31:49.459Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-17T06:31:49.459Z] go: finding github.com/posener/complete v1.1.1 [2020-04-17T06:31:49.459Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-17T06:31:49.459Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-17T06:31:49.459Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-17T06:31:49.730Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-17T06:31:49.730Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-17T06:31:49.730Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-17T06:31:49.730Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-17T06:31:49.730Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-17T06:31:49.730Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-17T06:31:49.730Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-17T06:31:49.730Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-17T06:31:49.730Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-17T06:31:52.979Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-17T06:31:52.979Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-17T06:31:52.979Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.023s coverage: 22.1% of statements [2020-04-17T06:31:55.518Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.039s coverage: 95.8% of statements [2020-04-17T06:31:59.825Z] Removing intermediate container 2b50117973d8 [2020-04-17T06:31:59.825Z] ---> fb72c1fd9a77 [2020-04-17T06:31:59.825Z] Successfully built fb72c1fd9a77 [2020-04-17T06:31:59.825Z] 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-04-17T06:32:00.664Z] + docker inspect -f . ci-base-image-arm64 [2020-04-17T06:32:00.664Z] . [Pipeline] withDockerContainer [2020-04-17T06:32:01.016Z] prd-ubuntu18.04-docker-arm64-4c-16g-4452 does not seem to be running inside a container [2020-04-17T06:32:01.097Z] $ 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 [2020-04-17T06:32:02.655Z] $ docker top f7bc04bd454b3cae3173746102c8e6f115d26bd81ee163efe1a7699cb0cd64b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-17T06:32:03.771Z] + go version [2020-04-17T06:32:03.771Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-17T06:32:04.441Z] + make test [2020-04-17T06:32:04.441Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-17T06:32:05.861Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-17T06:32:27.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.977s coverage: 11.4% of statements [2020-04-17T06:32:27.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 22.1% of statements [2020-04-17T06:32:27.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-17T06:32:27.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.116s coverage: 38.5% of statements [2020-04-17T06:32:27.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-17T06:32:27.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-17T06:32:27.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.273s coverage: 79.8% of statements [2020-04-17T06:32:27.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-17T06:32:27.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-17T06:32:27.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-17T06:32:27.608Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements [2020-04-17T06:32:27.608Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-17T06:32:27.608Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 71.4% of statements [2020-04-17T06:32:27.608Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-17T06:32:27.608Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-17T06:32:27.608Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-17T06:32:27.608Z] gofmt -l . [2020-04-17T06:32:27.608Z] [ "`gofmt -l .`" = "" ] [2020-04-17T06:32:27.608Z] ./bin/test-attribution-txt.sh [2020-04-17T06:32:27.608Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-17T06:32:27.974Z] Stashed 1 file(s) [Pipeline] } [2020-04-17T06:32:27.988Z] $ docker stop --time=1 ebae67a28ac50022b551b8ef8527033ce9b36f885485da406eedcbb3183fcae0 [2020-04-17T06:32:29.421Z] $ docker rm -f ebae67a28ac50022b551b8ef8527033ce9b36f885485da406eedcbb3183fcae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-17T06:32:31.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-17T06:32:31.348Z] + ls -al . [2020-04-17T06:32:31.348Z] total 160 [2020-04-17T06:32:31.348Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 17 06:32 . [2020-04-17T06:32:31.348Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 17 06:31 .. [2020-04-17T06:32:31.348Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 17 06:31 api [2020-04-17T06:32:31.348Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 17 06:31 bin [2020-04-17T06:32:31.348Z] -rw-r--r--. 1 jenkins jenkins 96404 Apr 17 06:32 coverage.out [2020-04-17T06:32:31.348Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 17 06:31 Dockerfile.build [2020-04-17T06:32:31.348Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 17 06:31 .dockerignore [2020-04-17T06:32:31.348Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 17 06:31 example [2020-04-17T06:32:31.348Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 17 06:31 .git [2020-04-17T06:32:31.348Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 17 06:31 .github [2020-04-17T06:32:31.348Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 17 06:31 .gitignore [2020-04-17T06:32:31.348Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 17 06:32 go.mod [2020-04-17T06:32:31.348Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 17 06:32 go.sum [2020-04-17T06:32:31.348Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 17 06:31 internal [2020-04-17T06:32:31.348Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 17 06:31 Jenkinsfile [2020-04-17T06:32:31.348Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 17 06:31 LICENSE [2020-04-17T06:32:31.348Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 17 06:31 Makefile [2020-04-17T06:32:31.348Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 17 06:31 pkg [2020-04-17T06:32:31.348Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 17 06:31 README.md [2020-04-17T06:32:31.348Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 17 06:31 .semver [2020-04-17T06:32:31.348Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 17 06:31 snap [2020-04-17T06:32:31.348Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 17 06:27 VERSION [2020-04-17T06:32:31.348Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 17 06:31 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-17T06:32:31.687Z] + 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=74e513e89effa008bfc797cd1eccc3b81c3dc47a --label arch=amd64 --label version=0.0.0 . [2020-04-17T06:32:31.687Z] Sending build context to Docker daemon 3.006MB [2020-04-17T06:32:31.687Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-17T06:32:31.687Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-17T06:32:31.687Z] ---> a820e1fca813 [2020-04-17T06:32:31.687Z] Step 3/21 : ARG MAKE='make build' [2020-04-17T06:32:31.946Z] ---> Running in 106b6bf551b4 [2020-04-17T06:32:31.946Z] Removing intermediate container 106b6bf551b4 [2020-04-17T06:32:31.946Z] ---> cfec998f7394 [2020-04-17T06:32:31.946Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-17T06:32:31.946Z] ---> Running in 20161dbd66dc [2020-04-17T06:32:32.204Z] Removing intermediate container 20161dbd66dc [2020-04-17T06:32:32.204Z] ---> 466c1ea33baf [2020-04-17T06:32:32.204Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T06:32:32.204Z] ---> Running in f312b0e404db [2020-04-17T06:32:32.463Z] Removing intermediate container f312b0e404db [2020-04-17T06:32:32.463Z] ---> e5bd7387e236 [2020-04-17T06:32:32.463Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T06:32:32.463Z] ---> Running in 15bdd5688dd9 [2020-04-17T06:32:32.601Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-17T06:32:32.601Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-17T06:32:33.037Z] Removing intermediate container 15bdd5688dd9 [2020-04-17T06:32:33.037Z] ---> b7000fa0b21f [2020-04-17T06:32:33.037Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-17T06:32:33.296Z] ---> Running in f993232bd497 [2020-04-17T06:32:33.555Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-17T06:32:34.030Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.019s coverage: 22.1% of statements [2020-04-17T06:32:34.491Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-17T06:32:34.750Z] OK: 143 MiB in 39 packages [2020-04-17T06:32:35.316Z] Removing intermediate container f993232bd497 [2020-04-17T06:32:35.316Z] ---> 8ee587e0350a [2020-04-17T06:32:35.316Z] Step 8/21 : COPY . . [2020-04-17T06:32:35.576Z] ---> f4f99a928be5 [2020-04-17T06:32:35.576Z] Step 9/21 : RUN ${MAKE} [2020-04-17T06:32:35.576Z] ---> Running in 9825ee7233de [2020-04-17T06:32:35.835Z] 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-04-17T06:32:37.420Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.241s coverage: 95.8% of statements [2020-04-17T06:32:43.996Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-17T06:32:43.996Z] Removing intermediate container 9825ee7233de [2020-04-17T06:32:43.996Z] ---> cd4576073431 [2020-04-17T06:32:43.996Z] Step 10/21 : FROM scratch [2020-04-17T06:32:43.996Z] ---> [2020-04-17T06:32:43.996Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T06:32:43.996Z] ---> Running in 1cd7260fc4f3 [2020-04-17T06:32:43.996Z] Removing intermediate container 1cd7260fc4f3 [2020-04-17T06:32:43.996Z] ---> dee846f28a57 [2020-04-17T06:32:43.996Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-17T06:32:44.256Z] ---> Running in 39c5d7a70089 [2020-04-17T06:32:44.256Z] Removing intermediate container 39c5d7a70089 [2020-04-17T06:32:44.256Z] ---> 015e25e9960d [2020-04-17T06:32:44.256Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-17T06:32:44.256Z] ---> Running in d976ef738421 [2020-04-17T06:32:44.515Z] Removing intermediate container d976ef738421 [2020-04-17T06:32:44.515Z] ---> d86018196f0e [2020-04-17T06:32:44.515Z] Step 14/21 : WORKDIR / [2020-04-17T06:32:44.515Z] ---> Running in 95d025eb6ce5 [2020-04-17T06:32:44.515Z] Removing intermediate container 95d025eb6ce5 [2020-04-17T06:32:44.515Z] ---> 60273294a86e [2020-04-17T06:32:44.515Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-17T06:32:45.081Z] ---> 3e0f5b8033e4 [2020-04-17T06:32:45.081Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-17T06:32:45.081Z] ---> b0913d7ad503 [2020-04-17T06:32:45.081Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-17T06:32:45.339Z] ---> 77a7739e0831 [2020-04-17T06:32:45.339Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-17T06:32:45.339Z] ---> Running in 7f2d17dab506 [2020-04-17T06:32:45.339Z] Removing intermediate container 7f2d17dab506 [2020-04-17T06:32:45.339Z] ---> d3d618a947a2 [2020-04-17T06:32:45.339Z] Step 19/21 : LABEL arch=amd64 [2020-04-17T06:32:45.601Z] ---> Running in 2428564b97be [2020-04-17T06:32:45.601Z] Removing intermediate container 2428564b97be [2020-04-17T06:32:45.601Z] ---> 99346c2b6c7d [2020-04-17T06:32:45.601Z] Step 20/21 : LABEL git_sha=74e513e89effa008bfc797cd1eccc3b81c3dc47a [2020-04-17T06:32:45.601Z] ---> Running in 335c197bbd6b [2020-04-17T06:32:45.862Z] Removing intermediate container 335c197bbd6b [2020-04-17T06:32:45.862Z] ---> 20e85a0f8b8b [2020-04-17T06:32:45.862Z] Step 21/21 : LABEL version=0.0.0 [2020-04-17T06:32:45.862Z] ---> Running in a43ca9e8b257 [2020-04-17T06:32:45.862Z] Removing intermediate container a43ca9e8b257 [2020-04-17T06:32:45.862Z] ---> 61bac7a5e8c4 [2020-04-17T06:32:45.862Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-17T06:32:45.862Z] Successfully built 61bac7a5e8c4 [2020-04-17T06:32:45.862Z] 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-04-17T06:33:09.664Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.062s coverage: 11.4% of statements [2020-04-17T06:33:09.664Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 22.1% of statements [2020-04-17T06:33:09.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-17T06:33:09.664Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.124s coverage: 38.5% of statements [2020-04-17T06:33:09.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-17T06:33:09.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-17T06:33:09.664Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.725s coverage: 79.8% of statements [2020-04-17T06:33:09.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-17T06:33:09.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-17T06:33:09.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-17T06:33:09.664Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements [2020-04-17T06:33:09.664Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-17T06:33:09.664Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.325s coverage: 71.4% of statements [2020-04-17T06:33:09.664Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-17T06:33:09.664Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-17T06:33:09.664Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-17T06:33:11.634Z] gofmt -l . [2020-04-17T06:33:11.901Z] [ "`gofmt -l .`" = "" ] [2020-04-17T06:33:12.482Z] ./bin/test-attribution-txt.sh [2020-04-17T06:33:13.065Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-17T06:33:13.364Z] Warning: overwriting stash ‘coverage-report’ [2020-04-17T06:33:13.824Z] Stashed 1 file(s) [Pipeline] } [2020-04-17T06:33:13.846Z] $ docker stop --time=1 f7bc04bd454b3cae3173746102c8e6f115d26bd81ee163efe1a7699cb0cd64b5 [2020-04-17T06:33:15.878Z] $ docker rm -f f7bc04bd454b3cae3173746102c8e6f115d26bd81ee163efe1a7699cb0cd64b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-17T06:33:17.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-17T06:33:17.602Z] + ls -al . [2020-04-17T06:33:17.602Z] total 200 [2020-04-17T06:33:17.602Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 06:33 . [2020-04-17T06:33:17.602Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 06:30 .. [2020-04-17T06:33:17.602Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 06:30 .dockerignore [2020-04-17T06:33:17.602Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 06:30 .git [2020-04-17T06:33:17.602Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 06:30 .github [2020-04-17T06:33:17.602Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 17 06:30 .gitignore [2020-04-17T06:33:17.602Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 06:30 .semver [2020-04-17T06:33:17.602Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 17 06:30 Dockerfile.build [2020-04-17T06:33:17.602Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 17 06:30 Jenkinsfile [2020-04-17T06:33:17.602Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 06:30 LICENSE [2020-04-17T06:33:17.602Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 17 06:30 Makefile [2020-04-17T06:33:17.602Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 17 06:30 README.md [2020-04-17T06:33:17.602Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 06:27 VERSION [2020-04-17T06:33:17.603Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 06:30 api [2020-04-17T06:33:17.603Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 06:30 bin [2020-04-17T06:33:17.603Z] -rw-r--r-- 1 jenkins jenkins 96404 Apr 17 06:33 coverage.out [2020-04-17T06:33:17.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 06:30 example [2020-04-17T06:33:17.603Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 17 06:33 go.mod [2020-04-17T06:33:17.603Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 17 06:33 go.sum [2020-04-17T06:33:17.603Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 17 06:30 internal [2020-04-17T06:33:17.603Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 06:30 pkg [2020-04-17T06:33:17.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 06:30 snap [2020-04-17T06:33:17.603Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 06:30 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-17T06:33:17.960Z] + 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=74e513e89effa008bfc797cd1eccc3b81c3dc47a --label arch=arm64 --label version=0.0.0 . [2020-04-17T06:33:18.545Z] Sending build context to Docker daemon 3.004MB [2020-04-17T06:33:18.545Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-17T06:33:18.545Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-17T06:33:18.545Z] ---> fb72c1fd9a77 [2020-04-17T06:33:18.545Z] Step 3/21 : ARG MAKE='make build' [2020-04-17T06:33:18.545Z] ---> Running in 3e564d55b155 [2020-04-17T06:33:19.130Z] Removing intermediate container 3e564d55b155 [2020-04-17T06:33:19.130Z] ---> 5212024f2f63 [2020-04-17T06:33:19.130Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-17T06:33:19.130Z] ---> Running in b380ffbdf6bf [2020-04-17T06:33:19.403Z] Removing intermediate container b380ffbdf6bf [2020-04-17T06:33:19.403Z] ---> 935e11ecb1d9 [2020-04-17T06:33:19.403Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T06:33:19.673Z] ---> Running in 7deeeb714e0f [2020-04-17T06:33:19.941Z] Removing intermediate container 7deeeb714e0f [2020-04-17T06:33:19.941Z] ---> 77bbad94fb39 [2020-04-17T06:33:19.941Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T06:33:20.211Z] ---> Running in 003b63f800bf [2020-04-17T06:33:22.162Z] Removing intermediate container 003b63f800bf [2020-04-17T06:33:22.162Z] ---> 7d78af9c53d1 [2020-04-17T06:33:22.162Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-17T06:33:22.162Z] ---> Running in ecf98c43641a [2020-04-17T06:33:23.123Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-17T06:33:23.706Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-17T06:33:24.291Z] OK: 125 MiB in 39 packages [2020-04-17T06:33:25.703Z] Removing intermediate container ecf98c43641a [2020-04-17T06:33:25.703Z] ---> f90cf51b8047 [2020-04-17T06:33:25.703Z] Step 8/21 : COPY . . [2020-04-17T06:33:26.673Z] ---> 57b24a40e7d8 [2020-04-17T06:33:26.673Z] Step 9/21 : RUN ${MAKE} [2020-04-17T06:33:26.673Z] ---> Running in da167c3719df [2020-04-17T06:33:27.648Z] 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-04-17T06:33:49.751Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-17T06:33:53.111Z] Removing intermediate container da167c3719df [2020-04-17T06:33:53.111Z] ---> a5759aedd123 [2020-04-17T06:33:53.111Z] Step 10/21 : FROM scratch [2020-04-17T06:33:53.111Z] ---> [2020-04-17T06:33:53.111Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T06:33:53.111Z] ---> Running in 1a51718bd9d1 [2020-04-17T06:33:53.111Z] Removing intermediate container 1a51718bd9d1 [2020-04-17T06:33:53.111Z] ---> 853dcc260cca [2020-04-17T06:33:53.111Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-17T06:33:53.111Z] ---> Running in 0414c3d7e03a [2020-04-17T06:33:53.380Z] Removing intermediate container 0414c3d7e03a [2020-04-17T06:33:53.380Z] ---> 4d18f5bf7d34 [2020-04-17T06:33:53.380Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-17T06:33:53.647Z] ---> Running in 1357684741bb [2020-04-17T06:33:53.918Z] Removing intermediate container 1357684741bb [2020-04-17T06:33:53.918Z] ---> 44a8369771ba [2020-04-17T06:33:53.918Z] Step 14/21 : WORKDIR / [2020-04-17T06:33:53.918Z] ---> Running in 98d4dc8c5648 [2020-04-17T06:33:54.510Z] Removing intermediate container 98d4dc8c5648 [2020-04-17T06:33:54.510Z] ---> 177489db09bf [2020-04-17T06:33:54.510Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-17T06:33:55.475Z] ---> c3e7fa1622f7 [2020-04-17T06:33:55.475Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-17T06:33:56.061Z] ---> db44c214d5df [2020-04-17T06:33:56.061Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-17T06:33:56.645Z] ---> 7a713a6cc4ae [2020-04-17T06:33:56.645Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-17T06:33:56.645Z] ---> Running in ec5f6d3ef880 [2020-04-17T06:33:56.911Z] Removing intermediate container ec5f6d3ef880 [2020-04-17T06:33:56.911Z] ---> fd53987e82d6 [2020-04-17T06:33:56.911Z] Step 19/21 : LABEL arch=arm64 [2020-04-17T06:33:57.178Z] ---> Running in 00e18eddd10d [2020-04-17T06:33:57.464Z] Removing intermediate container 00e18eddd10d [2020-04-17T06:33:57.464Z] ---> 57f330796998 [2020-04-17T06:33:57.464Z] Step 20/21 : LABEL git_sha=74e513e89effa008bfc797cd1eccc3b81c3dc47a [2020-04-17T06:33:57.464Z] ---> Running in 3f4184a6a76f [2020-04-17T06:33:58.049Z] Removing intermediate container 3f4184a6a76f [2020-04-17T06:33:58.049Z] ---> e70b86037f6c [2020-04-17T06:33:58.049Z] Step 21/21 : LABEL version=0.0.0 [2020-04-17T06:33:58.049Z] ---> Running in 1e2149ccc0ee [2020-04-17T06:33:58.317Z] Removing intermediate container 1e2149ccc0ee [2020-04-17T06:33:58.317Z] ---> c8624036bdd2 [2020-04-17T06:33:58.317Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-17T06:33:58.317Z] Successfully built c8624036bdd2 [2020-04-17T06:33:58.317Z] 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-04-17T06:34:00.236Z] provisioning config files... [2020-04-17T06:34:00.249Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/config7623112087877779022tmp [Pipeline] { [Pipeline] sh [2020-04-17T06:34:00.640Z] + curl -s https://codecov.io/bash [2020-04-17T06:34:00.640Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/config7623112087877779022tmp [2020-04-17T06:34:00.900Z] [2020-04-17T06:34:00.900Z] _____ _ [2020-04-17T06:34:00.900Z] / ____| | | [2020-04-17T06:34:00.900Z] | | ___ __| | ___ ___ _____ __ [2020-04-17T06:34:00.900Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-17T06:34:00.900Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-17T06:34:00.900Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-17T06:34:00.900Z] Bash-tbd [2020-04-17T06:34:00.900Z] [2020-04-17T06:34:00.900Z] [2020-04-17T06:34:00.900Z] ==> Jenkins CI detected. [2020-04-17T06:34:00.900Z] project root: . [2020-04-17T06:34:00.900Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-17T06:34:00.900Z] ==> Running gcov in . (disable via -X gcov) [2020-04-17T06:34:00.900Z] ==> Python coveragepy not found [2020-04-17T06:34:00.900Z] ==> Searching for coverage reports in: [2020-04-17T06:34:00.900Z] + . [2020-04-17T06:34:00.900Z] -> Found 1 reports [2020-04-17T06:34:00.900Z] ==> Detecting git/mercurial file structure [2020-04-17T06:34:00.900Z] ==> Reading reports [2020-04-17T06:34:00.900Z] + ./coverage.out bytes=96404 [2020-04-17T06:34:00.900Z] ==> Appending adjustments [2020-04-17T06:34:00.900Z] http://docs.codecov.io/docs/fixing-reports [2020-04-17T06:34:01.158Z] + Found adjustments [2020-04-17T06:34:01.158Z] ==> Gzipping contents [2020-04-17T06:34:01.158Z] ==> Uploading reports [2020-04-17T06:34:01.158Z] url: https://codecov.io [2020-04-17T06:34:01.158Z] query: branch=PR-492&commit=74e513e89effa008bfc797cd1eccc3b81c3dc47a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-492%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=492&job= [2020-04-17T06:34:01.158Z] -> Pinging Codecov [2020-04-17T06:34:01.158Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-492&commit=74e513e89effa008bfc797cd1eccc3b81c3dc47a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-492%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=492&job= [2020-04-17T06:34:01.728Z] -> Uploading [2020-04-17T06:34:02.297Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/74e513e89effa008bfc797cd1eccc3b81c3dc47a [Pipeline] } [2020-04-17T06:34:02.319Z] 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-04-17T06:34:04.063Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T06:34:04.393Z] ---> package-listing.sh [2020-04-17T06:34:04.393Z] ++ facter osfamily [2020-04-17T06:34:04.393Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-17T06:34:04.393Z] + OS_FAMILY=redhat [2020-04-17T06:34:04.393Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-492 [2020-04-17T06:34:04.393Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-17T06:34:04.393Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-17T06:34:04.393Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-17T06:34:04.393Z] + PACKAGES=/tmp/packages_start.txt [2020-04-17T06:34:04.393Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-492 ']' [2020-04-17T06:34:04.393Z] + PACKAGES=/tmp/packages_end.txt [2020-04-17T06:34:04.393Z] + case "${OS_FAMILY}" in [2020-04-17T06:34:04.393Z] + rpm -qa [2020-04-17T06:34:04.393Z] + sort [2020-04-17T06:34:08.590Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-17T06:34:08.590Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-17T06:34:08.590Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-17T06:34:08.590Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-492 ']' [2020-04-17T06:34:08.590Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-492/archives/ [2020-04-17T06:34:08.590Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-492/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-17T06:34:09.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-17T06:34:09.101Z] [2020-04-17T06:34:09.101Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-17T06:34:09.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-17T06:34:09.467Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-17T06:34:09.467Z] c9b1b535fdd9: Pulling fs layer [2020-04-17T06:34:09.467Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-17T06:34:09.467Z] 756a868c4378: Pulling fs layer [2020-04-17T06:34:09.467Z] 444b2fc9a129: Pulling fs layer [2020-04-17T06:34:09.467Z] ea15f1150254: Pulling fs layer [2020-04-17T06:34:09.467Z] 41b27a9f41bf: Pulling fs layer [2020-04-17T06:34:09.467Z] 28c525ee5125: Pulling fs layer [2020-04-17T06:34:09.467Z] 094b1ea09ed8: Pulling fs layer [2020-04-17T06:34:09.467Z] 138eaada9080: Pulling fs layer [2020-04-17T06:34:09.467Z] 0622d0fa9048: Pulling fs layer [2020-04-17T06:34:09.467Z] 41b27a9f41bf: Waiting [2020-04-17T06:34:09.467Z] 28c525ee5125: Waiting [2020-04-17T06:34:09.467Z] 094b1ea09ed8: Waiting [2020-04-17T06:34:09.467Z] 138eaada9080: Waiting [2020-04-17T06:34:09.467Z] 0622d0fa9048: Waiting [2020-04-17T06:34:09.467Z] 444b2fc9a129: Waiting [2020-04-17T06:34:09.467Z] ea15f1150254: Waiting [2020-04-17T06:34:09.467Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-17T06:34:09.467Z] 2cc5ad85d9ab: Download complete [2020-04-17T06:34:09.467Z] 444b2fc9a129: Verifying Checksum [2020-04-17T06:34:09.467Z] 444b2fc9a129: Download complete [2020-04-17T06:34:09.467Z] c9b1b535fdd9: Verifying Checksum [2020-04-17T06:34:09.467Z] ea15f1150254: Verifying Checksum [2020-04-17T06:34:09.467Z] ea15f1150254: Download complete [2020-04-17T06:34:09.733Z] 28c525ee5125: Verifying Checksum [2020-04-17T06:34:09.733Z] 28c525ee5125: Download complete [2020-04-17T06:34:09.994Z] c9b1b535fdd9: Pull complete [2020-04-17T06:34:09.994Z] 756a868c4378: Verifying Checksum [2020-04-17T06:34:09.994Z] 756a868c4378: Download complete [2020-04-17T06:34:10.262Z] 138eaada9080: Verifying Checksum [2020-04-17T06:34:10.262Z] 138eaada9080: Download complete [2020-04-17T06:34:10.262Z] 2cc5ad85d9ab: Pull complete [2020-04-17T06:34:10.262Z] 094b1ea09ed8: Verifying Checksum [2020-04-17T06:34:10.262Z] 094b1ea09ed8: Download complete [2020-04-17T06:34:10.262Z] 0622d0fa9048: Verifying Checksum [2020-04-17T06:34:10.262Z] 0622d0fa9048: Download complete [2020-04-17T06:34:10.525Z] 41b27a9f41bf: Verifying Checksum [2020-04-17T06:34:10.525Z] 41b27a9f41bf: Download complete [2020-04-17T06:34:11.922Z] 756a868c4378: Pull complete [2020-04-17T06:34:11.922Z] 444b2fc9a129: Pull complete [2020-04-17T06:34:12.184Z] ea15f1150254: Pull complete [2020-04-17T06:34:15.490Z] 41b27a9f41bf: Pull complete [2020-04-17T06:34:15.490Z] 28c525ee5125: Pull complete [2020-04-17T06:34:18.054Z] 094b1ea09ed8: Pull complete [2020-04-17T06:34:18.054Z] 138eaada9080: Pull complete [2020-04-17T06:34:18.054Z] 0622d0fa9048: Pull complete [2020-04-17T06:34:18.054Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-17T06:34:18.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-17T06:34:18.246Z] prd-centos7-docker-4c-2g-4450 does not seem to be running inside a container [2020-04-17T06:34:18.289Z] $ 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-492 -v /w/workspace/dgexfoundry_device-sdk-go_PR-492:/w/workspace/dgexfoundry_device-sdk-go_PR-492:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-492@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 [2020-04-17T06:34:19.266Z] $ docker top 7c7f9bc71a055573c4ff2772d250dd2fc6afc88f0982e3407458e4d129d02ff4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-17T06:34:19.580Z] provisioning config files... [2020-04-17T06:34:19.595Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/config5031815725802929944tmp [Pipeline] { [Pipeline] echo [2020-04-17T06:34:19.689Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T06:34:20.009Z] ---> create-netrc.sh [Pipeline] echo [2020-04-17T06:34:20.033Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T06:34:20.349Z] ---> logs-deploy.sh [2020-04-17T06:34:20.349Z] + ARCHIVE_ARTIFACTS= [2020-04-17T06:34:20.349Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-17T06:34:20.349Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-17T06:34:20.349Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-17T06:34:20.349Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-492/1 [2020-04-17T06:34:20.349Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-492/1/ [2020-04-17T06:34:20.349Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-492/1 /w/workspace/dgexfoundry_device-sdk-go_PR-492 [2020-04-17T06:34:21.289Z] Archives upload complete. [2020-04-17T06:34:21.548Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-492/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-492/1/