Branch indexing 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 87d5476449a35cff438eb0cafa3131d50caefe7b rather than 1f491d42246a75cc09508320851612dec61855a7 Obtained Jenkinsfile from 87d5476449a35cff438eb0cafa3131d50caefe7b Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-253 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [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-553 # 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/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # 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/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 87d5476449a35cff438eb0cafa3131d50caefe7b into PR head commit 1f491d42246a75cc09508320851612dec61855a7 Merge succeeded, producing a6cf2990db648f9d6728e9f6521e2daa52e0937d Checking out Revision a6cf2990db648f9d6728e9f6521e2daa52e0937d (PR-553) > git config core.sparsecheckout # timeout=10 > git checkout -f 1f491d42246a75cc09508320851612dec61855a7 # 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 87d5476449a35cff438eb0cafa3131d50caefe7b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6cf2990db648f9d6728e9f6521e2daa52e0937d # timeout=10 Commit message: "Merge commit '87d5476449a35cff438eb0cafa3131d50caefe7b' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk f68b0ceb16f55af31286ab16d0b17e84c0743190 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:41:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:41:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:41:54 ========================================================= 10:41:54 EdgeX Global Pipelines Version Info 10:41:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:41:57 ------------------- 10:41:57 stable info: 10:41:57 ------------------- 10:41:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:41:57 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 10:41:57 Message: update stable to v1.0.106 10:41:58 ------------------- 10:41:58 experimental info: 10:41:58 ------------------- 10:41:58 Commited By: **** collab-it+edgex@linuxfoundation.org 10:41:58 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 10:41:58 Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:42:00 + git log --format=format:%s -1 a6cf2990db648f9d6728e9f6521e2daa52e0937d [Pipeline] echo 10:42:00 GIT_COMMIT: a6cf2990db648f9d6728e9f6521e2daa52e0937d, Commit Message: Merge commit '87d5476449a35cff438eb0cafa3131d50caefe7b' into HEAD [Pipeline] echo 10:42:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:42:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:42:02 10:42:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:42:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:42:02 latest: Pulling from edgex-devops/git-semver 10:42:02 31603596830f: Pulling fs layer 10:42:02 2a8b12db71e7: Pulling fs layer 10:42:02 6ca5941a6612: Pulling fs layer 10:42:02 ecc8261a40a4: Pulling fs layer 10:42:02 ecc8261a40a4: Waiting 10:42:02 2a8b12db71e7: Download complete 10:42:03 31603596830f: Verifying Checksum 10:42:03 31603596830f: Download complete 10:42:03 6ca5941a6612: Verifying Checksum 10:42:03 6ca5941a6612: Download complete 10:42:03 ecc8261a40a4: Verifying Checksum 10:42:03 ecc8261a40a4: Download complete 10:42:03 31603596830f: Pull complete 10:42:03 2a8b12db71e7: Pull complete 10:42:05 6ca5941a6612: Pull complete 10:42:05 ecc8261a40a4: Pull complete 10:42:05 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:42:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:42:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:42:06 prd-centos7-docker-4c-2g-253 does not seem to be running inside a container 10:42:06 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:42:08 $ docker top c044d211b3785d71554f1a2e3a35bdc229e7906f261e1b1da4c218fd5a60bb24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:42:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:42:08 [ssh-agent] Looking for ssh-agent implementation... 10:42:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:42:09 $ docker exec c044d211b3785d71554f1a2e3a35bdc229e7906f261e1b1da4c218fd5a60bb24 ssh-agent 10:42:09 SSH_AUTH_SOCK=/tmp/ssh-qXoiigYP87xm/agent.12 10:42:09 SSH_AGENT_PID=18 10:42:09 Running ssh-add (command line suppressed) 10:42:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_1489385567004326461.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_1489385567004326461.key) 10:42:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:42:10 + git describe --exact-match --tags HEAD 10:42:10 fatal: No names found, cannot describe anything. [Pipeline] } 10:42:10 $ docker exec --env ******** --env ******** c044d211b3785d71554f1a2e3a35bdc229e7906f261e1b1da4c218fd5a60bb24 ssh-agent -k 10:42:10 unset SSH_AUTH_SOCK; 10:42:10 unset SSH_AGENT_PID; 10:42:10 echo Agent pid 18 killed; 10:42:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:42:10 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:42:10 This usually means this commit has not been tagged. [Pipeline] sshagent 10:42:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:42:10 [ssh-agent] Looking for ssh-agent implementation... 10:42:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:42:11 $ docker exec c044d211b3785d71554f1a2e3a35bdc229e7906f261e1b1da4c218fd5a60bb24 ssh-agent 10:42:11 SSH_AUTH_SOCK=/tmp/ssh-xo8uxWz1P702/agent.46 10:42:11 SSH_AGENT_PID=51 10:42:11 Running ssh-add (command line suppressed) 10:42:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_69673411008734255.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_69673411008734255.key) 10:42:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:42:11 + git semver init 10:42:11 # -> Open(): unable to determine branch for HEAD 10:42:11 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git 10:42:11 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 10:42:11 # $SEMVER_REMOTE_NAME = origin 10:42:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:42:11 # $SEMVER_USER_NAME = edgex-jenkins 10:42:11 # $SEMVER_BRANCH = PR-553 10:42:11 # $SEMVER_TEMP = /tmp/semver-402367977 10:42:11 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:42:12 # '/tmp/semver-402367977' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' 10:42:12 # -> Force: false 10:42:12 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } 10:42:12 $ docker exec --env ******** --env ******** c044d211b3785d71554f1a2e3a35bdc229e7906f261e1b1da4c218fd5a60bb24 ssh-agent -k 10:42:12 unset SSH_AUTH_SOCK; 10:42:12 unset SSH_AGENT_PID; 10:42:12 echo Agent pid 51 killed; 10:42:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:42:14 + git semver [Pipeline] } 10:42:14 $ docker stop --time=1 c044d211b3785d71554f1a2e3a35bdc229e7906f261e1b1da4c218fd5a60bb24 10:42:15 $ docker rm -f c044d211b3785d71554f1a2e3a35bdc229e7906f261e1b1da4c218fd5a60bb24 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:42:16 Stashed 27 file(s) [Pipeline] echo 10:42:16 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 10:42:16 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [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 10:42:32 Still waiting to schedule task 10:42:32 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:42:32 Still waiting to schedule task 10:42:32 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 10:44:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-254 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 10:44:12 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 10:44:17 using credential edgex-jenkins-ssh 10:44:17 Cloning the remote Git repository 10:44:17 Cloning with configured refspecs honoured and without tags 10:44:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:44:17 > git init /w/workspace/device-sdk-go/10 # timeout=10 10:44:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:44:17 > git --version # timeout=10 10:44:17 using GIT_SSH to set credentials SSH Credentials for GitHub 10:44:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:44:18 Fetching without tags 10:44:19 Merging remotes/origin/master commit 87d5476449a35cff438eb0cafa3131d50caefe7b into PR head commit 1f491d42246a75cc09508320851612dec61855a7 10:44:19 Merge succeeded, producing a53ebd3c599b085698db430acff986330d15f315 10:44:19 Checking out Revision a53ebd3c599b085698db430acff986330d15f315 (PR-553) 10:44:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:44:18 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 10:44:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:44:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:44:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:44:18 using GIT_SSH to set credentials SSH Credentials for GitHub 10:44:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:44:19 > git config core.sparsecheckout # timeout=10 10:44:19 > git checkout -f 1f491d42246a75cc09508320851612dec61855a7 # timeout=10 10:44:19 > git remote # timeout=10 10:44:19 > git config --get remote.origin.url # timeout=10 10:44:19 using GIT_SSH to set credentials SSH Credentials for GitHub 10:44:19 > git merge 87d5476449a35cff438eb0cafa3131d50caefe7b # timeout=10 10:44:19 > git rev-parse HEAD^{commit} # timeout=10 10:44:19 > git config core.sparsecheckout # timeout=10 10:44:19 > git checkout -f a53ebd3c599b085698db430acff986330d15f315 # timeout=10 10:44:23 Commit message: "Merge commit '87d5476449a35cff438eb0cafa3131d50caefe7b' into HEAD" 10:44:23 First time build. Skipping changelog. 10:44:23 > git rev-list --no-walk f68b0ceb16f55af31286ab16d0b17e84c0743190 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:44:25 ========================================================= 10:44:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 10:44:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:44:26 + 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 . 10:44:27 Sending build context to Docker daemon 3.075MB 10:44:27 Step 1/8 : ARG BASE=golang:1.13-alpine 10:44:27 Step 2/8 : FROM ${BASE} 10:44:27 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:44:27 b538f80385f9: Pulling fs layer 10:44:27 74f711af9a0d: Pulling fs layer 10:44:27 99f96fe45779: Pulling fs layer 10:44:27 fd7a069fd194: Pulling fs layer 10:44:27 66aa3694b03b: Pulling fs layer 10:44:27 170f70906a0f: Pulling fs layer 10:44:27 ad7c5574e4b9: Pulling fs layer 10:44:27 e772456be8f7: Pulling fs layer 10:44:27 c890913d741a: Pulling fs layer 10:44:27 2480fcc9aa5a: Pulling fs layer 10:44:27 66aa3694b03b: Waiting 10:44:27 09adf4765672: Pulling fs layer 10:44:27 ad7c5574e4b9: Waiting 10:44:27 170f70906a0f: Waiting 10:44:27 e772456be8f7: Waiting 10:44:27 c890913d741a: Waiting 10:44:27 2480fcc9aa5a: Waiting 10:44:27 09adf4765672: Waiting 10:44:27 fd7a069fd194: Waiting 10:44:27 99f96fe45779: Download complete 10:44:27 74f711af9a0d: Verifying Checksum 10:44:27 74f711af9a0d: Download complete 10:44:27 66aa3694b03b: Verifying Checksum 10:44:27 66aa3694b03b: Download complete 10:44:27 170f70906a0f: Verifying Checksum 10:44:27 170f70906a0f: Download complete 10:44:27 b538f80385f9: Verifying Checksum 10:44:27 b538f80385f9: Download complete 10:44:28 b538f80385f9: Pull complete 10:44:29 74f711af9a0d: Pull complete 10:44:29 99f96fe45779: Pull complete 10:44:30 ad7c5574e4b9: Verifying Checksum 10:44:30 ad7c5574e4b9: Download complete 10:44:30 c890913d741a: Verifying Checksum 10:44:30 c890913d741a: Download complete 10:44:31 2480fcc9aa5a: Verifying Checksum 10:44:31 2480fcc9aa5a: Download complete 10:44:32 09adf4765672: Verifying Checksum 10:44:32 09adf4765672: Download complete 10:44:32 e772456be8f7: Verifying Checksum 10:44:32 e772456be8f7: Download complete 10:44:33 fd7a069fd194: Verifying Checksum 10:44:33 fd7a069fd194: Download complete 10:44:45 fd7a069fd194: Pull complete 10:44:45 66aa3694b03b: Pull complete 10:44:45 170f70906a0f: Pull complete 10:44:49 ad7c5574e4b9: Pull complete 10:44:53 e772456be8f7: Pull complete 10:44:53 c890913d741a: Pull complete 10:44:55 2480fcc9aa5a: Pull complete 10:44:56 09adf4765672: Pull complete 10:44:56 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 10:44:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 10:44:56 ---> 2248a725d1cf 10:44:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:45:01 ---> Running in f3965a919a5e 10:45:01 Removing intermediate container f3965a919a5e 10:45:01 ---> 46a26beee6cf 10:45:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:45:01 ---> Running in 385ce76e53a9 10:45:04 Removing intermediate container 385ce76e53a9 10:45:04 ---> 1419ff30637e 10:45:04 Step 5/8 : RUN apk add --no-cache make git 10:45:04 ---> Running in 85030ee828c7 10:45:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:45:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:45:07 OK: 142 MiB in 39 packages 10:45:08 Removing intermediate container 85030ee828c7 10:45:08 ---> 2ee383ef5387 10:45:08 Step 6/8 : WORKDIR /device-sdk-go 10:45:08 ---> Running in 2267ba652bd7 10:45:08 Removing intermediate container 2267ba652bd7 10:45:08 ---> d9b1ba2c21f0 10:45:08 Step 7/8 : COPY . . 10:45:10 ---> 098b690c8bf4 10:45:10 Step 8/8 : RUN go mod download 10:45:10 ---> Running in 747a7da6aab7 10:45:11 Running on prd-centos7-docker-4c-2g-255 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 10:45:11 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 10:45:13 go: finding github.com/BurntSushi/toml v0.3.1 10:45:13 go: finding github.com/OneOfOne/xxhash v1.2.6 10:45:13 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 10:45:13 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:45:13 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 10:45:13 go: finding github.com/bgentry/speakeasy v0.1.0 10:45:13 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 10:45:13 go: finding github.com/davecgh/go-spew v1.1.1 10:45:13 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 10:45:13 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 10:45:13 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 10:45:13 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 10:45:13 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 10:45:13 go: finding github.com/fatih/color v1.7.0 10:45:13 go: finding github.com/fxamacker/cbor/v2 v2.2.0 10:45:13 go: finding github.com/go-kit/kit v0.8.0 10:45:13 go: finding github.com/go-logfmt/logfmt v0.4.0 10:45:13 go: finding github.com/go-stack/stack v1.8.0 10:45:13 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 10:45:13 go: finding github.com/google/uuid v1.1.0 10:45:13 go: finding github.com/gorilla/mux v1.7.1 10:45:13 go: finding github.com/hashicorp/consul/api v1.1.0 10:45:13 go: finding github.com/hashicorp/consul/sdk v0.1.1 10:45:13 go: finding github.com/hashicorp/errwrap v1.0.0 10:45:13 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 10:45:13 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 10:45:13 go: finding github.com/hashicorp/go-msgpack v0.5.3 10:45:13 go: finding github.com/hashicorp/go-multierror v1.0.0 10:45:13 go: finding github.com/hashicorp/go-rootcerts v1.0.0 10:45:13 go: finding github.com/hashicorp/go-sockaddr v1.0.0 10:45:13 go: finding github.com/hashicorp/go-syslog v1.0.0 10:45:13 go: finding github.com/hashicorp/go-uuid v1.0.1 10:45:13 go: finding github.com/hashicorp/go.net v0.0.1 10:45:13 go: finding github.com/hashicorp/golang-lru v0.5.0 10:45:13 go: finding github.com/hashicorp/logutils v1.0.0 10:45:13 go: finding github.com/hashicorp/mdns v1.0.0 10:45:13 go: finding github.com/hashicorp/memberlist v0.1.3 10:45:13 go: finding github.com/hashicorp/serf v0.8.2 10:45:13 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 10:45:13 go: finding github.com/mattn/go-colorable v0.0.9 10:45:13 go: finding github.com/mattn/go-isatty v0.0.3 10:45:13 go: finding github.com/miekg/dns v1.0.14 10:45:13 go: finding github.com/mitchellh/cli v1.0.0 10:45:14 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:45:14 go: finding github.com/mitchellh/copystructure v1.0.0 10:45:14 go: finding github.com/mitchellh/go-homedir v1.0.0 10:45:14 go: finding github.com/mitchellh/go-testing-interface v1.0.0 10:45:14 go: finding github.com/mitchellh/gox v0.4.0 10:45:14 go: finding github.com/mitchellh/iochan v1.0.0 10:45:14 go: finding github.com/mitchellh/mapstructure v1.1.2 10:45:14 go: finding github.com/mitchellh/reflectwalk v1.0.0 10:45:14 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 10:45:14 go: finding github.com/pelletier/go-toml v1.2.0 10:45:14 go: finding github.com/pkg/errors v0.8.1 10:45:14 go: finding github.com/pmezard/go-difflib v1.0.0 10:45:14 using credential edgex-jenkins-ssh 10:45:14 go: finding github.com/posener/complete v1.1.1 10:45:14 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 10:45:14 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 10:45:14 go: finding github.com/stretchr/objx v0.1.0 10:45:14 go: finding github.com/stretchr/testify v1.5.1 10:45:14 go: finding github.com/ugorji/go v1.1.4 10:45:14 go: finding github.com/x448/float16 v0.8.4 10:45:14 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 10:45:14 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 10:45:14 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 10:45:14 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 10:45:14 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 10:45:14 Cloning the remote Git repository 10:45:14 Cloning with configured refspecs honoured and without tags 10:45:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:45:14 > git init /w/workspace/device-sdk-go/10 # timeout=10 10:45:14 go: finding gopkg.in/yaml.v2 v2.2.8 10:45:15 Fetching without tags 10:45:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:45:14 > git --version # timeout=10 10:45:14 using GIT_SSH to set credentials SSH Credentials for GitHub 10:45:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:45:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:45:15 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 10:45:15 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:45:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:45:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:45:15 using GIT_SSH to set credentials SSH Credentials for GitHub 10:45:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:45:15 Merging remotes/origin/master commit 87d5476449a35cff438eb0cafa3131d50caefe7b into PR head commit 1f491d42246a75cc09508320851612dec61855a7 10:45:15 Merge succeeded, producing 1378bfafc6ee149acb73a63668a80744044d5d7c 10:45:15 Checking out Revision 1378bfafc6ee149acb73a63668a80744044d5d7c (PR-553) 10:45:15 > git config core.sparsecheckout # timeout=10 10:45:15 > git checkout -f 1f491d42246a75cc09508320851612dec61855a7 # timeout=10 10:45:15 > git remote # timeout=10 10:45:15 > git config --get remote.origin.url # timeout=10 10:45:15 using GIT_SSH to set credentials SSH Credentials for GitHub 10:45:15 > git merge 87d5476449a35cff438eb0cafa3131d50caefe7b # timeout=10 10:45:15 > git rev-parse HEAD^{commit} # timeout=10 10:45:15 > git config core.sparsecheckout # timeout=10 10:45:15 > git checkout -f 1378bfafc6ee149acb73a63668a80744044d5d7c # timeout=10 10:45:19 Commit message: "Merge commit '87d5476449a35cff438eb0cafa3131d50caefe7b' into HEAD" 10:45:19 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:45:20 ========================================================= 10:45:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 10:45:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:45:19 > git rev-list --no-walk f68b0ceb16f55af31286ab16d0b17e84c0743190 # timeout=10 10:45:20 + 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 . 10:45:21 Sending build context to Docker daemon 3.077MB 10:45:21 Step 1/8 : ARG BASE=golang:1.13-alpine 10:45:21 Step 2/8 : FROM ${BASE} 10:45:21 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 10:45:21 df20fa9351a1: Pulling fs layer 10:45:21 ed8968b2872e: Pulling fs layer 10:45:21 a92cc7c5fd73: Pulling fs layer 10:45:21 2dd03ba5bac4: Pulling fs layer 10:45:21 1e091d79d1de: Pulling fs layer 10:45:21 481702a1767f: Pulling fs layer 10:45:21 f64a6f60c768: Pulling fs layer 10:45:21 e78d2573fc39: Pulling fs layer 10:45:21 e876d2f968b6: Pulling fs layer 10:45:21 ce8a83651883: Pulling fs layer 10:45:21 07967f4d0e4b: Pulling fs layer 10:45:21 f64a6f60c768: Waiting 10:45:21 e78d2573fc39: Waiting 10:45:21 e876d2f968b6: Waiting 10:45:21 ce8a83651883: Waiting 10:45:21 07967f4d0e4b: Waiting 10:45:21 1e091d79d1de: Waiting 10:45:21 481702a1767f: Waiting 10:45:21 2dd03ba5bac4: Waiting 10:45:21 a92cc7c5fd73: Verifying Checksum 10:45:21 a92cc7c5fd73: Download complete 10:45:21 ed8968b2872e: Verifying Checksum 10:45:21 ed8968b2872e: Download complete 10:45:21 1e091d79d1de: Verifying Checksum 10:45:21 1e091d79d1de: Download complete 10:45:21 481702a1767f: Verifying Checksum 10:45:21 481702a1767f: Download complete 10:45:21 df20fa9351a1: Verifying Checksum 10:45:21 df20fa9351a1: Download complete 10:45:21 df20fa9351a1: Pull complete 10:45:22 ed8968b2872e: Pull complete 10:45:22 f64a6f60c768: Verifying Checksum 10:45:22 f64a6f60c768: Download complete 10:45:22 e876d2f968b6: Verifying Checksum 10:45:22 e876d2f968b6: Download complete 10:45:23 2dd03ba5bac4: Download complete 10:45:23 ce8a83651883: Verifying Checksum 10:45:23 ce8a83651883: Download complete 10:45:23 07967f4d0e4b: Verifying Checksum 10:45:23 07967f4d0e4b: Download complete 10:45:23 e78d2573fc39: Verifying Checksum 10:45:23 e78d2573fc39: Download complete 10:45:24 a92cc7c5fd73: Pull complete 10:45:24 Removing intermediate container 747a7da6aab7 10:45:24 ---> 5993f5d4aa65 10:45:24 Successfully built 5993f5d4aa65 10:45:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:45:25 + docker inspect -f . ci-base-image-arm64 10:45:25 . [Pipeline] withDockerContainer 10:45:25 prd-ubuntu18.04-docker-arm64-4c-16g-254 does not seem to be running inside a container 10:45:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:45:27 $ docker top 5bf9fade8a2a7d4d0f6d17bd0f41828a9046272abb46c74395c1b2504895fa4b -eo pid,comm [Pipeline] { [Pipeline] sh 10:45:29 + go version 10:45:29 go version go1.13.13 linux/arm64 [Pipeline] sh 10:45:30 + make test 10:45:30 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 10:45:30 2dd03ba5bac4: Pull complete 10:45:30 1e091d79d1de: Pull complete 10:45:30 481702a1767f: Pull complete 10:45:31 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:45:34 f64a6f60c768: Pull complete 10:45:38 e78d2573fc39: Pull complete 10:45:38 e876d2f968b6: Pull complete 10:45:39 ce8a83651883: Pull complete 10:45:40 07967f4d0e4b: Pull complete 10:45:40 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 10:45:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 10:45:40 ---> 5d7c900382c6 10:45:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:45:40 ---> Running in 4975a65b47df 10:45:40 Removing intermediate container 4975a65b47df 10:45:40 ---> 52f4084b25a6 10:45:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:45:40 ---> Running in a1ccf18701ee 10:45:42 Removing intermediate container a1ccf18701ee 10:45:42 ---> b065fb629f49 10:45:42 Step 5/8 : RUN apk add --no-cache make git 10:45:42 ---> Running in bcf5b57ba189 10:45:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:45:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:45:44 OK: 166 MiB in 39 packages 10:45:44 Removing intermediate container bcf5b57ba189 10:45:44 ---> 4549b2c259c9 10:45:44 Step 6/8 : WORKDIR /device-sdk-go 10:45:44 ---> Running in d9979ba56629 10:45:44 Removing intermediate container d9979ba56629 10:45:44 ---> c50616312b1c 10:45:44 Step 7/8 : COPY . . 10:45:45 ---> 55d056a3cbd1 10:45:45 Step 8/8 : RUN go mod download 10:45:45 ---> Running in e78b83ede068 10:45:47 go: finding github.com/BurntSushi/toml v0.3.1 10:45:47 go: finding github.com/OneOfOne/xxhash v1.2.6 10:45:47 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 10:45:47 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:45:47 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 10:45:47 go: finding github.com/bgentry/speakeasy v0.1.0 10:45:47 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 10:45:47 go: finding github.com/davecgh/go-spew v1.1.1 10:45:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 10:45:47 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 10:45:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 10:45:47 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 10:45:47 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 10:45:47 go: finding github.com/fatih/color v1.7.0 10:45:47 go: finding github.com/fxamacker/cbor/v2 v2.2.0 10:45:47 go: finding github.com/go-kit/kit v0.8.0 10:45:47 go: finding github.com/go-logfmt/logfmt v0.4.0 10:45:47 go: finding github.com/go-stack/stack v1.8.0 10:45:47 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 10:45:47 go: finding github.com/google/uuid v1.1.0 10:45:47 go: finding github.com/gorilla/mux v1.7.1 10:45:48 go: finding github.com/hashicorp/consul/api v1.1.0 10:45:48 go: finding github.com/hashicorp/consul/sdk v0.1.1 10:45:48 go: finding github.com/hashicorp/errwrap v1.0.0 10:45:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 10:45:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 10:45:48 go: finding github.com/hashicorp/go-msgpack v0.5.3 10:45:48 go: finding github.com/hashicorp/go-multierror v1.0.0 10:45:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 10:45:48 go: finding github.com/hashicorp/go-sockaddr v1.0.0 10:45:48 go: finding github.com/hashicorp/go-syslog v1.0.0 10:45:48 go: finding github.com/hashicorp/go-uuid v1.0.1 10:45:48 go: finding github.com/hashicorp/go.net v0.0.1 10:45:48 go: finding github.com/hashicorp/golang-lru v0.5.0 10:45:48 go: finding github.com/hashicorp/logutils v1.0.0 10:45:48 go: finding github.com/hashicorp/mdns v1.0.0 10:45:48 go: finding github.com/hashicorp/memberlist v0.1.3 10:45:48 go: finding github.com/hashicorp/serf v0.8.2 10:45:48 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 10:45:48 go: finding github.com/mattn/go-colorable v0.0.9 10:45:48 go: finding github.com/mattn/go-isatty v0.0.3 10:45:48 go: finding github.com/miekg/dns v1.0.14 10:45:48 go: finding github.com/mitchellh/cli v1.0.0 10:45:48 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:45:48 go: finding github.com/mitchellh/copystructure v1.0.0 10:45:48 go: finding github.com/mitchellh/go-homedir v1.0.0 10:45:48 go: finding github.com/mitchellh/go-testing-interface v1.0.0 10:45:48 go: finding github.com/mitchellh/gox v0.4.0 10:45:48 go: finding github.com/mitchellh/iochan v1.0.0 10:45:48 go: finding github.com/mitchellh/mapstructure v1.1.2 10:45:48 go: finding github.com/mitchellh/reflectwalk v1.0.0 10:45:48 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 10:45:48 go: finding github.com/pelletier/go-toml v1.2.0 10:45:48 go: finding github.com/pkg/errors v0.8.1 10:45:48 go: finding github.com/pmezard/go-difflib v1.0.0 10:45:48 go: finding github.com/posener/complete v1.1.1 10:45:48 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 10:45:48 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 10:45:48 go: finding github.com/stretchr/objx v0.1.0 10:45:48 go: finding github.com/stretchr/testify v1.5.1 10:45:48 go: finding github.com/ugorji/go v1.1.4 10:45:48 go: finding github.com/x448/float16 v0.8.4 10:45:48 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 10:45:48 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 10:45:48 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 10:45:48 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 10:45:48 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 10:45:48 go: finding gopkg.in/yaml.v2 v2.2.8 10:45:57 Removing intermediate container e78b83ede068 10:45:57 ---> 25306347197a 10:45:57 Successfully built 25306347197a 10:45:57 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 10:45:57 + docker inspect -f . ci-base-image-x86_64 10:45:57 . [Pipeline] withDockerContainer 10:45:57 prd-centos7-docker-4c-2g-255 does not seem to be running inside a container 10:45:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:45:58 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:45:58 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:45:58 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:45:59 $ docker top 42b8c2a3cffd3920f5aba4a2574def6d0536b9639e7206087c81fec072792c04 -eo pid,comm [Pipeline] { [Pipeline] sh 10:45:59 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.075s coverage: 22.1% of statements 10:45:59 + go version 10:45:59 go version go1.13.13 linux/amd64 [Pipeline] sh 10:45:59 + make test 10:45:59 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 10:46:00 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:46:02 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.157s coverage: 95.8% of statements 10:46:09 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:46:09 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:46:09 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:46:11 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 22.1% of statements 10:46:11 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements 10:46:35 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 11.6% of statements 10:46:35 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.7% of statements 10:46:35 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:46:35 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.231s coverage: 36.9% of statements 10:46:35 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:46:35 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.616s coverage: 65.2% of statements 10:46:35 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:46:35 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:46:35 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:46:35 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.043s coverage: 52.6% of statements 10:46:35 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 68.9% of statements 10:46:35 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:46:35 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:46:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:46:37 gofmt -l . 10:46:38 [ "`gofmt -l .`" = "" ] 10:46:38 ./bin/test-attribution-txt.sh 10:46:39 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:46:40 Stashed 1 file(s) [Pipeline] } 10:46:40 $ docker stop --time=1 5bf9fade8a2a7d4d0f6d17bd0f41828a9046272abb46c74395c1b2504895fa4b 10:46:42 $ docker rm -f 5bf9fade8a2a7d4d0f6d17bd0f41828a9046272abb46c74395c1b2504895fa4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 10:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.040s coverage: 11.6% of statements 10:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.011s coverage: 21.7% of statements 10:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.123s coverage: 36.9% of statements 10:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.407s coverage: 65.2% of statements 10:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.018s coverage: 52.6% of statements 10:46:43 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 68.9% of statements 10:46:43 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:46:43 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:46:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:46:43 gofmt -l . 10:46:43 [ "`gofmt -l .`" = "" ] 10:46:43 ./bin/test-attribution-txt.sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 10:46:44 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:46:45 Warning: overwriting stash ‘coverage-report’ [Pipeline] sh 10:46:45 Stashed 1 file(s) [Pipeline] } 10:46:45 $ docker stop --time=1 42b8c2a3cffd3920f5aba4a2574def6d0536b9639e7206087c81fec072792c04 10:46:45 + sudo chown -R jenkins:jenkins . 10:46:47 $ docker rm -f 42b8c2a3cffd3920f5aba4a2574def6d0536b9639e7206087c81fec072792c04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 10:46:48 + ls -al . 10:46:48 total 228 10:46:48 drwxrwxr-x 11 jenkins jenkins 4096 Aug 17 10:46 . 10:46:48 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 10:44 .. 10:46:48 -rw-rw-r-- 1 jenkins jenkins 140 Aug 17 10:44 .dockerignore 10:46:48 drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 10:44 .git 10:46:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 10:44 .github 10:46:48 -rw-rw-r-- 1 jenkins jenkins 138 Aug 17 10:44 .gitignore 10:46:48 drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 10:44 .semver 10:46:48 -rw-rw-r-- 1 jenkins jenkins 936 Aug 17 10:44 Dockerfile.build 10:46:48 -rw-rw-r-- 1 jenkins jenkins 808 Aug 17 10:44 Jenkinsfile 10:46:48 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 17 10:44 LICENSE 10:46:48 -rw-rw-r-- 1 jenkins jenkins 892 Aug 17 10:44 Makefile 10:46:48 -rw-rw-r-- 1 jenkins jenkins 5101 Aug 17 10:44 README.md 10:46:48 -rw-rw-r-- 1 jenkins jenkins 4291 Aug 17 10:44 RELEASE-NOTES.txt 10:46:48 -rw-rw-r-- 1 jenkins jenkins 5 Aug 17 10:42 VERSION 10:46:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 10:44 bin 10:46:48 -rw-r--r-- 1 jenkins jenkins 110883 Aug 17 10:46 coverage.out 10:46:48 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 10:44 example 10:46:48 -rw-r--r-- 1 jenkins jenkins 446 Aug 17 10:46 go.mod 10:46:48 -rw-r--r-- 1 jenkins jenkins 12179 Aug 17 10:46 go.sum 10:46:48 drwxrwxr-x 13 jenkins jenkins 4096 Aug 17 10:44 internal 10:46:48 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 10:44 openapi 10:46:48 drwxrwxr-x 5 jenkins jenkins 4096 Aug 17 10:44 pkg 10:46:48 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 10:44 snap 10:46:48 -rw-rw-r-- 1 jenkins jenkins 222 Aug 17 10:44 version.go [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 10:46:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:46:48 + 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=a6cf2990db648f9d6728e9f6521e2daa52e0937d --label arch=arm64 --label version=0.0.0 . 10:46:48 + ls -al . 10:46:48 total 188 10:46:48 drwxrwxr-x. 11 jenkins jenkins 4096 Aug 17 10:46 . 10:46:48 drwxrwxr-x. 4 jenkins jenkins 30 Aug 17 10:45 .. 10:46:48 drwxrwxr-x. 2 jenkins jenkins 64 Aug 17 10:45 bin 10:46:48 -rw-r--r--. 1 jenkins jenkins 110883 Aug 17 10:46 coverage.out 10:46:48 -rw-rw-r--. 1 jenkins jenkins 936 Aug 17 10:45 Dockerfile.build 10:46:48 -rw-rw-r--. 1 jenkins jenkins 140 Aug 17 10:45 .dockerignore 10:46:48 drwxrwxr-x. 4 jenkins jenkins 48 Aug 17 10:45 example 10:46:48 drwxrwxr-x. 8 jenkins jenkins 179 Aug 17 10:45 .git 10:46:48 drwxrwxr-x. 2 jenkins jenkins 38 Aug 17 10:45 .github 10:46:48 -rw-rw-r--. 1 jenkins jenkins 138 Aug 17 10:45 .gitignore 10:46:48 -rw-r--r--. 1 jenkins jenkins 446 Aug 17 10:46 go.mod 10:46:48 -rw-r--r--. 1 jenkins jenkins 12179 Aug 17 10:46 go.sum 10:46:48 drwxrwxr-x. 13 jenkins jenkins 184 Aug 17 10:45 internal 10:46:48 -rw-rw-r--. 1 jenkins jenkins 808 Aug 17 10:45 Jenkinsfile 10:46:48 -rw-rw-r--. 1 jenkins jenkins 11341 Aug 17 10:45 LICENSE 10:46:48 -rw-rw-r--. 1 jenkins jenkins 892 Aug 17 10:45 Makefile 10:46:48 drwxrwxr-x. 4 jenkins jenkins 26 Aug 17 10:45 openapi 10:46:48 drwxrwxr-x. 5 jenkins jenkins 50 Aug 17 10:45 pkg 10:46:48 -rw-rw-r--. 1 jenkins jenkins 5101 Aug 17 10:45 README.md 10:46:48 -rw-rw-r--. 1 jenkins jenkins 4291 Aug 17 10:45 RELEASE-NOTES.txt 10:46:48 drwxrwxr-x. 3 jenkins jenkins 58 Aug 17 10:45 .semver 10:46:48 drwxrwxr-x. 4 jenkins jenkins 54 Aug 17 10:45 snap 10:46:48 -rw-rw-r--. 1 jenkins jenkins 5 Aug 17 10:42 VERSION 10:46:48 -rw-rw-r--. 1 jenkins jenkins 222 Aug 17 10:45 version.go [Pipeline] isUnix [Pipeline] sh 10:46:48 + 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=a6cf2990db648f9d6728e9f6521e2daa52e0937d --label arch=amd64 --label version=0.0.0 . 10:46:49 Sending build context to Docker daemon 3.203MB 10:46:49 Step 1/23 : ARG BASE=golang:1.13-alpine 10:46:49 Step 2/23 : FROM ${BASE} AS builder 10:46:49 ---> 5993f5d4aa65 10:46:49 Step 3/23 : ARG MAKE='make build' 10:46:49 Sending build context to Docker daemon 3.205MB 10:46:49 Step 1/23 : ARG BASE=golang:1.13-alpine 10:46:49 Step 2/23 : FROM ${BASE} AS builder 10:46:49 ---> 25306347197a 10:46:49 Step 3/23 : ARG MAKE='make build' 10:46:49 ---> Running in 1162ba57cc66 10:46:49 Removing intermediate container 1162ba57cc66 10:46:49 ---> a0b5141c5bcd 10:46:49 Step 4/23 : WORKDIR /device-sdk-go 10:46:49 ---> Running in 8ee8b79ff53d 10:46:49 Removing intermediate container 8ee8b79ff53d 10:46:49 ---> 9bef864c7a33 10:46:49 Step 4/23 : WORKDIR /device-sdk-go 10:46:49 ---> Running in 6ea4438e74ef 10:46:49 ---> Running in 88e8b4b027dc 10:46:50 Removing intermediate container 6ea4438e74ef 10:46:50 ---> 0c759baf09c0 10:46:50 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:46:50 ---> Running in 235a3ad86694 10:46:50 Removing intermediate container 88e8b4b027dc 10:46:50 ---> 39f5d48f84b3 10:46:50 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:46:50 Removing intermediate container 235a3ad86694 10:46:50 ---> 702e946a03b3 10:46:50 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:46:50 ---> Running in 8e9f197bfbba 10:46:50 ---> Running in 96b4173d24be 10:46:50 Removing intermediate container 96b4173d24be 10:46:50 ---> 7bf2c3fb7dbb 10:46:50 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:46:50 ---> Running in 57a03b19e0fc 10:46:51 Removing intermediate container 8e9f197bfbba 10:46:51 ---> 24770913ca73 10:46:51 Step 7/23 : RUN apk add --update --no-cache make git 10:46:51 ---> Running in dfe94a5e0cd1 10:46:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:46:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:46:52 OK: 166 MiB in 39 packages 10:46:53 Removing intermediate container dfe94a5e0cd1 10:46:53 ---> 5a9bdd9354fb 10:46:53 Step 8/23 : COPY . . 10:46:53 Removing intermediate container 57a03b19e0fc 10:46:53 ---> cf497e5ce703 10:46:53 Step 7/23 : RUN apk add --update --no-cache make git 10:46:53 ---> Running in 3f4670d6a7a7 10:46:54 ---> 10579ca1297b 10:46:54 Step 9/23 : RUN ${MAKE} 10:46:54 ---> Running in bab20a40ac76 10:46:54 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 10:46:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:46:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:46:56 OK: 142 MiB in 39 packages 10:46:57 Removing intermediate container 3f4670d6a7a7 10:46:57 ---> ce7a98f2dfd1 10:46:57 Step 8/23 : COPY . . 10:46:58 ---> 04659a9f51cf 10:46:58 Step 9/23 : RUN ${MAKE} 10:46:58 ---> Running in e84b6e4a6607 10:47:00 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 10:47:03 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:47:03 Removing intermediate container bab20a40ac76 10:47:03 ---> 5beff3d28f63 10:47:03 Step 10/23 : FROM scratch 10:47:03 ---> 10:47:03 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:47:04 ---> Running in ddcd8ec958f1 10:47:04 Removing intermediate container ddcd8ec958f1 10:47:04 ---> a47456c30b9c 10:47:04 Step 12/23 : ENV APP_PORT=49990 10:47:04 ---> Running in c8e4829603df 10:47:04 Removing intermediate container c8e4829603df 10:47:04 ---> 1d830c20c8df 10:47:04 Step 13/23 : EXPOSE $APP_PORT 10:47:04 ---> Running in 38f05878d655 10:47:05 Removing intermediate container 38f05878d655 10:47:05 ---> 3da80c4fbcaa 10:47:05 Step 14/23 : WORKDIR / 10:47:05 ---> Running in b45c13feddf9 10:47:05 Removing intermediate container b45c13feddf9 10:47:05 ---> ec6d4ee45747 10:47:05 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:47:06 ---> 9ca0bf280bb2 10:47:06 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:47:06 ---> 868bfeb34d11 10:47:06 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:47:06 ---> 3767fab24e07 10:47:06 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:47:06 ---> 4596f1cc23c6 10:47:06 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:47:07 ---> 74e54baf7bf7 10:47:07 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:47:07 ---> Running in adbad723fd2e 10:47:07 Removing intermediate container adbad723fd2e 10:47:07 ---> e1d0dfd53423 10:47:07 Step 21/23 : LABEL arch=amd64 10:47:07 ---> Running in 1d9cda928f01 10:47:07 Removing intermediate container 1d9cda928f01 10:47:07 ---> d442f45f722e 10:47:07 Step 22/23 : LABEL git_sha=a6cf2990db648f9d6728e9f6521e2daa52e0937d 10:47:07 ---> Running in 486ccaf9e33b 10:47:07 Removing intermediate container 486ccaf9e33b 10:47:07 ---> 1dda6fa67aee 10:47:07 Step 23/23 : LABEL version=0.0.0 10:47:07 ---> Running in 873d61c4fcdb 10:47:08 Removing intermediate container 873d61c4fcdb 10:47:08 ---> ce6e1a9f5cee 10:47:08 [Warning] One or more build-args [ARCH] were not consumed 10:47:08 Successfully built ce6e1a9f5cee 10:47:08 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:47:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:47:27 Removing intermediate container e84b6e4a6607 10:47:27 ---> 3985f652552b 10:47:27 Step 10/23 : FROM scratch 10:47:27 ---> 10:47:27 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:47:27 ---> Running in 880d21d89650 10:47:27 Removing intermediate container 880d21d89650 10:47:27 ---> ab7f10cc3700 10:47:27 Step 12/23 : ENV APP_PORT=49990 10:47:27 ---> Running in 190b0e75aba5 10:47:27 Removing intermediate container 190b0e75aba5 10:47:27 ---> 275a642f8875 10:47:27 Step 13/23 : EXPOSE $APP_PORT 10:47:27 ---> Running in 8a333aa511d8 10:47:27 Removing intermediate container 8a333aa511d8 10:47:27 ---> 8e1ed4b0211e 10:47:27 Step 14/23 : WORKDIR / 10:47:27 ---> Running in bccad4ab418e 10:47:28 Removing intermediate container bccad4ab418e 10:47:28 ---> 50ff647668ab 10:47:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:47:28 ---> fe333cc0fd7f 10:47:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:47:29 ---> b7298050e642 10:47:29 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:47:30 ---> 3170940301a4 10:47:30 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:47:31 ---> 178a8ed0950e 10:47:31 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:47:32 ---> 2d82ffa26557 10:47:32 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:47:32 ---> Running in e16213912d34 10:47:32 Removing intermediate container e16213912d34 10:47:32 ---> d56bdedc14de 10:47:32 Step 21/23 : LABEL arch=arm64 10:47:32 ---> Running in be0b02d03082 10:47:33 Removing intermediate container be0b02d03082 10:47:33 ---> 32ee13b52da9 10:47:33 Step 22/23 : LABEL git_sha=a6cf2990db648f9d6728e9f6521e2daa52e0937d 10:47:33 ---> Running in acae50f1a80e 10:47:33 Removing intermediate container acae50f1a80e 10:47:33 ---> 616945f709df 10:47:33 Step 23/23 : LABEL version=0.0.0 10:47:33 ---> Running in 50f1ae88ed0c 10:47:34 Removing intermediate container 50f1ae88ed0c 10:47:34 ---> 4b6bc6e51f83 10:47:34 [Warning] One or more build-args [ARCH] were not consumed 10:47:34 Successfully built 4b6bc6e51f83 10:47:34 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 10:47:35 provisioning config files... 10:47:35 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config478575404139742382tmp [Pipeline] { [Pipeline] sh 10:47:36 + curl -s https://codecov.io/bash 10:47:36 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config478575404139742382tmp [Pipeline] } 10:47:36 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] { (Publish Swagger) Stage "Publish Swagger" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 10:47:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:47:38 ---> package-listing.sh 10:47:38 ++ facter osfamily 10:47:38 ++ tr '[:upper:]' '[:lower:]' 10:47:38 + OS_FAMILY=redhat 10:47:38 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 10:47:38 + START_PACKAGES=/tmp/packages_start.txt 10:47:38 + END_PACKAGES=/tmp/packages_end.txt 10:47:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:47:38 + PACKAGES=/tmp/packages_start.txt 10:47:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 10:47:38 + PACKAGES=/tmp/packages_end.txt 10:47:38 + case "${OS_FAMILY}" in 10:47:38 + rpm -qa 10:47:38 + sort 10:47:43 + '[' -f /tmp/packages_start.txt ']' 10:47:43 + '[' -f /tmp/packages_end.txt ']' 10:47:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:47:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 10:47:43 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ 10:47:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [Pipeline] isUnix [Pipeline] sh 10:47:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:47:43 10:47:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:47:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:47:44 alpine: Pulling from edgex-lftools-log-publisher 10:47:44 c9b1b535fdd9: Pulling fs layer 10:47:44 2cc5ad85d9ab: Pulling fs layer 10:47:44 756a868c4378: Pulling fs layer 10:47:44 444b2fc9a129: Pulling fs layer 10:47:44 ea15f1150254: Pulling fs layer 10:47:44 41b27a9f41bf: Pulling fs layer 10:47:44 28c525ee5125: Pulling fs layer 10:47:44 094b1ea09ed8: Pulling fs layer 10:47:44 138eaada9080: Pulling fs layer 10:47:44 0622d0fa9048: Pulling fs layer 10:47:44 444b2fc9a129: Waiting 10:47:44 ea15f1150254: Waiting 10:47:44 41b27a9f41bf: Waiting 10:47:44 28c525ee5125: Waiting 10:47:44 094b1ea09ed8: Waiting 10:47:44 138eaada9080: Waiting 10:47:44 2cc5ad85d9ab: Verifying Checksum 10:47:44 2cc5ad85d9ab: Download complete 10:47:44 444b2fc9a129: Verifying Checksum 10:47:44 444b2fc9a129: Download complete 10:47:44 c9b1b535fdd9: Verifying Checksum 10:47:44 c9b1b535fdd9: Download complete 10:47:44 ea15f1150254: Verifying Checksum 10:47:44 ea15f1150254: Download complete 10:47:44 28c525ee5125: Verifying Checksum 10:47:44 28c525ee5125: Download complete 10:47:45 756a868c4378: Verifying Checksum 10:47:45 756a868c4378: Download complete 10:47:45 c9b1b535fdd9: Pull complete 10:47:45 138eaada9080: Download complete 10:47:45 0622d0fa9048: Verifying Checksum 10:47:45 0622d0fa9048: Download complete 10:47:45 094b1ea09ed8: Verifying Checksum 10:47:45 094b1ea09ed8: Download complete 10:47:45 2cc5ad85d9ab: Pull complete 10:47:45 41b27a9f41bf: Verifying Checksum 10:47:45 41b27a9f41bf: Download complete 10:47:47 756a868c4378: Pull complete 10:47:48 444b2fc9a129: Pull complete 10:47:48 ea15f1150254: Pull complete 10:47:54 41b27a9f41bf: Pull complete 10:47:54 28c525ee5125: Pull complete 10:47:57 094b1ea09ed8: Pull complete 10:47:58 138eaada9080: Pull complete 10:47:58 0622d0fa9048: Pull complete 10:47:58 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 10:47:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:47:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:47:58 prd-centos7-docker-4c-2g-253 does not seem to be running inside a container 10:47:58 $ 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-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:48:02 $ docker top 0c388f1d20bdeb57e5904a3f8857eedb9612a60125ffa9bde4c36e222f710b64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:48:02 provisioning config files... 10:48:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config1134358280294219841tmp [Pipeline] { [Pipeline] echo 10:48:02 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:48:03 ---> create-netrc.sh [Pipeline] echo 10:48:03 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:48:04 ---> logs-deploy.sh 10:48:04 + ARCHIVE_ARTIFACTS= 10:48:04 + LOGS_SERVER=https://logs.edgexfoundry.org 10:48:04 + '[' https://logs.edgexfoundry.org == None ']' 10:48:04 + NEXUS_URL=https://nexus.edgexfoundry.org 10:48:04 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/10 10:48:04 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/10/ 10:48:04 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/10 /w/workspace/dgexfoundry_device-sdk-go_PR-553 10:48:06 Archives upload complete. 10:48:06 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/10 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/10/