Pull request #567 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 55a3ff579d3e07a1a1ba7028d0fb9771465de88f+ce316cea3dee80a2f116041d01b56dbf0103bc38 (f76d60d497ae10432b41f2f874aaee2b0c22a0b5) 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-472 in /w/workspace/dgexfoundry_device-sdk-go_PR-567 [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-567 # 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/567/head:refs/remotes/origin/PR-567 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit ce316cea3dee80a2f116041d01b56dbf0103bc38 into PR head commit 55a3ff579d3e07a1a1ba7028d0fb9771465de88f Merge succeeded, producing 55a3ff579d3e07a1a1ba7028d0fb9771465de88f Checking out Revision 55a3ff579d3e07a1a1ba7028d0fb9771465de88f (PR-567) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/567/head:refs/remotes/origin/PR-567 # 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/567/head:refs/remotes/origin/PR-567 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55a3ff579d3e07a1a1ba7028d0fb9771465de88f # 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 ce316cea3dee80a2f116041d01b56dbf0103bc38 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55a3ff579d3e07a1a1ba7028d0fb9771465de88f # timeout=10 Commit message: "Rename DeviceServiceSDK struct to DeviceService" First time build. Skipping changelog. > git rev-list --no-walk 1aa17e6abc92c51428010a290bf5bebce8fc8a7d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:21:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:21:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:21:04 ========================================================= 15:21:04 EdgeX Global Pipelines Version Info 15:21:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:21:06 ------------------- 15:21:06 stable info: 15:21:06 ------------------- 15:21:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:21:06 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 15:21:06 Message: update stable to v1.0.106 15:21:07 ------------------- 15:21:07 experimental info: 15:21:07 ------------------- 15:21:07 Commited By: **** collab-it+edgex@linuxfoundation.org 15:21:07 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 15:21:07 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 15:21:09 + git log --format=format:%s -1 55a3ff579d3e07a1a1ba7028d0fb9771465de88f [Pipeline] echo 15:21:09 GIT_COMMIT: 55a3ff579d3e07a1a1ba7028d0fb9771465de88f, Commit Message: Rename DeviceServiceSDK struct to DeviceService [Pipeline] echo 15:21:10 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:21:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:21:11 15:21:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:21:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:21:11 latest: Pulling from edgex-devops/git-semver 15:21:11 31603596830f: Pulling fs layer 15:21:11 2a8b12db71e7: Pulling fs layer 15:21:11 6ca5941a6612: Pulling fs layer 15:21:11 ecc8261a40a4: Pulling fs layer 15:21:11 ecc8261a40a4: Waiting 15:21:11 2a8b12db71e7: Verifying Checksum 15:21:11 2a8b12db71e7: Download complete 15:21:11 31603596830f: Verifying Checksum 15:21:11 31603596830f: Download complete 15:21:11 ecc8261a40a4: Verifying Checksum 15:21:11 ecc8261a40a4: Download complete 15:21:11 6ca5941a6612: Verifying Checksum 15:21:11 6ca5941a6612: Download complete 15:21:12 31603596830f: Pull complete 15:21:12 2a8b12db71e7: Pull complete 15:21:12 6ca5941a6612: Pull complete 15:21:13 ecc8261a40a4: Pull complete 15:21:13 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:21:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:21:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:21:13 prd-centos7-docker-4c-2g-472 does not seem to be running inside a container 15:21:13 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-567 -v /w/workspace/dgexfoundry_device-sdk-go_PR-567:/w/workspace/dgexfoundry_device-sdk-go_PR-567:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-567@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:21:16 $ docker top 93735649a5233a534fe05be40554d8be1b716942d04fe1ca224954c3347df351 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:21:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:21:16 [ssh-agent] Looking for ssh-agent implementation... 15:21:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:21:16 $ docker exec 93735649a5233a534fe05be40554d8be1b716942d04fe1ca224954c3347df351 ssh-agent 15:21:16 SSH_AUTH_SOCK=/tmp/ssh-ow6GzpZOBjNO/agent.11 15:21:16 SSH_AGENT_PID=16 15:21:16 Running ssh-add (command line suppressed) 15:21:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/private_key_1377881998775086580.key (/w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/private_key_1377881998775086580.key) 15:21:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:21:17 + git describe --exact-match --tags HEAD 15:21:17 fatal: No names found, cannot describe anything. [Pipeline] } 15:21:17 $ docker exec --env ******** --env ******** 93735649a5233a534fe05be40554d8be1b716942d04fe1ca224954c3347df351 ssh-agent -k 15:21:17 unset SSH_AUTH_SOCK; 15:21:17 unset SSH_AGENT_PID; 15:21:17 echo Agent pid 16 killed; 15:21:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:21:17 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:21:17 This usually means this commit has not been tagged. [Pipeline] sshagent 15:21:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:21:17 [ssh-agent] Looking for ssh-agent implementation... 15:21:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:21:17 $ docker exec 93735649a5233a534fe05be40554d8be1b716942d04fe1ca224954c3347df351 ssh-agent 15:21:18 SSH_AUTH_SOCK=/tmp/ssh-E3JvDMhpWO4K/agent.44 15:21:18 SSH_AGENT_PID=49 15:21:18 Running ssh-add (command line suppressed) 15:21:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/private_key_2121125706134637083.key (/w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/private_key_2121125706134637083.key) 15:21:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:21:18 + git semver init 15:21:18 # -> Open(): unable to determine branch for HEAD 15:21:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-567/.git 15:21:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-567 15:21:18 # $SEMVER_REMOTE_NAME = origin 15:21:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:21:18 # $SEMVER_USER_NAME = edgex-jenkins 15:21:18 # $SEMVER_BRANCH = PR-567 15:21:18 # $SEMVER_TEMP = /tmp/semver-311273793 15:21:18 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:21:19 # '/tmp/semver-311273793' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-567/.semver' 15:21:19 # -> Force: false 15:21:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-567/.semver [Pipeline] } 15:21:19 $ docker exec --env ******** --env ******** 93735649a5233a534fe05be40554d8be1b716942d04fe1ca224954c3347df351 ssh-agent -k 15:21:19 unset SSH_AUTH_SOCK; 15:21:19 unset SSH_AGENT_PID; 15:21:19 echo Agent pid 49 killed; 15:21:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:21:19 + git semver [Pipeline] } 15:21:19 $ docker stop --time=1 93735649a5233a534fe05be40554d8be1b716942d04fe1ca224954c3347df351 15:21:21 $ docker rm -f 93735649a5233a534fe05be40554d8be1b716942d04fe1ca224954c3347df351 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:21:22 Stashed 28 file(s) [Pipeline] echo 15:21:22 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 15:21:22 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 15:21:37 Still waiting to schedule task 15:21:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:21:37 Still waiting to schedule task 15:21:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:23:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-473 in /w/workspace/dgexfoundry_device-sdk-go_PR-567 [Pipeline] { [Pipeline] ws 15:23:28 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 15:23:34 using credential edgex-jenkins-ssh 15:23:34 Cloning the remote Git repository 15:23:34 Cloning with configured refspecs honoured and without tags 15:23:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:23:34 > git init /w/workspace/device-sdk-go/4 # timeout=10 15:23:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:23:34 > git --version # timeout=10 15:23:34 using GIT_SSH to set credentials SSH Credentials for GitHub 15:23:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:23:35 Fetching without tags 15:23:36 Merging remotes/origin/master commit ce316cea3dee80a2f116041d01b56dbf0103bc38 into PR head commit 55a3ff579d3e07a1a1ba7028d0fb9771465de88f 15:23:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:23:35 > git config --add remote.origin.fetch +refs/pull/567/head:refs/remotes/origin/PR-567 # timeout=10 15:23:35 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:23:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:23:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:23:35 using GIT_SSH to set credentials SSH Credentials for GitHub 15:23:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:23:36 > git config core.sparsecheckout # timeout=10 15:23:36 > git checkout -f 55a3ff579d3e07a1a1ba7028d0fb9771465de88f # timeout=10 15:23:36 > git remote # timeout=10 15:23:36 > git config --get remote.origin.url # timeout=10 15:23:36 using GIT_SSH to set credentials SSH Credentials for GitHub 15:23:36 > git merge ce316cea3dee80a2f116041d01b56dbf0103bc38 # timeout=10 15:23:36 Merge succeeded, producing 55a3ff579d3e07a1a1ba7028d0fb9771465de88f 15:23:36 Checking out Revision 55a3ff579d3e07a1a1ba7028d0fb9771465de88f (PR-567) 15:23:36 > git rev-parse HEAD^{commit} # timeout=10 15:23:36 > git config core.sparsecheckout # timeout=10 15:23:36 > git checkout -f 55a3ff579d3e07a1a1ba7028d0fb9771465de88f # timeout=10 15:23:41 Commit message: "Rename DeviceServiceSDK struct to DeviceService" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:23:42 ========================================================= 15:23:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 15:23:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:23:43 + 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 . 15:23:44 Sending build context to Docker daemon 3.089MB 15:23:44 Step 1/8 : ARG BASE=golang:1.13-alpine 15:23:44 Step 2/8 : FROM ${BASE} 15:23:45 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:23:45 b538f80385f9: Pulling fs layer 15:23:45 74f711af9a0d: Pulling fs layer 15:23:45 99f96fe45779: Pulling fs layer 15:23:45 fd7a069fd194: Pulling fs layer 15:23:45 66aa3694b03b: Pulling fs layer 15:23:45 170f70906a0f: Pulling fs layer 15:23:45 ad7c5574e4b9: Pulling fs layer 15:23:45 e772456be8f7: Pulling fs layer 15:23:45 c890913d741a: Pulling fs layer 15:23:45 2480fcc9aa5a: Pulling fs layer 15:23:45 09adf4765672: Pulling fs layer 15:23:45 66aa3694b03b: Waiting 15:23:45 ad7c5574e4b9: Waiting 15:23:45 170f70906a0f: Waiting 15:23:45 e772456be8f7: Waiting 15:23:45 c890913d741a: Waiting 15:23:45 2480fcc9aa5a: Waiting 15:23:45 09adf4765672: Waiting 15:23:45 fd7a069fd194: Waiting 15:23:45 99f96fe45779: Verifying Checksum 15:23:45 99f96fe45779: Download complete 15:23:45 74f711af9a0d: Verifying Checksum 15:23:45 74f711af9a0d: Download complete 15:23:45 66aa3694b03b: Download complete 15:23:45 170f70906a0f: Verifying Checksum 15:23:45 170f70906a0f: Download complete 15:23:45 b538f80385f9: Verifying Checksum 15:23:45 b538f80385f9: Download complete 15:23:45 b538f80385f9: Pull complete 15:23:46 74f711af9a0d: Pull complete 15:23:47 99f96fe45779: Pull complete 15:23:48 ad7c5574e4b9: Verifying Checksum 15:23:48 ad7c5574e4b9: Download complete 15:23:48 c890913d741a: Verifying Checksum 15:23:48 c890913d741a: Download complete 15:23:50 2480fcc9aa5a: Verifying Checksum 15:23:50 09adf4765672: Download complete 15:23:51 e772456be8f7: Verifying Checksum 15:23:51 e772456be8f7: Download complete 15:23:51 fd7a069fd194: Verifying Checksum 15:23:51 fd7a069fd194: Download complete 15:24:03 fd7a069fd194: Pull complete 15:24:03 66aa3694b03b: Pull complete 15:24:03 170f70906a0f: Pull complete 15:24:07 ad7c5574e4b9: Pull complete 15:24:11 e772456be8f7: Pull complete 15:24:11 c890913d741a: Pull complete 15:24:14 2480fcc9aa5a: Pull complete 15:24:14 09adf4765672: Pull complete 15:24:14 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 15:24:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 15:24:14 ---> 2248a725d1cf 15:24:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:24:15 Running on prd-centos7-docker-4c-2g-474 in /w/workspace/dgexfoundry_device-sdk-go_PR-567 [Pipeline] { [Pipeline] ws 15:24:15 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 15:24:18 using credential edgex-jenkins-ssh 15:24:18 Cloning the remote Git repository 15:24:18 Cloning with configured refspecs honoured and without tags 15:24:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:24:18 > git init /w/workspace/device-sdk-go/4 # timeout=10 15:24:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:24:18 > git --version # timeout=10 15:24:18 using GIT_SSH to set credentials SSH Credentials for GitHub 15:24:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:24:19 Fetching without tags 15:24:19 ---> Running in 469b9355def6 15:24:19 Removing intermediate container 469b9355def6 15:24:19 ---> f8340b8502fb 15:24:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:24:20 Merging remotes/origin/master commit ce316cea3dee80a2f116041d01b56dbf0103bc38 into PR head commit 55a3ff579d3e07a1a1ba7028d0fb9771465de88f 15:24:20 ---> Running in 9d14d6bbec60 15:24:20 Merge succeeded, producing 55a3ff579d3e07a1a1ba7028d0fb9771465de88f 15:24:20 Checking out Revision 55a3ff579d3e07a1a1ba7028d0fb9771465de88f (PR-567) 15:24:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:24:19 > git config --add remote.origin.fetch +refs/pull/567/head:refs/remotes/origin/PR-567 # timeout=10 15:24:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:24:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:24:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:24:19 using GIT_SSH to set credentials SSH Credentials for GitHub 15:24:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:24:20 > git config core.sparsecheckout # timeout=10 15:24:20 > git checkout -f 55a3ff579d3e07a1a1ba7028d0fb9771465de88f # timeout=10 15:24:20 > git remote # timeout=10 15:24:20 > git config --get remote.origin.url # timeout=10 15:24:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:24:20 > git merge ce316cea3dee80a2f116041d01b56dbf0103bc38 # timeout=10 15:24:20 > git rev-parse HEAD^{commit} # timeout=10 15:24:20 > git config core.sparsecheckout # timeout=10 15:24:20 > git checkout -f 55a3ff579d3e07a1a1ba7028d0fb9771465de88f # timeout=10 15:24:22 Removing intermediate container 9d14d6bbec60 15:24:22 ---> 8ff6a8acf982 15:24:22 Step 5/8 : RUN apk add --no-cache make git 15:24:22 ---> Running in d1cb3a14b913 15:24:23 Commit message: "Rename DeviceServiceSDK struct to DeviceService" 15:24:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 15:24:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] unstash 15:24:25 OK: 142 MiB in 39 packages [Pipeline] echo 15:24:25 ========================================================= 15:24:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 15:24:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:24:26 + 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 . 15:24:26 Sending build context to Docker daemon 3.09MB 15:24:26 Step 1/8 : ARG BASE=golang:1.13-alpine 15:24:26 Step 2/8 : FROM ${BASE} 15:24:26 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 15:24:26 df20fa9351a1: Pulling fs layer 15:24:26 ed8968b2872e: Pulling fs layer 15:24:26 a92cc7c5fd73: Pulling fs layer 15:24:26 2dd03ba5bac4: Pulling fs layer 15:24:26 1e091d79d1de: Pulling fs layer 15:24:26 481702a1767f: Pulling fs layer 15:24:26 f64a6f60c768: Pulling fs layer 15:24:26 e78d2573fc39: Pulling fs layer 15:24:26 e876d2f968b6: Pulling fs layer 15:24:26 ce8a83651883: Pulling fs layer 15:24:26 07967f4d0e4b: Pulling fs layer 15:24:26 f64a6f60c768: Waiting 15:24:26 e78d2573fc39: Waiting 15:24:26 e876d2f968b6: Waiting 15:24:26 ce8a83651883: Waiting 15:24:26 2dd03ba5bac4: Waiting 15:24:26 07967f4d0e4b: Waiting 15:24:26 1e091d79d1de: Waiting 15:24:26 481702a1767f: Waiting 15:24:26 a92cc7c5fd73: Verifying Checksum 15:24:26 a92cc7c5fd73: Download complete 15:24:26 ed8968b2872e: Verifying Checksum 15:24:26 ed8968b2872e: Download complete 15:24:26 1e091d79d1de: Verifying Checksum 15:24:26 1e091d79d1de: Download complete 15:24:26 481702a1767f: Verifying Checksum 15:24:26 481702a1767f: Download complete 15:24:26 df20fa9351a1: Verifying Checksum 15:24:26 df20fa9351a1: Download complete 15:24:26 Removing intermediate container d1cb3a14b913 15:24:26 ---> c84650ca6902 15:24:26 Step 6/8 : WORKDIR /device-sdk-go 15:24:26 ---> Running in a79078fafa5e 15:24:26 df20fa9351a1: Pull complete 15:24:27 Removing intermediate container a79078fafa5e 15:24:27 ---> a8d218eb7c06 15:24:27 Step 7/8 : COPY . . 15:24:27 f64a6f60c768: Verifying Checksum 15:24:27 f64a6f60c768: Download complete 15:24:27 e876d2f968b6: Verifying Checksum 15:24:27 e876d2f968b6: Download complete 15:24:28 2dd03ba5bac4: Verifying Checksum 15:24:28 2dd03ba5bac4: Download complete 15:24:28 07967f4d0e4b: Verifying Checksum 15:24:28 07967f4d0e4b: Download complete 15:24:28 ce8a83651883: Verifying Checksum 15:24:28 ce8a83651883: Download complete 15:24:28 e78d2573fc39: Verifying Checksum 15:24:28 e78d2573fc39: Download complete 15:24:28 ed8968b2872e: Pull complete 15:24:28 ---> 42b1b2a8955a 15:24:28 Step 8/8 : RUN go mod download 15:24:28 a92cc7c5fd73: Pull complete 15:24:28 ---> Running in be8f572d70e6 15:24:32 go: finding github.com/BurntSushi/toml v0.3.1 15:24:32 go: finding github.com/OneOfOne/xxhash v1.2.6 15:24:32 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:24:32 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:24:32 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:24:32 go: finding github.com/bgentry/speakeasy v0.1.0 15:24:32 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:24:32 go: finding github.com/davecgh/go-spew v1.1.1 15:24:32 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 15:24:32 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:24:32 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:24:32 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:24:32 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:24:32 go: finding github.com/fatih/color v1.7.0 15:24:32 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:24:32 go: finding github.com/go-kit/kit v0.8.0 15:24:32 go: finding github.com/go-logfmt/logfmt v0.4.0 15:24:32 go: finding github.com/go-stack/stack v1.8.0 15:24:32 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:24:32 go: finding github.com/google/uuid v1.1.0 15:24:32 go: finding github.com/gorilla/mux v1.7.1 15:24:32 go: finding github.com/hashicorp/consul/api v1.1.0 15:24:32 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:24:32 go: finding github.com/hashicorp/errwrap v1.0.0 15:24:32 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:24:32 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:24:33 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:24:33 go: finding github.com/hashicorp/go-multierror v1.0.0 15:24:33 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:24:33 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:24:33 go: finding github.com/hashicorp/go-syslog v1.0.0 15:24:33 go: finding github.com/hashicorp/go-uuid v1.0.1 15:24:33 go: finding github.com/hashicorp/go.net v0.0.1 15:24:33 go: finding github.com/hashicorp/golang-lru v0.5.0 15:24:33 go: finding github.com/hashicorp/logutils v1.0.0 15:24:33 go: finding github.com/hashicorp/mdns v1.0.0 15:24:33 go: finding github.com/hashicorp/memberlist v0.1.3 15:24:33 go: finding github.com/hashicorp/serf v0.8.2 15:24:33 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:24:33 go: finding github.com/mattn/go-colorable v0.0.9 15:24:33 go: finding github.com/mattn/go-isatty v0.0.3 15:24:33 go: finding github.com/miekg/dns v1.0.14 15:24:33 go: finding github.com/mitchellh/cli v1.0.0 15:24:33 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:24:33 go: finding github.com/mitchellh/copystructure v1.0.0 15:24:33 go: finding github.com/mitchellh/go-homedir v1.0.0 15:24:33 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:24:33 go: finding github.com/mitchellh/gox v0.4.0 15:24:33 go: finding github.com/mitchellh/iochan v1.0.0 15:24:33 go: finding github.com/mitchellh/mapstructure v1.1.2 15:24:33 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:24:33 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:24:33 go: finding github.com/pelletier/go-toml v1.2.0 15:24:34 go: finding github.com/pkg/errors v0.8.1 15:24:34 go: finding github.com/pmezard/go-difflib v1.0.0 15:24:34 go: finding github.com/posener/complete v1.1.1 15:24:34 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:24:34 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:24:34 go: finding github.com/stretchr/objx v0.1.0 15:24:34 go: finding github.com/stretchr/testify v1.5.1 15:24:34 go: finding github.com/ugorji/go v1.1.4 15:24:34 go: finding github.com/x448/float16 v0.8.4 15:24:34 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:24:34 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:24:34 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:24:34 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:24:34 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:24:34 go: finding gopkg.in/yaml.v2 v2.2.8 15:24:35 2dd03ba5bac4: Pull complete 15:24:35 1e091d79d1de: Pull complete 15:24:35 481702a1767f: Pull complete 15:24:39 f64a6f60c768: Pull complete 15:24:42 e78d2573fc39: Pull complete 15:24:42 e876d2f968b6: Pull complete 15:24:43 ce8a83651883: Pull complete 15:24:43 07967f4d0e4b: Pull complete 15:24:43 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 15:24:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 15:24:43 ---> 5d7c900382c6 15:24:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:24:44 ---> Running in 4f57bd88b2ff 15:24:44 Removing intermediate container 4f57bd88b2ff 15:24:44 ---> 719926bb2160 15:24:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:24:44 ---> Running in adbf2f971fb1 15:24:44 Removing intermediate container be8f572d70e6 15:24:44 ---> d27568a830c3 15:24:44 Successfully built d27568a830c3 15:24:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:24:45 + docker inspect -f . ci-base-image-arm64 15:24:45 . [Pipeline] withDockerContainer 15:24:45 prd-ubuntu18.04-docker-arm64-4c-16g-473 does not seem to be running inside a container 15:24:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:24:46 Removing intermediate container adbf2f971fb1 15:24:46 ---> c503d1a6e21a 15:24:46 Step 5/8 : RUN apk add --no-cache make git 15:24:46 ---> Running in bf54f0281093 15:24:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:24:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:24:47 OK: 166 MiB in 39 packages 15:24:47 $ docker top dc299d35823625802235c7285bebe1cb2ba000124237a393cb26054d30be8d2d -eo pid,comm [Pipeline] { 15:24:48 Removing intermediate container bf54f0281093 15:24:48 ---> 52752a9b3431 15:24:48 Step 6/8 : WORKDIR /device-sdk-go 15:24:48 ---> Running in d87c75a7269d [Pipeline] sh 15:24:48 Removing intermediate container d87c75a7269d 15:24:48 ---> dde56ae68189 15:24:48 Step 7/8 : COPY . . 15:24:49 + go version 15:24:49 go version go1.13.13 linux/arm64 [Pipeline] sh 15:24:49 ---> 1b1fe1a21da4 15:24:49 Step 8/8 : RUN go mod download 15:24:49 ---> Running in f1eaf7e47b65 15:24:50 + make test 15:24:50 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:24:51 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:24:51 go: finding github.com/BurntSushi/toml v0.3.1 15:24:51 go: finding github.com/OneOfOne/xxhash v1.2.6 15:24:51 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:24:51 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:24:51 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:24:51 go: finding github.com/bgentry/speakeasy v0.1.0 15:24:51 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:24:51 go: finding github.com/davecgh/go-spew v1.1.1 15:24:52 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 15:24:52 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:24:52 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:24:52 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:24:52 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:24:52 go: finding github.com/fatih/color v1.7.0 15:24:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:24:52 go: finding github.com/go-kit/kit v0.8.0 15:24:52 go: finding github.com/go-logfmt/logfmt v0.4.0 15:24:52 go: finding github.com/go-stack/stack v1.8.0 15:24:52 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:24:52 go: finding github.com/google/uuid v1.1.0 15:24:52 go: finding github.com/gorilla/mux v1.7.1 15:24:52 go: finding github.com/hashicorp/consul/api v1.1.0 15:24:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:24:52 go: finding github.com/hashicorp/errwrap v1.0.0 15:24:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:24:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:24:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:24:52 go: finding github.com/hashicorp/go-multierror v1.0.0 15:24:52 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:24:52 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:24:52 go: finding github.com/hashicorp/go-syslog v1.0.0 15:24:52 go: finding github.com/hashicorp/go-uuid v1.0.1 15:24:52 go: finding github.com/hashicorp/go.net v0.0.1 15:24:52 go: finding github.com/hashicorp/golang-lru v0.5.0 15:24:53 go: finding github.com/hashicorp/logutils v1.0.0 15:24:53 go: finding github.com/hashicorp/mdns v1.0.0 15:24:53 go: finding github.com/hashicorp/memberlist v0.1.3 15:24:53 go: finding github.com/hashicorp/serf v0.8.2 15:24:53 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:24:53 go: finding github.com/mattn/go-colorable v0.0.9 15:24:53 go: finding github.com/mattn/go-isatty v0.0.3 15:24:53 go: finding github.com/miekg/dns v1.0.14 15:24:53 go: finding github.com/mitchellh/cli v1.0.0 15:24:53 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:24:53 go: finding github.com/mitchellh/copystructure v1.0.0 15:24:53 go: finding github.com/mitchellh/go-homedir v1.0.0 15:24:53 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:24:53 go: finding github.com/mitchellh/gox v0.4.0 15:24:53 go: finding github.com/mitchellh/iochan v1.0.0 15:24:53 go: finding github.com/mitchellh/mapstructure v1.1.2 15:24:53 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:24:53 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:24:53 go: finding github.com/pelletier/go-toml v1.2.0 15:24:53 go: finding github.com/pkg/errors v0.8.1 15:24:53 go: finding github.com/pmezard/go-difflib v1.0.0 15:24:54 go: finding github.com/posener/complete v1.1.1 15:24:54 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:24:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:24:54 go: finding github.com/stretchr/objx v0.1.0 15:24:54 go: finding github.com/stretchr/testify v1.5.1 15:24:54 go: finding github.com/ugorji/go v1.1.4 15:24:54 go: finding github.com/x448/float16 v0.8.4 15:24:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:24:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:24:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:24:54 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:24:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:24:54 go: finding gopkg.in/yaml.v2 v2.2.8 15:25:02 Removing intermediate container f1eaf7e47b65 15:25:02 ---> f72ad7a0a546 15:25:02 Successfully built f72ad7a0a546 15:25:02 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 15:25:03 + docker inspect -f . ci-base-image-x86_64 15:25:03 . [Pipeline] withDockerContainer 15:25:03 prd-centos7-docker-4c-2g-474 does not seem to be running inside a container 15:25:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:25:04 $ docker top dbe1616336d68b4ec61cfb834a186a93a57dff6948cf7ef7ba8f3e74ef6bd4d2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:05 + go version 15:25:05 go version go1.13.13 linux/amd64 [Pipeline] sh 15:25:05 + make test 15:25:05 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:25:06 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:25:15 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:25:15 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:25:15 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:25:17 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 22.1% of statements 15:25:17 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.7% of statements 15:25:23 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:25:23 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:25:23 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:25:23 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.022s coverage: 22.1% of statements 15:25:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.163s coverage: 95.7% of statements 15:25:49 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.010s coverage: 8.6% of statements 15:25:49 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 15:25:49 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:25:49 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.153s coverage: 36.9% of statements 15:25:49 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:25:49 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.522s coverage: 65.2% of statements 15:25:49 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:25:49 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:25:49 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:25:49 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.019s coverage: 52.6% of statements 15:25:49 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 68.9% of statements 15:25:49 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:25:49 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:25:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:25:49 gofmt -l . 15:25:49 [ "`gofmt -l .`" = "" ] 15:25:49 ./bin/test-attribution-txt.sh 15:25:50 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:25:50 Stashed 1 file(s) [Pipeline] } 15:25:50 $ docker stop --time=1 dbe1616336d68b4ec61cfb834a186a93a57dff6948cf7ef7ba8f3e74ef6bd4d2 15:25:52 $ docker rm -f dbe1616336d68b4ec61cfb834a186a93a57dff6948cf7ef7ba8f3e74ef6bd4d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:25:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:25:55 + ls -al . 15:25:55 total 188 15:25:55 drwxrwxr-x. 11 jenkins jenkins 4096 Aug 19 15:25 . 15:25:55 drwxrwxr-x. 4 jenkins jenkins 28 Aug 19 15:24 .. 15:25:55 drwxrwxr-x. 2 jenkins jenkins 64 Aug 19 15:24 bin 15:25:55 -rw-r--r--. 1 jenkins jenkins 111701 Aug 19 15:25 coverage.out 15:25:55 -rw-rw-r--. 1 jenkins jenkins 936 Aug 19 15:24 Dockerfile.build 15:25:55 -rw-rw-r--. 1 jenkins jenkins 140 Aug 19 15:24 .dockerignore 15:25:55 drwxrwxr-x. 4 jenkins jenkins 48 Aug 19 15:24 example 15:25:55 drwxrwxr-x. 8 jenkins jenkins 179 Aug 19 15:24 .git 15:25:55 drwxrwxr-x. 2 jenkins jenkins 38 Aug 19 15:24 .github 15:25:55 -rw-rw-r--. 1 jenkins jenkins 138 Aug 19 15:24 .gitignore 15:25:55 -rw-r--r--. 1 jenkins jenkins 446 Aug 19 15:25 go.mod 15:25:55 -rw-r--r--. 1 jenkins jenkins 12179 Aug 19 15:25 go.sum 15:25:55 drwxrwxr-x. 13 jenkins jenkins 184 Aug 19 15:24 internal 15:25:55 -rw-rw-r--. 1 jenkins jenkins 808 Aug 19 15:24 Jenkinsfile 15:25:55 -rw-rw-r--. 1 jenkins jenkins 11341 Aug 19 15:24 LICENSE 15:25:55 -rw-rw-r--. 1 jenkins jenkins 892 Aug 19 15:24 Makefile 15:25:55 drwxrwxr-x. 4 jenkins jenkins 26 Aug 19 15:24 openapi 15:25:55 drwxrwxr-x. 5 jenkins jenkins 50 Aug 19 15:24 pkg 15:25:55 -rw-rw-r--. 1 jenkins jenkins 5101 Aug 19 15:24 README.md 15:25:55 -rw-rw-r--. 1 jenkins jenkins 4291 Aug 19 15:24 RELEASE-NOTES.txt 15:25:55 drwxrwxr-x. 3 jenkins jenkins 58 Aug 19 15:24 .semver 15:25:55 drwxrwxr-x. 4 jenkins jenkins 54 Aug 19 15:24 snap 15:25:55 -rw-rw-r--. 1 jenkins jenkins 5 Aug 19 15:21 VERSION 15:25:55 -rw-rw-r--. 1 jenkins jenkins 222 Aug 19 15:24 version.go [Pipeline] isUnix [Pipeline] sh 15:25:55 + 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=55a3ff579d3e07a1a1ba7028d0fb9771465de88f --label arch=amd64 --label version=0.0.0 . 15:25:55 Sending build context to Docker daemon 3.218MB 15:25:55 Step 1/23 : ARG BASE=golang:1.13-alpine 15:25:55 Step 2/23 : FROM ${BASE} AS builder 15:25:55 ---> f72ad7a0a546 15:25:55 Step 3/23 : ARG MAKE='make build' 15:25:55 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.019s coverage: 8.6% of statements 15:25:55 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 21.7% of statements 15:25:55 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:25:55 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.145s coverage: 36.9% of statements 15:25:55 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:25:55 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.811s coverage: 65.2% of statements 15:25:55 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:25:55 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:25:55 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:25:55 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements 15:25:55 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 68.9% of statements 15:25:55 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:25:55 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:25:55 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:25:55 ---> Running in 19f7e01859f9 15:25:56 Removing intermediate container 19f7e01859f9 15:25:56 ---> 05cff3012086 15:25:56 Step 4/23 : WORKDIR /device-sdk-go 15:25:56 ---> Running in 550fb9b42483 15:25:56 Removing intermediate container 550fb9b42483 15:25:56 ---> 008fb7d57348 15:25:56 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:25:56 ---> Running in af9b21a85248 15:25:56 Removing intermediate container af9b21a85248 15:25:56 ---> 06aafb1d8a16 15:25:56 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:25:56 ---> Running in 115c939fa848 15:25:57 Removing intermediate container 115c939fa848 15:25:57 ---> c54f76c9e601 15:25:57 Step 7/23 : RUN apk add --update --no-cache make git 15:25:57 ---> Running in 8a25e0a9bb9a 15:25:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:25:58 gofmt -l . 15:25:58 [ "`gofmt -l .`" = "" ] 15:25:59 ./bin/test-attribution-txt.sh 15:26:00 ./bin/test-go-mod-tidy.sh 15:26:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] stash 15:26:00 Warning: overwriting stash ‘coverage-report’ 15:26:01 Stashed 1 file(s) [Pipeline] } 15:26:01 $ docker stop --time=1 dc299d35823625802235c7285bebe1cb2ba000124237a393cb26054d30be8d2d 15:26:03 $ docker rm -f dc299d35823625802235c7285bebe1cb2ba000124237a393cb26054d30be8d2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:26:04 OK: 166 MiB in 39 packages 15:26:04 Removing intermediate container 8a25e0a9bb9a 15:26:04 ---> 3628634e2b2b 15:26:04 Step 8/23 : COPY . . 15:26:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:26:05 + ls -al . 15:26:05 total 228 15:26:05 drwxrwxr-x 11 jenkins jenkins 4096 Aug 19 15:26 . 15:26:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 15:23 .. 15:26:05 -rw-rw-r-- 1 jenkins jenkins 140 Aug 19 15:23 .dockerignore 15:26:05 drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 15:23 .git 15:26:05 drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 15:23 .github 15:26:05 -rw-rw-r-- 1 jenkins jenkins 138 Aug 19 15:23 .gitignore 15:26:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 15:23 .semver 15:26:05 -rw-rw-r-- 1 jenkins jenkins 936 Aug 19 15:23 Dockerfile.build 15:26:05 -rw-rw-r-- 1 jenkins jenkins 808 Aug 19 15:23 Jenkinsfile 15:26:05 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 19 15:23 LICENSE 15:26:05 -rw-rw-r-- 1 jenkins jenkins 892 Aug 19 15:23 Makefile 15:26:05 -rw-rw-r-- 1 jenkins jenkins 5101 Aug 19 15:23 README.md 15:26:05 -rw-rw-r-- 1 jenkins jenkins 4291 Aug 19 15:23 RELEASE-NOTES.txt 15:26:05 -rw-rw-r-- 1 jenkins jenkins 5 Aug 19 15:21 VERSION 15:26:05 drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 15:23 bin 15:26:05 -rw-r--r-- 1 jenkins jenkins 111701 Aug 19 15:25 coverage.out 15:26:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 15:23 example 15:26:05 -rw-r--r-- 1 jenkins jenkins 446 Aug 19 15:25 go.mod 15:26:05 -rw-r--r-- 1 jenkins jenkins 12179 Aug 19 15:26 go.sum 15:26:05 drwxrwxr-x 13 jenkins jenkins 4096 Aug 19 15:23 internal 15:26:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 15:23 openapi 15:26:05 drwxrwxr-x 5 jenkins jenkins 4096 Aug 19 15:23 pkg 15:26:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 15:23 snap 15:26:05 -rw-rw-r-- 1 jenkins jenkins 222 Aug 19 15:23 version.go [Pipeline] isUnix [Pipeline] sh 15:26:05 ---> d43cb3f89e4b 15:26:05 Step 9/23 : RUN ${MAKE} 15:26:05 ---> Running in 32ec6fae622c 15:26:05 + 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=55a3ff579d3e07a1a1ba7028d0fb9771465de88f --label arch=arm64 --label version=0.0.0 . 15:26:05 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 15:26:06 Sending build context to Docker daemon 3.217MB 15:26:06 Step 1/23 : ARG BASE=golang:1.13-alpine 15:26:06 Step 2/23 : FROM ${BASE} AS builder 15:26:06 ---> d27568a830c3 15:26:06 Step 3/23 : ARG MAKE='make build' 15:26:06 ---> Running in d918b79b7d46 15:26:06 Removing intermediate container d918b79b7d46 15:26:06 ---> c79a16122d34 15:26:06 Step 4/23 : WORKDIR /device-sdk-go 15:26:06 ---> Running in ca37626d6b42 15:26:07 Removing intermediate container ca37626d6b42 15:26:07 ---> e95f71ae91f1 15:26:07 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:26:07 ---> Running in de27e5500b84 15:26:08 Removing intermediate container de27e5500b84 15:26:08 ---> 0ec884b8dbb6 15:26:08 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:26:08 ---> Running in f91b90f5366b 15:26:10 Removing intermediate container f91b90f5366b 15:26:10 ---> c7aa30c75928 15:26:10 Step 7/23 : RUN apk add --update --no-cache make git 15:26:10 ---> Running in e8c5499205f0 15:26:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:26:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:26:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:26:15 OK: 142 MiB in 39 packages 15:26:15 Removing intermediate container 32ec6fae622c 15:26:15 ---> 26d0c95c43ea 15:26:15 Step 10/23 : FROM scratch 15:26:15 ---> 15:26:15 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:26:15 ---> Running in 0bcc81c5c8fe 15:26:15 Removing intermediate container 0bcc81c5c8fe 15:26:15 ---> 32d2bbebb42a 15:26:15 Step 12/23 : ENV APP_PORT=49990 15:26:15 ---> Running in a1801784dd82 15:26:15 Removing intermediate container a1801784dd82 15:26:15 ---> 4457d5503ba9 15:26:15 Step 13/23 : EXPOSE $APP_PORT 15:26:15 ---> Running in 3ff3006e4c8d 15:26:16 Removing intermediate container 3ff3006e4c8d 15:26:16 ---> 411bb43a2a81 15:26:16 Step 14/23 : WORKDIR / 15:26:16 ---> Running in 1333a8735754 15:26:16 Removing intermediate container 1333a8735754 15:26:16 ---> b86a93a90a77 15:26:16 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:26:16 Removing intermediate container e8c5499205f0 15:26:16 ---> f9f1bb7c8897 15:26:16 Step 8/23 : COPY . . 15:26:16 ---> e0a31ae1e0cd 15:26:16 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:26:16 ---> 8acd0618d722 15:26:16 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:26:17 ---> 8bc631d94626 15:26:17 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:26:17 ---> 089b957e3210 15:26:17 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:26:17 ---> 0ad5ae772b9e 15:26:17 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:26:17 ---> Running in 7464870d3a4e 15:26:17 Removing intermediate container 7464870d3a4e 15:26:17 ---> 30e5c77b6060 15:26:17 Step 21/23 : LABEL arch=amd64 15:26:17 ---> Running in 7ac59d8387fd 15:26:17 ---> dd32ce605641 15:26:17 Step 9/23 : RUN ${MAKE} 15:26:17 ---> Running in 2066ba9420e3 15:26:17 Removing intermediate container 7ac59d8387fd 15:26:17 ---> 2f7b97e70c78 15:26:17 Step 22/23 : LABEL git_sha=55a3ff579d3e07a1a1ba7028d0fb9771465de88f 15:26:17 ---> Running in 7a328e2da212 15:26:18 Removing intermediate container 7a328e2da212 15:26:18 ---> ac87cb1e780e 15:26:18 Step 23/23 : LABEL version=0.0.0 15:26:18 ---> Running in 91442990117c 15:26:18 Removing intermediate container 91442990117c 15:26:18 ---> dfe94b927161 15:26:18 [Warning] One or more build-args [ARCH] were not consumed 15:26:18 Successfully built dfe94b927161 15:26:18 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] } 15:26:19 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 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:26:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:26:45 Removing intermediate container 2066ba9420e3 15:26:45 ---> bf5a77bf4e22 15:26:45 Step 10/23 : FROM scratch 15:26:45 ---> 15:26:45 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:26:45 ---> Running in 77b5e4ac5aa1 15:26:45 Removing intermediate container 77b5e4ac5aa1 15:26:45 ---> 500abf5a8980 15:26:45 Step 12/23 : ENV APP_PORT=49990 15:26:45 ---> Running in a6fb01c694ce 15:26:45 Removing intermediate container a6fb01c694ce 15:26:45 ---> c461dc6454d5 15:26:45 Step 13/23 : EXPOSE $APP_PORT 15:26:45 ---> Running in 372d3219aa43 15:26:46 Removing intermediate container 372d3219aa43 15:26:46 ---> a45ff4b187a3 15:26:46 Step 14/23 : WORKDIR / 15:26:46 ---> Running in 19ab643f64af 15:26:46 Removing intermediate container 19ab643f64af 15:26:46 ---> 23b50de5c69d 15:26:46 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:26:47 ---> 955b38a84a39 15:26:47 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:26:48 ---> 8ff5100f127e 15:26:48 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:26:49 ---> 69e229c37e55 15:26:49 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:26:50 ---> 60975c685951 15:26:50 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:26:50 ---> 942da3987a28 15:26:50 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:26:51 ---> Running in 0f621919d9bf 15:26:51 Removing intermediate container 0f621919d9bf 15:26:51 ---> bccc970c7f7f 15:26:51 Step 21/23 : LABEL arch=arm64 15:26:51 ---> Running in c3d0b7548640 15:26:52 Removing intermediate container c3d0b7548640 15:26:52 ---> 2ce9310f144b 15:26:52 Step 22/23 : LABEL git_sha=55a3ff579d3e07a1a1ba7028d0fb9771465de88f 15:26:52 ---> Running in 7d9d2d8a49e3 15:26:52 Removing intermediate container 7d9d2d8a49e3 15:26:52 ---> 440d436f0f60 15:26:52 Step 23/23 : LABEL version=0.0.0 15:26:52 ---> Running in f38cd9540580 15:26:53 Removing intermediate container f38cd9540580 15:26:53 ---> bb825d6552df 15:26:53 [Warning] One or more build-args [ARCH] were not consumed 15:26:53 Successfully built bb825d6552df 15:26:53 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 15:26:54 provisioning config files... 15:26:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/config7490446526877393504tmp [Pipeline] { [Pipeline] sh 15:26:55 + curl -s https://codecov.io/bash 15:26:55 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/config7490446526877393504tmp [Pipeline] } 15:26:55 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 15:26:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:26:57 ---> package-listing.sh 15:26:57 ++ facter osfamily 15:26:57 ++ tr '[:upper:]' '[:lower:]' 15:26:57 + OS_FAMILY=redhat 15:26:57 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-567 15:26:57 + START_PACKAGES=/tmp/packages_start.txt 15:26:57 + END_PACKAGES=/tmp/packages_end.txt 15:26:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:26:57 + PACKAGES=/tmp/packages_start.txt 15:26:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-567 ']' 15:26:57 + PACKAGES=/tmp/packages_end.txt 15:26:57 + case "${OS_FAMILY}" in 15:26:57 + rpm -qa 15:26:57 + sort 15:27:01 + '[' -f /tmp/packages_start.txt ']' 15:27:01 + '[' -f /tmp/packages_end.txt ']' 15:27:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:27:01 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-567 ']' 15:27:01 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-567/archives/ 15:27:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-567/archives/ [Pipeline] isUnix [Pipeline] sh 15:27:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:27:02 15:27:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:27:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:27:02 alpine: Pulling from edgex-lftools-log-publisher 15:27:02 c9b1b535fdd9: Pulling fs layer 15:27:02 2cc5ad85d9ab: Pulling fs layer 15:27:02 756a868c4378: Pulling fs layer 15:27:02 444b2fc9a129: Pulling fs layer 15:27:02 ea15f1150254: Pulling fs layer 15:27:02 41b27a9f41bf: Pulling fs layer 15:27:02 28c525ee5125: Pulling fs layer 15:27:02 094b1ea09ed8: Pulling fs layer 15:27:02 138eaada9080: Pulling fs layer 15:27:02 0622d0fa9048: Pulling fs layer 15:27:02 41b27a9f41bf: Waiting 15:27:02 28c525ee5125: Waiting 15:27:02 094b1ea09ed8: Waiting 15:27:02 138eaada9080: Waiting 15:27:02 0622d0fa9048: Waiting 15:27:02 444b2fc9a129: Waiting 15:27:02 ea15f1150254: Waiting 15:27:02 2cc5ad85d9ab: Verifying Checksum 15:27:02 2cc5ad85d9ab: Download complete 15:27:02 444b2fc9a129: Verifying Checksum 15:27:02 444b2fc9a129: Download complete 15:27:02 c9b1b535fdd9: Verifying Checksum 15:27:02 c9b1b535fdd9: Download complete 15:27:02 ea15f1150254: Verifying Checksum 15:27:02 ea15f1150254: Download complete 15:27:03 28c525ee5125: Verifying Checksum 15:27:03 28c525ee5125: Download complete 15:27:03 c9b1b535fdd9: Pull complete 15:27:03 756a868c4378: Verifying Checksum 15:27:03 756a868c4378: Download complete 15:27:03 138eaada9080: Verifying Checksum 15:27:03 138eaada9080: Download complete 15:27:03 0622d0fa9048: Verifying Checksum 15:27:03 0622d0fa9048: Download complete 15:27:03 094b1ea09ed8: Download complete 15:27:03 2cc5ad85d9ab: Pull complete 15:27:04 41b27a9f41bf: Verifying Checksum 15:27:04 41b27a9f41bf: Download complete 15:27:05 756a868c4378: Pull complete 15:27:05 444b2fc9a129: Pull complete 15:27:05 ea15f1150254: Pull complete 15:27:09 41b27a9f41bf: Pull complete 15:27:09 28c525ee5125: Pull complete 15:27:12 094b1ea09ed8: Pull complete 15:27:12 138eaada9080: Pull complete 15:27:12 0622d0fa9048: Pull complete 15:27:12 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:27:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:27:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:27:12 prd-centos7-docker-4c-2g-472 does not seem to be running inside a container 15:27:13 $ 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-567 -v /w/workspace/dgexfoundry_device-sdk-go_PR-567:/w/workspace/dgexfoundry_device-sdk-go_PR-567:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-567@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:27:17 $ docker top 46d578bd6c5920767649133668e6ac1fae18a73a4aaac8dc747046c068abd083 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:27:17 provisioning config files... 15:27:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-567@tmp/config4337972268137597788tmp [Pipeline] { [Pipeline] echo 15:27:17 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:27:18 ---> create-netrc.sh [Pipeline] echo 15:27:18 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:27:18 ---> logs-deploy.sh 15:27:18 + ARCHIVE_ARTIFACTS= 15:27:18 + LOGS_SERVER=https://logs.edgexfoundry.org 15:27:18 + '[' https://logs.edgexfoundry.org == None ']' 15:27:18 + NEXUS_URL=https://nexus.edgexfoundry.org 15:27:18 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-567/4 15:27:18 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-567/4/ 15:27:18 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-567/4 /w/workspace/dgexfoundry_device-sdk-go_PR-567 15:27:19 Archives upload complete. 15:27:19 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-567/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-567/4/