Pull request #549 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 e1e03c4a8422cac8db24df30de11e7a17425f804+f17d1be1b4849550bf30592997a90b8c252fbe34 (a21c62c91dfdec6ebc51e0c3b5ffce8f46c081b9) 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-724’ is offline Running on prd-centos7-docker-4c-2g-1100 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [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-549 # 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/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit e1e03c4a8422cac8db24df30de11e7a17425f804 Merge succeeded, producing e1e03c4a8422cac8db24df30de11e7a17425f804 Checking out Revision e1e03c4a8422cac8db24df30de11e7a17425f804 (PR-549) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # 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/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1e03c4a8422cac8db24df30de11e7a17425f804 # 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 f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1e03c4a8422cac8db24df30de11e7a17425f804 # timeout=10 Commit message: "fix the requested changes in PR" First time build. Skipping changelog. > git rev-list --no-walk f6f378ce2de4db4358964e2231070cc37d677ccd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:47:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:47:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:47:57 ========================================================= 02:47:57 EdgeX Global Pipelines Version Info 02:47:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:47:59 ------------------- 02:47:59 stable info: 02:47:59 ------------------- 02:47:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:47:59 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 02:47:59 Message: update stable to v1.0.106 02:48:00 ------------------- 02:48:00 experimental info: 02:48:00 ------------------- 02:48:00 Commited By: **** collab-it+edgex@linuxfoundation.org 02:48:00 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 02:48:00 Message: update experimental to v1.0.106 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:02 + git log --format=format:%s -1 e1e03c4a8422cac8db24df30de11e7a17425f804 [Pipeline] echo 02:48:02 GIT_COMMIT: e1e03c4a8422cac8db24df30de11e7a17425f804, Commit Message: fix the requested changes in PR [Pipeline] echo 02:48:02 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:48:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:48:03 02:48:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:48:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:48:04 latest: Pulling from edgex-devops/git-semver 02:48:04 31603596830f: Pulling fs layer 02:48:04 2a8b12db71e7: Pulling fs layer 02:48:04 6ca5941a6612: Pulling fs layer 02:48:04 ecc8261a40a4: Pulling fs layer 02:48:04 ecc8261a40a4: Waiting 02:48:04 2a8b12db71e7: Verifying Checksum 02:48:04 2a8b12db71e7: Download complete 02:48:04 31603596830f: Verifying Checksum 02:48:04 31603596830f: Download complete 02:48:04 ecc8261a40a4: Verifying Checksum 02:48:04 ecc8261a40a4: Download complete 02:48:04 6ca5941a6612: Verifying Checksum 02:48:04 6ca5941a6612: Download complete 02:48:04 31603596830f: Pull complete 02:48:04 2a8b12db71e7: Pull complete 02:48:05 6ca5941a6612: Pull complete 02:48:05 ecc8261a40a4: Pull complete 02:48:05 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:48:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:48:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:48:05 prd-centos7-docker-4c-2g-1100 does not seem to be running inside a container 02:48:05 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-549 -v /w/workspace/dgexfoundry_device-sdk-go_PR-549:/w/workspace/dgexfoundry_device-sdk-go_PR-549:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-549@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 02:48:08 $ docker top 4bafb4a0c40682b7979f249069a1a67b4908a9e461f067d8a4c74d18764e3b5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:48:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:08 [ssh-agent] Looking for ssh-agent implementation... 02:48:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:08 $ docker exec 4bafb4a0c40682b7979f249069a1a67b4908a9e461f067d8a4c74d18764e3b5f ssh-agent 02:48:08 SSH_AUTH_SOCK=/tmp/ssh-GSJuduhPUPl4/agent.12 02:48:08 SSH_AGENT_PID=18 02:48:08 Running ssh-add (command line suppressed) 02:48:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_7206404957297660753.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_7206404957297660753.key) 02:48:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:09 + git describe --exact-match --tags HEAD 02:48:09 fatal: No names found, cannot describe anything. [Pipeline] } 02:48:09 $ docker exec --env ******** --env ******** 4bafb4a0c40682b7979f249069a1a67b4908a9e461f067d8a4c74d18764e3b5f ssh-agent -k 02:48:09 unset SSH_AUTH_SOCK; 02:48:09 unset SSH_AGENT_PID; 02:48:09 echo Agent pid 18 killed; 02:48:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:48:09 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:48:09 This usually means this commit has not been tagged. [Pipeline] sshagent 02:48:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:09 [ssh-agent] Looking for ssh-agent implementation... 02:48:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:09 $ docker exec 4bafb4a0c40682b7979f249069a1a67b4908a9e461f067d8a4c74d18764e3b5f ssh-agent 02:48:09 SSH_AUTH_SOCK=/tmp/ssh-ai7hd69msYoz/agent.46 02:48:09 SSH_AGENT_PID=51 02:48:09 Running ssh-add (command line suppressed) 02:48:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_5852566856946951171.key (/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/private_key_5852566856946951171.key) 02:48:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:10 + git semver init 02:48:10 # -> Open(): unable to determine branch for HEAD 02:48:10 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.git 02:48:10 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-549 02:48:10 # $SEMVER_REMOTE_NAME = origin 02:48:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:48:10 # $SEMVER_USER_NAME = edgex-jenkins 02:48:10 # $SEMVER_BRANCH = PR-549 02:48:10 # $SEMVER_TEMP = /tmp/semver-578060617 02:48:10 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:48:10 # '/tmp/semver-578060617' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver' 02:48:10 # -> Force: false 02:48:10 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-549/.semver [Pipeline] } 02:48:10 $ docker exec --env ******** --env ******** 4bafb4a0c40682b7979f249069a1a67b4908a9e461f067d8a4c74d18764e3b5f ssh-agent -k 02:48:11 unset SSH_AUTH_SOCK; 02:48:11 unset SSH_AGENT_PID; 02:48:11 echo Agent pid 51 killed; 02:48:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:48:11 + git semver [Pipeline] } 02:48:11 $ docker stop --time=1 4bafb4a0c40682b7979f249069a1a67b4908a9e461f067d8a4c74d18764e3b5f 02:48:13 $ docker rm -f 4bafb4a0c40682b7979f249069a1a67b4908a9e461f067d8a4c74d18764e3b5f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:48:13 Stashed 24 file(s) [Pipeline] echo 02:48:13 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 02:48:14 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 02:48:29 Still waiting to schedule task 02:48:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:48:29 Still waiting to schedule task 02:48:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:50:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1101 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws 02:50:10 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:50:15 using credential edgex-jenkins-ssh 02:50:15 Cloning the remote Git repository 02:50:15 Cloning with configured refspecs honoured and without tags 02:50:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:50:15 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:50:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:50:15 > git --version # timeout=10 02:50:15 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:50:16 Fetching without tags 02:50:17 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit e1e03c4a8422cac8db24df30de11e7a17425f804 02:50:17 Merge succeeded, producing e1e03c4a8422cac8db24df30de11e7a17425f804 02:50:17 Checking out Revision e1e03c4a8422cac8db24df30de11e7a17425f804 (PR-549) 02:50:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:50:16 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 02:50:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:50:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:50:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:50:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:50:17 > git config core.sparsecheckout # timeout=10 02:50:17 > git checkout -f e1e03c4a8422cac8db24df30de11e7a17425f804 # timeout=10 02:50:17 > git remote # timeout=10 02:50:17 > git config --get remote.origin.url # timeout=10 02:50:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:17 > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 02:50:17 > git rev-parse HEAD^{commit} # timeout=10 02:50:17 > git config core.sparsecheckout # timeout=10 02:50:17 > git checkout -f e1e03c4a8422cac8db24df30de11e7a17425f804 # timeout=10 02:50:21 Commit message: "fix the requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:50:22 ========================================================= 02:50:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 02:50:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:50:24 + 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 . 02:50:25 Sending build context to Docker daemon 3.095MB 02:50:25 Step 1/8 : ARG BASE=golang:1.13-alpine 02:50:25 Step 2/8 : FROM ${BASE} 02:50:25 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:50:25 b538f80385f9: Pulling fs layer 02:50:25 74f711af9a0d: Pulling fs layer 02:50:25 99f96fe45779: Pulling fs layer 02:50:25 fd7a069fd194: Pulling fs layer 02:50:25 66aa3694b03b: Pulling fs layer 02:50:25 170f70906a0f: Pulling fs layer 02:50:25 ad7c5574e4b9: Pulling fs layer 02:50:25 e772456be8f7: Pulling fs layer 02:50:25 c890913d741a: Pulling fs layer 02:50:25 2480fcc9aa5a: Pulling fs layer 02:50:25 09adf4765672: Pulling fs layer 02:50:25 fd7a069fd194: Waiting 02:50:25 66aa3694b03b: Waiting 02:50:25 170f70906a0f: Waiting 02:50:25 ad7c5574e4b9: Waiting 02:50:25 e772456be8f7: Waiting 02:50:25 c890913d741a: Waiting 02:50:25 2480fcc9aa5a: Waiting 02:50:25 09adf4765672: Waiting 02:50:25 99f96fe45779: Verifying Checksum 02:50:25 74f711af9a0d: Verifying Checksum 02:50:25 74f711af9a0d: Download complete 02:50:25 66aa3694b03b: Verifying Checksum 02:50:25 66aa3694b03b: Download complete 02:50:25 170f70906a0f: Download complete 02:50:25 b538f80385f9: Verifying Checksum 02:50:26 b538f80385f9: Pull complete 02:50:27 74f711af9a0d: Pull complete 02:50:27 99f96fe45779: Pull complete 02:50:28 ad7c5574e4b9: Verifying Checksum 02:50:28 ad7c5574e4b9: Download complete 02:50:28 c890913d741a: Verifying Checksum 02:50:28 c890913d741a: Download complete 02:50:30 e772456be8f7: Verifying Checksum 02:50:30 e772456be8f7: Download complete 02:50:30 09adf4765672: Verifying Checksum 02:50:30 09adf4765672: Download complete 02:50:30 2480fcc9aa5a: Verifying Checksum 02:50:30 2480fcc9aa5a: Download complete 02:50:30 fd7a069fd194: Verifying Checksum 02:50:30 fd7a069fd194: Download complete 02:50:38 Running on prd-centos7-docker-4c-2g-1102 in /w/workspace/dgexfoundry_device-sdk-go_PR-549 [Pipeline] { [Pipeline] ws 02:50:38 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:50:41 using credential edgex-jenkins-ssh 02:50:41 Cloning the remote Git repository 02:50:41 Cloning with configured refspecs honoured and without tags 02:50:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:50:41 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:50:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:50:41 > git --version # timeout=10 02:50:41 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:50:42 Fetching without tags 02:50:42 Merging remotes/origin/master commit f17d1be1b4849550bf30592997a90b8c252fbe34 into PR head commit e1e03c4a8422cac8db24df30de11e7a17425f804 02:50:42 Merge succeeded, producing e1e03c4a8422cac8db24df30de11e7a17425f804 02:50:42 Checking out Revision e1e03c4a8422cac8db24df30de11e7a17425f804 (PR-549) 02:50:42 fd7a069fd194: Pull complete 02:50:42 66aa3694b03b: Pull complete 02:50:42 170f70906a0f: Pull complete 02:50:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:50:42 > git config --add remote.origin.fetch +refs/pull/549/head:refs/remotes/origin/PR-549 # timeout=10 02:50:42 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:50:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:50:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:50:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:50:42 > git config core.sparsecheckout # timeout=10 02:50:42 > git checkout -f e1e03c4a8422cac8db24df30de11e7a17425f804 # timeout=10 02:50:42 > git remote # timeout=10 02:50:42 > git config --get remote.origin.url # timeout=10 02:50:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:42 > git merge f17d1be1b4849550bf30592997a90b8c252fbe34 # timeout=10 02:50:42 > git rev-parse HEAD^{commit} # timeout=10 02:50:42 > git config core.sparsecheckout # timeout=10 02:50:42 > git checkout -f e1e03c4a8422cac8db24df30de11e7a17425f804 # timeout=10 02:50:46 Commit message: "fix the requested changes in PR" 02:50:46 ad7c5574e4b9: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:50:47 ========================================================= 02:50:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 02:50:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:50:47 + 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 . 02:50:48 Sending build context to Docker daemon 3.094MB 02:50:48 Step 1/8 : ARG BASE=golang:1.13-alpine 02:50:48 Step 2/8 : FROM ${BASE} 02:50:48 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 02:50:48 df20fa9351a1: Pulling fs layer 02:50:48 ed8968b2872e: Pulling fs layer 02:50:48 a92cc7c5fd73: Pulling fs layer 02:50:48 2dd03ba5bac4: Pulling fs layer 02:50:48 1e091d79d1de: Pulling fs layer 02:50:48 481702a1767f: Pulling fs layer 02:50:48 f64a6f60c768: Pulling fs layer 02:50:48 e78d2573fc39: Pulling fs layer 02:50:48 e876d2f968b6: Pulling fs layer 02:50:48 ce8a83651883: Pulling fs layer 02:50:48 07967f4d0e4b: Pulling fs layer 02:50:48 2dd03ba5bac4: Waiting 02:50:48 481702a1767f: Waiting 02:50:48 f64a6f60c768: Waiting 02:50:48 1e091d79d1de: Waiting 02:50:48 e876d2f968b6: Waiting 02:50:48 e78d2573fc39: Waiting 02:50:48 07967f4d0e4b: Waiting 02:50:48 a92cc7c5fd73: Verifying Checksum 02:50:48 a92cc7c5fd73: Download complete 02:50:48 ed8968b2872e: Download complete 02:50:48 1e091d79d1de: Download complete 02:50:48 481702a1767f: Verifying Checksum 02:50:48 481702a1767f: Download complete 02:50:48 df20fa9351a1: Verifying Checksum 02:50:48 df20fa9351a1: Download complete 02:50:48 df20fa9351a1: Pull complete 02:50:49 ed8968b2872e: Pull complete 02:50:49 f64a6f60c768: Verifying Checksum 02:50:49 f64a6f60c768: Download complete 02:50:49 e876d2f968b6: Verifying Checksum 02:50:49 e876d2f968b6: Download complete 02:50:50 e78d2573fc39: Verifying Checksum 02:50:50 e78d2573fc39: Download complete 02:50:50 ce8a83651883: Verifying Checksum 02:50:50 ce8a83651883: Download complete 02:50:50 2dd03ba5bac4: Verifying Checksum 02:50:50 2dd03ba5bac4: Download complete 02:50:50 07967f4d0e4b: Verifying Checksum 02:50:50 07967f4d0e4b: Download complete 02:50:50 e772456be8f7: Pull complete 02:50:50 c890913d741a: Pull complete 02:50:51 a92cc7c5fd73: Pull complete 02:50:53 2480fcc9aa5a: Pull complete 02:50:53 09adf4765672: Pull complete 02:50:53 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 02:50:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 02:50:53 ---> 2248a725d1cf 02:50:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:58 ---> Running in 8a8c520b012e 02:50:58 Removing intermediate container 8a8c520b012e 02:50:58 ---> 46c07de8912e 02:50:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:58 2dd03ba5bac4: Pull complete 02:50:58 1e091d79d1de: Pull complete 02:50:58 481702a1767f: Pull complete 02:50:58 ---> Running in 39f24e9da3b6 02:51:01 Removing intermediate container 39f24e9da3b6 02:51:01 ---> 8950e6ecd0f1 02:51:01 Step 5/8 : RUN apk add --no-cache make git 02:51:01 ---> Running in c1621051b04e 02:51:02 f64a6f60c768: Pull complete 02:51:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:51:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:51:03 OK: 142 MiB in 39 packages 02:51:04 e78d2573fc39: Pull complete 02:51:04 e876d2f968b6: Pull complete 02:51:05 Removing intermediate container c1621051b04e 02:51:05 ---> f245bce10fa8 02:51:05 Step 6/8 : WORKDIR /device-sdk-go 02:51:05 ---> Running in 82c970856d14 02:51:05 Removing intermediate container 82c970856d14 02:51:05 ---> 74e6f613ceb2 02:51:05 Step 7/8 : COPY . . 02:51:05 ce8a83651883: Pull complete 02:51:05 07967f4d0e4b: Pull complete 02:51:05 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 02:51:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 02:51:05 ---> 5d7c900382c6 02:51:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:06 ---> e960e60eae1b 02:51:06 Step 8/8 : RUN go mod download 02:51:06 ---> Running in 1f3fe7c5bdce 02:51:07 ---> Running in 4c6679c3933e 02:51:07 Removing intermediate container 4c6679c3933e 02:51:07 ---> 8d5ad6b9db49 02:51:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:07 ---> Running in fc81ec912a46 02:51:09 Removing intermediate container fc81ec912a46 02:51:09 ---> 345d2fc3e947 02:51:09 Step 5/8 : RUN apk add --no-cache make git 02:51:09 ---> Running in 69ff32d500ad 02:51:09 go: finding github.com/BurntSushi/toml v0.3.1 02:51:09 go: finding github.com/OneOfOne/xxhash v1.2.6 02:51:09 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:51:09 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:51:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:51:09 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:51:09 go: finding github.com/bgentry/speakeasy v0.1.0 02:51:09 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:51:09 go: finding github.com/davecgh/go-spew v1.1.1 02:51:09 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 02:51:09 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:51:09 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 02:51:09 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 02:51:10 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:51:10 go: finding github.com/fatih/color v1.7.0 02:51:10 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:51:10 go: finding github.com/go-kit/kit v0.8.0 02:51:10 go: finding github.com/go-logfmt/logfmt v0.4.0 02:51:10 go: finding github.com/go-stack/stack v1.8.0 02:51:10 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:51:10 go: finding github.com/google/uuid v1.1.0 02:51:10 go: finding github.com/gorilla/mux v1.7.1 02:51:10 go: finding github.com/hashicorp/consul/api v1.1.0 02:51:10 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:51:10 go: finding github.com/hashicorp/errwrap v1.0.0 02:51:10 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:51:10 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:51:10 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:51:10 go: finding github.com/hashicorp/go-multierror v1.0.0 02:51:10 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:51:10 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:51:10 go: finding github.com/hashicorp/go-syslog v1.0.0 02:51:10 go: finding github.com/hashicorp/go-uuid v1.0.1 02:51:10 go: finding github.com/hashicorp/go.net v0.0.1 02:51:10 go: finding github.com/hashicorp/golang-lru v0.5.0 02:51:10 go: finding github.com/hashicorp/logutils v1.0.0 02:51:10 go: finding github.com/hashicorp/mdns v1.0.0 02:51:10 go: finding github.com/hashicorp/memberlist v0.1.3 02:51:10 go: finding github.com/hashicorp/serf v0.8.2 02:51:10 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:51:10 go: finding github.com/mattn/go-colorable v0.0.9 02:51:10 go: finding github.com/mattn/go-isatty v0.0.3 02:51:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:51:10 OK: 166 MiB in 39 packages 02:51:10 go: finding github.com/miekg/dns v1.0.14 02:51:10 go: finding github.com/mitchellh/cli v1.0.0 02:51:10 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:51:10 go: finding github.com/mitchellh/copystructure v1.0.0 02:51:10 go: finding github.com/mitchellh/go-homedir v1.0.0 02:51:10 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:51:10 go: finding github.com/mitchellh/gox v0.4.0 02:51:10 go: finding github.com/mitchellh/iochan v1.0.0 02:51:10 go: finding github.com/mitchellh/mapstructure v1.1.2 02:51:10 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:51:11 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:51:11 go: finding github.com/pelletier/go-toml v1.2.0 02:51:11 go: finding github.com/pkg/errors v0.8.1 02:51:11 go: finding github.com/pmezard/go-difflib v1.0.0 02:51:11 go: finding github.com/posener/complete v1.1.1 02:51:11 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:51:11 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:51:11 go: finding github.com/stretchr/objx v0.1.0 02:51:11 go: finding github.com/stretchr/testify v1.5.1 02:51:11 go: finding github.com/ugorji/go v1.1.4 02:51:11 go: finding github.com/x448/float16 v0.8.4 02:51:11 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:51:11 Removing intermediate container 69ff32d500ad 02:51:11 ---> e90b20c17559 02:51:11 Step 6/8 : WORKDIR /device-sdk-go 02:51:11 ---> Running in 62545c5b982e 02:51:11 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:51:11 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:51:11 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:51:11 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:51:11 go: finding gopkg.in/yaml.v2 v2.2.8 02:51:11 Removing intermediate container 62545c5b982e 02:51:11 ---> 72c3dcb1c7bc 02:51:11 Step 7/8 : COPY . . 02:51:12 ---> 372c9d112504 02:51:12 Step 8/8 : RUN go mod download 02:51:12 ---> Running in 925a575bc7fd 02:51:14 go: finding github.com/BurntSushi/toml v0.3.1 02:51:14 go: finding github.com/OneOfOne/xxhash v1.2.6 02:51:14 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:51:14 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:51:14 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:51:14 go: finding github.com/bgentry/speakeasy v0.1.0 02:51:14 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 02:51:14 go: finding github.com/davecgh/go-spew v1.1.1 02:51:14 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 02:51:14 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 02:51:14 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 02:51:14 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 02:51:14 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 02:51:14 go: finding github.com/fatih/color v1.7.0 02:51:14 go: finding github.com/fxamacker/cbor/v2 v2.2.0 02:51:14 go: finding github.com/go-kit/kit v0.8.0 02:51:14 go: finding github.com/go-logfmt/logfmt v0.4.0 02:51:15 go: finding github.com/go-stack/stack v1.8.0 02:51:15 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:51:15 go: finding github.com/google/uuid v1.1.0 02:51:15 go: finding github.com/gorilla/mux v1.7.1 02:51:15 go: finding github.com/hashicorp/consul/api v1.1.0 02:51:15 go: finding github.com/hashicorp/consul/sdk v0.1.1 02:51:15 go: finding github.com/hashicorp/errwrap v1.0.0 02:51:15 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 02:51:15 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:51:15 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:51:15 go: finding github.com/hashicorp/go-multierror v1.0.0 02:51:15 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:51:15 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:51:15 go: finding github.com/hashicorp/go-syslog v1.0.0 02:51:15 go: finding github.com/hashicorp/go-uuid v1.0.1 02:51:15 go: finding github.com/hashicorp/go.net v0.0.1 02:51:15 go: finding github.com/hashicorp/golang-lru v0.5.0 02:51:15 go: finding github.com/hashicorp/logutils v1.0.0 02:51:15 go: finding github.com/hashicorp/mdns v1.0.0 02:51:15 go: finding github.com/hashicorp/memberlist v0.1.3 02:51:15 go: finding github.com/hashicorp/serf v0.8.2 02:51:15 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:51:15 go: finding github.com/mattn/go-colorable v0.0.9 02:51:15 go: finding github.com/mattn/go-isatty v0.0.3 02:51:15 go: finding github.com/miekg/dns v1.0.14 02:51:15 go: finding github.com/mitchellh/cli v1.0.0 02:51:15 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:51:15 go: finding github.com/mitchellh/copystructure v1.0.0 02:51:15 go: finding github.com/mitchellh/go-homedir v1.0.0 02:51:15 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:51:15 go: finding github.com/mitchellh/gox v0.4.0 02:51:15 go: finding github.com/mitchellh/iochan v1.0.0 02:51:15 go: finding github.com/mitchellh/mapstructure v1.1.2 02:51:15 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:51:15 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:51:15 go: finding github.com/pelletier/go-toml v1.2.0 02:51:15 go: finding github.com/pkg/errors v0.8.1 02:51:15 go: finding github.com/pmezard/go-difflib v1.0.0 02:51:15 go: finding github.com/posener/complete v1.1.1 02:51:15 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:51:15 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:51:15 go: finding github.com/stretchr/objx v0.1.0 02:51:15 go: finding github.com/stretchr/testify v1.5.1 02:51:15 go: finding github.com/ugorji/go v1.1.4 02:51:15 go: finding github.com/x448/float16 v0.8.4 02:51:15 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:51:15 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 02:51:15 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:51:15 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:51:16 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:51:16 go: finding gopkg.in/yaml.v2 v2.2.8 02:51:21 Removing intermediate container 1f3fe7c5bdce 02:51:21 ---> 8675fed9792c 02:51:21 Successfully built 8675fed9792c 02:51:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:51:22 + docker inspect -f . ci-base-image-arm64 02:51:22 . [Pipeline] withDockerContainer 02:51:22 prd-ubuntu18.04-docker-arm64-4c-16g-1101 does not seem to be running inside a container 02:51:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 02:51:24 Removing intermediate container 925a575bc7fd 02:51:24 ---> c70ef34f8fc8 02:51:24 Successfully built c70ef34f8fc8 02:51:24 Successfully tagged ci-base-image-x86_64:latest 02:51:24 $ docker top 6f6bda0a4fe5f62ed1c64739479d2610aeb81468d730c6d38c358c80b51226da -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:51:25 + docker inspect -f . ci-base-image-x86_64 02:51:25 . [Pipeline] withDockerContainer 02:51:25 prd-centos7-docker-4c-2g-1102 does not seem to be running inside a container 02:51:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-x86_64 cat 02:51:25 + go version 02:51:25 go version go1.13.13 linux/arm64 02:51:26 $ docker top dba4031a1512e5569a4fc3cc2e998e47d333a888309eaf8f55007c91eb100648 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 02:51:27 + go version 02:51:27 go version go1.13.13 linux/amd64 [Pipeline] sh 02:51:27 + make test 02:51:27 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:51:28 + make test 02:51:28 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:51:28 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:51:29 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:51:38 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:51:38 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:51:38 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:51:38 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.008s coverage: 21.6% of statements 02:51:40 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 97.1% of statements 02:51:55 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:51:55 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:51:55 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:51:57 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.086s coverage: 21.6% of statements 02:52:01 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.197s coverage: 97.1% of statements 02:52:12 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.008s coverage: 10.8% of statements 02:52:12 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements 02:52:12 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:52:12 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.028s coverage: 36.5% of statements 02:52:12 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:52:12 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.042s coverage: 65.6% of statements 02:52:12 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:52:12 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:52:12 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:52:12 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.007s coverage: 52.6% of statements 02:52:12 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.097s coverage: 68.9% of statements 02:52:12 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:52:12 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:52:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:52:12 gofmt -l . 02:52:12 [ "`gofmt -l .`" = "" ] 02:52:12 ./bin/test-attribution-txt.sh 02:52:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:52:13 Stashed 1 file(s) [Pipeline] } 02:52:13 $ docker stop --time=1 dba4031a1512e5569a4fc3cc2e998e47d333a888309eaf8f55007c91eb100648 02:52:15 $ docker rm -f dba4031a1512e5569a4fc3cc2e998e47d333a888309eaf8f55007c91eb100648 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:52:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:52:18 + ls -al . 02:52:18 total 188 02:52:18 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 27 02:52 . 02:52:18 drwxrwxr-x. 4 jenkins jenkins 28 Jul 27 02:50 .. 02:52:18 drwxrwxr-x. 3 jenkins jenkins 20 Jul 27 02:50 api 02:52:18 drwxrwxr-x. 2 jenkins jenkins 64 Jul 27 02:50 bin 02:52:18 -rw-r--r--. 1 jenkins jenkins 111063 Jul 27 02:52 coverage.out 02:52:18 -rw-rw-r--. 1 jenkins jenkins 936 Jul 27 02:50 Dockerfile.build 02:52:18 -rw-rw-r--. 1 jenkins jenkins 140 Jul 27 02:50 .dockerignore 02:52:18 drwxrwxr-x. 4 jenkins jenkins 48 Jul 27 02:50 example 02:52:18 drwxrwxr-x. 8 jenkins jenkins 179 Jul 27 02:50 .git 02:52:18 drwxrwxr-x. 2 jenkins jenkins 38 Jul 27 02:50 .github 02:52:18 -rw-rw-r--. 1 jenkins jenkins 138 Jul 27 02:50 .gitignore 02:52:18 -rw-r--r--. 1 jenkins jenkins 446 Jul 27 02:52 go.mod 02:52:18 -rw-r--r--. 1 jenkins jenkins 12179 Jul 27 02:52 go.sum 02:52:18 drwxrwxr-x. 13 jenkins jenkins 184 Jul 27 02:50 internal 02:52:18 -rw-rw-r--. 1 jenkins jenkins 808 Jul 27 02:50 Jenkinsfile 02:52:18 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 27 02:50 LICENSE 02:52:18 -rw-rw-r--. 1 jenkins jenkins 892 Jul 27 02:50 Makefile 02:52:18 drwxrwxr-x. 5 jenkins jenkins 50 Jul 27 02:50 pkg 02:52:18 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 27 02:50 README.md 02:52:18 -rw-rw-r--. 1 jenkins jenkins 4291 Jul 27 02:50 RELEASE-NOTES.txt 02:52:18 drwxrwxr-x. 3 jenkins jenkins 58 Jul 27 02:50 .semver 02:52:18 drwxrwxr-x. 4 jenkins jenkins 54 Jul 27 02:50 snap 02:52:18 -rw-rw-r--. 1 jenkins jenkins 5 Jul 27 02:48 VERSION 02:52:18 -rw-rw-r--. 1 jenkins jenkins 222 Jul 27 02:50 version.go [Pipeline] isUnix [Pipeline] sh 02:52:18 + 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=e1e03c4a8422cac8db24df30de11e7a17425f804 --label arch=amd64 --label version=0.0.0 . 02:52:18 Sending build context to Docker daemon 3.206MB 02:52:18 Step 1/23 : ARG BASE=golang:1.13-alpine 02:52:18 Step 2/23 : FROM ${BASE} AS builder 02:52:18 ---> c70ef34f8fc8 02:52:18 Step 3/23 : ARG MAKE='make build' 02:52:18 ---> Running in 5e001e0a082b 02:52:19 Removing intermediate container 5e001e0a082b 02:52:19 ---> 9157e36de962 02:52:19 Step 4/23 : WORKDIR /device-sdk-go 02:52:19 ---> Running in fc6c67d9c77f 02:52:19 Removing intermediate container fc6c67d9c77f 02:52:19 ---> bc05e8b93b4d 02:52:19 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:19 ---> Running in b2ec64f609cb 02:52:19 Removing intermediate container b2ec64f609cb 02:52:19 ---> 01432f9ccfa5 02:52:19 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:52:19 ---> Running in 1e32a87988cc 02:52:20 Removing intermediate container 1e32a87988cc 02:52:20 ---> 7317c818e98e 02:52:20 Step 7/23 : RUN apk add --update --no-cache make git 02:52:20 ---> Running in 56245dc1e2ab 02:52:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:52:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:52:21 OK: 166 MiB in 39 packages 02:52:22 Removing intermediate container 56245dc1e2ab 02:52:22 ---> 8dd8328d83ee 02:52:22 Step 8/23 : COPY . . 02:52:23 ---> 81a3cc7be75e 02:52:23 Step 9/23 : RUN ${MAKE} 02:52:23 ---> Running in 67cbd1ce230e 02:52:24 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 02:52:32 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:52:33 Removing intermediate container 67cbd1ce230e 02:52:33 ---> 4cf6ec3f9e4b 02:52:33 Step 10/23 : FROM scratch 02:52:33 ---> 02:52:33 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:33 ---> Running in 2a42aafcabc6 02:52:33 Removing intermediate container 2a42aafcabc6 02:52:33 ---> 35e6ab5afceb 02:52:33 Step 12/23 : ENV APP_PORT=49990 02:52:33 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.031s coverage: 10.8% of statements 02:52:33 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.7% of statements 02:52:33 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:52:33 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.127s coverage: 36.5% of statements 02:52:33 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:52:33 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.134s coverage: 65.6% of statements 02:52:33 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:52:33 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:52:33 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:52:33 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.038s coverage: 52.6% of statements 02:52:33 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.351s coverage: 68.9% of statements 02:52:33 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:52:33 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:52:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:52:34 ---> Running in 920a39c7a64a 02:52:34 Removing intermediate container 920a39c7a64a 02:52:34 ---> 472affbaa871 02:52:34 Step 13/23 : EXPOSE $APP_PORT 02:52:34 ---> Running in 90beb7c46d6d 02:52:34 Removing intermediate container 90beb7c46d6d 02:52:34 ---> 9252026e05c1 02:52:34 Step 14/23 : WORKDIR / 02:52:34 ---> Running in b0b57a8112ae 02:52:34 Removing intermediate container b0b57a8112ae 02:52:34 ---> 595afc329263 02:52:34 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:52:34 ---> 040c2acec373 02:52:34 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:52:35 ---> 597cea26c8b5 02:52:35 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:52:35 ---> 2368bd02f4bc 02:52:35 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:52:35 ---> d2ec11d629cc 02:52:35 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:52:35 ---> 983cb1e3d7f9 02:52:35 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:35 ---> Running in e891f6bd0e70 02:52:36 Removing intermediate container e891f6bd0e70 02:52:36 ---> c0ac2b0e3663 02:52:36 Step 21/23 : LABEL arch=amd64 02:52:36 ---> Running in 3966af66492d 02:52:36 Removing intermediate container 3966af66492d 02:52:36 ---> 941d0829f1c2 02:52:36 Step 22/23 : LABEL git_sha=e1e03c4a8422cac8db24df30de11e7a17425f804 02:52:36 ---> Running in e4c4807fcc85 02:52:36 Removing intermediate container e4c4807fcc85 02:52:36 ---> 526c55091435 02:52:36 Step 23/23 : LABEL version=0.0.0 02:52:36 ---> Running in c5df72b3a842 02:52:36 gofmt -l . 02:52:36 Removing intermediate container c5df72b3a842 02:52:36 ---> 5e769b14d3dc 02:52:36 [Warning] One or more build-args [ARCH] were not consumed 02:52:36 Successfully built 5e769b14d3dc 02:52:36 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] } 02:52:37 [ "`gofmt -l .`" = "" ] [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage 02:52:37 ./bin/test-attribution-txt.sh [Pipeline] } 02:52:38 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:52:38 Warning: overwriting stash ‘coverage-report’ 02:52:39 Stashed 1 file(s) [Pipeline] } 02:52:39 $ docker stop --time=1 6f6bda0a4fe5f62ed1c64739479d2610aeb81468d730c6d38c358c80b51226da 02:52:41 $ docker rm -f 6f6bda0a4fe5f62ed1c64739479d2610aeb81468d730c6d38c358c80b51226da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:52:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:52:43 + ls -al . 02:52:43 total 228 02:52:43 drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 02:52 . 02:52:43 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 02:50 .. 02:52:43 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 02:50 .dockerignore 02:52:43 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 02:50 .git 02:52:43 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 02:50 .github 02:52:43 -rw-rw-r-- 1 jenkins jenkins 138 Jul 27 02:50 .gitignore 02:52:43 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 02:50 .semver 02:52:43 -rw-rw-r-- 1 jenkins jenkins 936 Jul 27 02:50 Dockerfile.build 02:52:43 -rw-rw-r-- 1 jenkins jenkins 808 Jul 27 02:50 Jenkinsfile 02:52:43 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 02:50 LICENSE 02:52:43 -rw-rw-r-- 1 jenkins jenkins 892 Jul 27 02:50 Makefile 02:52:43 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 27 02:50 README.md 02:52:43 -rw-rw-r-- 1 jenkins jenkins 4291 Jul 27 02:50 RELEASE-NOTES.txt 02:52:43 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 02:48 VERSION 02:52:43 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 02:50 api 02:52:43 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 02:50 bin 02:52:43 -rw-r--r-- 1 jenkins jenkins 111063 Jul 27 02:52 coverage.out 02:52:43 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 02:50 example 02:52:43 -rw-r--r-- 1 jenkins jenkins 446 Jul 27 02:52 go.mod 02:52:43 -rw-r--r-- 1 jenkins jenkins 12179 Jul 27 02:52 go.sum 02:52:43 drwxrwxr-x 13 jenkins jenkins 4096 Jul 27 02:50 internal 02:52:43 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 02:50 pkg 02:52:43 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 02:50 snap 02:52:43 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 02:50 version.go [Pipeline] isUnix [Pipeline] sh 02:52:43 + 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=e1e03c4a8422cac8db24df30de11e7a17425f804 --label arch=arm64 --label version=0.0.0 . 02:52:44 Sending build context to Docker daemon 3.206MB 02:52:44 Step 1/23 : ARG BASE=golang:1.13-alpine 02:52:44 Step 2/23 : FROM ${BASE} AS builder 02:52:44 ---> 8675fed9792c 02:52:44 Step 3/23 : ARG MAKE='make build' 02:52:44 ---> Running in 579ebd170fc4 02:52:44 Removing intermediate container 579ebd170fc4 02:52:44 ---> 0f4818454b8a 02:52:44 Step 4/23 : WORKDIR /device-sdk-go 02:52:44 ---> Running in f8711a76dfdd 02:52:45 Removing intermediate container f8711a76dfdd 02:52:45 ---> d54320022e31 02:52:45 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:52:45 ---> Running in c43a667cbdb0 02:52:46 Removing intermediate container c43a667cbdb0 02:52:46 ---> 3f215cf8048e 02:52:46 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:52:46 ---> Running in f89034d489ed 02:52:48 Removing intermediate container f89034d489ed 02:52:48 ---> 2ce07db1dffd 02:52:48 Step 7/23 : RUN apk add --update --no-cache make git 02:52:48 ---> Running in 34f0763f8118 02:52:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:52:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:52:51 OK: 142 MiB in 39 packages 02:52:52 Removing intermediate container 34f0763f8118 02:52:52 ---> c3926e65d396 02:52:52 Step 8/23 : COPY . . 02:52:53 ---> 89da28117f3d 02:52:53 Step 9/23 : RUN ${MAKE} 02:52:53 ---> Running in 1d11c61a3447 02:52:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:53:17 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:53:20 Removing intermediate container 1d11c61a3447 02:53:20 ---> 240667e93212 02:53:20 Step 10/23 : FROM scratch 02:53:20 ---> 02:53:20 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:53:20 ---> Running in 60459690ce34 02:53:20 Removing intermediate container 60459690ce34 02:53:20 ---> 437c84c0adc3 02:53:20 Step 12/23 : ENV APP_PORT=49990 02:53:21 ---> Running in fa2a7006e537 02:53:21 Removing intermediate container fa2a7006e537 02:53:21 ---> 918fa21fa8a4 02:53:21 Step 13/23 : EXPOSE $APP_PORT 02:53:21 ---> Running in 4ea47d346fb3 02:53:21 Removing intermediate container 4ea47d346fb3 02:53:21 ---> bc27b5dff671 02:53:21 Step 14/23 : WORKDIR / 02:53:22 ---> Running in 98a168b601ca 02:53:22 Removing intermediate container 98a168b601ca 02:53:22 ---> dd75761a10ff 02:53:22 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:53:23 ---> c8388477174e 02:53:23 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:53:24 ---> 44d55f05e11b 02:53:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:53:25 ---> 209d57600a13 02:53:25 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:53:25 ---> 3d47064905ef 02:53:25 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:53:26 ---> 2e5f895d05fa 02:53:26 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:53:26 ---> Running in db4780e227fc 02:53:27 Removing intermediate container db4780e227fc 02:53:27 ---> 0cf3104a8bd1 02:53:27 Step 21/23 : LABEL arch=arm64 02:53:27 ---> Running in e4ffafe57ea9 02:53:27 Removing intermediate container e4ffafe57ea9 02:53:27 ---> 22e3810eea12 02:53:27 Step 22/23 : LABEL git_sha=e1e03c4a8422cac8db24df30de11e7a17425f804 02:53:27 ---> Running in 5d688f6a9f04 02:53:28 Removing intermediate container 5d688f6a9f04 02:53:28 ---> 7524bc17e48a 02:53:28 Step 23/23 : LABEL version=0.0.0 02:53:28 ---> Running in 1c312302aa46 02:53:29 Removing intermediate container 1c312302aa46 02:53:29 ---> a051048cd88a 02:53:29 [Warning] One or more build-args [ARCH] were not consumed 02:53:29 Successfully built a051048cd88a 02:53:29 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 02:53:30 provisioning config files... 02:53:30 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config6218206016375531035tmp [Pipeline] { [Pipeline] sh 02:53:30 + curl -s https://codecov.io/bash 02:53:30 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config6218206016375531035tmp [Pipeline] } 02:55:52 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 02:55:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:55:54 ---> package-listing.sh 02:55:54 ++ facter osfamily 02:55:54 ++ tr '[:upper:]' '[:lower:]' 02:55:54 + OS_FAMILY=redhat 02:55:54 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-549 02:55:54 + START_PACKAGES=/tmp/packages_start.txt 02:55:54 + END_PACKAGES=/tmp/packages_end.txt 02:55:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:55:54 + PACKAGES=/tmp/packages_start.txt 02:55:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' 02:55:54 + PACKAGES=/tmp/packages_end.txt 02:55:54 + case "${OS_FAMILY}" in 02:55:54 + rpm -qa 02:55:54 + sort 02:55:58 + '[' -f /tmp/packages_start.txt ']' 02:55:58 + '[' -f /tmp/packages_end.txt ']' 02:55:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:55:58 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-549 ']' 02:55:58 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ 02:55:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-549/archives/ [Pipeline] isUnix [Pipeline] sh 02:55:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:55:59 02:55:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:55:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:55:59 alpine: Pulling from edgex-lftools-log-publisher 02:55:59 c9b1b535fdd9: Pulling fs layer 02:55:59 2cc5ad85d9ab: Pulling fs layer 02:55:59 756a868c4378: Pulling fs layer 02:55:59 444b2fc9a129: Pulling fs layer 02:55:59 ea15f1150254: Pulling fs layer 02:55:59 41b27a9f41bf: Pulling fs layer 02:55:59 28c525ee5125: Pulling fs layer 02:55:59 094b1ea09ed8: Pulling fs layer 02:55:59 138eaada9080: Pulling fs layer 02:55:59 0622d0fa9048: Pulling fs layer 02:55:59 41b27a9f41bf: Waiting 02:55:59 28c525ee5125: Waiting 02:55:59 094b1ea09ed8: Waiting 02:55:59 138eaada9080: Waiting 02:55:59 0622d0fa9048: Waiting 02:55:59 2cc5ad85d9ab: Download complete 02:55:59 444b2fc9a129: Download complete 02:55:59 c9b1b535fdd9: Download complete 02:56:00 ea15f1150254: Verifying Checksum 02:56:00 ea15f1150254: Download complete 02:56:00 28c525ee5125: Verifying Checksum 02:56:00 28c525ee5125: Download complete 02:56:00 756a868c4378: Verifying Checksum 02:56:00 756a868c4378: Download complete 02:56:00 c9b1b535fdd9: Pull complete 02:56:00 138eaada9080: Verifying Checksum 02:56:00 138eaada9080: Download complete 02:56:00 0622d0fa9048: Verifying Checksum 02:56:00 0622d0fa9048: Download complete 02:56:00 094b1ea09ed8: Verifying Checksum 02:56:00 094b1ea09ed8: Download complete 02:56:00 2cc5ad85d9ab: Pull complete 02:56:00 41b27a9f41bf: Verifying Checksum 02:56:00 41b27a9f41bf: Download complete 02:56:02 756a868c4378: Pull complete 02:56:02 444b2fc9a129: Pull complete 02:56:02 ea15f1150254: Pull complete 02:56:06 41b27a9f41bf: Pull complete 02:56:06 28c525ee5125: Pull complete 02:56:09 094b1ea09ed8: Pull complete 02:56:09 138eaada9080: Pull complete 02:56:09 0622d0fa9048: Pull complete 02:56:09 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:56:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:56:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:56:09 prd-centos7-docker-4c-2g-1100 does not seem to be running inside a container 02:56:10 $ 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-549 -v /w/workspace/dgexfoundry_device-sdk-go_PR-549:/w/workspace/dgexfoundry_device-sdk-go_PR-549:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-549@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 02:56:13 $ docker top e50a853f555c78ea2f40bf7db58bbf3bc3bb7aa87de5545230d010c586b86525 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:56:13 provisioning config files... 02:56:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-549@tmp/config3152368070581273922tmp [Pipeline] { [Pipeline] echo 02:56:14 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:56:14 ---> create-netrc.sh [Pipeline] echo 02:56:14 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:56:14 ---> logs-deploy.sh 02:56:14 + ARCHIVE_ARTIFACTS= 02:56:14 + LOGS_SERVER=https://logs.edgexfoundry.org 02:56:14 + '[' https://logs.edgexfoundry.org == None ']' 02:56:14 + NEXUS_URL=https://nexus.edgexfoundry.org 02:56:14 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/7 02:56:14 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/7/ 02:56:14 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/7 /w/workspace/dgexfoundry_device-sdk-go_PR-549 02:56:16 Archives upload complete. 02:56:16 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-549/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-549/7/