Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b+fc4d8ba2ca6bee1bf2e474e60f47b75130718504 (a35075e8b4656836ecaacc3a58d78e42f147f119) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4304 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [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-448 # 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/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b Merge succeeded, producing ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b Checking out Revision ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b (PR-448) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # 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/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # 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 ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b # timeout=10 Commit message: "Merge commit 'fc4d8ba2ca6bee1bf2e474e60f47b75130718504' into HEAD" > git rev-list --no-walk d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-16T14:42:54.676Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-16T14:42:54.853Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-16T14:42:54.976Z] ========================================================= [2020-04-16T14:42:54.977Z] EdgeX Global Pipelines Version Info [2020-04-16T14:42:54.977Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:42:56.451Z] ------------------- [2020-04-16T14:42:56.451Z] stable info: [2020-04-16T14:42:56.451Z] ------------------- [2020-04-16T14:42:56.451Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-16T14:42:56.451Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T14:42:56.451Z] Message: update stable to v1.0.73 [2020-04-16T14:42:57.021Z] ------------------- [2020-04-16T14:42:57.021Z] experimental info: [2020-04-16T14:42:57.021Z] ------------------- [2020-04-16T14:42:57.021Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-16T14:42:57.021Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T14:42:57.021Z] 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-16T14:42:58.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:42:58.864Z] [2020-04-16T14:42:58.864Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:42:59.202Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:42:59.202Z] latest: Pulling from edgex-devops/git-semver [2020-04-16T14:42:59.202Z] 9123ac7c32f7: Pulling fs layer [2020-04-16T14:42:59.202Z] b8cc5d1170e3: Pulling fs layer [2020-04-16T14:42:59.202Z] 2924cbbf6a41: Pulling fs layer [2020-04-16T14:42:59.202Z] 93b08a4f1073: Pulling fs layer [2020-04-16T14:42:59.202Z] 93b08a4f1073: Waiting [2020-04-16T14:42:59.202Z] b8cc5d1170e3: Download complete [2020-04-16T14:42:59.464Z] 9123ac7c32f7: Verifying Checksum [2020-04-16T14:42:59.464Z] 9123ac7c32f7: Download complete [2020-04-16T14:42:59.464Z] 93b08a4f1073: Verifying Checksum [2020-04-16T14:42:59.464Z] 93b08a4f1073: Download complete [2020-04-16T14:42:59.464Z] 2924cbbf6a41: Verifying Checksum [2020-04-16T14:42:59.464Z] 2924cbbf6a41: Download complete [2020-04-16T14:42:59.726Z] 9123ac7c32f7: Pull complete [2020-04-16T14:42:59.726Z] b8cc5d1170e3: Pull complete [2020-04-16T14:43:00.663Z] 2924cbbf6a41: Pull complete [2020-04-16T14:43:00.663Z] 93b08a4f1073: Pull complete [2020-04-16T14:43:00.663Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-16T14:43:00.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-16T14:43:00.791Z] prd-centos7-docker-4c-2g-4304 does not seem to be running inside a container [2020-04-16T14:43:00.845Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@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-16T14:43:01.469Z] $ docker top 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T14:43:01.790Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:43:01.790Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:43:02.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:43:02.008Z] $ docker exec 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd ssh-agent [2020-04-16T14:43:02.234Z] SSH_AUTH_SOCK=/tmp/ssh-MOGSY8iHRsou/agent.14 [2020-04-16T14:43:02.234Z] SSH_AGENT_PID=21 [2020-04-16T14:43:02.245Z] Running ssh-add (command line suppressed) [2020-04-16T14:43:02.398Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_6288577812900240710.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_6288577812900240710.key) [2020-04-16T14:43:02.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:43:02.805Z] + git describe --exact-match --tags HEAD [2020-04-16T14:43:02.805Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-16T14:43:02.873Z] $ docker exec --env ******** --env ******** 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd ssh-agent -k [2020-04-16T14:43:03.022Z] unset SSH_AUTH_SOCK; [2020-04-16T14:43:03.022Z] unset SSH_AGENT_PID; [2020-04-16T14:43:03.023Z] echo Agent pid 21 killed; [2020-04-16T14:43:03.067Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-16T14:43:03.131Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-16T14:43:03.131Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-16T14:43:03.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:43:03.215Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:43:03.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:43:03.426Z] $ docker exec 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd ssh-agent [2020-04-16T14:43:03.613Z] SSH_AUTH_SOCK=/tmp/ssh-7vKCG8MCfTR2/agent.56 [2020-04-16T14:43:03.613Z] SSH_AGENT_PID=62 [2020-04-16T14:43:03.620Z] Running ssh-add (command line suppressed) [2020-04-16T14:43:03.779Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_4903259504369690273.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_4903259504369690273.key) [2020-04-16T14:43:03.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:43:04.204Z] + git semver init [2020-04-16T14:43:04.204Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T14:43:04.204Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.git [2020-04-16T14:43:04.204Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-04-16T14:43:04.204Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T14:43:04.204Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T14:43:04.204Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T14:43:04.205Z] # $SEMVER_BRANCH = PR-448 [2020-04-16T14:43:04.205Z] # $SEMVER_TEMP = /tmp/semver-934414672 [2020-04-16T14:43:04.205Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-16T14:43:04.780Z] # '/tmp/semver-934414672' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver' [2020-04-16T14:43:04.780Z] # -> Force: false [2020-04-16T14:43:04.780Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver [Pipeline] } [2020-04-16T14:43:04.792Z] $ docker exec --env ******** --env ******** 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd ssh-agent -k [2020-04-16T14:43:04.936Z] unset SSH_AUTH_SOCK; [2020-04-16T14:43:04.936Z] unset SSH_AGENT_PID; [2020-04-16T14:43:04.937Z] echo Agent pid 62 killed; [2020-04-16T14:43:04.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T14:43:05.443Z] + git semver [Pipeline] } [2020-04-16T14:43:05.458Z] $ docker stop --time=1 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd [2020-04-16T14:43:06.808Z] $ docker rm -f 25ceed3554cff90cc9235b3e232afeb1b16ebbc9e9e85cf0dbbe6cbd37af26bd [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-16T14:43:07.648Z] Stashed 44 file(s) [Pipeline] echo [2020-04-16T14:43:07.650Z] [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-16T14:43:22.923Z] Still waiting to schedule task [2020-04-16T14:43:22.924Z] ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4291’ is offline; ‘prd-centos7-docker-4c-2g-4307’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4303’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-04-16T14:43:22.926Z] Still waiting to schedule task [2020-04-16T14:43:22.926Z] ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4291’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4307’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4303’ is offline [2020-04-16T14:44:16.457Z] Running on prd-centos7-docker-4c-2g-4309 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws [2020-04-16T14:44:16.520Z] Running in /w/workspace/device-sdk-go/29 [Pipeline] { [Pipeline] checkout [2020-04-16T14:44:19.146Z] using credential edgex-jenkins-ssh [2020-04-16T14:44:19.194Z] Cloning the remote Git repository [2020-04-16T14:44:19.194Z] Cloning with configured refspecs honoured and without tags [2020-04-16T14:44:19.984Z] Fetching without tags [2020-04-16T14:44:19.222Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:44:19.265Z] > git init /w/workspace/device-sdk-go/29 # timeout=10 [2020-04-16T14:44:19.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:44:19.313Z] > git --version # timeout=10 [2020-04-16T14:44:19.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:44:19.348Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:44:19.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T14:44:19.957Z] > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 [2020-04-16T14:44:19.965Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:44:19.978Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T14:44:19.989Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:44:19.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:44:19.994Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:44:20.387Z] Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b [2020-04-16T14:44:20.510Z] Merge succeeded, producing 8c8a22b233d087206a8b4f7722caaff94fa75efb [2020-04-16T14:44:20.511Z] Checking out Revision 8c8a22b233d087206a8b4f7722caaff94fa75efb (PR-448) [2020-04-16T14:44:20.396Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:44:20.403Z] > git checkout -f d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 [2020-04-16T14:44:20.454Z] > git remote # timeout=10 [2020-04-16T14:44:20.463Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T14:44:20.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:44:20.474Z] > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 [2020-04-16T14:44:20.503Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T14:44:20.513Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:44:20.519Z] > git checkout -f 8c8a22b233d087206a8b4f7722caaff94fa75efb # timeout=10 [2020-04-16T14:44:24.439Z] Commit message: "Merge commit 'fc4d8ba2ca6bee1bf2e474e60f47b75130718504' into HEAD" [2020-04-16T14:44:24.444Z] > git rev-list --no-walk d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T14:44:25.383Z] ========================================================= [2020-04-16T14:44:25.383Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-16T14:44:25.383Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:44:26.108Z] + 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-16T14:44:26.371Z] Sending build context to Docker daemon 2.914MB [2020-04-16T14:44:26.371Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T14:44:26.371Z] Step 2/8 : FROM ${BASE} [2020-04-16T14:44:26.371Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-16T14:44:26.371Z] e6b0cf9c0882: Pulling fs layer [2020-04-16T14:44:26.371Z] 2848faf0eed1: Pulling fs layer [2020-04-16T14:44:26.371Z] 0f37312ad70f: Pulling fs layer [2020-04-16T14:44:26.371Z] 5788d62ee057: Pulling fs layer [2020-04-16T14:44:26.371Z] 0e6b1d234666: Pulling fs layer [2020-04-16T14:44:26.371Z] bf5d7aec512f: Pulling fs layer [2020-04-16T14:44:26.371Z] 34c802a77dc8: Pulling fs layer [2020-04-16T14:44:26.371Z] 9eb99e56ec68: Pulling fs layer [2020-04-16T14:44:26.371Z] 27c7a5d97fbd: Pulling fs layer [2020-04-16T14:44:26.371Z] 5c102a31e300: Pulling fs layer [2020-04-16T14:44:26.371Z] dcfb455df0a1: Pulling fs layer [2020-04-16T14:44:26.371Z] 34c802a77dc8: Waiting [2020-04-16T14:44:26.371Z] 9eb99e56ec68: Waiting [2020-04-16T14:44:26.371Z] 5788d62ee057: Waiting [2020-04-16T14:44:26.371Z] 27c7a5d97fbd: Waiting [2020-04-16T14:44:26.371Z] dcfb455df0a1: Waiting [2020-04-16T14:44:26.371Z] 5c102a31e300: Waiting [2020-04-16T14:44:26.371Z] bf5d7aec512f: Waiting [2020-04-16T14:44:26.371Z] 0f37312ad70f: Verifying Checksum [2020-04-16T14:44:26.371Z] 0f37312ad70f: Download complete [2020-04-16T14:44:26.371Z] 2848faf0eed1: Verifying Checksum [2020-04-16T14:44:26.371Z] 2848faf0eed1: Download complete [2020-04-16T14:44:26.371Z] 0e6b1d234666: Verifying Checksum [2020-04-16T14:44:26.371Z] 0e6b1d234666: Download complete [2020-04-16T14:44:26.371Z] bf5d7aec512f: Verifying Checksum [2020-04-16T14:44:26.371Z] bf5d7aec512f: Download complete [2020-04-16T14:44:26.634Z] e6b0cf9c0882: Download complete [2020-04-16T14:44:26.896Z] e6b0cf9c0882: Pull complete [2020-04-16T14:44:26.896Z] 2848faf0eed1: Pull complete [2020-04-16T14:44:27.162Z] 0f37312ad70f: Pull complete [2020-04-16T14:44:27.755Z] 34c802a77dc8: Verifying Checksum [2020-04-16T14:44:27.755Z] 34c802a77dc8: Download complete [2020-04-16T14:44:27.755Z] 27c7a5d97fbd: Verifying Checksum [2020-04-16T14:44:27.755Z] 27c7a5d97fbd: Download complete [2020-04-16T14:44:28.336Z] 5c102a31e300: Verifying Checksum [2020-04-16T14:44:28.336Z] 5c102a31e300: Download complete [2020-04-16T14:44:28.336Z] 5788d62ee057: Verifying Checksum [2020-04-16T14:44:28.336Z] 5788d62ee057: Download complete [2020-04-16T14:44:28.336Z] dcfb455df0a1: Verifying Checksum [2020-04-16T14:44:28.336Z] dcfb455df0a1: Download complete [2020-04-16T14:44:28.336Z] 9eb99e56ec68: Verifying Checksum [2020-04-16T14:44:28.336Z] 9eb99e56ec68: Download complete [2020-04-16T14:44:36.478Z] 5788d62ee057: Pull complete [2020-04-16T14:44:36.478Z] 0e6b1d234666: Pull complete [2020-04-16T14:44:36.478Z] bf5d7aec512f: Pull complete [2020-04-16T14:44:39.875Z] 34c802a77dc8: Pull complete [2020-04-16T14:44:43.194Z] 9eb99e56ec68: Pull complete [2020-04-16T14:44:43.194Z] 27c7a5d97fbd: Pull complete [2020-04-16T14:44:43.764Z] 5c102a31e300: Pull complete [2020-04-16T14:44:43.764Z] dcfb455df0a1: Pull complete [2020-04-16T14:44:43.764Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-16T14:44:43.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-16T14:44:43.764Z] ---> 7c70fe431013 [2020-04-16T14:44:43.764Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:44:43.764Z] ---> Running in 97c347d81a8a [2020-04-16T14:44:44.024Z] Removing intermediate container 97c347d81a8a [2020-04-16T14:44:44.024Z] ---> 8e7e86651bd7 [2020-04-16T14:44:44.024Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:44:44.024Z] ---> Running in 9a51b5a8f55f [2020-04-16T14:44:45.411Z] Removing intermediate container 9a51b5a8f55f [2020-04-16T14:44:45.411Z] ---> db48fec3a5d2 [2020-04-16T14:44:45.411Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-16T14:44:45.411Z] ---> Running in 88e40dde8b4e [2020-04-16T14:44:45.670Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T14:44:46.612Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T14:44:46.880Z] OK: 143 MiB in 39 packages [2020-04-16T14:44:47.139Z] Removing intermediate container 88e40dde8b4e [2020-04-16T14:44:47.139Z] ---> 51fec486f508 [2020-04-16T14:44:47.139Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-16T14:44:47.139Z] ---> Running in e41454f759c7 [2020-04-16T14:44:47.399Z] Removing intermediate container e41454f759c7 [2020-04-16T14:44:47.399Z] ---> f8cf68f44602 [2020-04-16T14:44:47.399Z] Step 7/8 : COPY . . [2020-04-16T14:44:47.971Z] ---> debc977a9f3a [2020-04-16T14:44:47.971Z] Step 8/8 : RUN go mod download [2020-04-16T14:44:47.971Z] ---> Running in c266c105c572 [2020-04-16T14:44:49.351Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T14:44:49.351Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-16T14:44:49.351Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T14:44:49.351Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T14:44:49.351Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T14:44:49.351Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T14:44:49.351Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-16T14:44:49.351Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T14:44:49.351Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-16T14:44:49.351Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-16T14:44:49.351Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-16T14:44:49.351Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-16T14:44:49.351Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-16T14:44:49.351Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T14:44:49.351Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-16T14:44:49.351Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T14:44:49.351Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T14:44:49.351Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T14:44:49.351Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T14:44:49.611Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T14:44:49.611Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T14:44:49.611Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T14:44:49.611Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T14:44:49.611Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T14:44:49.611Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T14:44:49.611Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T14:44:49.611Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T14:44:49.611Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T14:44:49.611Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T14:44:49.611Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T14:44:49.611Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T14:44:49.611Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T14:44:49.611Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T14:44:49.611Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T14:44:49.611Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T14:44:49.870Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T14:44:49.870Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T14:44:49.870Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-16T14:44:49.870Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T14:44:49.870Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-16T14:44:49.870Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T14:44:49.870Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T14:44:49.870Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T14:44:49.870Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T14:44:49.870Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T14:44:49.870Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-16T14:44:55.191Z] Removing intermediate container c266c105c572 [2020-04-16T14:44:55.191Z] ---> 1a1ad99d8113 [2020-04-16T14:44:55.191Z] Successfully built 1a1ad99d8113 [2020-04-16T14:44:55.191Z] 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-16T14:44:55.782Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-16T14:44:55.782Z] . [Pipeline] withDockerContainer [2020-04-16T14:44:55.977Z] prd-centos7-docker-4c-2g-4309 does not seem to be running inside a container [2020-04-16T14:44:56.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@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-16T14:44:56.641Z] $ docker top da7d8a1dd4b71fbb54d28fbab8c57ee30107a854687fb1173da27c41be0ca496 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T14:44:57.183Z] + go version [2020-04-16T14:44:57.183Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-16T14:44:57.502Z] + make test [2020-04-16T14:44:57.502Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-16T14:44:59.428Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-16T14:45:09.507Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-16T14:45:09.507Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-16T14:45:09.507Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-16T14:45:09.507Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 22.1% of statements [2020-04-16T14:45:12.811Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.053s coverage: 95.8% of statements [2020-04-16T14:45:45.038Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.031s coverage: 11.4% of statements [2020-04-16T14:45:45.038Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 22.1% of statements [2020-04-16T14:45:45.038Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-16T14:45:45.038Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.093s coverage: 36.9% of statements [2020-04-16T14:45:45.038Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-16T14:45:45.038Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-16T14:45:45.038Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.798s coverage: 74.9% of statements [2020-04-16T14:45:45.038Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-16T14:45:45.038Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-16T14:45:45.038Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-16T14:45:45.038Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.027s coverage: 52.6% of statements [2020-04-16T14:45:45.038Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-16T14:45:45.038Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.104s coverage: 71.4% of statements [2020-04-16T14:45:45.038Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-16T14:45:45.038Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-16T14:45:45.038Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T14:45:45.038Z] gofmt -l . [2020-04-16T14:45:45.298Z] [ "`gofmt -l .`" = "" ] [2020-04-16T14:45:45.298Z] ./bin/test-attribution-txt.sh [2020-04-16T14:45:45.872Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T14:45:46.416Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T14:45:46.422Z] $ docker stop --time=1 da7d8a1dd4b71fbb54d28fbab8c57ee30107a854687fb1173da27c41be0ca496 [2020-04-16T14:45:47.867Z] $ docker rm -f da7d8a1dd4b71fbb54d28fbab8c57ee30107a854687fb1173da27c41be0ca496 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T14:45:48.929Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T14:45:49.229Z] + ls -al . [2020-04-16T14:45:49.229Z] total 160 [2020-04-16T14:45:49.229Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 16 14:45 . [2020-04-16T14:45:49.229Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 16 14:44 .. [2020-04-16T14:45:49.229Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 14:44 api [2020-04-16T14:45:49.229Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 14:44 bin [2020-04-16T14:45:49.229Z] -rw-r--r--. 1 jenkins jenkins 97497 Apr 16 14:45 coverage.out [2020-04-16T14:45:49.229Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 16 14:44 Dockerfile.build [2020-04-16T14:45:49.229Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 14:44 .dockerignore [2020-04-16T14:45:49.229Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 16 14:44 example [2020-04-16T14:45:49.229Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 14:44 .git [2020-04-16T14:45:49.229Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 16 14:44 .github [2020-04-16T14:45:49.229Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 14:44 .gitignore [2020-04-16T14:45:49.229Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 16 14:45 go.mod [2020-04-16T14:45:49.229Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 16 14:45 go.sum [2020-04-16T14:45:49.229Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 16 14:44 internal [2020-04-16T14:45:49.229Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 16 14:44 Jenkinsfile [2020-04-16T14:45:49.229Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 14:44 LICENSE [2020-04-16T14:45:49.229Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 16 14:44 Makefile [2020-04-16T14:45:49.229Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 14:44 pkg [2020-04-16T14:45:49.229Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 16 14:44 README.md [2020-04-16T14:45:49.229Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 14:44 .semver [2020-04-16T14:45:49.229Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 14:44 snap [2020-04-16T14:45:49.229Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 14:43 VERSION [2020-04-16T14:45:49.229Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 14:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:45:49.535Z] + 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=ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b --label arch=amd64 --label version=0.0.0 . [2020-04-16T14:45:49.795Z] Sending build context to Docker daemon 3.033MB [2020-04-16T14:45:49.795Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-16T14:45:49.795Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-16T14:45:49.795Z] ---> 1a1ad99d8113 [2020-04-16T14:45:49.796Z] Step 3/21 : ARG MAKE='make build' [2020-04-16T14:45:49.796Z] ---> Running in bff8008bf515 [2020-04-16T14:45:49.796Z] Removing intermediate container bff8008bf515 [2020-04-16T14:45:49.796Z] ---> a4806fcacaba [2020-04-16T14:45:49.796Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-16T14:45:49.796Z] ---> Running in d4c95f5ed62a [2020-04-16T14:45:50.055Z] Removing intermediate container d4c95f5ed62a [2020-04-16T14:45:50.055Z] ---> 35fb501f36c1 [2020-04-16T14:45:50.055Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:45:50.055Z] ---> Running in 5e0529e1a709 [2020-04-16T14:45:50.315Z] Removing intermediate container 5e0529e1a709 [2020-04-16T14:45:50.315Z] ---> e0e3c64ffa14 [2020-04-16T14:45:50.315Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:45:50.315Z] ---> Running in 7c034690bdb7 [2020-04-16T14:45:50.892Z] Removing intermediate container 7c034690bdb7 [2020-04-16T14:45:50.892Z] ---> 49e2824d949f [2020-04-16T14:45:50.892Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-16T14:45:50.892Z] ---> Running in 19ac39afc041 [2020-04-16T14:45:51.460Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T14:45:52.031Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T14:45:52.981Z] OK: 143 MiB in 39 packages [2020-04-16T14:45:52.981Z] Removing intermediate container 19ac39afc041 [2020-04-16T14:45:52.981Z] ---> f8c901c08184 [2020-04-16T14:45:52.981Z] Step 8/21 : COPY . . [2020-04-16T14:45:53.558Z] ---> ad8d1b761c37 [2020-04-16T14:45:53.558Z] Step 9/21 : RUN ${MAKE} [2020-04-16T14:45:53.558Z] ---> Running in c0318321f766 [2020-04-16T14:45:53.818Z] 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-16T14:46:01.988Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-16T14:46:03.389Z] Removing intermediate container c0318321f766 [2020-04-16T14:46:03.389Z] ---> 4eac220979af [2020-04-16T14:46:03.389Z] Step 10/21 : FROM scratch [2020-04-16T14:46:03.389Z] ---> [2020-04-16T14:46:03.389Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:46:03.389Z] ---> Running in ffbc48f8eef8 [2020-04-16T14:46:03.389Z] Removing intermediate container ffbc48f8eef8 [2020-04-16T14:46:03.389Z] ---> 416dcbfb82ce [2020-04-16T14:46:03.389Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-16T14:46:03.389Z] ---> Running in ac90a4287eee [2020-04-16T14:46:03.389Z] Removing intermediate container ac90a4287eee [2020-04-16T14:46:03.389Z] ---> 13cc145c622c [2020-04-16T14:46:03.389Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-16T14:46:03.389Z] ---> Running in b8b1728c6ea1 [2020-04-16T14:46:03.648Z] Removing intermediate container b8b1728c6ea1 [2020-04-16T14:46:03.648Z] ---> b664a3d65032 [2020-04-16T14:46:03.648Z] Step 14/21 : WORKDIR / [2020-04-16T14:46:03.648Z] ---> Running in 3f1d225d7401 [2020-04-16T14:46:03.648Z] Removing intermediate container 3f1d225d7401 [2020-04-16T14:46:03.648Z] ---> f5f38a36f33a [2020-04-16T14:46:03.648Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-16T14:46:04.217Z] ---> 68a8a3838d20 [2020-04-16T14:46:04.217Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-16T14:46:04.217Z] ---> 7ab8080c777c [2020-04-16T14:46:04.217Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-16T14:46:04.476Z] ---> dafd593dfca5 [2020-04-16T14:46:04.476Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-16T14:46:04.476Z] ---> Running in 7a6550c1eba0 [2020-04-16T14:46:04.476Z] Removing intermediate container 7a6550c1eba0 [2020-04-16T14:46:04.476Z] ---> e076fd5bd0ba [2020-04-16T14:46:04.476Z] Step 19/21 : LABEL arch=amd64 [2020-04-16T14:46:04.736Z] ---> Running in 4cac8c6a54cc [2020-04-16T14:46:04.736Z] Removing intermediate container 4cac8c6a54cc [2020-04-16T14:46:04.736Z] ---> 936ca9971363 [2020-04-16T14:46:04.736Z] Step 20/21 : LABEL git_sha=ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b [2020-04-16T14:46:04.736Z] ---> Running in 5bce9a5dd443 [2020-04-16T14:46:04.995Z] Removing intermediate container 5bce9a5dd443 [2020-04-16T14:46:04.995Z] ---> 7671ec5b3fc5 [2020-04-16T14:46:04.995Z] Step 21/21 : LABEL version=0.0.0 [2020-04-16T14:46:04.995Z] ---> Running in 8d7249709dd6 [2020-04-16T14:46:05.263Z] Removing intermediate container 8d7249709dd6 [2020-04-16T14:46:05.263Z] ---> ae2e76d8dc32 [2020-04-16T14:46:05.263Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T14:46:05.263Z] Successfully built ae2e76d8dc32 [2020-04-16T14:46:05.263Z] 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-16T14:46:06.792Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4311 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws [2020-04-16T14:46:06.839Z] Running in /w/workspace/device-sdk-go/29 [Pipeline] { [Pipeline] checkout [2020-04-16T14:46:14.592Z] using credential edgex-jenkins-ssh [2020-04-16T14:46:14.647Z] Cloning the remote Git repository [2020-04-16T14:46:14.647Z] Cloning with configured refspecs honoured and without tags [2020-04-16T14:46:14.853Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:46:14.996Z] > git init /w/workspace/device-sdk-go/29 # timeout=10 [2020-04-16T14:46:15.118Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:46:15.121Z] > git --version # timeout=10 [2020-04-16T14:46:15.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:46:16.338Z] Fetching without tags [2020-04-16T14:46:15.263Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:46:16.238Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T14:46:16.255Z] > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 [2020-04-16T14:46:16.268Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:46:16.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T14:46:16.360Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:46:16.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:46:16.385Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:46:16.826Z] Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b [2020-04-16T14:46:17.195Z] Merge succeeded, producing e86968aafed21aec571a66528f0b09b2fcc5f919 [2020-04-16T14:46:17.196Z] Checking out Revision e86968aafed21aec571a66528f0b09b2fcc5f919 (PR-448) [2020-04-16T14:46:16.859Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:46:16.900Z] > git checkout -f d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 [2020-04-16T14:46:17.038Z] > git remote # timeout=10 [2020-04-16T14:46:17.063Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T14:46:17.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:46:17.109Z] > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 [2020-04-16T14:46:17.183Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T14:46:17.213Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:46:17.259Z] > git checkout -f e86968aafed21aec571a66528f0b09b2fcc5f919 # timeout=10 [2020-04-16T14:46:22.152Z] Commit message: "Merge commit 'fc4d8ba2ca6bee1bf2e474e60f47b75130718504' into HEAD" [2020-04-16T14:46:22.168Z] > git rev-list --no-walk d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T14:46:23.455Z] ========================================================= [2020-04-16T14:46:23.455Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-16T14:46:23.455Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:46:24.796Z] + 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-16T14:46:25.771Z] Sending build context to Docker daemon 2.912MB [2020-04-16T14:46:25.771Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T14:46:25.771Z] Step 2/8 : FROM ${BASE} [2020-04-16T14:46:26.043Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-16T14:46:26.043Z] cde5963f3b93: Pulling fs layer [2020-04-16T14:46:26.043Z] 2a23fa8c16f7: Pulling fs layer [2020-04-16T14:46:26.043Z] 777b28850792: Pulling fs layer [2020-04-16T14:46:26.043Z] 8a11ddd9e578: Pulling fs layer [2020-04-16T14:46:26.043Z] 4cf88f913ddb: Pulling fs layer [2020-04-16T14:46:26.043Z] 1df406cf5192: Pulling fs layer [2020-04-16T14:46:26.043Z] cd6300453558: Pulling fs layer [2020-04-16T14:46:26.043Z] b9c365052c96: Pulling fs layer [2020-04-16T14:46:26.043Z] a2d8cc88f415: Pulling fs layer [2020-04-16T14:46:26.043Z] ea1d1ca13537: Pulling fs layer [2020-04-16T14:46:26.043Z] 3750a50a1c5e: Pulling fs layer [2020-04-16T14:46:26.043Z] 1df406cf5192: Waiting [2020-04-16T14:46:26.043Z] cd6300453558: Waiting [2020-04-16T14:46:26.043Z] b9c365052c96: Waiting [2020-04-16T14:46:26.043Z] a2d8cc88f415: Waiting [2020-04-16T14:46:26.043Z] ea1d1ca13537: Waiting [2020-04-16T14:46:26.043Z] 3750a50a1c5e: Waiting [2020-04-16T14:46:26.043Z] 4cf88f913ddb: Waiting [2020-04-16T14:46:26.315Z] 777b28850792: Verifying Checksum [2020-04-16T14:46:26.315Z] 777b28850792: Download complete [2020-04-16T14:46:26.315Z] 2a23fa8c16f7: Download complete [2020-04-16T14:46:26.315Z] 4cf88f913ddb: Download complete [2020-04-16T14:46:26.315Z] 1df406cf5192: Verifying Checksum [2020-04-16T14:46:26.315Z] 1df406cf5192: Download complete [2020-04-16T14:46:26.586Z] cde5963f3b93: Verifying Checksum [2020-04-16T14:46:26.586Z] cde5963f3b93: Download complete [2020-04-16T14:46:28.028Z] cde5963f3b93: Pull complete [2020-04-16T14:46:28.308Z] 2a23fa8c16f7: Pull complete [2020-04-16T14:46:28.582Z] 777b28850792: Pull complete [2020-04-16T14:46:30.552Z] cd6300453558: Verifying Checksum [2020-04-16T14:46:30.552Z] cd6300453558: Download complete [2020-04-16T14:46:30.552Z] a2d8cc88f415: Verifying Checksum [2020-04-16T14:46:30.552Z] a2d8cc88f415: Download complete [2020-04-16T14:46:33.167Z] ea1d1ca13537: Verifying Checksum [2020-04-16T14:46:33.167Z] ea1d1ca13537: Download complete [2020-04-16T14:46:33.167Z] 3750a50a1c5e: Verifying Checksum [2020-04-16T14:46:33.167Z] 3750a50a1c5e: Download complete [2020-04-16T14:46:36.553Z] b9c365052c96: Verifying Checksum [2020-04-16T14:46:36.553Z] b9c365052c96: Download complete [2020-04-16T14:46:37.998Z] 8a11ddd9e578: Download complete [2020-04-16T14:46:50.370Z] 8a11ddd9e578: Pull complete [2020-04-16T14:46:50.370Z] 4cf88f913ddb: Pull complete [2020-04-16T14:46:50.370Z] 1df406cf5192: Pull complete [2020-04-16T14:46:53.737Z] cd6300453558: Pull complete [2020-04-16T14:46:59.111Z] b9c365052c96: Pull complete [2020-04-16T14:46:59.111Z] a2d8cc88f415: Pull complete [2020-04-16T14:47:01.076Z] ea1d1ca13537: Pull complete [2020-04-16T14:47:01.350Z] 3750a50a1c5e: Pull complete [2020-04-16T14:47:01.350Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-16T14:47:01.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-16T14:47:01.618Z] ---> 78745c68409d [2020-04-16T14:47:01.618Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:47:07.008Z] ---> Running in 56b97f2364fe [2020-04-16T14:47:07.008Z] Removing intermediate container 56b97f2364fe [2020-04-16T14:47:07.008Z] ---> eed49e58159c [2020-04-16T14:47:07.008Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:47:07.008Z] ---> Running in 6a48900371d6 [2020-04-16T14:47:08.966Z] Removing intermediate container 6a48900371d6 [2020-04-16T14:47:08.966Z] ---> 51cc95c7fa55 [2020-04-16T14:47:08.966Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-16T14:47:08.966Z] ---> Running in 88a7dec1aeef [2020-04-16T14:47:09.938Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T14:47:11.888Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T14:47:13.309Z] OK: 125 MiB in 39 packages [2020-04-16T14:47:14.286Z] Removing intermediate container 88a7dec1aeef [2020-04-16T14:47:14.286Z] ---> 9a3619cf7c6f [2020-04-16T14:47:14.286Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-16T14:47:14.556Z] ---> Running in c4418a5f31d8 [2020-04-16T14:47:14.827Z] Removing intermediate container c4418a5f31d8 [2020-04-16T14:47:14.827Z] ---> de5b5db9533a [2020-04-16T14:47:14.827Z] Step 7/8 : COPY . . [2020-04-16T14:47:16.245Z] ---> 63488903ea7d [2020-04-16T14:47:16.245Z] Step 8/8 : RUN go mod download [2020-04-16T14:47:16.245Z] ---> Running in 21bd7e41896b [2020-04-16T14:47:18.207Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T14:47:18.207Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-16T14:47:18.207Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T14:47:18.207Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T14:47:18.207Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T14:47:18.207Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T14:47:18.207Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-16T14:47:18.207Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T14:47:18.207Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-16T14:47:18.207Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-16T14:47:18.207Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-16T14:47:18.207Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-16T14:47:18.207Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-16T14:47:18.207Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T14:47:18.207Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-16T14:47:18.207Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T14:47:18.207Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T14:47:18.207Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T14:47:18.207Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T14:47:18.207Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T14:47:18.207Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T14:47:18.476Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T14:47:18.476Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T14:47:18.476Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T14:47:18.476Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T14:47:18.476Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T14:47:18.476Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T14:47:18.476Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T14:47:18.745Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T14:47:18.745Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T14:47:18.745Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T14:47:18.745Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T14:47:18.745Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T14:47:18.745Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T14:47:18.745Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T14:47:18.745Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T14:47:18.745Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T14:47:18.745Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T14:47:18.745Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T14:47:18.745Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T14:47:18.745Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T14:47:18.745Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T14:47:18.745Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T14:47:18.745Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-16T14:47:18.745Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T14:47:18.745Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-16T14:47:18.745Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T14:47:18.745Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T14:47:18.745Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T14:47:18.745Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T14:47:18.745Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T14:47:18.745Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-16T14:47:28.880Z] Removing intermediate container 21bd7e41896b [2020-04-16T14:47:28.880Z] ---> 1a2318af0968 [2020-04-16T14:47:28.880Z] Successfully built 1a2318af0968 [2020-04-16T14:47:28.880Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:47:29.593Z] + docker inspect -f . ci-base-image-arm64 [2020-04-16T14:47:29.861Z] . [Pipeline] withDockerContainer [2020-04-16T14:47:30.244Z] prd-ubuntu18.04-docker-arm64-4c-16g-4311 does not seem to be running inside a container [2020-04-16T14:47:30.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@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-16T14:47:31.930Z] $ docker top ee7b72f0ba894f892df4e15ed12caec0b0818e4cdd803ed5d104fec439f544c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T14:47:33.084Z] + go version [2020-04-16T14:47:33.084Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-16T14:47:33.773Z] + make test [2020-04-16T14:47:33.773Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-16T14:47:35.191Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-16T14:48:01.958Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-16T14:48:01.958Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-16T14:48:01.958Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-16T14:48:03.933Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.047s coverage: 22.1% of statements [2020-04-16T14:48:07.295Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.161s coverage: 95.8% of statements [2020-04-16T14:48:39.546Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.051s coverage: 11.4% of statements [2020-04-16T14:48:39.546Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 22.1% of statements [2020-04-16T14:48:39.546Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-16T14:48:39.546Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.247s coverage: 36.9% of statements [2020-04-16T14:48:39.546Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-16T14:48:39.546Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-16T14:48:39.546Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.898s coverage: 74.9% of statements [2020-04-16T14:48:39.546Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-16T14:48:39.546Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-16T14:48:39.546Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-16T14:48:39.546Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.043s coverage: 52.6% of statements [2020-04-16T14:48:39.546Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-16T14:48:39.546Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.325s coverage: 71.4% of statements [2020-04-16T14:48:39.546Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-16T14:48:39.546Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-16T14:48:39.546Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T14:48:42.140Z] gofmt -l . [2020-04-16T14:48:42.140Z] [ "`gofmt -l .`" = "" ] [2020-04-16T14:48:42.407Z] ./bin/test-attribution-txt.sh [2020-04-16T14:48:43.370Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T14:48:43.654Z] Warning: overwriting stash ‘coverage-report’ [2020-04-16T14:48:44.106Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T14:48:44.114Z] $ docker stop --time=1 ee7b72f0ba894f892df4e15ed12caec0b0818e4cdd803ed5d104fec439f544c9 [2020-04-16T14:48:46.253Z] $ docker rm -f ee7b72f0ba894f892df4e15ed12caec0b0818e4cdd803ed5d104fec439f544c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T14:48:47.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T14:48:47.792Z] + ls -al . [2020-04-16T14:48:47.792Z] total 200 [2020-04-16T14:48:47.792Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 16 14:48 . [2020-04-16T14:48:47.792Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:46 .. [2020-04-16T14:48:47.792Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 14:46 .dockerignore [2020-04-16T14:48:47.792Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 14:46 .git [2020-04-16T14:48:47.792Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:46 .github [2020-04-16T14:48:47.792Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 14:46 .gitignore [2020-04-16T14:48:47.792Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:46 .semver [2020-04-16T14:48:47.792Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 16 14:46 Dockerfile.build [2020-04-16T14:48:47.792Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 16 14:46 Jenkinsfile [2020-04-16T14:48:47.792Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 14:46 LICENSE [2020-04-16T14:48:47.792Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 16 14:46 Makefile [2020-04-16T14:48:47.792Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 16 14:46 README.md [2020-04-16T14:48:47.792Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 14:43 VERSION [2020-04-16T14:48:47.792Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:46 api [2020-04-16T14:48:47.792Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:46 bin [2020-04-16T14:48:47.792Z] -rw-r--r-- 1 jenkins jenkins 97497 Apr 16 14:48 coverage.out [2020-04-16T14:48:47.792Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:46 example [2020-04-16T14:48:47.792Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 16 14:48 go.mod [2020-04-16T14:48:47.792Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 16 14:48 go.sum [2020-04-16T14:48:47.792Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 16 14:46 internal [2020-04-16T14:48:47.792Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 14:46 pkg [2020-04-16T14:48:47.792Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:46 snap [2020-04-16T14:48:47.792Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 14:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:48:48.126Z] + 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=ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b --label arch=arm64 --label version=0.0.0 . [2020-04-16T14:48:48.720Z] Sending build context to Docker daemon 3.031MB [2020-04-16T14:48:48.720Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-16T14:48:48.720Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-16T14:48:48.720Z] ---> 1a2318af0968 [2020-04-16T14:48:48.720Z] Step 3/21 : ARG MAKE='make build' [2020-04-16T14:48:48.987Z] ---> Running in bba683ce6a24 [2020-04-16T14:48:49.254Z] Removing intermediate container bba683ce6a24 [2020-04-16T14:48:49.254Z] ---> fe0b180f51e8 [2020-04-16T14:48:49.254Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-16T14:48:49.254Z] ---> Running in d1090802b666 [2020-04-16T14:48:50.660Z] Removing intermediate container d1090802b666 [2020-04-16T14:48:50.660Z] ---> 09dc84257f9b [2020-04-16T14:48:50.660Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:48:50.660Z] ---> Running in 748ad25b5e74 [2020-04-16T14:48:50.927Z] Removing intermediate container 748ad25b5e74 [2020-04-16T14:48:50.928Z] ---> af14ac1b1840 [2020-04-16T14:48:50.928Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:48:50.928Z] ---> Running in b264ca369959 [2020-04-16T14:48:52.875Z] Removing intermediate container b264ca369959 [2020-04-16T14:48:52.875Z] ---> 43b919dc52ed [2020-04-16T14:48:52.875Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-16T14:48:52.875Z] ---> Running in 7b7ba120d54c [2020-04-16T14:48:53.841Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T14:48:54.420Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T14:48:55.376Z] OK: 125 MiB in 39 packages [2020-04-16T14:48:56.392Z] Removing intermediate container 7b7ba120d54c [2020-04-16T14:48:56.392Z] ---> 76f0b79a0e02 [2020-04-16T14:48:56.392Z] Step 8/21 : COPY . . [2020-04-16T14:48:57.882Z] ---> 4e5ba35eadd8 [2020-04-16T14:48:57.882Z] Step 9/21 : RUN ${MAKE} [2020-04-16T14:48:57.882Z] ---> Running in f206d2dee267 [2020-04-16T14:48:58.469Z] 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-16T14:49:25.201Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-16T14:49:25.201Z] Removing intermediate container f206d2dee267 [2020-04-16T14:49:25.201Z] ---> 8371f6cf6b44 [2020-04-16T14:49:25.201Z] Step 10/21 : FROM scratch [2020-04-16T14:49:25.201Z] ---> [2020-04-16T14:49:25.201Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:49:25.201Z] ---> Running in a3962474c8c2 [2020-04-16T14:49:25.201Z] Removing intermediate container a3962474c8c2 [2020-04-16T14:49:25.201Z] ---> 338bfdb5172e [2020-04-16T14:49:25.201Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-16T14:49:25.201Z] ---> Running in 601b705606b9 [2020-04-16T14:49:25.201Z] Removing intermediate container 601b705606b9 [2020-04-16T14:49:25.201Z] ---> 66d9fc3fbf75 [2020-04-16T14:49:25.201Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-16T14:49:25.201Z] ---> Running in 8ab4b98aca35 [2020-04-16T14:49:25.486Z] Removing intermediate container 8ab4b98aca35 [2020-04-16T14:49:25.486Z] ---> 14d27e920495 [2020-04-16T14:49:25.486Z] Step 14/21 : WORKDIR / [2020-04-16T14:49:25.755Z] ---> Running in 0aa9c689bf3d [2020-04-16T14:49:26.027Z] Removing intermediate container 0aa9c689bf3d [2020-04-16T14:49:26.027Z] ---> af97a5ed8963 [2020-04-16T14:49:26.027Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-16T14:49:27.447Z] ---> bb51a927066b [2020-04-16T14:49:27.447Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-16T14:49:27.716Z] ---> 07293cb11286 [2020-04-16T14:49:27.716Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-16T14:49:28.305Z] ---> 6b5d9683e48d [2020-04-16T14:49:28.305Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-16T14:49:28.305Z] ---> Running in 7316b57ec14b [2020-04-16T14:49:28.886Z] Removing intermediate container 7316b57ec14b [2020-04-16T14:49:28.886Z] ---> 7003669d6cab [2020-04-16T14:49:28.886Z] Step 19/21 : LABEL arch=arm64 [2020-04-16T14:49:28.886Z] ---> Running in 8784f3f57c0d [2020-04-16T14:49:29.154Z] Removing intermediate container 8784f3f57c0d [2020-04-16T14:49:29.154Z] ---> 0407396525d7 [2020-04-16T14:49:29.154Z] Step 20/21 : LABEL git_sha=ee8ead41e99ec16be3cbecbe1c89b2fa404d7f8b [2020-04-16T14:49:29.420Z] ---> Running in a725bf2212d8 [2020-04-16T14:49:29.687Z] Removing intermediate container a725bf2212d8 [2020-04-16T14:49:29.687Z] ---> 430d0ea045bc [2020-04-16T14:49:29.687Z] Step 21/21 : LABEL version=0.0.0 [2020-04-16T14:49:29.952Z] ---> Running in 577ddda77527 [2020-04-16T14:49:30.220Z] Removing intermediate container 577ddda77527 [2020-04-16T14:49:30.220Z] ---> 5f14a055d8d9 [2020-04-16T14:49:30.220Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T14:49:30.220Z] Successfully built 5f14a055d8d9 [2020-04-16T14:49:30.220Z] 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-16T14:49:31.345Z] provisioning config files... [2020-04-16T14:49:31.357Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config251828555906771421tmp [Pipeline] { [Pipeline] sh [2020-04-16T14:49:31.716Z] + curl -s https://codecov.io/bash [2020-04-16T14:49:31.717Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config251828555906771421tmp [2020-04-16T14:49:31.975Z] [2020-04-16T14:49:31.975Z] _____ _ [2020-04-16T14:49:31.975Z] / ____| | | [2020-04-16T14:49:31.975Z] | | ___ __| | ___ ___ _____ __ [2020-04-16T14:49:31.975Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-16T14:49:31.975Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-16T14:49:31.975Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-16T14:49:31.975Z] Bash-tbd [2020-04-16T14:49:31.975Z] [2020-04-16T14:49:31.975Z] [2020-04-16T14:49:31.975Z] ==> Jenkins CI detected. [2020-04-16T14:49:31.975Z] project root: . [2020-04-16T14:49:31.975Z] Fixing merge commit SHA [2020-04-16T14:49:31.975Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-16T14:49:31.975Z] ==> Running gcov in . (disable via -X gcov) [2020-04-16T14:49:31.975Z] ==> Python coveragepy not found [2020-04-16T14:49:31.975Z] ==> Searching for coverage reports in: [2020-04-16T14:49:31.975Z] + . [2020-04-16T14:49:31.975Z] -> Found 1 reports [2020-04-16T14:49:31.975Z] ==> Detecting git/mercurial file structure [2020-04-16T14:49:31.975Z] ==> Reading reports [2020-04-16T14:49:31.975Z] + ./coverage.out bytes=97497 [2020-04-16T14:49:31.975Z] ==> Appending adjustments [2020-04-16T14:49:31.975Z] http://docs.codecov.io/docs/fixing-reports [2020-04-16T14:49:32.235Z] + Found adjustments [2020-04-16T14:49:32.235Z] ==> Gzipping contents [2020-04-16T14:49:32.235Z] ==> Uploading reports [2020-04-16T14:49:32.235Z] url: https://codecov.io [2020-04-16T14:49:32.235Z] query: branch=PR-448&commit=fc4d8ba2ca6bee1bf2e474e60f47b75130718504&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= [2020-04-16T14:49:32.235Z] -> Pinging Codecov [2020-04-16T14:49:32.235Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-448&commit=fc4d8ba2ca6bee1bf2e474e60f47b75130718504&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= [2020-04-16T14:49:32.803Z] -> Uploading [2020-04-16T14:49:33.062Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fc4d8ba2ca6bee1bf2e474e60f47b75130718504 [Pipeline] } [2020-04-16T14:49:33.069Z] 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-16T14:49:34.266Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:49:34.570Z] ---> package-listing.sh [2020-04-16T14:49:34.570Z] ++ facter osfamily [2020-04-16T14:49:34.570Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-16T14:49:34.570Z] + OS_FAMILY=redhat [2020-04-16T14:49:34.570Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-04-16T14:49:34.570Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-16T14:49:34.570Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-16T14:49:34.570Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-16T14:49:34.570Z] + PACKAGES=/tmp/packages_start.txt [2020-04-16T14:49:34.570Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' [2020-04-16T14:49:34.570Z] + PACKAGES=/tmp/packages_end.txt [2020-04-16T14:49:34.570Z] + case "${OS_FAMILY}" in [2020-04-16T14:49:34.570Z] + rpm -qa [2020-04-16T14:49:34.570Z] + sort [2020-04-16T14:49:38.765Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-16T14:49:38.765Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-16T14:49:38.765Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-16T14:49:38.765Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' [2020-04-16T14:49:38.765Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [2020-04-16T14:49:38.765Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:49:39.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T14:49:39.117Z] [2020-04-16T14:49:39.117Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:49:39.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T14:49:39.460Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-16T14:49:39.460Z] c9b1b535fdd9: Pulling fs layer [2020-04-16T14:49:39.460Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-16T14:49:39.460Z] 756a868c4378: Pulling fs layer [2020-04-16T14:49:39.460Z] 444b2fc9a129: Pulling fs layer [2020-04-16T14:49:39.460Z] ea15f1150254: Pulling fs layer [2020-04-16T14:49:39.460Z] 41b27a9f41bf: Pulling fs layer [2020-04-16T14:49:39.460Z] 28c525ee5125: Pulling fs layer [2020-04-16T14:49:39.460Z] 094b1ea09ed8: Pulling fs layer [2020-04-16T14:49:39.460Z] 138eaada9080: Pulling fs layer [2020-04-16T14:49:39.460Z] 0622d0fa9048: Pulling fs layer [2020-04-16T14:49:39.460Z] ea15f1150254: Waiting [2020-04-16T14:49:39.460Z] 41b27a9f41bf: Waiting [2020-04-16T14:49:39.460Z] 28c525ee5125: Waiting [2020-04-16T14:49:39.460Z] 094b1ea09ed8: Waiting [2020-04-16T14:49:39.460Z] 138eaada9080: Waiting [2020-04-16T14:49:39.460Z] 0622d0fa9048: Waiting [2020-04-16T14:49:39.460Z] 444b2fc9a129: Waiting [2020-04-16T14:49:39.460Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-16T14:49:39.460Z] 2cc5ad85d9ab: Download complete [2020-04-16T14:49:39.460Z] 444b2fc9a129: Download complete [2020-04-16T14:49:39.460Z] c9b1b535fdd9: Verifying Checksum [2020-04-16T14:49:39.460Z] c9b1b535fdd9: Download complete [2020-04-16T14:49:39.460Z] ea15f1150254: Verifying Checksum [2020-04-16T14:49:39.460Z] ea15f1150254: Download complete [2020-04-16T14:49:39.730Z] 28c525ee5125: Verifying Checksum [2020-04-16T14:49:39.730Z] 28c525ee5125: Download complete [2020-04-16T14:49:39.730Z] c9b1b535fdd9: Pull complete [2020-04-16T14:49:39.992Z] 756a868c4378: Verifying Checksum [2020-04-16T14:49:39.992Z] 756a868c4378: Download complete [2020-04-16T14:49:39.992Z] 138eaada9080: Verifying Checksum [2020-04-16T14:49:39.992Z] 138eaada9080: Download complete [2020-04-16T14:49:39.992Z] 0622d0fa9048: Verifying Checksum [2020-04-16T14:49:39.992Z] 0622d0fa9048: Download complete [2020-04-16T14:49:39.992Z] 094b1ea09ed8: Verifying Checksum [2020-04-16T14:49:39.992Z] 094b1ea09ed8: Download complete [2020-04-16T14:49:39.992Z] 2cc5ad85d9ab: Pull complete [2020-04-16T14:49:40.941Z] 41b27a9f41bf: Verifying Checksum [2020-04-16T14:49:40.941Z] 41b27a9f41bf: Download complete [2020-04-16T14:49:41.510Z] 756a868c4378: Pull complete [2020-04-16T14:49:41.770Z] 444b2fc9a129: Pull complete [2020-04-16T14:49:42.342Z] ea15f1150254: Pull complete [2020-04-16T14:49:45.631Z] 41b27a9f41bf: Pull complete [2020-04-16T14:49:45.631Z] 28c525ee5125: Pull complete [2020-04-16T14:49:47.560Z] 094b1ea09ed8: Pull complete [2020-04-16T14:49:47.821Z] 138eaada9080: Pull complete [2020-04-16T14:49:48.080Z] 0622d0fa9048: Pull complete [2020-04-16T14:49:48.080Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-16T14:49:48.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-16T14:49:48.235Z] prd-centos7-docker-4c-2g-4304 does not seem to be running inside a container [2020-04-16T14:49:48.276Z] $ 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-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@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-16T14:49:49.246Z] $ docker top d19978834e40f2451cb88a66d589bf2de256206e384737a687570b047ef2b59e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T14:49:49.534Z] provisioning config files... [2020-04-16T14:49:49.548Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config2213075914993040750tmp [Pipeline] { [Pipeline] echo [2020-04-16T14:49:49.608Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:49:49.904Z] ---> create-netrc.sh [Pipeline] echo [2020-04-16T14:49:49.911Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:49:50.201Z] ---> logs-deploy.sh [2020-04-16T14:49:50.201Z] + ARCHIVE_ARTIFACTS= [2020-04-16T14:49:50.201Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-16T14:49:50.201Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-16T14:49:50.201Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-16T14:49:50.201Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/29 [2020-04-16T14:49:50.201Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/29/ [2020-04-16T14:49:50.201Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/29 /w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-04-16T14:49:51.582Z] Archives upload complete. [2020-04-16T14:49:51.582Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/29 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/29/