Pull request #507 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4f7537934645620a12050afa509aeaf418a8ee8c+f090bde917e1f28f3025819c98ef7aafa47ac2fc (f18873979050881f818dde9d8dc99caffe9193df) 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # 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-5552 in /w/workspace/dgexfoundry_device-sdk-go_PR-507 [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-507 # 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/507/head:refs/remotes/origin/PR-507 +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/507/head:refs/remotes/origin/PR-507 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit f090bde917e1f28f3025819c98ef7aafa47ac2fc into PR head commit 4f7537934645620a12050afa509aeaf418a8ee8c Merge succeeded, producing 4f7537934645620a12050afa509aeaf418a8ee8c Checking out Revision 4f7537934645620a12050afa509aeaf418a8ee8c (PR-507) > 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/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f7537934645620a12050afa509aeaf418a8ee8c # 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 f090bde917e1f28f3025819c98ef7aafa47ac2fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f7537934645620a12050afa509aeaf418a8ee8c # timeout=10 Commit message: "Fix fetch configuration 404 error" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk aa778b63694979e09c9634519f1afb340992c732 # timeout=10 [Pipeline] timeout 07:57:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:57:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:57:01 ========================================================= 07:57:01 EdgeX Global Pipelines Version Info 07:57:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:57:03 ------------------- 07:57:03 stable info: 07:57:03 ------------------- 07:57:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:57:03 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 07:57:03 Message: update stable to v1.0.73 07:57:03 ------------------- 07:57:03 experimental info: 07:57:03 ------------------- 07:57:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:57:03 Commit SHA: 009f18ce5b4e192ba54fce1c3905cefe13074ee2 07:57:03 Message: update experimental to v1.0.75 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 07:57:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:57:06 07:57:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:57:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:57:06 latest: Pulling from edgex-devops/git-semver 07:57:06 9123ac7c32f7: Pulling fs layer 07:57:06 b8cc5d1170e3: Pulling fs layer 07:57:06 2924cbbf6a41: Pulling fs layer 07:57:06 93b08a4f1073: Pulling fs layer 07:57:06 93b08a4f1073: Waiting 07:57:06 b8cc5d1170e3: Verifying Checksum 07:57:06 b8cc5d1170e3: Download complete 07:57:06 9123ac7c32f7: Verifying Checksum 07:57:06 9123ac7c32f7: Download complete 07:57:06 93b08a4f1073: Verifying Checksum 07:57:06 93b08a4f1073: Download complete 07:57:06 2924cbbf6a41: Verifying Checksum 07:57:06 2924cbbf6a41: Download complete 07:57:07 9123ac7c32f7: Pull complete 07:57:07 b8cc5d1170e3: Pull complete 07:57:08 2924cbbf6a41: Pull complete 07:57:08 93b08a4f1073: Pull complete 07:57:08 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 07:57:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:57:08 prd-centos7-docker-4c-2g-5552 does not seem to be running inside a container 07:57:08 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-507 -v /w/workspace/dgexfoundry_device-sdk-go_PR-507:/w/workspace/dgexfoundry_device-sdk-go_PR-507:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-507@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 07:57:08 $ docker top 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:57:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:57:09 [ssh-agent] Looking for ssh-agent implementation... 07:57:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:57:09 $ docker exec 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd ssh-agent 07:57:09 SSH_AUTH_SOCK=/tmp/ssh-CCN93OhIJLKA/agent.15 07:57:09 SSH_AGENT_PID=22 07:57:09 Running ssh-add (command line suppressed) 07:57:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/private_key_1652045282777667211.key (/w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/private_key_1652045282777667211.key) 07:57:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:57:10 + git describe --exact-match --tags HEAD 07:57:10 fatal: No names found, cannot describe anything. [Pipeline] } 07:57:10 $ docker exec --env ******** --env ******** 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd ssh-agent -k 07:57:10 unset SSH_AUTH_SOCK; 07:57:10 unset SSH_AGENT_PID; 07:57:10 echo Agent pid 22 killed; 07:57:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:57:10 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:57:10 This usually means this commit has not been tagged. [Pipeline] sshagent 07:57:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:57:10 [ssh-agent] Looking for ssh-agent implementation... 07:57:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:57:10 $ docker exec 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd ssh-agent 07:57:11 SSH_AUTH_SOCK=/tmp/ssh-X9UvO8Jeh3f4/agent.57 07:57:11 SSH_AGENT_PID=64 07:57:11 Running ssh-add (command line suppressed) 07:57:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/private_key_689988969122610846.key (/w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/private_key_689988969122610846.key) 07:57:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:57:11 + git semver init 07:57:11 # -> Open(): unable to determine branch for HEAD 07:57:11 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-507/.git 07:57:11 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-507 07:57:11 # $SEMVER_REMOTE_NAME = origin 07:57:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:57:11 # $SEMVER_USER_NAME = edgex-jenkins 07:57:11 # $SEMVER_BRANCH = PR-507 07:57:11 # $SEMVER_TEMP = /tmp/semver-149129278 07:57:11 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:57:12 # '/tmp/semver-149129278' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-507/.semver' 07:57:12 # -> Force: false 07:57:12 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-507/.semver [Pipeline] } 07:57:12 $ docker exec --env ******** --env ******** 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd ssh-agent -k 07:57:12 unset SSH_AUTH_SOCK; 07:57:12 unset SSH_AGENT_PID; 07:57:12 echo Agent pid 64 killed; 07:57:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:57:12 + git semver [Pipeline] } 07:57:12 $ docker stop --time=1 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd 07:57:14 $ docker rm -f 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:57:15 Stashed 54 file(s) [Pipeline] echo 07:57:15 [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 07:57:30 Still waiting to schedule task 07:57:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:57:30 Still waiting to schedule task 07:57:30 ‘prd-ubuntu18.04-docker-arm64-4c-16g-5550’ is offline 07:59:01 Running on prd-centos7-docker-4c-2g-5554 in /w/workspace/dgexfoundry_device-sdk-go_PR-507 [Pipeline] { [Pipeline] ws 07:59:01 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:59:05 using credential edgex-jenkins-ssh 07:59:05 Cloning the remote Git repository 07:59:05 Cloning with configured refspecs honoured and without tags 07:59:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:59:04 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:59:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:59:05 > git --version # timeout=10 07:59:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:59:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:59:06 Fetching without tags 07:59:06 Merging remotes/origin/master commit f090bde917e1f28f3025819c98ef7aafa47ac2fc into PR head commit 4f7537934645620a12050afa509aeaf418a8ee8c 07:59:06 Merge succeeded, producing 4f7537934645620a12050afa509aeaf418a8ee8c 07:59:06 Checking out Revision 4f7537934645620a12050afa509aeaf418a8ee8c (PR-507) 07:59:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:59:05 > git config --add remote.origin.fetch +refs/pull/507/head:refs/remotes/origin/PR-507 # timeout=10 07:59:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:59:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:59:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:59:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:59:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:59:06 > git config core.sparsecheckout # timeout=10 07:59:06 > git checkout -f 4f7537934645620a12050afa509aeaf418a8ee8c # timeout=10 07:59:06 > git remote # timeout=10 07:59:06 > git config --get remote.origin.url # timeout=10 07:59:06 using GIT_SSH to set credentials SSH Credentials for GitHub 07:59:06 > git merge f090bde917e1f28f3025819c98ef7aafa47ac2fc # timeout=10 07:59:06 > git rev-parse HEAD^{commit} # timeout=10 07:59:06 > git config core.sparsecheckout # timeout=10 07:59:06 > git checkout -f 4f7537934645620a12050afa509aeaf418a8ee8c # timeout=10 07:59:10 Commit message: "Fix fetch configuration 404 error" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:59:11 ========================================================= 07:59:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:59:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:59:11 + 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 . 07:59:12 Sending build context to Docker daemon 3.028MB 07:59:12 Step 1/8 : ARG BASE=golang:1.13-alpine 07:59:12 Step 2/8 : FROM ${BASE} 07:59:12 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:59:12 e6b0cf9c0882: Pulling fs layer 07:59:12 2848faf0eed1: Pulling fs layer 07:59:12 0f37312ad70f: Pulling fs layer 07:59:12 5788d62ee057: Pulling fs layer 07:59:12 0e6b1d234666: Pulling fs layer 07:59:12 bf5d7aec512f: Pulling fs layer 07:59:12 34c802a77dc8: Pulling fs layer 07:59:12 9eb99e56ec68: Pulling fs layer 07:59:12 27c7a5d97fbd: Pulling fs layer 07:59:12 5c102a31e300: Pulling fs layer 07:59:12 dcfb455df0a1: Pulling fs layer 07:59:12 5788d62ee057: Waiting 07:59:12 0e6b1d234666: Waiting 07:59:12 bf5d7aec512f: Waiting 07:59:12 34c802a77dc8: Waiting 07:59:12 9eb99e56ec68: Waiting 07:59:12 27c7a5d97fbd: Waiting 07:59:12 5c102a31e300: Waiting 07:59:12 dcfb455df0a1: Waiting 07:59:12 0f37312ad70f: Verifying Checksum 07:59:12 0f37312ad70f: Download complete 07:59:12 2848faf0eed1: Verifying Checksum 07:59:12 2848faf0eed1: Download complete 07:59:12 0e6b1d234666: Verifying Checksum 07:59:12 0e6b1d234666: Download complete 07:59:12 bf5d7aec512f: Verifying Checksum 07:59:12 bf5d7aec512f: Download complete 07:59:12 e6b0cf9c0882: Verifying Checksum 07:59:12 e6b0cf9c0882: Download complete 07:59:12 e6b0cf9c0882: Pull complete 07:59:12 2848faf0eed1: Pull complete 07:59:13 0f37312ad70f: Pull complete 07:59:13 34c802a77dc8: Verifying Checksum 07:59:13 34c802a77dc8: Download complete 07:59:13 27c7a5d97fbd: Verifying Checksum 07:59:13 27c7a5d97fbd: Download complete 07:59:14 5c102a31e300: Verifying Checksum 07:59:14 5c102a31e300: Download complete 07:59:14 dcfb455df0a1: Verifying Checksum 07:59:14 dcfb455df0a1: Download complete 07:59:14 5788d62ee057: Download complete 07:59:14 9eb99e56ec68: Verifying Checksum 07:59:14 9eb99e56ec68: Download complete 07:59:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5553 in /w/workspace/dgexfoundry_device-sdk-go_PR-507 [Pipeline] { [Pipeline] ws 07:59:15 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:59:20 5788d62ee057: Pull complete 07:59:20 0e6b1d234666: Pull complete 07:59:20 bf5d7aec512f: Pull complete 07:59:21 using credential edgex-jenkins-ssh 07:59:21 Cloning the remote Git repository 07:59:21 Cloning with configured refspecs honoured and without tags 07:59:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:59:21 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:59:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:59:21 > git --version # timeout=10 07:59:21 using GIT_SSH to set credentials SSH Credentials for GitHub 07:59:23 Fetching without tags 07:59:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:59:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:59:23 > git config --add remote.origin.fetch +refs/pull/507/head:refs/remotes/origin/PR-507 # timeout=10 07:59:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:59:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:59:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:59:23 using GIT_SSH to set credentials SSH Credentials for GitHub 07:59:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:59:23 Merging remotes/origin/master commit f090bde917e1f28f3025819c98ef7aafa47ac2fc into PR head commit 4f7537934645620a12050afa509aeaf418a8ee8c 07:59:24 Merge succeeded, producing 4f7537934645620a12050afa509aeaf418a8ee8c 07:59:24 Checking out Revision 4f7537934645620a12050afa509aeaf418a8ee8c (PR-507) 07:59:23 > git config core.sparsecheckout # timeout=10 07:59:23 > git checkout -f 4f7537934645620a12050afa509aeaf418a8ee8c # timeout=10 07:59:23 > git remote # timeout=10 07:59:24 > git config --get remote.origin.url # timeout=10 07:59:24 using GIT_SSH to set credentials SSH Credentials for GitHub 07:59:24 > git merge f090bde917e1f28f3025819c98ef7aafa47ac2fc # timeout=10 07:59:24 > git rev-parse HEAD^{commit} # timeout=10 07:59:24 > git config core.sparsecheckout # timeout=10 07:59:24 > git checkout -f 4f7537934645620a12050afa509aeaf418a8ee8c # timeout=10 07:59:26 34c802a77dc8: Pull complete 07:59:28 Commit message: "Fix fetch configuration 404 error" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 07:59:29 9eb99e56ec68: Pull complete 07:59:29 27c7a5d97fbd: Pull complete [Pipeline] echo 07:59:30 ========================================================= 07:59:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:59:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:59:30 5c102a31e300: Pull complete 07:59:30 dcfb455df0a1: Pull complete 07:59:30 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 07:59:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:59:30 ---> 7c70fe431013 07:59:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:59:30 ---> Running in e69f982cb787 07:59:30 Removing intermediate container e69f982cb787 07:59:30 ---> d610a10bd2fe 07:59:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:59:30 ---> Running in 8c9361520f79 07:59: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 . 07:59:31 Removing intermediate container 8c9361520f79 07:59:31 ---> 30546d75635c 07:59:31 Step 5/8 : RUN apk add --no-cache make git 07:59:31 ---> Running in 032b96c2f733 07:59:32 Sending build context to Docker daemon 3.028MB 07:59:32 Step 1/8 : ARG BASE=golang:1.13-alpine 07:59:32 Step 2/8 : FROM ${BASE} 07:59:32 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:59:32 cde5963f3b93: Pulling fs layer 07:59:32 2a23fa8c16f7: Pulling fs layer 07:59:32 777b28850792: Pulling fs layer 07:59:32 8a11ddd9e578: Pulling fs layer 07:59:32 4cf88f913ddb: Pulling fs layer 07:59:32 1df406cf5192: Pulling fs layer 07:59:32 cd6300453558: Pulling fs layer 07:59:32 b9c365052c96: Pulling fs layer 07:59:32 a2d8cc88f415: Pulling fs layer 07:59:32 ea1d1ca13537: Pulling fs layer 07:59:32 3750a50a1c5e: Pulling fs layer 07:59:32 8a11ddd9e578: Waiting 07:59:32 4cf88f913ddb: Waiting 07:59:32 1df406cf5192: Waiting 07:59:32 cd6300453558: Waiting 07:59:32 b9c365052c96: Waiting 07:59:32 a2d8cc88f415: Waiting 07:59:32 ea1d1ca13537: Waiting 07:59:32 3750a50a1c5e: Waiting 07:59:32 777b28850792: Download complete 07:59:32 2a23fa8c16f7: Verifying Checksum 07:59:32 2a23fa8c16f7: Download complete 07:59:32 4cf88f913ddb: Verifying Checksum 07:59:32 4cf88f913ddb: Download complete 07:59:32 1df406cf5192: Verifying Checksum 07:59:32 1df406cf5192: Download complete 07:59:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:59:32 cde5963f3b93: Verifying Checksum 07:59:32 cde5963f3b93: Download complete 07:59:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:59:33 cde5963f3b93: Pull complete 07:59:33 OK: 143 MiB in 39 packages 07:59:34 2a23fa8c16f7: Pull complete 07:59:34 Removing intermediate container 032b96c2f733 07:59:34 ---> fb283bdd3b73 07:59:34 Step 6/8 : WORKDIR /device-sdk-go 07:59:34 ---> Running in 802ea0cc35ea 07:59:34 Removing intermediate container 802ea0cc35ea 07:59:34 ---> dfa7152e2a3d 07:59:34 Step 7/8 : COPY . . 07:59:34 777b28850792: Pull complete 07:59:35 ---> 0b960f9a813a 07:59:35 Step 8/8 : RUN go mod download 07:59:35 ---> Running in d89cdb9db157 07:59:36 cd6300453558: Verifying Checksum 07:59:36 cd6300453558: Download complete 07:59:36 a2d8cc88f415: Verifying Checksum 07:59:36 a2d8cc88f415: Download complete 07:59:37 go: finding github.com/BurntSushi/toml v0.3.1 07:59:37 go: finding github.com/OneOfOne/xxhash v1.2.6 07:59:37 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:59:37 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:59:37 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:59:37 go: finding github.com/bgentry/speakeasy v0.1.0 07:59:37 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:59:37 go: finding github.com/davecgh/go-spew v1.1.1 07:59:37 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 07:59:37 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:59:37 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 07:59:37 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:59:37 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:59:37 go: finding github.com/fatih/color v1.7.0 07:59:37 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:59:37 go: finding github.com/go-kit/kit v0.8.0 07:59:37 go: finding github.com/go-logfmt/logfmt v0.4.0 07:59:37 go: finding github.com/go-stack/stack v1.8.0 07:59:37 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:59:37 go: finding github.com/google/uuid v1.1.0 07:59:37 go: finding github.com/gorilla/mux v1.7.1 07:59:37 go: finding github.com/hashicorp/consul/api v1.1.0 07:59:37 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:59:37 go: finding github.com/hashicorp/errwrap v1.0.0 07:59:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:59:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:59:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:59:37 go: finding github.com/hashicorp/go-multierror v1.0.0 07:59:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:59:37 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:59:37 go: finding github.com/hashicorp/go-syslog v1.0.0 07:59:37 go: finding github.com/hashicorp/go-uuid v1.0.1 07:59:37 go: finding github.com/hashicorp/go.net v0.0.1 07:59:37 go: finding github.com/hashicorp/golang-lru v0.5.0 07:59:37 go: finding github.com/hashicorp/logutils v1.0.0 07:59:37 go: finding github.com/hashicorp/mdns v1.0.0 07:59:37 go: finding github.com/hashicorp/memberlist v0.1.3 07:59:37 go: finding github.com/hashicorp/serf v0.8.2 07:59:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:59:37 go: finding github.com/mattn/go-colorable v0.0.9 07:59:37 go: finding github.com/mattn/go-isatty v0.0.3 07:59:37 go: finding github.com/miekg/dns v1.0.14 07:59:37 go: finding github.com/mitchellh/cli v1.0.0 07:59:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:59:37 go: finding github.com/mitchellh/copystructure v1.0.0 07:59:37 go: finding github.com/mitchellh/go-homedir v1.0.0 07:59:37 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:59:37 go: finding github.com/mitchellh/gox v0.4.0 07:59:37 go: finding github.com/mitchellh/iochan v1.0.0 07:59:37 go: finding github.com/mitchellh/mapstructure v1.1.2 07:59:37 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:59:37 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:59:37 go: finding github.com/pelletier/go-toml v1.2.0 07:59:37 go: finding github.com/pkg/errors v0.8.1 07:59:37 go: finding github.com/pmezard/go-difflib v1.0.0 07:59:37 go: finding github.com/posener/complete v1.1.1 07:59:37 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:59:37 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:59:37 go: finding github.com/stretchr/objx v0.1.0 07:59:37 go: finding github.com/stretchr/testify v1.5.1 07:59:37 go: finding github.com/ugorji/go v1.1.4 07:59:37 go: finding github.com/x448/float16 v0.8.4 07:59:37 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:59:37 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:59:37 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:59:37 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:59:37 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:59:37 go: finding gopkg.in/yaml.v2 v2.2.8 07:59:39 ea1d1ca13537: Verifying Checksum 07:59:39 ea1d1ca13537: Download complete 07:59:39 3750a50a1c5e: Verifying Checksum 07:59:39 3750a50a1c5e: Download complete 07:59:42 b9c365052c96: Verifying Checksum 07:59:42 b9c365052c96: Download complete 07:59:42 Removing intermediate container d89cdb9db157 07:59:42 ---> e88c4b8f59c5 07:59:42 Successfully built e88c4b8f59c5 07:59:42 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 07:59:43 + docker inspect -f . ci-base-image-x86_64 07:59:43 . [Pipeline] withDockerContainer 07:59:43 8a11ddd9e578: Verifying Checksum 07:59:43 8a11ddd9e578: Download complete 07:59:43 prd-centos7-docker-4c-2g-5554 does not seem to be running inside a container 07:59:43 $ 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 ******** -e ******** ci-base-image-x86_64 cat 07:59:43 $ docker top b284fbc62eca08ab141ccf2ac5b805fc963de0e95b2fa26e360db8a6b84dd448 -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:44 + go version 07:59:44 go version go1.13.5 linux/amd64 [Pipeline] sh 07:59:44 + make test 07:59:44 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:59:45 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:59:55 8a11ddd9e578: Pull complete 07:59:55 4cf88f913ddb: Pull complete 07:59:55 1df406cf5192: Pull complete 07:59:57 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:59:57 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:59:57 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:59:57 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 22.1% of statements 07:59:59 cd6300453558: Pull complete 08:00:00 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements 08:00:03 b9c365052c96: Pull complete 08:00:03 a2d8cc88f415: Pull complete 08:00:05 ea1d1ca13537: Pull complete 08:00:05 3750a50a1c5e: Pull complete 08:00:05 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 08:00:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:00:05 ---> 78745c68409d 08:00:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:00:10 ---> Running in 66e9229ce421 08:00:10 Removing intermediate container 66e9229ce421 08:00:10 ---> ca52844c535b 08:00:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:00:10 ---> Running in dfd326c3b244 08:00:12 Removing intermediate container dfd326c3b244 08:00:12 ---> 94bd03821c5b 08:00:12 Step 5/8 : RUN apk add --no-cache make git 08:00:12 ---> Running in 27f086fcde0f 08:00:13 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:00:14 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:00:15 OK: 125 MiB in 39 packages 08:00:16 Removing intermediate container 27f086fcde0f 08:00:16 ---> ca8c4189ff6c 08:00:16 Step 6/8 : WORKDIR /device-sdk-go 08:00:16 ---> Running in ec10343f82e9 08:00:17 Removing intermediate container ec10343f82e9 08:00:17 ---> ea29c6e6c06c 08:00:17 Step 7/8 : COPY . . 08:00:17 ---> e2188731ad03 08:00:17 Step 8/8 : RUN go mod download 08:00:18 ---> Running in dc442e06ca60 08:00:20 go: finding github.com/BurntSushi/toml v0.3.1 08:00:20 go: finding github.com/OneOfOne/xxhash v1.2.6 08:00:20 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:00:20 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:00:20 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:00:20 go: finding github.com/bgentry/speakeasy v0.1.0 08:00:20 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:00:20 go: finding github.com/davecgh/go-spew v1.1.1 08:00:20 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 08:00:20 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:00:20 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 08:00:20 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 08:00:20 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:00:20 go: finding github.com/fatih/color v1.7.0 08:00:20 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:00:20 go: finding github.com/go-kit/kit v0.8.0 08:00:20 go: finding github.com/go-logfmt/logfmt v0.4.0 08:00:20 go: finding github.com/go-stack/stack v1.8.0 08:00:20 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:00:20 go: finding github.com/google/uuid v1.1.0 08:00:20 go: finding github.com/gorilla/mux v1.7.1 08:00:20 go: finding github.com/hashicorp/consul/api v1.1.0 08:00:20 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:00:20 go: finding github.com/hashicorp/errwrap v1.0.0 08:00:20 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:00:20 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:00:20 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:00:20 go: finding github.com/hashicorp/go-multierror v1.0.0 08:00:20 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:00:20 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:00:20 go: finding github.com/hashicorp/go-syslog v1.0.0 08:00:20 go: finding github.com/hashicorp/go-uuid v1.0.1 08:00:20 go: finding github.com/hashicorp/go.net v0.0.1 08:00:20 go: finding github.com/hashicorp/golang-lru v0.5.0 08:00:20 go: finding github.com/hashicorp/logutils v1.0.0 08:00:20 go: finding github.com/hashicorp/mdns v1.0.0 08:00:20 go: finding github.com/hashicorp/memberlist v0.1.3 08:00:20 go: finding github.com/hashicorp/serf v0.8.2 08:00:20 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:00:20 go: finding github.com/mattn/go-colorable v0.0.9 08:00:20 go: finding github.com/mattn/go-isatty v0.0.3 08:00:20 go: finding github.com/miekg/dns v1.0.14 08:00:20 go: finding github.com/mitchellh/cli v1.0.0 08:00:20 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:00:20 go: finding github.com/mitchellh/copystructure v1.0.0 08:00:20 go: finding github.com/mitchellh/go-homedir v1.0.0 08:00:20 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:00:20 go: finding github.com/mitchellh/gox v0.4.0 08:00:20 go: finding github.com/mitchellh/iochan v1.0.0 08:00:20 go: finding github.com/mitchellh/mapstructure v1.1.2 08:00:20 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:00:20 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:00:20 go: finding github.com/pelletier/go-toml v1.2.0 08:00:20 go: finding github.com/pkg/errors v0.8.1 08:00:20 go: finding github.com/pmezard/go-difflib v1.0.0 08:00:20 go: finding github.com/posener/complete v1.1.1 08:00:20 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:00:20 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:00:20 go: finding github.com/stretchr/objx v0.1.0 08:00:21 go: finding github.com/stretchr/testify v1.5.1 08:00:21 go: finding github.com/ugorji/go v1.1.4 08:00:21 go: finding github.com/x448/float16 v0.8.4 08:00:21 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:00:21 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:00:21 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:00:21 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:00:21 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:00:21 go: finding gopkg.in/yaml.v2 v2.2.8 08:00:31 Removing intermediate container dc442e06ca60 08:00:31 ---> 51fe4ea285ea 08:00:31 Successfully built 51fe4ea285ea 08:00:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:00:31 + docker inspect -f . ci-base-image-arm64 08:00:31 . [Pipeline] withDockerContainer 08:00:32 prd-ubuntu18.04-docker-arm64-4c-16g-5553 does not seem to be running inside a container 08:00:32 $ 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 ******** -e ******** ci-base-image-arm64 cat 08:00:32 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.036s coverage: 11.4% of statements 08:00:32 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 08:00:32 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:00:32 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.070s coverage: 36.9% of statements 08:00:32 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:00:32 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 08:00:32 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 65.2% of statements 08:00:32 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:00:32 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:00:32 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:00:32 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.019s coverage: 52.6% of statements 08:00:32 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 08:00:32 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.100s coverage: 68.9% of statements 08:00:32 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:00:32 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:00:32 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:00:32 gofmt -l . 08:00:32 [ "`gofmt -l .`" = "" ] 08:00:32 ./bin/test-attribution-txt.sh 08:00:33 ./bin/test-go-mod-tidy.sh 08:00:33 $ docker top c647b131ebe2b36790653b24bc65c62a8223013036505cac9ebd5e7c197452e2 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh 08:00:34 Stashed 1 file(s) [Pipeline] } 08:00:34 $ docker stop --time=1 b284fbc62eca08ab141ccf2ac5b805fc963de0e95b2fa26e360db8a6b84dd448 08:00:34 + go version 08:00:34 go version go1.13.5 linux/arm64 08:00:35 $ docker rm -f b284fbc62eca08ab141ccf2ac5b805fc963de0e95b2fa26e360db8a6b84dd448 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 08:00:36 + make test 08:00:36 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] sh 08:00:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:00:37 + ls -al . 08:00:37 total 176 08:00:37 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 22 08:00 . 08:00:37 drwxrwxr-x. 4 jenkins jenkins 28 Apr 22 07:59 .. 08:00:37 drwxrwxr-x. 3 jenkins jenkins 20 Apr 22 07:59 api 08:00:37 drwxrwxr-x. 2 jenkins jenkins 64 Apr 22 07:59 bin 08:00:37 -rw-r--r--. 1 jenkins jenkins 110877 Apr 22 08:00 coverage.out 08:00:37 -rw-rw-r--. 1 jenkins jenkins 936 Apr 22 07:59 Dockerfile.build 08:00:37 -rw-rw-r--. 1 jenkins jenkins 140 Apr 22 07:59 .dockerignore 08:00:37 drwxrwxr-x. 4 jenkins jenkins 48 Apr 22 07:59 example 08:00:37 drwxrwxr-x. 8 jenkins jenkins 179 Apr 22 07:59 .git 08:00:37 drwxrwxr-x. 2 jenkins jenkins 38 Apr 22 07:59 .github 08:00:37 -rw-rw-r--. 1 jenkins jenkins 138 Apr 22 07:59 .gitignore 08:00:37 -rw-r--r--. 1 jenkins jenkins 446 Apr 22 08:00 go.mod 08:00:37 -rw-r--r--. 1 jenkins jenkins 12076 Apr 22 08:00 go.sum 08:00:37 drwxrwxr-x. 15 jenkins jenkins 217 Apr 22 07:59 internal 08:00:37 -rw-rw-r--. 1 jenkins jenkins 808 Apr 22 07:59 Jenkinsfile 08:00:37 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 22 07:59 LICENSE 08:00:37 -rw-rw-r--. 1 jenkins jenkins 892 Apr 22 07:59 Makefile 08:00:37 drwxrwxr-x. 5 jenkins jenkins 50 Apr 22 07:59 pkg 08:00:37 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 22 07:59 README.md 08:00:37 drwxrwxr-x. 3 jenkins jenkins 58 Apr 22 07:59 .semver 08:00:37 drwxrwxr-x. 4 jenkins jenkins 54 Apr 22 07:59 snap 08:00:37 -rw-rw-r--. 1 jenkins jenkins 5 Apr 22 07:57 VERSION 08:00:37 -rw-rw-r--. 1 jenkins jenkins 222 Apr 22 07:59 version.go [Pipeline] isUnix [Pipeline] sh 08:00:37 + 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=4f7537934645620a12050afa509aeaf418a8ee8c --label arch=amd64 --label version=0.0.0 . 08:00:37 Sending build context to Docker daemon 3.156MB 08:00:37 Step 1/21 : ARG BASE=golang:1.13-alpine 08:00:37 Step 2/21 : FROM ${BASE} AS builder 08:00:37 ---> e88c4b8f59c5 08:00:37 Step 3/21 : ARG MAKE='make build' 08:00:38 ---> Running in 4d97d1fe8b37 08:00:38 Removing intermediate container 4d97d1fe8b37 08:00:38 ---> 4200b1dee997 08:00:38 Step 4/21 : WORKDIR /device-sdk-go 08:00:38 ---> Running in f760d2b2419e 08:00:38 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:00:38 Removing intermediate container f760d2b2419e 08:00:38 ---> 927f6443760e 08:00:38 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:00:38 ---> Running in 35c6f3009ef4 08:00:38 Removing intermediate container 35c6f3009ef4 08:00:38 ---> fc6cd1795ad9 08:00:38 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:00:38 ---> Running in 7ab363cfd695 08:00:39 Removing intermediate container 7ab363cfd695 08:00:39 ---> 55762ba06cba 08:00:39 Step 7/21 : RUN apk add --update --no-cache make git 08:00:39 ---> Running in 6bb7cd5e968a 08:00:39 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:00:40 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:00:41 OK: 143 MiB in 39 packages 08:00:41 Removing intermediate container 6bb7cd5e968a 08:00:41 ---> b7a1e11bd213 08:00:41 Step 8/21 : COPY . . 08:00:41 ---> c2248d446567 08:00:41 Step 9/21 : RUN ${MAKE} 08:00:41 ---> Running in b2b60c9c8a3f 08:00:42 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 08:00:50 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:00:50 Removing intermediate container b2b60c9c8a3f 08:00:50 ---> 6d69df288056 08:00:50 Step 10/21 : FROM scratch 08:00:50 ---> 08:00:50 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:00:50 ---> Running in 431426cf64fa 08:00:50 Removing intermediate container 431426cf64fa 08:00:50 ---> c47767836fe6 08:00:50 Step 12/21 : ENV APP_PORT=49990 08:00:50 ---> Running in e8156915bd28 08:00:51 Removing intermediate container e8156915bd28 08:00:51 ---> fe169e0058fe 08:00:51 Step 13/21 : EXPOSE $APP_PORT 08:00:51 ---> Running in 05c1c066fbd2 08:00:51 Removing intermediate container 05c1c066fbd2 08:00:51 ---> aea36089c023 08:00:51 Step 14/21 : WORKDIR / 08:00:51 ---> Running in f533494f3f51 08:00:51 Removing intermediate container f533494f3f51 08:00:51 ---> 234848cb356b 08:00:51 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:00:51 ---> c78b70ce126b 08:00:51 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:00:51 ---> 3c2b17e5f158 08:00:51 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:00:52 ---> 94cd4c0125d2 08:00:52 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:00:52 ---> Running in cc34d15c4520 08:00:52 Removing intermediate container cc34d15c4520 08:00:52 ---> 1303ad44c493 08:00:52 Step 19/21 : LABEL arch=amd64 08:00:52 ---> Running in 5edcb0beb1a0 08:00:52 Removing intermediate container 5edcb0beb1a0 08:00:52 ---> cc5459359506 08:00:52 Step 20/21 : LABEL git_sha=4f7537934645620a12050afa509aeaf418a8ee8c 08:00:52 ---> Running in 5acf7888f1aa 08:00:52 Removing intermediate container 5acf7888f1aa 08:00:52 ---> 139b31c8abe5 08:00:52 Step 21/21 : LABEL version=0.0.0 08:00:52 ---> Running in bb57b904aea4 08:00:52 Removing intermediate container bb57b904aea4 08:00:52 ---> 45af5b98ca15 08:00:52 [Warning] One or more build-args [ARCH] were not consumed 08:00:52 Successfully built 45af5b98ca15 08:00:52 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] } 08:01:05 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:01:05 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:01:05 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:01:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.021s coverage: 22.1% of statements 08:01:10 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.144s coverage: 95.8% of statements 08:01:43 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.042s coverage: 11.4% of statements 08:01:43 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.022s coverage: 21.7% of statements 08:01:43 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:01:43 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.158s coverage: 36.9% of statements 08:01:43 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:01:43 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 08:01:43 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.558s coverage: 65.2% of statements 08:01:43 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:01:43 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:01:43 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:01:43 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements 08:01:43 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 08:01:43 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 68.9% of statements 08:01:43 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:01:43 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:01:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:01:45 gofmt -l . 08:01:45 [ "`gofmt -l .`" = "" ] 08:01:46 ./bin/test-attribution-txt.sh 08:01:47 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:01:47 Warning: overwriting stash ‘coverage-report’ 08:01:48 Stashed 1 file(s) [Pipeline] } 08:01:48 $ docker stop --time=1 c647b131ebe2b36790653b24bc65c62a8223013036505cac9ebd5e7c197452e2 08:01:50 $ docker rm -f c647b131ebe2b36790653b24bc65c62a8223013036505cac9ebd5e7c197452e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:01:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:01:51 + ls -al . 08:01:51 total 216 08:01:51 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 08:01 . 08:01:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 07:59 .. 08:01:51 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 07:59 .dockerignore 08:01:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 07:59 .git 08:01:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 07:59 .github 08:01:51 -rw-rw-r-- 1 jenkins jenkins 138 Apr 22 07:59 .gitignore 08:01:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 07:59 .semver 08:01:51 -rw-rw-r-- 1 jenkins jenkins 936 Apr 22 07:59 Dockerfile.build 08:01:51 -rw-rw-r-- 1 jenkins jenkins 808 Apr 22 07:59 Jenkinsfile 08:01:51 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 07:59 LICENSE 08:01:51 -rw-rw-r-- 1 jenkins jenkins 892 Apr 22 07:59 Makefile 08:01:51 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 22 07:59 README.md 08:01:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 07:57 VERSION 08:01:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 07:59 api 08:01:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 07:59 bin 08:01:51 -rw-r--r-- 1 jenkins jenkins 110877 Apr 22 08:01 coverage.out 08:01:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 07:59 example 08:01:51 -rw-r--r-- 1 jenkins jenkins 446 Apr 22 08:01 go.mod 08:01:51 -rw-r--r-- 1 jenkins jenkins 12076 Apr 22 08:01 go.sum 08:01:51 drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 07:59 internal 08:01:51 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 07:59 pkg 08:01:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 07:59 snap 08:01:51 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 07:59 version.go [Pipeline] isUnix [Pipeline] sh 08:01:52 + 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=4f7537934645620a12050afa509aeaf418a8ee8c --label arch=arm64 --label version=0.0.0 . 08:01:52 Sending build context to Docker daemon 3.156MB 08:01:52 Step 1/21 : ARG BASE=golang:1.13-alpine 08:01:52 Step 2/21 : FROM ${BASE} AS builder 08:01:52 ---> 51fe4ea285ea 08:01:52 Step 3/21 : ARG MAKE='make build' 08:01:52 ---> Running in bca1c24b1d25 08:01:52 Removing intermediate container bca1c24b1d25 08:01:52 ---> 26d48574b0ee 08:01:52 Step 4/21 : WORKDIR /device-sdk-go 08:01:53 ---> Running in 7c08530a0eff 08:01:53 Removing intermediate container 7c08530a0eff 08:01:53 ---> 906d8bc9fbf5 08:01:53 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:01:53 ---> Running in dc4e894a984a 08:01:54 Removing intermediate container dc4e894a984a 08:01:54 ---> b850375fc820 08:01:54 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:01:54 ---> Running in 86adf846f346 08:01:55 Removing intermediate container 86adf846f346 08:01:55 ---> e22e3ab1c1ef 08:01:55 Step 7/21 : RUN apk add --update --no-cache make git 08:01:55 ---> Running in c719be777fe8 08:01:56 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:01:57 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:01:58 OK: 125 MiB in 39 packages 08:01:59 Removing intermediate container c719be777fe8 08:01:59 ---> 8cd639b85d5c 08:01:59 Step 8/21 : COPY . . 08:02:00 ---> a4404fee70af 08:02:00 Step 9/21 : RUN ${MAKE} 08:02:00 ---> Running in e569ee3dd620 08:02:01 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 08:02:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:02:26 Removing intermediate container e569ee3dd620 08:02:26 ---> 7f997e338a4c 08:02:26 Step 10/21 : FROM scratch 08:02:26 ---> 08:02:26 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:02:26 ---> Running in 0d7335342751 08:02:26 Removing intermediate container 0d7335342751 08:02:26 ---> 1f4dc74e67df 08:02:26 Step 12/21 : ENV APP_PORT=49990 08:02:26 ---> Running in 1ff8a8f54c6d 08:02:27 Removing intermediate container 1ff8a8f54c6d 08:02:27 ---> e5d9ce8f0304 08:02:27 Step 13/21 : EXPOSE $APP_PORT 08:02:27 ---> Running in c1ba520e650c 08:02:27 Removing intermediate container c1ba520e650c 08:02:27 ---> 87b6892304ca 08:02:27 Step 14/21 : WORKDIR / 08:02:27 ---> Running in 0856cee1a202 08:02:27 Removing intermediate container 0856cee1a202 08:02:27 ---> 591b4caa8306 08:02:27 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:02:28 ---> f50527623ba9 08:02:28 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:02:29 ---> ceafcae46b64 08:02:29 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:02:30 ---> 3df8a2773ed1 08:02:30 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:02:30 ---> Running in 695ff2f88b29 08:02:30 Removing intermediate container 695ff2f88b29 08:02:30 ---> 4fc2803002ba 08:02:30 Step 19/21 : LABEL arch=arm64 08:02:30 ---> Running in 830b31d83f7d 08:02:30 Removing intermediate container 830b31d83f7d 08:02:30 ---> 017ced2731a8 08:02:30 Step 20/21 : LABEL git_sha=4f7537934645620a12050afa509aeaf418a8ee8c 08:02:30 ---> Running in 38d6198d5aba 08:02:31 Removing intermediate container 38d6198d5aba 08:02:31 ---> c7647623b572 08:02:31 Step 21/21 : LABEL version=0.0.0 08:02:31 ---> Running in 5aeeffdb6f65 08:02:31 Removing intermediate container 5aeeffdb6f65 08:02:31 ---> 127971cc4c66 08:02:31 [Warning] One or more build-args [ARCH] were not consumed 08:02:31 Successfully built 127971cc4c66 08:02:31 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 08:02:32 provisioning config files... 08:02:32 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/config2307311981360774587tmp [Pipeline] { [Pipeline] sh 08:02:33 + curl -s https://codecov.io/bash 08:02:33 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/config2307311981360774587tmp 08:02:33 08:02:33 _____ _ 08:02:33 / ____| | | 08:02:33 | | ___ __| | ___ ___ _____ __ 08:02:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:02:33 | |___| (_) | (_| | __/ (_| (_) \ V / 08:02:33 \_____\___/ \__,_|\___|\___\___/ \_/ 08:02:33 Bash-tbd 08:02:33 08:02:33 08:02:33 ==> Jenkins CI detected. 08:02:33 project root: . 08:02:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:02:33 ==> Running gcov in . (disable via -X gcov) 08:02:33 ==> Python coveragepy not found 08:02:33 ==> Searching for coverage reports in: 08:02:33 + . 08:02:33 -> Found 1 reports 08:02:33 ==> Detecting git/mercurial file structure 08:02:33 ==> Reading reports 08:02:33 + ./coverage.out bytes=110877 08:02:33 ==> Appending adjustments 08:02:33 http://docs.codecov.io/docs/fixing-reports 08:02:33 + Found adjustments 08:02:33 ==> Gzipping contents 08:02:33 ==> Uploading reports 08:02:33 url: https://codecov.io 08:02:33 query: branch=PR-507&commit=4f7537934645620a12050afa509aeaf418a8ee8c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-507%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=507&job= 08:02:33 -> Pinging Codecov 08:02:33 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-507&commit=4f7537934645620a12050afa509aeaf418a8ee8c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-507%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=507&job= 08:02:34 -> Uploading 08:02:34 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4f7537934645620a12050afa509aeaf418a8ee8c [Pipeline] } 08:02:34 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 08:02:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:02:36 ---> package-listing.sh 08:02:36 ++ facter osfamily 08:02:36 ++ tr '[:upper:]' '[:lower:]' 08:02:36 + OS_FAMILY=redhat 08:02:36 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-507 08:02:36 + START_PACKAGES=/tmp/packages_start.txt 08:02:36 + END_PACKAGES=/tmp/packages_end.txt 08:02:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:02:36 + PACKAGES=/tmp/packages_start.txt 08:02:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-507 ']' 08:02:36 + PACKAGES=/tmp/packages_end.txt 08:02:36 + case "${OS_FAMILY}" in 08:02:36 + rpm -qa 08:02:36 + sort 08:02:40 + '[' -f /tmp/packages_start.txt ']' 08:02:40 + '[' -f /tmp/packages_end.txt ']' 08:02:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:02:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-507 ']' 08:02:40 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-507/archives/ 08:02:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-507/archives/ [Pipeline] isUnix [Pipeline] sh 08:02:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:02:40 08:02:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:02:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:02:41 alpine: Pulling from edgex-lftools-log-publisher 08:02:41 c9b1b535fdd9: Pulling fs layer 08:02:41 2cc5ad85d9ab: Pulling fs layer 08:02:41 756a868c4378: Pulling fs layer 08:02:41 444b2fc9a129: Pulling fs layer 08:02:41 ea15f1150254: Pulling fs layer 08:02:41 41b27a9f41bf: Pulling fs layer 08:02:41 28c525ee5125: Pulling fs layer 08:02:41 094b1ea09ed8: Pulling fs layer 08:02:41 138eaada9080: Pulling fs layer 08:02:41 0622d0fa9048: Pulling fs layer 08:02:41 28c525ee5125: Waiting 08:02:41 094b1ea09ed8: Waiting 08:02:41 138eaada9080: Waiting 08:02:41 0622d0fa9048: Waiting 08:02:41 ea15f1150254: Waiting 08:02:41 2cc5ad85d9ab: Verifying Checksum 08:02:41 2cc5ad85d9ab: Download complete 08:02:41 444b2fc9a129: Verifying Checksum 08:02:41 444b2fc9a129: Download complete 08:02:41 c9b1b535fdd9: Verifying Checksum 08:02:41 c9b1b535fdd9: Download complete 08:02:41 ea15f1150254: Download complete 08:02:41 28c525ee5125: Verifying Checksum 08:02:41 28c525ee5125: Download complete 08:02:41 756a868c4378: Verifying Checksum 08:02:41 756a868c4378: Download complete 08:02:41 c9b1b535fdd9: Pull complete 08:02:41 094b1ea09ed8: Verifying Checksum 08:02:41 094b1ea09ed8: Download complete 08:02:41 138eaada9080: Verifying Checksum 08:02:41 138eaada9080: Download complete 08:02:41 0622d0fa9048: Download complete 08:02:41 2cc5ad85d9ab: Pull complete 08:02:42 41b27a9f41bf: Verifying Checksum 08:02:42 41b27a9f41bf: Download complete 08:02:43 756a868c4378: Pull complete 08:02:43 444b2fc9a129: Pull complete 08:02:44 ea15f1150254: Pull complete 08:02:47 41b27a9f41bf: Pull complete 08:02:48 28c525ee5125: Pull complete 08:02:50 094b1ea09ed8: Pull complete 08:02:50 138eaada9080: Pull complete 08:02:50 0622d0fa9048: Pull complete 08:02:50 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:02:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:02:50 prd-centos7-docker-4c-2g-5552 does not seem to be running inside a container 08:02:50 $ 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-507 -v /w/workspace/dgexfoundry_device-sdk-go_PR-507:/w/workspace/dgexfoundry_device-sdk-go_PR-507:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-507@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 08:02:51 $ docker top 943bc03b5eaa1f0caa8eff45adc2ccfc1b00b6662185146f441e85ee11cfc1fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:02:52 provisioning config files... 08:02:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/config6466742839988528632tmp [Pipeline] { [Pipeline] echo 08:02:52 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:02:52 ---> create-netrc.sh [Pipeline] echo 08:02:52 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:02:52 ---> logs-deploy.sh 08:02:52 + ARCHIVE_ARTIFACTS= 08:02:52 + LOGS_SERVER=https://logs.edgexfoundry.org 08:02:52 + '[' https://logs.edgexfoundry.org == None ']' 08:02:52 + NEXUS_URL=https://nexus.edgexfoundry.org 08:02:52 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-507/2 08:02:52 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-507/2/ 08:02:52 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-507/2 /w/workspace/dgexfoundry_device-sdk-go_PR-507 08:02:54 Archives upload complete. 08:02:54 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-507/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-507/2/