Pull request #464 updated 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 akramtexas for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f9e281343ba85abaa315b19590fe78a7478a54c6+fc4d8ba2ca6bee1bf2e474e60f47b75130718504 (ff147e19a66c33ff7125f8c83ea6efa17740f015) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 [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-4321 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit f9e281343ba85abaa315b19590fe78a7478a54c6 Merge succeeded, producing f9e281343ba85abaa315b19590fe78a7478a54c6 Checking out Revision f9e281343ba85abaa315b19590fe78a7478a54c6 (PR-464) > git config core.sparsecheckout # timeout=10 > git checkout -f f9e281343ba85abaa315b19590fe78a7478a54c6 # 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 fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9e281343ba85abaa315b19590fe78a7478a54c6 # timeout=10 Commit message: "Fix the Content Header-related issue with CBOR." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-16T15:33:51.091Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-16T15:33:51.319Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-16T15:33:51.395Z] ========================================================= [2020-04-16T15:33:51.395Z] EdgeX Global Pipelines Version Info [2020-04-16T15:33:51.395Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d9296e8a8a7315ed41357f3bfafc40a10e75926a # timeout=10 [2020-04-16T15:33:53.087Z] ------------------- [2020-04-16T15:33:53.087Z] stable info: [2020-04-16T15:33:53.087Z] ------------------- [2020-04-16T15:33:53.087Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-16T15:33:53.087Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T15:33:53.087Z] Message: update stable to v1.0.73 [2020-04-16T15:33:54.055Z] ------------------- [2020-04-16T15:33:54.055Z] experimental info: [2020-04-16T15:33:54.055Z] ------------------- [2020-04-16T15:33:54.055Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-16T15:33:54.055Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T15:33:54.055Z] 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-16T15:33:56.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T15:33:56.440Z] [2020-04-16T15:33:56.440Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-16T15:33:56.837Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T15:33:57.103Z] latest: Pulling from edgex-devops/git-semver [2020-04-16T15:33:57.103Z] 9123ac7c32f7: Pulling fs layer [2020-04-16T15:33:57.103Z] b8cc5d1170e3: Pulling fs layer [2020-04-16T15:33:57.103Z] 2924cbbf6a41: Pulling fs layer [2020-04-16T15:33:57.103Z] 93b08a4f1073: Pulling fs layer [2020-04-16T15:33:57.103Z] 93b08a4f1073: Waiting [2020-04-16T15:33:57.103Z] b8cc5d1170e3: Verifying Checksum [2020-04-16T15:33:57.103Z] b8cc5d1170e3: Download complete [2020-04-16T15:33:57.103Z] 9123ac7c32f7: Verifying Checksum [2020-04-16T15:33:57.103Z] 9123ac7c32f7: Download complete [2020-04-16T15:33:57.367Z] 93b08a4f1073: Verifying Checksum [2020-04-16T15:33:57.367Z] 93b08a4f1073: Download complete [2020-04-16T15:33:57.367Z] 2924cbbf6a41: Download complete [2020-04-16T15:33:57.645Z] 9123ac7c32f7: Pull complete [2020-04-16T15:33:57.912Z] b8cc5d1170e3: Pull complete [2020-04-16T15:33:58.876Z] 2924cbbf6a41: Pull complete [2020-04-16T15:33:59.138Z] 93b08a4f1073: Pull complete [2020-04-16T15:33:59.138Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-16T15:33:59.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-16T15:33:59.506Z] prd-centos7-docker-4c-2g-4321 does not seem to be running inside a container [2020-04-16T15:33:59.620Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-16T15:34:01.082Z] $ docker top 8ee80fc68526dbceadeb879c4793cbb0ee219accec43f1ae7b414c2a98890c2e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T15:34:01.416Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T15:34:01.416Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T15:34:01.825Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T15:34:01.834Z] $ docker exec 8ee80fc68526dbceadeb879c4793cbb0ee219accec43f1ae7b414c2a98890c2e ssh-agent [2020-04-16T15:34:02.118Z] SSH_AUTH_SOCK=/tmp/ssh-SdfEtvqSE2lh/agent.15 [2020-04-16T15:34:02.118Z] SSH_AGENT_PID=21 [2020-04-16T15:34:02.173Z] Running ssh-add (command line suppressed) [2020-04-16T15:34:02.627Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_2234122189552987864.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_2234122189552987864.key) [2020-04-16T15:34:02.736Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T15:34:03.491Z] + git describe --exact-match --tags HEAD [2020-04-16T15:34:03.491Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-16T15:34:03.616Z] $ docker exec --env ******** --env ******** 8ee80fc68526dbceadeb879c4793cbb0ee219accec43f1ae7b414c2a98890c2e ssh-agent -k [2020-04-16T15:34:04.036Z] unset SSH_AUTH_SOCK; [2020-04-16T15:34:04.037Z] unset SSH_AGENT_PID; [2020-04-16T15:34:04.037Z] echo Agent pid 21 killed; [2020-04-16T15:34:04.107Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-16T15:34:04.203Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-16T15:34:04.203Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-16T15:34:04.291Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T15:34:04.291Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T15:34:05.038Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T15:34:05.045Z] $ docker exec 8ee80fc68526dbceadeb879c4793cbb0ee219accec43f1ae7b414c2a98890c2e ssh-agent [2020-04-16T15:34:05.367Z] SSH_AUTH_SOCK=/tmp/ssh-iEXnmrDkf3ch/agent.56 [2020-04-16T15:34:05.367Z] SSH_AGENT_PID=63 [2020-04-16T15:34:05.376Z] Running ssh-add (command line suppressed) [2020-04-16T15:34:05.605Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3753713068935510306.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3753713068935510306.key) [2020-04-16T15:34:05.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T15:34:06.400Z] + git semver init [2020-04-16T15:34:06.400Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T15:34:06.400Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.git [2020-04-16T15:34:06.400Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-16T15:34:06.400Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T15:34:06.400Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T15:34:06.400Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T15:34:06.400Z] # $SEMVER_BRANCH = PR-464 [2020-04-16T15:34:06.400Z] # $SEMVER_TEMP = /tmp/semver-894440642 [2020-04-16T15:34:06.400Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-16T15:34:07.035Z] # '/tmp/semver-894440642' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver' [2020-04-16T15:34:07.035Z] # -> Force: false [2020-04-16T15:34:07.035Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver [Pipeline] } [2020-04-16T15:34:07.055Z] $ docker exec --env ******** --env ******** 8ee80fc68526dbceadeb879c4793cbb0ee219accec43f1ae7b414c2a98890c2e ssh-agent -k [2020-04-16T15:34:07.310Z] unset SSH_AUTH_SOCK; [2020-04-16T15:34:07.310Z] unset SSH_AGENT_PID; [2020-04-16T15:34:07.310Z] echo Agent pid 63 killed; [2020-04-16T15:34:07.412Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T15:34:08.284Z] + git semver [Pipeline] } [2020-04-16T15:34:08.310Z] $ docker stop --time=1 8ee80fc68526dbceadeb879c4793cbb0ee219accec43f1ae7b414c2a98890c2e [2020-04-16T15:34:10.088Z] $ docker rm -f 8ee80fc68526dbceadeb879c4793cbb0ee219accec43f1ae7b414c2a98890c2e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-16T15:34:11.529Z] Stashed 44 file(s) [Pipeline] echo [2020-04-16T15:34:11.531Z] [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-16T15:34:26.761Z] Still waiting to schedule task [2020-04-16T15:34:26.761Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4321’ [2020-04-16T15:34:26.762Z] Still waiting to schedule task [2020-04-16T15:34:26.762Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4320’ is offline [2020-04-16T15:36:12.348Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4322 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws [2020-04-16T15:36:12.396Z] Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout [2020-04-16T15:36:17.937Z] using credential edgex-jenkins-ssh [2020-04-16T15:36:17.988Z] Cloning the remote Git repository [2020-04-16T15:36:17.988Z] Cloning with configured refspecs honoured and without tags [2020-04-16T15:36:17.998Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T15:36:18.100Z] > git init /w/workspace/device-sdk-go/25 # timeout=10 [2020-04-16T15:36:18.182Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T15:36:18.184Z] > git --version # timeout=10 [2020-04-16T15:36:18.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T15:36:18.266Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T15:36:19.482Z] Fetching without tags [2020-04-16T15:36:19.961Z] Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit f9e281343ba85abaa315b19590fe78a7478a54c6 [2020-04-16T15:36:19.313Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T15:36:19.357Z] > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 [2020-04-16T15:36:19.379Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T15:36:19.415Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T15:36:19.457Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T15:36:19.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T15:36:19.471Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T15:36:19.945Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T15:36:19.968Z] > git checkout -f f9e281343ba85abaa315b19590fe78a7478a54c6 # timeout=10 [2020-04-16T15:36:20.070Z] > git remote # timeout=10 [2020-04-16T15:36:20.091Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T15:36:20.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T15:36:20.121Z] > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 [2020-04-16T15:36:20.198Z] Merge succeeded, producing f9e281343ba85abaa315b19590fe78a7478a54c6 [2020-04-16T15:36:20.198Z] Checking out Revision f9e281343ba85abaa315b19590fe78a7478a54c6 (PR-464) [2020-04-16T15:36:20.145Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T15:36:20.170Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T15:36:20.206Z] > git checkout -f f9e281343ba85abaa315b19590fe78a7478a54c6 # timeout=10 [2020-04-16T15:36:24.891Z] Commit message: "Fix the Content Header-related issue with CBOR." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T15:36:26.349Z] ========================================================= [2020-04-16T15:36:26.349Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-16T15:36:26.349Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T15:36:27.383Z] + 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-16T15:36:28.353Z] Sending build context to Docker daemon 2.893MB [2020-04-16T15:36:28.353Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T15:36:28.353Z] Step 2/8 : FROM ${BASE} [2020-04-16T15:36:28.622Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-16T15:36:28.622Z] cde5963f3b93: Pulling fs layer [2020-04-16T15:36:28.622Z] 2a23fa8c16f7: Pulling fs layer [2020-04-16T15:36:28.622Z] 777b28850792: Pulling fs layer [2020-04-16T15:36:28.622Z] 8a11ddd9e578: Pulling fs layer [2020-04-16T15:36:28.622Z] 4cf88f913ddb: Pulling fs layer [2020-04-16T15:36:28.622Z] 1df406cf5192: Pulling fs layer [2020-04-16T15:36:28.622Z] cd6300453558: Pulling fs layer [2020-04-16T15:36:28.622Z] b9c365052c96: Pulling fs layer [2020-04-16T15:36:28.622Z] a2d8cc88f415: Pulling fs layer [2020-04-16T15:36:28.622Z] ea1d1ca13537: Pulling fs layer [2020-04-16T15:36:28.622Z] 3750a50a1c5e: Pulling fs layer [2020-04-16T15:36:28.622Z] 1df406cf5192: Waiting [2020-04-16T15:36:28.622Z] a2d8cc88f415: Waiting [2020-04-16T15:36:28.622Z] cd6300453558: Waiting [2020-04-16T15:36:28.622Z] ea1d1ca13537: Waiting [2020-04-16T15:36:28.622Z] b9c365052c96: Waiting [2020-04-16T15:36:28.622Z] 3750a50a1c5e: Waiting [2020-04-16T15:36:28.622Z] 8a11ddd9e578: Waiting [2020-04-16T15:36:28.622Z] 4cf88f913ddb: Waiting [2020-04-16T15:36:28.622Z] 777b28850792: Verifying Checksum [2020-04-16T15:36:28.622Z] 777b28850792: Download complete [2020-04-16T15:36:28.622Z] 2a23fa8c16f7: Verifying Checksum [2020-04-16T15:36:28.622Z] 2a23fa8c16f7: Download complete [2020-04-16T15:36:28.892Z] 4cf88f913ddb: Verifying Checksum [2020-04-16T15:36:28.892Z] 4cf88f913ddb: Download complete [2020-04-16T15:36:28.892Z] 1df406cf5192: Verifying Checksum [2020-04-16T15:36:28.892Z] 1df406cf5192: Download complete [2020-04-16T15:36:28.892Z] cde5963f3b93: Verifying Checksum [2020-04-16T15:36:28.892Z] cde5963f3b93: Download complete [2020-04-16T15:36:29.867Z] cde5963f3b93: Pull complete [2020-04-16T15:36:30.136Z] 2a23fa8c16f7: Pull complete [2020-04-16T15:36:30.407Z] 777b28850792: Pull complete [2020-04-16T15:36:33.031Z] cd6300453558: Verifying Checksum [2020-04-16T15:36:33.031Z] cd6300453558: Download complete [2020-04-16T15:36:33.031Z] a2d8cc88f415: Verifying Checksum [2020-04-16T15:36:33.031Z] a2d8cc88f415: Download complete [2020-04-16T15:36:35.631Z] ea1d1ca13537: Verifying Checksum [2020-04-16T15:36:35.631Z] ea1d1ca13537: Download complete [2020-04-16T15:36:35.631Z] 3750a50a1c5e: Verifying Checksum [2020-04-16T15:36:35.631Z] 3750a50a1c5e: Download complete [2020-04-16T15:36:38.993Z] b9c365052c96: Verifying Checksum [2020-04-16T15:36:38.993Z] b9c365052c96: Download complete [2020-04-16T15:36:40.410Z] 8a11ddd9e578: Verifying Checksum [2020-04-16T15:36:40.410Z] 8a11ddd9e578: Download complete [2020-04-16T15:36:52.777Z] 8a11ddd9e578: Pull complete [2020-04-16T15:36:52.777Z] 4cf88f913ddb: Pull complete [2020-04-16T15:36:52.777Z] 1df406cf5192: Pull complete [2020-04-16T15:36:56.149Z] cd6300453558: Pull complete [2020-04-16T15:36:57.032Z] Running on prd-centos7-docker-4c-2g-4323 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws [2020-04-16T15:36:57.084Z] Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout [2020-04-16T15:37:00.296Z] using credential edgex-jenkins-ssh [2020-04-16T15:37:00.345Z] Cloning the remote Git repository [2020-04-16T15:37:00.345Z] Cloning with configured refspecs honoured and without tags [2020-04-16T15:37:00.092Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T15:37:00.143Z] > git init /w/workspace/device-sdk-go/25 # timeout=10 [2020-04-16T15:37:00.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T15:37:00.215Z] > git --version # timeout=10 [2020-04-16T15:37:00.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T15:37:00.253Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T15:37:01.153Z] Fetching without tags [2020-04-16T15:37:01.528Z] b9c365052c96: Pull complete [2020-04-16T15:37:01.528Z] a2d8cc88f415: Pull complete [2020-04-16T15:37:01.558Z] Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit f9e281343ba85abaa315b19590fe78a7478a54c6 [2020-04-16T15:37:01.650Z] Merge succeeded, producing f9e281343ba85abaa315b19590fe78a7478a54c6 [2020-04-16T15:37:01.650Z] Checking out Revision f9e281343ba85abaa315b19590fe78a7478a54c6 (PR-464) [2020-04-16T15:37:00.895Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T15:37:00.912Z] > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 [2020-04-16T15:37:00.918Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T15:37:00.931Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T15:37:00.943Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T15:37:00.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T15:37:00.950Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T15:37:01.385Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T15:37:01.391Z] > git checkout -f f9e281343ba85abaa315b19590fe78a7478a54c6 # timeout=10 [2020-04-16T15:37:01.442Z] > git remote # timeout=10 [2020-04-16T15:37:01.450Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T15:37:01.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T15:37:01.460Z] > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 [2020-04-16T15:37:01.470Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T15:37:01.480Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T15:37:01.487Z] > git checkout -f f9e281343ba85abaa315b19590fe78a7478a54c6 # timeout=10 [2020-04-16T15:37:03.490Z] ea1d1ca13537: Pull complete [2020-04-16T15:37:04.084Z] 3750a50a1c5e: Pull complete [2020-04-16T15:37:04.084Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-16T15:37:04.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-16T15:37:04.084Z] ---> 78745c68409d [2020-04-16T15:37:04.084Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T15:37:05.621Z] Commit message: "Fix the Content Header-related issue with CBOR." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T15:37:06.397Z] ========================================================= [2020-04-16T15:37:06.398Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-16T15:37:06.398Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T15:37:07.084Z] + 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-16T15:37:07.346Z] Sending build context to Docker daemon 2.893MB [2020-04-16T15:37:07.346Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T15:37:07.346Z] Step 2/8 : FROM ${BASE} [2020-04-16T15:37:07.346Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-16T15:37:07.346Z] e6b0cf9c0882: Pulling fs layer [2020-04-16T15:37:07.346Z] 2848faf0eed1: Pulling fs layer [2020-04-16T15:37:07.346Z] 0f37312ad70f: Pulling fs layer [2020-04-16T15:37:07.346Z] 5788d62ee057: Pulling fs layer [2020-04-16T15:37:07.346Z] 0e6b1d234666: Pulling fs layer [2020-04-16T15:37:07.346Z] bf5d7aec512f: Pulling fs layer [2020-04-16T15:37:07.346Z] 34c802a77dc8: Pulling fs layer [2020-04-16T15:37:07.346Z] 9eb99e56ec68: Pulling fs layer [2020-04-16T15:37:07.346Z] 27c7a5d97fbd: Pulling fs layer [2020-04-16T15:37:07.346Z] 5c102a31e300: Pulling fs layer [2020-04-16T15:37:07.346Z] dcfb455df0a1: Pulling fs layer [2020-04-16T15:37:07.346Z] 9eb99e56ec68: Waiting [2020-04-16T15:37:07.346Z] dcfb455df0a1: Waiting [2020-04-16T15:37:07.346Z] 27c7a5d97fbd: Waiting [2020-04-16T15:37:07.346Z] 5c102a31e300: Waiting [2020-04-16T15:37:07.346Z] 5788d62ee057: Waiting [2020-04-16T15:37:07.346Z] 0e6b1d234666: Waiting [2020-04-16T15:37:07.346Z] bf5d7aec512f: Waiting [2020-04-16T15:37:07.346Z] 34c802a77dc8: Waiting [2020-04-16T15:37:07.346Z] 0f37312ad70f: Verifying Checksum [2020-04-16T15:37:07.346Z] 0f37312ad70f: Download complete [2020-04-16T15:37:07.347Z] 2848faf0eed1: Verifying Checksum [2020-04-16T15:37:07.347Z] 2848faf0eed1: Download complete [2020-04-16T15:37:07.347Z] 0e6b1d234666: Verifying Checksum [2020-04-16T15:37:07.347Z] 0e6b1d234666: Download complete [2020-04-16T15:37:07.347Z] bf5d7aec512f: Verifying Checksum [2020-04-16T15:37:07.347Z] bf5d7aec512f: Download complete [2020-04-16T15:37:07.347Z] e6b0cf9c0882: Verifying Checksum [2020-04-16T15:37:07.347Z] e6b0cf9c0882: Download complete [2020-04-16T15:37:07.922Z] e6b0cf9c0882: Pull complete [2020-04-16T15:37:08.358Z] ---> Running in b5b3b296b77c [2020-04-16T15:37:08.502Z] 34c802a77dc8: Verifying Checksum [2020-04-16T15:37:08.502Z] 34c802a77dc8: Download complete [2020-04-16T15:37:08.502Z] 27c7a5d97fbd: Verifying Checksum [2020-04-16T15:37:08.502Z] 27c7a5d97fbd: Download complete [2020-04-16T15:37:08.626Z] Removing intermediate container b5b3b296b77c [2020-04-16T15:37:08.627Z] ---> db3ff9af55ed [2020-04-16T15:37:08.627Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T15:37:08.895Z] ---> Running in 3a4547c0bfef [2020-04-16T15:37:09.085Z] 5c102a31e300: Verifying Checksum [2020-04-16T15:37:09.085Z] 5c102a31e300: Download complete [2020-04-16T15:37:09.085Z] 9eb99e56ec68: Verifying Checksum [2020-04-16T15:37:09.085Z] 9eb99e56ec68: Download complete [2020-04-16T15:37:09.085Z] dcfb455df0a1: Verifying Checksum [2020-04-16T15:37:09.085Z] dcfb455df0a1: Download complete [2020-04-16T15:37:09.085Z] 5788d62ee057: Download complete [2020-04-16T15:37:10.024Z] 2848faf0eed1: Pull complete [2020-04-16T15:37:10.024Z] 0f37312ad70f: Pull complete [2020-04-16T15:37:10.856Z] Removing intermediate container 3a4547c0bfef [2020-04-16T15:37:10.856Z] ---> 154d7cf5bff6 [2020-04-16T15:37:10.856Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-16T15:37:10.856Z] ---> Running in da4604a5456b [2020-04-16T15:37:11.824Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T15:37:12.786Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T15:37:13.371Z] OK: 125 MiB in 39 packages [2020-04-16T15:37:14.798Z] Removing intermediate container da4604a5456b [2020-04-16T15:37:14.798Z] ---> a14a4ab36e4e [2020-04-16T15:37:14.798Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-16T15:37:14.798Z] ---> Running in c11a740708b7 [2020-04-16T15:37:15.068Z] Removing intermediate container c11a740708b7 [2020-04-16T15:37:15.068Z] ---> 1416fd51f191 [2020-04-16T15:37:15.068Z] Step 7/8 : COPY . . [2020-04-16T15:37:16.484Z] ---> 8faabb148ef1 [2020-04-16T15:37:16.484Z] Step 8/8 : RUN go mod download [2020-04-16T15:37:16.484Z] ---> Running in c3488db5e431 [2020-04-16T15:37:16.601Z] 5788d62ee057: Pull complete [2020-04-16T15:37:16.601Z] 0e6b1d234666: Pull complete [2020-04-16T15:37:16.601Z] bf5d7aec512f: Pull complete [2020-04-16T15:37:18.434Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T15:37:18.434Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-16T15:37:18.434Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T15:37:18.434Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T15:37:18.434Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T15:37:18.434Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T15:37:18.434Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-16T15:37:18.434Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T15:37:18.434Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-16T15:37:18.434Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-16T15:37:18.434Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-16T15:37:18.434Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-16T15:37:18.434Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-16T15:37:18.434Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T15:37:18.434Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-16T15:37:18.434Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T15:37:18.434Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T15:37:18.434Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T15:37:18.434Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T15:37:18.434Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T15:37:18.434Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-16T15:37:18.434Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-16T15:37:18.434Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-16T15:37:18.434Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T15:37:18.434Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-16T15:37:18.434Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T15:37:18.434Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T15:37:18.700Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T15:37:18.700Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T15:37:18.700Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T15:37:18.700Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T15:37:18.700Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T15:37:18.700Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T15:37:18.700Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T15:37:18.700Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T15:37:18.700Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T15:37:18.700Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T15:37:18.700Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T15:37:18.700Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T15:37:18.701Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T15:37:18.701Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T15:37:18.701Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T15:37:18.701Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T15:37:18.701Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T15:37:18.701Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T15:37:18.701Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T15:37:18.701Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T15:37:18.701Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T15:37:18.701Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T15:37:18.701Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T15:37:18.701Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T15:37:18.701Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T15:37:18.701Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T15:37:18.701Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T15:37:18.970Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T15:37:18.970Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T15:37:18.970Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T15:37:18.970Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T15:37:18.970Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T15:37:18.970Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-16T15:37:18.970Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T15:37:18.970Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-16T15:37:18.970Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T15:37:18.970Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T15:37:18.970Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T15:37:18.970Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T15:37:18.970Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T15:37:18.970Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-16T15:37:20.819Z] 34c802a77dc8: Pull complete [2020-04-16T15:37:24.168Z] 9eb99e56ec68: Pull complete [2020-04-16T15:37:24.168Z] 27c7a5d97fbd: Pull complete [2020-04-16T15:37:25.132Z] 5c102a31e300: Pull complete [2020-04-16T15:37:25.400Z] dcfb455df0a1: Pull complete [2020-04-16T15:37:25.400Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-16T15:37:25.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-16T15:37:25.400Z] ---> 7c70fe431013 [2020-04-16T15:37:25.400Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T15:37:25.667Z] ---> Running in 6c24c6ced117 [2020-04-16T15:37:25.667Z] Removing intermediate container 6c24c6ced117 [2020-04-16T15:37:25.667Z] ---> 6b87100e3770 [2020-04-16T15:37:25.667Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T15:37:25.667Z] ---> Running in a0cb020545a1 [2020-04-16T15:37:27.055Z] Removing intermediate container a0cb020545a1 [2020-04-16T15:37:27.055Z] ---> b37b91d9e0b7 [2020-04-16T15:37:27.055Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-16T15:37:27.055Z] ---> Running in b52eb893009a [2020-04-16T15:37:27.623Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T15:37:28.561Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T15:37:29.078Z] Removing intermediate container c3488db5e431 [2020-04-16T15:37:29.078Z] ---> 45e0ad13a3a4 [2020-04-16T15:37:29.078Z] Successfully built 45e0ad13a3a4 [2020-04-16T15:37:29.078Z] Successfully tagged ci-base-image-arm64:latest [2020-04-16T15:37:29.132Z] OK: 143 MiB in 39 packages [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-04-16T15:37:29.391Z] Removing intermediate container b52eb893009a [2020-04-16T15:37:29.391Z] ---> 050b8bbcfe0e [2020-04-16T15:37:29.391Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-16T15:37:29.391Z] ---> Running in f6cf392baf4d [2020-04-16T15:37:29.391Z] Removing intermediate container f6cf392baf4d [2020-04-16T15:37:29.391Z] ---> ba45fd06f0fc [2020-04-16T15:37:29.391Z] Step 7/8 : COPY . . [Pipeline] isUnix [Pipeline] sh [2020-04-16T15:37:29.736Z] + docker inspect -f . ci-base-image-arm64 [2020-04-16T15:37:29.736Z] . [2020-04-16T15:37:29.965Z] ---> 79996053bf6c [2020-04-16T15:37:29.965Z] Step 8/8 : RUN go mod download [2020-04-16T15:37:29.965Z] ---> Running in 20062cde0de4 [Pipeline] withDockerContainer [2020-04-16T15:37:30.333Z] prd-ubuntu18.04-docker-arm64-4c-16g-4322 does not seem to be running inside a container [2020-04-16T15:37:30.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-16T15:37:31.873Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T15:37:31.874Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-16T15:37:31.874Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T15:37:31.874Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T15:37:31.874Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T15:37:31.874Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T15:37:31.874Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-16T15:37:31.874Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T15:37:31.874Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-16T15:37:31.874Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-16T15:37:31.874Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-16T15:37:31.874Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-16T15:37:31.889Z] $ docker top 7b6e18e5afab7c4da38f66d3c30ce71f70b5e3f42d3692044f9f2d059894b50e -eo pid,comm [2020-04-16T15:37:32.139Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-16T15:37:32.140Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T15:37:32.140Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-16T15:37:32.140Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T15:37:32.140Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T15:37:32.140Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T15:37:32.140Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T15:37:32.140Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T15:37:32.140Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-16T15:37:32.140Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-16T15:37:32.140Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-16T15:37:32.140Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T15:37:32.140Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-16T15:37:32.140Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [Pipeline] { [Pipeline] sh [2020-04-16T15:37:32.399Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T15:37:32.399Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T15:37:32.399Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T15:37:32.399Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T15:37:32.399Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T15:37:32.399Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T15:37:32.399Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T15:37:32.399Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T15:37:32.399Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T15:37:32.399Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T15:37:32.657Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T15:37:32.657Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T15:37:32.657Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T15:37:32.657Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T15:37:32.658Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T15:37:32.658Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T15:37:32.658Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T15:37:32.658Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T15:37:32.658Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T15:37:32.658Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T15:37:32.917Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T15:37:32.917Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T15:37:32.917Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T15:37:32.917Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T15:37:32.917Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T15:37:32.917Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T15:37:32.917Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T15:37:32.917Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T15:37:32.917Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T15:37:32.917Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T15:37:32.917Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T15:37:32.917Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T15:37:32.917Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T15:37:32.917Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-16T15:37:32.973Z] + go version [2020-04-16T15:37:32.973Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-16T15:37:33.177Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T15:37:33.177Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-16T15:37:33.177Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T15:37:33.177Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T15:37:33.177Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T15:37:33.177Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T15:37:33.177Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T15:37:33.177Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-16T15:37:33.625Z] + make test [2020-04-16T15:37:33.625Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-16T15:37:35.065Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-16T15:37:37.397Z] Removing intermediate container 20062cde0de4 [2020-04-16T15:37:37.397Z] ---> 2f344410e517 [2020-04-16T15:37:37.397Z] Successfully built 2f344410e517 [2020-04-16T15:37:37.397Z] 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-04-16T15:37:37.948Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-16T15:37:37.948Z] . [Pipeline] withDockerContainer [2020-04-16T15:37:38.068Z] prd-centos7-docker-4c-2g-4323 does not seem to be running inside a container [2020-04-16T15:37:38.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-16T15:37:38.785Z] $ docker top 67d533a4838e9cc2a509bfd701af09921d2adc7c97f4cd554abdf60b27df74ba -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T15:37:39.271Z] + go version [2020-04-16T15:37:39.271Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-16T15:37:39.579Z] + make test [2020-04-16T15:37:39.579Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-16T15:37:40.152Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-16T15:37:58.342Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-16T15:37:58.342Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-16T15:37:58.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 22.1% of statements [2020-04-16T15:37:58.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements [2020-04-16T15:38:21.974Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-16T15:38:21.974Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-16T15:38:21.974Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.029s coverage: 22.1% of statements [2020-04-16T15:38:21.974Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.224s coverage: 95.8% of statements [2020-04-16T15:38:30.467Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.026s coverage: 11.4% of statements [2020-04-16T15:38:30.467Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.009s coverage: 22.1% of statements [2020-04-16T15:38:30.467Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-16T15:38:30.467Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.168s coverage: 38.5% of statements [2020-04-16T15:38:30.467Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-16T15:38:30.467Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-16T15:38:30.467Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.529s coverage: 77.9% of statements [2020-04-16T15:38:30.467Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-16T15:38:30.467Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-16T15:38:30.467Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-16T15:38:30.467Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.019s coverage: 52.6% of statements [2020-04-16T15:38:30.467Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-16T15:38:30.467Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 71.4% of statements [2020-04-16T15:38:30.467Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-16T15:38:30.467Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-16T15:38:30.467Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T15:38:31.419Z] gofmt -l . [2020-04-16T15:38:31.679Z] [ "`gofmt -l .`" = "" ] [2020-04-16T15:38:31.679Z] ./bin/test-attribution-txt.sh [2020-04-16T15:38:32.248Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T15:38:32.926Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T15:38:32.929Z] $ docker stop --time=1 67d533a4838e9cc2a509bfd701af09921d2adc7c97f4cd554abdf60b27df74ba [2020-04-16T15:38:34.407Z] $ docker rm -f 67d533a4838e9cc2a509bfd701af09921d2adc7c97f4cd554abdf60b27df74ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T15:38:35.743Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T15:38:36.031Z] + ls -al . [2020-04-16T15:38:36.031Z] total 160 [2020-04-16T15:38:36.031Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 16 15:38 . [2020-04-16T15:38:36.031Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 16 15:37 .. [2020-04-16T15:38:36.031Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 15:37 api [2020-04-16T15:38:36.031Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 15:37 bin [2020-04-16T15:38:36.031Z] -rw-r--r--. 1 jenkins jenkins 97490 Apr 16 15:38 coverage.out [2020-04-16T15:38:36.032Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 16 15:37 Dockerfile.build [2020-04-16T15:38:36.032Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 15:37 .dockerignore [2020-04-16T15:38:36.032Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 16 15:37 example [2020-04-16T15:38:36.032Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 15:37 .git [2020-04-16T15:38:36.032Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 16 15:37 .github [2020-04-16T15:38:36.032Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 15:37 .gitignore [2020-04-16T15:38:36.032Z] -rw-r--r--. 1 jenkins jenkins 475 Apr 16 15:38 go.mod [2020-04-16T15:38:36.032Z] -rw-r--r--. 1 jenkins jenkins 12152 Apr 16 15:38 go.sum [2020-04-16T15:38:36.032Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 16 15:37 internal [2020-04-16T15:38:36.032Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 16 15:37 Jenkinsfile [2020-04-16T15:38:36.032Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 15:37 LICENSE [2020-04-16T15:38:36.032Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 16 15:37 Makefile [2020-04-16T15:38:36.032Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 15:37 pkg [2020-04-16T15:38:36.032Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 16 15:37 README.md [2020-04-16T15:38:36.032Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 15:37 .semver [2020-04-16T15:38:36.032Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 15:37 snap [2020-04-16T15:38:36.032Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 15:34 VERSION [2020-04-16T15:38:36.032Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 15:37 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T15:38:36.327Z] + 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=f9e281343ba85abaa315b19590fe78a7478a54c6 --label arch=amd64 --label version=0.0.0 . [2020-04-16T15:38:36.327Z] Sending build context to Docker daemon 3.011MB [2020-04-16T15:38:36.585Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-16T15:38:36.585Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-16T15:38:36.585Z] ---> 2f344410e517 [2020-04-16T15:38:36.585Z] Step 3/21 : ARG MAKE='make build' [2020-04-16T15:38:36.585Z] ---> Running in d57a9d207706 [2020-04-16T15:38:36.585Z] Removing intermediate container d57a9d207706 [2020-04-16T15:38:36.585Z] ---> f4bba355ba72 [2020-04-16T15:38:36.585Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-16T15:38:36.585Z] ---> Running in 6b6eac735a37 [2020-04-16T15:38:36.844Z] Removing intermediate container 6b6eac735a37 [2020-04-16T15:38:36.844Z] ---> 7a77f7136817 [2020-04-16T15:38:36.844Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T15:38:36.844Z] ---> Running in 854c027968d0 [2020-04-16T15:38:37.103Z] Removing intermediate container 854c027968d0 [2020-04-16T15:38:37.103Z] ---> 6c40f7b2a823 [2020-04-16T15:38:37.103Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T15:38:37.103Z] ---> Running in 909d0fe75867 [2020-04-16T15:38:37.675Z] Removing intermediate container 909d0fe75867 [2020-04-16T15:38:37.675Z] ---> 12f1e696ae50 [2020-04-16T15:38:37.675Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-16T15:38:37.675Z] ---> Running in 9466a4fa473c [2020-04-16T15:38:38.243Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T15:38:38.813Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T15:38:40.196Z] OK: 143 MiB in 39 packages [2020-04-16T15:38:40.456Z] Removing intermediate container 9466a4fa473c [2020-04-16T15:38:40.456Z] ---> 5438e01b2065 [2020-04-16T15:38:40.456Z] Step 8/21 : COPY . . [2020-04-16T15:38:40.714Z] ---> ed7b4c768e59 [2020-04-16T15:38:40.715Z] Step 9/21 : RUN ${MAKE} [2020-04-16T15:38:40.715Z] ---> Running in e14547b7a9a5 [2020-04-16T15:38:40.975Z] 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-16T15:38:44.060Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.079s coverage: 11.4% of statements [2020-04-16T15:38:44.060Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 22.1% of statements [2020-04-16T15:38:44.060Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-16T15:38:44.060Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.159s coverage: 38.5% of statements [2020-04-16T15:38:44.060Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-16T15:38:44.060Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-16T15:38:44.060Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.567s coverage: 77.9% of statements [2020-04-16T15:38:44.060Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-16T15:38:44.060Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-16T15:38:44.060Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-16T15:38:44.060Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.139s coverage: 52.6% of statements [2020-04-16T15:38:44.060Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-16T15:38:44.060Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.359s coverage: 71.4% of statements [2020-04-16T15:38:44.060Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-16T15:38:44.060Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-16T15:38:44.060Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T15:38:49.426Z] gofmt -l . [2020-04-16T15:38:49.426Z] [ "`gofmt -l .`" = "" ] [2020-04-16T15:38:49.426Z] ./bin/test-attribution-txt.sh [2020-04-16T15:38:50.386Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T15:38:50.664Z] Warning: overwriting stash ‘coverage-report’ [2020-04-16T15:38:51.092Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T15:38:51.111Z] $ docker stop --time=1 7b6e18e5afab7c4da38f66d3c30ce71f70b5e3f42d3692044f9f2d059894b50e [2020-04-16T15:38:53.281Z] $ docker rm -f 7b6e18e5afab7c4da38f66d3c30ce71f70b5e3f42d3692044f9f2d059894b50e [2020-04-16T15:38:53.273Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T15:38:54.551Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T15:38:54.875Z] + ls -al . [2020-04-16T15:38:54.875Z] total 200 [2020-04-16T15:38:54.875Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 16 15:38 . [2020-04-16T15:38:54.875Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 15:36 .. [2020-04-16T15:38:54.875Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 15:36 .dockerignore [2020-04-16T15:38:54.875Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 15:36 .git [2020-04-16T15:38:54.875Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 15:36 .github [2020-04-16T15:38:54.876Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 15:36 .gitignore [2020-04-16T15:38:54.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 15:36 .semver [2020-04-16T15:38:54.876Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 16 15:36 Dockerfile.build [2020-04-16T15:38:54.876Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 16 15:36 Jenkinsfile [2020-04-16T15:38:54.876Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 15:36 LICENSE [2020-04-16T15:38:54.876Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 16 15:36 Makefile [2020-04-16T15:38:54.876Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 16 15:36 README.md [2020-04-16T15:38:54.876Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 15:34 VERSION [2020-04-16T15:38:54.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 15:36 api [2020-04-16T15:38:54.876Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 15:36 bin [2020-04-16T15:38:54.876Z] -rw-r--r-- 1 jenkins jenkins 97490 Apr 16 15:38 coverage.out [2020-04-16T15:38:54.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 15:36 example [2020-04-16T15:38:54.876Z] -rw-r--r-- 1 jenkins jenkins 475 Apr 16 15:38 go.mod [2020-04-16T15:38:54.876Z] -rw-r--r-- 1 jenkins jenkins 12152 Apr 16 15:38 go.sum [2020-04-16T15:38:54.876Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 16 15:36 internal [2020-04-16T15:38:54.876Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 15:36 pkg [2020-04-16T15:38:54.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 15:36 snap [2020-04-16T15:38:54.876Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 15:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T15:38:55.181Z] Removing intermediate container e14547b7a9a5 [2020-04-16T15:38:55.182Z] ---> 263f3ae647f0 [2020-04-16T15:38:55.182Z] Step 10/21 : FROM scratch [2020-04-16T15:38:55.182Z] ---> [2020-04-16T15:38:55.182Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T15:38:55.182Z] ---> Running in 0bb81666dc2b [2020-04-16T15:38:55.182Z] Removing intermediate container 0bb81666dc2b [2020-04-16T15:38:55.182Z] ---> 62cc1067f7ef [2020-04-16T15:38:55.182Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-16T15:38:55.182Z] ---> Running in a05bb101fc31 [2020-04-16T15:38:55.182Z] Removing intermediate container a05bb101fc31 [2020-04-16T15:38:55.182Z] ---> 0d7cd5b6bc5e [2020-04-16T15:38:55.182Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-16T15:38:55.210Z] + 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=f9e281343ba85abaa315b19590fe78a7478a54c6 --label arch=arm64 --label version=0.0.0 . [2020-04-16T15:38:55.441Z] ---> Running in 0bd18e075273 [2020-04-16T15:38:55.441Z] Removing intermediate container 0bd18e075273 [2020-04-16T15:38:55.441Z] ---> d8613210d4b3 [2020-04-16T15:38:55.441Z] Step 14/21 : WORKDIR / [2020-04-16T15:38:55.441Z] ---> Running in d1a9d4554237 [2020-04-16T15:38:55.701Z] Removing intermediate container d1a9d4554237 [2020-04-16T15:38:55.701Z] ---> 630826ec2e39 [2020-04-16T15:38:55.701Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-16T15:38:55.794Z] Sending build context to Docker daemon 3.011MB [2020-04-16T15:38:55.794Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-16T15:38:55.794Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-16T15:38:55.794Z] ---> 45e0ad13a3a4 [2020-04-16T15:38:55.794Z] Step 3/21 : ARG MAKE='make build' [2020-04-16T15:38:55.794Z] ---> Running in ad84cb794be3 [2020-04-16T15:38:56.269Z] ---> bf053db32a09 [2020-04-16T15:38:56.269Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-16T15:38:56.269Z] ---> eef748dac496 [2020-04-16T15:38:56.269Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-16T15:38:56.378Z] Removing intermediate container ad84cb794be3 [2020-04-16T15:38:56.378Z] ---> fa57939f5827 [2020-04-16T15:38:56.378Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-16T15:38:56.378Z] ---> Running in dd81bd19f395 [2020-04-16T15:38:56.529Z] ---> 353f23ace29c [2020-04-16T15:38:56.529Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-16T15:38:56.529Z] ---> Running in d00875e5a6cf [2020-04-16T15:38:56.644Z] Removing intermediate container dd81bd19f395 [2020-04-16T15:38:56.645Z] ---> cff83823815b [2020-04-16T15:38:56.645Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T15:38:56.789Z] Removing intermediate container d00875e5a6cf [2020-04-16T15:38:56.789Z] ---> efeb380d8088 [2020-04-16T15:38:56.789Z] Step 19/21 : LABEL arch=amd64 [2020-04-16T15:38:56.789Z] ---> Running in 6b2adda8b3da [2020-04-16T15:38:56.789Z] Removing intermediate container 6b2adda8b3da [2020-04-16T15:38:56.789Z] ---> 4d622f1da1a1 [2020-04-16T15:38:56.789Z] Step 20/21 : LABEL git_sha=f9e281343ba85abaa315b19590fe78a7478a54c6 [2020-04-16T15:38:56.911Z] ---> Running in 6f20a0f2f4bd [2020-04-16T15:38:57.048Z] ---> Running in 78f3a87934fa [2020-04-16T15:38:57.048Z] Removing intermediate container 78f3a87934fa [2020-04-16T15:38:57.048Z] ---> 1e637c4500ae [2020-04-16T15:38:57.048Z] Step 21/21 : LABEL version=0.0.0 [2020-04-16T15:38:57.048Z] ---> Running in b5f65edbacde [2020-04-16T15:38:57.181Z] Removing intermediate container 6f20a0f2f4bd [2020-04-16T15:38:57.181Z] ---> ab814b69808a [2020-04-16T15:38:57.181Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T15:38:57.181Z] ---> Running in bd8496f4609b [2020-04-16T15:38:57.307Z] Removing intermediate container b5f65edbacde [2020-04-16T15:38:57.307Z] ---> 4cc44a598f61 [2020-04-16T15:38:57.307Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T15:38:57.307Z] Successfully built 4cc44a598f61 [2020-04-16T15:38:57.307Z] 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-16T15:38:59.132Z] Removing intermediate container bd8496f4609b [2020-04-16T15:38:59.132Z] ---> 4d6bd5f240c0 [2020-04-16T15:38:59.132Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-16T15:38:59.132Z] ---> Running in 96caee399cf0 [2020-04-16T15:39:00.101Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T15:39:01.058Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T15:39:02.012Z] OK: 125 MiB in 39 packages [2020-04-16T15:39:02.968Z] Removing intermediate container 96caee399cf0 [2020-04-16T15:39:02.969Z] ---> 831902a3a086 [2020-04-16T15:39:02.969Z] Step 8/21 : COPY . . [2020-04-16T15:39:03.930Z] ---> c0c076f12b35 [2020-04-16T15:39:03.930Z] Step 9/21 : RUN ${MAKE} [2020-04-16T15:39:03.930Z] ---> Running in 4d5af193a356 [2020-04-16T15:39:04.897Z] 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-16T15:39:43.802Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-16T15:39:44.071Z] Removing intermediate container 4d5af193a356 [2020-04-16T15:39:44.071Z] ---> 9ea67a37101c [2020-04-16T15:39:44.071Z] Step 10/21 : FROM scratch [2020-04-16T15:39:44.071Z] ---> [2020-04-16T15:39:44.071Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T15:39:44.071Z] ---> Running in 655c922224c5 [2020-04-16T15:39:44.338Z] Removing intermediate container 655c922224c5 [2020-04-16T15:39:44.338Z] ---> cf3b3386d172 [2020-04-16T15:39:44.338Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-16T15:39:44.606Z] ---> Running in c84af41a8206 [2020-04-16T15:39:44.875Z] Removing intermediate container c84af41a8206 [2020-04-16T15:39:44.875Z] ---> 0375db3644ff [2020-04-16T15:39:44.875Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-16T15:39:44.875Z] ---> Running in e9987200243b [2020-04-16T15:39:45.460Z] Removing intermediate container e9987200243b [2020-04-16T15:39:45.460Z] ---> 6264918ff9f1 [2020-04-16T15:39:45.460Z] Step 14/21 : WORKDIR / [2020-04-16T15:39:45.460Z] ---> Running in 2a433c77059d [2020-04-16T15:39:45.727Z] Removing intermediate container 2a433c77059d [2020-04-16T15:39:45.727Z] ---> e13b49d0f0bc [2020-04-16T15:39:45.727Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-16T15:39:47.140Z] ---> 9c08c0c552ee [2020-04-16T15:39:47.140Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-16T15:39:47.407Z] ---> 8ff4bf0fe641 [2020-04-16T15:39:47.407Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-16T15:39:47.992Z] ---> 658f920dc0fc [2020-04-16T15:39:47.992Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-16T15:39:48.258Z] ---> Running in 877e0101c843 [2020-04-16T15:39:48.526Z] Removing intermediate container 877e0101c843 [2020-04-16T15:39:48.526Z] ---> ca34b4de2d87 [2020-04-16T15:39:48.526Z] Step 19/21 : LABEL arch=arm64 [2020-04-16T15:39:48.526Z] ---> Running in e1049a5849f3 [2020-04-16T15:39:49.114Z] Removing intermediate container e1049a5849f3 [2020-04-16T15:39:49.114Z] ---> c79d59a13544 [2020-04-16T15:39:49.114Z] Step 20/21 : LABEL git_sha=f9e281343ba85abaa315b19590fe78a7478a54c6 [2020-04-16T15:39:49.114Z] ---> Running in be4b8ca08ae6 [2020-04-16T15:39:49.380Z] Removing intermediate container be4b8ca08ae6 [2020-04-16T15:39:49.380Z] ---> d063e4e91810 [2020-04-16T15:39:49.380Z] Step 21/21 : LABEL version=0.0.0 [2020-04-16T15:39:49.648Z] ---> Running in 08c1cdcf1ebf [2020-04-16T15:39:49.914Z] Removing intermediate container 08c1cdcf1ebf [2020-04-16T15:39:49.914Z] ---> d18c02b62b3b [2020-04-16T15:39:49.914Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T15:39:49.914Z] Successfully built d18c02b62b3b [2020-04-16T15:39:49.914Z] 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-16T15:39:51.026Z] provisioning config files... [2020-04-16T15:39:51.042Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config5165574432246291044tmp [Pipeline] { [Pipeline] sh [2020-04-16T15:39:51.458Z] + curl -s https://codecov.io/bash [2020-04-16T15:39:51.458Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config5165574432246291044tmp [2020-04-16T15:39:51.740Z] [2020-04-16T15:39:51.740Z] _____ _ [2020-04-16T15:39:51.740Z] / ____| | | [2020-04-16T15:39:51.740Z] | | ___ __| | ___ ___ _____ __ [2020-04-16T15:39:51.740Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-16T15:39:51.740Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-16T15:39:51.740Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-16T15:39:51.740Z] Bash-tbd [2020-04-16T15:39:51.740Z] [2020-04-16T15:39:51.740Z] [2020-04-16T15:39:51.740Z] ==> Jenkins CI detected. [2020-04-16T15:39:51.740Z] project root: . [2020-04-16T15:39:51.740Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-16T15:39:51.740Z] ==> Running gcov in . (disable via -X gcov) [2020-04-16T15:39:51.740Z] ==> Python coveragepy not found [2020-04-16T15:39:51.740Z] ==> Searching for coverage reports in: [2020-04-16T15:39:51.740Z] + . [2020-04-16T15:39:51.740Z] -> Found 1 reports [2020-04-16T15:39:51.740Z] ==> Detecting git/mercurial file structure [2020-04-16T15:39:52.004Z] ==> Reading reports [2020-04-16T15:39:52.004Z] + ./coverage.out bytes=97490 [2020-04-16T15:39:52.004Z] ==> Appending adjustments [2020-04-16T15:39:52.004Z] http://docs.codecov.io/docs/fixing-reports [2020-04-16T15:39:52.282Z] + Found adjustments [2020-04-16T15:39:52.282Z] ==> Gzipping contents [2020-04-16T15:39:52.548Z] ==> Uploading reports [2020-04-16T15:39:52.548Z] url: https://codecov.io [2020-04-16T15:39:52.548Z] query: branch=PR-464&commit=f9e281343ba85abaa315b19590fe78a7478a54c6&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-04-16T15:39:52.548Z] -> Pinging Codecov [2020-04-16T15:39:52.548Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-464&commit=f9e281343ba85abaa315b19590fe78a7478a54c6&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-04-16T15:39:52.813Z] -> Uploading [2020-04-16T15:39:53.424Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f9e281343ba85abaa315b19590fe78a7478a54c6 [Pipeline] } [2020-04-16T15:39:53.432Z] 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-16T15:39:54.662Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T15:39:55.006Z] ---> package-listing.sh [2020-04-16T15:39:55.006Z] ++ facter osfamily [2020-04-16T15:39:55.006Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-16T15:39:55.006Z] + OS_FAMILY=redhat [2020-04-16T15:39:55.006Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-16T15:39:55.006Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-16T15:39:55.006Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-16T15:39:55.006Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-16T15:39:55.006Z] + PACKAGES=/tmp/packages_start.txt [2020-04-16T15:39:55.006Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' [2020-04-16T15:39:55.006Z] + PACKAGES=/tmp/packages_end.txt [2020-04-16T15:39:55.006Z] + case "${OS_FAMILY}" in [2020-04-16T15:39:55.006Z] + sort [2020-04-16T15:39:55.006Z] + rpm -qa [2020-04-16T15:39:59.250Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-16T15:39:59.250Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-16T15:39:59.250Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-16T15:39:59.250Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' [2020-04-16T15:39:59.250Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [2020-04-16T15:39:59.250Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-16T15:39:59.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T15:40:00.125Z] [2020-04-16T15:40:00.125Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-16T15:40:00.579Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T15:40:00.870Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-16T15:40:00.870Z] c9b1b535fdd9: Pulling fs layer [2020-04-16T15:40:00.870Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-16T15:40:00.870Z] 756a868c4378: Pulling fs layer [2020-04-16T15:40:00.870Z] 444b2fc9a129: Pulling fs layer [2020-04-16T15:40:00.870Z] ea15f1150254: Pulling fs layer [2020-04-16T15:40:00.870Z] 41b27a9f41bf: Pulling fs layer [2020-04-16T15:40:00.870Z] 28c525ee5125: Pulling fs layer [2020-04-16T15:40:00.870Z] 094b1ea09ed8: Pulling fs layer [2020-04-16T15:40:00.870Z] 138eaada9080: Pulling fs layer [2020-04-16T15:40:00.870Z] 0622d0fa9048: Pulling fs layer [2020-04-16T15:40:00.870Z] 41b27a9f41bf: Waiting [2020-04-16T15:40:00.870Z] 28c525ee5125: Waiting [2020-04-16T15:40:00.870Z] 094b1ea09ed8: Waiting [2020-04-16T15:40:00.870Z] 138eaada9080: Waiting [2020-04-16T15:40:00.870Z] 0622d0fa9048: Waiting [2020-04-16T15:40:00.870Z] 444b2fc9a129: Waiting [2020-04-16T15:40:00.870Z] ea15f1150254: Waiting [2020-04-16T15:40:00.870Z] 2cc5ad85d9ab: Download complete [2020-04-16T15:40:00.870Z] 444b2fc9a129: Verifying Checksum [2020-04-16T15:40:00.870Z] 444b2fc9a129: Download complete [2020-04-16T15:40:00.870Z] c9b1b535fdd9: Verifying Checksum [2020-04-16T15:40:00.870Z] c9b1b535fdd9: Download complete [2020-04-16T15:40:01.172Z] ea15f1150254: Verifying Checksum [2020-04-16T15:40:01.172Z] ea15f1150254: Download complete [2020-04-16T15:40:01.172Z] 28c525ee5125: Verifying Checksum [2020-04-16T15:40:01.172Z] 28c525ee5125: Download complete [2020-04-16T15:40:01.172Z] c9b1b535fdd9: Pull complete [2020-04-16T15:40:01.441Z] 2cc5ad85d9ab: Pull complete [2020-04-16T15:40:02.055Z] 756a868c4378: Verifying Checksum [2020-04-16T15:40:02.055Z] 756a868c4378: Download complete [2020-04-16T15:40:02.339Z] 094b1ea09ed8: Verifying Checksum [2020-04-16T15:40:02.339Z] 094b1ea09ed8: Download complete [2020-04-16T15:40:02.339Z] 0622d0fa9048: Verifying Checksum [2020-04-16T15:40:02.339Z] 0622d0fa9048: Download complete [2020-04-16T15:40:02.339Z] 138eaada9080: Verifying Checksum [2020-04-16T15:40:02.339Z] 138eaada9080: Download complete [2020-04-16T15:40:03.375Z] 41b27a9f41bf: Verifying Checksum [2020-04-16T15:40:03.375Z] 41b27a9f41bf: Download complete [2020-04-16T15:40:04.793Z] 756a868c4378: Pull complete [2020-04-16T15:40:04.793Z] 444b2fc9a129: Pull complete [2020-04-16T15:40:05.413Z] ea15f1150254: Pull complete [2020-04-16T15:40:08.755Z] 41b27a9f41bf: Pull complete [2020-04-16T15:40:09.020Z] 28c525ee5125: Pull complete [2020-04-16T15:40:12.545Z] 094b1ea09ed8: Pull complete [2020-04-16T15:40:12.545Z] 138eaada9080: Pull complete [2020-04-16T15:40:12.545Z] 0622d0fa9048: Pull complete [2020-04-16T15:40:12.545Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-16T15:40:12.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-16T15:40:12.893Z] prd-centos7-docker-4c-2g-4321 does not seem to be running inside a container [2020-04-16T15:40:12.967Z] $ 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-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-16T15:40:15.074Z] $ docker top 986890f4736b84298027cfe243f6077fe62ce234649de4599c283d957f4ccdc9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T15:40:15.767Z] provisioning config files... [2020-04-16T15:40:16.021Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config5745059875522976665tmp [Pipeline] { [Pipeline] echo [2020-04-16T15:40:16.080Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T15:40:16.879Z] ---> create-netrc.sh [Pipeline] echo [2020-04-16T15:40:16.892Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T15:40:17.393Z] ---> logs-deploy.sh [2020-04-16T15:40:17.393Z] + ARCHIVE_ARTIFACTS= [2020-04-16T15:40:17.393Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-16T15:40:17.393Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-16T15:40:17.393Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-16T15:40:17.393Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/25 [2020-04-16T15:40:17.393Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/25/ [2020-04-16T15:40:17.393Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/25 /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-16T15:40:18.817Z] Archives upload complete. [2020-04-16T15:40:18.817Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/25 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/25/