Pull request #499 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 2564dc108e71feea14859d9661bd87f7c2b518b3 rather than 3988dfef7ce44ebf982d0bd350c905d90fbbd27f Obtained Jenkinsfile from 2564dc108e71feea14859d9661bd87f7c2b518b3 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 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 [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-5248 in /w/workspace/dgexfoundry_device-sdk-go_PR-499 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-499 # 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/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 2564dc108e71feea14859d9661bd87f7c2b518b3 into PR head commit 3988dfef7ce44ebf982d0bd350c905d90fbbd27f Merge succeeded, producing 3988dfef7ce44ebf982d0bd350c905d90fbbd27f Checking out Revision 3988dfef7ce44ebf982d0bd350c905d90fbbd27f (PR-499) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/499/head:refs/remotes/origin/PR-499 # 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/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3988dfef7ce44ebf982d0bd350c905d90fbbd27f # 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 2564dc108e71feea14859d9661bd87f7c2b518b3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3988dfef7ce44ebf982d0bd350c905d90fbbd27f # timeout=10 Commit message: "Parse base64 string as float value Since user can execute put cmd with the base64 string parameter, device-sdk should parse base64 string as float value when user indicate the data type is float32 or float64." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:22:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 # timeout=10 14:22:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:22:58 ========================================================= 14:22:58 EdgeX Global Pipelines Version Info 14:22:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:23:00 ------------------- 14:23:00 stable info: 14:23:00 ------------------- 14:23:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:23:00 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 14:23:00 Message: update stable to v1.0.73 14:23:00 ------------------- 14:23:00 experimental info: 14:23:00 ------------------- 14:23:00 Commited By: **** collab-it+edgex@linuxfoundation.org 14:23:00 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 14:23:00 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 14:23:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:23:02 14:23:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:23:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:23:03 latest: Pulling from edgex-devops/git-semver 14:23:03 9123ac7c32f7: Pulling fs layer 14:23:03 b8cc5d1170e3: Pulling fs layer 14:23:03 2924cbbf6a41: Pulling fs layer 14:23:03 93b08a4f1073: Pulling fs layer 14:23:03 93b08a4f1073: Waiting 14:23:03 b8cc5d1170e3: Verifying Checksum 14:23:03 b8cc5d1170e3: Download complete 14:23:03 9123ac7c32f7: Verifying Checksum 14:23:03 9123ac7c32f7: Download complete 14:23:03 93b08a4f1073: Verifying Checksum 14:23:03 93b08a4f1073: Download complete 14:23:03 2924cbbf6a41: Verifying Checksum 14:23:03 2924cbbf6a41: Download complete 14:23:03 9123ac7c32f7: Pull complete 14:23:03 b8cc5d1170e3: Pull complete 14:23:04 2924cbbf6a41: Pull complete 14:23:04 93b08a4f1073: Pull complete 14:23:04 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:23:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:23:04 prd-centos7-docker-4c-2g-5248 does not seem to be running inside a container 14:23:04 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-499 -v /w/workspace/dgexfoundry_device-sdk-go_PR-499:/w/workspace/dgexfoundry_device-sdk-go_PR-499:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-499@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:23:05 $ docker top e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:23:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:23:05 [ssh-agent] Looking for ssh-agent implementation... 14:23:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:23:06 $ docker exec e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 ssh-agent 14:23:06 SSH_AUTH_SOCK=/tmp/ssh-A8LZaXyNQOQd/agent.15 14:23:06 SSH_AGENT_PID=22 14:23:06 Running ssh-add (command line suppressed) 14:23:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_7757765265801037041.key (/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_7757765265801037041.key) 14:23:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:23:07 + git describe --exact-match --tags HEAD 14:23:07 fatal: No names found, cannot describe anything. [Pipeline] } 14:23:07 $ docker exec --env ******** --env ******** e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 ssh-agent -k 14:23:07 unset SSH_AUTH_SOCK; 14:23:07 unset SSH_AGENT_PID; 14:23:07 echo Agent pid 22 killed; 14:23:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:23:07 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:23:07 This usually means this commit has not been tagged. [Pipeline] sshagent 14:23:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:23:07 [ssh-agent] Looking for ssh-agent implementation... 14:23:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:23:07 $ docker exec e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 ssh-agent 14:23:07 SSH_AUTH_SOCK=/tmp/ssh-o3V1zKNWTG9Y/agent.58 14:23:07 SSH_AGENT_PID=64 14:23:08 Running ssh-add (command line suppressed) 14:23:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_2948194201974208468.key (/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_2948194201974208468.key) 14:23:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:23:08 + git semver init 14:23:08 # -> Open(): unable to determine branch for HEAD 14:23:08 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-499/.git 14:23:08 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-499 14:23:08 # $SEMVER_REMOTE_NAME = origin 14:23:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:23:08 # $SEMVER_USER_NAME = edgex-jenkins 14:23:08 # $SEMVER_BRANCH = PR-499 14:23:08 # $SEMVER_TEMP = /tmp/semver-600857560 14:23:08 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:23:09 # '/tmp/semver-600857560' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-499/.semver' 14:23:09 # -> Force: false 14:23:09 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-499/.semver [Pipeline] } 14:23:09 $ docker exec --env ******** --env ******** e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 ssh-agent -k 14:23:09 unset SSH_AUTH_SOCK; 14:23:09 unset SSH_AGENT_PID; 14:23:09 echo Agent pid 64 killed; 14:23:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:23:09 + git semver [Pipeline] } 14:23:09 $ docker stop --time=1 e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 14:23:11 $ docker rm -f e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:23:11 Stashed 51 file(s) [Pipeline] echo 14:23:11 [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 14:23:27 Still waiting to schedule task 14:23:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:23:27 Still waiting to schedule task 14:23:27 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:25:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5249 in /w/workspace/dgexfoundry_device-sdk-go_PR-499 [Pipeline] { [Pipeline] ws 14:25:16 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 14:25:20 Running on prd-centos7-docker-4c-2g-5250 in /w/workspace/dgexfoundry_device-sdk-go_PR-499 [Pipeline] { [Pipeline] ws 14:25:20 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 14:25:22 using credential edgex-jenkins-ssh 14:25:22 using credential edgex-jenkins-ssh 14:25:22 Cloning the remote Git repository 14:25:22 Cloning with configured refspecs honoured and without tags 14:25:22 Cloning the remote Git repository 14:25:22 Cloning with configured refspecs honoured and without tags 14:25:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:25:22 > git init /w/workspace/device-sdk-go/4 # timeout=10 14:25:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:25:22 > git --version # timeout=10 14:25:22 using GIT_SSH to set credentials SSH Credentials for GitHub 14:25:23 Fetching without tags 14:25:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:25:22 > git init /w/workspace/device-sdk-go/4 # timeout=10 14:25:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:25:22 > git --version # timeout=10 14:25:22 using GIT_SSH to set credentials SSH Credentials for GitHub 14:25:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:25:23 Merging remotes/origin/master commit 2564dc108e71feea14859d9661bd87f7c2b518b3 into PR head commit 3988dfef7ce44ebf982d0bd350c905d90fbbd27f 14:25:23 Merge succeeded, producing 3988dfef7ce44ebf982d0bd350c905d90fbbd27f 14:25:23 Checking out Revision 3988dfef7ce44ebf982d0bd350c905d90fbbd27f (PR-499) 14:25:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:25:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:25:23 > git config --add remote.origin.fetch +refs/pull/499/head:refs/remotes/origin/PR-499 # timeout=10 14:25:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:25:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:25:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:25:23 using GIT_SSH to set credentials SSH Credentials for GitHub 14:25:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:25:23 > git config core.sparsecheckout # timeout=10 14:25:23 > git checkout -f 3988dfef7ce44ebf982d0bd350c905d90fbbd27f # timeout=10 14:25:23 > git remote # timeout=10 14:25:23 > git config --get remote.origin.url # timeout=10 14:25:23 using GIT_SSH to set credentials SSH Credentials for GitHub 14:25:23 > git merge 2564dc108e71feea14859d9661bd87f7c2b518b3 # timeout=10 14:25:23 > git rev-parse HEAD^{commit} # timeout=10 14:25:23 > git config core.sparsecheckout # timeout=10 14:25:23 > git checkout -f 3988dfef7ce44ebf982d0bd350c905d90fbbd27f # timeout=10 14:25:23 Fetching without tags 14:25:24 Merging remotes/origin/master commit 2564dc108e71feea14859d9661bd87f7c2b518b3 into PR head commit 3988dfef7ce44ebf982d0bd350c905d90fbbd27f 14:25:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:25:23 > git config --add remote.origin.fetch +refs/pull/499/head:refs/remotes/origin/PR-499 # timeout=10 14:25:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:25:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:25:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:25:24 using GIT_SSH to set credentials SSH Credentials for GitHub 14:25:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:25:24 > git config core.sparsecheckout # timeout=10 14:25:24 > git checkout -f 3988dfef7ce44ebf982d0bd350c905d90fbbd27f # timeout=10 14:25:24 > git remote # timeout=10 14:25:24 > git config --get remote.origin.url # timeout=10 14:25:24 Merge succeeded, producing 3988dfef7ce44ebf982d0bd350c905d90fbbd27f 14:25:24 Checking out Revision 3988dfef7ce44ebf982d0bd350c905d90fbbd27f (PR-499) 14:25:24 using GIT_SSH to set credentials SSH Credentials for GitHub 14:25:24 > git merge 2564dc108e71feea14859d9661bd87f7c2b518b3 # timeout=10 14:25:24 > git rev-parse HEAD^{commit} # timeout=10 14:25:24 > git config core.sparsecheckout # timeout=10 14:25:24 > git checkout -f 3988dfef7ce44ebf982d0bd350c905d90fbbd27f # timeout=10 14:25:27 Commit message: "Parse base64 string as float value Since user can execute put cmd with the base64 string parameter, device-sdk should parse base64 string as float value when user indicate the data type is float32 or float64." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:25:28 ========================================================= 14:25:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:25:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:25:29 Commit message: "Parse base64 string as float value Since user can execute put cmd with the base64 string parameter, device-sdk should parse base64 string as float value when user indicate the data type is float32 or float64." 14:25:29 + 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 . 14:25:29 Sending build context to Docker daemon 2.993MB 14:25:29 Step 1/8 : ARG BASE=golang:1.13-alpine 14:25:29 Step 2/8 : FROM ${BASE} 14:25:29 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:25:29 e6b0cf9c0882: Pulling fs layer 14:25:29 2848faf0eed1: Pulling fs layer 14:25:29 0f37312ad70f: Pulling fs layer 14:25:29 5788d62ee057: Pulling fs layer 14:25:29 0e6b1d234666: Pulling fs layer 14:25:29 bf5d7aec512f: Pulling fs layer 14:25:29 34c802a77dc8: Pulling fs layer 14:25:29 9eb99e56ec68: Pulling fs layer 14:25:29 27c7a5d97fbd: Pulling fs layer 14:25:29 5c102a31e300: Pulling fs layer 14:25:29 dcfb455df0a1: Pulling fs layer 14:25:29 9eb99e56ec68: Waiting 14:25:29 bf5d7aec512f: Waiting 14:25:29 34c802a77dc8: Waiting 14:25:29 27c7a5d97fbd: Waiting 14:25:29 5c102a31e300: Waiting 14:25:29 dcfb455df0a1: Waiting 14:25:29 0e6b1d234666: Waiting 14:25:29 0f37312ad70f: Verifying Checksum 14:25:29 0f37312ad70f: Download complete 14:25:29 2848faf0eed1: Download complete 14:25:29 0e6b1d234666: Verifying Checksum 14:25:29 0e6b1d234666: Download complete 14:25:29 bf5d7aec512f: Verifying Checksum 14:25:29 bf5d7aec512f: Download complete 14:25:29 e6b0cf9c0882: Verifying Checksum 14:25:29 e6b0cf9c0882: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 14:25:29 e6b0cf9c0882: Pull complete 14:25:30 2848faf0eed1: Pull complete 14:25:30 0f37312ad70f: Pull complete 14:25:30 34c802a77dc8: Verifying Checksum 14:25:30 34c802a77dc8: Download complete 14:25:30 27c7a5d97fbd: Verifying Checksum 14:25:30 27c7a5d97fbd: Download complete [Pipeline] echo 14:25:30 ========================================================= 14:25:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:25:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:25:30 5c102a31e300: Verifying Checksum 14:25:30 5c102a31e300: Download complete 14:25:30 dcfb455df0a1: Verifying Checksum 14:25:30 dcfb455df0a1: Download complete 14:25:31 9eb99e56ec68: Verifying Checksum 14:25:31 9eb99e56ec68: Download complete 14:25:31 5788d62ee057: Verifying Checksum 14:25:31 5788d62ee057: Download complete 14:25:31 + 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 . 14:25:32 Sending build context to Docker daemon 2.994MB 14:25:32 Step 1/8 : ARG BASE=golang:1.13-alpine 14:25:32 Step 2/8 : FROM ${BASE} 14:25:32 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:25:32 cde5963f3b93: Pulling fs layer 14:25:32 2a23fa8c16f7: Pulling fs layer 14:25:32 777b28850792: Pulling fs layer 14:25:32 8a11ddd9e578: Pulling fs layer 14:25:32 4cf88f913ddb: Pulling fs layer 14:25:32 1df406cf5192: Pulling fs layer 14:25:32 cd6300453558: Pulling fs layer 14:25:32 b9c365052c96: Pulling fs layer 14:25:32 a2d8cc88f415: Pulling fs layer 14:25:32 ea1d1ca13537: Pulling fs layer 14:25:32 3750a50a1c5e: Pulling fs layer 14:25:32 cd6300453558: Waiting 14:25:32 b9c365052c96: Waiting 14:25:32 8a11ddd9e578: Waiting 14:25:32 4cf88f913ddb: Waiting 14:25:32 1df406cf5192: Waiting 14:25:32 ea1d1ca13537: Waiting 14:25:32 3750a50a1c5e: Waiting 14:25:32 a2d8cc88f415: Waiting 14:25:33 777b28850792: Verifying Checksum 14:25:33 777b28850792: Download complete 14:25:33 2a23fa8c16f7: Download complete 14:25:33 4cf88f913ddb: Verifying Checksum 14:25:33 4cf88f913ddb: Download complete 14:25:33 1df406cf5192: Verifying Checksum 14:25:33 1df406cf5192: Download complete 14:25:33 cde5963f3b93: Download complete 14:25:33 cde5963f3b93: Pull complete 14:25:34 2a23fa8c16f7: Pull complete 14:25:34 777b28850792: Pull complete 14:25:37 cd6300453558: Verifying Checksum 14:25:37 cd6300453558: Download complete 14:25:37 a2d8cc88f415: Verifying Checksum 14:25:37 a2d8cc88f415: Download complete 14:25:38 5788d62ee057: Pull complete 14:25:38 0e6b1d234666: Pull complete 14:25:38 bf5d7aec512f: Pull complete 14:25:40 ea1d1ca13537: Verifying Checksum 14:25:40 ea1d1ca13537: Download complete 14:25:40 3750a50a1c5e: Verifying Checksum 14:25:40 3750a50a1c5e: Download complete 14:25:42 b9c365052c96: Verifying Checksum 14:25:42 b9c365052c96: Download complete 14:25:43 34c802a77dc8: Pull complete 14:25:44 8a11ddd9e578: Verifying Checksum 14:25:44 8a11ddd9e578: Download complete 14:25:47 9eb99e56ec68: Pull complete 14:25:47 27c7a5d97fbd: Pull complete 14:25:48 5c102a31e300: Pull complete 14:25:48 dcfb455df0a1: Pull complete 14:25:48 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:25:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:25:48 ---> 7c70fe431013 14:25:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:25:48 ---> Running in fa41a3d0b54f 14:25:48 Removing intermediate container fa41a3d0b54f 14:25:48 ---> b49c4ac3adda 14:25:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:25:48 ---> Running in 82b62576f2bd 14:25:49 Removing intermediate container 82b62576f2bd 14:25:49 ---> 5fc309855681 14:25:49 Step 5/8 : RUN apk add --no-cache make git 14:25:50 ---> Running in fe03d6be2d07 14:25:50 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:25:51 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:25:52 OK: 143 MiB in 39 packages 14:25:53 Removing intermediate container fe03d6be2d07 14:25:53 ---> 300707019a09 14:25:53 Step 6/8 : WORKDIR /device-sdk-go 14:25:53 ---> Running in 71559b04eec5 14:25:53 Removing intermediate container 71559b04eec5 14:25:53 ---> f7743f11df3d 14:25:53 Step 7/8 : COPY . . 14:25:53 ---> 1d652c47e6f9 14:25:53 Step 8/8 : RUN go mod download 14:25:54 ---> Running in a8e5b86cf7a3 14:25:55 go: finding github.com/BurntSushi/toml v0.3.1 14:25:55 go: finding github.com/OneOfOne/xxhash v1.2.6 14:25:55 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:25:55 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:25:55 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:25:55 go: finding github.com/bgentry/speakeasy v0.1.0 14:25:55 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:25:55 go: finding github.com/davecgh/go-spew v1.1.1 14:25:55 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 14:25:55 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:25:55 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:25:55 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:25:55 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:25:55 go: finding github.com/fatih/color v1.7.0 14:25:55 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:25:55 go: finding github.com/go-kit/kit v0.8.0 14:25:55 go: finding github.com/go-logfmt/logfmt v0.4.0 14:25:55 go: finding github.com/go-stack/stack v1.8.0 14:25:55 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:25:55 go: finding github.com/google/uuid v1.1.0 14:25:55 go: finding github.com/gorilla/mux v1.7.1 14:25:55 go: finding github.com/hashicorp/consul/api v1.1.0 14:25:55 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:25:55 go: finding github.com/hashicorp/errwrap v1.0.0 14:25:55 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:25:55 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:25:55 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:25:55 go: finding github.com/hashicorp/go-multierror v1.0.0 14:25:55 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:25:55 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:25:55 go: finding github.com/hashicorp/go-syslog v1.0.0 14:25:55 go: finding github.com/hashicorp/go-uuid v1.0.1 14:25:55 go: finding github.com/hashicorp/go.net v0.0.1 14:25:55 go: finding github.com/hashicorp/golang-lru v0.5.0 14:25:55 go: finding github.com/hashicorp/logutils v1.0.0 14:25:55 go: finding github.com/hashicorp/mdns v1.0.0 14:25:55 go: finding github.com/hashicorp/memberlist v0.1.3 14:25:55 go: finding github.com/hashicorp/serf v0.8.2 14:25:55 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:25:55 go: finding github.com/mattn/go-colorable v0.0.9 14:25:55 go: finding github.com/mattn/go-isatty v0.0.3 14:25:55 go: finding github.com/miekg/dns v1.0.14 14:25:55 go: finding github.com/mitchellh/cli v1.0.0 14:25:55 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:25:55 go: finding github.com/mitchellh/copystructure v1.0.0 14:25:55 go: finding github.com/mitchellh/go-homedir v1.0.0 14:25:55 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:25:55 go: finding github.com/mitchellh/gox v0.4.0 14:25:55 go: finding github.com/mitchellh/iochan v1.0.0 14:25:55 go: finding github.com/mitchellh/mapstructure v1.1.2 14:25:56 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:25:56 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:25:56 go: finding github.com/pelletier/go-toml v1.2.0 14:25:56 go: finding github.com/pkg/errors v0.8.1 14:25:56 go: finding github.com/pmezard/go-difflib v1.0.0 14:25:56 go: finding github.com/posener/complete v1.1.1 14:25:56 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:25:56 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:25:56 go: finding github.com/stretchr/objx v0.1.0 14:25:56 go: finding github.com/stretchr/testify v1.5.1 14:25:56 go: finding github.com/ugorji/go v1.1.4 14:25:56 go: finding github.com/x448/float16 v0.8.4 14:25:56 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:25:56 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:25:56 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:25:56 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:25:56 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:25:56 go: finding gopkg.in/yaml.v2 v2.2.8 14:25:57 8a11ddd9e578: Pull complete 14:25:57 4cf88f913ddb: Pull complete 14:25:57 1df406cf5192: Pull complete 14:26:01 cd6300453558: Pull complete 14:26:01 Removing intermediate container a8e5b86cf7a3 14:26:01 ---> f66ddb8d5cf8 14:26:01 Successfully built f66ddb8d5cf8 14:26:01 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 14:26:02 + docker inspect -f . ci-base-image-x86_64 14:26:02 . [Pipeline] withDockerContainer 14:26:02 prd-centos7-docker-4c-2g-5250 does not seem to be running inside a container 14:26:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 14:26:04 $ docker top fb72e57ec121443b117b638ee8ad66c7d18ae9173e9f084b7302623afee5139b -eo pid,comm [Pipeline] { [Pipeline] sh 14:26:04 + go version 14:26:04 go version go1.13.5 linux/amd64 [Pipeline] sh 14:26:05 + make test 14:26:05 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:26:06 b9c365052c96: Pull complete 14:26:06 a2d8cc88f415: Pull complete 14:26:07 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:26:08 ea1d1ca13537: Pull complete 14:26:09 3750a50a1c5e: Pull complete 14:26:09 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:26:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:26:09 ---> 78745c68409d 14:26:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:26:13 ---> Running in 6635ead34f5a 14:26:13 Removing intermediate container 6635ead34f5a 14:26:13 ---> bd143c6743b8 14:26:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:26:13 ---> Running in e486fa158c4b 14:26:16 Removing intermediate container e486fa158c4b 14:26:16 ---> 0753cdb00338 14:26:16 Step 5/8 : RUN apk add --no-cache make git 14:26:16 ---> Running in dacac9324415 14:26:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:26:17 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:26:17 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:26:17 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 14:26:17 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.019s coverage: 21.9% of statements 14:26:18 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:26:19 OK: 125 MiB in 39 packages 14:26:20 Removing intermediate container dacac9324415 14:26:20 ---> 1cd22691c657 14:26:20 Step 6/8 : WORKDIR /device-sdk-go 14:26:20 ---> Running in cc2f43127c1b 14:26:21 Removing intermediate container cc2f43127c1b 14:26:21 ---> 0dbc8f3d36db 14:26:21 Step 7/8 : COPY . . 14:26:22 ---> 076c6e30b0b5 14:26:22 Step 8/8 : RUN go mod download 14:26:22 ---> Running in 947b5e74e4a4 14:26:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.044s coverage: 95.8% of statements 14:26:24 go: finding github.com/BurntSushi/toml v0.3.1 14:26:24 go: finding github.com/OneOfOne/xxhash v1.2.6 14:26:24 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:26:24 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:26:24 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:26:24 go: finding github.com/bgentry/speakeasy v0.1.0 14:26:24 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:26:24 go: finding github.com/davecgh/go-spew v1.1.1 14:26:24 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 14:26:24 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:26:24 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:26:24 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:26:24 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:26:24 go: finding github.com/fatih/color v1.7.0 14:26:24 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:26:24 go: finding github.com/go-kit/kit v0.8.0 14:26:24 go: finding github.com/go-logfmt/logfmt v0.4.0 14:26:24 go: finding github.com/go-stack/stack v1.8.0 14:26:24 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:26:24 go: finding github.com/google/uuid v1.1.0 14:26:24 go: finding github.com/gorilla/mux v1.7.1 14:26:24 go: finding github.com/hashicorp/consul/api v1.1.0 14:26:24 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:26:24 go: finding github.com/hashicorp/errwrap v1.0.0 14:26:24 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:26:24 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:26:24 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:26:24 go: finding github.com/hashicorp/go-multierror v1.0.0 14:26:24 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:26:24 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:26:24 go: finding github.com/hashicorp/go-syslog v1.0.0 14:26:24 go: finding github.com/hashicorp/go-uuid v1.0.1 14:26:24 go: finding github.com/hashicorp/go.net v0.0.1 14:26:24 go: finding github.com/hashicorp/golang-lru v0.5.0 14:26:24 go: finding github.com/hashicorp/logutils v1.0.0 14:26:24 go: finding github.com/hashicorp/mdns v1.0.0 14:26:24 go: finding github.com/hashicorp/memberlist v0.1.3 14:26:24 go: finding github.com/hashicorp/serf v0.8.2 14:26:24 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:26:24 go: finding github.com/mattn/go-colorable v0.0.9 14:26:24 go: finding github.com/mattn/go-isatty v0.0.3 14:26:24 go: finding github.com/miekg/dns v1.0.14 14:26:24 go: finding github.com/mitchellh/cli v1.0.0 14:26:24 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:26:24 go: finding github.com/mitchellh/copystructure v1.0.0 14:26:24 go: finding github.com/mitchellh/go-homedir v1.0.0 14:26:24 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:26:24 go: finding github.com/mitchellh/gox v0.4.0 14:26:24 go: finding github.com/mitchellh/iochan v1.0.0 14:26:24 go: finding github.com/mitchellh/mapstructure v1.1.2 14:26:24 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:26:24 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:26:24 go: finding github.com/pelletier/go-toml v1.2.0 14:26:24 go: finding github.com/pkg/errors v0.8.1 14:26:24 go: finding github.com/pmezard/go-difflib v1.0.0 14:26:24 go: finding github.com/posener/complete v1.1.1 14:26:24 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:26:24 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:26:24 go: finding github.com/stretchr/objx v0.1.0 14:26:24 go: finding github.com/stretchr/testify v1.5.1 14:26:24 go: finding github.com/ugorji/go v1.1.4 14:26:24 go: finding github.com/x448/float16 v0.8.4 14:26:24 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:26:24 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:26:24 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:26:24 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:26:24 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:26:24 go: finding gopkg.in/yaml.v2 v2.2.8 14:26:35 Removing intermediate container 947b5e74e4a4 14:26:35 ---> 2ea00b75277c 14:26:35 Successfully built 2ea00b75277c 14:26:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:26:35 + docker inspect -f . ci-base-image-arm64 14:26:35 . [Pipeline] withDockerContainer 14:26:36 prd-ubuntu18.04-docker-arm64-4c-16g-5249 does not seem to be running inside a container 14:26:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat 14:26:38 $ docker top a365be449d3723232d04e8d109566b2055eb85ccca1a469369b157e6b4fbaa43 -eo pid,comm [Pipeline] { [Pipeline] sh 14:26:39 + go version 14:26:39 go version go1.13.5 linux/arm64 [Pipeline] sh 14:26:39 + make test 14:26:39 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:26:41 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:26:55 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.023s coverage: 11.4% of statements 14:26:55 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.009s coverage: 21.7% of statements 14:26:55 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:26:55 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.760s coverage: 36.9% of statements 14:26:55 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:26:55 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:26:55 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.593s coverage: 65.2% of statements 14:26:55 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:26:55 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:26:55 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:26:55 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.028s coverage: 52.6% of statements 14:26:55 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:26:55 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.100s coverage: 68.9% of statements 14:26:55 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:26:55 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:26:55 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:26:55 gofmt -l . 14:26:55 [ "`gofmt -l .`" = "" ] 14:26:55 ./bin/test-attribution-txt.sh 14:26:55 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:26:55 Stashed 1 file(s) [Pipeline] } 14:26:55 $ docker stop --time=1 fb72e57ec121443b117b638ee8ad66c7d18ae9173e9f084b7302623afee5139b 14:26:57 $ docker rm -f fb72e57ec121443b117b638ee8ad66c7d18ae9173e9f084b7302623afee5139b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:26:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:26:58 + ls -al . 14:26:58 total 176 14:26:58 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 14:26 . 14:26:58 drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 14:25 .. 14:26:58 drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 14:25 api 14:26:58 drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 14:25 bin 14:26:58 -rw-r--r--. 1 jenkins jenkins 110966 Apr 21 14:26 coverage.out 14:26:58 -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 14:25 Dockerfile.build 14:26:58 -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 14:25 .dockerignore 14:26:58 drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 14:25 example 14:26:58 drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 14:25 .git 14:26:58 drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 14:25 .github 14:26:58 -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 14:25 .gitignore 14:26:58 -rw-r--r--. 1 jenkins jenkins 446 Apr 21 14:26 go.mod 14:26:58 -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 14:26 go.sum 14:26:58 drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 14:25 internal 14:26:58 -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 14:25 Jenkinsfile 14:26:58 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 14:25 LICENSE 14:26:58 -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 14:25 Makefile 14:26:58 drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 14:25 pkg 14:26:58 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 14:25 README.md 14:26:58 drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 14:25 .semver 14:26:58 drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 14:25 snap 14:26:58 -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 14:23 VERSION 14:26:58 -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 14:25 version.go [Pipeline] isUnix [Pipeline] sh 14:26:59 + 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=3988dfef7ce44ebf982d0bd350c905d90fbbd27f --label arch=amd64 --label version=0.0.0 . 14:26:59 Sending build context to Docker daemon 3.121MB 14:26:59 Step 1/21 : ARG BASE=golang:1.13-alpine 14:26:59 Step 2/21 : FROM ${BASE} AS builder 14:26:59 ---> f66ddb8d5cf8 14:26:59 Step 3/21 : ARG MAKE='make build' 14:26:59 ---> Running in 83c18a152e20 14:26:59 Removing intermediate container 83c18a152e20 14:26:59 ---> 4db0cfa63c85 14:26:59 Step 4/21 : WORKDIR /device-sdk-go 14:26:59 ---> Running in 9ddbda752b5b 14:26:59 Removing intermediate container 9ddbda752b5b 14:26:59 ---> 3b5314a02ee7 14:26:59 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:26:59 ---> Running in f814b9e1819b 14:27:00 Removing intermediate container f814b9e1819b 14:27:00 ---> 4e415f31a4f0 14:27:00 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:27:00 ---> Running in 487a0b401e1d 14:27:00 Removing intermediate container 487a0b401e1d 14:27:00 ---> fe7e3bf69f82 14:27:00 Step 7/21 : RUN apk add --update --no-cache make git 14:27:00 ---> Running in 7b3c26e850c1 14:27:01 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:27:02 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:27:03 OK: 143 MiB in 39 packages 14:27:03 Removing intermediate container 7b3c26e850c1 14:27:03 ---> a16279fc7f5b 14:27:03 Step 8/21 : COPY . . 14:27:04 ---> 948b8c55e005 14:27:04 Step 9/21 : RUN ${MAKE} 14:27:04 ---> Running in 14a2b213853f 14:27:04 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 14:27:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:27:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:27:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 14:27:09 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 21.9% of statements 14:27:10 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.315s coverage: 95.8% of statements 14:27:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:27:12 Removing intermediate container 14a2b213853f 14:27:12 ---> fe02d60dd15e 14:27:12 Step 10/21 : FROM scratch 14:27:12 ---> 14:27:12 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:27:12 ---> Running in e564f0f2473c 14:27:12 Removing intermediate container e564f0f2473c 14:27:12 ---> 2fcba496171b 14:27:12 Step 12/21 : ENV APP_PORT=49990 14:27:12 ---> Running in 483610c58e56 14:27:12 Removing intermediate container 483610c58e56 14:27:12 ---> 473f202bf1ef 14:27:12 Step 13/21 : EXPOSE $APP_PORT 14:27:12 ---> Running in 9d4bc5d46ca2 14:27:13 Removing intermediate container 9d4bc5d46ca2 14:27:13 ---> 6b1714396bdb 14:27:13 Step 14/21 : WORKDIR / 14:27:13 ---> Running in 2003e74306d1 14:27:13 Removing intermediate container 2003e74306d1 14:27:13 ---> 947b89fdc3d6 14:27:13 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:27:14 ---> 47c654fd2065 14:27:14 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:27:14 ---> eccba28a11e6 14:27:14 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:27:14 ---> a77534aa6b21 14:27:14 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:27:14 ---> Running in f45aa2457a35 14:27:14 Removing intermediate container f45aa2457a35 14:27:14 ---> 69e1949da67c 14:27:14 Step 19/21 : LABEL arch=amd64 14:27:14 ---> Running in 3fc46efaa826 14:27:15 Removing intermediate container 3fc46efaa826 14:27:15 ---> e20856ce52ce 14:27:15 Step 20/21 : LABEL git_sha=3988dfef7ce44ebf982d0bd350c905d90fbbd27f 14:27:15 ---> Running in 36be56fefa2e 14:27:15 Removing intermediate container 36be56fefa2e 14:27:15 ---> 139e554493cc 14:27:15 Step 21/21 : LABEL version=0.0.0 14:27:15 ---> Running in 29b3ceba057e 14:27:15 Removing intermediate container 29b3ceba057e 14:27:15 ---> 978b7f4ce385 14:27:15 [Warning] One or more build-args [ARCH] were not consumed 14:27:15 Successfully built 978b7f4ce385 14:27:15 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] } 14:27:42 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.041s coverage: 11.4% of statements 14:27:42 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.058s coverage: 21.7% of statements 14:27:42 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:27:42 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.147s coverage: 36.9% of statements 14:27:42 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:27:42 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:27:42 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.504s coverage: 65.2% of statements 14:27:42 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:27:42 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:27:42 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:27:42 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.038s coverage: 52.6% of statements 14:27:42 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:27:42 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 68.9% of statements 14:27:42 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:27:42 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:27:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:27:47 gofmt -l . 14:27:47 [ "`gofmt -l .`" = "" ] 14:27:48 ./bin/test-attribution-txt.sh 14:27:49 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:27:49 Warning: overwriting stash ‘coverage-report’ 14:27:50 Stashed 1 file(s) [Pipeline] } 14:27:50 $ docker stop --time=1 a365be449d3723232d04e8d109566b2055eb85ccca1a469369b157e6b4fbaa43 14:27:52 $ docker rm -f a365be449d3723232d04e8d109566b2055eb85ccca1a469369b157e6b4fbaa43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:27:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:27:53 + ls -al . 14:27:53 total 216 14:27:53 drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 14:27 . 14:27:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:25 .. 14:27:53 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 14:25 .dockerignore 14:27:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 14:25 .git 14:27:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 14:25 .github 14:27:53 -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 14:25 .gitignore 14:27:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:25 .semver 14:27:53 -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 14:25 Dockerfile.build 14:27:53 -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 14:25 Jenkinsfile 14:27:53 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 14:25 LICENSE 14:27:53 -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 14:25 Makefile 14:27:53 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 14:25 README.md 14:27:53 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 14:23 VERSION 14:27:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:25 api 14:27:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 14:25 bin 14:27:53 -rw-r--r-- 1 jenkins jenkins 110966 Apr 21 14:27 coverage.out 14:27:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:25 example 14:27:53 -rw-r--r-- 1 jenkins jenkins 446 Apr 21 14:27 go.mod 14:27:53 -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 14:27 go.sum 14:27:53 drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 14:25 internal 14:27:53 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 14:25 pkg 14:27:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:25 snap 14:27:53 -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 14:25 version.go [Pipeline] isUnix [Pipeline] sh 14:27:54 + 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=3988dfef7ce44ebf982d0bd350c905d90fbbd27f --label arch=arm64 --label version=0.0.0 . 14:27:54 Sending build context to Docker daemon 3.122MB 14:27:54 Step 1/21 : ARG BASE=golang:1.13-alpine 14:27:54 Step 2/21 : FROM ${BASE} AS builder 14:27:54 ---> 2ea00b75277c 14:27:54 Step 3/21 : ARG MAKE='make build' 14:27:55 ---> Running in a6253983dd21 14:27:55 Removing intermediate container a6253983dd21 14:27:55 ---> 9bd6a9e804e4 14:27:55 Step 4/21 : WORKDIR /device-sdk-go 14:27:55 ---> Running in 862c3514c577 14:27:56 Removing intermediate container 862c3514c577 14:27:56 ---> d09cebe920bd 14:27:56 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:27:56 ---> Running in 3a91b9f72c87 14:27:56 Removing intermediate container 3a91b9f72c87 14:27:56 ---> c325115328c0 14:27:56 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:27:56 ---> Running in c5e5023e89d3 14:27:58 Removing intermediate container c5e5023e89d3 14:27:58 ---> 92fc3d033399 14:27:58 Step 7/21 : RUN apk add --update --no-cache make git 14:27:58 ---> Running in a03d8da31983 14:27:59 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:28:00 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:28:01 OK: 125 MiB in 39 packages 14:28:02 Removing intermediate container a03d8da31983 14:28:02 ---> 9f99fa83f6fe 14:28:02 Step 8/21 : COPY . . 14:28:03 ---> cf6d3ce26cdd 14:28:03 Step 9/21 : RUN ${MAKE} 14:28:04 ---> Running in b4030932a9b8 14:28:04 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 14:28:31 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:28:31 Removing intermediate container b4030932a9b8 14:28:31 ---> 69ddfc372970 14:28:31 Step 10/21 : FROM scratch 14:28:31 ---> 14:28:31 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:28:31 ---> Running in 4ccda3398565 14:28:31 Removing intermediate container 4ccda3398565 14:28:31 ---> e5df40893d5d 14:28:31 Step 12/21 : ENV APP_PORT=49990 14:28:31 ---> Running in 02854c37a12d 14:28:31 Removing intermediate container 02854c37a12d 14:28:31 ---> 30e2147a6b75 14:28:31 Step 13/21 : EXPOSE $APP_PORT 14:28:31 ---> Running in b7723c80b63e 14:28:32 Removing intermediate container b7723c80b63e 14:28:32 ---> 2cda8df0cec2 14:28:32 Step 14/21 : WORKDIR / 14:28:32 ---> Running in 445593c08653 14:28:32 Removing intermediate container 445593c08653 14:28:32 ---> cee5d5c25e69 14:28:32 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:28:33 ---> 928d55c90d89 14:28:33 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:28:34 ---> 2bc49c514530 14:28:34 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:28:34 ---> bf8b621c7c38 14:28:34 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:28:34 ---> Running in ce7e92562335 14:28:35 Removing intermediate container ce7e92562335 14:28:35 ---> 5d9a3b358420 14:28:35 Step 19/21 : LABEL arch=arm64 14:28:35 ---> Running in 317b5bfa138d 14:28:35 Removing intermediate container 317b5bfa138d 14:28:35 ---> a067b06c419b 14:28:35 Step 20/21 : LABEL git_sha=3988dfef7ce44ebf982d0bd350c905d90fbbd27f 14:28:35 ---> Running in c105b4479252 14:28:36 Removing intermediate container c105b4479252 14:28:36 ---> 1660929ce77f 14:28:36 Step 21/21 : LABEL version=0.0.0 14:28:36 ---> Running in 95f7b91d67e6 14:28:36 Removing intermediate container 95f7b91d67e6 14:28:36 ---> ff53b39404d1 14:28:36 [Warning] One or more build-args [ARCH] were not consumed 14:28:36 Successfully built ff53b39404d1 14:28:36 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 14:28:38 provisioning config files... 14:28:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/config7216684709965741936tmp [Pipeline] { [Pipeline] sh 14:28:38 + curl -s https://codecov.io/bash 14:28:38 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/config7216684709965741936tmp 14:28:38 14:28:38 _____ _ 14:28:38 / ____| | | 14:28:38 | | ___ __| | ___ ___ _____ __ 14:28:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:28:38 | |___| (_) | (_| | __/ (_| (_) \ V / 14:28:38 \_____\___/ \__,_|\___|\___\___/ \_/ 14:28:38 Bash-tbd 14:28:38 14:28:38 14:28:38 ==> Jenkins CI detected. 14:28:38 project root: . 14:28:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:28:38 ==> Running gcov in . (disable via -X gcov) 14:28:38 ==> Python coveragepy not found 14:28:38 ==> Searching for coverage reports in: 14:28:38 + . 14:28:38 -> Found 1 reports 14:28:38 ==> Detecting git/mercurial file structure 14:28:38 ==> Reading reports 14:28:38 + ./coverage.out bytes=110966 14:28:38 ==> Appending adjustments 14:28:38 http://docs.codecov.io/docs/fixing-reports 14:28:39 + Found adjustments 14:28:39 ==> Gzipping contents 14:28:39 ==> Uploading reports 14:28:39 url: https://codecov.io 14:28:39 query: branch=PR-499&commit=3988dfef7ce44ebf982d0bd350c905d90fbbd27f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-499%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=499&job= 14:28:39 -> Pinging Codecov 14:28:39 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-499&commit=3988dfef7ce44ebf982d0bd350c905d90fbbd27f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-499%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=499&job= 14:28:40 -> Uploading 14:28:40 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3988dfef7ce44ebf982d0bd350c905d90fbbd27f [Pipeline] } 14:28:40 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 14:28:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:28:42 ---> package-listing.sh 14:28:42 ++ facter osfamily 14:28:42 ++ tr '[:upper:]' '[:lower:]' 14:28:42 + OS_FAMILY=redhat 14:28:42 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-499 14:28:42 + START_PACKAGES=/tmp/packages_start.txt 14:28:42 + END_PACKAGES=/tmp/packages_end.txt 14:28:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:28:42 + PACKAGES=/tmp/packages_start.txt 14:28:42 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-499 ']' 14:28:42 + PACKAGES=/tmp/packages_end.txt 14:28:42 + case "${OS_FAMILY}" in 14:28:42 + rpm -qa 14:28:42 + sort 14:28:46 + '[' -f /tmp/packages_start.txt ']' 14:28:46 + '[' -f /tmp/packages_end.txt ']' 14:28:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:28:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-499 ']' 14:28:46 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-499/archives/ 14:28:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-499/archives/ [Pipeline] isUnix [Pipeline] sh 14:28:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:28:46 14:28:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:28:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:28:47 alpine: Pulling from edgex-lftools-log-publisher 14:28:47 c9b1b535fdd9: Pulling fs layer 14:28:47 2cc5ad85d9ab: Pulling fs layer 14:28:47 756a868c4378: Pulling fs layer 14:28:47 444b2fc9a129: Pulling fs layer 14:28:47 ea15f1150254: Pulling fs layer 14:28:47 41b27a9f41bf: Pulling fs layer 14:28:47 28c525ee5125: Pulling fs layer 14:28:47 094b1ea09ed8: Pulling fs layer 14:28:47 138eaada9080: Pulling fs layer 14:28:47 0622d0fa9048: Pulling fs layer 14:28:47 444b2fc9a129: Waiting 14:28:47 ea15f1150254: Waiting 14:28:47 41b27a9f41bf: Waiting 14:28:47 094b1ea09ed8: Waiting 14:28:47 138eaada9080: Waiting 14:28:47 0622d0fa9048: Waiting 14:28:47 28c525ee5125: Waiting 14:28:47 2cc5ad85d9ab: Verifying Checksum 14:28:47 2cc5ad85d9ab: Download complete 14:28:47 444b2fc9a129: Verifying Checksum 14:28:47 444b2fc9a129: Download complete 14:28:47 c9b1b535fdd9: Verifying Checksum 14:28:47 c9b1b535fdd9: Download complete 14:28:47 ea15f1150254: Verifying Checksum 14:28:47 ea15f1150254: Download complete 14:28:47 28c525ee5125: Verifying Checksum 14:28:47 28c525ee5125: Download complete 14:28:48 756a868c4378: Verifying Checksum 14:28:48 756a868c4378: Download complete 14:28:48 c9b1b535fdd9: Pull complete 14:28:48 138eaada9080: Verifying Checksum 14:28:48 138eaada9080: Download complete 14:28:48 2cc5ad85d9ab: Pull complete 14:28:48 094b1ea09ed8: Verifying Checksum 14:28:48 094b1ea09ed8: Download complete 14:28:48 0622d0fa9048: Download complete 14:28:48 41b27a9f41bf: Verifying Checksum 14:28:48 41b27a9f41bf: Download complete 14:28:50 756a868c4378: Pull complete 14:28:50 444b2fc9a129: Pull complete 14:28:50 ea15f1150254: Pull complete 14:28:54 41b27a9f41bf: Pull complete 14:28:54 28c525ee5125: Pull complete 14:28:56 094b1ea09ed8: Pull complete 14:28:56 138eaada9080: Pull complete 14:28:57 0622d0fa9048: Pull complete 14:28:57 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:28:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:28:57 prd-centos7-docker-4c-2g-5248 does not seem to be running inside a container 14:28:57 $ 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-499 -v /w/workspace/dgexfoundry_device-sdk-go_PR-499:/w/workspace/dgexfoundry_device-sdk-go_PR-499:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-499@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:28:58 $ docker top d530710b6a524006f501bad1e6424cb1d9183404f5f5367d6ed3187a3ebe9951 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:28:58 provisioning config files... 14:28:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/config411592564775387683tmp [Pipeline] { [Pipeline] echo 14:28:58 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:28:58 ---> create-netrc.sh [Pipeline] echo 14:28:58 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:28:59 ---> logs-deploy.sh 14:28:59 + ARCHIVE_ARTIFACTS= 14:28:59 + LOGS_SERVER=https://logs.edgexfoundry.org 14:28:59 + '[' https://logs.edgexfoundry.org == None ']' 14:28:59 + NEXUS_URL=https://nexus.edgexfoundry.org 14:28:59 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-499/4 14:28:59 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-499/4/ 14:28:59 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-499/4 /w/workspace/dgexfoundry_device-sdk-go_PR-499 14:29:00 Archives upload complete. 14:29:00 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-499/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-499/4/