Pull request #483 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d4763dc5817b91cc15f2657f9c693df2f3ac1123+cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 (0f78452f9d62be814654646db0349c61c617de40) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-483/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 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 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3799 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 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 Fetching without tags > 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 d4763dc5817b91cc15f2657f9c693df2f3ac1123 > git config core.sparsecheckout # timeout=10 > git checkout -f d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing d4763dc5817b91cc15f2657f9c693df2f3ac1123 Checking out Revision d4763dc5817b91cc15f2657f9c693df2f3ac1123 (PR-483) > git merge cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 Commit message: "call updateDevice after updating device profile" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-14T08:42:49.519Z] 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-14T08:42:52.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T08:42:52.803Z] [2020-04-14T08:42:52.803Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-14T08:42:53.327Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T08:42:53.617Z] latest: Pulling from edgex-devops/git-semver [2020-04-14T08:42:53.617Z] 9123ac7c32f7: Pulling fs layer [2020-04-14T08:42:53.617Z] b8cc5d1170e3: Pulling fs layer [2020-04-14T08:42:53.617Z] 2924cbbf6a41: Pulling fs layer [2020-04-14T08:42:53.617Z] 93b08a4f1073: Pulling fs layer [2020-04-14T08:42:53.617Z] 93b08a4f1073: Waiting [2020-04-14T08:42:53.617Z] b8cc5d1170e3: Verifying Checksum [2020-04-14T08:42:53.617Z] b8cc5d1170e3: Download complete [2020-04-14T08:42:53.896Z] 9123ac7c32f7: Verifying Checksum [2020-04-14T08:42:53.896Z] 9123ac7c32f7: Download complete [2020-04-14T08:42:53.896Z] 93b08a4f1073: Verifying Checksum [2020-04-14T08:42:53.896Z] 93b08a4f1073: Download complete [2020-04-14T08:42:54.169Z] 2924cbbf6a41: Verifying Checksum [2020-04-14T08:42:54.169Z] 2924cbbf6a41: Download complete [2020-04-14T08:42:54.493Z] 9123ac7c32f7: Pull complete [2020-04-14T08:42:54.493Z] b8cc5d1170e3: Pull complete [2020-04-14T08:42:56.027Z] 2924cbbf6a41: Pull complete [2020-04-14T08:42:56.713Z] 93b08a4f1073: Pull complete [2020-04-14T08:42:56.713Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-14T08:42:56.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-14T08:42:57.231Z] prd-centos7-docker-4c-2g-3799 does not seem to be running inside a container [2020-04-14T08:42:57.380Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-14T08:42:58.619Z] $ docker top 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-14T08:42:59.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T08:42:59.001Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T08:42:59.745Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T08:42:59.749Z] $ docker exec 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 ssh-agent [2020-04-14T08:43:00.469Z] SSH_AUTH_SOCK=/tmp/ssh-6SGRh0spS2BE/agent.13 [2020-04-14T08:43:00.469Z] SSH_AGENT_PID=20 [2020-04-14T08:43:00.484Z] Running ssh-add (command line suppressed) [2020-04-14T08:43:00.978Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_1800566872328518280.key (/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_1800566872328518280.key) [2020-04-14T08:43:01.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T08:43:01.864Z] + git describe --exact-match --tags HEAD [2020-04-14T08:43:01.864Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-14T08:43:02.107Z] $ docker exec --env ******** --env ******** 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 ssh-agent -k [2020-04-14T08:43:02.571Z] unset SSH_AUTH_SOCK; [2020-04-14T08:43:02.571Z] unset SSH_AGENT_PID; [2020-04-14T08:43:02.571Z] echo Agent pid 20 killed; [2020-04-14T08:43:02.670Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-14T08:43:02.827Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-14T08:43:02.828Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-14T08:43:02.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T08:43:02.912Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T08:43:04.050Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T08:43:04.055Z] $ docker exec 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 ssh-agent [2020-04-14T08:43:04.742Z] SSH_AUTH_SOCK=/tmp/ssh-EtFkGZEsz07j/agent.55 [2020-04-14T08:43:04.742Z] SSH_AGENT_PID=61 [2020-04-14T08:43:04.764Z] Running ssh-add (command line suppressed) [2020-04-14T08:43:05.022Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_2980113199676118597.key (/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_2980113199676118597.key) [2020-04-14T08:43:05.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T08:43:05.842Z] + git semver init [2020-04-14T08:43:05.842Z] # -> Open(): unable to determine branch for HEAD [2020-04-14T08:43:05.842Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-483/.git [2020-04-14T08:43:05.842Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-483 [2020-04-14T08:43:05.842Z] # $SEMVER_REMOTE_NAME = origin [2020-04-14T08:43:05.842Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-14T08:43:05.842Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-14T08:43:05.842Z] # $SEMVER_BRANCH = PR-483 [2020-04-14T08:43:05.842Z] # $SEMVER_TEMP = /tmp/semver-992008222 [2020-04-14T08:43:05.842Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-14T08:43:06.462Z] # '/tmp/semver-992008222' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-483/.semver' [2020-04-14T08:43:06.462Z] # -> Force: false [2020-04-14T08:43:06.490Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-483/.semver [Pipeline] } [2020-04-14T08:43:06.552Z] $ docker exec --env ******** --env ******** 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 ssh-agent -k [2020-04-14T08:43:06.847Z] unset SSH_AUTH_SOCK; [2020-04-14T08:43:06.849Z] unset SSH_AGENT_PID; [2020-04-14T08:43:06.849Z] echo Agent pid 61 killed; [2020-04-14T08:43:06.940Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-14T08:43:07.828Z] + git semver [Pipeline] } [2020-04-14T08:43:07.854Z] $ docker stop --time=1 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 [2020-04-14T08:43:09.768Z] $ docker rm -f 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-14T08:43:11.600Z] Stashed 42 file(s) [Pipeline] echo [2020-04-14T08:43:11.616Z] [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-14T08:43:27.041Z] Still waiting to schedule task [2020-04-14T08:43:27.041Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-14T08:43:27.061Z] Still waiting to schedule task [2020-04-14T08:43:27.061Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-14T08:46:07.136Z] Running on prd-centos7-docker-4c-2g-3800 in /w/workspace/dgexfoundry_device-sdk-go_PR-483 [Pipeline] { [Pipeline] ws [2020-04-14T08:46:07.199Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-14T08:46:09.531Z] using credential edgex-jenkins-ssh [2020-04-14T08:46:09.579Z] Cloning the remote Git repository [2020-04-14T08:46:09.579Z] Cloning with configured refspecs honoured and without tags [2020-04-14T08:46:09.185Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T08:46:09.221Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-14T08:46:09.268Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T08:46:09.268Z] > git --version # timeout=10 [2020-04-14T08:46:09.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T08:46:10.319Z] Fetching without tags [2020-04-14T08:46:10.709Z] Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit d4763dc5817b91cc15f2657f9c693df2f3ac1123 [2020-04-14T08:46:09.302Z] > 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-14T08:46:09.866Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T08:46:09.872Z] > git config --add remote.origin.fetch +refs/pull/483/head:refs/remotes/origin/PR-483 # timeout=10 [2020-04-14T08:46:09.882Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T08:46:09.892Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T08:46:09.902Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T08:46:09.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T08:46:09.907Z] > 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-14T08:46:10.327Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T08:46:10.334Z] > git checkout -f d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 [2020-04-14T08:46:10.384Z] > git remote # timeout=10 [2020-04-14T08:46:10.389Z] > git config --get remote.origin.url # timeout=10 [2020-04-14T08:46:10.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T08:46:10.400Z] > git merge cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 [2020-04-14T08:46:10.800Z] Merge succeeded, producing d4763dc5817b91cc15f2657f9c693df2f3ac1123 [2020-04-14T08:46:10.801Z] Checking out Revision d4763dc5817b91cc15f2657f9c693df2f3ac1123 (PR-483) [2020-04-14T08:46:10.410Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-14T08:46:10.420Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T08:46:10.427Z] > git checkout -f d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 [2020-04-14T08:46:14.458Z] Commit message: "call updateDevice after updating device profile" [2020-04-14T08:46:14.423Z] > git --version # timeout=10 [2020-04-14T08:46:14.434Z] fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-14T08:46:15.618Z] ========================================================= [2020-04-14T08:46:15.618Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-14T08:46:15.618Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T08:46:16.348Z] + 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-14T08:46:16.617Z] Sending build context to Docker daemon 2.888MB [2020-04-14T08:46:16.617Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-14T08:46:16.617Z] Step 2/8 : FROM ${BASE} [2020-04-14T08:46:16.617Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-14T08:46:16.617Z] e6b0cf9c0882: Pulling fs layer [2020-04-14T08:46:16.617Z] 2848faf0eed1: Pulling fs layer [2020-04-14T08:46:16.617Z] 0f37312ad70f: Pulling fs layer [2020-04-14T08:46:16.617Z] 5788d62ee057: Pulling fs layer [2020-04-14T08:46:16.617Z] 0e6b1d234666: Pulling fs layer [2020-04-14T08:46:16.617Z] bf5d7aec512f: Pulling fs layer [2020-04-14T08:46:16.617Z] 34c802a77dc8: Pulling fs layer [2020-04-14T08:46:16.617Z] 9eb99e56ec68: Pulling fs layer [2020-04-14T08:46:16.617Z] 27c7a5d97fbd: Pulling fs layer [2020-04-14T08:46:16.617Z] 5c102a31e300: Pulling fs layer [2020-04-14T08:46:16.617Z] dcfb455df0a1: Pulling fs layer [2020-04-14T08:46:16.617Z] 34c802a77dc8: Waiting [2020-04-14T08:46:16.617Z] 9eb99e56ec68: Waiting [2020-04-14T08:46:16.617Z] 27c7a5d97fbd: Waiting [2020-04-14T08:46:16.617Z] 5c102a31e300: Waiting [2020-04-14T08:46:16.617Z] dcfb455df0a1: Waiting [2020-04-14T08:46:16.617Z] 5788d62ee057: Waiting [2020-04-14T08:46:16.617Z] 0e6b1d234666: Waiting [2020-04-14T08:46:16.617Z] bf5d7aec512f: Waiting [2020-04-14T08:46:16.617Z] 0f37312ad70f: Verifying Checksum [2020-04-14T08:46:16.617Z] 0f37312ad70f: Download complete [2020-04-14T08:46:16.617Z] 2848faf0eed1: Download complete [2020-04-14T08:46:16.617Z] 0e6b1d234666: Verifying Checksum [2020-04-14T08:46:16.617Z] 0e6b1d234666: Download complete [2020-04-14T08:46:16.617Z] bf5d7aec512f: Verifying Checksum [2020-04-14T08:46:16.617Z] bf5d7aec512f: Download complete [2020-04-14T08:46:16.617Z] e6b0cf9c0882: Verifying Checksum [2020-04-14T08:46:16.617Z] e6b0cf9c0882: Download complete [2020-04-14T08:46:16.887Z] e6b0cf9c0882: Pull complete [2020-04-14T08:46:17.147Z] 2848faf0eed1: Pull complete [2020-04-14T08:46:17.724Z] 34c802a77dc8: Verifying Checksum [2020-04-14T08:46:17.724Z] 34c802a77dc8: Download complete [2020-04-14T08:46:17.724Z] 27c7a5d97fbd: Verifying Checksum [2020-04-14T08:46:17.724Z] 27c7a5d97fbd: Download complete [2020-04-14T08:46:18.312Z] 5c102a31e300: Verifying Checksum [2020-04-14T08:46:18.312Z] 5c102a31e300: Download complete [2020-04-14T08:46:18.312Z] 5788d62ee057: Verifying Checksum [2020-04-14T08:46:18.312Z] 5788d62ee057: Download complete [2020-04-14T08:46:18.312Z] 9eb99e56ec68: Verifying Checksum [2020-04-14T08:46:18.312Z] 9eb99e56ec68: Download complete [2020-04-14T08:46:18.312Z] dcfb455df0a1: Verifying Checksum [2020-04-14T08:46:18.312Z] dcfb455df0a1: Download complete [2020-04-14T08:46:19.260Z] 0f37312ad70f: Pull complete [2020-04-14T08:46:25.829Z] 5788d62ee057: Pull complete [2020-04-14T08:46:25.829Z] 0e6b1d234666: Pull complete [2020-04-14T08:46:25.829Z] bf5d7aec512f: Pull complete [2020-04-14T08:46:30.023Z] 34c802a77dc8: Pull complete [2020-04-14T08:46:33.320Z] 9eb99e56ec68: Pull complete [2020-04-14T08:46:33.320Z] 27c7a5d97fbd: Pull complete [2020-04-14T08:46:33.895Z] 5c102a31e300: Pull complete [2020-04-14T08:46:33.895Z] dcfb455df0a1: Pull complete [2020-04-14T08:46:33.895Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-14T08:46:33.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-14T08:46:34.155Z] ---> 7c70fe431013 [2020-04-14T08:46:34.155Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T08:46:34.155Z] ---> Running in b7c15f74c9d9 [2020-04-14T08:46:34.417Z] Removing intermediate container b7c15f74c9d9 [2020-04-14T08:46:34.417Z] ---> 381a811723db [2020-04-14T08:46:34.417Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T08:46:34.417Z] ---> Running in 42e5b44b6a25 [2020-04-14T08:46:35.357Z] Removing intermediate container 42e5b44b6a25 [2020-04-14T08:46:35.357Z] ---> 9740a9cd999b [2020-04-14T08:46:35.357Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-14T08:46:35.357Z] ---> Running in c7c5cd738bf3 [2020-04-14T08:46:36.296Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-14T08:46:36.863Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-14T08:46:37.122Z] OK: 143 MiB in 39 packages [2020-04-14T08:46:37.689Z] Removing intermediate container c7c5cd738bf3 [2020-04-14T08:46:37.689Z] ---> 7900066b0857 [2020-04-14T08:46:37.689Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-14T08:46:37.689Z] ---> Running in 8bb2874235f7 [2020-04-14T08:46:37.689Z] Removing intermediate container 8bb2874235f7 [2020-04-14T08:46:37.689Z] ---> b829bb2ad4ee [2020-04-14T08:46:37.689Z] Step 7/8 : COPY . . [2020-04-14T08:46:38.258Z] ---> 80e92f1b8787 [2020-04-14T08:46:38.258Z] Step 8/8 : RUN go mod download [2020-04-14T08:46:38.258Z] ---> Running in 8bb2f1bfdfe4 [2020-04-14T08:46:40.167Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-14T08:46:40.167Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-14T08:46:40.167Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-14T08:46:40.427Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-14T08:46:40.427Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-14T08:46:40.427Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-14T08:46:40.427Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-14T08:46:40.427Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-14T08:46:40.427Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-14T08:46:40.427Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-14T08:46:40.686Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-14T08:46:40.686Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-14T08:46:40.686Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-14T08:46:40.686Z] go: finding github.com/fatih/color v1.7.0 [2020-04-14T08:46:40.686Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-14T08:46:40.686Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-14T08:46:40.686Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-14T08:46:40.947Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-14T08:46:40.947Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-14T08:46:40.947Z] go: finding github.com/google/uuid v1.1.0 [2020-04-14T08:46:40.947Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-14T08:46:40.947Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-14T08:46:40.947Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-14T08:46:40.947Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-14T08:46:41.207Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-14T08:46:41.207Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-14T08:46:41.207Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-14T08:46:41.207Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-14T08:46:41.207Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-14T08:46:41.207Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-14T08:46:41.207Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-14T08:46:41.467Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-14T08:46:41.467Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-14T08:46:41.467Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-14T08:46:41.467Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-14T08:46:41.467Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-14T08:46:41.467Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-14T08:46:41.467Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-14T08:46:41.748Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-14T08:46:41.748Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-14T08:46:41.748Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-14T08:46:41.748Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-14T08:46:41.748Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-14T08:46:41.748Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-14T08:46:41.748Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-14T08:46:42.016Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-14T08:46:42.016Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-14T08:46:42.016Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-14T08:46:42.016Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-14T08:46:42.016Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-14T08:46:42.016Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-14T08:46:42.016Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-14T08:46:42.276Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-14T08:46:42.276Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-14T08:46:42.276Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T08:46:42.276Z] go: finding github.com/posener/complete v1.1.1 [2020-04-14T08:46:42.276Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-14T08:46:42.276Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-14T08:46:42.276Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-14T08:46:42.538Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-14T08:46:42.538Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-14T08:46:42.538Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-14T08:46:42.538Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-14T08:46:42.538Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-14T08:46:42.538Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-14T08:46:42.538Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-14T08:46:42.797Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-14T08:46:42.797Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-14T08:46:46.996Z] Removing intermediate container 8bb2f1bfdfe4 [2020-04-14T08:46:46.996Z] ---> 05f56bdd779a [2020-04-14T08:46:46.996Z] Successfully built 05f56bdd779a [2020-04-14T08:46:46.996Z] 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-14T08:46:47.725Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-14T08:46:47.726Z] . [Pipeline] withDockerContainer [2020-04-14T08:46:47.855Z] prd-centos7-docker-4c-2g-3800 does not seem to be running inside a container [2020-04-14T08:46:47.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-14T08:46:48.392Z] $ docker top 2bd680bd221a591139be904a3b0b299359ba1281983a36926c9219880777a5ef -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T08:46:48.904Z] + go version [2020-04-14T08:46:48.904Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-14T08:46:49.218Z] + make test [2020-04-14T08:46:49.218Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-14T08:46:50.163Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-14T08:47:00.193Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-14T08:47:00.193Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-14T08:47:00.193Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 22.1% of statements [2020-04-14T08:47:03.487Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.052s coverage: 95.8% of statements [2020-04-14T08:47:15.463Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3801 in /w/workspace/dgexfoundry_device-sdk-go_PR-483 [Pipeline] { [Pipeline] ws [2020-04-14T08:47:15.524Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-14T08:47:21.960Z] using credential edgex-jenkins-ssh [2020-04-14T08:47:22.006Z] Cloning the remote Git repository [2020-04-14T08:47:22.006Z] Cloning with configured refspecs honoured and without tags [2020-04-14T08:47:22.068Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T08:47:22.153Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-14T08:47:22.234Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T08:47:22.235Z] > git --version # timeout=10 [2020-04-14T08:47:22.261Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T08:47:22.313Z] > 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-14T08:47:23.283Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T08:47:23.311Z] > git config --add remote.origin.fetch +refs/pull/483/head:refs/remotes/origin/PR-483 # timeout=10 [2020-04-14T08:47:23.433Z] Fetching without tags [2020-04-14T08:47:23.941Z] Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit d4763dc5817b91cc15f2657f9c693df2f3ac1123 [2020-04-14T08:47:24.362Z] Merge succeeded, producing d4763dc5817b91cc15f2657f9c693df2f3ac1123 [2020-04-14T08:47:24.362Z] Checking out Revision d4763dc5817b91cc15f2657f9c693df2f3ac1123 (PR-483) [2020-04-14T08:47:23.344Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T08:47:23.390Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-14T08:47:23.443Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-14T08:47:23.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T08:47:23.462Z] > 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-14T08:47:23.960Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T08:47:24.003Z] > git checkout -f d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 [2020-04-14T08:47:24.128Z] > git remote # timeout=10 [2020-04-14T08:47:24.148Z] > git config --get remote.origin.url # timeout=10 [2020-04-14T08:47:24.170Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T08:47:24.183Z] > git merge cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 [2020-04-14T08:47:24.313Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-14T08:47:24.369Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T08:47:24.390Z] > git checkout -f d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 [2020-04-14T08:47:28.919Z] Commit message: "call updateDevice after updating device profile" [2020-04-14T08:47:28.981Z] > git --version # timeout=10 [2020-04-14T08:47:29.006Z] fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-14T08:47:30.455Z] ========================================================= [2020-04-14T08:47:30.455Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-14T08:47:30.455Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T08:47:31.526Z] + 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-14T08:47:32.496Z] Sending build context to Docker daemon 2.888MB [2020-04-14T08:47:32.496Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-14T08:47:32.496Z] Step 2/8 : FROM ${BASE} [2020-04-14T08:47:32.765Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-14T08:47:32.765Z] cde5963f3b93: Pulling fs layer [2020-04-14T08:47:32.765Z] 2a23fa8c16f7: Pulling fs layer [2020-04-14T08:47:32.765Z] 777b28850792: Pulling fs layer [2020-04-14T08:47:32.765Z] 8a11ddd9e578: Pulling fs layer [2020-04-14T08:47:32.765Z] 4cf88f913ddb: Pulling fs layer [2020-04-14T08:47:32.765Z] 1df406cf5192: Pulling fs layer [2020-04-14T08:47:32.765Z] cd6300453558: Pulling fs layer [2020-04-14T08:47:32.765Z] b9c365052c96: Pulling fs layer [2020-04-14T08:47:32.765Z] a2d8cc88f415: Pulling fs layer [2020-04-14T08:47:32.765Z] ea1d1ca13537: Pulling fs layer [2020-04-14T08:47:32.765Z] 3750a50a1c5e: Pulling fs layer [2020-04-14T08:47:32.765Z] 4cf88f913ddb: Waiting [2020-04-14T08:47:32.765Z] 1df406cf5192: Waiting [2020-04-14T08:47:32.765Z] cd6300453558: Waiting [2020-04-14T08:47:32.765Z] b9c365052c96: Waiting [2020-04-14T08:47:32.765Z] a2d8cc88f415: Waiting [2020-04-14T08:47:32.765Z] ea1d1ca13537: Waiting [2020-04-14T08:47:32.765Z] 8a11ddd9e578: Waiting [2020-04-14T08:47:32.765Z] 3750a50a1c5e: Waiting [2020-04-14T08:47:32.765Z] 777b28850792: Verifying Checksum [2020-04-14T08:47:32.765Z] 777b28850792: Download complete [2020-04-14T08:47:32.765Z] 2a23fa8c16f7: Verifying Checksum [2020-04-14T08:47:32.765Z] 2a23fa8c16f7: Download complete [2020-04-14T08:47:32.765Z] 4cf88f913ddb: Download complete [2020-04-14T08:47:32.765Z] 1df406cf5192: Verifying Checksum [2020-04-14T08:47:32.765Z] 1df406cf5192: Download complete [2020-04-14T08:47:33.036Z] cde5963f3b93: Verifying Checksum [2020-04-14T08:47:33.036Z] cde5963f3b93: Download complete [2020-04-14T08:47:33.625Z] cde5963f3b93: Pull complete [2020-04-14T08:47:34.227Z] 2a23fa8c16f7: Pull complete [2020-04-14T08:47:34.819Z] 777b28850792: Pull complete [2020-04-14T08:47:35.575Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.016s coverage: 11.4% of statements [2020-04-14T08:47:35.575Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 22.1% of statements [2020-04-14T08:47:35.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-14T08:47:35.575Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.074s coverage: 38.5% of statements [2020-04-14T08:47:35.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-14T08:47:35.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-14T08:47:35.575Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 79.8% of statements [2020-04-14T08:47:35.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-14T08:47:35.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-14T08:47:35.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-14T08:47:35.575Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements [2020-04-14T08:47:35.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-14T08:47:35.575Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.104s coverage: 71.4% of statements [2020-04-14T08:47:35.575Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-14T08:47:35.575Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-14T08:47:35.575Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-14T08:47:35.575Z] gofmt -l . [2020-04-14T08:47:35.575Z] [ "`gofmt -l .`" = "" ] [2020-04-14T08:47:35.575Z] ./bin/test-attribution-txt.sh [2020-04-14T08:47:35.575Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-14T08:47:35.939Z] Stashed 1 file(s) [Pipeline] } [2020-04-14T08:47:35.952Z] $ docker stop --time=1 2bd680bd221a591139be904a3b0b299359ba1281983a36926c9219880777a5ef [2020-04-14T08:47:37.416Z] cd6300453558: Verifying Checksum [2020-04-14T08:47:37.416Z] cd6300453558: Download complete [2020-04-14T08:47:37.416Z] a2d8cc88f415: Verifying Checksum [2020-04-14T08:47:37.416Z] a2d8cc88f415: Download complete [2020-04-14T08:47:37.427Z] $ docker rm -f 2bd680bd221a591139be904a3b0b299359ba1281983a36926c9219880777a5ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-14T08:47:38.886Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-14T08:47:39.203Z] + ls -al . [2020-04-14T08:47:39.203Z] total 160 [2020-04-14T08:47:39.203Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 14 08:47 . [2020-04-14T08:47:39.203Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 14 08:46 .. [2020-04-14T08:47:39.203Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 14 08:46 api [2020-04-14T08:47:39.203Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 08:46 bin [2020-04-14T08:47:39.203Z] -rw-r--r--. 1 jenkins jenkins 96404 Apr 14 08:47 coverage.out [2020-04-14T08:47:39.203Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 14 08:46 Dockerfile.build [2020-04-14T08:47:39.203Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 08:46 .dockerignore [2020-04-14T08:47:39.203Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 14 08:46 example [2020-04-14T08:47:39.203Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 14 08:46 .git [2020-04-14T08:47:39.203Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 14 08:46 .github [2020-04-14T08:47:39.203Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 08:46 .gitignore [2020-04-14T08:47:39.203Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 14 08:47 go.mod [2020-04-14T08:47:39.203Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 14 08:47 go.sum [2020-04-14T08:47:39.203Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 14 08:46 internal [2020-04-14T08:47:39.203Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 14 08:46 Jenkinsfile [2020-04-14T08:47:39.203Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 08:46 LICENSE [2020-04-14T08:47:39.203Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 14 08:46 Makefile [2020-04-14T08:47:39.203Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 08:46 pkg [2020-04-14T08:47:39.203Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 14 08:46 README.md [2020-04-14T08:47:39.203Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 14 08:46 .semver [2020-04-14T08:47:39.203Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 08:46 snap [2020-04-14T08:47:39.203Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 14 08:43 VERSION [2020-04-14T08:47:39.203Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 08:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-14T08:47:39.532Z] + 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=d4763dc5817b91cc15f2657f9c693df2f3ac1123 --label arch=amd64 --label version=0.0.0 . [2020-04-14T08:47:39.793Z] Sending build context to Docker daemon 3.006MB [2020-04-14T08:47:39.793Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-14T08:47:39.793Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-14T08:47:39.793Z] ---> 05f56bdd779a [2020-04-14T08:47:39.793Z] Step 3/21 : ARG MAKE='make build' [2020-04-14T08:47:39.793Z] ---> Running in aedad76eba44 [2020-04-14T08:47:39.793Z] Removing intermediate container aedad76eba44 [2020-04-14T08:47:39.793Z] ---> 8a4e3a8df680 [2020-04-14T08:47:39.793Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-14T08:47:40.024Z] ea1d1ca13537: Verifying Checksum [2020-04-14T08:47:40.024Z] ea1d1ca13537: Download complete [2020-04-14T08:47:40.024Z] 3750a50a1c5e: Download complete [2020-04-14T08:47:40.054Z] ---> Running in 2988fefd7b6a [2020-04-14T08:47:40.054Z] Removing intermediate container 2988fefd7b6a [2020-04-14T08:47:40.054Z] ---> a42b8275dc4f [2020-04-14T08:47:40.054Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T08:47:40.054Z] ---> Running in 72e27f0c5c31 [2020-04-14T08:47:40.315Z] Removing intermediate container 72e27f0c5c31 [2020-04-14T08:47:40.315Z] ---> aa42be36dea0 [2020-04-14T08:47:40.315Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T08:47:40.315Z] ---> Running in 21ef60cd6706 [2020-04-14T08:47:40.886Z] Removing intermediate container 21ef60cd6706 [2020-04-14T08:47:40.886Z] ---> d540ba875b1d [2020-04-14T08:47:40.886Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-14T08:47:41.146Z] ---> Running in fb6338a9c614 [2020-04-14T08:47:41.404Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-14T08:47:42.340Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-14T08:47:42.599Z] OK: 143 MiB in 39 packages [2020-04-14T08:47:42.618Z] b9c365052c96: Verifying Checksum [2020-04-14T08:47:42.618Z] b9c365052c96: Download complete [2020-04-14T08:47:42.862Z] Removing intermediate container fb6338a9c614 [2020-04-14T08:47:42.862Z] ---> 836acff6b783 [2020-04-14T08:47:42.862Z] Step 8/21 : COPY . . [2020-04-14T08:47:43.124Z] ---> d37c10c1aef3 [2020-04-14T08:47:43.124Z] Step 9/21 : RUN ${MAKE} [2020-04-14T08:47:43.124Z] ---> Running in 4d0cc985baf1 [2020-04-14T08:47:43.696Z] 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-14T08:47:44.577Z] 8a11ddd9e578: Verifying Checksum [2020-04-14T08:47:44.577Z] 8a11ddd9e578: Download complete [2020-04-14T08:47:51.861Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-14T08:47:51.862Z] Removing intermediate container 4d0cc985baf1 [2020-04-14T08:47:51.862Z] ---> e41555c45370 [2020-04-14T08:47:51.862Z] Step 10/21 : FROM scratch [2020-04-14T08:47:51.862Z] ---> [2020-04-14T08:47:51.862Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T08:47:51.862Z] ---> Running in 159b5f4123e2 [2020-04-14T08:47:52.121Z] Removing intermediate container 159b5f4123e2 [2020-04-14T08:47:52.121Z] ---> 6c8e14968c84 [2020-04-14T08:47:52.121Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-14T08:47:52.121Z] ---> Running in 251a460b1fef [2020-04-14T08:47:52.121Z] Removing intermediate container 251a460b1fef [2020-04-14T08:47:52.121Z] ---> 3309cce9f17a [2020-04-14T08:47:52.121Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-14T08:47:52.121Z] ---> Running in d47b3cc2bd10 [2020-04-14T08:47:52.382Z] Removing intermediate container d47b3cc2bd10 [2020-04-14T08:47:52.382Z] ---> a4eed6678053 [2020-04-14T08:47:52.382Z] Step 14/21 : WORKDIR / [2020-04-14T08:47:52.382Z] ---> Running in 1a570ef2d2b4 [2020-04-14T08:47:52.641Z] Removing intermediate container 1a570ef2d2b4 [2020-04-14T08:47:52.641Z] ---> 5e39dd84184d [2020-04-14T08:47:52.641Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-14T08:47:52.899Z] ---> 2858bfa55a85 [2020-04-14T08:47:52.899Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-14T08:47:52.899Z] ---> 63448006800a [2020-04-14T08:47:52.899Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-14T08:47:53.158Z] ---> 02a471cbce01 [2020-04-14T08:47:53.158Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-14T08:47:53.158Z] ---> Running in ae9f9da203ae [2020-04-14T08:47:53.418Z] Removing intermediate container ae9f9da203ae [2020-04-14T08:47:53.418Z] ---> 4e606af636ed [2020-04-14T08:47:53.418Z] Step 19/21 : LABEL arch=amd64 [2020-04-14T08:47:53.418Z] ---> Running in 4d8b3180bed7 [2020-04-14T08:47:53.418Z] Removing intermediate container 4d8b3180bed7 [2020-04-14T08:47:53.418Z] ---> bbf136dcec06 [2020-04-14T08:47:53.418Z] Step 20/21 : LABEL git_sha=d4763dc5817b91cc15f2657f9c693df2f3ac1123 [2020-04-14T08:47:53.678Z] ---> Running in 93694de0834f [2020-04-14T08:47:53.679Z] Removing intermediate container 93694de0834f [2020-04-14T08:47:53.679Z] ---> b5596d539a1a [2020-04-14T08:47:53.679Z] Step 21/21 : LABEL version=0.0.0 [2020-04-14T08:47:53.679Z] ---> Running in cbf72249e203 [2020-04-14T08:47:53.938Z] Removing intermediate container cbf72249e203 [2020-04-14T08:47:53.938Z] ---> cf052ed7c229 [2020-04-14T08:47:53.938Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-14T08:47:53.938Z] Successfully built cf052ed7c229 [2020-04-14T08:47:53.938Z] 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-14T08:47:56.965Z] 8a11ddd9e578: Pull complete [2020-04-14T08:47:56.965Z] 4cf88f913ddb: Pull complete [2020-04-14T08:47:56.965Z] 1df406cf5192: Pull complete [2020-04-14T08:48:01.269Z] cd6300453558: Pull complete [2020-04-14T08:48:06.625Z] b9c365052c96: Pull complete [2020-04-14T08:48:06.625Z] a2d8cc88f415: Pull complete [2020-04-14T08:48:08.581Z] ea1d1ca13537: Pull complete [2020-04-14T08:48:08.581Z] 3750a50a1c5e: Pull complete [2020-04-14T08:48:08.581Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-14T08:48:08.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-14T08:48:08.581Z] ---> 78745c68409d [2020-04-14T08:48:08.581Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T08:48:12.843Z] ---> Running in f7c7a491d244 [2020-04-14T08:48:13.113Z] Removing intermediate container f7c7a491d244 [2020-04-14T08:48:13.113Z] ---> 94c56b064b37 [2020-04-14T08:48:13.113Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T08:48:13.381Z] ---> Running in e331e56b7564 [2020-04-14T08:48:15.331Z] Removing intermediate container e331e56b7564 [2020-04-14T08:48:15.331Z] ---> ca9164c35fbb [2020-04-14T08:48:15.331Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-14T08:48:15.600Z] ---> Running in 11adf33ef648 [2020-04-14T08:48:16.566Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-14T08:48:17.524Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-14T08:48:17.792Z] OK: 125 MiB in 39 packages [2020-04-14T08:48:19.202Z] Removing intermediate container 11adf33ef648 [2020-04-14T08:48:19.202Z] ---> 2c6d5200e63f [2020-04-14T08:48:19.202Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-14T08:48:19.202Z] ---> Running in e82594b522f2 [2020-04-14T08:48:19.473Z] Removing intermediate container e82594b522f2 [2020-04-14T08:48:19.473Z] ---> 4c73fdfca71f [2020-04-14T08:48:19.473Z] Step 7/8 : COPY . . [2020-04-14T08:48:20.884Z] ---> ace75ac35d4e [2020-04-14T08:48:20.884Z] Step 8/8 : RUN go mod download [2020-04-14T08:48:20.884Z] ---> Running in a06ea6242f80 [2020-04-14T08:48:29.103Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-14T08:48:29.103Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-14T08:48:29.103Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-14T08:48:29.103Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-14T08:48:29.103Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-14T08:48:29.103Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-14T08:48:29.103Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-14T08:48:29.103Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-14T08:48:29.103Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-14T08:48:29.103Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-14T08:48:29.103Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-14T08:48:29.103Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-14T08:48:29.103Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-14T08:48:29.103Z] go: finding github.com/fatih/color v1.7.0 [2020-04-14T08:48:29.103Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-14T08:48:29.103Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-14T08:48:29.103Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-14T08:48:29.103Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-14T08:48:29.103Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-14T08:48:29.103Z] go: finding github.com/google/uuid v1.1.0 [2020-04-14T08:48:29.103Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-14T08:48:29.103Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-14T08:48:29.103Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-14T08:48:29.103Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-14T08:48:29.103Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-14T08:48:29.103Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-14T08:48:29.103Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-14T08:48:29.103Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-14T08:48:29.103Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-14T08:48:29.103Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-14T08:48:29.103Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-14T08:48:29.103Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-14T08:48:29.103Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T08:48:29.103Z] go: finding github.com/posener/complete v1.1.1 [2020-04-14T08:48:29.103Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-14T08:48:29.103Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-14T08:48:29.103Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-14T08:48:29.103Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-14T08:48:29.103Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-14T08:48:29.103Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-14T08:48:29.103Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-14T08:48:29.103Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-14T08:48:29.103Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-14T08:48:29.103Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-14T08:48:29.103Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-14T08:48:29.103Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-14T08:48:37.362Z] Removing intermediate container a06ea6242f80 [2020-04-14T08:48:37.362Z] ---> c57668758d77 [2020-04-14T08:48:37.362Z] Successfully built c57668758d77 [2020-04-14T08:48:37.362Z] 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-14T08:48:38.217Z] + docker inspect -f . ci-base-image-arm64 [2020-04-14T08:48:38.486Z] . [Pipeline] withDockerContainer [2020-04-14T08:48:38.832Z] prd-ubuntu18.04-docker-arm64-4c-16g-3801 does not seem to be running inside a container [2020-04-14T08:48:38.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-14T08:48:40.271Z] $ docker top eedacd8b4505a546e7caf43697a42508c4dceaf4ae523ebe9f00f0b9009206e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T08:48:41.390Z] + go version [2020-04-14T08:48:41.390Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-14T08:48:42.051Z] + make test [2020-04-14T08:48:42.051Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-14T08:48:43.023Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-14T08:49:15.512Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-14T08:49:15.512Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-14T08:49:15.512Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.021s coverage: 22.1% of statements [2020-04-14T08:49:16.109Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.153s coverage: 95.8% of statements [2020-04-14T08:49:48.383Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.038s coverage: 11.4% of statements [2020-04-14T08:49:48.383Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 22.1% of statements [2020-04-14T08:49:48.383Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-14T08:49:48.383Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.150s coverage: 38.5% of statements [2020-04-14T08:49:48.383Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-14T08:49:48.383Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-14T08:49:48.383Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.564s coverage: 79.8% of statements [2020-04-14T08:49:48.383Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-14T08:49:48.383Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-14T08:49:48.383Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-14T08:49:48.383Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.085s coverage: 52.6% of statements [2020-04-14T08:49:48.383Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-14T08:49:48.383Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.348s coverage: 71.4% of statements [2020-04-14T08:49:48.383Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-14T08:49:48.383Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-14T08:49:48.383Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-14T08:49:50.977Z] gofmt -l . [2020-04-14T08:49:51.246Z] [ "`gofmt -l .`" = "" ] [2020-04-14T08:49:51.514Z] ./bin/test-attribution-txt.sh [2020-04-14T08:49:52.105Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-14T08:49:52.731Z] Warning: overwriting stash ‘coverage-report’ [2020-04-14T08:49:53.224Z] Stashed 1 file(s) [Pipeline] } [2020-04-14T08:49:53.245Z] $ docker stop --time=1 eedacd8b4505a546e7caf43697a42508c4dceaf4ae523ebe9f00f0b9009206e1 [2020-04-14T08:49:55.404Z] $ docker rm -f eedacd8b4505a546e7caf43697a42508c4dceaf4ae523ebe9f00f0b9009206e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-14T08:49:56.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-14T08:49:57.198Z] + ls -al . [2020-04-14T08:49:57.198Z] total 200 [2020-04-14T08:49:57.198Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 14 08:49 . [2020-04-14T08:49:57.198Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 08:47 .. [2020-04-14T08:49:57.198Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 08:47 .dockerignore [2020-04-14T08:49:57.198Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 08:47 .git [2020-04-14T08:49:57.198Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 08:47 .github [2020-04-14T08:49:57.198Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 08:47 .gitignore [2020-04-14T08:49:57.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 08:47 .semver [2020-04-14T08:49:57.198Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 14 08:47 Dockerfile.build [2020-04-14T08:49:57.198Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 14 08:47 Jenkinsfile [2020-04-14T08:49:57.198Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 08:47 LICENSE [2020-04-14T08:49:57.198Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 14 08:47 Makefile [2020-04-14T08:49:57.198Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 14 08:47 README.md [2020-04-14T08:49:57.198Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 08:43 VERSION [2020-04-14T08:49:57.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 08:47 api [2020-04-14T08:49:57.198Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 08:47 bin [2020-04-14T08:49:57.198Z] -rw-r--r-- 1 jenkins jenkins 96404 Apr 14 08:49 coverage.out [2020-04-14T08:49:57.198Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 08:47 example [2020-04-14T08:49:57.198Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 14 08:49 go.mod [2020-04-14T08:49:57.198Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 14 08:49 go.sum [2020-04-14T08:49:57.198Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 08:47 internal [2020-04-14T08:49:57.198Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 08:47 pkg [2020-04-14T08:49:57.198Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 08:47 snap [2020-04-14T08:49:57.198Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 08:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-14T08:49:57.558Z] + 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=d4763dc5817b91cc15f2657f9c693df2f3ac1123 --label arch=arm64 --label version=0.0.0 . [2020-04-14T08:49:58.144Z] Sending build context to Docker daemon 3.006MB [2020-04-14T08:49:58.144Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-14T08:49:58.144Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-14T08:49:58.144Z] ---> c57668758d77 [2020-04-14T08:49:58.144Z] Step 3/21 : ARG MAKE='make build' [2020-04-14T08:49:58.144Z] ---> Running in 5fe76295fa15 [2020-04-14T08:49:58.730Z] Removing intermediate container 5fe76295fa15 [2020-04-14T08:49:58.730Z] ---> 28c72146f268 [2020-04-14T08:49:58.730Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-14T08:49:58.730Z] ---> Running in fa967297f86b [2020-04-14T08:49:58.998Z] Removing intermediate container fa967297f86b [2020-04-14T08:49:58.998Z] ---> 6114d656c83f [2020-04-14T08:49:58.998Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T08:49:59.265Z] ---> Running in 06cdc45a3822 [2020-04-14T08:49:59.532Z] Removing intermediate container 06cdc45a3822 [2020-04-14T08:49:59.532Z] ---> 1c452d66d9d0 [2020-04-14T08:49:59.532Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-14T08:49:59.803Z] ---> Running in 69ee4d5202da [2020-04-14T08:50:01.760Z] Removing intermediate container 69ee4d5202da [2020-04-14T08:50:01.760Z] ---> ace1e889624c [2020-04-14T08:50:01.760Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-14T08:50:01.760Z] ---> Running in 08a083be11a0 [2020-04-14T08:50:02.721Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-14T08:50:03.306Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-14T08:50:03.889Z] OK: 125 MiB in 39 packages [2020-04-14T08:50:04.861Z] Removing intermediate container 08a083be11a0 [2020-04-14T08:50:04.861Z] ---> 6bf771c46c6f [2020-04-14T08:50:04.861Z] Step 8/21 : COPY . . [2020-04-14T08:50:05.826Z] ---> eb1dcd33d883 [2020-04-14T08:50:05.826Z] Step 9/21 : RUN ${MAKE} [2020-04-14T08:50:06.097Z] ---> Running in 2418b982768b [2020-04-14T08:50:07.065Z] 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-14T08:50:33.847Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-14T08:50:33.847Z] Removing intermediate container 2418b982768b [2020-04-14T08:50:33.847Z] ---> 4f4136f8348e [2020-04-14T08:50:33.847Z] Step 10/21 : FROM scratch [2020-04-14T08:50:33.847Z] ---> [2020-04-14T08:50:33.847Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-14T08:50:33.847Z] ---> Running in 73a3dffd8a47 [2020-04-14T08:50:33.847Z] Removing intermediate container 73a3dffd8a47 [2020-04-14T08:50:33.847Z] ---> 390ff7c0597b [2020-04-14T08:50:33.847Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-14T08:50:33.847Z] ---> Running in ed9cb3bea7de [2020-04-14T08:50:33.848Z] Removing intermediate container ed9cb3bea7de [2020-04-14T08:50:33.848Z] ---> 13abb4b9e6a2 [2020-04-14T08:50:33.848Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-14T08:50:33.848Z] ---> Running in 38e802aa110f [2020-04-14T08:50:33.848Z] Removing intermediate container 38e802aa110f [2020-04-14T08:50:33.848Z] ---> c7c902b2c341 [2020-04-14T08:50:33.848Z] Step 14/21 : WORKDIR / [2020-04-14T08:50:33.848Z] ---> Running in b158963bbf9c [2020-04-14T08:50:34.119Z] Removing intermediate container b158963bbf9c [2020-04-14T08:50:34.119Z] ---> ef5d4605bc0b [2020-04-14T08:50:34.119Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-14T08:50:35.089Z] ---> f363773c604a [2020-04-14T08:50:35.089Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-14T08:50:35.676Z] ---> ed91263492f1 [2020-04-14T08:50:35.676Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-14T08:50:36.262Z] ---> 9b2906ce28a4 [2020-04-14T08:50:36.262Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-14T08:50:36.262Z] ---> Running in bd7fd51e00b1 [2020-04-14T08:50:36.848Z] Removing intermediate container bd7fd51e00b1 [2020-04-14T08:50:36.848Z] ---> 4ebc13bc5336 [2020-04-14T08:50:36.848Z] Step 19/21 : LABEL arch=arm64 [2020-04-14T08:50:36.848Z] ---> Running in 0697100e2c59 [2020-04-14T08:50:37.116Z] Removing intermediate container 0697100e2c59 [2020-04-14T08:50:37.116Z] ---> e377c350454a [2020-04-14T08:50:37.116Z] Step 20/21 : LABEL git_sha=d4763dc5817b91cc15f2657f9c693df2f3ac1123 [2020-04-14T08:50:37.385Z] ---> Running in c6670b42b1c0 [2020-04-14T08:50:37.653Z] Removing intermediate container c6670b42b1c0 [2020-04-14T08:50:37.653Z] ---> afa400317721 [2020-04-14T08:50:37.653Z] Step 21/21 : LABEL version=0.0.0 [2020-04-14T08:50:37.653Z] ---> Running in b63aff217dee [2020-04-14T08:50:38.241Z] Removing intermediate container b63aff217dee [2020-04-14T08:50:38.241Z] ---> d48fd7fb5903 [2020-04-14T08:50:38.241Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-14T08:50:38.241Z] Successfully built d48fd7fb5903 [2020-04-14T08:50:38.241Z] 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-14T08:50:39.758Z] provisioning config files... [2020-04-14T08:50:39.782Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/config6735894397763233186tmp [Pipeline] { [Pipeline] sh [2020-04-14T08:50:40.254Z] + curl -s https://codecov.io/bash [2020-04-14T08:50:40.255Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/config6735894397763233186tmp [2020-04-14T08:50:40.542Z] [2020-04-14T08:50:40.542Z] _____ _ [2020-04-14T08:50:40.542Z] / ____| | | [2020-04-14T08:50:40.542Z] | | ___ __| | ___ ___ _____ __ [2020-04-14T08:50:40.542Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-14T08:50:40.542Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-14T08:50:40.542Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-14T08:50:40.542Z] Bash-20200410-0786dee [2020-04-14T08:50:40.542Z] [2020-04-14T08:50:40.542Z] [2020-04-14T08:50:40.542Z] ==> Jenkins CI detected. [2020-04-14T08:50:40.542Z] project root: . [2020-04-14T08:50:40.542Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-14T08:50:40.542Z] ==> Running gcov in . (disable via -X gcov) [2020-04-14T08:50:40.818Z] ==> Python coveragepy not found [2020-04-14T08:50:40.818Z] ==> Searching for coverage reports in: [2020-04-14T08:50:40.818Z] + . [2020-04-14T08:50:40.818Z] -> Found 1 reports [2020-04-14T08:50:40.818Z] ==> Detecting git/mercurial file structure [2020-04-14T08:50:40.818Z] ==> Reading reports [2020-04-14T08:50:40.818Z] + ./coverage.out bytes=96404 [2020-04-14T08:50:40.818Z] ==> Appending adjustments [2020-04-14T08:50:40.818Z] http://docs.codecov.io/docs/fixing-reports [2020-04-14T08:50:41.085Z] + Found adjustments [2020-04-14T08:50:41.085Z] ==> Gzipping contents [2020-04-14T08:50:41.085Z] ==> Uploading reports [2020-04-14T08:50:41.085Z] url: https://codecov.io [2020-04-14T08:50:41.085Z] query: branch=PR-483&commit=d4763dc5817b91cc15f2657f9c693df2f3ac1123&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-483%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=483&job= [2020-04-14T08:50:41.085Z] -> Pinging Codecov [2020-04-14T08:50:41.085Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-483&commit=d4763dc5817b91cc15f2657f9c693df2f3ac1123&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-483%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=483&job= [2020-04-14T08:50:41.661Z] -> Uploading [2020-04-14T08:50:41.926Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d4763dc5817b91cc15f2657f9c693df2f3ac1123 [Pipeline] } [2020-04-14T08:50:41.944Z] 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-14T08:50:43.627Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T08:50:44.277Z] ---> package-listing.sh [2020-04-14T08:50:44.278Z] ++ facter osfamily [2020-04-14T08:50:44.278Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-14T08:50:44.278Z] + OS_FAMILY=redhat [2020-04-14T08:50:44.278Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-483 [2020-04-14T08:50:44.278Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-14T08:50:44.278Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-14T08:50:44.278Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-14T08:50:44.278Z] + PACKAGES=/tmp/packages_start.txt [2020-04-14T08:50:44.278Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-483 ']' [2020-04-14T08:50:44.278Z] + PACKAGES=/tmp/packages_end.txt [2020-04-14T08:50:44.278Z] + case "${OS_FAMILY}" in [2020-04-14T08:50:44.278Z] + rpm -qa [2020-04-14T08:50:44.278Z] + sort [2020-04-14T08:50:52.608Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-14T08:50:52.608Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-14T08:50:52.608Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-14T08:50:52.608Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-483 ']' [2020-04-14T08:50:52.608Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-483/archives/ [2020-04-14T08:50:52.608Z] + 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-14T08:50:53.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T08:50:54.022Z] [2020-04-14T08:50:54.022Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-14T08:50:54.407Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T08:50:54.788Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-14T08:50:54.788Z] c9b1b535fdd9: Pulling fs layer [2020-04-14T08:50:54.788Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-14T08:50:54.788Z] 756a868c4378: Pulling fs layer [2020-04-14T08:50:54.788Z] 444b2fc9a129: Pulling fs layer [2020-04-14T08:50:54.788Z] ea15f1150254: Pulling fs layer [2020-04-14T08:50:54.788Z] 41b27a9f41bf: Pulling fs layer [2020-04-14T08:50:54.788Z] 28c525ee5125: Pulling fs layer [2020-04-14T08:50:54.788Z] 094b1ea09ed8: Pulling fs layer [2020-04-14T08:50:54.788Z] 138eaada9080: Pulling fs layer [2020-04-14T08:50:54.788Z] 0622d0fa9048: Pulling fs layer [2020-04-14T08:50:54.788Z] 41b27a9f41bf: Waiting [2020-04-14T08:50:54.788Z] 28c525ee5125: Waiting [2020-04-14T08:50:54.788Z] 094b1ea09ed8: Waiting [2020-04-14T08:50:54.788Z] 138eaada9080: Waiting [2020-04-14T08:50:54.788Z] 0622d0fa9048: Waiting [2020-04-14T08:50:54.788Z] 444b2fc9a129: Waiting [2020-04-14T08:50:54.788Z] ea15f1150254: Waiting [2020-04-14T08:50:54.788Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-14T08:50:54.788Z] 2cc5ad85d9ab: Download complete [2020-04-14T08:50:54.788Z] 444b2fc9a129: Verifying Checksum [2020-04-14T08:50:54.788Z] 444b2fc9a129: Download complete [2020-04-14T08:50:54.788Z] c9b1b535fdd9: Verifying Checksum [2020-04-14T08:50:54.788Z] c9b1b535fdd9: Download complete [2020-04-14T08:50:55.320Z] ea15f1150254: Verifying Checksum [2020-04-14T08:50:55.320Z] ea15f1150254: Download complete [2020-04-14T08:50:56.093Z] c9b1b535fdd9: Pull complete [2020-04-14T08:50:56.524Z] 2cc5ad85d9ab: Pull complete [2020-04-14T08:50:56.524Z] 28c525ee5125: Verifying Checksum [2020-04-14T08:50:56.524Z] 28c525ee5125: Download complete [2020-04-14T08:50:59.051Z] 756a868c4378: Verifying Checksum [2020-04-14T08:50:59.051Z] 756a868c4378: Download complete [2020-04-14T08:50:59.051Z] 138eaada9080: Verifying Checksum [2020-04-14T08:50:59.051Z] 138eaada9080: Download complete [2020-04-14T08:50:59.385Z] 0622d0fa9048: Verifying Checksum [2020-04-14T08:50:59.385Z] 0622d0fa9048: Download complete [2020-04-14T08:50:59.805Z] 094b1ea09ed8: Verifying Checksum [2020-04-14T08:50:59.805Z] 094b1ea09ed8: Download complete [2020-04-14T08:51:00.984Z] 41b27a9f41bf: Verifying Checksum [2020-04-14T08:51:00.984Z] 41b27a9f41bf: Download complete [2020-04-14T08:51:03.299Z] 756a868c4378: Pull complete [2020-04-14T08:51:03.299Z] 444b2fc9a129: Pull complete [2020-04-14T08:51:03.682Z] ea15f1150254: Pull complete [2020-04-14T08:51:09.448Z] 41b27a9f41bf: Pull complete [2020-04-14T08:51:09.448Z] 28c525ee5125: Pull complete [2020-04-14T08:51:12.815Z] 094b1ea09ed8: Pull complete [2020-04-14T08:51:13.079Z] 138eaada9080: Pull complete [2020-04-14T08:51:13.344Z] 0622d0fa9048: Pull complete [2020-04-14T08:51:13.344Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-14T08:51:13.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-14T08:51:13.592Z] prd-centos7-docker-4c-2g-3799 does not seem to be running inside a container [2020-04-14T08:51:13.663Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-14T08:51:15.187Z] $ docker top 5c4aa2a9cc23b028014cba818d262312af66baa44e3747da6aa7dcca5a057345 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-14T08:51:15.609Z] provisioning config files... [2020-04-14T08:51:15.628Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/config4958176095837832506tmp [Pipeline] { [Pipeline] echo [2020-04-14T08:51:15.712Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T08:51:16.413Z] ---> create-netrc.sh [Pipeline] echo [2020-04-14T08:51:16.443Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T08:51:16.803Z] ---> logs-deploy.sh [2020-04-14T08:51:16.804Z] + ARCHIVE_ARTIFACTS= [2020-04-14T08:51:16.804Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-14T08:51:16.804Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-14T08:51:16.804Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-14T08:51:16.804Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-483/1 [2020-04-14T08:51:16.804Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-483/1/ [2020-04-14T08:51:16.804Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-483/1 /w/workspace/dgexfoundry_device-sdk-go_PR-483 [2020-04-14T08:51:18.778Z] Archives upload complete. [2020-04-14T08:51:18.778Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-483/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-483/1/