Pull request #483 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f00dd10d70c517fcbc158321f5bc713325a17dde+cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 (0e657ff9b291bafec28e5aad8ea72da195d106ad) 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3804 in /w/workspace/dgexfoundry_device-sdk-go_PR-483 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-483 # 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/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/483/head:refs/remotes/origin/PR-483 # 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/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit f00dd10d70c517fcbc158321f5bc713325a17dde Merge succeeded, producing f00dd10d70c517fcbc158321f5bc713325a17dde Checking out Revision f00dd10d70c517fcbc158321f5bc713325a17dde (PR-483) > git config core.sparsecheckout # timeout=10 > git checkout -f f00dd10d70c517fcbc158321f5bc713325a17dde # 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 cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f00dd10d70c517fcbc158321f5bc713325a17dde # timeout=10 Commit message: "call updateDevice after updating device profile" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 [Pipeline] timeout [2020-04-14T09:31:54.054Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:31:56.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T09:31:56.152Z] [2020-04-14T09:31:56.152Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:31:56.510Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T09:31:56.510Z] latest: Pulling from edgex-devops/git-semver [2020-04-14T09:31:56.510Z] 9123ac7c32f7: Pulling fs layer [2020-04-14T09:31:56.510Z] b8cc5d1170e3: Pulling fs layer [2020-04-14T09:31:56.510Z] 2924cbbf6a41: Pulling fs layer [2020-04-14T09:31:56.510Z] 93b08a4f1073: Pulling fs layer [2020-04-14T09:31:56.510Z] 93b08a4f1073: Waiting [2020-04-14T09:31:56.510Z] b8cc5d1170e3: Verifying Checksum [2020-04-14T09:31:56.510Z] b8cc5d1170e3: Download complete [2020-04-14T09:31:56.769Z] 9123ac7c32f7: Verifying Checksum [2020-04-14T09:31:56.769Z] 9123ac7c32f7: Download complete [2020-04-14T09:31:56.769Z] 93b08a4f1073: Verifying Checksum [2020-04-14T09:31:56.769Z] 93b08a4f1073: Download complete [2020-04-14T09:31:56.769Z] 2924cbbf6a41: Verifying Checksum [2020-04-14T09:31:56.769Z] 2924cbbf6a41: Download complete [2020-04-14T09:31:57.028Z] 9123ac7c32f7: Pull complete [2020-04-14T09:31:57.028Z] b8cc5d1170e3: Pull complete [2020-04-14T09:31:57.965Z] 2924cbbf6a41: Pull complete [2020-04-14T09:31:57.965Z] 93b08a4f1073: Pull complete [2020-04-14T09:31:57.965Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-14T09:31:57.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-14T09:31:58.095Z] prd-centos7-docker-4c-2g-3804 does not seem to be running inside a container [2020-04-14T09:31:58.138Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-483 -v /w/workspace/dgexfoundry_device-sdk-go_PR-483:/w/workspace/dgexfoundry_device-sdk-go_PR-483:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-14T09:31:58.735Z] $ docker top 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-14T09:31:59.003Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T09:31:59.003Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T09:31:59.223Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T09:31:59.224Z] $ docker exec 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 ssh-agent [2020-04-14T09:31:59.416Z] SSH_AUTH_SOCK=/tmp/ssh-vKYMof541XGY/agent.15 [2020-04-14T09:31:59.416Z] SSH_AGENT_PID=22 [2020-04-14T09:31:59.425Z] Running ssh-add (command line suppressed) [2020-04-14T09:31:59.565Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_3516416779514863971.key (/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_3516416779514863971.key) [2020-04-14T09:31:59.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T09:31:59.930Z] + git describe --exact-match --tags HEAD [2020-04-14T09:31:59.931Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-14T09:31:59.981Z] $ docker exec --env ******** --env ******** 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 ssh-agent -k [2020-04-14T09:32:00.132Z] unset SSH_AUTH_SOCK; [2020-04-14T09:32:00.132Z] unset SSH_AGENT_PID; [2020-04-14T09:32:00.133Z] echo Agent pid 22 killed; [2020-04-14T09:32:00.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-14T09:32:00.244Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-14T09:32:00.244Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-14T09:32:00.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T09:32:00.333Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T09:32:00.534Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T09:32:00.539Z] $ docker exec 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 ssh-agent [2020-04-14T09:32:00.737Z] SSH_AUTH_SOCK=/tmp/ssh-vjJa6FfNfeBA/agent.57 [2020-04-14T09:32:00.737Z] SSH_AGENT_PID=64 [2020-04-14T09:32:00.748Z] Running ssh-add (command line suppressed) [2020-04-14T09:32:00.894Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_3706220562528208925.key (/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_3706220562528208925.key) [2020-04-14T09:32:00.960Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T09:32:01.305Z] + git semver init [2020-04-14T09:32:01.305Z] # -> Open(): unable to determine branch for HEAD [2020-04-14T09:32:01.305Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-483/.git [2020-04-14T09:32:01.305Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-483 [2020-04-14T09:32:01.305Z] # $SEMVER_REMOTE_NAME = origin [2020-04-14T09:32:01.305Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-14T09:32:01.305Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-14T09:32:01.305Z] # $SEMVER_BRANCH = PR-483 [2020-04-14T09:32:01.305Z] # $SEMVER_TEMP = /tmp/semver-399738747 [2020-04-14T09:32:01.305Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-14T09:32:01.877Z] # '/tmp/semver-399738747' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-483/.semver' [2020-04-14T09:32:01.877Z] # -> Force: false [2020-04-14T09:32:01.877Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-483/.semver [Pipeline] } [2020-04-14T09:32:01.885Z] $ docker exec --env ******** --env ******** 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 ssh-agent -k [2020-04-14T09:32:02.036Z] unset SSH_AUTH_SOCK; [2020-04-14T09:32:02.037Z] unset SSH_AGENT_PID; [2020-04-14T09:32:02.037Z] echo Agent pid 64 killed; [2020-04-14T09:32:02.075Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-14T09:32:02.515Z] + git semver [Pipeline] } [2020-04-14T09:32:02.526Z] $ docker stop --time=1 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 [2020-04-14T09:32:03.919Z] $ docker rm -f 1f655dda941c13ac19b8c9799d28131b5048f57f2411406f5df7b5a779d3e1c0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-14T09:32:04.745Z] Stashed 42 file(s) [Pipeline] echo [2020-04-14T09:32:04.747Z] [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-14T09:32:19.983Z] Still waiting to schedule task [2020-04-14T09:32:19.983Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3804’ [2020-04-14T09:32:19.985Z] Still waiting to schedule task [2020-04-14T09:32:19.985Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-14T09:34:03.829Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3805 in /w/workspace/dgexfoundry_device-sdk-go_PR-483 [Pipeline] { [Pipeline] ws [2020-04-14T09:34:03.867Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-04-14T09:34:09.378Z] using credential edgex-jenkins-ssh [2020-04-14T09:34:09.430Z] Cloning the remote Git repository [2020-04-14T09:34:09.430Z] Cloning with configured refspecs honoured and without tags [2020-04-14T09:34:09.479Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T09:34:09.560Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-04-14T09:34:09.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T09:34:09.636Z] > git --version # timeout=10 [2020-04-14T09:34:09.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T09:34:09.743Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T09:34:10.784Z] Fetching without tags [2020-04-14T09:34:11.334Z] Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit f00dd10d70c517fcbc158321f5bc713325a17dde [2020-04-14T09:34:11.583Z] Merge succeeded, producing f00dd10d70c517fcbc158321f5bc713325a17dde [2020-04-14T09:34:11.584Z] Checking out Revision f00dd10d70c517fcbc158321f5bc713325a17dde (PR-483) [2020-04-14T09:34:10.596Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T09:34:10.636Z] > git config --add remote.origin.fetch +refs/pull/483/head:refs/remotes/origin/PR-483 # timeout=10 [2020-04-14T09:34:10.653Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T09:34:10.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T09:34:10.786Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T09:34:10.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T09:34:10.809Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T09:34:11.345Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T09:34:11.366Z] > git checkout -f f00dd10d70c517fcbc158321f5bc713325a17dde # timeout=10 [2020-04-14T09:34:11.468Z] > git remote # timeout=10 [2020-04-14T09:34:11.496Z] > git config --get remote.origin.url # timeout=10 [2020-04-14T09:34:11.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T09:34:11.528Z] > git merge cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 [2020-04-14T09:34:11.557Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-14T09:34:11.582Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T09:34:11.606Z] > git checkout -f f00dd10d70c517fcbc158321f5bc713325a17dde # timeout=10 [2020-04-14T09:34:15.901Z] Commit message: "call updateDevice after updating device profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-14T09:34:17.272Z] ========================================================= [2020-04-14T09:34:17.272Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-14T09:34:17.272Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:34:18.437Z] + 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-14T09:34:19.402Z] Sending build context to Docker daemon 2.89MB [2020-04-14T09:34:19.402Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-14T09:34:19.402Z] Step 2/8 : FROM ${BASE} [2020-04-14T09:34:19.669Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-14T09:34:19.669Z] cde5963f3b93: Pulling fs layer [2020-04-14T09:34:19.669Z] 2a23fa8c16f7: Pulling fs layer [2020-04-14T09:34:19.669Z] 777b28850792: Pulling fs layer [2020-04-14T09:34:19.669Z] 8a11ddd9e578: Pulling fs layer [2020-04-14T09:34:19.669Z] 4cf88f913ddb: Pulling fs layer [2020-04-14T09:34:19.669Z] 1df406cf5192: Pulling fs layer [2020-04-14T09:34:19.669Z] cd6300453558: Pulling fs layer [2020-04-14T09:34:19.669Z] b9c365052c96: Pulling fs layer [2020-04-14T09:34:19.669Z] a2d8cc88f415: Pulling fs layer [2020-04-14T09:34:19.669Z] ea1d1ca13537: Pulling fs layer [2020-04-14T09:34:19.669Z] 3750a50a1c5e: Pulling fs layer [2020-04-14T09:34:19.669Z] 8a11ddd9e578: Waiting [2020-04-14T09:34:19.669Z] 4cf88f913ddb: Waiting [2020-04-14T09:34:19.669Z] 1df406cf5192: Waiting [2020-04-14T09:34:19.669Z] a2d8cc88f415: Waiting [2020-04-14T09:34:19.669Z] ea1d1ca13537: Waiting [2020-04-14T09:34:19.669Z] 3750a50a1c5e: Waiting [2020-04-14T09:34:19.669Z] cd6300453558: Waiting [2020-04-14T09:34:19.669Z] b9c365052c96: Waiting [2020-04-14T09:34:19.669Z] 777b28850792: Verifying Checksum [2020-04-14T09:34:19.669Z] 777b28850792: Download complete [2020-04-14T09:34:19.669Z] 2a23fa8c16f7: Verifying Checksum [2020-04-14T09:34:19.669Z] 2a23fa8c16f7: Download complete [2020-04-14T09:34:19.941Z] 4cf88f913ddb: Verifying Checksum [2020-04-14T09:34:19.941Z] 4cf88f913ddb: Download complete [2020-04-14T09:34:19.941Z] 1df406cf5192: Verifying Checksum [2020-04-14T09:34:19.941Z] 1df406cf5192: Download complete [2020-04-14T09:34:19.941Z] cde5963f3b93: Verifying Checksum [2020-04-14T09:34:19.941Z] cde5963f3b93: Download complete [2020-04-14T09:34:20.912Z] cde5963f3b93: Pull complete [2020-04-14T09:34:21.504Z] 2a23fa8c16f7: Pull complete [2020-04-14T09:34:21.772Z] 777b28850792: Pull complete [2020-04-14T09:34:24.379Z] cd6300453558: Verifying Checksum [2020-04-14T09:34:24.379Z] cd6300453558: Download complete [2020-04-14T09:34:24.379Z] a2d8cc88f415: Verifying Checksum [2020-04-14T09:34:24.379Z] a2d8cc88f415: Download complete [2020-04-14T09:34:26.983Z] ea1d1ca13537: Verifying Checksum [2020-04-14T09:34:26.983Z] ea1d1ca13537: Download complete [2020-04-14T09:34:26.983Z] 3750a50a1c5e: Verifying Checksum [2020-04-14T09:34:26.983Z] 3750a50a1c5e: Download complete [2020-04-14T09:34:29.574Z] b9c365052c96: Verifying Checksum [2020-04-14T09:34:29.574Z] b9c365052c96: Download complete [2020-04-14T09:34:30.989Z] 8a11ddd9e578: Verifying Checksum [2020-04-14T09:34:30.989Z] 8a11ddd9e578: Download complete [2020-04-14T09:34:43.328Z] 8a11ddd9e578: Pull complete [2020-04-14T09:34:43.328Z] 4cf88f913ddb: Pull complete [2020-04-14T09:34:43.328Z] 1df406cf5192: Pull complete [2020-04-14T09:34:44.869Z] Running on prd-centos7-docker-4c-2g-3806 in /w/workspace/dgexfoundry_device-sdk-go_PR-483 [Pipeline] { [Pipeline] ws [2020-04-14T09:34:44.906Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-04-14T09:34:46.687Z] cd6300453558: Pull complete [2020-04-14T09:34:47.112Z] using credential edgex-jenkins-ssh [2020-04-14T09:34:47.156Z] Cloning the remote Git repository [2020-04-14T09:34:47.156Z] Cloning with configured refspecs honoured and without tags [2020-04-14T09:34:46.714Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T09:34:47.961Z] Fetching without tags [2020-04-14T09:34:46.756Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-04-14T09:34:46.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T09:34:46.809Z] > git --version # timeout=10 [2020-04-14T09:34:46.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T09:34:46.854Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T09:34:47.519Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T09:34:47.532Z] > git config --add remote.origin.fetch +refs/pull/483/head:refs/remotes/origin/PR-483 # timeout=10 [2020-04-14T09:34:47.538Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T09:34:47.551Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T09:34:47.560Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T09:34:47.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T09:34:47.565Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T09:34:48.431Z] Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit f00dd10d70c517fcbc158321f5bc713325a17dde [2020-04-14T09:34:48.530Z] Merge succeeded, producing f00dd10d70c517fcbc158321f5bc713325a17dde [2020-04-14T09:34:48.531Z] Checking out Revision f00dd10d70c517fcbc158321f5bc713325a17dde (PR-483) [2020-04-14T09:34:48.074Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T09:34:48.085Z] > git checkout -f f00dd10d70c517fcbc158321f5bc713325a17dde # timeout=10 [2020-04-14T09:34:48.136Z] > git remote # timeout=10 [2020-04-14T09:34:48.142Z] > git config --get remote.origin.url # timeout=10 [2020-04-14T09:34:48.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T09:34:48.151Z] > git merge cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 [2020-04-14T09:34:48.163Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-14T09:34:48.177Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T09:34:48.184Z] > git checkout -f f00dd10d70c517fcbc158321f5bc713325a17dde # timeout=10 [2020-04-14T09:34:50.939Z] b9c365052c96: Pull complete [2020-04-14T09:34:50.939Z] a2d8cc88f415: Pull complete [2020-04-14T09:34:52.025Z] Commit message: "call updateDevice after updating device profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-14T09:34:52.764Z] ========================================================= [2020-04-14T09:34:52.764Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-14T09:34:52.764Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:34:53.449Z] + 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-14T09:34:53.548Z] ea1d1ca13537: Pull complete [2020-04-14T09:34:53.548Z] 3750a50a1c5e: Pull complete [2020-04-14T09:34:53.548Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-14T09:34:53.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-14T09:34:53.548Z] ---> 78745c68409d [2020-04-14T09:34:53.548Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T09:34:53.711Z] Sending build context to Docker daemon 2.888MB [2020-04-14T09:34:53.711Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-14T09:34:53.711Z] Step 2/8 : FROM ${BASE} [2020-04-14T09:34:53.711Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-14T09:34:53.711Z] e6b0cf9c0882: Pulling fs layer [2020-04-14T09:34:53.711Z] 2848faf0eed1: Pulling fs layer [2020-04-14T09:34:53.711Z] 0f37312ad70f: Pulling fs layer [2020-04-14T09:34:53.711Z] 5788d62ee057: Pulling fs layer [2020-04-14T09:34:53.711Z] 0e6b1d234666: Pulling fs layer [2020-04-14T09:34:53.711Z] bf5d7aec512f: Pulling fs layer [2020-04-14T09:34:53.711Z] 34c802a77dc8: Pulling fs layer [2020-04-14T09:34:53.711Z] 9eb99e56ec68: Pulling fs layer [2020-04-14T09:34:53.711Z] 27c7a5d97fbd: Pulling fs layer [2020-04-14T09:34:53.711Z] 5c102a31e300: Pulling fs layer [2020-04-14T09:34:53.711Z] dcfb455df0a1: Pulling fs layer [2020-04-14T09:34:53.711Z] 5788d62ee057: Waiting [2020-04-14T09:34:53.711Z] 0e6b1d234666: Waiting [2020-04-14T09:34:53.711Z] bf5d7aec512f: Waiting [2020-04-14T09:34:53.711Z] 34c802a77dc8: Waiting [2020-04-14T09:34:53.711Z] 9eb99e56ec68: Waiting [2020-04-14T09:34:53.711Z] 27c7a5d97fbd: Waiting [2020-04-14T09:34:53.711Z] 5c102a31e300: Waiting [2020-04-14T09:34:53.711Z] dcfb455df0a1: Waiting [2020-04-14T09:34:53.711Z] 0f37312ad70f: Verifying Checksum [2020-04-14T09:34:53.711Z] 0f37312ad70f: Download complete [2020-04-14T09:34:53.711Z] 2848faf0eed1: Download complete [2020-04-14T09:34:53.711Z] 0e6b1d234666: Verifying Checksum [2020-04-14T09:34:53.711Z] 0e6b1d234666: Download complete [2020-04-14T09:34:53.711Z] e6b0cf9c0882: Download complete [2020-04-14T09:34:53.711Z] bf5d7aec512f: Verifying Checksum [2020-04-14T09:34:53.711Z] bf5d7aec512f: Download complete [2020-04-14T09:34:53.977Z] e6b0cf9c0882: Pull complete [2020-04-14T09:34:54.249Z] 2848faf0eed1: Pull complete [2020-04-14T09:34:54.537Z] 0f37312ad70f: Pull complete [2020-04-14T09:34:54.809Z] 34c802a77dc8: Verifying Checksum [2020-04-14T09:34:54.809Z] 34c802a77dc8: Download complete [2020-04-14T09:34:54.809Z] 27c7a5d97fbd: Verifying Checksum [2020-04-14T09:34:54.809Z] 27c7a5d97fbd: Download complete [2020-04-14T09:34:55.382Z] 5c102a31e300: Verifying Checksum [2020-04-14T09:34:55.382Z] 5c102a31e300: Download complete [2020-04-14T09:34:55.382Z] dcfb455df0a1: Verifying Checksum [2020-04-14T09:34:55.382Z] dcfb455df0a1: Download complete [2020-04-14T09:34:55.382Z] 9eb99e56ec68: Verifying Checksum [2020-04-14T09:34:55.382Z] 9eb99e56ec68: Download complete [2020-04-14T09:34:55.642Z] 5788d62ee057: Verifying Checksum [2020-04-14T09:34:55.642Z] 5788d62ee057: Download complete [2020-04-14T09:34:57.832Z] ---> Running in 616108676a37 [2020-04-14T09:34:58.099Z] Removing intermediate container 616108676a37 [2020-04-14T09:34:58.099Z] ---> 24bce02a27c4 [2020-04-14T09:34:58.099Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T09:34:58.099Z] ---> Running in 67c758625a1b [2020-04-14T09:35:00.051Z] Removing intermediate container 67c758625a1b [2020-04-14T09:35:00.051Z] ---> d9160c7ea65a [2020-04-14T09:35:00.051Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-14T09:35:00.051Z] ---> Running in e29b164d3636 [2020-04-14T09:35:01.017Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-14T09:35:01.605Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-14T09:35:02.191Z] OK: 125 MiB in 39 packages [2020-04-14T09:35:02.229Z] 5788d62ee057: Pull complete [2020-04-14T09:35:02.229Z] 0e6b1d234666: Pull complete [2020-04-14T09:35:02.229Z] bf5d7aec512f: Pull complete [2020-04-14T09:35:03.608Z] Removing intermediate container e29b164d3636 [2020-04-14T09:35:03.608Z] ---> 47c72d0b0437 [2020-04-14T09:35:03.608Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-14T09:35:03.608Z] ---> Running in ae3870220b47 [2020-04-14T09:35:03.874Z] Removing intermediate container ae3870220b47 [2020-04-14T09:35:03.874Z] ---> 3619f1e943d1 [2020-04-14T09:35:03.874Z] Step 7/8 : COPY . . [2020-04-14T09:35:04.841Z] ---> 74e4fe664a97 [2020-04-14T09:35:04.841Z] Step 8/8 : RUN go mod download [2020-04-14T09:35:05.110Z] ---> Running in e7db999d4530 [2020-04-14T09:35:06.424Z] 34c802a77dc8: Pull complete [2020-04-14T09:35:07.065Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-14T09:35:07.065Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-14T09:35:07.065Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-14T09:35:07.065Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-14T09:35:07.065Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-14T09:35:07.065Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-14T09:35:07.065Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-14T09:35:07.065Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-14T09:35:07.065Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-14T09:35:07.065Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-14T09:35:07.065Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-14T09:35:07.065Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-14T09:35:07.065Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-14T09:35:07.065Z] go: finding github.com/fatih/color v1.7.0 [2020-04-14T09:35:07.065Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-14T09:35:07.065Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-14T09:35:07.065Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-14T09:35:07.065Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-14T09:35:07.065Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-14T09:35:07.065Z] go: finding github.com/google/uuid v1.1.0 [2020-04-14T09:35:07.065Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-14T09:35:07.065Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-14T09:35:07.065Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-14T09:35:07.332Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-14T09:35:07.332Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-14T09:35:07.332Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-14T09:35:07.332Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-14T09:35:07.332Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-14T09:35:07.332Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-14T09:35:07.332Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-14T09:35:07.332Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-14T09:35:07.332Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-14T09:35:07.332Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-14T09:35:07.333Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-14T09:35:07.333Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-14T09:35:07.333Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-14T09:35:07.333Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-14T09:35:07.333Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-14T09:35:07.333Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-14T09:35:07.604Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-14T09:35:07.604Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T09:35:07.604Z] go: finding github.com/posener/complete v1.1.1 [2020-04-14T09:35:07.604Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-14T09:35:07.604Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-14T09:35:07.604Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-14T09:35:07.604Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-14T09:35:07.604Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-14T09:35:07.604Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-14T09:35:07.604Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-14T09:35:07.604Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-14T09:35:07.604Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-14T09:35:07.604Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-14T09:35:07.604Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-14T09:35:07.604Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-14T09:35:09.719Z] 9eb99e56ec68: Pull complete [2020-04-14T09:35:09.719Z] 27c7a5d97fbd: Pull complete [2020-04-14T09:35:10.666Z] 5c102a31e300: Pull complete [2020-04-14T09:35:10.666Z] dcfb455df0a1: Pull complete [2020-04-14T09:35:10.666Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-14T09:35:10.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-14T09:35:10.666Z] ---> 7c70fe431013 [2020-04-14T09:35:10.666Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T09:35:10.928Z] ---> Running in e6b412542eb3 [2020-04-14T09:35:10.928Z] Removing intermediate container e6b412542eb3 [2020-04-14T09:35:10.928Z] ---> c27d200f0ff2 [2020-04-14T09:35:10.928Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T09:35:10.928Z] ---> Running in 4069e13ee9b3 [2020-04-14T09:35:12.311Z] Removing intermediate container 4069e13ee9b3 [2020-04-14T09:35:12.311Z] ---> 9afd23807bb2 [2020-04-14T09:35:12.311Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-14T09:35:12.570Z] ---> Running in f129121d50f5 [2020-04-14T09:35:12.830Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-14T09:35:13.766Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-14T09:35:14.026Z] OK: 143 MiB in 39 packages [2020-04-14T09:35:14.594Z] Removing intermediate container f129121d50f5 [2020-04-14T09:35:14.594Z] ---> 38735d18f1e2 [2020-04-14T09:35:14.594Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-14T09:35:14.594Z] ---> Running in 90496f951bef [2020-04-14T09:35:14.594Z] Removing intermediate container 90496f951bef [2020-04-14T09:35:14.594Z] ---> b70b1a041134 [2020-04-14T09:35:14.594Z] Step 7/8 : COPY . . [2020-04-14T09:35:15.167Z] ---> 404a3e6a3570 [2020-04-14T09:35:15.167Z] Step 8/8 : RUN go mod download [2020-04-14T09:35:15.167Z] ---> Running in 9606887a7fe7 [2020-04-14T09:35:17.078Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-14T09:35:17.078Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-14T09:35:17.078Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-14T09:35:17.078Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-14T09:35:17.078Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-14T09:35:17.078Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-14T09:35:17.078Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-14T09:35:17.078Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-14T09:35:17.078Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-14T09:35:17.341Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-14T09:35:17.341Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-14T09:35:17.341Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-14T09:35:17.341Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-14T09:35:17.341Z] go: finding github.com/fatih/color v1.7.0 [2020-04-14T09:35:17.341Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-14T09:35:17.341Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-14T09:35:17.600Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-14T09:35:17.600Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-14T09:35:17.600Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-14T09:35:17.600Z] go: finding github.com/google/uuid v1.1.0 [2020-04-14T09:35:17.600Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-14T09:35:17.600Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-14T09:35:17.600Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-14T09:35:17.717Z] Removing intermediate container e7db999d4530 [2020-04-14T09:35:17.717Z] ---> ffc57a6b510b [2020-04-14T09:35:17.717Z] Successfully built ffc57a6b510b [2020-04-14T09:35:17.717Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [2020-04-14T09:35:17.858Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-14T09:35:17.859Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-14T09:35:17.859Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-14T09:35:17.859Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-14T09:35:17.859Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-14T09:35:17.859Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-14T09:35:17.859Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:35:18.117Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-14T09:35:18.118Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-14T09:35:18.118Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-14T09:35:18.118Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-14T09:35:18.118Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-14T09:35:18.118Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-14T09:35:18.118Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-14T09:35:18.377Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-14T09:35:18.377Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-14T09:35:18.377Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-14T09:35:18.377Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-14T09:35:18.377Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-14T09:35:18.377Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-14T09:35:18.432Z] + docker inspect -f . ci-base-image-arm64 [2020-04-14T09:35:18.432Z] . [2020-04-14T09:35:18.637Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-14T09:35:18.637Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-14T09:35:18.637Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-14T09:35:18.637Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-14T09:35:18.637Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-14T09:35:18.637Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-14T09:35:18.637Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-14T09:35:18.637Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [Pipeline] withDockerContainer [2020-04-14T09:35:18.895Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-14T09:35:18.895Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-14T09:35:18.895Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-14T09:35:18.895Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T09:35:18.895Z] go: finding github.com/posener/complete v1.1.1 [2020-04-14T09:35:18.895Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-14T09:35:18.895Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-14T09:35:18.895Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-14T09:35:19.049Z] prd-ubuntu18.04-docker-arm64-4c-16g-3805 does not seem to be running inside a container [2020-04-14T09:35:19.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-14T09:35:19.153Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-14T09:35:19.153Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-14T09:35:19.153Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-14T09:35:19.154Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-14T09:35:19.154Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-14T09:35:19.154Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-14T09:35:19.154Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-14T09:35:19.418Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-14T09:35:19.418Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-14T09:35:20.581Z] $ docker top afd59895b35a2734549e79e09a37c446c084d224016b1984acfb752c62bfb14a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T09:35:21.658Z] + go version [2020-04-14T09:35:21.658Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-14T09:35:22.324Z] + make test [2020-04-14T09:35:22.324Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-14T09:35:23.624Z] Removing intermediate container 9606887a7fe7 [2020-04-14T09:35:23.624Z] ---> ee548474b42e [2020-04-14T09:35:23.624Z] Successfully built ee548474b42e [2020-04-14T09:35:23.624Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-04-14T09:35:23.739Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:35:24.207Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-14T09:35:24.207Z] . [Pipeline] withDockerContainer [2020-04-14T09:35:24.335Z] prd-centos7-docker-4c-2g-3806 does not seem to be running inside a container [2020-04-14T09:35:24.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-14T09:35:24.969Z] $ docker top e93c29bcecd815c01a02055fce5369fb19cf505d031d755144b2c161d2209d77 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T09:35:25.452Z] + go version [2020-04-14T09:35:25.452Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-14T09:35:25.750Z] + make test [2020-04-14T09:35:25.751Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-14T09:35:26.318Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-14T09:35:36.365Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-14T09:35:36.365Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-14T09:35:36.945Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.024s coverage: 22.1% of statements [2020-04-14T09:35:41.260Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.056s coverage: 95.8% of statements [2020-04-14T09:35:50.508Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-14T09:35:50.508Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-14T09:35:51.957Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.031s coverage: 22.1% of statements [2020-04-14T09:35:54.560Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.153s coverage: 95.8% of statements [2020-04-14T09:36:13.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.084s coverage: 11.4% of statements [2020-04-14T09:36:13.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.1% of statements [2020-04-14T09:36:13.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-14T09:36:13.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.118s coverage: 38.5% of statements [2020-04-14T09:36:13.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-14T09:36:13.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-14T09:36:13.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.387s coverage: 79.8% of statements [2020-04-14T09:36:13.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-14T09:36:13.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-14T09:36:13.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-14T09:36:13.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements [2020-04-14T09:36:13.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-14T09:36:13.342Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 71.4% of statements [2020-04-14T09:36:13.342Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-14T09:36:13.342Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-14T09:36:13.342Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-14T09:36:13.342Z] gofmt -l . [2020-04-14T09:36:13.342Z] [ "`gofmt -l .`" = "" ] [2020-04-14T09:36:13.342Z] ./bin/test-attribution-txt.sh [2020-04-14T09:36:13.342Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-14T09:36:13.692Z] Stashed 1 file(s) [Pipeline] } [2020-04-14T09:36:13.701Z] $ docker stop --time=1 e93c29bcecd815c01a02055fce5369fb19cf505d031d755144b2c161d2209d77 [2020-04-14T09:36:15.158Z] $ docker rm -f e93c29bcecd815c01a02055fce5369fb19cf505d031d755144b2c161d2209d77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-14T09:36:16.458Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-14T09:36:16.748Z] + ls -al . [2020-04-14T09:36:16.748Z] total 160 [2020-04-14T09:36:16.749Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 14 09:36 . [2020-04-14T09:36:16.749Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 14 09:34 .. [2020-04-14T09:36:16.749Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 14 09:34 api [2020-04-14T09:36:16.749Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 09:34 bin [2020-04-14T09:36:16.749Z] -rw-r--r--. 1 jenkins jenkins 96404 Apr 14 09:36 coverage.out [2020-04-14T09:36:16.749Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 14 09:34 Dockerfile.build [2020-04-14T09:36:16.749Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 09:34 .dockerignore [2020-04-14T09:36:16.749Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 14 09:34 example [2020-04-14T09:36:16.749Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 14 09:34 .git [2020-04-14T09:36:16.749Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 14 09:34 .github [2020-04-14T09:36:16.749Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 09:34 .gitignore [2020-04-14T09:36:16.749Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 14 09:36 go.mod [2020-04-14T09:36:16.749Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 14 09:36 go.sum [2020-04-14T09:36:16.749Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 14 09:34 internal [2020-04-14T09:36:16.749Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 14 09:34 Jenkinsfile [2020-04-14T09:36:16.749Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 09:34 LICENSE [2020-04-14T09:36:16.749Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 14 09:34 Makefile [2020-04-14T09:36:16.749Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 09:34 pkg [2020-04-14T09:36:16.749Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 14 09:34 README.md [2020-04-14T09:36:16.749Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 14 09:34 .semver [2020-04-14T09:36:16.749Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 09:34 snap [2020-04-14T09:36:16.749Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 14 09:32 VERSION [2020-04-14T09:36:16.749Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 09:34 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:36:17.042Z] + 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=f00dd10d70c517fcbc158321f5bc713325a17dde --label arch=amd64 --label version=0.0.0 . [2020-04-14T09:36:17.043Z] Sending build context to Docker daemon 3.006MB [2020-04-14T09:36:17.043Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-14T09:36:17.043Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-14T09:36:17.043Z] ---> ee548474b42e [2020-04-14T09:36:17.043Z] Step 3/21 : ARG MAKE='make build' [2020-04-14T09:36:17.302Z] ---> Running in 55880a8eacb9 [2020-04-14T09:36:17.302Z] Removing intermediate container 55880a8eacb9 [2020-04-14T09:36:17.302Z] ---> 64bea53e3877 [2020-04-14T09:36:17.302Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-14T09:36:17.302Z] ---> Running in 67853c93450f [2020-04-14T09:36:17.561Z] Removing intermediate container 67853c93450f [2020-04-14T09:36:17.561Z] ---> 90011e5d048e [2020-04-14T09:36:17.561Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T09:36:17.561Z] ---> Running in b1d142a7b3d9 [2020-04-14T09:36:17.819Z] Removing intermediate container b1d142a7b3d9 [2020-04-14T09:36:17.819Z] ---> 5511feb7adf8 [2020-04-14T09:36:17.819Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T09:36:17.819Z] ---> Running in 9db9bfc6b8b7 [2020-04-14T09:36:18.388Z] Removing intermediate container 9db9bfc6b8b7 [2020-04-14T09:36:18.388Z] ---> 3bd3699684f8 [2020-04-14T09:36:18.388Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-14T09:36:18.388Z] ---> Running in 4712253070df [2020-04-14T09:36:18.955Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-14T09:36:19.522Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-14T09:36:19.780Z] OK: 143 MiB in 39 packages [2020-04-14T09:36:20.348Z] Removing intermediate container 4712253070df [2020-04-14T09:36:20.348Z] ---> 9a8a34960ca8 [2020-04-14T09:36:20.348Z] Step 8/21 : COPY . . [2020-04-14T09:36:20.606Z] ---> 725a78c2fac0 [2020-04-14T09:36:20.606Z] Step 9/21 : RUN ${MAKE} [2020-04-14T09:36:20.606Z] ---> Running in 32ea454152a2 [2020-04-14T09:36:20.868Z] 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-14T09:36:26.816Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.153s coverage: 11.4% of statements [2020-04-14T09:36:26.816Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.031s coverage: 22.1% of statements [2020-04-14T09:36:26.816Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-14T09:36:26.816Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.148s coverage: 38.5% of statements [2020-04-14T09:36:26.816Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-14T09:36:26.816Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-14T09:36:26.816Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.714s coverage: 79.8% of statements [2020-04-14T09:36:26.816Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-14T09:36:26.816Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-14T09:36:26.816Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-14T09:36:26.816Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements [2020-04-14T09:36:26.816Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-14T09:36:26.816Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.351s coverage: 71.4% of statements [2020-04-14T09:36:26.816Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-14T09:36:26.816Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-14T09:36:26.816Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-14T09:36:29.060Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-14T09:36:29.060Z] Removing intermediate container 32ea454152a2 [2020-04-14T09:36:29.060Z] ---> d74c5ab9cd54 [2020-04-14T09:36:29.060Z] Step 10/21 : FROM scratch [2020-04-14T09:36:29.060Z] ---> [2020-04-14T09:36:29.060Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T09:36:29.318Z] ---> Running in 4bca3355096a [2020-04-14T09:36:29.318Z] Removing intermediate container 4bca3355096a [2020-04-14T09:36:29.318Z] ---> e76585e6a8d6 [2020-04-14T09:36:29.318Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-14T09:36:29.318Z] ---> Running in 4851c629bb24 [2020-04-14T09:36:29.318Z] Removing intermediate container 4851c629bb24 [2020-04-14T09:36:29.318Z] ---> 5f8ad31f53cd [2020-04-14T09:36:29.318Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-14T09:36:29.580Z] ---> Running in 18da8a6f33dd [2020-04-14T09:36:29.580Z] Removing intermediate container 18da8a6f33dd [2020-04-14T09:36:29.580Z] ---> d76d86e9a086 [2020-04-14T09:36:29.580Z] Step 14/21 : WORKDIR / [2020-04-14T09:36:29.580Z] ---> Running in 91ac5a5e29af [2020-04-14T09:36:29.841Z] Removing intermediate container 91ac5a5e29af [2020-04-14T09:36:29.841Z] ---> 4f0fd5e46b7d [2020-04-14T09:36:29.841Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-14T09:36:30.102Z] ---> 262bcbe6d32a [2020-04-14T09:36:30.102Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-14T09:36:30.179Z] gofmt -l . [2020-04-14T09:36:30.361Z] ---> 0bbed1a0bf24 [2020-04-14T09:36:30.361Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-14T09:36:30.444Z] [ "`gofmt -l .`" = "" ] [2020-04-14T09:36:30.619Z] ---> 09a2e99779aa [2020-04-14T09:36:30.620Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-14T09:36:30.620Z] ---> Running in a77c0a7e9e29 [2020-04-14T09:36:30.620Z] Removing intermediate container a77c0a7e9e29 [2020-04-14T09:36:30.620Z] ---> 6523ab0d2bc3 [2020-04-14T09:36:30.620Z] Step 19/21 : LABEL arch=amd64 [2020-04-14T09:36:30.620Z] ---> Running in cd4a0b4a6827 [2020-04-14T09:36:30.711Z] ./bin/test-attribution-txt.sh [2020-04-14T09:36:30.878Z] Removing intermediate container cd4a0b4a6827 [2020-04-14T09:36:30.878Z] ---> 0eaec8432cd8 [2020-04-14T09:36:30.878Z] Step 20/21 : LABEL git_sha=f00dd10d70c517fcbc158321f5bc713325a17dde [2020-04-14T09:36:30.878Z] ---> Running in 29314bee02e4 [2020-04-14T09:36:31.137Z] Removing intermediate container 29314bee02e4 [2020-04-14T09:36:31.137Z] ---> d40f153f6519 [2020-04-14T09:36:31.137Z] Step 21/21 : LABEL version=0.0.0 [2020-04-14T09:36:31.137Z] ---> Running in eb93ff6133d2 [2020-04-14T09:36:31.395Z] Removing intermediate container eb93ff6133d2 [2020-04-14T09:36:31.395Z] ---> b6277f91f0e1 [2020-04-14T09:36:31.395Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-14T09:36:31.395Z] Successfully built b6277f91f0e1 [2020-04-14T09:36:31.395Z] 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] } [2020-04-14T09:36:31.681Z] ./bin/test-go-mod-tidy.sh [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] stash [2020-04-14T09:36:32.007Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] // stage [Pipeline] } [2020-04-14T09:36:32.467Z] Stashed 1 file(s) [Pipeline] } [2020-04-14T09:36:32.474Z] $ docker stop --time=1 afd59895b35a2734549e79e09a37c446c084d224016b1984acfb752c62bfb14a [2020-04-14T09:36:34.734Z] $ docker rm -f afd59895b35a2734549e79e09a37c446c084d224016b1984acfb752c62bfb14a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-14T09:36:36.032Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-14T09:36:36.372Z] + ls -al . [2020-04-14T09:36:36.372Z] total 200 [2020-04-14T09:36:36.372Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 14 09:36 . [2020-04-14T09:36:36.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 09:34 .. [2020-04-14T09:36:36.372Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 09:34 .dockerignore [2020-04-14T09:36:36.372Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 09:34 .git [2020-04-14T09:36:36.372Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 09:34 .github [2020-04-14T09:36:36.372Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 09:34 .gitignore [2020-04-14T09:36:36.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 09:34 .semver [2020-04-14T09:36:36.372Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 14 09:34 Dockerfile.build [2020-04-14T09:36:36.372Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 14 09:34 Jenkinsfile [2020-04-14T09:36:36.372Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 09:34 LICENSE [2020-04-14T09:36:36.372Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 14 09:34 Makefile [2020-04-14T09:36:36.372Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 14 09:34 README.md [2020-04-14T09:36:36.372Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 09:32 VERSION [2020-04-14T09:36:36.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 09:34 api [2020-04-14T09:36:36.372Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 09:34 bin [2020-04-14T09:36:36.372Z] -rw-r--r-- 1 jenkins jenkins 96404 Apr 14 09:36 coverage.out [2020-04-14T09:36:36.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 09:34 example [2020-04-14T09:36:36.372Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 14 09:36 go.mod [2020-04-14T09:36:36.372Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 14 09:36 go.sum [2020-04-14T09:36:36.372Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 09:34 internal [2020-04-14T09:36:36.372Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 09:34 pkg [2020-04-14T09:36:36.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 09:34 snap [2020-04-14T09:36:36.372Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 09:34 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:36:36.709Z] + 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=f00dd10d70c517fcbc158321f5bc713325a17dde --label arch=arm64 --label version=0.0.0 . [2020-04-14T09:36:37.296Z] Sending build context to Docker daemon 3.008MB [2020-04-14T09:36:37.296Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-14T09:36:37.296Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-14T09:36:37.296Z] ---> ffc57a6b510b [2020-04-14T09:36:37.296Z] Step 3/21 : ARG MAKE='make build' [2020-04-14T09:36:37.296Z] ---> Running in 6ac6c668cb44 [2020-04-14T09:36:37.885Z] Removing intermediate container 6ac6c668cb44 [2020-04-14T09:36:37.885Z] ---> 0e57721bf048 [2020-04-14T09:36:37.885Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-14T09:36:37.885Z] ---> Running in 2f2d3cf7a9ea [2020-04-14T09:36:38.491Z] Removing intermediate container 2f2d3cf7a9ea [2020-04-14T09:36:38.491Z] ---> b10322fcfb64 [2020-04-14T09:36:38.491Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T09:36:38.491Z] ---> Running in cdcf72f6900e [2020-04-14T09:36:38.761Z] Removing intermediate container cdcf72f6900e [2020-04-14T09:36:38.761Z] ---> 2117e2084aa2 [2020-04-14T09:36:38.761Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T09:36:38.761Z] ---> Running in 266abb818d4e [2020-04-14T09:36:40.712Z] Removing intermediate container 266abb818d4e [2020-04-14T09:36:40.712Z] ---> d0404a342baa [2020-04-14T09:36:40.712Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-14T09:36:40.712Z] ---> Running in f6fb23b10ee5 [2020-04-14T09:36:41.676Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-14T09:36:42.260Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-14T09:36:42.842Z] OK: 125 MiB in 39 packages [2020-04-14T09:36:43.819Z] Removing intermediate container f6fb23b10ee5 [2020-04-14T09:36:43.819Z] ---> a8eb59064ba0 [2020-04-14T09:36:43.819Z] Step 8/21 : COPY . . [2020-04-14T09:36:45.238Z] ---> 1e524ffca31b [2020-04-14T09:36:45.238Z] Step 9/21 : RUN ${MAKE} [2020-04-14T09:36:45.238Z] ---> Running in 724480fdd7aa [2020-04-14T09:36:45.827Z] 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-14T09:37:07.928Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-14T09:37:11.282Z] Removing intermediate container 724480fdd7aa [2020-04-14T09:37:11.282Z] ---> ca2d07effee9 [2020-04-14T09:37:11.282Z] Step 10/21 : FROM scratch [2020-04-14T09:37:11.282Z] ---> [2020-04-14T09:37:11.282Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T09:37:11.282Z] ---> Running in 86610020c566 [2020-04-14T09:37:11.282Z] Removing intermediate container 86610020c566 [2020-04-14T09:37:11.282Z] ---> 3aefe375bf2d [2020-04-14T09:37:11.282Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-14T09:37:11.282Z] ---> Running in 97f57f2b6a34 [2020-04-14T09:37:11.551Z] Removing intermediate container 97f57f2b6a34 [2020-04-14T09:37:11.551Z] ---> 6b2eadc4368f [2020-04-14T09:37:11.551Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-14T09:37:11.823Z] ---> Running in a279c04e8d9b [2020-04-14T09:37:12.097Z] Removing intermediate container a279c04e8d9b [2020-04-14T09:37:12.097Z] ---> 5cb1b1936c04 [2020-04-14T09:37:12.097Z] Step 14/21 : WORKDIR / [2020-04-14T09:37:12.097Z] ---> Running in 924632876c6f [2020-04-14T09:37:12.366Z] Removing intermediate container 924632876c6f [2020-04-14T09:37:12.366Z] ---> 2738c451c60b [2020-04-14T09:37:12.366Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-14T09:37:13.327Z] ---> 467213329918 [2020-04-14T09:37:13.327Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-14T09:37:13.913Z] ---> 58d0def7a968 [2020-04-14T09:37:13.913Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-14T09:37:14.498Z] ---> eb34c16a29f0 [2020-04-14T09:37:14.498Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-14T09:37:14.498Z] ---> Running in 712a0ec3f229 [2020-04-14T09:37:14.767Z] Removing intermediate container 712a0ec3f229 [2020-04-14T09:37:14.767Z] ---> 4dbbd114993c [2020-04-14T09:37:14.767Z] Step 19/21 : LABEL arch=arm64 [2020-04-14T09:37:15.034Z] ---> Running in 9eadb6f06828 [2020-04-14T09:37:15.303Z] Removing intermediate container 9eadb6f06828 [2020-04-14T09:37:15.303Z] ---> 254d41d10d00 [2020-04-14T09:37:15.303Z] Step 20/21 : LABEL git_sha=f00dd10d70c517fcbc158321f5bc713325a17dde [2020-04-14T09:37:15.572Z] ---> Running in 2b757dd70390 [2020-04-14T09:37:15.840Z] Removing intermediate container 2b757dd70390 [2020-04-14T09:37:15.840Z] ---> 18d3492ee214 [2020-04-14T09:37:15.840Z] Step 21/21 : LABEL version=0.0.0 [2020-04-14T09:37:15.840Z] ---> Running in e784657e095c [2020-04-14T09:37:16.427Z] Removing intermediate container e784657e095c [2020-04-14T09:37:16.427Z] ---> 6c556be914e6 [2020-04-14T09:37:16.427Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-14T09:37:16.427Z] Successfully built 6c556be914e6 [2020-04-14T09:37:16.427Z] 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] } [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-14T09:37:17.485Z] provisioning config files... [2020-04-14T09:37:17.499Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/config1533558632773636615tmp [Pipeline] { [Pipeline] sh [2020-04-14T09:37:17.922Z] + curl -s https://codecov.io/bash [2020-04-14T09:37:17.922Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/config1533558632773636615tmp [2020-04-14T09:37:18.181Z] [2020-04-14T09:37:18.181Z] _____ _ [2020-04-14T09:37:18.181Z] / ____| | | [2020-04-14T09:37:18.181Z] | | ___ __| | ___ ___ _____ __ [2020-04-14T09:37:18.181Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-14T09:37:18.181Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-14T09:37:18.181Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-14T09:37:18.181Z] Bash-20200410-0786dee [2020-04-14T09:37:18.181Z] [2020-04-14T09:37:18.181Z] [2020-04-14T09:37:18.181Z] ==> Jenkins CI detected. [2020-04-14T09:37:18.181Z] project root: . [2020-04-14T09:37:18.181Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-14T09:37:18.181Z] ==> Running gcov in . (disable via -X gcov) [2020-04-14T09:37:18.181Z] ==> Python coveragepy not found [2020-04-14T09:37:18.181Z] ==> Searching for coverage reports in: [2020-04-14T09:37:18.181Z] + . [2020-04-14T09:37:18.181Z] -> Found 1 reports [2020-04-14T09:37:18.181Z] ==> Detecting git/mercurial file structure [2020-04-14T09:37:18.181Z] ==> Reading reports [2020-04-14T09:37:18.181Z] + ./coverage.out bytes=96404 [2020-04-14T09:37:18.181Z] ==> Appending adjustments [2020-04-14T09:37:18.181Z] http://docs.codecov.io/docs/fixing-reports [2020-04-14T09:37:18.749Z] + Found adjustments [2020-04-14T09:37:18.749Z] ==> Gzipping contents [2020-04-14T09:37:18.749Z] ==> Uploading reports [2020-04-14T09:37:18.749Z] url: https://codecov.io [2020-04-14T09:37:18.749Z] query: branch=PR-483&commit=f00dd10d70c517fcbc158321f5bc713325a17dde&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-483%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=483&job= [2020-04-14T09:37:18.749Z] -> Pinging Codecov [2020-04-14T09:37:18.749Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-483&commit=f00dd10d70c517fcbc158321f5bc713325a17dde&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-483%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=483&job= [2020-04-14T09:37:19.008Z] -> Uploading [2020-04-14T09:37:19.576Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f00dd10d70c517fcbc158321f5bc713325a17dde [Pipeline] } [2020-04-14T09:37:19.582Z] 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-14T09:37:20.760Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T09:37:21.071Z] ---> package-listing.sh [2020-04-14T09:37:21.071Z] ++ facter osfamily [2020-04-14T09:37:21.071Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-14T09:37:21.071Z] + OS_FAMILY=redhat [2020-04-14T09:37:21.071Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-483 [2020-04-14T09:37:21.071Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-14T09:37:21.071Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-14T09:37:21.071Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-14T09:37:21.071Z] + PACKAGES=/tmp/packages_start.txt [2020-04-14T09:37:21.071Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-483 ']' [2020-04-14T09:37:21.071Z] + PACKAGES=/tmp/packages_end.txt [2020-04-14T09:37:21.071Z] + case "${OS_FAMILY}" in [2020-04-14T09:37:21.071Z] + rpm -qa [2020-04-14T09:37:21.071Z] + sort [2020-04-14T09:37:25.270Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-14T09:37:25.270Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-14T09:37:25.270Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-14T09:37:25.270Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-483 ']' [2020-04-14T09:37:25.270Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-483/archives/ [2020-04-14T09:37:25.271Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-483/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:37:25.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T09:37:25.756Z] [2020-04-14T09:37:25.756Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-14T09:37:26.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T09:37:26.117Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-14T09:37:26.117Z] c9b1b535fdd9: Pulling fs layer [2020-04-14T09:37:26.117Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-14T09:37:26.117Z] 756a868c4378: Pulling fs layer [2020-04-14T09:37:26.117Z] 444b2fc9a129: Pulling fs layer [2020-04-14T09:37:26.117Z] ea15f1150254: Pulling fs layer [2020-04-14T09:37:26.117Z] 41b27a9f41bf: Pulling fs layer [2020-04-14T09:37:26.117Z] 28c525ee5125: Pulling fs layer [2020-04-14T09:37:26.117Z] 094b1ea09ed8: Pulling fs layer [2020-04-14T09:37:26.117Z] 138eaada9080: Pulling fs layer [2020-04-14T09:37:26.117Z] 0622d0fa9048: Pulling fs layer [2020-04-14T09:37:26.117Z] 41b27a9f41bf: Waiting [2020-04-14T09:37:26.117Z] 28c525ee5125: Waiting [2020-04-14T09:37:26.117Z] 094b1ea09ed8: Waiting [2020-04-14T09:37:26.117Z] 138eaada9080: Waiting [2020-04-14T09:37:26.117Z] 0622d0fa9048: Waiting [2020-04-14T09:37:26.117Z] 444b2fc9a129: Waiting [2020-04-14T09:37:26.117Z] ea15f1150254: Waiting [2020-04-14T09:37:26.117Z] 2cc5ad85d9ab: Download complete [2020-04-14T09:37:26.117Z] 444b2fc9a129: Verifying Checksum [2020-04-14T09:37:26.117Z] 444b2fc9a129: Download complete [2020-04-14T09:37:26.117Z] c9b1b535fdd9: Verifying Checksum [2020-04-14T09:37:26.390Z] ea15f1150254: Verifying Checksum [2020-04-14T09:37:26.390Z] ea15f1150254: Download complete [2020-04-14T09:37:26.390Z] 28c525ee5125: Verifying Checksum [2020-04-14T09:37:26.390Z] 28c525ee5125: Download complete [2020-04-14T09:37:26.664Z] 756a868c4378: Verifying Checksum [2020-04-14T09:37:26.664Z] 756a868c4378: Download complete [2020-04-14T09:37:26.664Z] c9b1b535fdd9: Pull complete [2020-04-14T09:37:26.664Z] 138eaada9080: Verifying Checksum [2020-04-14T09:37:26.664Z] 138eaada9080: Download complete [2020-04-14T09:37:26.664Z] 0622d0fa9048: Verifying Checksum [2020-04-14T09:37:26.664Z] 0622d0fa9048: Download complete [2020-04-14T09:37:26.932Z] 094b1ea09ed8: Verifying Checksum [2020-04-14T09:37:26.932Z] 094b1ea09ed8: Download complete [2020-04-14T09:37:26.932Z] 2cc5ad85d9ab: Pull complete [2020-04-14T09:37:27.522Z] 41b27a9f41bf: Verifying Checksum [2020-04-14T09:37:27.522Z] 41b27a9f41bf: Download complete [2020-04-14T09:37:28.466Z] 756a868c4378: Pull complete [2020-04-14T09:37:28.466Z] 444b2fc9a129: Pull complete [2020-04-14T09:37:28.727Z] ea15f1150254: Pull complete [2020-04-14T09:37:32.034Z] 41b27a9f41bf: Pull complete [2020-04-14T09:37:32.035Z] 28c525ee5125: Pull complete [2020-04-14T09:37:34.585Z] 094b1ea09ed8: Pull complete [2020-04-14T09:37:34.585Z] 138eaada9080: Pull complete [2020-04-14T09:37:34.845Z] 0622d0fa9048: Pull complete [2020-04-14T09:37:34.845Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-14T09:37:34.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-14T09:37:35.039Z] prd-centos7-docker-4c-2g-3804 does not seem to be running inside a container [2020-04-14T09:37:35.089Z] $ 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-483 -v /w/workspace/dgexfoundry_device-sdk-go_PR-483:/w/workspace/dgexfoundry_device-sdk-go_PR-483:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-14T09:37:36.173Z] $ docker top aeeb8fff8ae0c70cc62204dbfa06d60bfd52ae83cc38065ba8e60a5fae76ff9b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-14T09:37:36.393Z] provisioning config files... [2020-04-14T09:37:36.409Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/config4733689065228476790tmp [Pipeline] { [Pipeline] echo [2020-04-14T09:37:36.461Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T09:37:36.759Z] ---> create-netrc.sh [Pipeline] echo [2020-04-14T09:37:36.767Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T09:37:37.064Z] ---> logs-deploy.sh [2020-04-14T09:37:37.064Z] + ARCHIVE_ARTIFACTS= [2020-04-14T09:37:37.064Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-14T09:37:37.064Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-14T09:37:37.064Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-14T09:37:37.064Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-483/2 [2020-04-14T09:37:37.064Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-483/2/ [2020-04-14T09:37:37.064Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-483/2 /w/workspace/dgexfoundry_device-sdk-go_PR-483 [2020-04-14T09:37:38.446Z] Archives upload complete. [2020-04-14T09:37:38.446Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-483/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-483/2/