Pull request #541 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 jamesrgregg for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 35069692f68dee2f6752c48bd44826b15366f437+fd75c29bc70b45e81e8d6526ecff9c2e7979e15f (28bad78fb400a25710fbc2032a604a098ca575c9) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-541/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3167 in /w/workspace/dgexfoundry_device-sdk-go_PR-541 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-541 # 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/541/head:refs/remotes/origin/PR-541 +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/541/head:refs/remotes/origin/PR-541 # 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/541/head:refs/remotes/origin/PR-541 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fd75c29bc70b45e81e8d6526ecff9c2e7979e15f into PR head commit 35069692f68dee2f6752c48bd44826b15366f437 Merge succeeded, producing 35069692f68dee2f6752c48bd44826b15366f437 Checking out Revision 35069692f68dee2f6752c48bd44826b15366f437 (PR-541) > git config core.sparsecheckout # timeout=10 > git checkout -f 35069692f68dee2f6752c48bd44826b15366f437 # 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 fd75c29bc70b45e81e8d6526ecff9c2e7979e15f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35069692f68dee2f6752c48bd44826b15366f437 # timeout=10 Commit message: "update pr template to add dependency section" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-16T19:58:54.091Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-16T19:58:54.311Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-16T19:58:54.424Z] ========================================================= [2020-06-16T19:58:54.424Z] EdgeX Global Pipelines Version Info [2020-06-16T19:58:54.424Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-16T19:58:56.392Z] ------------------- [2020-06-16T19:58:56.392Z] stable info: [2020-06-16T19:58:56.392Z] ------------------- [2020-06-16T19:58:56.392Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-16T19:58:56.392Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-16T19:58:56.392Z] Message: update stable to v1.0.89 [2020-06-16T19:58:56.965Z] ------------------- [2020-06-16T19:58:56.965Z] experimental info: [2020-06-16T19:58:56.965Z] ------------------- [2020-06-16T19:58:56.965Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-16T19:58:56.965Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-16T19:58:56.965Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-16T19:58:58.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-16T19:58:59.430Z] [2020-06-16T19:58:59.430Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-16T19:58:59.791Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-16T19:58:59.791Z] latest: Pulling from edgex-devops/git-semver [2020-06-16T19:58:59.791Z] 9123ac7c32f7: Pulling fs layer [2020-06-16T19:58:59.791Z] b8cc5d1170e3: Pulling fs layer [2020-06-16T19:58:59.791Z] 2924cbbf6a41: Pulling fs layer [2020-06-16T19:58:59.791Z] 93b08a4f1073: Pulling fs layer [2020-06-16T19:58:59.791Z] 93b08a4f1073: Waiting [2020-06-16T19:58:59.791Z] b8cc5d1170e3: Verifying Checksum [2020-06-16T19:58:59.791Z] b8cc5d1170e3: Download complete [2020-06-16T19:59:00.058Z] 9123ac7c32f7: Verifying Checksum [2020-06-16T19:59:00.058Z] 9123ac7c32f7: Download complete [2020-06-16T19:59:00.058Z] 93b08a4f1073: Verifying Checksum [2020-06-16T19:59:00.058Z] 93b08a4f1073: Download complete [2020-06-16T19:59:00.058Z] 2924cbbf6a41: Verifying Checksum [2020-06-16T19:59:00.058Z] 2924cbbf6a41: Download complete [2020-06-16T19:59:00.319Z] 9123ac7c32f7: Pull complete [2020-06-16T19:59:00.319Z] b8cc5d1170e3: Pull complete [2020-06-16T19:59:01.273Z] 2924cbbf6a41: Pull complete [2020-06-16T19:59:01.273Z] 93b08a4f1073: Pull complete [2020-06-16T19:59:01.273Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-16T19:59:01.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-16T19:59:01.273Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-16T19:59:01.412Z] prd-centos7-docker-4c-2g-3167 does not seem to be running inside a container [2020-06-16T19:59:01.454Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-541 -v /w/workspace/dgexfoundry_device-sdk-go_PR-541:/w/workspace/dgexfoundry_device-sdk-go_PR-541:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-541@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-06-16T19:59:03.613Z] $ docker top 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-16T19:59:03.859Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-16T19:59:03.859Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-16T19:59:04.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-16T19:59:04.097Z] $ docker exec 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 ssh-agent [2020-06-16T19:59:04.263Z] SSH_AUTH_SOCK=/tmp/ssh-3bYlyQ2w6xYW/agent.12 [2020-06-16T19:59:04.263Z] SSH_AGENT_PID=18 [2020-06-16T19:59:04.274Z] Running ssh-add (command line suppressed) [2020-06-16T19:59:04.401Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/private_key_8093842015790845135.key (/w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/private_key_8093842015790845135.key) [2020-06-16T19:59:04.450Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-16T19:59:04.789Z] + git describe --exact-match --tags HEAD [2020-06-16T19:59:04.789Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-16T19:59:04.910Z] $ docker exec --env ******** --env ******** 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 ssh-agent -k [2020-06-16T19:59:05.029Z] unset SSH_AUTH_SOCK; [2020-06-16T19:59:05.029Z] unset SSH_AGENT_PID; [2020-06-16T19:59:05.029Z] echo Agent pid 18 killed; [2020-06-16T19:59:05.073Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-16T19:59:05.170Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-16T19:59:05.170Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-16T19:59:05.235Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-16T19:59:05.235Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-16T19:59:05.414Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-16T19:59:05.419Z] $ docker exec 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 ssh-agent [2020-06-16T19:59:05.729Z] SSH_AUTH_SOCK=/tmp/ssh-cB5KSEPOyUlM/agent.47 [2020-06-16T19:59:05.729Z] SSH_AGENT_PID=52 [2020-06-16T19:59:05.735Z] Running ssh-add (command line suppressed) [2020-06-16T19:59:05.854Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/private_key_8851429145919918683.key (/w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/private_key_8851429145919918683.key) [2020-06-16T19:59:05.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-16T19:59:06.241Z] + git semver init [2020-06-16T19:59:06.241Z] # -> Open(): unable to determine branch for HEAD [2020-06-16T19:59:06.241Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-541/.git [2020-06-16T19:59:06.241Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-541 [2020-06-16T19:59:06.241Z] # $SEMVER_REMOTE_NAME = origin [2020-06-16T19:59:06.242Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-16T19:59:06.242Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-16T19:59:06.242Z] # $SEMVER_BRANCH = PR-541 [2020-06-16T19:59:06.242Z] # $SEMVER_TEMP = /tmp/semver-983212323 [2020-06-16T19:59:06.242Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-06-16T19:59:06.812Z] # '/tmp/semver-983212323' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-541/.semver' [2020-06-16T19:59:06.812Z] # -> Force: false [2020-06-16T19:59:06.812Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-541/.semver [Pipeline] } [2020-06-16T19:59:06.832Z] $ docker exec --env ******** --env ******** 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 ssh-agent -k [2020-06-16T19:59:06.955Z] unset SSH_AUTH_SOCK; [2020-06-16T19:59:06.955Z] unset SSH_AGENT_PID; [2020-06-16T19:59:06.955Z] echo Agent pid 52 killed; [2020-06-16T19:59:07.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-16T19:59:07.448Z] + git semver [Pipeline] } [2020-06-16T19:59:07.474Z] $ docker stop --time=1 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 [2020-06-16T19:59:08.993Z] $ docker rm -f 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-16T19:59:09.642Z] Stashed 70 file(s) [Pipeline] echo [2020-06-16T19:59:09.661Z] [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-06-16T19:59:25.046Z] Still waiting to schedule task [2020-06-16T19:59:25.046Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3167’ [2020-06-16T19:59:25.064Z] Still waiting to schedule task [2020-06-16T19:59:25.064Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline [2020-06-16T20:01:10.066Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3168 in /w/workspace/dgexfoundry_device-sdk-go_PR-541 [Pipeline] { [Pipeline] ws [2020-06-16T20:01:10.121Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-06-16T20:01:15.020Z] using credential edgex-jenkins-ssh [2020-06-16T20:01:15.054Z] Cloning the remote Git repository [2020-06-16T20:01:15.054Z] Cloning with configured refspecs honoured and without tags [2020-06-16T20:01:15.098Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-06-16T20:01:15.216Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-06-16T20:01:15.280Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-16T20:01:15.283Z] > git --version # timeout=10 [2020-06-16T20:01:15.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-16T20:01:15.399Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/541/head:refs/remotes/origin/PR-541 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-16T20:01:16.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-16T20:01:16.347Z] > git config --add remote.origin.fetch +refs/pull/541/head:refs/remotes/origin/PR-541 # timeout=10 [2020-06-16T20:01:16.439Z] Fetching without tags [2020-06-16T20:01:16.923Z] Merging remotes/origin/master commit fd75c29bc70b45e81e8d6526ecff9c2e7979e15f into PR head commit 35069692f68dee2f6752c48bd44826b15366f437 [2020-06-16T20:01:17.141Z] Merge succeeded, producing 35069692f68dee2f6752c48bd44826b15366f437 [2020-06-16T20:01:17.142Z] Checking out Revision 35069692f68dee2f6752c48bd44826b15366f437 (PR-541) [2020-06-16T20:01:16.362Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-16T20:01:16.397Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-16T20:01:16.425Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-16T20:01:16.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-16T20:01:16.437Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/541/head:refs/remotes/origin/PR-541 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-16T20:01:16.916Z] > git config core.sparsecheckout # timeout=10 [2020-06-16T20:01:16.943Z] > git checkout -f 35069692f68dee2f6752c48bd44826b15366f437 # timeout=10 [2020-06-16T20:01:17.042Z] > git remote # timeout=10 [2020-06-16T20:01:17.058Z] > git config --get remote.origin.url # timeout=10 [2020-06-16T20:01:17.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-16T20:01:17.081Z] > git merge fd75c29bc70b45e81e8d6526ecff9c2e7979e15f # timeout=10 [2020-06-16T20:01:17.102Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-16T20:01:17.159Z] > git config core.sparsecheckout # timeout=10 [2020-06-16T20:01:17.180Z] > git checkout -f 35069692f68dee2f6752c48bd44826b15366f437 # timeout=10 [2020-06-16T20:01:21.555Z] Commit message: "update pr template to add dependency section" [2020-06-16T20:01:21.579Z] > git --version # timeout=10 [2020-06-16T20:01:21.606Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-16T20:01:23.014Z] ========================================================= [2020-06-16T20:01:23.014Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-16T20:01:23.014Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-16T20:01:24.029Z] + 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-06-16T20:01:25.471Z] Sending build context to Docker daemon 3.092MB [2020-06-16T20:01:25.471Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-16T20:01:25.471Z] Step 2/8 : FROM ${BASE} [2020-06-16T20:01:25.471Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-16T20:01:25.471Z] cde5963f3b93: Pulling fs layer [2020-06-16T20:01:25.471Z] 2a23fa8c16f7: Pulling fs layer [2020-06-16T20:01:25.471Z] 777b28850792: Pulling fs layer [2020-06-16T20:01:25.471Z] 8a11ddd9e578: Pulling fs layer [2020-06-16T20:01:25.471Z] 4cf88f913ddb: Pulling fs layer [2020-06-16T20:01:25.471Z] 1df406cf5192: Pulling fs layer [2020-06-16T20:01:25.471Z] cd6300453558: Pulling fs layer [2020-06-16T20:01:25.471Z] b9c365052c96: Pulling fs layer [2020-06-16T20:01:25.471Z] a2d8cc88f415: Pulling fs layer [2020-06-16T20:01:25.471Z] 8a11ddd9e578: Waiting [2020-06-16T20:01:25.471Z] ea1d1ca13537: Pulling fs layer [2020-06-16T20:01:25.471Z] 3750a50a1c5e: Pulling fs layer [2020-06-16T20:01:25.471Z] b9c365052c96: Waiting [2020-06-16T20:01:25.471Z] 4cf88f913ddb: Waiting [2020-06-16T20:01:25.471Z] a2d8cc88f415: Waiting [2020-06-16T20:01:25.471Z] 1df406cf5192: Waiting [2020-06-16T20:01:25.471Z] cd6300453558: Waiting [2020-06-16T20:01:25.471Z] ea1d1ca13537: Waiting [2020-06-16T20:01:25.471Z] 3750a50a1c5e: Waiting [2020-06-16T20:01:25.471Z] 777b28850792: Verifying Checksum [2020-06-16T20:01:25.471Z] 777b28850792: Download complete [2020-06-16T20:01:25.471Z] 2a23fa8c16f7: Verifying Checksum [2020-06-16T20:01:25.471Z] 2a23fa8c16f7: Download complete [2020-06-16T20:01:25.747Z] 4cf88f913ddb: Verifying Checksum [2020-06-16T20:01:25.747Z] 4cf88f913ddb: Download complete [2020-06-16T20:01:25.747Z] 1df406cf5192: Download complete [2020-06-16T20:01:25.747Z] cde5963f3b93: Verifying Checksum [2020-06-16T20:01:25.747Z] cde5963f3b93: Download complete [2020-06-16T20:01:26.730Z] cde5963f3b93: Pull complete [2020-06-16T20:01:27.015Z] 2a23fa8c16f7: Pull complete [2020-06-16T20:01:27.622Z] 777b28850792: Pull complete [2020-06-16T20:01:27.912Z] cd6300453558: Verifying Checksum [2020-06-16T20:01:27.912Z] cd6300453558: Download complete [2020-06-16T20:01:27.912Z] a2d8cc88f415: Download complete [2020-06-16T20:01:29.356Z] ea1d1ca13537: Verifying Checksum [2020-06-16T20:01:29.356Z] ea1d1ca13537: Download complete [2020-06-16T20:01:29.356Z] 3750a50a1c5e: Verifying Checksum [2020-06-16T20:01:31.327Z] b9c365052c96: Verifying Checksum [2020-06-16T20:01:31.327Z] b9c365052c96: Download complete [2020-06-16T20:01:31.921Z] 8a11ddd9e578: Download complete [2020-06-16T20:01:44.341Z] 8a11ddd9e578: Pull complete [2020-06-16T20:01:44.341Z] 4cf88f913ddb: Pull complete [2020-06-16T20:01:44.341Z] 1df406cf5192: Pull complete [2020-06-16T20:01:47.729Z] cd6300453558: Pull complete [2020-06-16T20:01:52.053Z] b9c365052c96: Pull complete [2020-06-16T20:01:52.053Z] a2d8cc88f415: Pull complete [2020-06-16T20:01:54.030Z] ea1d1ca13537: Pull complete [2020-06-16T20:01:54.634Z] 3750a50a1c5e: Pull complete [2020-06-16T20:01:54.634Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-16T20:01:54.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-16T20:01:54.634Z] ---> 78745c68409d [2020-06-16T20:01:54.634Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-16T20:01:54.770Z] Running on prd-centos7-docker-4c-2g-3169 in /w/workspace/dgexfoundry_device-sdk-go_PR-541 [Pipeline] { [Pipeline] ws [2020-06-16T20:01:54.827Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-06-16T20:01:58.943Z] ---> Running in 665fd42611d5 [2020-06-16T20:01:59.216Z] Removing intermediate container 665fd42611d5 [2020-06-16T20:01:59.216Z] ---> b454adae2b78 [2020-06-16T20:01:59.216Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-16T20:01:59.216Z] ---> Running in 3d258f6af04b [2020-06-16T20:02:01.639Z] using credential edgex-jenkins-ssh [2020-06-16T20:02:01.664Z] Cloning the remote Git repository [2020-06-16T20:02:01.664Z] Cloning with configured refspecs honoured and without tags [2020-06-16T20:02:01.726Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-06-16T20:02:01.832Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-06-16T20:02:02.591Z] Removing intermediate container 3d258f6af04b [2020-06-16T20:02:02.591Z] ---> be4f119c65c8 [2020-06-16T20:02:02.591Z] Step 5/8 : RUN apk add --no-cache make git [2020-06-16T20:02:02.591Z] ---> Running in 4b4c8dcc5729 [2020-06-16T20:02:02.316Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-16T20:02:02.316Z] > git --version # timeout=10 [2020-06-16T20:02:02.348Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-16T20:02:02.441Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/541/head:refs/remotes/origin/PR-541 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-16T20:02:03.563Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-16T20:02:04.154Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-16T20:02:04.207Z] Fetching without tags [2020-06-16T20:02:04.747Z] OK: 125 MiB in 39 packages [2020-06-16T20:02:04.751Z] Merging remotes/origin/master commit fd75c29bc70b45e81e8d6526ecff9c2e7979e15f into PR head commit 35069692f68dee2f6752c48bd44826b15366f437 [2020-06-16T20:02:04.090Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-16T20:02:04.165Z] > git config --add remote.origin.fetch +refs/pull/541/head:refs/remotes/origin/PR-541 # timeout=10 [2020-06-16T20:02:04.189Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-16T20:02:04.203Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-16T20:02:04.218Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-16T20:02:04.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-16T20:02:04.224Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/541/head:refs/remotes/origin/PR-541 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-16T20:02:04.802Z] > git config core.sparsecheckout # timeout=10 [2020-06-16T20:02:04.825Z] > git checkout -f 35069692f68dee2f6752c48bd44826b15366f437 # timeout=10 [2020-06-16T20:02:04.951Z] Merge succeeded, producing 35069692f68dee2f6752c48bd44826b15366f437 [2020-06-16T20:02:04.951Z] Checking out Revision 35069692f68dee2f6752c48bd44826b15366f437 (PR-541) [2020-06-16T20:02:06.174Z] Removing intermediate container 4b4c8dcc5729 [2020-06-16T20:02:06.174Z] ---> 47829d9af237 [2020-06-16T20:02:06.174Z] Step 6/8 : WORKDIR /device-sdk-go [2020-06-16T20:02:06.174Z] ---> Running in f81beea8ebee [2020-06-16T20:02:04.894Z] > git remote # timeout=10 [2020-06-16T20:02:04.911Z] > git config --get remote.origin.url # timeout=10 [2020-06-16T20:02:04.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-16T20:02:04.932Z] > git merge fd75c29bc70b45e81e8d6526ecff9c2e7979e15f # timeout=10 [2020-06-16T20:02:04.941Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-16T20:02:04.960Z] > git config core.sparsecheckout # timeout=10 [2020-06-16T20:02:04.967Z] > git checkout -f 35069692f68dee2f6752c48bd44826b15366f437 # timeout=10 [2020-06-16T20:02:06.447Z] Removing intermediate container f81beea8ebee [2020-06-16T20:02:06.447Z] ---> 130e83ca3595 [2020-06-16T20:02:06.447Z] Step 7/8 : COPY . . [2020-06-16T20:02:07.874Z] ---> c44de4b68f58 [2020-06-16T20:02:07.874Z] Step 8/8 : RUN go mod download [2020-06-16T20:02:08.151Z] ---> Running in 56cf636d18af [2020-06-16T20:02:09.112Z] Commit message: "update pr template to add dependency section" [2020-06-16T20:02:09.150Z] > git --version # timeout=10 [2020-06-16T20:02:09.207Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-16T20:02:10.447Z] ========================================================= [2020-06-16T20:02:10.447Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-16T20:02:10.447Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-16T20:02:10.758Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-16T20:02:10.758Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-16T20:02:10.758Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-16T20:02:10.758Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-16T20:02:11.032Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-16T20:02:11.032Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-16T20:02:11.032Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-16T20:02:11.032Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-16T20:02:11.032Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-16T20:02:11.032Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-16T20:02:11.032Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-16T20:02:11.305Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-16T20:02:11.305Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-16T20:02:11.305Z] go: finding github.com/fatih/color v1.7.0 [2020-06-16T20:02:11.305Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-16T20:02:11.305Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-16T20:02:11.305Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-16T20:02:11.305Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-16T20:02:11.305Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-16T20:02:11.305Z] go: finding github.com/google/uuid v1.1.0 [2020-06-16T20:02:11.305Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-16T20:02:11.305Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-16T20:02:11.305Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-16T20:02:11.573Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-16T20:02:11.573Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-16T20:02:11.574Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-16T20:02:11.574Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-16T20:02:11.574Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-16T20:02:11.574Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-16T20:02:11.574Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-16T20:02:11.574Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-16T20:02:11.574Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-16T20:02:11.574Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-16T20:02:11.843Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-16T20:02:11.843Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-16T20:02:11.843Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-16T20:02:11.843Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-16T20:02:11.843Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-16T20:02:11.843Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-16T20:02:11.843Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-16T20:02:11.843Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-16T20:02:11.843Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-16T20:02:11.843Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-16T20:02:11.843Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-16T20:02:11.864Z] + 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-06-16T20:02:12.114Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-16T20:02:12.114Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-16T20:02:12.114Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-16T20:02:12.114Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-16T20:02:12.114Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-16T20:02:12.114Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-16T20:02:12.114Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-16T20:02:12.114Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-16T20:02:12.114Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-16T20:02:12.114Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-16T20:02:12.114Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-16T20:02:12.114Z] go: finding github.com/posener/complete v1.1.1 [2020-06-16T20:02:12.114Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-16T20:02:12.114Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-16T20:02:12.383Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-16T20:02:12.383Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-16T20:02:12.383Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-16T20:02:12.383Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-16T20:02:12.383Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-16T20:02:12.383Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-16T20:02:12.383Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-16T20:02:12.383Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-16T20:02:12.443Z] Sending build context to Docker daemon 3.092MB [2020-06-16T20:02:12.443Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-16T20:02:12.443Z] Step 2/8 : FROM ${BASE} [2020-06-16T20:02:12.656Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-16T20:02:12.656Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-16T20:02:12.980Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-16T20:02:12.980Z] e6b0cf9c0882: Pulling fs layer [2020-06-16T20:02:12.980Z] 2848faf0eed1: Pulling fs layer [2020-06-16T20:02:12.980Z] 0f37312ad70f: Pulling fs layer [2020-06-16T20:02:12.980Z] 5788d62ee057: Pulling fs layer [2020-06-16T20:02:12.980Z] 0e6b1d234666: Pulling fs layer [2020-06-16T20:02:12.980Z] bf5d7aec512f: Pulling fs layer [2020-06-16T20:02:12.980Z] 34c802a77dc8: Pulling fs layer [2020-06-16T20:02:12.980Z] 9eb99e56ec68: Pulling fs layer [2020-06-16T20:02:12.980Z] 27c7a5d97fbd: Pulling fs layer [2020-06-16T20:02:12.980Z] 5c102a31e300: Pulling fs layer [2020-06-16T20:02:12.980Z] dcfb455df0a1: Pulling fs layer [2020-06-16T20:02:12.980Z] 34c802a77dc8: Waiting [2020-06-16T20:02:12.980Z] 9eb99e56ec68: Waiting [2020-06-16T20:02:12.980Z] 27c7a5d97fbd: Waiting [2020-06-16T20:02:12.980Z] 5c102a31e300: Waiting [2020-06-16T20:02:12.980Z] dcfb455df0a1: Waiting [2020-06-16T20:02:12.980Z] 5788d62ee057: Waiting [2020-06-16T20:02:12.980Z] bf5d7aec512f: Waiting [2020-06-16T20:02:12.980Z] 0f37312ad70f: Download complete [2020-06-16T20:02:12.980Z] 2848faf0eed1: Verifying Checksum [2020-06-16T20:02:12.980Z] 2848faf0eed1: Download complete [2020-06-16T20:02:12.980Z] 0e6b1d234666: Verifying Checksum [2020-06-16T20:02:12.980Z] 0e6b1d234666: Download complete [2020-06-16T20:02:12.980Z] bf5d7aec512f: Verifying Checksum [2020-06-16T20:02:12.980Z] bf5d7aec512f: Download complete [2020-06-16T20:02:12.980Z] e6b0cf9c0882: Verifying Checksum [2020-06-16T20:02:12.980Z] e6b0cf9c0882: Download complete [2020-06-16T20:02:12.980Z] e6b0cf9c0882: Pull complete [2020-06-16T20:02:13.409Z] 2848faf0eed1: Pull complete [2020-06-16T20:02:13.893Z] 0f37312ad70f: Pull complete [2020-06-16T20:02:15.624Z] 34c802a77dc8: Verifying Checksum [2020-06-16T20:02:15.624Z] 34c802a77dc8: Download complete [2020-06-16T20:02:15.624Z] 27c7a5d97fbd: Verifying Checksum [2020-06-16T20:02:15.624Z] 27c7a5d97fbd: Download complete [2020-06-16T20:02:17.404Z] 5788d62ee057: Verifying Checksum [2020-06-16T20:02:17.404Z] 5788d62ee057: Download complete [2020-06-16T20:02:17.404Z] 5c102a31e300: Verifying Checksum [2020-06-16T20:02:17.404Z] 5c102a31e300: Download complete [2020-06-16T20:02:17.404Z] 9eb99e56ec68: Verifying Checksum [2020-06-16T20:02:17.404Z] 9eb99e56ec68: Download complete [2020-06-16T20:02:17.404Z] dcfb455df0a1: Verifying Checksum [2020-06-16T20:02:17.404Z] dcfb455df0a1: Download complete [2020-06-16T20:02:22.811Z] Removing intermediate container 56cf636d18af [2020-06-16T20:02:22.811Z] ---> e5a7b4298bc4 [2020-06-16T20:02:22.811Z] Successfully built e5a7b4298bc4 [2020-06-16T20:02:22.811Z] 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-06-16T20:02:23.532Z] + docker inspect -f . ci-base-image-arm64 [2020-06-16T20:02:23.532Z] . [Pipeline] withDockerContainer [2020-06-16T20:02:23.822Z] prd-ubuntu18.04-docker-arm64-4c-16g-3168 does not seem to be running inside a container [2020-06-16T20:02:23.871Z] $ 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-06-16T20:02:25.658Z] $ docker top 85abc707b6e2a251eaff3c375e21ed73b7cd164070a42acba4adbae659396030 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-16T20:02:27.097Z] + go version [2020-06-16T20:02:27.097Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-16T20:02:27.643Z] 5788d62ee057: Pull complete [2020-06-16T20:02:27.643Z] 0e6b1d234666: Pull complete [2020-06-16T20:02:27.643Z] bf5d7aec512f: Pull complete [2020-06-16T20:02:28.157Z] + make test [2020-06-16T20:02:28.157Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-16T20:02:29.140Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-06-16T20:02:30.964Z] 34c802a77dc8: Pull complete [2020-06-16T20:02:35.233Z] 9eb99e56ec68: Pull complete [2020-06-16T20:02:35.233Z] 27c7a5d97fbd: Pull complete [2020-06-16T20:02:36.638Z] 5c102a31e300: Pull complete [2020-06-16T20:02:36.638Z] dcfb455df0a1: Pull complete [2020-06-16T20:02:36.638Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-16T20:02:36.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-16T20:02:36.638Z] ---> 7c70fe431013 [2020-06-16T20:02:36.638Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-16T20:02:37.605Z] ---> Running in d60e2780ae2d [2020-06-16T20:02:37.605Z] Removing intermediate container d60e2780ae2d [2020-06-16T20:02:37.605Z] ---> 406ea594c6db [2020-06-16T20:02:37.605Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-16T20:02:37.605Z] ---> Running in 568b6b477f26 [2020-06-16T20:02:39.537Z] Removing intermediate container 568b6b477f26 [2020-06-16T20:02:39.537Z] ---> e2023b8ac3fa [2020-06-16T20:02:39.537Z] Step 5/8 : RUN apk add --no-cache make git [2020-06-16T20:02:39.537Z] ---> Running in 7e00f96c029f [2020-06-16T20:02:40.110Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-16T20:02:41.062Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-16T20:02:41.679Z] OK: 143 MiB in 39 packages [2020-06-16T20:02:42.263Z] Removing intermediate container 7e00f96c029f [2020-06-16T20:02:42.263Z] ---> 11522b32bcee [2020-06-16T20:02:42.263Z] Step 6/8 : WORKDIR /device-sdk-go [2020-06-16T20:02:42.263Z] ---> Running in b7c58a3342f7 [2020-06-16T20:02:42.263Z] Removing intermediate container b7c58a3342f7 [2020-06-16T20:02:42.263Z] ---> f6f3626ad58e [2020-06-16T20:02:42.263Z] Step 7/8 : COPY . . [2020-06-16T20:02:43.704Z] ---> e7b7664c0ae1 [2020-06-16T20:02:43.704Z] Step 8/8 : RUN go mod download [2020-06-16T20:02:43.704Z] ---> Running in 71c5d31abbe6 [2020-06-16T20:02:46.315Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-16T20:02:46.315Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-16T20:02:46.315Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-16T20:02:46.315Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-16T20:02:46.315Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-16T20:02:46.315Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-16T20:02:46.315Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-16T20:02:46.315Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-16T20:02:46.315Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-16T20:02:46.315Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-16T20:02:46.315Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-16T20:02:46.315Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-16T20:02:46.315Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-16T20:02:46.315Z] go: finding github.com/fatih/color v1.7.0 [2020-06-16T20:02:46.315Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-16T20:02:46.315Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-16T20:02:46.315Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-16T20:02:46.315Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-16T20:02:46.315Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-16T20:02:46.315Z] go: finding github.com/google/uuid v1.1.0 [2020-06-16T20:02:46.315Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-16T20:02:46.315Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-16T20:02:46.315Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-16T20:02:46.315Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-16T20:02:46.315Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-16T20:02:46.315Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-16T20:02:46.315Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-16T20:02:46.315Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-16T20:02:46.315Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-16T20:02:46.315Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-16T20:02:46.315Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-16T20:02:46.315Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-16T20:02:46.315Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-16T20:02:46.315Z] go: finding github.com/posener/complete v1.1.1 [2020-06-16T20:02:46.315Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-16T20:02:46.581Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-16T20:02:46.581Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-16T20:02:46.581Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-16T20:02:46.581Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-16T20:02:46.581Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-16T20:02:46.581Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-16T20:02:46.581Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-16T20:02:46.581Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-16T20:02:46.581Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-16T20:02:46.581Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-16T20:02:46.581Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-16T20:02:54.921Z] Removing intermediate container 71c5d31abbe6 [2020-06-16T20:02:54.921Z] ---> ce6d7c74b380 [2020-06-16T20:02:54.921Z] Successfully built ce6d7c74b380 [2020-06-16T20:02:54.921Z] 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-06-16T20:02:55.760Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-16T20:02:55.760Z] . [Pipeline] withDockerContainer [2020-06-16T20:02:56.206Z] prd-centos7-docker-4c-2g-3169 does not seem to be running inside a container [2020-06-16T20:02:56.418Z] $ 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 ******** ci-base-image-x86_64 cat [2020-06-16T20:02:57.727Z] $ docker top c56e79f685581ee922f296b21d980636bc78b439413646af5a308897be524e93 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-16T20:02:58.603Z] + go version [2020-06-16T20:02:58.603Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-16T20:02:59.075Z] + make test [2020-06-16T20:02:59.075Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-16T20:03:01.233Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-06-16T20:03:01.493Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-06-16T20:03:01.493Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-06-16T20:03:01.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-06-16T20:03:01.493Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.041s coverage: 22.1% of statements [2020-06-16T20:03:01.493Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.182s coverage: 95.8% of statements [2020-06-16T20:03:19.937Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-06-16T20:03:19.937Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-06-16T20:03:19.937Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-06-16T20:03:19.937Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 22.1% of statements [2020-06-16T20:03:20.544Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.067s coverage: 95.8% of statements [2020-06-16T20:03:33.837Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 11.4% of statements [2020-06-16T20:03:33.837Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 21.7% of statements [2020-06-16T20:03:33.837Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-06-16T20:03:33.837Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.146s coverage: 36.9% of statements [2020-06-16T20:03:33.837Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-06-16T20:03:33.837Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-06-16T20:03:33.837Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.513s coverage: 65.2% of statements [2020-06-16T20:03:33.837Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-06-16T20:03:33.837Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-06-16T20:03:33.837Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-06-16T20:03:33.837Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements [2020-06-16T20:03:33.837Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-06-16T20:03:33.837Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.331s coverage: 68.9% of statements [2020-06-16T20:03:33.837Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-06-16T20:03:33.837Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-06-16T20:03:33.837Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-16T20:03:35.818Z] gofmt -l . [2020-06-16T20:03:36.090Z] [ "`gofmt -l .`" = "" ] [2020-06-16T20:03:36.361Z] ./bin/test-attribution-txt.sh [2020-06-16T20:03:37.339Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-16T20:03:38.115Z] Stashed 1 file(s) [Pipeline] } [2020-06-16T20:03:38.105Z] $ docker stop --time=1 85abc707b6e2a251eaff3c375e21ed73b7cd164070a42acba4adbae659396030 [2020-06-16T20:03:40.152Z] $ docker rm -f 85abc707b6e2a251eaff3c375e21ed73b7cd164070a42acba4adbae659396030 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-16T20:03:42.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-16T20:03:43.590Z] + ls -al . [2020-06-16T20:03:43.590Z] total 224 [2020-06-16T20:03:43.590Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 16 20:03 . [2020-06-16T20:03:43.590Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 20:01 .. [2020-06-16T20:03:43.591Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 16 20:01 .dockerignore [2020-06-16T20:03:43.591Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 16 20:01 .git [2020-06-16T20:03:43.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 20:01 .github [2020-06-16T20:03:43.591Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 16 20:01 .gitignore [2020-06-16T20:03:43.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 20:01 .semver [2020-06-16T20:03:43.591Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 16 20:01 Dockerfile.build [2020-06-16T20:03:43.591Z] -rw-rw-r-- 1 jenkins jenkins 808 Jun 16 20:01 Jenkinsfile [2020-06-16T20:03:43.591Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 16 20:01 LICENSE [2020-06-16T20:03:43.591Z] -rw-rw-r-- 1 jenkins jenkins 892 Jun 16 20:01 Makefile [2020-06-16T20:03:43.591Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jun 16 20:01 README.md [2020-06-16T20:03:43.591Z] -rw-rw-r-- 1 jenkins jenkins 3997 Jun 16 20:01 RELEASE-NOTES.txt [2020-06-16T20:03:43.591Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 16 19:59 VERSION [2020-06-16T20:03:43.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 20:01 api [2020-06-16T20:03:43.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 20:01 bin [2020-06-16T20:03:43.591Z] -rw-r--r-- 1 jenkins jenkins 110877 Jun 16 20:03 coverage.out [2020-06-16T20:03:43.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 20:01 example [2020-06-16T20:03:43.591Z] -rw-r--r-- 1 jenkins jenkins 446 Jun 16 20:03 go.mod [2020-06-16T20:03:43.591Z] -rw-r--r-- 1 jenkins jenkins 12179 Jun 16 20:03 go.sum [2020-06-16T20:03:43.591Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 16 20:01 internal [2020-06-16T20:03:43.591Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 16 20:01 pkg [2020-06-16T20:03:43.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 20:01 snap [2020-06-16T20:03:43.591Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 16 20:01 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-16T20:03:43.978Z] + 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=35069692f68dee2f6752c48bd44826b15366f437 --label arch=arm64 --label version=0.0.0 . [2020-06-16T20:03:44.602Z] Sending build context to Docker daemon 3.22MB [2020-06-16T20:03:44.602Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-06-16T20:03:44.602Z] Step 2/23 : FROM ${BASE} AS builder [2020-06-16T20:03:44.602Z] ---> e5a7b4298bc4 [2020-06-16T20:03:44.602Z] Step 3/23 : ARG MAKE='make build' [2020-06-16T20:03:44.602Z] ---> Running in 1bdecde5871a [2020-06-16T20:03:45.214Z] Removing intermediate container 1bdecde5871a [2020-06-16T20:03:45.214Z] ---> da597a8cab41 [2020-06-16T20:03:45.214Z] Step 4/23 : WORKDIR /device-sdk-go [2020-06-16T20:03:45.214Z] ---> Running in 41f5bef9bdef [2020-06-16T20:03:45.831Z] Removing intermediate container 41f5bef9bdef [2020-06-16T20:03:45.831Z] ---> f7dcd966a80e [2020-06-16T20:03:45.831Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-16T20:03:45.831Z] ---> Running in 3c8957288135 [2020-06-16T20:03:46.428Z] Removing intermediate container 3c8957288135 [2020-06-16T20:03:46.428Z] ---> 3c5ee9c7c4ec [2020-06-16T20:03:46.428Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-16T20:03:46.428Z] ---> Running in 053c4acf741c [2020-06-16T20:03:49.051Z] Removing intermediate container 053c4acf741c [2020-06-16T20:03:49.051Z] ---> 77e11c144f18 [2020-06-16T20:03:49.051Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-06-16T20:03:49.051Z] ---> Running in f6c50d81d10f [2020-06-16T20:03:50.478Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-16T20:03:51.065Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-16T20:03:51.655Z] OK: 125 MiB in 39 packages [2020-06-16T20:03:52.643Z] Removing intermediate container f6c50d81d10f [2020-06-16T20:03:52.644Z] ---> a658e061af4f [2020-06-16T20:03:52.644Z] Step 8/23 : COPY . . [2020-06-16T20:03:52.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.024s coverage: 11.4% of statements [2020-06-16T20:03:52.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.009s coverage: 21.7% of statements [2020-06-16T20:03:52.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-06-16T20:03:52.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.166s coverage: 36.9% of statements [2020-06-16T20:03:52.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-06-16T20:03:52.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-06-16T20:03:52.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.515s coverage: 65.2% of statements [2020-06-16T20:03:52.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-06-16T20:03:52.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-06-16T20:03:52.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-06-16T20:03:52.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements [2020-06-16T20:03:52.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-06-16T20:03:52.992Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.134s coverage: 68.9% of statements [2020-06-16T20:03:52.992Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-06-16T20:03:52.992Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-06-16T20:03:52.992Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-16T20:03:54.072Z] ---> 086b46936037 [2020-06-16T20:03:54.072Z] Step 9/23 : RUN ${MAKE} [2020-06-16T20:03:54.350Z] ---> Running in 9b563dd6f22a [2020-06-16T20:03:55.083Z] gofmt -l . [2020-06-16T20:03:55.083Z] [ "`gofmt -l .`" = "" ] [2020-06-16T20:03:55.362Z] ./bin/test-attribution-txt.sh [2020-06-16T20:03:55.774Z] 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-06-16T20:03:56.334Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-16T20:03:57.018Z] Warning: overwriting stash ‘coverage-report’ [2020-06-16T20:03:57.609Z] Stashed 1 file(s) [Pipeline] } [2020-06-16T20:03:57.648Z] $ docker stop --time=1 c56e79f685581ee922f296b21d980636bc78b439413646af5a308897be524e93 [2020-06-16T20:03:59.256Z] $ docker rm -f c56e79f685581ee922f296b21d980636bc78b439413646af5a308897be524e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-16T20:04:00.270Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-16T20:04:00.612Z] + ls -al . [2020-06-16T20:04:00.612Z] total 184 [2020-06-16T20:04:00.612Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jun 16 20:03 . [2020-06-16T20:04:00.612Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 16 20:02 .. [2020-06-16T20:04:00.612Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 16 20:02 api [2020-06-16T20:04:00.612Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 16 20:02 bin [2020-06-16T20:04:00.612Z] -rw-r--r--. 1 jenkins jenkins 110877 Jun 16 20:03 coverage.out [2020-06-16T20:04:00.612Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 16 20:02 Dockerfile.build [2020-06-16T20:04:00.612Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 16 20:02 .dockerignore [2020-06-16T20:04:00.613Z] drwxrwxr-x. 4 jenkins jenkins 48 Jun 16 20:02 example [2020-06-16T20:04:00.613Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 16 20:02 .git [2020-06-16T20:04:00.613Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 16 20:02 .github [2020-06-16T20:04:00.613Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 16 20:02 .gitignore [2020-06-16T20:04:00.613Z] -rw-r--r--. 1 jenkins jenkins 446 Jun 16 20:03 go.mod [2020-06-16T20:04:00.613Z] -rw-r--r--. 1 jenkins jenkins 12179 Jun 16 20:03 go.sum [2020-06-16T20:04:00.613Z] drwxrwxr-x. 15 jenkins jenkins 217 Jun 16 20:02 internal [2020-06-16T20:04:00.613Z] -rw-rw-r--. 1 jenkins jenkins 808 Jun 16 20:02 Jenkinsfile [2020-06-16T20:04:00.613Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 16 20:02 LICENSE [2020-06-16T20:04:00.613Z] -rw-rw-r--. 1 jenkins jenkins 892 Jun 16 20:02 Makefile [2020-06-16T20:04:00.613Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 16 20:02 pkg [2020-06-16T20:04:00.613Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jun 16 20:02 README.md [2020-06-16T20:04:00.613Z] -rw-rw-r--. 1 jenkins jenkins 3997 Jun 16 20:02 RELEASE-NOTES.txt [2020-06-16T20:04:00.613Z] drwxrwxr-x. 3 jenkins jenkins 58 Jun 16 20:02 .semver [2020-06-16T20:04:00.613Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 16 20:02 snap [2020-06-16T20:04:00.613Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 16 19:59 VERSION [2020-06-16T20:04:00.613Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 16 20:02 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-16T20:04:00.976Z] + 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=35069692f68dee2f6752c48bd44826b15366f437 --label arch=amd64 --label version=0.0.0 . [2020-06-16T20:04:01.256Z] Sending build context to Docker daemon 3.22MB [2020-06-16T20:04:01.256Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-06-16T20:04:01.256Z] Step 2/23 : FROM ${BASE} AS builder [2020-06-16T20:04:01.256Z] ---> ce6d7c74b380 [2020-06-16T20:04:01.256Z] Step 3/23 : ARG MAKE='make build' [2020-06-16T20:04:02.232Z] ---> Running in a2bf5017ead4 [2020-06-16T20:04:02.500Z] Removing intermediate container a2bf5017ead4 [2020-06-16T20:04:02.500Z] ---> a57ae258a17c [2020-06-16T20:04:02.500Z] Step 4/23 : WORKDIR /device-sdk-go [2020-06-16T20:04:02.500Z] ---> Running in 2207524cbd37 [2020-06-16T20:04:02.767Z] Removing intermediate container 2207524cbd37 [2020-06-16T20:04:02.767Z] ---> 48df573ebfbf [2020-06-16T20:04:02.767Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-16T20:04:02.767Z] ---> Running in 4c2127bfd0c2 [2020-06-16T20:04:03.062Z] Removing intermediate container 4c2127bfd0c2 [2020-06-16T20:04:03.062Z] ---> 759be32d0c10 [2020-06-16T20:04:03.062Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-16T20:04:03.062Z] ---> Running in 72b7111285a9 [2020-06-16T20:04:04.492Z] Removing intermediate container 72b7111285a9 [2020-06-16T20:04:04.492Z] ---> 7201873ead3c [2020-06-16T20:04:04.492Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-06-16T20:04:04.492Z] ---> Running in 563c57cbb986 [2020-06-16T20:04:05.099Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-16T20:04:05.768Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-16T20:04:06.515Z] OK: 143 MiB in 39 packages [2020-06-16T20:04:07.208Z] Removing intermediate container 563c57cbb986 [2020-06-16T20:04:07.208Z] ---> 1f91371f11ed [2020-06-16T20:04:07.208Z] Step 8/23 : COPY . . [2020-06-16T20:04:08.239Z] ---> 87d969078616 [2020-06-16T20:04:08.239Z] Step 9/23 : RUN ${MAKE} [2020-06-16T20:04:08.239Z] ---> Running in 93ec75fc506f [2020-06-16T20:04:08.866Z] 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-06-16T20:04:17.953Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-06-16T20:04:20.568Z] Removing intermediate container 9b563dd6f22a [2020-06-16T20:04:20.568Z] ---> 64339b580cc9 [2020-06-16T20:04:20.568Z] Step 10/23 : FROM scratch [2020-06-16T20:04:20.568Z] ---> [2020-06-16T20:04:20.568Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-16T20:04:20.841Z] ---> Running in 38313b9d766d [2020-06-16T20:04:21.112Z] Removing intermediate container 38313b9d766d [2020-06-16T20:04:21.112Z] ---> 078111f346fa [2020-06-16T20:04:21.112Z] Step 12/23 : ENV APP_PORT=49990 [2020-06-16T20:04:21.382Z] ---> Running in 9d0720362188 [2020-06-16T20:04:21.654Z] Removing intermediate container 9d0720362188 [2020-06-16T20:04:21.654Z] ---> 0a93651d7183 [2020-06-16T20:04:21.654Z] Step 13/23 : EXPOSE $APP_PORT [2020-06-16T20:04:21.654Z] ---> Running in 0b6dde6032bb [2020-06-16T20:04:22.248Z] Removing intermediate container 0b6dde6032bb [2020-06-16T20:04:22.248Z] ---> a176bd3446b8 [2020-06-16T20:04:22.248Z] Step 14/23 : WORKDIR / [2020-06-16T20:04:22.248Z] ---> Running in 7c96b7c70965 [2020-06-16T20:04:22.840Z] Removing intermediate container 7c96b7c70965 [2020-06-16T20:04:22.840Z] ---> 56cda1d231ac [2020-06-16T20:04:22.840Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-06-16T20:04:23.812Z] ---> 3fcd2265df0c [2020-06-16T20:04:23.812Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-06-16T20:04:24.424Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-06-16T20:04:24.785Z] ---> 774e0f3480eb [2020-06-16T20:04:24.785Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-06-16T20:04:25.378Z] ---> f1cc3b7bf016 [2020-06-16T20:04:25.378Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-06-16T20:04:25.838Z] Removing intermediate container 93ec75fc506f [2020-06-16T20:04:25.838Z] ---> be7ad6b674e6 [2020-06-16T20:04:25.838Z] Step 10/23 : FROM scratch [2020-06-16T20:04:25.838Z] ---> [2020-06-16T20:04:25.838Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-16T20:04:25.838Z] ---> Running in e995a72eb68f [2020-06-16T20:04:26.104Z] Removing intermediate container e995a72eb68f [2020-06-16T20:04:26.104Z] ---> 11f32d5bfad6 [2020-06-16T20:04:26.104Z] Step 12/23 : ENV APP_PORT=49990 [2020-06-16T20:04:26.104Z] ---> Running in e8fb725c661f [2020-06-16T20:04:26.359Z] ---> ddea9df4dfa7 [2020-06-16T20:04:26.359Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-06-16T20:04:26.372Z] Removing intermediate container e8fb725c661f [2020-06-16T20:04:26.372Z] ---> 9492b4e5a322 [2020-06-16T20:04:26.372Z] Step 13/23 : EXPOSE $APP_PORT [2020-06-16T20:04:26.372Z] ---> Running in 421af1b7aaf1 [2020-06-16T20:04:26.639Z] Removing intermediate container 421af1b7aaf1 [2020-06-16T20:04:26.639Z] ---> c0d8e8e4426e [2020-06-16T20:04:26.639Z] Step 14/23 : WORKDIR / [2020-06-16T20:04:26.639Z] ---> Running in be065e7014df [2020-06-16T20:04:26.910Z] Removing intermediate container be065e7014df [2020-06-16T20:04:26.910Z] ---> 392c0dc727e1 [2020-06-16T20:04:26.910Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-06-16T20:04:26.955Z] ---> 4c55dedca0cd [2020-06-16T20:04:26.955Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-06-16T20:04:26.955Z] ---> Running in 672dc890e5ac [2020-06-16T20:04:27.235Z] Removing intermediate container 672dc890e5ac [2020-06-16T20:04:27.235Z] ---> 71b99f299715 [2020-06-16T20:04:27.235Z] Step 21/23 : LABEL arch=arm64 [2020-06-16T20:04:27.504Z] ---> Running in a4801cc23308 [2020-06-16T20:04:27.518Z] ---> 54f6bc61c9c5 [2020-06-16T20:04:27.518Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-06-16T20:04:27.777Z] Removing intermediate container a4801cc23308 [2020-06-16T20:04:27.777Z] ---> fe0ea6e3dc0f [2020-06-16T20:04:27.777Z] Step 22/23 : LABEL git_sha=35069692f68dee2f6752c48bd44826b15366f437 [2020-06-16T20:04:27.789Z] ---> caf72b43823c [2020-06-16T20:04:27.789Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-06-16T20:04:28.053Z] ---> Running in 88bc4d5924f6 [2020-06-16T20:04:28.054Z] ---> d92c6aabcdbd [2020-06-16T20:04:28.054Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-06-16T20:04:28.319Z] ---> 766ae2bc86aa [2020-06-16T20:04:28.319Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-06-16T20:04:28.327Z] Removing intermediate container 88bc4d5924f6 [2020-06-16T20:04:28.327Z] ---> 3d7933a80db9 [2020-06-16T20:04:28.327Z] Step 23/23 : LABEL version=0.0.0 [2020-06-16T20:04:28.585Z] ---> 9283e5aadd1a [2020-06-16T20:04:28.585Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-06-16T20:04:28.585Z] ---> Running in 0eaf9db0ae21 [2020-06-16T20:04:28.597Z] ---> Running in 19eca40fef7e [2020-06-16T20:04:28.851Z] Removing intermediate container 0eaf9db0ae21 [2020-06-16T20:04:28.851Z] ---> c77e22c41732 [2020-06-16T20:04:28.851Z] Step 21/23 : LABEL arch=amd64 [2020-06-16T20:04:28.869Z] Removing intermediate container 19eca40fef7e [2020-06-16T20:04:28.869Z] ---> 49bae17e1761 [2020-06-16T20:04:28.869Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-16T20:04:28.869Z] Successfully built 49bae17e1761 [2020-06-16T20:04:29.123Z] ---> Running in 95334049c646 [2020-06-16T20:04:29.123Z] Removing intermediate container 95334049c646 [2020-06-16T20:04:29.123Z] ---> f8629f72fa04 [2020-06-16T20:04:29.123Z] Step 22/23 : LABEL git_sha=35069692f68dee2f6752c48bd44826b15366f437 [2020-06-16T20:04:29.137Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-06-16T20:04:29.397Z] ---> Running in 40dc5cc4af57 [2020-06-16T20:04:29.397Z] Removing intermediate container 40dc5cc4af57 [2020-06-16T20:04:29.397Z] ---> a02f863e61cb [2020-06-16T20:04:29.397Z] Step 23/23 : LABEL version=0.0.0 Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2020-06-16T20:04:29.660Z] ---> Running in 7e8fdb6cf476 [2020-06-16T20:04:29.660Z] Removing intermediate container 7e8fdb6cf476 [2020-06-16T20:04:29.660Z] ---> 3ae2ebf8336b [2020-06-16T20:04:29.660Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-16T20:04:29.660Z] Successfully built 3ae2ebf8336b [2020-06-16T20:04:29.660Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [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-06-16T20:04:31.501Z] provisioning config files... [2020-06-16T20:04:31.513Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/config4960564463496491664tmp [Pipeline] { [Pipeline] sh [2020-06-16T20:04:31.878Z] + curl -s https://codecov.io/bash [2020-06-16T20:04:31.878Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/config4960564463496491664tmp [2020-06-16T20:04:32.452Z] [2020-06-16T20:04:32.452Z] _____ _ [2020-06-16T20:04:32.452Z] / ____| | | [2020-06-16T20:04:32.452Z] | | ___ __| | ___ ___ _____ __ [2020-06-16T20:04:32.452Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-16T20:04:32.452Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-16T20:04:32.452Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-16T20:04:32.452Z] Bash-20200602-f809a24 [2020-06-16T20:04:32.452Z] [2020-06-16T20:04:32.452Z] [2020-06-16T20:04:32.452Z] ==> Jenkins CI detected. [2020-06-16T20:04:32.452Z] project root: . [2020-06-16T20:04:32.452Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-16T20:04:32.713Z] ==> Running gcov in . (disable via -X gcov) [2020-06-16T20:04:32.713Z] ==> Python coveragepy not found [2020-06-16T20:04:32.713Z] ==> Searching for coverage reports in: [2020-06-16T20:04:32.713Z] + . [2020-06-16T20:04:32.713Z] -> Found 1 reports [2020-06-16T20:04:32.713Z] ==> Detecting git/mercurial file structure [2020-06-16T20:04:32.713Z] ==> Reading reports [2020-06-16T20:04:32.713Z] + ./coverage.out bytes=110877 [2020-06-16T20:04:32.713Z] ==> Appending adjustments [2020-06-16T20:04:32.713Z] https://docs.codecov.io/docs/fixing-reports [2020-06-16T20:04:32.976Z] + Found adjustments [2020-06-16T20:04:32.976Z] ==> Gzipping contents [2020-06-16T20:04:32.976Z] ==> Uploading reports [2020-06-16T20:04:32.976Z] url: https://codecov.io [2020-06-16T20:04:32.976Z] query: branch=PR-541&commit=35069692f68dee2f6752c48bd44826b15366f437&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-541%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=541&job= [2020-06-16T20:04:32.976Z] -> Pinging Codecov [2020-06-16T20:04:32.976Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-541&commit=35069692f68dee2f6752c48bd44826b15366f437&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-541%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=541&job= [2020-06-16T20:04:33.551Z] -> Uploading [2020-06-16T20:04:33.814Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/35069692f68dee2f6752c48bd44826b15366f437 [Pipeline] } [2020-06-16T20:04:33.834Z] 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-06-16T20:04:35.296Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-16T20:04:35.901Z] ---> package-listing.sh [2020-06-16T20:04:35.901Z] ++ facter osfamily [2020-06-16T20:04:35.901Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-16T20:04:35.901Z] + OS_FAMILY=redhat [2020-06-16T20:04:35.901Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-541 [2020-06-16T20:04:35.901Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-16T20:04:35.901Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-16T20:04:35.901Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-16T20:04:35.901Z] + PACKAGES=/tmp/packages_start.txt [2020-06-16T20:04:35.901Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-541 ']' [2020-06-16T20:04:35.901Z] + PACKAGES=/tmp/packages_end.txt [2020-06-16T20:04:35.901Z] + case "${OS_FAMILY}" in [2020-06-16T20:04:35.901Z] + rpm -qa [2020-06-16T20:04:35.901Z] + sort [2020-06-16T20:04:40.117Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-16T20:04:40.117Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-16T20:04:40.118Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-16T20:04:40.118Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-541 ']' [2020-06-16T20:04:40.118Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-541/archives/ [2020-06-16T20:04:40.118Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-541/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-16T20:04:40.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-16T20:04:40.738Z] [2020-06-16T20:04:40.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-16T20:04:41.099Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-16T20:04:41.099Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-16T20:04:41.099Z] c9b1b535fdd9: Pulling fs layer [2020-06-16T20:04:41.099Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-16T20:04:41.099Z] 756a868c4378: Pulling fs layer [2020-06-16T20:04:41.099Z] 444b2fc9a129: Pulling fs layer [2020-06-16T20:04:41.099Z] ea15f1150254: Pulling fs layer [2020-06-16T20:04:41.099Z] 41b27a9f41bf: Pulling fs layer [2020-06-16T20:04:41.099Z] 28c525ee5125: Pulling fs layer [2020-06-16T20:04:41.099Z] 094b1ea09ed8: Pulling fs layer [2020-06-16T20:04:41.099Z] 138eaada9080: Pulling fs layer [2020-06-16T20:04:41.099Z] 0622d0fa9048: Pulling fs layer [2020-06-16T20:04:41.099Z] 41b27a9f41bf: Waiting [2020-06-16T20:04:41.099Z] 28c525ee5125: Waiting [2020-06-16T20:04:41.099Z] 444b2fc9a129: Waiting [2020-06-16T20:04:41.099Z] 094b1ea09ed8: Waiting [2020-06-16T20:04:41.099Z] ea15f1150254: Waiting [2020-06-16T20:04:41.099Z] 138eaada9080: Waiting [2020-06-16T20:04:41.099Z] 0622d0fa9048: Waiting [2020-06-16T20:04:41.099Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-16T20:04:41.099Z] 2cc5ad85d9ab: Download complete [2020-06-16T20:04:41.099Z] 444b2fc9a129: Verifying Checksum [2020-06-16T20:04:41.099Z] 444b2fc9a129: Download complete [2020-06-16T20:04:41.099Z] c9b1b535fdd9: Verifying Checksum [2020-06-16T20:04:41.099Z] ea15f1150254: Download complete [2020-06-16T20:04:41.362Z] 28c525ee5125: Verifying Checksum [2020-06-16T20:04:41.362Z] 28c525ee5125: Download complete [2020-06-16T20:04:41.625Z] c9b1b535fdd9: Pull complete [2020-06-16T20:04:41.625Z] 756a868c4378: Verifying Checksum [2020-06-16T20:04:41.625Z] 756a868c4378: Download complete [2020-06-16T20:04:41.625Z] 2cc5ad85d9ab: Pull complete [2020-06-16T20:04:41.892Z] 138eaada9080: Verifying Checksum [2020-06-16T20:04:41.892Z] 138eaada9080: Download complete [2020-06-16T20:04:41.892Z] 0622d0fa9048: Verifying Checksum [2020-06-16T20:04:41.892Z] 0622d0fa9048: Download complete [2020-06-16T20:04:41.892Z] 094b1ea09ed8: Verifying Checksum [2020-06-16T20:04:41.892Z] 094b1ea09ed8: Download complete [2020-06-16T20:04:42.479Z] 41b27a9f41bf: Verifying Checksum [2020-06-16T20:04:42.479Z] 41b27a9f41bf: Download complete [2020-06-16T20:04:43.424Z] 756a868c4378: Pull complete [2020-06-16T20:04:43.424Z] 444b2fc9a129: Pull complete [2020-06-16T20:04:43.688Z] ea15f1150254: Pull complete [2020-06-16T20:04:47.921Z] 41b27a9f41bf: Pull complete [2020-06-16T20:04:47.921Z] 28c525ee5125: Pull complete [2020-06-16T20:04:50.480Z] 094b1ea09ed8: Pull complete [2020-06-16T20:04:50.480Z] 138eaada9080: Pull complete [2020-06-16T20:04:50.480Z] 0622d0fa9048: Pull complete [2020-06-16T20:04:50.741Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-16T20:04:50.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-16T20:04:50.741Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-16T20:04:50.901Z] prd-centos7-docker-4c-2g-3167 does not seem to be running inside a container [2020-06-16T20:04:50.959Z] $ 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-541 -v /w/workspace/dgexfoundry_device-sdk-go_PR-541:/w/workspace/dgexfoundry_device-sdk-go_PR-541:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-541@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-06-16T20:04:54.677Z] $ docker top 1dcebf44b47c72355df24761d7da7a9aa1ca01862a460eb23e2a6faaeb5458e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-16T20:04:54.983Z] provisioning config files... [2020-06-16T20:04:55.000Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/config7425578613962930007tmp [Pipeline] { [Pipeline] echo [2020-06-16T20:04:55.065Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-16T20:04:55.389Z] ---> create-netrc.sh [Pipeline] echo [2020-06-16T20:04:55.417Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-16T20:04:55.743Z] ---> logs-deploy.sh [2020-06-16T20:04:55.743Z] + ARCHIVE_ARTIFACTS= [2020-06-16T20:04:55.743Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-16T20:04:55.743Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-16T20:04:55.743Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-16T20:04:55.743Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-541/1 [2020-06-16T20:04:55.743Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-541/1/ [2020-06-16T20:04:55.743Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-541/1 /w/workspace/dgexfoundry_device-sdk-go_PR-541 [2020-06-16T20:04:57.132Z] Archives upload complete. [2020-06-16T20:04:57.132Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-541/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-541/1/