Pull request #536 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ada00874e8d721bd0a5d9189d642e78d0512fd6f+3a565b71685442c2ff1ef3a41526fe46f740cbbe (860b22965929e6fd10ba64950d31bcda84bf27dd) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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-2533 in /w/workspace/dgexfoundry_device-sdk-go_PR-536 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-536 # 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/536/head:refs/remotes/origin/PR-536 +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/536/head:refs/remotes/origin/PR-536 # 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/536/head:refs/remotes/origin/PR-536 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a565b71685442c2ff1ef3a41526fe46f740cbbe into PR head commit ada00874e8d721bd0a5d9189d642e78d0512fd6f Merge succeeded, producing ada00874e8d721bd0a5d9189d642e78d0512fd6f Checking out Revision ada00874e8d721bd0a5d9189d642e78d0512fd6f (PR-536) > git config core.sparsecheckout # timeout=10 > git checkout -f ada00874e8d721bd0a5d9189d642e78d0512fd6f # 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 3a565b71685442c2ff1ef3a41526fe46f740cbbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ada00874e8d721bd0a5d9189d642e78d0512fd6f # timeout=10 Commit message: "Update go-mod-bootstrap version and increase device-simple timeout" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:44:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:44:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:44:29 ========================================================= 03:44:29 EdgeX Global Pipelines Version Info 03:44:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f0d03bfb6530324afd54d83f0a15ae6fd4719453 # timeout=10 03:44:31 ------------------- 03:44:31 stable info: 03:44:31 ------------------- 03:44:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:44:31 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 03:44:31 Message: update stable to v1.0.89 03:44:31 ------------------- 03:44:31 experimental info: 03:44:31 ------------------- 03:44:31 Commited By: **** collab-it+edgex@linuxfoundation.org 03:44:31 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 03:44:31 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 03:44:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:44:33 03:44:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:44:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:44:33 latest: Pulling from edgex-devops/git-semver 03:44:33 9123ac7c32f7: Pulling fs layer 03:44:33 b8cc5d1170e3: Pulling fs layer 03:44:33 2924cbbf6a41: Pulling fs layer 03:44:33 93b08a4f1073: Pulling fs layer 03:44:33 93b08a4f1073: Waiting 03:44:33 b8cc5d1170e3: Verifying Checksum 03:44:33 b8cc5d1170e3: Download complete 03:44:33 9123ac7c32f7: Verifying Checksum 03:44:33 9123ac7c32f7: Download complete 03:44:33 93b08a4f1073: Verifying Checksum 03:44:33 93b08a4f1073: Download complete 03:44:33 2924cbbf6a41: Verifying Checksum 03:44:33 2924cbbf6a41: Download complete 03:44:33 9123ac7c32f7: Pull complete 03:44:34 b8cc5d1170e3: Pull complete 03:44:34 2924cbbf6a41: Pull complete 03:44:35 93b08a4f1073: Pull complete 03:44:35 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 03:44:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:44:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:44:35 prd-centos7-docker-4c-2g-2533 does not seem to be running inside a container 03:44:35 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-536 -v /w/workspace/dgexfoundry_device-sdk-go_PR-536:/w/workspace/dgexfoundry_device-sdk-go_PR-536:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:44:37 $ docker top a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:44:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:44:37 [ssh-agent] Looking for ssh-agent implementation... 03:44:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:44:37 $ docker exec a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e ssh-agent 03:44:37 SSH_AUTH_SOCK=/tmp/ssh-WAzyHk1fG2jN/agent.11 03:44:37 SSH_AGENT_PID=16 03:44:37 Running ssh-add (command line suppressed) 03:44:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/private_key_861275202884514155.key (/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/private_key_861275202884514155.key) 03:44:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:44:38 + git describe --exact-match --tags HEAD 03:44:38 fatal: No names found, cannot describe anything. [Pipeline] } 03:44:38 $ docker exec --env ******** --env ******** a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e ssh-agent -k 03:44:38 unset SSH_AUTH_SOCK; 03:44:38 unset SSH_AGENT_PID; 03:44:38 echo Agent pid 16 killed; 03:44:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:44:38 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:44:38 This usually means this commit has not been tagged. [Pipeline] sshagent 03:44:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:44:38 [ssh-agent] Looking for ssh-agent implementation... 03:44:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:44:38 $ docker exec a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e ssh-agent 03:44:38 SSH_AUTH_SOCK=/tmp/ssh-waXcW5DT2cjy/agent.47 03:44:38 SSH_AGENT_PID=52 03:44:38 Running ssh-add (command line suppressed) 03:44:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/private_key_932004891954588220.key (/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/private_key_932004891954588220.key) 03:44:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:44:39 + git semver init 03:44:39 # -> Open(): unable to determine branch for HEAD 03:44:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-536/.git 03:44:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-536 03:44:39 # $SEMVER_REMOTE_NAME = origin 03:44:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:44:39 # $SEMVER_USER_NAME = edgex-jenkins 03:44:39 # $SEMVER_BRANCH = PR-536 03:44:39 # $SEMVER_TEMP = /tmp/semver-773511684 03:44:39 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:44:39 # '/tmp/semver-773511684' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-536/.semver' 03:44:39 # -> Force: false 03:44:39 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-536/.semver [Pipeline] } 03:44:40 $ docker exec --env ******** --env ******** a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e ssh-agent -k 03:44:40 unset SSH_AUTH_SOCK; 03:44:40 unset SSH_AGENT_PID; 03:44:40 echo Agent pid 52 killed; 03:44:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:44:40 + git semver [Pipeline] } 03:44:40 $ docker stop --time=1 a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e 03:44:42 $ docker rm -f a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:44:42 Stashed 67 file(s) [Pipeline] echo 03:44:42 [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 03:44:58 Still waiting to schedule task 03:44:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:44:58 Still waiting to schedule task 03:44:58 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 03:46:13 Running on prd-centos7-docker-4c-2g-2535 in /w/workspace/dgexfoundry_device-sdk-go_PR-536 [Pipeline] { [Pipeline] ws 03:46:13 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 03:46:15 using credential edgex-jenkins-ssh 03:46:15 Cloning the remote Git repository 03:46:15 Cloning with configured refspecs honoured and without tags 03:46:16 Fetching without tags 03:46:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:46:15 > git init /w/workspace/device-sdk-go/2 # timeout=10 03:46:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:46:15 > git --version # timeout=10 03:46:15 using GIT_SSH to set credentials SSH Credentials for GitHub 03:46:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/536/head:refs/remotes/origin/PR-536 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:46:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:46:16 > git config --add remote.origin.fetch +refs/pull/536/head:refs/remotes/origin/PR-536 # timeout=10 03:46:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:46:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:46:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:46:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:46:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/536/head:refs/remotes/origin/PR-536 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:46:17 Merging remotes/origin/master commit 3a565b71685442c2ff1ef3a41526fe46f740cbbe into PR head commit ada00874e8d721bd0a5d9189d642e78d0512fd6f 03:46:17 Merge succeeded, producing ada00874e8d721bd0a5d9189d642e78d0512fd6f 03:46:17 Checking out Revision ada00874e8d721bd0a5d9189d642e78d0512fd6f (PR-536) 03:46:17 > git config core.sparsecheckout # timeout=10 03:46:17 > git checkout -f ada00874e8d721bd0a5d9189d642e78d0512fd6f # timeout=10 03:46:17 > git remote # timeout=10 03:46:17 > git config --get remote.origin.url # timeout=10 03:46:17 using GIT_SSH to set credentials SSH Credentials for GitHub 03:46:17 > git merge 3a565b71685442c2ff1ef3a41526fe46f740cbbe # timeout=10 03:46:17 > git rev-parse HEAD^{commit} # timeout=10 03:46:17 > git config core.sparsecheckout # timeout=10 03:46:17 > git checkout -f ada00874e8d721bd0a5d9189d642e78d0512fd6f # timeout=10 03:46:20 Commit message: "Update go-mod-bootstrap version and increase device-simple timeout" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:46:21 ========================================================= 03:46:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:46:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:46:23 + 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 . 03:46:23 Sending build context to Docker daemon 3.069MB 03:46:23 Step 1/8 : ARG BASE=golang:1.13-alpine 03:46:23 Step 2/8 : FROM ${BASE} 03:46:23 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:46:23 e6b0cf9c0882: Pulling fs layer 03:46:23 2848faf0eed1: Pulling fs layer 03:46:23 0f37312ad70f: Pulling fs layer 03:46:23 5788d62ee057: Pulling fs layer 03:46:23 0e6b1d234666: Pulling fs layer 03:46:23 bf5d7aec512f: Pulling fs layer 03:46:23 34c802a77dc8: Pulling fs layer 03:46:23 9eb99e56ec68: Pulling fs layer 03:46:23 27c7a5d97fbd: Pulling fs layer 03:46:23 5c102a31e300: Pulling fs layer 03:46:23 dcfb455df0a1: Pulling fs layer 03:46:23 34c802a77dc8: Waiting 03:46:23 9eb99e56ec68: Waiting 03:46:23 27c7a5d97fbd: Waiting 03:46:23 5c102a31e300: Waiting 03:46:23 dcfb455df0a1: Waiting 03:46:23 5788d62ee057: Waiting 03:46:23 0e6b1d234666: Waiting 03:46:23 bf5d7aec512f: Waiting 03:46:23 0f37312ad70f: Verifying Checksum 03:46:23 0f37312ad70f: Download complete 03:46:23 2848faf0eed1: Verifying Checksum 03:46:23 2848faf0eed1: Download complete 03:46:23 0e6b1d234666: Verifying Checksum 03:46:23 0e6b1d234666: Download complete 03:46:23 bf5d7aec512f: Download complete 03:46:23 e6b0cf9c0882: Verifying Checksum 03:46:23 e6b0cf9c0882: Download complete 03:46:24 e6b0cf9c0882: Pull complete 03:46:24 34c802a77dc8: Verifying Checksum 03:46:24 34c802a77dc8: Download complete 03:46:24 27c7a5d97fbd: Verifying Checksum 03:46:24 27c7a5d97fbd: Download complete 03:46:25 5c102a31e300: Verifying Checksum 03:46:25 5c102a31e300: Download complete 03:46:25 dcfb455df0a1: Verifying Checksum 03:46:25 dcfb455df0a1: Download complete 03:46:25 5788d62ee057: Verifying Checksum 03:46:25 5788d62ee057: Download complete 03:46:25 9eb99e56ec68: Download complete 03:46:26 2848faf0eed1: Pull complete 03:46:26 0f37312ad70f: Pull complete 03:46:33 5788d62ee057: Pull complete 03:46:33 0e6b1d234666: Pull complete 03:46:33 bf5d7aec512f: Pull complete 03:46:36 34c802a77dc8: Pull complete 03:46:40 9eb99e56ec68: Pull complete 03:46:40 27c7a5d97fbd: Pull complete 03:46:40 5c102a31e300: Pull complete 03:46:40 dcfb455df0a1: Pull complete 03:46:40 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 03:46:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:46:40 ---> 7c70fe431013 03:46:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:46:42 ---> Running in 3b74663aba5c 03:46:42 Removing intermediate container 3b74663aba5c 03:46:42 ---> a098a1ebbf91 03:46:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:46:42 ---> Running in e30736af36fd 03:46:44 Removing intermediate container e30736af36fd 03:46:44 ---> 6ec799c01c66 03:46:44 Step 5/8 : RUN apk add --no-cache make git 03:46:44 ---> Running in 852a286e15a0 03:46:44 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:46:45 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:46:45 OK: 143 MiB in 39 packages 03:46:46 Removing intermediate container 852a286e15a0 03:46:46 ---> a47417706996 03:46:46 Step 6/8 : WORKDIR /device-sdk-go 03:46:46 ---> Running in 596be62a23af 03:46:46 Removing intermediate container 596be62a23af 03:46:46 ---> d875adf575b9 03:46:46 Step 7/8 : COPY . . 03:46:48 ---> 99318e7e6b28 03:46:48 Step 8/8 : RUN go mod download 03:46:48 ---> Running in e235df19a5ac 03:46:49 go: finding github.com/BurntSushi/toml v0.3.1 03:46:49 go: finding github.com/OneOfOne/xxhash v1.2.6 03:46:49 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:46:49 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:46:49 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:46:49 go: finding github.com/bgentry/speakeasy v0.1.0 03:46:49 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:46:49 go: finding github.com/davecgh/go-spew v1.1.1 03:46:49 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 03:46:49 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:46:49 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:46:49 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:46:49 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:46:49 go: finding github.com/fatih/color v1.7.0 03:46:49 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:46:49 go: finding github.com/go-kit/kit v0.8.0 03:46:49 go: finding github.com/go-logfmt/logfmt v0.4.0 03:46:49 go: finding github.com/go-stack/stack v1.8.0 03:46:49 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:46:49 go: finding github.com/google/uuid v1.1.0 03:46:49 go: finding github.com/gorilla/mux v1.7.1 03:46:49 go: finding github.com/hashicorp/consul/api v1.1.0 03:46:49 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:46:49 go: finding github.com/hashicorp/errwrap v1.0.0 03:46:49 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:46:49 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:46:49 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:46:49 go: finding github.com/hashicorp/go-multierror v1.0.0 03:46:50 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:46:50 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:46:50 go: finding github.com/hashicorp/go-syslog v1.0.0 03:46:50 go: finding github.com/hashicorp/go-uuid v1.0.1 03:46:50 go: finding github.com/hashicorp/go.net v0.0.1 03:46:50 go: finding github.com/hashicorp/golang-lru v0.5.0 03:46:50 go: finding github.com/hashicorp/logutils v1.0.0 03:46:50 go: finding github.com/hashicorp/mdns v1.0.0 03:46:50 go: finding github.com/hashicorp/memberlist v0.1.3 03:46:50 go: finding github.com/hashicorp/serf v0.8.2 03:46:50 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:46:50 go: finding github.com/mattn/go-colorable v0.0.9 03:46:50 go: finding github.com/mattn/go-isatty v0.0.3 03:46:50 go: finding github.com/miekg/dns v1.0.14 03:46:50 go: finding github.com/mitchellh/cli v1.0.0 03:46:50 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:46:50 go: finding github.com/mitchellh/copystructure v1.0.0 03:46:50 go: finding github.com/mitchellh/go-homedir v1.0.0 03:46:50 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:46:50 go: finding github.com/mitchellh/gox v0.4.0 03:46:50 go: finding github.com/mitchellh/iochan v1.0.0 03:46:50 go: finding github.com/mitchellh/mapstructure v1.1.2 03:46:50 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:46:50 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:46:50 go: finding github.com/pelletier/go-toml v1.2.0 03:46:50 go: finding github.com/pkg/errors v0.8.1 03:46:50 go: finding github.com/pmezard/go-difflib v1.0.0 03:46:50 go: finding github.com/posener/complete v1.1.1 03:46:50 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:46:50 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:46:50 go: finding github.com/stretchr/objx v0.1.0 03:46:50 go: finding github.com/stretchr/testify v1.5.1 03:46:50 go: finding github.com/ugorji/go v1.1.4 03:46:50 go: finding github.com/x448/float16 v0.8.4 03:46:50 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:46:50 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:46:50 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:46:50 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:46:50 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:46:50 go: finding gopkg.in/yaml.v2 v2.2.8 03:46:58 Removing intermediate container e235df19a5ac 03:46:58 ---> e359fd9467fd 03:46:58 Successfully built e359fd9467fd 03:46:58 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 03:46:59 + docker inspect -f . ci-base-image-x86_64 03:46:59 . [Pipeline] withDockerContainer 03:46:59 prd-centos7-docker-4c-2g-2535 does not seem to be running inside a container 03:46:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:47:00 $ docker top 9e055c656585d7d004fd90bbc816e947b548846fa4d712c19c6bb9f075ed83e3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:00 + go version 03:47:00 go version go1.13.5 linux/amd64 [Pipeline] sh 03:47:01 + make test 03:47:01 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:47:02 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:47:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2536 in /w/workspace/dgexfoundry_device-sdk-go_PR-536 [Pipeline] { [Pipeline] ws 03:47:08 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 03:47:12 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:47:12 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:47:12 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:47:12 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.043s coverage: 22.1% of statements 03:47:12 using credential edgex-jenkins-ssh 03:47:12 Cloning the remote Git repository 03:47:12 Cloning with configured refspecs honoured and without tags 03:47:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:47:12 > git init /w/workspace/device-sdk-go/2 # timeout=10 03:47:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:47:13 > git --version # timeout=10 03:47:13 using GIT_SSH to set credentials SSH Credentials for GitHub 03:47:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.051s coverage: 95.8% of statements 03:47:14 Fetching without tags 03:47:13 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/536/head:refs/remotes/origin/PR-536 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:47:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:47:14 > git config --add remote.origin.fetch +refs/pull/536/head:refs/remotes/origin/PR-536 # timeout=10 03:47:14 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:47:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:47:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:47:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:47:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/536/head:refs/remotes/origin/PR-536 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:47:14 Merging remotes/origin/master commit 3a565b71685442c2ff1ef3a41526fe46f740cbbe into PR head commit ada00874e8d721bd0a5d9189d642e78d0512fd6f 03:47:14 Merge succeeded, producing ada00874e8d721bd0a5d9189d642e78d0512fd6f 03:47:14 Checking out Revision ada00874e8d721bd0a5d9189d642e78d0512fd6f (PR-536) 03:47:14 > git config core.sparsecheckout # timeout=10 03:47:14 > git checkout -f ada00874e8d721bd0a5d9189d642e78d0512fd6f # timeout=10 03:47:14 > git remote # timeout=10 03:47:14 > git config --get remote.origin.url # timeout=10 03:47:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:47:14 > git merge 3a565b71685442c2ff1ef3a41526fe46f740cbbe # timeout=10 03:47:14 > git rev-parse HEAD^{commit} # timeout=10 03:47:14 > git config core.sparsecheckout # timeout=10 03:47:14 > git checkout -f ada00874e8d721bd0a5d9189d642e78d0512fd6f # timeout=10 03:47:19 Commit message: "Update go-mod-bootstrap version and increase device-simple timeout" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:47:20 ========================================================= 03:47:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:47:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:47:21 + 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 . 03:47:22 Sending build context to Docker daemon 3.071MB 03:47:22 Step 1/8 : ARG BASE=golang:1.13-alpine 03:47:22 Step 2/8 : FROM ${BASE} 03:47:22 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:47:22 cde5963f3b93: Pulling fs layer 03:47:22 2a23fa8c16f7: Pulling fs layer 03:47:22 777b28850792: Pulling fs layer 03:47:22 8a11ddd9e578: Pulling fs layer 03:47:22 4cf88f913ddb: Pulling fs layer 03:47:22 1df406cf5192: Pulling fs layer 03:47:22 cd6300453558: Pulling fs layer 03:47:22 b9c365052c96: Pulling fs layer 03:47:22 a2d8cc88f415: Pulling fs layer 03:47:22 ea1d1ca13537: Pulling fs layer 03:47:22 3750a50a1c5e: Pulling fs layer 03:47:22 8a11ddd9e578: Waiting 03:47:22 4cf88f913ddb: Waiting 03:47:22 1df406cf5192: Waiting 03:47:22 cd6300453558: Waiting 03:47:22 b9c365052c96: Waiting 03:47:22 a2d8cc88f415: Waiting 03:47:22 ea1d1ca13537: Waiting 03:47:22 3750a50a1c5e: Waiting 03:47:22 777b28850792: Verifying Checksum 03:47:22 777b28850792: Download complete 03:47:22 2a23fa8c16f7: Verifying Checksum 03:47:22 2a23fa8c16f7: Download complete 03:47:22 4cf88f913ddb: Verifying Checksum 03:47:22 4cf88f913ddb: Download complete 03:47:22 1df406cf5192: Verifying Checksum 03:47:22 1df406cf5192: Download complete 03:47:22 cde5963f3b93: Download complete 03:47:23 cde5963f3b93: Pull complete 03:47:24 2a23fa8c16f7: Pull complete 03:47:24 777b28850792: Pull complete 03:47:25 cd6300453558: Verifying Checksum 03:47:25 cd6300453558: Download complete 03:47:25 a2d8cc88f415: Verifying Checksum 03:47:25 a2d8cc88f415: Download complete 03:47:26 ea1d1ca13537: Verifying Checksum 03:47:26 ea1d1ca13537: Download complete 03:47:26 3750a50a1c5e: Verifying Checksum 03:47:26 3750a50a1c5e: Download complete 03:47:27 b9c365052c96: Verifying Checksum 03:47:27 b9c365052c96: Download complete 03:47:28 8a11ddd9e578: Verifying Checksum 03:47:28 8a11ddd9e578: Download complete 03:47:40 8a11ddd9e578: Pull complete 03:47:40 4cf88f913ddb: Pull complete 03:47:40 1df406cf5192: Pull complete 03:47:45 cd6300453558: Pull complete 03:47:45 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.029s coverage: 11.4% of statements 03:47:45 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements 03:47:45 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:47:45 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.059s coverage: 36.9% of statements 03:47:45 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:47:45 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 03:47:45 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.300s coverage: 65.2% of statements 03:47:45 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:47:45 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:47:45 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:47:45 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements 03:47:45 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 03:47:45 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.100s coverage: 68.9% of statements 03:47:45 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:47:45 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:47:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:47:45 gofmt -l . 03:47:45 [ "`gofmt -l .`" = "" ] 03:47:46 ./bin/test-attribution-txt.sh 03:47:46 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:47:47 Stashed 1 file(s) [Pipeline] } 03:47:47 $ docker stop --time=1 9e055c656585d7d004fd90bbc816e947b548846fa4d712c19c6bb9f075ed83e3 03:47:48 $ docker rm -f 9e055c656585d7d004fd90bbc816e947b548846fa4d712c19c6bb9f075ed83e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:47:49 b9c365052c96: Pull complete 03:47:49 a2d8cc88f415: Pull complete 03:47:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:47:49 + ls -al . 03:47:49 total 180 03:47:49 drwxrwxr-x. 11 jenkins jenkins 4096 Jun 11 03:47 . 03:47:49 drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 03:46 .. 03:47:49 drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 03:46 api 03:47:49 drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 03:46 bin 03:47:49 -rw-r--r--. 1 jenkins jenkins 110877 Jun 11 03:47 coverage.out 03:47:49 -rw-rw-r--. 1 jenkins jenkins 936 Jun 11 03:46 Dockerfile.build 03:47:49 -rw-rw-r--. 1 jenkins jenkins 140 Jun 11 03:46 .dockerignore 03:47:49 drwxrwxr-x. 4 jenkins jenkins 48 Jun 11 03:46 example 03:47:49 drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 03:46 .git 03:47:49 drwxrwxr-x. 2 jenkins jenkins 38 Jun 11 03:46 .github 03:47:49 -rw-rw-r--. 1 jenkins jenkins 138 Jun 11 03:46 .gitignore 03:47:49 -rw-r--r--. 1 jenkins jenkins 446 Jun 11 03:47 go.mod 03:47:49 -rw-r--r--. 1 jenkins jenkins 12179 Jun 11 03:47 go.sum 03:47:49 drwxrwxr-x. 15 jenkins jenkins 217 Jun 11 03:46 internal 03:47:49 -rw-rw-r--. 1 jenkins jenkins 808 Jun 11 03:46 Jenkinsfile 03:47:49 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 11 03:46 LICENSE 03:47:49 -rw-rw-r--. 1 jenkins jenkins 892 Jun 11 03:46 Makefile 03:47:49 drwxrwxr-x. 5 jenkins jenkins 50 Jun 11 03:46 pkg 03:47:49 -rw-rw-r--. 1 jenkins jenkins 3166 Jun 11 03:46 README.md 03:47:49 -rw-rw-r--. 1 jenkins jenkins 3997 Jun 11 03:46 RELEASE-NOTES.txt 03:47:49 drwxrwxr-x. 3 jenkins jenkins 58 Jun 11 03:46 .semver 03:47:49 drwxrwxr-x. 4 jenkins jenkins 54 Jun 11 03:46 snap 03:47:49 -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 03:44 VERSION 03:47:49 -rw-rw-r--. 1 jenkins jenkins 222 Jun 11 03:46 version.go [Pipeline] isUnix [Pipeline] sh 03:47:50 + 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=ada00874e8d721bd0a5d9189d642e78d0512fd6f --label arch=amd64 --label version=0.0.0 . 03:47:50 Sending build context to Docker daemon 3.197MB 03:47:50 Step 1/23 : ARG BASE=golang:1.13-alpine 03:47:50 Step 2/23 : FROM ${BASE} AS builder 03:47:50 ---> e359fd9467fd 03:47:50 Step 3/23 : ARG MAKE='make build' 03:47:50 ---> Running in abf3d66c6b9e 03:47:50 Removing intermediate container abf3d66c6b9e 03:47:50 ---> 2a5e17fee29a 03:47:50 Step 4/23 : WORKDIR /device-sdk-go 03:47:50 ---> Running in 650724ed1cb4 03:47:51 Removing intermediate container 650724ed1cb4 03:47:51 ---> 0ed0e3746e1e 03:47:51 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:47:51 ---> Running in ae0f485acf0e 03:47:51 Removing intermediate container ae0f485acf0e 03:47:51 ---> 11258f738744 03:47:51 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:47:51 ea1d1ca13537: Pull complete 03:47:51 ---> Running in 71c7329a43f9 03:47:51 3750a50a1c5e: Pull complete 03:47:51 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 03:47:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:47:51 ---> 78745c68409d 03:47:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:47:52 Removing intermediate container 71c7329a43f9 03:47:52 ---> 3d024b72c279 03:47:52 Step 7/23 : RUN apk add --update --no-cache make git 03:47:52 ---> Running in 1906e0c8c33a 03:47:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:47:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:47:53 OK: 143 MiB in 39 packages 03:47:54 Removing intermediate container 1906e0c8c33a 03:47:54 ---> 3ccfe84c7147 03:47:54 Step 8/23 : COPY . . 03:47:55 ---> bfba43942027 03:47:55 Step 9/23 : RUN ${MAKE} 03:47:55 ---> Running in cf4e8eef2169 03:47: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 03:47:57 ---> Running in 3bafa3a2633f 03:47:57 Removing intermediate container 3bafa3a2633f 03:47:57 ---> 9a74fe291254 03:47:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:47:57 ---> Running in b841b9d86f54 03:48:00 Removing intermediate container b841b9d86f54 03:48:00 ---> 2f84e99eaa08 03:48:00 Step 5/8 : RUN apk add --no-cache make git 03:48:00 ---> Running in 2802deaf2761 03:48:01 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:48:02 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:48:03 OK: 125 MiB in 39 packages 03:48:03 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:48:04 Removing intermediate container 2802deaf2761 03:48:04 ---> 19b8123ea1a0 03:48:04 Step 6/8 : WORKDIR /device-sdk-go 03:48:04 ---> Running in a6cb0980c7dd 03:48:05 Removing intermediate container a6cb0980c7dd 03:48:05 ---> 079d78277468 03:48:05 Step 7/8 : COPY . . 03:48:05 Removing intermediate container cf4e8eef2169 03:48:05 ---> 107856ca13a8 03:48:05 Step 10/23 : FROM scratch 03:48:05 ---> 03:48:05 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:48:05 ---> Running in 369a08e316e1 03:48:05 Removing intermediate container 369a08e316e1 03:48:05 ---> 0cbf845ec858 03:48:05 Step 12/23 : ENV APP_PORT=49990 03:48:05 ---> Running in 1a9a74c0bfe6 03:48:05 Removing intermediate container 1a9a74c0bfe6 03:48:05 ---> 5ef8ef71f670 03:48:05 Step 13/23 : EXPOSE $APP_PORT 03:48:05 ---> Running in 14671159ce3f 03:48:05 Removing intermediate container 14671159ce3f 03:48:05 ---> 7cef71f504d2 03:48:05 Step 14/23 : WORKDIR / 03:48:06 ---> Running in 7ad6c0e5d117 03:48:06 Removing intermediate container 7ad6c0e5d117 03:48:06 ---> 3f945332ae67 03:48:06 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:48:06 ---> 773d32c3882f 03:48:06 Step 8/8 : RUN go mod download 03:48:06 ---> Running in 509aae5c9f32 03:48:06 ---> 46c21ac4fbb7 03:48:06 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:48:07 ---> 433346354132 03:48:07 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:48:07 ---> 07456371ca10 03:48:07 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:48:07 ---> aa3bb9e25725 03:48:07 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:48:07 ---> 7be2d46efe34 03:48:07 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:48:07 ---> Running in 79ccf1c5e6b3 03:48:07 Removing intermediate container 79ccf1c5e6b3 03:48:07 ---> 38fb7e025bf3 03:48:07 Step 21/23 : LABEL arch=amd64 03:48:07 ---> Running in 2f4f34e6f2c7 03:48:08 Removing intermediate container 2f4f34e6f2c7 03:48:08 ---> 41e336a0165f 03:48:08 Step 22/23 : LABEL git_sha=ada00874e8d721bd0a5d9189d642e78d0512fd6f 03:48:08 ---> Running in 11b21e07d904 03:48:08 Removing intermediate container 11b21e07d904 03:48:08 ---> 3d6886162285 03:48:08 Step 23/23 : LABEL version=0.0.0 03:48:08 ---> Running in 1f9e56f7a20c 03:48:08 Removing intermediate container 1f9e56f7a20c 03:48:08 ---> 000b594af0c9 03:48:08 [Warning] One or more build-args [ARCH] were not consumed 03:48:08 Successfully built 000b594af0c9 03:48:08 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:48:09 go: finding github.com/BurntSushi/toml v0.3.1 03:48:09 go: finding github.com/OneOfOne/xxhash v1.2.6 03:48:09 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:48:09 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:48:09 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:48:09 go: finding github.com/bgentry/speakeasy v0.1.0 03:48:09 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:48:09 go: finding github.com/davecgh/go-spew v1.1.1 03:48:09 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 03:48:09 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:48:09 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:48:09 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:48:09 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:48:09 go: finding github.com/fatih/color v1.7.0 03:48:09 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:48:09 go: finding github.com/go-kit/kit v0.8.0 03:48:09 go: finding github.com/go-logfmt/logfmt v0.4.0 03:48:09 go: finding github.com/go-stack/stack v1.8.0 03:48:09 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:48:09 go: finding github.com/google/uuid v1.1.0 03:48:09 go: finding github.com/gorilla/mux v1.7.1 03:48:09 go: finding github.com/hashicorp/consul/api v1.1.0 03:48:09 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:48:09 go: finding github.com/hashicorp/errwrap v1.0.0 03:48:09 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:48:09 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:48:09 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:48:09 go: finding github.com/hashicorp/go-multierror v1.0.0 03:48:09 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:48:09 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:48:09 go: finding github.com/hashicorp/go-syslog v1.0.0 03:48:09 go: finding github.com/hashicorp/go-uuid v1.0.1 03:48:09 go: finding github.com/hashicorp/go.net v0.0.1 03:48:09 go: finding github.com/hashicorp/golang-lru v0.5.0 03:48:09 go: finding github.com/hashicorp/logutils v1.0.0 03:48:09 go: finding github.com/hashicorp/mdns v1.0.0 03:48:09 go: finding github.com/hashicorp/memberlist v0.1.3 03:48:09 go: finding github.com/hashicorp/serf v0.8.2 03:48:09 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:48:09 go: finding github.com/mattn/go-colorable v0.0.9 03:48:09 go: finding github.com/mattn/go-isatty v0.0.3 03:48:09 go: finding github.com/miekg/dns v1.0.14 03:48:09 go: finding github.com/mitchellh/cli v1.0.0 03:48:09 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:48:09 go: finding github.com/mitchellh/copystructure v1.0.0 03:48:09 go: finding github.com/mitchellh/go-homedir v1.0.0 03:48:09 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:48:09 go: finding github.com/mitchellh/gox v0.4.0 03:48:09 go: finding github.com/mitchellh/iochan v1.0.0 03:48:09 go: finding github.com/mitchellh/mapstructure v1.1.2 03:48:09 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:48:09 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:48:09 go: finding github.com/pelletier/go-toml v1.2.0 03:48:09 go: finding github.com/pkg/errors v0.8.1 03:48:09 go: finding github.com/pmezard/go-difflib v1.0.0 03:48:09 go: finding github.com/posener/complete v1.1.1 03:48:09 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:48:09 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:48:09 go: finding github.com/stretchr/objx v0.1.0 03:48:09 go: finding github.com/stretchr/testify v1.5.1 03:48:09 go: finding github.com/ugorji/go v1.1.4 03:48:09 go: finding github.com/x448/float16 v0.8.4 03:48:09 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:48:09 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:48:09 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:48:09 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:48:09 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:48:09 go: finding gopkg.in/yaml.v2 v2.2.8 03:48:19 Removing intermediate container 509aae5c9f32 03:48:19 ---> 45f5ff3ac25e 03:48:19 Successfully built 45f5ff3ac25e 03:48:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:48:20 + docker inspect -f . ci-base-image-arm64 03:48:20 . [Pipeline] withDockerContainer 03:48:20 prd-ubuntu18.04-docker-arm64-4c-16g-2536 does not seem to be running inside a container 03:48:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:48:22 $ docker top 4c8ce92f66601e7a13789d21b8077ce26a59446feafe0c456d90d67683fd423f -eo pid,comm [Pipeline] { [Pipeline] sh 03:48:23 + go version 03:48:23 go version go1.13.5 linux/arm64 [Pipeline] sh 03:48:25 + make test 03:48:25 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:48:25 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:48:58 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:48:58 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:48:58 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:48:58 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 22.1% of statements 03:48:58 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.262s coverage: 95.8% of statements 03:49:30 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.039s coverage: 11.4% of statements 03:49:30 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.7% of statements 03:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:49:30 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.118s coverage: 36.9% of statements 03:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 03:49:30 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.601s coverage: 65.2% of statements 03:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:49:30 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.052s coverage: 52.6% of statements 03:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 03:49:30 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 68.9% of statements 03:49:30 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:49:30 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:49:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:49:34 gofmt -l . 03:49:34 [ "`gofmt -l .`" = "" ] 03:49:34 ./bin/test-attribution-txt.sh 03:49:34 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:49:35 Warning: overwriting stash ‘coverage-report’ 03:49:36 Stashed 1 file(s) [Pipeline] } 03:49:36 $ docker stop --time=1 4c8ce92f66601e7a13789d21b8077ce26a59446feafe0c456d90d67683fd423f 03:49:38 $ docker rm -f 4c8ce92f66601e7a13789d21b8077ce26a59446feafe0c456d90d67683fd423f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:49:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:49:39 + ls -al . 03:49:39 total 220 03:49:39 drwxrwxr-x 11 jenkins jenkins 4096 Jun 11 03:49 . 03:49:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:47 .. 03:49:39 -rw-rw-r-- 1 jenkins jenkins 140 Jun 11 03:47 .dockerignore 03:49:39 drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 03:47 .git 03:49:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 03:47 .github 03:49:39 -rw-rw-r-- 1 jenkins jenkins 138 Jun 11 03:47 .gitignore 03:49:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 03:47 .semver 03:49:39 -rw-rw-r-- 1 jenkins jenkins 936 Jun 11 03:47 Dockerfile.build 03:49:39 -rw-rw-r-- 1 jenkins jenkins 808 Jun 11 03:47 Jenkinsfile 03:49:39 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 11 03:47 LICENSE 03:49:39 -rw-rw-r-- 1 jenkins jenkins 892 Jun 11 03:47 Makefile 03:49:39 -rw-rw-r-- 1 jenkins jenkins 3166 Jun 11 03:47 README.md 03:49:39 -rw-rw-r-- 1 jenkins jenkins 3997 Jun 11 03:47 RELEASE-NOTES.txt 03:49:39 -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 03:44 VERSION 03:49:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 03:47 api 03:49:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 03:47 bin 03:49:39 -rw-r--r-- 1 jenkins jenkins 110877 Jun 11 03:49 coverage.out 03:49:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:47 example 03:49:39 -rw-r--r-- 1 jenkins jenkins 446 Jun 11 03:49 go.mod 03:49:39 -rw-r--r-- 1 jenkins jenkins 12179 Jun 11 03:49 go.sum 03:49:39 drwxrwxr-x 15 jenkins jenkins 4096 Jun 11 03:47 internal 03:49:39 drwxrwxr-x 5 jenkins jenkins 4096 Jun 11 03:47 pkg 03:49:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:47 snap 03:49:39 -rw-rw-r-- 1 jenkins jenkins 222 Jun 11 03:47 version.go [Pipeline] isUnix [Pipeline] sh 03:49:39 + 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=ada00874e8d721bd0a5d9189d642e78d0512fd6f --label arch=arm64 --label version=0.0.0 . 03:49:40 Sending build context to Docker daemon 3.199MB 03:49:40 Step 1/23 : ARG BASE=golang:1.13-alpine 03:49:40 Step 2/23 : FROM ${BASE} AS builder 03:49:40 ---> 45f5ff3ac25e 03:49:40 Step 3/23 : ARG MAKE='make build' 03:49:40 ---> Running in 742142cabec8 03:49:40 Removing intermediate container 742142cabec8 03:49:40 ---> 7bb6d29117f8 03:49:40 Step 4/23 : WORKDIR /device-sdk-go 03:49:40 ---> Running in 1b67245d1e1f 03:49:41 Removing intermediate container 1b67245d1e1f 03:49:41 ---> 78a986bdb4dc 03:49:41 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:49:41 ---> Running in 240b2ca4c345 03:49:42 Removing intermediate container 240b2ca4c345 03:49:42 ---> 535e413e810e 03:49:42 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:49:42 ---> Running in 94721ef41af5 03:49:44 Removing intermediate container 94721ef41af5 03:49:44 ---> 94c78d47451a 03:49:44 Step 7/23 : RUN apk add --update --no-cache make git 03:49:44 ---> Running in ca49e42b0473 03:49:46 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:49:47 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:49:47 OK: 125 MiB in 39 packages 03:49:48 Removing intermediate container ca49e42b0473 03:49:48 ---> 433dae8ddf27 03:49:48 Step 8/23 : COPY . . 03:49:50 ---> c833bb635ba4 03:49:50 Step 9/23 : RUN ${MAKE} 03:49:50 ---> Running in 7e88a81fa95a 03:49:51 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 03:50:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:50:17 Removing intermediate container 7e88a81fa95a 03:50:17 ---> 77885525f54d 03:50:17 Step 10/23 : FROM scratch 03:50:17 ---> 03:50:17 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:50:17 ---> Running in 02e3965fa809 03:50:17 Removing intermediate container 02e3965fa809 03:50:17 ---> a6537777006d 03:50:17 Step 12/23 : ENV APP_PORT=49990 03:50:17 ---> Running in 182496a7b695 03:50:18 Removing intermediate container 182496a7b695 03:50:18 ---> 9d0f9f8f1b41 03:50:18 Step 13/23 : EXPOSE $APP_PORT 03:50:18 ---> Running in 3ba0ba341f2a 03:50:18 Removing intermediate container 3ba0ba341f2a 03:50:18 ---> e734e2c7977b 03:50:18 Step 14/23 : WORKDIR / 03:50:18 ---> Running in fe628e1391e4 03:50:19 Removing intermediate container fe628e1391e4 03:50:19 ---> 1d1c1299b815 03:50:19 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:50:20 ---> cf7e5359429d 03:50:20 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:50:21 ---> 5856374b97ab 03:50:21 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:50:21 ---> 22c9d70d72e7 03:50:21 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:50:22 ---> 673a226497c3 03:50:22 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:50:23 ---> 8a208110a67e 03:50:23 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:50:23 ---> Running in 22fbdc183232 03:50:24 Removing intermediate container 22fbdc183232 03:50:24 ---> dea2574e14e9 03:50:24 Step 21/23 : LABEL arch=arm64 03:50:24 ---> Running in df132b5496c5 03:50:24 Removing intermediate container df132b5496c5 03:50:24 ---> dcd27805ce11 03:50:24 Step 22/23 : LABEL git_sha=ada00874e8d721bd0a5d9189d642e78d0512fd6f 03:50:24 ---> Running in fda0c1024c23 03:50:25 Removing intermediate container fda0c1024c23 03:50:25 ---> 0daea53e23c7 03:50:25 Step 23/23 : LABEL version=0.0.0 03:50:25 ---> Running in 5b46593e46cf 03:50:25 Removing intermediate container 5b46593e46cf 03:50:25 ---> a4e9febdcefd 03:50:25 [Warning] One or more build-args [ARCH] were not consumed 03:50:25 Successfully built a4e9febdcefd 03:50: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 03:50:26 provisioning config files... 03:50:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/config8120899622880610404tmp [Pipeline] { [Pipeline] sh 03:50:26 + curl -s https://codecov.io/bash 03:50:26 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/config8120899622880610404tmp 03:50:27 03:50:27 _____ _ 03:50:27 / ____| | | 03:50:27 | | ___ __| | ___ ___ _____ __ 03:50:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:50:27 | |___| (_) | (_| | __/ (_| (_) \ V / 03:50:27 \_____\___/ \__,_|\___|\___\___/ \_/ 03:50:27 Bash-20200602-f809a24 03:50:27 03:50:27 03:50:27 ==> Jenkins CI detected. 03:50:27 project root: . 03:50:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:50:27 ==> Running gcov in . (disable via -X gcov) 03:50:27 ==> Python coveragepy not found 03:50:27 ==> Searching for coverage reports in: 03:50:27 + . 03:50:27 -> Found 1 reports 03:50:27 ==> Detecting git/mercurial file structure 03:50:27 ==> Reading reports 03:50:27 + ./coverage.out bytes=110877 03:50:27 ==> Appending adjustments 03:50:27 https://docs.codecov.io/docs/fixing-reports 03:50:27 + Found adjustments 03:50:27 ==> Gzipping contents 03:50:27 ==> Uploading reports 03:50:27 url: https://codecov.io 03:50:27 query: branch=PR-536&commit=ada00874e8d721bd0a5d9189d642e78d0512fd6f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-536%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=536&job= 03:50:27 -> Pinging Codecov 03:50:27 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-536&commit=ada00874e8d721bd0a5d9189d642e78d0512fd6f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-536%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=536&job= 03:50:28 -> Uploading 03:50:28 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ada00874e8d721bd0a5d9189d642e78d0512fd6f [Pipeline] } 03:50:28 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 03:50:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:50:29 ---> package-listing.sh 03:50:29 ++ facter osfamily 03:50:29 ++ tr '[:upper:]' '[:lower:]' 03:50:29 + OS_FAMILY=redhat 03:50:29 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-536 03:50:29 + START_PACKAGES=/tmp/packages_start.txt 03:50:29 + END_PACKAGES=/tmp/packages_end.txt 03:50:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:50:29 + PACKAGES=/tmp/packages_start.txt 03:50:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-536 ']' 03:50:29 + PACKAGES=/tmp/packages_end.txt 03:50:29 + case "${OS_FAMILY}" in 03:50:29 + rpm -qa 03:50:29 + sort 03:50:33 + '[' -f /tmp/packages_start.txt ']' 03:50:33 + '[' -f /tmp/packages_end.txt ']' 03:50:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:50:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-536 ']' 03:50:33 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-536/archives/ 03:50:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-536/archives/ [Pipeline] isUnix [Pipeline] sh 03:50:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:50:34 03:50:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:50:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:50:34 alpine: Pulling from edgex-lftools-log-publisher 03:50:34 c9b1b535fdd9: Pulling fs layer 03:50:34 2cc5ad85d9ab: Pulling fs layer 03:50:34 756a868c4378: Pulling fs layer 03:50:34 444b2fc9a129: Pulling fs layer 03:50:34 ea15f1150254: Pulling fs layer 03:50:34 41b27a9f41bf: Pulling fs layer 03:50:34 28c525ee5125: Pulling fs layer 03:50:34 094b1ea09ed8: Pulling fs layer 03:50:34 138eaada9080: Pulling fs layer 03:50:34 0622d0fa9048: Pulling fs layer 03:50:34 41b27a9f41bf: Waiting 03:50:34 28c525ee5125: Waiting 03:50:34 444b2fc9a129: Waiting 03:50:34 094b1ea09ed8: Waiting 03:50:34 138eaada9080: Waiting 03:50:34 ea15f1150254: Waiting 03:50:34 0622d0fa9048: Waiting 03:50:34 2cc5ad85d9ab: Verifying Checksum 03:50:34 2cc5ad85d9ab: Download complete 03:50:34 444b2fc9a129: Verifying Checksum 03:50:34 444b2fc9a129: Download complete 03:50:34 c9b1b535fdd9: Verifying Checksum 03:50:34 c9b1b535fdd9: Download complete 03:50:34 ea15f1150254: Verifying Checksum 03:50:34 ea15f1150254: Download complete 03:50:34 28c525ee5125: Verifying Checksum 03:50:34 28c525ee5125: Download complete 03:50:35 756a868c4378: Verifying Checksum 03:50:35 756a868c4378: Download complete 03:50:35 c9b1b535fdd9: Pull complete 03:50:35 138eaada9080: Verifying Checksum 03:50:35 138eaada9080: Download complete 03:50:35 0622d0fa9048: Verifying Checksum 03:50:35 0622d0fa9048: Download complete 03:50:35 094b1ea09ed8: Verifying Checksum 03:50:35 094b1ea09ed8: Download complete 03:50:35 2cc5ad85d9ab: Pull complete 03:50:35 41b27a9f41bf: Verifying Checksum 03:50:35 41b27a9f41bf: Download complete 03:50:37 756a868c4378: Pull complete 03:50:37 444b2fc9a129: Pull complete 03:50:37 ea15f1150254: Pull complete 03:50:41 41b27a9f41bf: Pull complete 03:50:41 28c525ee5125: Pull complete 03:50:43 094b1ea09ed8: Pull complete 03:50:43 138eaada9080: Pull complete 03:50:44 0622d0fa9048: Pull complete 03:50:44 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:50:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:50:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:50:44 prd-centos7-docker-4c-2g-2533 does not seem to be running inside a container 03:50:44 $ 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-536 -v /w/workspace/dgexfoundry_device-sdk-go_PR-536:/w/workspace/dgexfoundry_device-sdk-go_PR-536:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-536@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:10003/edgex-lftools-log-publisher:alpine cat 03:50:48 $ docker top fc5af21cfe860947e4d1ed7eee1c73b19eb3062e72ca5ae025781a560b859f91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:50:48 provisioning config files... 03:50:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/config8499670433923022867tmp [Pipeline] { [Pipeline] echo 03:50:48 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:50:48 ---> create-netrc.sh [Pipeline] echo 03:50:48 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:50:49 ---> logs-deploy.sh 03:50:49 + ARCHIVE_ARTIFACTS= 03:50:49 + LOGS_SERVER=https://logs.edgexfoundry.org 03:50:49 + '[' https://logs.edgexfoundry.org == None ']' 03:50:49 + NEXUS_URL=https://nexus.edgexfoundry.org 03:50:49 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-536/2 03:50:49 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-536/2/ 03:50:49 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-536/2 /w/workspace/dgexfoundry_device-sdk-go_PR-536 03:50:50 Archives upload complete. 03:50:50 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-536/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-536/2/