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 11:50:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:50:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:50:48 ========================================================= 11:50:48 EdgeX Global Pipelines Version Info 11:50:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:50:49 ------------------- 11:50:49 stable info: 11:50:49 ------------------- 11:50:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:50:49 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 11:50:49 Message: update stable to v1.0.73 11:50:50 ------------------- 11:50:50 experimental info: 11:50:50 ------------------- 11:50:50 Commited By: **** collab-it+edgex@linuxfoundation.org 11:50:50 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 11:50:50 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 11:50:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:50:53 11:50:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:50:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:50:53 latest: Pulling from edgex-devops/git-semver 11:50:53 9123ac7c32f7: Pulling fs layer 11:50:53 b8cc5d1170e3: Pulling fs layer 11:50:53 2924cbbf6a41: Pulling fs layer 11:50:53 93b08a4f1073: Pulling fs layer 11:50:53 93b08a4f1073: Waiting 11:50:53 b8cc5d1170e3: Verifying Checksum 11:50:53 b8cc5d1170e3: Download complete 11:50:53 9123ac7c32f7: Verifying Checksum 11:50:53 9123ac7c32f7: Download complete 11:50:53 93b08a4f1073: Verifying Checksum 11:50:53 93b08a4f1073: Download complete 11:50:53 2924cbbf6a41: Verifying Checksum 11:50:53 2924cbbf6a41: Download complete 11:50:53 9123ac7c32f7: Pull complete 11:50:54 b8cc5d1170e3: Pull complete 11:50:54 2924cbbf6a41: Pull complete 11:50:54 93b08a4f1073: Pull complete 11:50:54 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 11:50:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:50:55 prd-centos7-docker-4c-2g-4259 does not seem to be running inside a container 11:50:55 $ 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 11:50:55 $ docker top 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:50:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:50:55 [ssh-agent] Looking for ssh-agent implementation... 11:50:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:50:56 $ docker exec 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 ssh-agent 11:50:56 SSH_AUTH_SOCK=/tmp/ssh-Z3NmOt6kHagW/agent.15 11:50:56 SSH_AGENT_PID=21 11:50:56 Running ssh-add (command line suppressed) 11:50:56 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) 11:50:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:50:56 + git describe --exact-match --tags HEAD 11:50:56 fatal: No names found, cannot describe anything. [Pipeline] } 11:50:57 $ docker exec --env ******** --env ******** 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 ssh-agent -k 11:50:57 unset SSH_AUTH_SOCK; 11:50:57 unset SSH_AGENT_PID; 11:50:57 echo Agent pid 21 killed; 11:50:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:50:57 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 11:50:57 This usually means this commit has not been tagged. [Pipeline] sshagent 11:50:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:50:57 [ssh-agent] Looking for ssh-agent implementation... 11:50:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:50:57 $ docker exec 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 ssh-agent 11:50:57 SSH_AUTH_SOCK=/tmp/ssh-TPXgDgHGwEtG/agent.56 11:50:57 SSH_AGENT_PID=63 11:50:57 Running ssh-add (command line suppressed) 11:50:58 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) 11:50:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:50:58 + git semver init 11:50:58 # -> Open(): unable to determine branch for HEAD 11:50:58 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-486/.git 11:50:58 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-486 11:50:58 # $SEMVER_REMOTE_NAME = origin 11:50:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:50:58 # $SEMVER_USER_NAME = edgex-jenkins 11:50:58 # $SEMVER_BRANCH = PR-486 11:50:58 # $SEMVER_TEMP = /tmp/semver-951926891 11:50:58 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 11:50:58 # '/tmp/semver-951926891' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-486/.semver' 11:50:58 # -> Force: false 11:50:58 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-486/.semver [Pipeline] } 11:50:59 $ docker exec --env ******** --env ******** 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 ssh-agent -k 11:50:59 unset SSH_AUTH_SOCK; 11:50:59 unset SSH_AGENT_PID; 11:50:59 echo Agent pid 63 killed; 11:50:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:50:59 + git semver [Pipeline] } 11:50:59 $ docker stop --time=1 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 11:51:01 $ docker rm -f 9e8119b4a320b791c23ac8a9f202823264cc1bd11c77066f6855e3d4cb42f601 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 11:51:01 Stashed 43 file(s) [Pipeline] echo 11:51:01 [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 11:51:17 Still waiting to schedule task 11:51:17 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:51:17 Still waiting to schedule task 11:51:17 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-4258’ 11:53:34 Running on prd-centos7-docker-4c-2g-4260 in /w/workspace/dgexfoundry_device-sdk-go_PR-486 [Pipeline] { [Pipeline] ws 11:53:34 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 11:53:36 using credential edgex-jenkins-ssh 11:53:36 Cloning the remote Git repository 11:53:36 Cloning with configured refspecs honoured and without tags 11:53:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:53:36 > git init /w/workspace/device-sdk-go/1 # timeout=10 11:53:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:53:36 > git --version # timeout=10 11:53:36 using GIT_SSH to set credentials SSH Credentials for GitHub 11:53:37 Fetching without tags 11:53:37 Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 11:53:36 > 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 11:53:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:53:37 > git config --add remote.origin.fetch +refs/pull/486/head:refs/remotes/origin/PR-486 # timeout=10 11:53:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:53:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:53:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:53:37 using GIT_SSH to set credentials SSH Credentials for GitHub 11:53:37 > 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 11:53:37 > git config core.sparsecheckout # timeout=10 11:53:37 > git checkout -f 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 # timeout=10 11:53:37 Merge succeeded, producing 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 11:53:37 Checking out Revision 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 (PR-486) 11:53:37 > git remote # timeout=10 11:53:37 > git config --get remote.origin.url # timeout=10 11:53:37 using GIT_SSH to set credentials SSH Credentials for GitHub 11:53:37 > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 11:53:37 > git rev-parse HEAD^{commit} # timeout=10 11:53:37 > git config core.sparsecheckout # timeout=10 11:53:37 > git checkout -f 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 # timeout=10 11:53:41 Commit message: "Update porfile in add device callback handler" 11:53:42 > git --version # timeout=10 11:53:42 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:53:43 ========================================================= 11:53:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 11:53:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:53:43 + 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 . 11:53:44 Sending build context to Docker daemon 2.873MB 11:53:44 Step 1/8 : ARG BASE=golang:1.13-alpine 11:53:44 Step 2/8 : FROM ${BASE} 11:53:44 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 11:53:44 e6b0cf9c0882: Pulling fs layer 11:53:44 2848faf0eed1: Pulling fs layer 11:53:44 0f37312ad70f: Pulling fs layer 11:53:44 5788d62ee057: Pulling fs layer 11:53:44 0e6b1d234666: Pulling fs layer 11:53:44 bf5d7aec512f: Pulling fs layer 11:53:44 34c802a77dc8: Pulling fs layer 11:53:44 9eb99e56ec68: Pulling fs layer 11:53:44 27c7a5d97fbd: Pulling fs layer 11:53:44 5c102a31e300: Pulling fs layer 11:53:44 dcfb455df0a1: Pulling fs layer 11:53:44 34c802a77dc8: Waiting 11:53:44 9eb99e56ec68: Waiting 11:53:44 27c7a5d97fbd: Waiting 11:53:44 5c102a31e300: Waiting 11:53:44 dcfb455df0a1: Waiting 11:53:44 0e6b1d234666: Waiting 11:53:44 bf5d7aec512f: Waiting 11:53:44 0f37312ad70f: Verifying Checksum 11:53:44 0f37312ad70f: Download complete 11:53:44 2848faf0eed1: Verifying Checksum 11:53:44 2848faf0eed1: Download complete 11:53:44 0e6b1d234666: Verifying Checksum 11:53:44 0e6b1d234666: Download complete 11:53:44 e6b0cf9c0882: Verifying Checksum 11:53:44 e6b0cf9c0882: Download complete 11:53:44 bf5d7aec512f: Verifying Checksum 11:53:44 bf5d7aec512f: Download complete 11:53:44 e6b0cf9c0882: Pull complete 11:53:44 2848faf0eed1: Pull complete 11:53:45 34c802a77dc8: Verifying Checksum 11:53:45 34c802a77dc8: Download complete 11:53:45 27c7a5d97fbd: Verifying Checksum 11:53:45 27c7a5d97fbd: Download complete 11:53:46 9eb99e56ec68: Verifying Checksum 11:53:46 9eb99e56ec68: Download complete 11:53:46 5c102a31e300: Verifying Checksum 11:53:46 5c102a31e300: Download complete 11:53:46 dcfb455df0a1: Verifying Checksum 11:53:46 dcfb455df0a1: Download complete 11:53:46 5788d62ee057: Verifying Checksum 11:53:46 5788d62ee057: Download complete 11:53:46 0f37312ad70f: Pull complete 11:53:52 5788d62ee057: Pull complete 11:53:52 0e6b1d234666: Pull complete 11:53:52 bf5d7aec512f: Pull complete 11:53:57 34c802a77dc8: Pull complete 11:53:59 9eb99e56ec68: Pull complete 11:54:00 27c7a5d97fbd: Pull complete 11:54:01 5c102a31e300: Pull complete 11:54:01 dcfb455df0a1: Pull complete 11:54:01 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 11:54:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 11:54:01 ---> 7c70fe431013 11:54:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:54:01 ---> Running in 2d2a667b577a 11:54:01 Removing intermediate container 2d2a667b577a 11:54:01 ---> 60fe936dccd7 11:54:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:54:01 ---> Running in dc0141bdb63a 11:54:02 Removing intermediate container dc0141bdb63a 11:54:02 ---> 86f4a213f053 11:54:02 Step 5/8 : RUN apk add --no-cache make git 11:54:02 ---> Running in d38ca9b332e7 11:54:02 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 11:54:03 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 11:54:03 OK: 143 MiB in 39 packages 11:54:04 Removing intermediate container d38ca9b332e7 11:54:04 ---> 9c68f9e3196a 11:54:04 Step 6/8 : WORKDIR /device-sdk-go 11:54:04 ---> Running in 397ac9032e2f 11:54:04 Removing intermediate container 397ac9032e2f 11:54:04 ---> 26e85c1464ec 11:54:04 Step 7/8 : COPY . . 11:54:05 ---> bc16d704fd81 11:54:05 Step 8/8 : RUN go mod download 11:54:05 ---> Running in fceeec8301f6 11:54:07 go: finding github.com/BurntSushi/toml v0.3.1 11:54:07 go: finding github.com/OneOfOne/xxhash v1.2.6 11:54:07 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 11:54:07 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:54:07 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 11:54:07 go: finding github.com/bgentry/speakeasy v0.1.0 11:54:07 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 11:54:07 go: finding github.com/davecgh/go-spew v1.1.1 11:54:07 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 11:54:07 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 11:54:07 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 11:54:07 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 11:54:07 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 11:54:07 go: finding github.com/fatih/color v1.7.0 11:54:07 go: finding github.com/fxamacker/cbor/v2 v2.2.0 11:54:07 go: finding github.com/go-kit/kit v0.8.0 11:54:07 go: finding github.com/go-logfmt/logfmt v0.4.0 11:54:07 go: finding github.com/go-stack/stack v1.8.0 11:54:07 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 11:54:07 go: finding github.com/google/uuid v1.1.0 11:54:08 go: finding github.com/gorilla/mux v1.7.1 11:54:08 go: finding github.com/hashicorp/consul/api v1.1.0 11:54:08 go: finding github.com/hashicorp/consul/sdk v0.1.1 11:54:08 go: finding github.com/hashicorp/errwrap v1.0.0 11:54:08 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 11:54:08 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 11:54:08 go: finding github.com/hashicorp/go-msgpack v0.5.3 11:54:08 go: finding github.com/hashicorp/go-multierror v1.0.0 11:54:08 go: finding github.com/hashicorp/go-rootcerts v1.0.0 11:54:08 go: finding github.com/hashicorp/go-sockaddr v1.0.0 11:54:08 go: finding github.com/hashicorp/go-syslog v1.0.0 11:54:08 go: finding github.com/hashicorp/go-uuid v1.0.1 11:54:08 go: finding github.com/hashicorp/go.net v0.0.1 11:54:08 go: finding github.com/hashicorp/golang-lru v0.5.0 11:54:08 go: finding github.com/hashicorp/logutils v1.0.0 11:54:08 go: finding github.com/hashicorp/mdns v1.0.0 11:54:08 go: finding github.com/hashicorp/memberlist v0.1.3 11:54:08 go: finding github.com/hashicorp/serf v0.8.2 11:54:08 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 11:54:08 go: finding github.com/mattn/go-colorable v0.0.9 11:54:08 go: finding github.com/mattn/go-isatty v0.0.3 11:54:08 go: finding github.com/miekg/dns v1.0.14 11:54:08 go: finding github.com/mitchellh/cli v1.0.0 11:54:08 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:54:08 go: finding github.com/mitchellh/copystructure v1.0.0 11:54:08 go: finding github.com/mitchellh/go-homedir v1.0.0 11:54:08 go: finding github.com/mitchellh/go-testing-interface v1.0.0 11:54:08 go: finding github.com/mitchellh/gox v0.4.0 11:54:08 go: finding github.com/mitchellh/iochan v1.0.0 11:54:08 go: finding github.com/mitchellh/mapstructure v1.1.2 11:54:08 go: finding github.com/mitchellh/reflectwalk v1.0.0 11:54:08 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 11:54:08 go: finding github.com/pelletier/go-toml v1.2.0 11:54:08 go: finding github.com/pkg/errors v0.8.1 11:54:08 go: finding github.com/pmezard/go-difflib v1.0.0 11:54:08 go: finding github.com/posener/complete v1.1.1 11:54:08 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 11:54:09 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 11:54:09 go: finding github.com/stretchr/objx v0.1.0 11:54:09 go: finding github.com/stretchr/testify v1.5.1 11:54:09 go: finding github.com/ugorji/go v1.1.4 11:54:09 go: finding github.com/x448/float16 v0.8.4 11:54:09 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 11:54:09 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 11:54:09 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 11:54:09 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 11:54:09 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 11:54:09 go: finding gopkg.in/yaml.v2 v2.2.8 11:54:13 Removing intermediate container fceeec8301f6 11:54:13 ---> 35f4745e3d39 11:54:13 Successfully built 35f4745e3d39 11:54:13 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 11:54:14 + docker inspect -f . ci-base-image-x86_64 11:54:14 . [Pipeline] withDockerContainer 11:54:14 prd-centos7-docker-4c-2g-4260 does not seem to be running inside a container 11:54:14 $ 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 11:54:15 $ docker top feb17b88f98aa20182e004d95f33812910674c22c265440731f652eaed2c28bf -eo pid,comm [Pipeline] { [Pipeline] sh 11:54:15 + go version 11:54:15 go version go1.13.5 linux/amd64 [Pipeline] sh 11:54:15 + make test 11:54:15 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:54:18 ? github.com/edgexfoundry/device-sdk-go [no test files] 11:54:28 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 11:54:28 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 11:54:28 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.014s coverage: 22.1% of statements 11:54:31 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements 11:55:03 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.042s coverage: 11.4% of statements 11:55:03 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.012s coverage: 22.1% of statements 11:55:03 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 11:55:03 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.067s coverage: 38.5% of statements 11:55:03 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 11:55:03 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 11:55:03 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.362s coverage: 79.8% of statements 11:55:03 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 11:55:03 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 11:55:03 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 11:55:03 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.019s coverage: 52.6% of statements 11:55:03 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 11:55:03 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.105s coverage: 71.4% of statements 11:55:03 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 11:55:03 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 11:55:03 CGO_ENABLED=0 GO111MODULE=on go vet ./... 11:55:03 gofmt -l . 11:55:03 [ "`gofmt -l .`" = "" ] 11:55:03 ./bin/test-attribution-txt.sh 11:55:04 ./bin/test-go-mod-tidy.sh [Pipeline] stash 11:55:05 Stashed 1 file(s) [Pipeline] } 11:55:05 $ docker stop --time=1 feb17b88f98aa20182e004d95f33812910674c22c265440731f652eaed2c28bf 11:55:06 $ docker rm -f feb17b88f98aa20182e004d95f33812910674c22c265440731f652eaed2c28bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:55:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:55:08 + ls -al . 11:55:08 total 160 11:55:08 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 16 11:55 . 11:55:08 drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 11:53 .. 11:55:08 drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 11:53 api 11:55:08 drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 11:53 bin 11:55:08 -rw-r--r--. 1 jenkins jenkins 96404 Apr 16 11:55 coverage.out 11:55:08 -rw-rw-r--. 1 jenkins jenkins 936 Apr 16 11:53 Dockerfile.build 11:55:08 -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 11:53 .dockerignore 11:55:08 drwxrwxr-x. 4 jenkins jenkins 31 Apr 16 11:53 example 11:55:08 drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 11:53 .git 11:55:08 drwxrwxr-x. 2 jenkins jenkins 38 Apr 16 11:53 .github 11:55:08 -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 11:53 .gitignore 11:55:08 -rw-r--r--. 1 jenkins jenkins 446 Apr 16 11:55 go.mod 11:55:08 -rw-r--r--. 1 jenkins jenkins 12076 Apr 16 11:55 go.sum 11:55:08 drwxrwxr-x. 14 jenkins jenkins 196 Apr 16 11:53 internal 11:55:08 -rw-rw-r--. 1 jenkins jenkins 808 Apr 16 11:53 Jenkinsfile 11:55:08 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 11:53 LICENSE 11:55:08 -rw-rw-r--. 1 jenkins jenkins 892 Apr 16 11:53 Makefile 11:55:08 drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 11:53 pkg 11:55:08 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 16 11:53 README.md 11:55:08 drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 11:53 .semver 11:55:08 drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 11:53 snap 11:55:08 -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 11:51 VERSION 11:55:08 -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 11:53 version.go [Pipeline] isUnix [Pipeline] sh 11:55:08 + 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 . 11:55:08 Sending build context to Docker daemon 2.991MB 11:55:08 Step 1/21 : ARG BASE=golang:1.13-alpine 11:55:08 Step 2/21 : FROM ${BASE} AS builder 11:55:08 ---> 35f4745e3d39 11:55:08 Step 3/21 : ARG MAKE='make build' 11:55:08 ---> Running in cbaf068ff9c5 11:55:08 Removing intermediate container cbaf068ff9c5 11:55:08 ---> b376c6ed284f 11:55:08 Step 4/21 : WORKDIR /device-sdk-go 11:55:08 ---> Running in 467662d90e51 11:55:09 Removing intermediate container 467662d90e51 11:55:09 ---> 9c5b678ec34b 11:55:09 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:55:09 ---> Running in 563064204f9a 11:55:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4261 in /w/workspace/dgexfoundry_device-sdk-go_PR-486 [Pipeline] { [Pipeline] ws 11:55:09 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 11:55:09 Removing intermediate container 563064204f9a 11:55:09 ---> 519959a3b624 11:55:09 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:55:09 ---> Running in b4141512abf0 11:55:10 Removing intermediate container b4141512abf0 11:55:10 ---> 4ffa3824f5fe 11:55:10 Step 7/21 : RUN apk add --update --no-cache make git 11:55:10 ---> Running in 40522313ed3e 11:55:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 11:55:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 11:55:11 OK: 143 MiB in 39 packages 11:55:11 Removing intermediate container 40522313ed3e 11:55:11 ---> 52792b63621a 11:55:11 Step 8/21 : COPY . . 11:55:12 ---> 232e8425bfde 11:55:12 Step 9/21 : RUN ${MAKE} 11:55:12 ---> Running in a434c6d30a53 11:55:12 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 11:55:15 using credential edgex-jenkins-ssh 11:55:15 Cloning the remote Git repository 11:55:15 Cloning with configured refspecs honoured and without tags 11:55:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:55:15 > git init /w/workspace/device-sdk-go/1 # timeout=10 11:55:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:55:15 > git --version # timeout=10 11:55:15 using GIT_SSH to set credentials SSH Credentials for GitHub 11:55:15 > 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 11:55:16 Fetching without tags 11:55:17 Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 11:55:17 Merge succeeded, producing 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 11:55:17 Checking out Revision 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 (PR-486) 11:55:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:55:16 > git config --add remote.origin.fetch +refs/pull/486/head:refs/remotes/origin/PR-486 # timeout=10 11:55:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:55:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:55:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:55:16 using GIT_SSH to set credentials SSH Credentials for GitHub 11:55:16 > 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 11:55:17 > git config core.sparsecheckout # timeout=10 11:55:17 > git checkout -f 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 # timeout=10 11:55:17 > git remote # timeout=10 11:55:17 > git config --get remote.origin.url # timeout=10 11:55:17 using GIT_SSH to set credentials SSH Credentials for GitHub 11:55:17 > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 11:55:17 > git rev-parse HEAD^{commit} # timeout=10 11:55:17 > git config core.sparsecheckout # timeout=10 11:55:17 > git checkout -f 4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 # timeout=10 11:55:20 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 11:55:21 Removing intermediate container a434c6d30a53 11:55:21 ---> 476d31cd21bb 11:55:21 Step 10/21 : FROM scratch 11:55:21 ---> 11:55:21 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:55:21 ---> Running in b164ccdcc5d5 11:55:21 Removing intermediate container b164ccdcc5d5 11:55:21 ---> 9346e64b5266 11:55:21 Step 12/21 : ENV APP_PORT=49990 11:55:21 ---> Running in af03282621b4 11:55:21 Removing intermediate container af03282621b4 11:55:21 ---> 0403de0a60b5 11:55:21 Step 13/21 : EXPOSE $APP_PORT 11:55:21 ---> Running in afe0005e8733 11:55:21 Commit message: "Update porfile in add device callback handler" 11:55:21 > git --version # timeout=10 11:55:21 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 11:55:21 Removing intermediate container afe0005e8733 11:55:21 ---> b9b59eac973b 11:55:21 Step 14/21 : WORKDIR / 11:55:21 ---> Running in 817f2eb0aacc 11:55:21 Removing intermediate container 817f2eb0aacc 11:55:21 ---> 9eb16bb51e35 11:55:21 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [Pipeline] withEnv [Pipeline] { 11:55:22 ---> da504600f048 11:55:22 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 11:55:22 ---> e90f40e5154e 11:55:22 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 11:55:22 ---> 94a4d3c895ee 11:55:22 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:55:22 ---> Running in bad74f4e5d95 11:55:23 Removing intermediate container bad74f4e5d95 11:55:23 ---> 0437ff3b6064 11:55:23 Step 19/21 : LABEL arch=amd64 11:55:23 ---> Running in 65a1b5c43516 [Pipeline] echo 11:55:23 ========================================================= 11:55:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 11:55:23 ========================================================= [Pipeline] isUnix 11:55:23 Removing intermediate container 65a1b5c43516 11:55:23 ---> fe2cf7a1b3fc 11:55:23 Step 20/21 : LABEL git_sha=4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 11:55:23 ---> Running in fbc78f209b4a 11:55:23 Removing intermediate container fbc78f209b4a 11:55:23 ---> 867fbefdf90d 11:55:23 Step 21/21 : LABEL version=0.0.0 [Pipeline] sh 11:55:23 ---> Running in 0871c633e2bb 11:55:23 Removing intermediate container 0871c633e2bb 11:55:23 ---> 55304d9acb56 11:55:23 [Warning] One or more build-args [ARCH] were not consumed 11:55:23 Successfully built 55304d9acb56 11:55:23 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 11:55:24 + 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 11:55:25 Sending build context to Docker daemon 2.873MB 11:55:25 Step 1/8 : ARG BASE=golang:1.13-alpine 11:55:25 Step 2/8 : FROM ${BASE} [Pipeline] } 11:55:25 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:55:25 cde5963f3b93: Pulling fs layer 11:55:25 2a23fa8c16f7: Pulling fs layer 11:55:25 777b28850792: Pulling fs layer 11:55:25 8a11ddd9e578: Pulling fs layer 11:55:25 4cf88f913ddb: Pulling fs layer 11:55:25 1df406cf5192: Pulling fs layer 11:55:25 cd6300453558: Pulling fs layer 11:55:25 b9c365052c96: Pulling fs layer 11:55:25 a2d8cc88f415: Pulling fs layer 11:55:25 ea1d1ca13537: Pulling fs layer 11:55:25 3750a50a1c5e: Pulling fs layer 11:55:25 8a11ddd9e578: Waiting 11:55:25 4cf88f913ddb: Waiting 11:55:25 1df406cf5192: Waiting 11:55:25 cd6300453558: Waiting 11:55:25 b9c365052c96: Waiting 11:55:25 a2d8cc88f415: Waiting 11:55:25 ea1d1ca13537: Waiting 11:55:25 3750a50a1c5e: Waiting 11:55:25 777b28850792: Verifying Checksum 11:55:25 777b28850792: Download complete 11:55:25 2a23fa8c16f7: Download complete 11:55:25 4cf88f913ddb: Verifying Checksum 11:55:25 4cf88f913ddb: Download complete 11:55:25 1df406cf5192: Verifying Checksum 11:55:25 1df406cf5192: Download complete 11:55:25 cde5963f3b93: Verifying Checksum 11:55:26 cde5963f3b93: Pull complete 11:55:27 2a23fa8c16f7: Pull complete 11:55:27 777b28850792: Pull complete 11:55:30 cd6300453558: Verifying Checksum 11:55:30 cd6300453558: Download complete 11:55:30 a2d8cc88f415: Verifying Checksum 11:55:30 a2d8cc88f415: Download complete 11:55:32 ea1d1ca13537: Verifying Checksum 11:55:32 ea1d1ca13537: Download complete 11:55:32 3750a50a1c5e: Verifying Checksum 11:55:32 3750a50a1c5e: Download complete 11:55:35 b9c365052c96: Verifying Checksum 11:55:35 b9c365052c96: Download complete 11:55:36 8a11ddd9e578: Verifying Checksum 11:55:36 8a11ddd9e578: Download complete 11:55:49 8a11ddd9e578: Pull complete 11:55:49 4cf88f913ddb: Pull complete 11:55:49 1df406cf5192: Pull complete 11:55:54 cd6300453558: Pull complete 11:55:58 b9c365052c96: Pull complete 11:55:58 a2d8cc88f415: Pull complete 11:56:00 ea1d1ca13537: Pull complete 11:56:01 3750a50a1c5e: Pull complete 11:56:01 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 11:56:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 11:56:01 ---> 78745c68409d 11:56:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:56:05 ---> Running in 21d5a9301318 11:56:05 Removing intermediate container 21d5a9301318 11:56:05 ---> 54d9a571928a 11:56:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:56:05 ---> Running in fef2721195f5 11:56:07 Removing intermediate container fef2721195f5 11:56:07 ---> 6b4fa131b5b0 11:56:07 Step 5/8 : RUN apk add --no-cache make git 11:56:07 ---> Running in cb0b74e2ee8f 11:56:08 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 11:56:09 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 11:56:10 OK: 125 MiB in 39 packages 11:56:11 Removing intermediate container cb0b74e2ee8f 11:56:11 ---> 276a457f3c4a 11:56:11 Step 6/8 : WORKDIR /device-sdk-go 11:56:11 ---> Running in a1478d123235 11:56:11 Removing intermediate container a1478d123235 11:56:11 ---> dc9f02e5749e 11:56:11 Step 7/8 : COPY . . 11:56:13 ---> f2a6c7e882a8 11:56:13 Step 8/8 : RUN go mod download 11:56:13 ---> Running in e0377619a2ac 11:56:15 go: finding github.com/BurntSushi/toml v0.3.1 11:56:15 go: finding github.com/OneOfOne/xxhash v1.2.6 11:56:15 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 11:56:15 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:56:15 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 11:56:15 go: finding github.com/bgentry/speakeasy v0.1.0 11:56:15 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 11:56:15 go: finding github.com/davecgh/go-spew v1.1.1 11:56:15 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 11:56:15 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 11:56:15 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 11:56:15 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 11:56:15 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 11:56:15 go: finding github.com/fatih/color v1.7.0 11:56:15 go: finding github.com/fxamacker/cbor/v2 v2.2.0 11:56:15 go: finding github.com/go-kit/kit v0.8.0 11:56:15 go: finding github.com/go-logfmt/logfmt v0.4.0 11:56:15 go: finding github.com/go-stack/stack v1.8.0 11:56:15 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 11:56:15 go: finding github.com/google/uuid v1.1.0 11:56:15 go: finding github.com/gorilla/mux v1.7.1 11:56:15 go: finding github.com/hashicorp/consul/api v1.1.0 11:56:15 go: finding github.com/hashicorp/consul/sdk v0.1.1 11:56:15 go: finding github.com/hashicorp/errwrap v1.0.0 11:56:15 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 11:56:15 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 11:56:15 go: finding github.com/hashicorp/go-msgpack v0.5.3 11:56:15 go: finding github.com/hashicorp/go-multierror v1.0.0 11:56:15 go: finding github.com/hashicorp/go-rootcerts v1.0.0 11:56:15 go: finding github.com/hashicorp/go-sockaddr v1.0.0 11:56:15 go: finding github.com/hashicorp/go-syslog v1.0.0 11:56:15 go: finding github.com/hashicorp/go-uuid v1.0.1 11:56:15 go: finding github.com/hashicorp/go.net v0.0.1 11:56:15 go: finding github.com/hashicorp/golang-lru v0.5.0 11:56:15 go: finding github.com/hashicorp/logutils v1.0.0 11:56:15 go: finding github.com/hashicorp/mdns v1.0.0 11:56:15 go: finding github.com/hashicorp/memberlist v0.1.3 11:56:15 go: finding github.com/hashicorp/serf v0.8.2 11:56:15 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 11:56:15 go: finding github.com/mattn/go-colorable v0.0.9 11:56:15 go: finding github.com/mattn/go-isatty v0.0.3 11:56:15 go: finding github.com/miekg/dns v1.0.14 11:56:15 go: finding github.com/mitchellh/cli v1.0.0 11:56:15 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:56:15 go: finding github.com/mitchellh/copystructure v1.0.0 11:56:15 go: finding github.com/mitchellh/go-homedir v1.0.0 11:56:15 go: finding github.com/mitchellh/go-testing-interface v1.0.0 11:56:15 go: finding github.com/mitchellh/gox v0.4.0 11:56:15 go: finding github.com/mitchellh/iochan v1.0.0 11:56:15 go: finding github.com/mitchellh/mapstructure v1.1.2 11:56:15 go: finding github.com/mitchellh/reflectwalk v1.0.0 11:56:15 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 11:56:15 go: finding github.com/pelletier/go-toml v1.2.0 11:56:15 go: finding github.com/pkg/errors v0.8.1 11:56:15 go: finding github.com/pmezard/go-difflib v1.0.0 11:56:15 go: finding github.com/posener/complete v1.1.1 11:56:15 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 11:56:15 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 11:56:15 go: finding github.com/stretchr/objx v0.1.0 11:56:15 go: finding github.com/stretchr/testify v1.5.1 11:56:15 go: finding github.com/ugorji/go v1.1.4 11:56:15 go: finding github.com/x448/float16 v0.8.4 11:56:15 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 11:56:15 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 11:56:15 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 11:56:15 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 11:56:15 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 11:56:15 go: finding gopkg.in/yaml.v2 v2.2.8 11:56:26 Removing intermediate container e0377619a2ac 11:56:26 ---> b082f2957a88 11:56:26 Successfully built b082f2957a88 11:56:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:56:26 + docker inspect -f . ci-base-image-arm64 11:56:27 . [Pipeline] withDockerContainer 11:56:27 prd-ubuntu18.04-docker-arm64-4c-16g-4261 does not seem to be running inside a container 11:56:27 $ 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 11:56:29 $ docker top 3e9f218e0499cced20182c122e688994e842480bd9eb607f3798b62a330ce20d -eo pid,comm [Pipeline] { [Pipeline] sh 11:56:30 + go version 11:56:30 go version go1.13.5 linux/arm64 [Pipeline] sh 11:56:30 + make test 11:56:30 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:56:32 ? github.com/edgexfoundry/device-sdk-go [no test files] 11:56:59 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 11:56:59 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 11:57:00 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.046s coverage: 22.1% of statements 11:57:03 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.206s coverage: 95.8% of statements 11:57:35 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 11.4% of statements 11:57:35 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 22.1% of statements 11:57:35 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 11:57:35 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.147s coverage: 38.5% of statements 11:57:35 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 11:57:35 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 11:57:35 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.667s coverage: 79.8% of statements 11:57:35 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 11:57:35 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 11:57:35 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 11:57:35 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements 11:57:35 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 11:57:35 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.352s coverage: 71.4% of statements 11:57:35 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 11:57:35 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 11:57:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 11:57:38 gofmt -l . 11:57:39 [ "`gofmt -l .`" = "" ] 11:57:39 ./bin/test-attribution-txt.sh 11:57:39 ./bin/test-go-mod-tidy.sh [Pipeline] stash 11:57:40 Warning: overwriting stash ‘coverage-report’ 11:57:41 Stashed 1 file(s) [Pipeline] } 11:57:41 $ docker stop --time=1 3e9f218e0499cced20182c122e688994e842480bd9eb607f3798b62a330ce20d 11:57:43 $ docker rm -f 3e9f218e0499cced20182c122e688994e842480bd9eb607f3798b62a330ce20d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:57:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:57:45 + ls -al . 11:57:45 total 200 11:57:45 drwxrwxr-x 11 jenkins jenkins 4096 Apr 16 11:57 . 11:57:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 11:55 .. 11:57:45 -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 11:55 .dockerignore 11:57:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 11:55 .git 11:57:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 11:55 .github 11:57:45 -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 11:55 .gitignore 11:57:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 11:55 .semver 11:57:45 -rw-rw-r-- 1 jenkins jenkins 936 Apr 16 11:55 Dockerfile.build 11:57:45 -rw-rw-r-- 1 jenkins jenkins 808 Apr 16 11:55 Jenkinsfile 11:57:45 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 11:55 LICENSE 11:57:45 -rw-rw-r-- 1 jenkins jenkins 892 Apr 16 11:55 Makefile 11:57:45 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 16 11:55 README.md 11:57:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 11:51 VERSION 11:57:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 11:55 api 11:57:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 11:55 bin 11:57:45 -rw-r--r-- 1 jenkins jenkins 96404 Apr 16 11:57 coverage.out 11:57:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 11:55 example 11:57:45 -rw-r--r-- 1 jenkins jenkins 446 Apr 16 11:57 go.mod 11:57:45 -rw-r--r-- 1 jenkins jenkins 12076 Apr 16 11:57 go.sum 11:57:45 drwxrwxr-x 14 jenkins jenkins 4096 Apr 16 11:55 internal 11:57:45 drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 11:55 pkg 11:57:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 11:55 snap 11:57:45 -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 11:55 version.go [Pipeline] isUnix [Pipeline] sh 11:57:46 + 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 . 11:57:46 Sending build context to Docker daemon 2.991MB 11:57:46 Step 1/21 : ARG BASE=golang:1.13-alpine 11:57:46 Step 2/21 : FROM ${BASE} AS builder 11:57:46 ---> b082f2957a88 11:57:46 Step 3/21 : ARG MAKE='make build' 11:57:46 ---> Running in c85671e7ad81 11:57:47 Removing intermediate container c85671e7ad81 11:57:47 ---> 4b7b6d4d4be3 11:57:47 Step 4/21 : WORKDIR /device-sdk-go 11:57:47 ---> Running in 5ef59c7c19c7 11:57:47 Removing intermediate container 5ef59c7c19c7 11:57:47 ---> 4ac15b022a1a 11:57:47 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:57:47 ---> Running in 1dac45cc8c46 11:57:48 Removing intermediate container 1dac45cc8c46 11:57:48 ---> 22f318f8c948 11:57:48 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:57:48 ---> Running in 7ccf3e9b4222 11:57:50 Removing intermediate container 7ccf3e9b4222 11:57:50 ---> b2f6bd594af9 11:57:50 Step 7/21 : RUN apk add --update --no-cache make git 11:57:50 ---> Running in 3a79dce1ebae 11:57:50 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 11:57:51 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 11:57:52 OK: 125 MiB in 39 packages 11:57:53 Removing intermediate container 3a79dce1ebae 11:57:53 ---> f1cd2acab67b 11:57:53 Step 8/21 : COPY . . 11:57:54 ---> 980a5101c998 11:57:54 Step 9/21 : RUN ${MAKE} 11:57:54 ---> Running in 81e11d2e8d38 11:57:55 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 11:58:17 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 11:58:19 Removing intermediate container 81e11d2e8d38 11:58:19 ---> c442e2f9bf85 11:58:19 Step 10/21 : FROM scratch 11:58:19 ---> 11:58:19 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:58:19 ---> Running in 8beebf557794 11:58:20 Removing intermediate container 8beebf557794 11:58:20 ---> 22cc0ae8dd58 11:58:20 Step 12/21 : ENV APP_PORT=49990 11:58:20 ---> Running in c6d7e5c38914 11:58:20 Removing intermediate container c6d7e5c38914 11:58:20 ---> 55139ec2e3f1 11:58:20 Step 13/21 : EXPOSE $APP_PORT 11:58:20 ---> Running in 90419f28fc2a 11:58:20 Removing intermediate container 90419f28fc2a 11:58:20 ---> d0f07746f4a9 11:58:20 Step 14/21 : WORKDIR / 11:58:21 ---> Running in 7d41ecb09a21 11:58:21 Removing intermediate container 7d41ecb09a21 11:58:21 ---> 52715d0efc95 11:58:21 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 11:58:22 ---> c884ae3739ee 11:58:22 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 11:58:23 ---> 1e1e31ea7ddc 11:58:23 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 11:58:23 ---> 5bb29ac60dd2 11:58:23 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:58:23 ---> Running in 3d1e723156c1 11:58:23 Removing intermediate container 3d1e723156c1 11:58:23 ---> c43dffd47828 11:58:23 Step 19/21 : LABEL arch=arm64 11:58:24 ---> Running in 544028d5576b 11:58:24 Removing intermediate container 544028d5576b 11:58:24 ---> 37703e83e200 11:58:24 Step 20/21 : LABEL git_sha=4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 11:58:24 ---> Running in 73a2912b8aef 11:58:25 Removing intermediate container 73a2912b8aef 11:58:25 ---> 0c91c91df700 11:58:25 Step 21/21 : LABEL version=0.0.0 11:58:25 ---> Running in 299d6ff77ce6 11:58:25 Removing intermediate container 299d6ff77ce6 11:58:25 ---> c88824b4c989 11:58:25 [Warning] One or more build-args [ARCH] were not consumed 11:58:25 Successfully built c88824b4c989 11:58:25 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 11:58:27 provisioning config files... 11:58:27 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-486@tmp/config918633459682191856tmp [Pipeline] { [Pipeline] sh 11:58:27 + curl -s https://codecov.io/bash 11:58:27 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-486@tmp/config918633459682191856tmp 11:58:28 11:58:28 _____ _ 11:58:28 / ____| | | 11:58:28 | | ___ __| | ___ ___ _____ __ 11:58:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:58:28 | |___| (_) | (_| | __/ (_| (_) \ V / 11:58:28 \_____\___/ \__,_|\___|\___\___/ \_/ 11:58:28 Bash-tbd 11:58:28 11:58:28 11:58:28 ==> Jenkins CI detected. 11:58:28 project root: . 11:58:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:58:28 ==> Running gcov in . (disable via -X gcov) 11:58:28 ==> Python coveragepy not found 11:58:28 ==> Searching for coverage reports in: 11:58:28 + . 11:58:28 -> Found 1 reports 11:58:28 ==> Detecting git/mercurial file structure 11:58:28 ==> Reading reports 11:58:28 + ./coverage.out bytes=96404 11:58:28 ==> Appending adjustments 11:58:28 http://docs.codecov.io/docs/fixing-reports 11:58:28 + Found adjustments 11:58:28 ==> Gzipping contents 11:58:28 ==> Uploading reports 11:58:28 url: https://codecov.io 11:58:28 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= 11:58:28 -> Pinging Codecov 11:58:28 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= 11:58:28 -> Sleeping for 30s and trying again... 11:59:01 -> Pinging Codecov 11:59:01 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= 11:59:01 -> Uploading 11:59:01 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4e12e2e968ba2f7c7f41979f6c67a36f16b30b30 [Pipeline] } 11:59:01 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 11:59:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:59:03 ---> package-listing.sh 11:59:03 ++ facter osfamily 11:59:03 ++ tr '[:upper:]' '[:lower:]' 11:59:03 + OS_FAMILY=redhat 11:59:03 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-486 11:59:03 + START_PACKAGES=/tmp/packages_start.txt 11:59:03 + END_PACKAGES=/tmp/packages_end.txt 11:59:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:59:03 + PACKAGES=/tmp/packages_start.txt 11:59:03 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-486 ']' 11:59:03 + PACKAGES=/tmp/packages_end.txt 11:59:03 + case "${OS_FAMILY}" in 11:59:03 + rpm -qa 11:59:03 + sort 11:59:07 + '[' -f /tmp/packages_start.txt ']' 11:59:07 + '[' -f /tmp/packages_end.txt ']' 11:59:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:59:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-486 ']' 11:59:07 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-486/archives/ 11:59:07 + 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 11:59:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:59:08 11:59:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:59:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:59:08 alpine: Pulling from edgex-lftools-log-publisher 11:59:08 c9b1b535fdd9: Pulling fs layer 11:59:08 2cc5ad85d9ab: Pulling fs layer 11:59:08 756a868c4378: Pulling fs layer 11:59:08 444b2fc9a129: Pulling fs layer 11:59:08 ea15f1150254: Pulling fs layer 11:59:08 41b27a9f41bf: Pulling fs layer 11:59:08 28c525ee5125: Pulling fs layer 11:59:08 094b1ea09ed8: Pulling fs layer 11:59:08 138eaada9080: Pulling fs layer 11:59:08 0622d0fa9048: Pulling fs layer 11:59:08 28c525ee5125: Waiting 11:59:08 41b27a9f41bf: Waiting 11:59:08 444b2fc9a129: Waiting 11:59:08 ea15f1150254: Waiting 11:59:08 094b1ea09ed8: Waiting 11:59:08 138eaada9080: Waiting 11:59:08 0622d0fa9048: Waiting 11:59:08 2cc5ad85d9ab: Download complete 11:59:08 444b2fc9a129: Download complete 11:59:08 c9b1b535fdd9: Verifying Checksum 11:59:08 ea15f1150254: Verifying Checksum 11:59:08 ea15f1150254: Download complete 11:59:08 28c525ee5125: Verifying Checksum 11:59:08 28c525ee5125: Download complete 11:59:08 c9b1b535fdd9: Pull complete 11:59:09 2cc5ad85d9ab: Pull complete 11:59:09 756a868c4378: Verifying Checksum 11:59:09 756a868c4378: Download complete 11:59:09 138eaada9080: Verifying Checksum 11:59:09 138eaada9080: Download complete 11:59:09 0622d0fa9048: Verifying Checksum 11:59:09 0622d0fa9048: Download complete 11:59:09 094b1ea09ed8: Verifying Checksum 11:59:09 094b1ea09ed8: Download complete 11:59:09 41b27a9f41bf: Verifying Checksum 11:59:09 41b27a9f41bf: Download complete 11:59:10 756a868c4378: Pull complete 11:59:10 444b2fc9a129: Pull complete 11:59:11 ea15f1150254: Pull complete 11:59:14 41b27a9f41bf: Pull complete 11:59:14 28c525ee5125: Pull complete 11:59:16 094b1ea09ed8: Pull complete 11:59:16 138eaada9080: Pull complete 11:59:16 0622d0fa9048: Pull complete 11:59:16 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 11:59:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:59:16 prd-centos7-docker-4c-2g-4259 does not seem to be running inside a container 11:59:16 $ 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 11:59:17 $ docker top 15dc5763c55a2feb99a079cb8a475d6b18a76f04776db4fb75fe2a6f462fa969 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:59:17 provisioning config files... 11:59:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-486@tmp/config557162923226531497tmp [Pipeline] { [Pipeline] echo 11:59:18 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:59:18 ---> create-netrc.sh [Pipeline] echo 11:59:18 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:59:18 ---> logs-deploy.sh 11:59:18 + ARCHIVE_ARTIFACTS= 11:59:18 + LOGS_SERVER=https://logs.edgexfoundry.org 11:59:18 + '[' https://logs.edgexfoundry.org == None ']' 11:59:18 + NEXUS_URL=https://nexus.edgexfoundry.org 11:59:18 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-486/1 11:59:18 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-486/1/ 11:59:18 + 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 11:59:19 Archives upload complete. 11:59:19 + 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/