Pull request #486 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 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30+40c90adbf9fac26db7d7745c142bac7f98eae2fe (ab22a818bda272f9c10e45b6ce31f5a31226d946) 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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-486/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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4259 in /w/workspace/dgexfoundry_device-sdk-go_PR-486 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-486 # 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/486/head:refs/remotes/origin/PR-486 +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/486/head:refs/remotes/origin/PR-486 # 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/486/head:refs/remotes/origin/PR-486 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 Merge succeeded, producing 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 Checking out Revision 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 (PR-486) > git config core.sparsecheckout # timeout=10 > git checkout -f 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 # 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 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 # timeout=10 Commit message: "Update porfile in add device callback handler" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-16T11:50:47.816Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-16T11:50:48.077Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-16T11:50:48.275Z] ========================================================= [2020-04-16T11:50:48.275Z] EdgeX Global Pipelines Version Info [2020-04-16T11:50:48.275Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-16T11:50:49.699Z] ------------------- [2020-04-16T11:50:49.699Z] stable info: [2020-04-16T11:50:49.699Z] ------------------- [2020-04-16T11:50:49.699Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-16T11:50:49.699Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T11:50:49.699Z] Message: update stable to v1.0.73 [2020-04-16T11:50:50.266Z] ------------------- [2020-04-16T11:50:50.266Z] experimental info: [2020-04-16T11:50:50.266Z] ------------------- [2020-04-16T11:50:50.266Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-16T11:50:50.266Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T11:50:50.266Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-16T11:50:53.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T11:50:53.170Z] [2020-04-16T11:50:53.170Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-16T11:50:53.541Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T11:50:53.541Z] latest: Pulling from edgex-devops/git-semver [2020-04-16T11:50:53.541Z] 9123ac7c32f7: Pulling fs layer [2020-04-16T11:50:53.541Z] b8cc5d1170e3: Pulling fs layer [2020-04-16T11:50:53.541Z] 2924cbbf6a41: Pulling fs layer [2020-04-16T11:50:53.541Z] 93b08a4f1073: Pulling fs layer [2020-04-16T11:50:53.541Z] 93b08a4f1073: Waiting [2020-04-16T11:50:53.541Z] b8cc5d1170e3: Verifying Checksum [2020-04-16T11:50:53.541Z] b8cc5d1170e3: Download complete [2020-04-16T11:50:53.541Z] 9123ac7c32f7: Verifying Checksum [2020-04-16T11:50:53.541Z] 9123ac7c32f7: Download complete [2020-04-16T11:50:53.800Z] 93b08a4f1073: Verifying Checksum [2020-04-16T11:50:53.800Z] 93b08a4f1073: Download complete [2020-04-16T11:50:53.800Z] 2924cbbf6a41: Verifying Checksum [2020-04-16T11:50:53.800Z] 2924cbbf6a41: Download complete [2020-04-16T11:50:53.800Z] 9123ac7c32f7: Pull complete [2020-04-16T11:50:54.060Z] b8cc5d1170e3: Pull complete [2020-04-16T11:50:54.626Z] 2924cbbf6a41: Pull complete [2020-04-16T11:50:54.885Z] 93b08a4f1073: Pull complete [2020-04-16T11:50:54.885Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-16T11:50:54.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-16T11:50:55.036Z] prd-centos7-docker-4c-2g-4259 does not seem to be running inside a container [2020-04-16T11:50:55.071Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-486 -v /w/workspace/dgexfoundry_device-sdk-go_PR-486:/w/workspace/dgexfoundry_device-sdk-go_PR-486:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-486@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-486@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-16T11:50:55.651Z] $ docker top 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T11:50:55.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T11:50:55.993Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T11:50:56.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T11:50:56.174Z] $ docker exec 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 ssh-agent [2020-04-16T11:50:56.364Z] SSH_AUTH_SOCK=/tmp/ssh-Z3NmOt6kHagW/agent.15 [2020-04-16T11:50:56.364Z] SSH_AGENT_PID=21 [2020-04-16T11:50:56.371Z] Running ssh-add (command line suppressed) [2020-04-16T11:50:56.516Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-486@tmp/private_key_3764650215416559591.key (/w/workspace/dgexfoundry_device-sdk-go_PR-486@tmp/private_key_3764650215416559591.key) [2020-04-16T11:50:56.557Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T11:50:56.975Z] + git describe --exact-match --tags HEAD [2020-04-16T11:50:56.975Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-16T11:50:57.045Z] $ docker exec --env ******** --env ******** 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 ssh-agent -k [2020-04-16T11:50:57.176Z] unset SSH_AUTH_SOCK; [2020-04-16T11:50:57.176Z] unset SSH_AGENT_PID; [2020-04-16T11:50:57.176Z] echo Agent pid 21 killed; [2020-04-16T11:50:57.208Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-16T11:50:57.332Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-16T11:50:57.332Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-16T11:50:57.539Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T11:50:57.539Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T11:50:57.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T11:50:57.707Z] $ docker exec 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 ssh-agent [2020-04-16T11:50:57.876Z] SSH_AUTH_SOCK=/tmp/ssh-TPXgDgHGwEtG/agent.56 [2020-04-16T11:50:57.876Z] SSH_AGENT_PID=63 [2020-04-16T11:50:57.881Z] Running ssh-add (command line suppressed) [2020-04-16T11:50:58.013Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-486@tmp/private_key_9193761530256939780.key (/w/workspace/dgexfoundry_device-sdk-go_PR-486@tmp/private_key_9193761530256939780.key) [2020-04-16T11:50:58.059Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T11:50:58.422Z] + git semver init [2020-04-16T11:50:58.422Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T11:50:58.422Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-486/.git [2020-04-16T11:50:58.422Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-486 [2020-04-16T11:50:58.422Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T11:50:58.422Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T11:50:58.422Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T11:50:58.422Z] # $SEMVER_BRANCH = PR-486 [2020-04-16T11:50:58.422Z] # $SEMVER_TEMP = /tmp/semver-951926891 [2020-04-16T11:50:58.422Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-16T11:50:58.989Z] # '/tmp/semver-951926891' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-486/.semver' [2020-04-16T11:50:58.989Z] # -> Force: false [2020-04-16T11:50:58.989Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-486/.semver [Pipeline] } [2020-04-16T11:50:59.010Z] $ docker exec --env ******** --env ******** 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 ssh-agent -k [2020-04-16T11:50:59.146Z] unset SSH_AUTH_SOCK; [2020-04-16T11:50:59.147Z] unset SSH_AGENT_PID; [2020-04-16T11:50:59.147Z] echo Agent pid 63 killed; [2020-04-16T11:50:59.188Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T11:50:59.721Z] + git semver [Pipeline] } [2020-04-16T11:50:59.746Z] $ docker stop --time=1 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 [2020-04-16T11:51:01.061Z] $ docker rm -f 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-16T11:51:01.925Z] Stashed 43 file(s) [Pipeline] echo [2020-04-16T11:51:01.944Z] [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-16T11:51:17.389Z] Still waiting to schedule task [2020-04-16T11:51:17.389Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-16T11:51:17.412Z] Still waiting to schedule task [2020-04-16T11:51:17.412Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-4258’ [2020-04-16T11:53:34.108Z] Running on prd-centos7-docker-4c-2g-4260 in /w/workspace/dgexfoundry_device-sdk-go_PR-486 [Pipeline] { [Pipeline] ws [2020-04-16T11:53:34.207Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-16T11:53:36.532Z] using credential edgex-jenkins-ssh [2020-04-16T11:53:36.573Z] Cloning the remote Git repository [2020-04-16T11:53:36.573Z] Cloning with configured refspecs honoured and without tags [2020-04-16T11:53:36.604Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T11:53:36.642Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-16T11:53:36.713Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T11:53:36.714Z] > git --version # timeout=10 [2020-04-16T11:53:36.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T11:53:37.425Z] Fetching without tags [2020-04-16T11:53:37.832Z] Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 [2020-04-16T11:53:36.780Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T11:53:37.394Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T11:53:37.399Z] > git config --add remote.origin.fetch +refs/pull/486/head:refs/remotes/origin/PR-486 # timeout=10 [2020-04-16T11:53:37.408Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T11:53:37.420Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T11:53:37.432Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T11:53:37.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T11:53:37.437Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T11:53:37.846Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T11:53:37.854Z] > git checkout -f 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 # timeout=10 [2020-04-16T11:53:37.950Z] Merge succeeded, producing 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 [2020-04-16T11:53:37.950Z] Checking out Revision 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 (PR-486) [2020-04-16T11:53:37.906Z] > git remote # timeout=10 [2020-04-16T11:53:37.922Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T11:53:37.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T11:53:37.936Z] > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 [2020-04-16T11:53:37.947Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T11:53:37.955Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T11:53:37.970Z] > git checkout -f 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 # timeout=10 [2020-04-16T11:53:41.983Z] Commit message: "Update porfile in add device callback handler" [2020-04-16T11:53:42.011Z] > git --version # timeout=10 [2020-04-16T11:53:42.024Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T11:53:43.121Z] ========================================================= [2020-04-16T11:53:43.121Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-16T11:53:43.121Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T11:53:43.825Z] + 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-16T11:53:44.086Z] Sending build context to Docker daemon 2.873MB [2020-04-16T11:53:44.086Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T11:53:44.086Z] Step 2/8 : FROM ${BASE} [2020-04-16T11:53:44.347Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-16T11:53:44.347Z] e6b0cf9c0882: Pulling fs layer [2020-04-16T11:53:44.347Z] 2848faf0eed1: Pulling fs layer [2020-04-16T11:53:44.347Z] 0f37312ad70f: Pulling fs layer [2020-04-16T11:53:44.347Z] 5788d62ee057: Pulling fs layer [2020-04-16T11:53:44.347Z] 0e6b1d234666: Pulling fs layer [2020-04-16T11:53:44.347Z] bf5d7aec512f: Pulling fs layer [2020-04-16T11:53:44.347Z] 34c802a77dc8: Pulling fs layer [2020-04-16T11:53:44.347Z] 9eb99e56ec68: Pulling fs layer [2020-04-16T11:53:44.347Z] 27c7a5d97fbd: Pulling fs layer [2020-04-16T11:53:44.347Z] 5c102a31e300: Pulling fs layer [2020-04-16T11:53:44.347Z] dcfb455df0a1: Pulling fs layer [2020-04-16T11:53:44.347Z] 34c802a77dc8: Waiting [2020-04-16T11:53:44.347Z] 9eb99e56ec68: Waiting [2020-04-16T11:53:44.347Z] 27c7a5d97fbd: Waiting [2020-04-16T11:53:44.347Z] 5c102a31e300: Waiting [2020-04-16T11:53:44.347Z] dcfb455df0a1: Waiting [2020-04-16T11:53:44.347Z] 0e6b1d234666: Waiting [2020-04-16T11:53:44.347Z] bf5d7aec512f: Waiting [2020-04-16T11:53:44.347Z] 0f37312ad70f: Verifying Checksum [2020-04-16T11:53:44.347Z] 0f37312ad70f: Download complete [2020-04-16T11:53:44.347Z] 2848faf0eed1: Verifying Checksum [2020-04-16T11:53:44.347Z] 2848faf0eed1: Download complete [2020-04-16T11:53:44.347Z] 0e6b1d234666: Verifying Checksum [2020-04-16T11:53:44.347Z] 0e6b1d234666: Download complete [2020-04-16T11:53:44.347Z] e6b0cf9c0882: Verifying Checksum [2020-04-16T11:53:44.347Z] e6b0cf9c0882: Download complete [2020-04-16T11:53:44.347Z] bf5d7aec512f: Verifying Checksum [2020-04-16T11:53:44.347Z] bf5d7aec512f: Download complete [2020-04-16T11:53:44.611Z] e6b0cf9c0882: Pull complete [2020-04-16T11:53:44.881Z] 2848faf0eed1: Pull complete [2020-04-16T11:53:45.462Z] 34c802a77dc8: Verifying Checksum [2020-04-16T11:53:45.462Z] 34c802a77dc8: Download complete [2020-04-16T11:53:45.462Z] 27c7a5d97fbd: Verifying Checksum [2020-04-16T11:53:45.462Z] 27c7a5d97fbd: Download complete [2020-04-16T11:53:46.040Z] 9eb99e56ec68: Verifying Checksum [2020-04-16T11:53:46.040Z] 9eb99e56ec68: Download complete [2020-04-16T11:53:46.040Z] 5c102a31e300: Verifying Checksum [2020-04-16T11:53:46.040Z] 5c102a31e300: Download complete [2020-04-16T11:53:46.040Z] dcfb455df0a1: Verifying Checksum [2020-04-16T11:53:46.040Z] dcfb455df0a1: Download complete [2020-04-16T11:53:46.301Z] 5788d62ee057: Verifying Checksum [2020-04-16T11:53:46.301Z] 5788d62ee057: Download complete [2020-04-16T11:53:46.872Z] 0f37312ad70f: Pull complete [2020-04-16T11:53:52.149Z] 5788d62ee057: Pull complete [2020-04-16T11:53:52.149Z] 0e6b1d234666: Pull complete [2020-04-16T11:53:52.149Z] bf5d7aec512f: Pull complete [2020-04-16T11:53:57.427Z] 34c802a77dc8: Pull complete [2020-04-16T11:53:59.961Z] 9eb99e56ec68: Pull complete [2020-04-16T11:54:00.222Z] 27c7a5d97fbd: Pull complete [2020-04-16T11:54:01.158Z] 5c102a31e300: Pull complete [2020-04-16T11:54:01.158Z] dcfb455df0a1: Pull complete [2020-04-16T11:54:01.158Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-16T11:54:01.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-16T11:54:01.158Z] ---> 7c70fe431013 [2020-04-16T11:54:01.158Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T11:54:01.418Z] ---> Running in 2d2a667b577a [2020-04-16T11:54:01.418Z] Removing intermediate container 2d2a667b577a [2020-04-16T11:54:01.418Z] ---> 60fe936dccd7 [2020-04-16T11:54:01.418Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T11:54:01.418Z] ---> Running in dc0141bdb63a [2020-04-16T11:54:02.368Z] Removing intermediate container dc0141bdb63a [2020-04-16T11:54:02.368Z] ---> 86f4a213f053 [2020-04-16T11:54:02.368Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-16T11:54:02.368Z] ---> Running in d38ca9b332e7 [2020-04-16T11:54:02.942Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T11:54:03.878Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T11:54:03.878Z] OK: 143 MiB in 39 packages [2020-04-16T11:54:04.446Z] Removing intermediate container d38ca9b332e7 [2020-04-16T11:54:04.446Z] ---> 9c68f9e3196a [2020-04-16T11:54:04.446Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-16T11:54:04.446Z] ---> Running in 397ac9032e2f [2020-04-16T11:54:04.707Z] Removing intermediate container 397ac9032e2f [2020-04-16T11:54:04.707Z] ---> 26e85c1464ec [2020-04-16T11:54:04.707Z] Step 7/8 : COPY . . [2020-04-16T11:54:05.276Z] ---> bc16d704fd81 [2020-04-16T11:54:05.276Z] Step 8/8 : RUN go mod download [2020-04-16T11:54:05.276Z] ---> Running in fceeec8301f6 [2020-04-16T11:54:07.824Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T11:54:07.824Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-16T11:54:07.824Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T11:54:07.824Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T11:54:07.824Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T11:54:07.824Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T11:54:07.824Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-16T11:54:07.824Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T11:54:07.824Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-16T11:54:07.824Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-16T11:54:07.824Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-16T11:54:07.824Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-16T11:54:07.824Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-16T11:54:07.824Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T11:54:07.824Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-16T11:54:07.824Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T11:54:07.824Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T11:54:07.824Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T11:54:07.824Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T11:54:07.824Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T11:54:08.086Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-16T11:54:08.086Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-16T11:54:08.086Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-16T11:54:08.086Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T11:54:08.086Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-16T11:54:08.086Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T11:54:08.086Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T11:54:08.086Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T11:54:08.086Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T11:54:08.345Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T11:54:08.345Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T11:54:08.345Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T11:54:08.345Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T11:54:08.345Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T11:54:08.345Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T11:54:08.345Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T11:54:08.345Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T11:54:08.345Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T11:54:08.612Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T11:54:08.612Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T11:54:08.612Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T11:54:08.612Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T11:54:08.612Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T11:54:08.612Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T11:54:08.612Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T11:54:08.612Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T11:54:08.612Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T11:54:08.871Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T11:54:08.871Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T11:54:08.871Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T11:54:08.871Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T11:54:08.871Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T11:54:08.871Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T11:54:08.871Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T11:54:08.871Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T11:54:08.871Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T11:54:08.871Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T11:54:09.130Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T11:54:09.130Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T11:54:09.130Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-16T11:54:09.130Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T11:54:09.130Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-16T11:54:09.130Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T11:54:09.130Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T11:54:09.130Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T11:54:09.388Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T11:54:09.388Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T11:54:09.388Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-16T11:54:13.597Z] Removing intermediate container fceeec8301f6 [2020-04-16T11:54:13.597Z] ---> 35f4745e3d39 [2020-04-16T11:54:13.597Z] Successfully built 35f4745e3d39 [2020-04-16T11:54:13.597Z] 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-16T11:54:14.386Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-16T11:54:14.386Z] . [Pipeline] withDockerContainer [2020-04-16T11:54:14.526Z] prd-centos7-docker-4c-2g-4260 does not seem to be running inside a container [2020-04-16T11:54:14.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-16T11:54:15.111Z] $ docker top feb17b88f98aa20182e004d95f33812910674c22c265440731f652eaed2c28bf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T11:54:15.668Z] + go version [2020-04-16T11:54:15.668Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-16T11:54:15.989Z] + make test [2020-04-16T11:54:15.989Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-16T11:54:18.542Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-16T11:54:28.579Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-16T11:54:28.579Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-16T11:54:28.579Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.014s coverage: 22.1% of statements [2020-04-16T11:54:31.893Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements [2020-04-16T11:55:03.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.042s coverage: 11.4% of statements [2020-04-16T11:55:03.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.012s coverage: 22.1% of statements [2020-04-16T11:55:03.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-16T11:55:03.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.067s coverage: 38.5% of statements [2020-04-16T11:55:03.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-16T11:55:03.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-16T11:55:03.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.362s coverage: 79.8% of statements [2020-04-16T11:55:03.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-16T11:55:03.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-16T11:55:03.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-16T11:55:03.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.019s coverage: 52.6% of statements [2020-04-16T11:55:03.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-16T11:55:03.992Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.105s coverage: 71.4% of statements [2020-04-16T11:55:03.992Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-16T11:55:03.992Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-16T11:55:03.992Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T11:55:03.992Z] gofmt -l . [2020-04-16T11:55:03.992Z] [ "`gofmt -l .`" = "" ] [2020-04-16T11:55:03.992Z] ./bin/test-attribution-txt.sh [2020-04-16T11:55:04.253Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T11:55:05.004Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T11:55:05.019Z] $ docker stop --time=1 feb17b88f98aa20182e004d95f33812910674c22c265440731f652eaed2c28bf [2020-04-16T11:55:06.486Z] $ docker rm -f feb17b88f98aa20182e004d95f33812910674c22c265440731f652eaed2c28bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T11:55:08.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T11:55:08.378Z] + ls -al . [2020-04-16T11:55:08.378Z] total 160 [2020-04-16T11:55:08.378Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 16 11:55 . [2020-04-16T11:55:08.378Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 11:53 .. [2020-04-16T11:55:08.378Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 11:53 api [2020-04-16T11:55:08.378Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 11:53 bin [2020-04-16T11:55:08.378Z] -rw-r--r--. 1 jenkins jenkins 96404 Apr 16 11:55 coverage.out [2020-04-16T11:55:08.378Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 16 11:53 Dockerfile.build [2020-04-16T11:55:08.378Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 11:53 .dockerignore [2020-04-16T11:55:08.378Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 16 11:53 example [2020-04-16T11:55:08.378Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 11:53 .git [2020-04-16T11:55:08.378Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 16 11:53 .github [2020-04-16T11:55:08.378Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 11:53 .gitignore [2020-04-16T11:55:08.378Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 16 11:55 go.mod [2020-04-16T11:55:08.378Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 16 11:55 go.sum [2020-04-16T11:55:08.378Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 16 11:53 internal [2020-04-16T11:55:08.378Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 16 11:53 Jenkinsfile [2020-04-16T11:55:08.378Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 11:53 LICENSE [2020-04-16T11:55:08.378Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 16 11:53 Makefile [2020-04-16T11:55:08.378Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 11:53 pkg [2020-04-16T11:55:08.378Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 16 11:53 README.md [2020-04-16T11:55:08.378Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 11:53 .semver [2020-04-16T11:55:08.378Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 11:53 snap [2020-04-16T11:55:08.378Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 11:51 VERSION [2020-04-16T11:55:08.378Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 11:53 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T11:55:08.706Z] + 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=4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 --label arch=amd64 --label version=0.0.0 . [2020-04-16T11:55:08.706Z] Sending build context to Docker daemon 2.991MB [2020-04-16T11:55:08.706Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-16T11:55:08.706Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-16T11:55:08.706Z] ---> 35f4745e3d39 [2020-04-16T11:55:08.706Z] Step 3/21 : ARG MAKE='make build' [2020-04-16T11:55:08.965Z] ---> Running in cbaf068ff9c5 [2020-04-16T11:55:08.965Z] Removing intermediate container cbaf068ff9c5 [2020-04-16T11:55:08.965Z] ---> b376c6ed284f [2020-04-16T11:55:08.965Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-16T11:55:08.965Z] ---> Running in 467662d90e51 [2020-04-16T11:55:09.227Z] Removing intermediate container 467662d90e51 [2020-04-16T11:55:09.227Z] ---> 9c5b678ec34b [2020-04-16T11:55:09.227Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T11:55:09.227Z] ---> Running in 563064204f9a [2020-04-16T11:55:09.314Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4261 in /w/workspace/dgexfoundry_device-sdk-go_PR-486 [Pipeline] { [Pipeline] ws [2020-04-16T11:55:09.386Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-16T11:55:09.487Z] Removing intermediate container 563064204f9a [2020-04-16T11:55:09.487Z] ---> 519959a3b624 [2020-04-16T11:55:09.487Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T11:55:09.487Z] ---> Running in b4141512abf0 [2020-04-16T11:55:10.062Z] Removing intermediate container b4141512abf0 [2020-04-16T11:55:10.062Z] ---> 4ffa3824f5fe [2020-04-16T11:55:10.062Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-16T11:55:10.322Z] ---> Running in 40522313ed3e [2020-04-16T11:55:10.580Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T11:55:11.148Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T11:55:11.409Z] OK: 143 MiB in 39 packages [2020-04-16T11:55:11.978Z] Removing intermediate container 40522313ed3e [2020-04-16T11:55:11.978Z] ---> 52792b63621a [2020-04-16T11:55:11.978Z] Step 8/21 : COPY . . [2020-04-16T11:55:12.238Z] ---> 232e8425bfde [2020-04-16T11:55:12.238Z] Step 9/21 : RUN ${MAKE} [2020-04-16T11:55:12.238Z] ---> Running in a434c6d30a53 [2020-04-16T11:55:12.815Z] 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-16T11:55:15.063Z] using credential edgex-jenkins-ssh [2020-04-16T11:55:15.121Z] Cloning the remote Git repository [2020-04-16T11:55:15.121Z] Cloning with configured refspecs honoured and without tags [2020-04-16T11:55:15.242Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T11:55:15.353Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-16T11:55:15.428Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T11:55:15.429Z] > git --version # timeout=10 [2020-04-16T11:55:15.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T11:55:15.530Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T11:55:16.489Z] Fetching without tags [2020-04-16T11:55:17.012Z] Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 [2020-04-16T11:55:17.228Z] Merge succeeded, producing 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 [2020-04-16T11:55:17.228Z] Checking out Revision 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 (PR-486) [2020-04-16T11:55:16.378Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T11:55:16.418Z] > git config --add remote.origin.fetch +refs/pull/486/head:refs/remotes/origin/PR-486 # timeout=10 [2020-04-16T11:55:16.431Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T11:55:16.460Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T11:55:16.501Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T11:55:16.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T11:55:16.523Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T11:55:17.035Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T11:55:17.055Z] > git checkout -f 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 # timeout=10 [2020-04-16T11:55:17.155Z] > git remote # timeout=10 [2020-04-16T11:55:17.169Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T11:55:17.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T11:55:17.193Z] > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 [2020-04-16T11:55:17.215Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T11:55:17.236Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T11:55:17.258Z] > git checkout -f 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 # timeout=10 [2020-04-16T11:55:20.986Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-16T11:55:21.246Z] Removing intermediate container a434c6d30a53 [2020-04-16T11:55:21.246Z] ---> 476d31cd21bb [2020-04-16T11:55:21.246Z] Step 10/21 : FROM scratch [2020-04-16T11:55:21.246Z] ---> [2020-04-16T11:55:21.246Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T11:55:21.246Z] ---> Running in b164ccdcc5d5 [2020-04-16T11:55:21.506Z] Removing intermediate container b164ccdcc5d5 [2020-04-16T11:55:21.506Z] ---> 9346e64b5266 [2020-04-16T11:55:21.506Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-16T11:55:21.506Z] ---> Running in af03282621b4 [2020-04-16T11:55:21.506Z] Removing intermediate container af03282621b4 [2020-04-16T11:55:21.506Z] ---> 0403de0a60b5 [2020-04-16T11:55:21.506Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-16T11:55:21.506Z] ---> Running in afe0005e8733 [2020-04-16T11:55:21.676Z] Commit message: "Update porfile in add device callback handler" [2020-04-16T11:55:21.728Z] > git --version # timeout=10 [2020-04-16T11:55:21.746Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [2020-04-16T11:55:21.766Z] Removing intermediate container afe0005e8733 [2020-04-16T11:55:21.766Z] ---> b9b59eac973b [2020-04-16T11:55:21.766Z] Step 14/21 : WORKDIR / [2020-04-16T11:55:21.766Z] ---> Running in 817f2eb0aacc [2020-04-16T11:55:21.766Z] Removing intermediate container 817f2eb0aacc [2020-04-16T11:55:21.766Z] ---> 9eb16bb51e35 [2020-04-16T11:55:21.766Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [Pipeline] withEnv [Pipeline] { [2020-04-16T11:55:22.335Z] ---> da504600f048 [2020-04-16T11:55:22.335Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-16T11:55:22.904Z] ---> e90f40e5154e [2020-04-16T11:55:22.904Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-16T11:55:22.904Z] ---> 94a4d3c895ee [2020-04-16T11:55:22.904Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-16T11:55:22.904Z] ---> Running in bad74f4e5d95 [2020-04-16T11:55:23.163Z] Removing intermediate container bad74f4e5d95 [2020-04-16T11:55:23.163Z] ---> 0437ff3b6064 [2020-04-16T11:55:23.163Z] Step 19/21 : LABEL arch=amd64 [2020-04-16T11:55:23.163Z] ---> Running in 65a1b5c43516 [Pipeline] echo [2020-04-16T11:55:23.342Z] ========================================================= [2020-04-16T11:55:23.342Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-16T11:55:23.342Z] ========================================================= [Pipeline] isUnix [2020-04-16T11:55:23.423Z] Removing intermediate container 65a1b5c43516 [2020-04-16T11:55:23.423Z] ---> fe2cf7a1b3fc [2020-04-16T11:55:23.423Z] Step 20/21 : LABEL git_sha=4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 [2020-04-16T11:55:23.423Z] ---> Running in fbc78f209b4a [2020-04-16T11:55:23.423Z] Removing intermediate container fbc78f209b4a [2020-04-16T11:55:23.423Z] ---> 867fbefdf90d [2020-04-16T11:55:23.423Z] Step 21/21 : LABEL version=0.0.0 [Pipeline] sh [2020-04-16T11:55:23.682Z] ---> Running in 0871c633e2bb [2020-04-16T11:55:23.682Z] Removing intermediate container 0871c633e2bb [2020-04-16T11:55:23.682Z] ---> 55304d9acb56 [2020-04-16T11:55:23.682Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T11:55:23.682Z] Successfully built 55304d9acb56 [2020-04-16T11:55:23.682Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-04-16T11:55:24.435Z] + 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 . Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-04-16T11:55:25.418Z] Sending build context to Docker daemon 2.873MB [2020-04-16T11:55:25.418Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T11:55:25.418Z] Step 2/8 : FROM ${BASE} [Pipeline] } [2020-04-16T11:55:25.688Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-16T11:55:25.688Z] cde5963f3b93: Pulling fs layer [2020-04-16T11:55:25.688Z] 2a23fa8c16f7: Pulling fs layer [2020-04-16T11:55:25.688Z] 777b28850792: Pulling fs layer [2020-04-16T11:55:25.688Z] 8a11ddd9e578: Pulling fs layer [2020-04-16T11:55:25.688Z] 4cf88f913ddb: Pulling fs layer [2020-04-16T11:55:25.688Z] 1df406cf5192: Pulling fs layer [2020-04-16T11:55:25.688Z] cd6300453558: Pulling fs layer [2020-04-16T11:55:25.688Z] b9c365052c96: Pulling fs layer [2020-04-16T11:55:25.688Z] a2d8cc88f415: Pulling fs layer [2020-04-16T11:55:25.688Z] ea1d1ca13537: Pulling fs layer [2020-04-16T11:55:25.688Z] 3750a50a1c5e: Pulling fs layer [2020-04-16T11:55:25.688Z] 8a11ddd9e578: Waiting [2020-04-16T11:55:25.688Z] 4cf88f913ddb: Waiting [2020-04-16T11:55:25.688Z] 1df406cf5192: Waiting [2020-04-16T11:55:25.688Z] cd6300453558: Waiting [2020-04-16T11:55:25.688Z] b9c365052c96: Waiting [2020-04-16T11:55:25.688Z] a2d8cc88f415: Waiting [2020-04-16T11:55:25.688Z] ea1d1ca13537: Waiting [2020-04-16T11:55:25.688Z] 3750a50a1c5e: Waiting [2020-04-16T11:55:25.688Z] 777b28850792: Verifying Checksum [2020-04-16T11:55:25.688Z] 777b28850792: Download complete [2020-04-16T11:55:25.688Z] 2a23fa8c16f7: Download complete [2020-04-16T11:55:25.688Z] 4cf88f913ddb: Verifying Checksum [2020-04-16T11:55:25.688Z] 4cf88f913ddb: Download complete [2020-04-16T11:55:25.688Z] 1df406cf5192: Verifying Checksum [2020-04-16T11:55:25.688Z] 1df406cf5192: Download complete [2020-04-16T11:55:25.958Z] cde5963f3b93: Verifying Checksum [2020-04-16T11:55:26.547Z] cde5963f3b93: Pull complete [2020-04-16T11:55:27.137Z] 2a23fa8c16f7: Pull complete [2020-04-16T11:55:27.734Z] 777b28850792: Pull complete [2020-04-16T11:55:30.347Z] cd6300453558: Verifying Checksum [2020-04-16T11:55:30.347Z] cd6300453558: Download complete [2020-04-16T11:55:30.347Z] a2d8cc88f415: Verifying Checksum [2020-04-16T11:55:30.347Z] a2d8cc88f415: Download complete [2020-04-16T11:55:32.947Z] ea1d1ca13537: Verifying Checksum [2020-04-16T11:55:32.947Z] ea1d1ca13537: Download complete [2020-04-16T11:55:32.947Z] 3750a50a1c5e: Verifying Checksum [2020-04-16T11:55:32.947Z] 3750a50a1c5e: Download complete [2020-04-16T11:55:35.532Z] b9c365052c96: Verifying Checksum [2020-04-16T11:55:35.532Z] b9c365052c96: Download complete [2020-04-16T11:55:36.949Z] 8a11ddd9e578: Verifying Checksum [2020-04-16T11:55:36.949Z] 8a11ddd9e578: Download complete [2020-04-16T11:55:49.303Z] 8a11ddd9e578: Pull complete [2020-04-16T11:55:49.303Z] 4cf88f913ddb: Pull complete [2020-04-16T11:55:49.303Z] 1df406cf5192: Pull complete [2020-04-16T11:55:54.668Z] cd6300453558: Pull complete [2020-04-16T11:55:58.938Z] b9c365052c96: Pull complete [2020-04-16T11:55:58.938Z] a2d8cc88f415: Pull complete [2020-04-16T11:56:00.924Z] ea1d1ca13537: Pull complete [2020-04-16T11:56:01.195Z] 3750a50a1c5e: Pull complete [2020-04-16T11:56:01.195Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-16T11:56:01.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-16T11:56:01.195Z] ---> 78745c68409d [2020-04-16T11:56:01.195Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T11:56:05.456Z] ---> Running in 21d5a9301318 [2020-04-16T11:56:05.727Z] Removing intermediate container 21d5a9301318 [2020-04-16T11:56:05.727Z] ---> 54d9a571928a [2020-04-16T11:56:05.727Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T11:56:05.727Z] ---> Running in fef2721195f5 [2020-04-16T11:56:07.687Z] Removing intermediate container fef2721195f5 [2020-04-16T11:56:07.687Z] ---> 6b4fa131b5b0 [2020-04-16T11:56:07.687Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-16T11:56:07.959Z] ---> Running in cb0b74e2ee8f [2020-04-16T11:56:08.926Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T11:56:09.508Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T11:56:10.095Z] OK: 125 MiB in 39 packages [2020-04-16T11:56:11.509Z] Removing intermediate container cb0b74e2ee8f [2020-04-16T11:56:11.509Z] ---> 276a457f3c4a [2020-04-16T11:56:11.509Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-16T11:56:11.509Z] ---> Running in a1478d123235 [2020-04-16T11:56:11.778Z] Removing intermediate container a1478d123235 [2020-04-16T11:56:11.778Z] ---> dc9f02e5749e [2020-04-16T11:56:11.778Z] Step 7/8 : COPY . . [2020-04-16T11:56:13.194Z] ---> f2a6c7e882a8 [2020-04-16T11:56:13.194Z] Step 8/8 : RUN go mod download [2020-04-16T11:56:13.194Z] ---> Running in e0377619a2ac [2020-04-16T11:56:15.141Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T11:56:15.141Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-16T11:56:15.141Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T11:56:15.141Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T11:56:15.141Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T11:56:15.141Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T11:56:15.141Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-16T11:56:15.141Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T11:56:15.141Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-16T11:56:15.141Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-16T11:56:15.141Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-16T11:56:15.141Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-16T11:56:15.141Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-16T11:56:15.141Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T11:56:15.141Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-16T11:56:15.141Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T11:56:15.141Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T11:56:15.141Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T11:56:15.141Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T11:56:15.141Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T11:56:15.141Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-16T11:56:15.141Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-16T11:56:15.141Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-16T11:56:15.141Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T11:56:15.141Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-16T11:56:15.141Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T11:56:15.407Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T11:56:15.407Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T11:56:15.407Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T11:56:15.407Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T11:56:15.407Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T11:56:15.407Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T11:56:15.407Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T11:56:15.407Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T11:56:15.407Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T11:56:15.407Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T11:56:15.407Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T11:56:15.407Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T11:56:15.407Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T11:56:15.407Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T11:56:15.407Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T11:56:15.407Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T11:56:15.407Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T11:56:15.407Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T11:56:15.407Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T11:56:15.407Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T11:56:15.407Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T11:56:15.407Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T11:56:15.407Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T11:56:15.672Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T11:56:15.672Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T11:56:15.672Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T11:56:15.672Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T11:56:15.672Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T11:56:15.672Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T11:56:15.672Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T11:56:15.672Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T11:56:15.672Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T11:56:15.672Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T11:56:15.672Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-16T11:56:15.941Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T11:56:15.941Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-16T11:56:15.941Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T11:56:15.941Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T11:56:15.941Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T11:56:15.941Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T11:56:15.941Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T11:56:15.941Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-16T11:56:26.045Z] Removing intermediate container e0377619a2ac [2020-04-16T11:56:26.045Z] ---> b082f2957a88 [2020-04-16T11:56:26.045Z] Successfully built b082f2957a88 [2020-04-16T11:56:26.045Z] 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-16T11:56:26.889Z] + docker inspect -f . ci-base-image-arm64 [2020-04-16T11:56:27.160Z] . [Pipeline] withDockerContainer [2020-04-16T11:56:27.514Z] prd-ubuntu18.04-docker-arm64-4c-16g-4261 does not seem to be running inside a container [2020-04-16T11:56:27.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-16T11:56:29.169Z] $ docker top 3e9f218e0499cced20182c122e688994e842480bd9eb607f3798b62a330ce20d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T11:56:30.282Z] + go version [2020-04-16T11:56:30.282Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-16T11:56:30.948Z] + make test [2020-04-16T11:56:30.948Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-16T11:56:32.366Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-16T11:56:59.130Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-16T11:56:59.130Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-16T11:57:00.555Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.046s coverage: 22.1% of statements [2020-04-16T11:57:03.192Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.206s coverage: 95.8% of statements [2020-04-16T11:57:35.493Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 11.4% of statements [2020-04-16T11:57:35.493Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 22.1% of statements [2020-04-16T11:57:35.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-16T11:57:35.493Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.147s coverage: 38.5% of statements [2020-04-16T11:57:35.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-16T11:57:35.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-16T11:57:35.493Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.667s coverage: 79.8% of statements [2020-04-16T11:57:35.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-16T11:57:35.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-16T11:57:35.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-16T11:57:35.493Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements [2020-04-16T11:57:35.493Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-16T11:57:35.493Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.352s coverage: 71.4% of statements [2020-04-16T11:57:35.493Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-16T11:57:35.493Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-16T11:57:35.493Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T11:57:38.860Z] gofmt -l . [2020-04-16T11:57:39.127Z] [ "`gofmt -l .`" = "" ] [2020-04-16T11:57:39.397Z] ./bin/test-attribution-txt.sh [2020-04-16T11:57:39.988Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T11:57:40.606Z] Warning: overwriting stash ‘coverage-report’ [2020-04-16T11:57:41.077Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T11:57:41.107Z] $ docker stop --time=1 3e9f218e0499cced20182c122e688994e842480bd9eb607f3798b62a330ce20d [2020-04-16T11:57:43.561Z] $ docker rm -f 3e9f218e0499cced20182c122e688994e842480bd9eb607f3798b62a330ce20d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T11:57:45.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T11:57:45.625Z] + ls -al . [2020-04-16T11:57:45.625Z] total 200 [2020-04-16T11:57:45.625Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 16 11:57 . [2020-04-16T11:57:45.625Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 11:55 .. [2020-04-16T11:57:45.625Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 11:55 .dockerignore [2020-04-16T11:57:45.625Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 11:55 .git [2020-04-16T11:57:45.625Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 11:55 .github [2020-04-16T11:57:45.625Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 11:55 .gitignore [2020-04-16T11:57:45.625Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 11:55 .semver [2020-04-16T11:57:45.625Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 16 11:55 Dockerfile.build [2020-04-16T11:57:45.625Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 16 11:55 Jenkinsfile [2020-04-16T11:57:45.625Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 11:55 LICENSE [2020-04-16T11:57:45.625Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 16 11:55 Makefile [2020-04-16T11:57:45.625Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 16 11:55 README.md [2020-04-16T11:57:45.625Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 11:51 VERSION [2020-04-16T11:57:45.625Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 11:55 api [2020-04-16T11:57:45.625Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 11:55 bin [2020-04-16T11:57:45.625Z] -rw-r--r-- 1 jenkins jenkins 96404 Apr 16 11:57 coverage.out [2020-04-16T11:57:45.625Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 11:55 example [2020-04-16T11:57:45.625Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 16 11:57 go.mod [2020-04-16T11:57:45.626Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 16 11:57 go.sum [2020-04-16T11:57:45.626Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 16 11:55 internal [2020-04-16T11:57:45.626Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 11:55 pkg [2020-04-16T11:57:45.626Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 11:55 snap [2020-04-16T11:57:45.626Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 11:55 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T11:57:46.038Z] + 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=4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 --label arch=arm64 --label version=0.0.0 . [2020-04-16T11:57:46.652Z] Sending build context to Docker daemon 2.991MB [2020-04-16T11:57:46.652Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-16T11:57:46.652Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-16T11:57:46.652Z] ---> b082f2957a88 [2020-04-16T11:57:46.652Z] Step 3/21 : ARG MAKE='make build' [2020-04-16T11:57:46.935Z] ---> Running in c85671e7ad81 [2020-04-16T11:57:47.214Z] Removing intermediate container c85671e7ad81 [2020-04-16T11:57:47.214Z] ---> 4b7b6d4d4be3 [2020-04-16T11:57:47.214Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-16T11:57:47.214Z] ---> Running in 5ef59c7c19c7 [2020-04-16T11:57:47.807Z] Removing intermediate container 5ef59c7c19c7 [2020-04-16T11:57:47.807Z] ---> 4ac15b022a1a [2020-04-16T11:57:47.807Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T11:57:47.807Z] ---> Running in 1dac45cc8c46 [2020-04-16T11:57:48.079Z] Removing intermediate container 1dac45cc8c46 [2020-04-16T11:57:48.079Z] ---> 22f318f8c948 [2020-04-16T11:57:48.079Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T11:57:48.348Z] ---> Running in 7ccf3e9b4222 [2020-04-16T11:57:50.300Z] Removing intermediate container 7ccf3e9b4222 [2020-04-16T11:57:50.300Z] ---> b2f6bd594af9 [2020-04-16T11:57:50.300Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-16T11:57:50.300Z] ---> Running in 3a79dce1ebae [2020-04-16T11:57:50.887Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T11:57:51.849Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T11:57:52.438Z] OK: 125 MiB in 39 packages [2020-04-16T11:57:53.416Z] Removing intermediate container 3a79dce1ebae [2020-04-16T11:57:53.416Z] ---> f1cd2acab67b [2020-04-16T11:57:53.416Z] Step 8/21 : COPY . . [2020-04-16T11:57:54.392Z] ---> 980a5101c998 [2020-04-16T11:57:54.392Z] Step 9/21 : RUN ${MAKE} [2020-04-16T11:57:54.392Z] ---> Running in 81e11d2e8d38 [2020-04-16T11:57:55.382Z] 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-16T11:58:17.605Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-16T11:58:19.578Z] Removing intermediate container 81e11d2e8d38 [2020-04-16T11:58:19.578Z] ---> c442e2f9bf85 [2020-04-16T11:58:19.578Z] Step 10/21 : FROM scratch [2020-04-16T11:58:19.578Z] ---> [2020-04-16T11:58:19.578Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T11:58:19.845Z] ---> Running in 8beebf557794 [2020-04-16T11:58:20.111Z] Removing intermediate container 8beebf557794 [2020-04-16T11:58:20.111Z] ---> 22cc0ae8dd58 [2020-04-16T11:58:20.111Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-16T11:58:20.381Z] ---> Running in c6d7e5c38914 [2020-04-16T11:58:20.649Z] Removing intermediate container c6d7e5c38914 [2020-04-16T11:58:20.649Z] ---> 55139ec2e3f1 [2020-04-16T11:58:20.649Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-16T11:58:20.649Z] ---> Running in 90419f28fc2a [2020-04-16T11:58:20.916Z] Removing intermediate container 90419f28fc2a [2020-04-16T11:58:20.916Z] ---> d0f07746f4a9 [2020-04-16T11:58:20.916Z] Step 14/21 : WORKDIR / [2020-04-16T11:58:21.183Z] ---> Running in 7d41ecb09a21 [2020-04-16T11:58:21.454Z] Removing intermediate container 7d41ecb09a21 [2020-04-16T11:58:21.454Z] ---> 52715d0efc95 [2020-04-16T11:58:21.454Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-16T11:58:22.430Z] ---> c884ae3739ee [2020-04-16T11:58:22.430Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-16T11:58:23.022Z] ---> 1e1e31ea7ddc [2020-04-16T11:58:23.022Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-16T11:58:23.647Z] ---> 5bb29ac60dd2 [2020-04-16T11:58:23.647Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-16T11:58:23.647Z] ---> Running in 3d1e723156c1 [2020-04-16T11:58:23.934Z] Removing intermediate container 3d1e723156c1 [2020-04-16T11:58:23.934Z] ---> c43dffd47828 [2020-04-16T11:58:23.934Z] Step 19/21 : LABEL arch=arm64 [2020-04-16T11:58:24.211Z] ---> Running in 544028d5576b [2020-04-16T11:58:24.486Z] Removing intermediate container 544028d5576b [2020-04-16T11:58:24.486Z] ---> 37703e83e200 [2020-04-16T11:58:24.486Z] Step 20/21 : LABEL git_sha=4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 [2020-04-16T11:58:24.486Z] ---> Running in 73a2912b8aef [2020-04-16T11:58:25.113Z] Removing intermediate container 73a2912b8aef [2020-04-16T11:58:25.113Z] ---> 0c91c91df700 [2020-04-16T11:58:25.113Z] Step 21/21 : LABEL version=0.0.0 [2020-04-16T11:58:25.113Z] ---> Running in 299d6ff77ce6 [2020-04-16T11:58:25.392Z] Removing intermediate container 299d6ff77ce6 [2020-04-16T11:58:25.392Z] ---> c88824b4c989 [2020-04-16T11:58:25.392Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T11:58:25.392Z] Successfully built c88824b4c989 [2020-04-16T11:58:25.392Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-16T11:58:27.558Z] provisioning config files... [2020-04-16T11:58:27.572Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-486@tmp/config918633459682191856tmp [Pipeline] { [Pipeline] sh [2020-04-16T11:58:27.974Z] + curl -s https://codecov.io/bash [2020-04-16T11:58:27.974Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-486@tmp/config918633459682191856tmp [2020-04-16T11:58:28.237Z] [2020-04-16T11:58:28.237Z] _____ _ [2020-04-16T11:58:28.237Z] / ____| | | [2020-04-16T11:58:28.237Z] | | ___ __| | ___ ___ _____ __ [2020-04-16T11:58:28.237Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-16T11:58:28.237Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-16T11:58:28.237Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-16T11:58:28.237Z] Bash-tbd [2020-04-16T11:58:28.237Z] [2020-04-16T11:58:28.237Z] [2020-04-16T11:58:28.237Z] ==> Jenkins CI detected. [2020-04-16T11:58:28.237Z] project root: . [2020-04-16T11:58:28.237Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-16T11:58:28.238Z] ==> Running gcov in . (disable via -X gcov) [2020-04-16T11:58:28.238Z] ==> Python coveragepy not found [2020-04-16T11:58:28.238Z] ==> Searching for coverage reports in: [2020-04-16T11:58:28.238Z] + . [2020-04-16T11:58:28.238Z] -> Found 1 reports [2020-04-16T11:58:28.238Z] ==> Detecting git/mercurial file structure [2020-04-16T11:58:28.238Z] ==> Reading reports [2020-04-16T11:58:28.238Z] + ./coverage.out bytes=96404 [2020-04-16T11:58:28.238Z] ==> Appending adjustments [2020-04-16T11:58:28.238Z] http://docs.codecov.io/docs/fixing-reports [2020-04-16T11:58:28.498Z] + Found adjustments [2020-04-16T11:58:28.498Z] ==> Gzipping contents [2020-04-16T11:58:28.498Z] ==> Uploading reports [2020-04-16T11:58:28.498Z] url: https://codecov.io [2020-04-16T11:58:28.498Z] query: branch=PR-486&commit=4e12e2e968ba2f7c7f41979f6c67a36f16b30b30&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-486%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=486&job= [2020-04-16T11:58:28.498Z] -> Pinging Codecov [2020-04-16T11:58:28.498Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-486&commit=4e12e2e968ba2f7c7f41979f6c67a36f16b30b30&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-486%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=486&job= [2020-04-16T11:58:28.762Z] -> Sleeping for 30s and trying again... [2020-04-16T11:59:01.000Z] -> Pinging Codecov [2020-04-16T11:59:01.000Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-486&commit=4e12e2e968ba2f7c7f41979f6c67a36f16b30b30&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-486%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=486&job= [2020-04-16T11:59:01.000Z] -> Uploading [2020-04-16T11:59:01.000Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 [Pipeline] } [2020-04-16T11:59:01.031Z] 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-16T11:59:02.869Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T11:59:03.241Z] ---> package-listing.sh [2020-04-16T11:59:03.241Z] ++ facter osfamily [2020-04-16T11:59:03.241Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-16T11:59:03.241Z] + OS_FAMILY=redhat [2020-04-16T11:59:03.241Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-486 [2020-04-16T11:59:03.241Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-16T11:59:03.241Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-16T11:59:03.241Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-16T11:59:03.241Z] + PACKAGES=/tmp/packages_start.txt [2020-04-16T11:59:03.241Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-486 ']' [2020-04-16T11:59:03.241Z] + PACKAGES=/tmp/packages_end.txt [2020-04-16T11:59:03.241Z] + case "${OS_FAMILY}" in [2020-04-16T11:59:03.241Z] + rpm -qa [2020-04-16T11:59:03.241Z] + sort [2020-04-16T11:59:07.451Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-16T11:59:07.451Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-16T11:59:07.451Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-16T11:59:07.451Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-486 ']' [2020-04-16T11:59:07.451Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-486/archives/ [2020-04-16T11:59:07.451Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-486/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-16T11:59:08.035Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T11:59:08.035Z] [2020-04-16T11:59:08.035Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-16T11:59:08.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T11:59:08.483Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-16T11:59:08.483Z] c9b1b535fdd9: Pulling fs layer [2020-04-16T11:59:08.483Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-16T11:59:08.483Z] 756a868c4378: Pulling fs layer [2020-04-16T11:59:08.483Z] 444b2fc9a129: Pulling fs layer [2020-04-16T11:59:08.483Z] ea15f1150254: Pulling fs layer [2020-04-16T11:59:08.483Z] 41b27a9f41bf: Pulling fs layer [2020-04-16T11:59:08.483Z] 28c525ee5125: Pulling fs layer [2020-04-16T11:59:08.483Z] 094b1ea09ed8: Pulling fs layer [2020-04-16T11:59:08.483Z] 138eaada9080: Pulling fs layer [2020-04-16T11:59:08.483Z] 0622d0fa9048: Pulling fs layer [2020-04-16T11:59:08.483Z] 28c525ee5125: Waiting [2020-04-16T11:59:08.483Z] 41b27a9f41bf: Waiting [2020-04-16T11:59:08.483Z] 444b2fc9a129: Waiting [2020-04-16T11:59:08.483Z] ea15f1150254: Waiting [2020-04-16T11:59:08.483Z] 094b1ea09ed8: Waiting [2020-04-16T11:59:08.483Z] 138eaada9080: Waiting [2020-04-16T11:59:08.483Z] 0622d0fa9048: Waiting [2020-04-16T11:59:08.483Z] 2cc5ad85d9ab: Download complete [2020-04-16T11:59:08.483Z] 444b2fc9a129: Download complete [2020-04-16T11:59:08.483Z] c9b1b535fdd9: Verifying Checksum [2020-04-16T11:59:08.749Z] ea15f1150254: Verifying Checksum [2020-04-16T11:59:08.749Z] ea15f1150254: Download complete [2020-04-16T11:59:08.749Z] 28c525ee5125: Verifying Checksum [2020-04-16T11:59:08.749Z] 28c525ee5125: Download complete [2020-04-16T11:59:08.749Z] c9b1b535fdd9: Pull complete [2020-04-16T11:59:09.026Z] 2cc5ad85d9ab: Pull complete [2020-04-16T11:59:09.026Z] 756a868c4378: Verifying Checksum [2020-04-16T11:59:09.026Z] 756a868c4378: Download complete [2020-04-16T11:59:09.293Z] 138eaada9080: Verifying Checksum [2020-04-16T11:59:09.294Z] 138eaada9080: Download complete [2020-04-16T11:59:09.294Z] 0622d0fa9048: Verifying Checksum [2020-04-16T11:59:09.294Z] 0622d0fa9048: Download complete [2020-04-16T11:59:09.571Z] 094b1ea09ed8: Verifying Checksum [2020-04-16T11:59:09.571Z] 094b1ea09ed8: Download complete [2020-04-16T11:59:09.833Z] 41b27a9f41bf: Verifying Checksum [2020-04-16T11:59:09.833Z] 41b27a9f41bf: Download complete [2020-04-16T11:59:10.774Z] 756a868c4378: Pull complete [2020-04-16T11:59:10.774Z] 444b2fc9a129: Pull complete [2020-04-16T11:59:11.038Z] ea15f1150254: Pull complete [2020-04-16T11:59:14.387Z] 41b27a9f41bf: Pull complete [2020-04-16T11:59:14.387Z] 28c525ee5125: Pull complete [2020-04-16T11:59:16.411Z] 094b1ea09ed8: Pull complete [2020-04-16T11:59:16.691Z] 138eaada9080: Pull complete [2020-04-16T11:59:16.691Z] 0622d0fa9048: Pull complete [2020-04-16T11:59:16.691Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-16T11:59:16.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-16T11:59:16.900Z] prd-centos7-docker-4c-2g-4259 does not seem to be running inside a container [2020-04-16T11:59:16.976Z] $ 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-486 -v /w/workspace/dgexfoundry_device-sdk-go_PR-486:/w/workspace/dgexfoundry_device-sdk-go_PR-486:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-486@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-486@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-16T11:59:17.560Z] $ docker top 15dc5763c55a2feb99a079cb8a475d6b18a76f04776db4fb75fe2a6f462fa969 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T11:59:17.896Z] provisioning config files... [2020-04-16T11:59:17.915Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-486@tmp/config557162923226531497tmp [Pipeline] { [Pipeline] echo [2020-04-16T11:59:18.013Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T11:59:18.381Z] ---> create-netrc.sh [Pipeline] echo [2020-04-16T11:59:18.404Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T11:59:18.725Z] ---> logs-deploy.sh [2020-04-16T11:59:18.725Z] + ARCHIVE_ARTIFACTS= [2020-04-16T11:59:18.725Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-16T11:59:18.725Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-16T11:59:18.725Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-16T11:59:18.725Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-486/1 [2020-04-16T11:59:18.725Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-486/1/ [2020-04-16T11:59:18.725Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-486/1 /w/workspace/dgexfoundry_device-sdk-go_PR-486 [2020-04-16T11:59:19.683Z] Archives upload complete. [2020-04-16T11:59:19.943Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-486/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-486/1/