Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 456d5ef00ab241b4b10710decef5552b6e387823+108cafbdc36a33829f2cd6e77abc07459d29f393 (acfb3c33a47f5e0e5f078278514c560903a1bd44) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 --version # 'git version 2.16.6' > 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 > git --version # 'git version 2.16.6' 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-309 in /w/workspace/dgexfoundry_device-sdk-go_PR-570 [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-570 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit 456d5ef00ab241b4b10710decef5552b6e387823 Merge succeeded, producing e98247ef685175dd9da6834984c6f3ae57ce11fb Checking out Revision e98247ef685175dd9da6834984c6f3ae57ce11fb (PR-570) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/570/head:refs/remotes/origin/PR-570 # 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/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 456d5ef00ab241b4b10710decef5552b6e387823 # 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 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e98247ef685175dd9da6834984c6f3ae57ce11fb # timeout=10 Commit message: "Merge commit '108cafbdc36a33829f2cd6e77abc07459d29f393' into HEAD" > git rev-list --no-walk 456d5ef00ab241b4b10710decef5552b6e387823 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:36 ========================================================= 18:41:36 EdgeX Global Pipelines Version Info 18:41:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:41:37 ------------------- 18:41:37 stable info: 18:41:37 ------------------- 18:41:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:41:37 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 18:41:37 Message: update stable to v1.0.106 18:41:38 ------------------- 18:41:38 experimental info: 18:41:38 ------------------- 18:41:38 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:38 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 18:41:38 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 18:41:40 + git log --format=format:%s -1 e98247ef685175dd9da6834984c6f3ae57ce11fb [Pipeline] echo 18:41:40 GIT_COMMIT: e98247ef685175dd9da6834984c6f3ae57ce11fb, Commit Message: Merge commit '108cafbdc36a33829f2cd6e77abc07459d29f393' into HEAD [Pipeline] echo 18:41:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:41:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:41 18:41:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:41:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:42 latest: Pulling from edgex-devops/git-semver 18:41:42 31603596830f: Pulling fs layer 18:41:42 2a8b12db71e7: Pulling fs layer 18:41:42 6ca5941a6612: Pulling fs layer 18:41:42 ecc8261a40a4: Pulling fs layer 18:41:42 ecc8261a40a4: Waiting 18:41:42 2a8b12db71e7: Verifying Checksum 18:41:42 2a8b12db71e7: Download complete 18:41:42 31603596830f: Verifying Checksum 18:41:42 31603596830f: Download complete 18:41:42 ecc8261a40a4: Verifying Checksum 18:41:42 ecc8261a40a4: Download complete 18:41:42 6ca5941a6612: Verifying Checksum 18:41:42 6ca5941a6612: Download complete 18:41:42 31603596830f: Pull complete 18:41:42 2a8b12db71e7: Pull complete 18:41:43 6ca5941a6612: Pull complete 18:41:43 ecc8261a40a4: Pull complete 18:41:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:41:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:41:43 prd-centos7-docker-4c-2g-309 does not seem to be running inside a container 18:41:43 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-570 -v /w/workspace/dgexfoundry_device-sdk-go_PR-570:/w/workspace/dgexfoundry_device-sdk-go_PR-570:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:41:45 $ docker top 379c97cb4a9067b3381352c22efce079470765c493d431afb3581d8461685888 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:45 [ssh-agent] Looking for ssh-agent implementation... 18:41:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:46 $ docker exec 379c97cb4a9067b3381352c22efce079470765c493d431afb3581d8461685888 ssh-agent 18:41:46 SSH_AUTH_SOCK=/tmp/ssh-mgR1qxStJzlP/agent.11 18:41:46 SSH_AGENT_PID=16 18:41:46 Running ssh-add (command line suppressed) 18:41:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/private_key_9218779321891599484.key (/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/private_key_9218779321891599484.key) 18:41:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:46 + git describe --exact-match --tags HEAD 18:41:46 fatal: No names found, cannot describe anything. [Pipeline] } 18:41:46 $ docker exec --env ******** --env ******** 379c97cb4a9067b3381352c22efce079470765c493d431afb3581d8461685888 ssh-agent -k 18:41:46 unset SSH_AUTH_SOCK; 18:41:46 unset SSH_AGENT_PID; 18:41:46 echo Agent pid 16 killed; 18:41:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:41:47 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:41:47 This usually means this commit has not been tagged. [Pipeline] sshagent 18:41:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:47 [ssh-agent] Looking for ssh-agent implementation... 18:41:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:47 $ docker exec 379c97cb4a9067b3381352c22efce079470765c493d431afb3581d8461685888 ssh-agent 18:41:47 SSH_AUTH_SOCK=/tmp/ssh-iAYSsm6YiGaW/agent.45 18:41:47 SSH_AGENT_PID=50 18:41:47 Running ssh-add (command line suppressed) 18:41:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/private_key_4603296802450073211.key (/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/private_key_4603296802450073211.key) 18:41:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:48 + git semver init 18:41:48 # -> Open(): unable to determine branch for HEAD 18:41:48 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-570/.git 18:41:48 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-570 18:41:48 # $SEMVER_REMOTE_NAME = origin 18:41:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:41:48 # $SEMVER_USER_NAME = edgex-jenkins 18:41:48 # $SEMVER_BRANCH = PR-570 18:41:48 # $SEMVER_TEMP = /tmp/semver-496941824 18:41:48 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:41:48 # '/tmp/semver-496941824' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-570/.semver' 18:41:48 # -> Force: false 18:41:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-570/.semver [Pipeline] } 18:41:48 $ docker exec --env ******** --env ******** 379c97cb4a9067b3381352c22efce079470765c493d431afb3581d8461685888 ssh-agent -k 18:41:48 unset SSH_AUTH_SOCK; 18:41:48 unset SSH_AGENT_PID; 18:41:48 echo Agent pid 50 killed; 18:41:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:49 + git semver [Pipeline] } 18:41:49 $ docker stop --time=1 379c97cb4a9067b3381352c22efce079470765c493d431afb3581d8461685888 18:41:50 $ docker rm -f 379c97cb4a9067b3381352c22efce079470765c493d431afb3581d8461685888 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:41:51 Stashed 30 file(s) [Pipeline] echo 18:41:51 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 18:41:51 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 18:42:06 Still waiting to schedule task 18:42:06 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:42:06 Still waiting to schedule task 18:42:06 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:44:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-310 in /w/workspace/dgexfoundry_device-sdk-go_PR-570 [Pipeline] { [Pipeline] ws 18:44:01 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 18:44:06 using credential edgex-jenkins-ssh 18:44:06 Cloning the remote Git repository 18:44:06 Cloning with configured refspecs honoured and without tags 18:44:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:06 > git init /w/workspace/device-sdk-go/3 # timeout=10 18:44:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:06 > git --version # timeout=10 18:44:06 > git --version # 'git version 2.17.1' 18:44:06 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:07 Fetching without tags 18:44:08 Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit 456d5ef00ab241b4b10710decef5552b6e387823 18:44:08 Merge succeeded, producing f6360d55ad7f454edc9ecbd784fc0fb8c0f92414 18:44:08 Checking out Revision f6360d55ad7f454edc9ecbd784fc0fb8c0f92414 (PR-570) 18:44:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:07 > git config --add remote.origin.fetch +refs/pull/570/head:refs/remotes/origin/PR-570 # timeout=10 18:44:07 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:07 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:08 > git config core.sparsecheckout # timeout=10 18:44:08 > git checkout -f 456d5ef00ab241b4b10710decef5552b6e387823 # timeout=10 18:44:08 > git remote # timeout=10 18:44:08 > git config --get remote.origin.url # timeout=10 18:44:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:08 > git merge 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 18:44:08 > git rev-parse HEAD^{commit} # timeout=10 18:44:08 > git config core.sparsecheckout # timeout=10 18:44:08 > git checkout -f f6360d55ad7f454edc9ecbd784fc0fb8c0f92414 # timeout=10 18:44:13 Commit message: "Merge commit '108cafbdc36a33829f2cd6e77abc07459d29f393' into HEAD" 18:44:13 > git rev-list --no-walk 456d5ef00ab241b4b10710decef5552b6e387823 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:44:14 ========================================================= 18:44:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 18:44:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:44:15 + 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 . 18:44:16 Sending build context to Docker daemon 3.124MB 18:44:16 Step 1/8 : ARG BASE=golang:1.13-alpine 18:44:16 Step 2/8 : FROM ${BASE} 18:44:16 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:44:16 b538f80385f9: Pulling fs layer 18:44:16 74f711af9a0d: Pulling fs layer 18:44:16 99f96fe45779: Pulling fs layer 18:44:16 fd7a069fd194: Pulling fs layer 18:44:16 66aa3694b03b: Pulling fs layer 18:44:16 170f70906a0f: Pulling fs layer 18:44:16 ad7c5574e4b9: Pulling fs layer 18:44:16 e772456be8f7: Pulling fs layer 18:44:16 c890913d741a: Pulling fs layer 18:44:16 2480fcc9aa5a: Pulling fs layer 18:44:16 09adf4765672: Pulling fs layer 18:44:16 fd7a069fd194: Waiting 18:44:16 66aa3694b03b: Waiting 18:44:16 170f70906a0f: Waiting 18:44:16 ad7c5574e4b9: Waiting 18:44:16 e772456be8f7: Waiting 18:44:16 2480fcc9aa5a: Waiting 18:44:16 c890913d741a: Waiting 18:44:16 09adf4765672: Waiting 18:44:16 99f96fe45779: Verifying Checksum 18:44:16 99f96fe45779: Download complete 18:44:17 74f711af9a0d: Verifying Checksum 18:44:17 74f711af9a0d: Download complete 18:44:17 66aa3694b03b: Verifying Checksum 18:44:17 66aa3694b03b: Download complete 18:44:17 170f70906a0f: Verifying Checksum 18:44:17 170f70906a0f: Download complete 18:44:17 b538f80385f9: Download complete 18:44:17 b538f80385f9: Pull complete 18:44:18 74f711af9a0d: Pull complete 18:44:19 99f96fe45779: Pull complete 18:44:19 ad7c5574e4b9: Verifying Checksum 18:44:19 ad7c5574e4b9: Download complete 18:44:19 c890913d741a: Download complete 18:44:21 2480fcc9aa5a: Verifying Checksum 18:44:21 2480fcc9aa5a: Download complete 18:44:21 09adf4765672: Verifying Checksum 18:44:21 09adf4765672: Download complete 18:44:22 e772456be8f7: Verifying Checksum 18:44:22 e772456be8f7: Download complete 18:44:22 fd7a069fd194: Verifying Checksum 18:44:22 fd7a069fd194: Download complete 18:44:34 fd7a069fd194: Pull complete 18:44:34 66aa3694b03b: Pull complete 18:44:34 170f70906a0f: Pull complete 18:44:38 ad7c5574e4b9: Pull complete 18:44:42 e772456be8f7: Pull complete 18:44:43 c890913d741a: Pull complete 18:44:43 Running on prd-centos7-docker-4c-2g-311 in /w/workspace/dgexfoundry_device-sdk-go_PR-570 [Pipeline] { [Pipeline] ws 18:44:43 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 18:44:45 2480fcc9aa5a: Pull complete 18:44:45 09adf4765672: Pull complete 18:44:45 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 18:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 18:44:45 ---> 2248a725d1cf 18:44:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:44:46 using credential edgex-jenkins-ssh 18:44:46 Cloning the remote Git repository 18:44:46 Cloning with configured refspecs honoured and without tags 18:44:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:46 > git init /w/workspace/device-sdk-go/3 # timeout=10 18:44:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:47 > git --version # timeout=10 18:44:47 > git --version # 'git version 2.16.5' 18:44:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:47 Fetching without tags 18:44:48 Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit 456d5ef00ab241b4b10710decef5552b6e387823 18:44:48 Merge succeeded, producing 22001034de02fba46f8f3b469861bf03518e94fa 18:44:48 Checking out Revision 22001034de02fba46f8f3b469861bf03518e94fa (PR-570) 18:44:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:47 > git config --add remote.origin.fetch +refs/pull/570/head:refs/remotes/origin/PR-570 # timeout=10 18:44:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:48 > git config core.sparsecheckout # timeout=10 18:44:48 > git checkout -f 456d5ef00ab241b4b10710decef5552b6e387823 # timeout=10 18:44:48 > git remote # timeout=10 18:44:48 > git config --get remote.origin.url # timeout=10 18:44:48 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:48 > git merge 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 18:44:48 > git rev-parse HEAD^{commit} # timeout=10 18:44:48 > git config core.sparsecheckout # timeout=10 18:44:48 > git checkout -f 22001034de02fba46f8f3b469861bf03518e94fa # timeout=10 18:44:51 ---> Running in 3c6b17910fbb 18:44:51 Removing intermediate container 3c6b17910fbb 18:44:51 ---> 16cc72511266 18:44:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:44:51 ---> Running in df45bccd4c76 18:44:51 Commit message: "Merge commit '108cafbdc36a33829f2cd6e77abc07459d29f393' into HEAD" 18:44:51 > git rev-list --no-walk 456d5ef00ab241b4b10710decef5552b6e387823 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:44:52 ========================================================= 18:44:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 18:44:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:44:53 + 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 . 18:44:53 Sending build context to Docker daemon 3.126MB 18:44:53 Step 1/8 : ARG BASE=golang:1.13-alpine 18:44:53 Step 2/8 : FROM ${BASE} 18:44:53 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 18:44:53 df20fa9351a1: Pulling fs layer 18:44:53 ed8968b2872e: Pulling fs layer 18:44:53 a92cc7c5fd73: Pulling fs layer 18:44:53 2dd03ba5bac4: Pulling fs layer 18:44:53 1e091d79d1de: Pulling fs layer 18:44:53 481702a1767f: Pulling fs layer 18:44:53 f64a6f60c768: Pulling fs layer 18:44:53 e78d2573fc39: Pulling fs layer 18:44:53 e876d2f968b6: Pulling fs layer 18:44:53 ce8a83651883: Pulling fs layer 18:44:53 07967f4d0e4b: Pulling fs layer 18:44:53 2dd03ba5bac4: Waiting 18:44:53 1e091d79d1de: Waiting 18:44:53 ce8a83651883: Waiting 18:44:53 481702a1767f: Waiting 18:44:53 07967f4d0e4b: Waiting 18:44:53 f64a6f60c768: Waiting 18:44:53 e78d2573fc39: Waiting 18:44:53 e876d2f968b6: Waiting 18:44:53 a92cc7c5fd73: Verifying Checksum 18:44:53 a92cc7c5fd73: Download complete 18:44:53 Removing intermediate container df45bccd4c76 18:44:53 ---> 326f735dd6b3 18:44:53 Step 5/8 : RUN apk add --no-cache make git 18:44:53 ---> Running in f388464b9fb0 18:44:53 ed8968b2872e: Verifying Checksum 18:44:53 ed8968b2872e: Download complete 18:44:53 1e091d79d1de: Verifying Checksum 18:44:53 1e091d79d1de: Download complete 18:44:53 481702a1767f: Download complete 18:44:53 df20fa9351a1: Verifying Checksum 18:44:53 df20fa9351a1: Download complete 18:44:54 df20fa9351a1: Pull complete 18:44:54 ed8968b2872e: Pull complete 18:44:54 f64a6f60c768: Verifying Checksum 18:44:54 f64a6f60c768: Download complete 18:44:54 e876d2f968b6: Verifying Checksum 18:44:54 e876d2f968b6: Download complete 18:44:55 e78d2573fc39: Verifying Checksum 18:44:55 e78d2573fc39: Download complete 18:44:55 ce8a83651883: Verifying Checksum 18:44:55 ce8a83651883: Download complete 18:44:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:44:55 07967f4d0e4b: Verifying Checksum 18:44:55 07967f4d0e4b: Download complete 18:44:55 2dd03ba5bac4: Verifying Checksum 18:44:55 2dd03ba5bac4: Download complete 18:44:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:44:56 a92cc7c5fd73: Pull complete 18:44:56 OK: 142 MiB in 39 packages 18:44:57 Removing intermediate container f388464b9fb0 18:44:57 ---> f692343448f9 18:44:57 Step 6/8 : WORKDIR /device-sdk-go 18:44:57 ---> Running in bc1709759405 18:44:58 Removing intermediate container bc1709759405 18:44:58 ---> 72bda7515bbc 18:44:58 Step 7/8 : COPY . . 18:44:59 ---> 22d3875e40d7 18:44:59 Step 8/8 : RUN go mod download 18:44:59 ---> Running in bf31fe734d23 18:45:01 2dd03ba5bac4: Pull complete 18:45:01 1e091d79d1de: Pull complete 18:45:01 481702a1767f: Pull complete 18:45:03 go: finding github.com/BurntSushi/toml v0.3.1 18:45:03 go: finding github.com/OneOfOne/xxhash v1.2.6 18:45:03 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:45:03 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:45:03 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:45:03 go: finding github.com/bgentry/speakeasy v0.1.0 18:45:03 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:45:03 go: finding github.com/davecgh/go-spew v1.1.1 18:45:03 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 18:45:03 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:45:03 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 18:45:03 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:45:03 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:45:03 go: finding github.com/fatih/color v1.7.0 18:45:03 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:45:03 go: finding github.com/go-kit/kit v0.8.0 18:45:03 go: finding github.com/go-logfmt/logfmt v0.4.0 18:45:03 go: finding github.com/go-stack/stack v1.8.0 18:45:03 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:45:03 go: finding github.com/google/uuid v1.1.0 18:45:03 go: finding github.com/gorilla/mux v1.7.1 18:45:03 go: finding github.com/hashicorp/consul/api v1.1.0 18:45:03 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:45:04 go: finding github.com/hashicorp/errwrap v1.0.0 18:45:04 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:45:04 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:45:04 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:45:04 go: finding github.com/hashicorp/go-multierror v1.0.0 18:45:04 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:45:04 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:45:04 go: finding github.com/hashicorp/go-syslog v1.0.0 18:45:04 go: finding github.com/hashicorp/go-uuid v1.0.1 18:45:04 go: finding github.com/hashicorp/go.net v0.0.1 18:45:04 go: finding github.com/hashicorp/golang-lru v0.5.0 18:45:04 go: finding github.com/hashicorp/logutils v1.0.0 18:45:04 go: finding github.com/hashicorp/mdns v1.0.0 18:45:04 go: finding github.com/hashicorp/memberlist v0.1.3 18:45:04 go: finding github.com/hashicorp/serf v0.8.2 18:45:04 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:45:04 go: finding github.com/mattn/go-colorable v0.0.9 18:45:04 go: finding github.com/mattn/go-isatty v0.0.3 18:45:04 go: finding github.com/miekg/dns v1.0.14 18:45:04 go: finding github.com/mitchellh/cli v1.0.0 18:45:04 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:45:04 go: finding github.com/mitchellh/copystructure v1.0.0 18:45:04 go: finding github.com/mitchellh/go-homedir v1.0.0 18:45:04 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:45:05 go: finding github.com/mitchellh/gox v0.4.0 18:45:05 go: finding github.com/mitchellh/iochan v1.0.0 18:45:05 go: finding github.com/mitchellh/mapstructure v1.1.2 18:45:05 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:45:05 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:45:05 go: finding github.com/pelletier/go-toml v1.2.0 18:45:05 go: finding github.com/pkg/errors v0.8.1 18:45:05 go: finding github.com/pmezard/go-difflib v1.0.0 18:45:05 go: finding github.com/posener/complete v1.1.1 18:45:05 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:45:05 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:45:05 go: finding github.com/stretchr/objx v0.1.0 18:45:05 go: finding github.com/stretchr/testify v1.5.1 18:45:05 go: finding github.com/ugorji/go v1.1.4 18:45:05 go: finding github.com/x448/float16 v0.8.4 18:45:05 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:45:05 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:45:05 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:45:05 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:45:05 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:45:05 go: finding gopkg.in/yaml.v2 v2.2.8 18:45:08 f64a6f60c768: Pull complete 18:45:11 e78d2573fc39: Pull complete 18:45:11 e876d2f968b6: Pull complete 18:45:12 ce8a83651883: Pull complete 18:45:12 07967f4d0e4b: Pull complete 18:45:12 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 18:45:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 18:45:12 ---> 5d7c900382c6 18:45:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:45:13 ---> Running in 5440fd4c8c05 18:45:13 Removing intermediate container 5440fd4c8c05 18:45:13 ---> f96c01b6b2bd 18:45:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:45:13 ---> Running in e59175724508 18:45:14 Removing intermediate container e59175724508 18:45:14 ---> b46827d4b5d3 18:45:14 Step 5/8 : RUN apk add --no-cache make git 18:45:14 ---> Running in 4919aa6dbf85 18:45:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:45:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:45:16 Removing intermediate container bf31fe734d23 18:45:16 ---> cfcea0179b82 18:45:16 Successfully built cfcea0179b82 18:45:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 18:45:16 OK: 166 MiB in 39 packages [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:45:16 Removing intermediate container 4919aa6dbf85 18:45:16 ---> 5301376d527b 18:45:16 Step 6/8 : WORKDIR /device-sdk-go 18:45:16 + docker inspect -f . ci-base-image-arm64 18:45:16 . [Pipeline] withDockerContainer 18:45:16 ---> Running in 7fc56cb23b7b 18:45:16 Removing intermediate container 7fc56cb23b7b 18:45:16 ---> 31f0bd6be756 18:45:16 Step 7/8 : COPY . . 18:45:17 prd-ubuntu18.04-docker-arm64-4c-16g-310 does not seem to be running inside a container 18:45:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 18:45:17 ---> 4c47f71d1493 18:45:17 Step 8/8 : RUN go mod download 18:45:18 ---> Running in 0cb38fabc988 18:45:19 $ docker top 0d7754e8dc1be0b02e1298f091a69223d84998acfc6fc65be2200a9c37da320e -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:20 go: finding github.com/BurntSushi/toml v0.3.1 18:45:20 go: finding github.com/OneOfOne/xxhash v1.2.6 18:45:20 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:45:20 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:45:20 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:45:20 go: finding github.com/bgentry/speakeasy v0.1.0 18:45:20 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:45:20 go: finding github.com/davecgh/go-spew v1.1.1 18:45:20 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 18:45:20 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:45:20 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 18:45:20 + go version 18:45:20 go version go1.13.13 linux/arm64 [Pipeline] sh 18:45:20 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:45:20 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:45:20 go: finding github.com/fatih/color v1.7.0 18:45:20 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:45:20 go: finding github.com/go-kit/kit v0.8.0 18:45:20 go: finding github.com/go-logfmt/logfmt v0.4.0 18:45:20 go: finding github.com/go-stack/stack v1.8.0 18:45:20 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:45:20 go: finding github.com/google/uuid v1.1.0 18:45:20 go: finding github.com/gorilla/mux v1.7.1 18:45:20 go: finding github.com/hashicorp/consul/api v1.1.0 18:45:20 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:45:20 go: finding github.com/hashicorp/errwrap v1.0.0 18:45:21 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:45:21 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:45:21 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:45:21 go: finding github.com/hashicorp/go-multierror v1.0.0 18:45:21 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:45:21 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:45:21 go: finding github.com/hashicorp/go-syslog v1.0.0 18:45:21 go: finding github.com/hashicorp/go-uuid v1.0.1 18:45:21 go: finding github.com/hashicorp/go.net v0.0.1 18:45:21 go: finding github.com/hashicorp/golang-lru v0.5.0 18:45:21 go: finding github.com/hashicorp/logutils v1.0.0 18:45:21 go: finding github.com/hashicorp/mdns v1.0.0 18:45:21 go: finding github.com/hashicorp/memberlist v0.1.3 18:45:21 + make test 18:45:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:45:21 go: finding github.com/hashicorp/serf v0.8.2 18:45:21 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:45:21 go: finding github.com/mattn/go-colorable v0.0.9 18:45:21 go: finding github.com/mattn/go-isatty v0.0.3 18:45:21 go: finding github.com/miekg/dns v1.0.14 18:45:21 go: finding github.com/mitchellh/cli v1.0.0 18:45:21 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:45:21 go: finding github.com/mitchellh/copystructure v1.0.0 18:45:21 go: finding github.com/mitchellh/go-homedir v1.0.0 18:45:21 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:45:21 go: finding github.com/mitchellh/gox v0.4.0 18:45:21 go: finding github.com/mitchellh/iochan v1.0.0 18:45:22 go: finding github.com/mitchellh/mapstructure v1.1.2 18:45:22 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:45:22 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:45:22 go: finding github.com/pelletier/go-toml v1.2.0 18:45:22 go: finding github.com/pkg/errors v0.8.1 18:45:22 go: finding github.com/pmezard/go-difflib v1.0.0 18:45:22 go: finding github.com/posener/complete v1.1.1 18:45:22 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:45:22 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:45:22 go: finding github.com/stretchr/objx v0.1.0 18:45:22 go: finding github.com/stretchr/testify v1.5.1 18:45:22 go: finding github.com/ugorji/go v1.1.4 18:45:22 go: finding github.com/x448/float16 v0.8.4 18:45:22 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:45:22 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:45:22 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:45:22 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:45:22 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:45:22 go: finding gopkg.in/yaml.v2 v2.2.8 18:45:26 # runtime/race 18:45:26 /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: race_linux_arm64.syso: in function `__sanitizer::GetArgv()': 18:45:26 gotsan.cc:(.text+0x48b8): undefined reference to `__libc_stack_end' 18:45:26 /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: gotsan.cc:(.text+0x48bc): undefined reference to `__libc_stack_end' 18:45:26 /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: race_linux_arm64.syso: in function `__sanitizer::GetEnviron()': 18:45:26 gotsan.cc:(.text+0x48d0): undefined reference to `__libc_stack_end' 18:45:26 /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: gotsan.cc:(.text+0x48d4): undefined reference to `__libc_stack_end' 18:45:26 /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: race_linux_arm64.syso: in function `__sanitizer::WriteOneLineToSyslog(char const*)': 18:45:26 gotsan.cc:(.text+0x507c): undefined reference to `__syslog_chk' 18:45:26 /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: race_linux_arm64.syso: in function `__sanitizer::InternalAlloc(unsigned long, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*, unsigned long)': 18:45:26 gotsan.cc:(.text+0x5c14): undefined reference to `__libc_malloc' 18:45:26 /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: race_linux_arm64.syso: in function `__sanitizer::InternalRealloc(void*, unsigned long, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*)': 18:45:26 gotsan.cc:(.text+0x7614): undefined reference to `__libc_realloc' 18:45:26 /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: race_linux_arm64.syso: in function `__sanitizer::InternalFree(void*, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*)': 18:45:26 gotsan.cc:(.text+0x7694): undefined reference to `__libc_free' 18:45:26 collect2: error: ld returned 1 exit status 18:45:30 Removing intermediate container 0cb38fabc988 18:45:30 ---> 171d9731d538 18:45:30 Successfully built 171d9731d538 18:45:30 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 18:45:31 + docker inspect -f . ci-base-image-x86_64 18:45:31 . [Pipeline] withDockerContainer 18:45:31 prd-centos7-docker-4c-2g-311 does not seem to be running inside a container 18:45:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat 18:45:32 $ docker top 3d8a507ae58eb077f762d4b7581a3a713ec34a6c76e1095c7c9dc38412353a36 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:33 + go version 18:45:33 go version go1.13.13 linux/amd64 [Pipeline] sh 18:45:33 + make test 18:45:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:45:36 # runtime/race 18:45:36 /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: race_linux_amd64.syso: in function `__sanitizer::GetArgv()': 18:45:36 gotsan.cc:(.text+0x4183): undefined reference to `__libc_stack_end' 18:45:36 /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: race_linux_amd64.syso: in function `__sanitizer::ReExec()': 18:45:36 gotsan.cc:(.text+0x9797): undefined reference to `__libc_stack_end' 18:45:36 /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: race_linux_amd64.syso: in function `__sanitizer::InternalAlloc(unsigned long, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*, unsigned long)': 18:45:36 gotsan.cc:(.text+0xaac1): undefined reference to `__libc_malloc' 18:45:36 /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: race_linux_amd64.syso: in function `__sanitizer::InternalRealloc(void*, unsigned long, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*)': 18:45:36 gotsan.cc:(.text+0xca20): undefined reference to `__libc_realloc' 18:45:36 /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: race_linux_amd64.syso: in function `__sanitizer::InternalFree(void*, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*)': 18:45:36 gotsan.cc:(.text+0x66e8): undefined reference to `__libc_free' 18:45:36 collect2: error: ld returned 1 exit status 18:45:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:45:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:45:51 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 18:45:51 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 18:45:51 FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] 18:45:52 FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] 18:45:52 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 18:45:52 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 18:45:52 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 18:45:52 FAIL github.com/edgexfoundry/device-sdk-go/pkg/models [build failed] 18:45:52 make: *** [Makefile:32: test] Error 2 [Pipeline] } 18:45:52 $ docker stop --time=1 3d8a507ae58eb077f762d4b7581a3a713ec34a6c76e1095c7c9dc38412353a36 18:45:54 $ docker rm -f 3d8a507ae58eb077f762d4b7581a3a713ec34a6c76e1095c7c9dc38412353a36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:45:56 Failed in branch amd64 18:46:18 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 18:46:18 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 18:46:18 FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] 18:46:18 FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] 18:46:18 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 18:46:18 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 18:46:18 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 18:46:18 FAIL github.com/edgexfoundry/device-sdk-go/pkg/models [build failed] 18:46:18 make: *** [Makefile:32: test] Error 2 [Pipeline] } 18:46:18 $ docker stop --time=1 0d7754e8dc1be0b02e1298f091a69223d84998acfc6fc65be2200a9c37da320e 18:46:20 $ docker rm -f 0d7754e8dc1be0b02e1298f091a69223d84998acfc6fc65be2200a9c37da320e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:46:22 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 18:46:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:46:25 ---> package-listing.sh 18:46:25 ++ facter osfamily 18:46:25 ++ tr '[:upper:]' '[:lower:]' 18:46:25 + OS_FAMILY=redhat 18:46:25 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-570 18:46:25 + START_PACKAGES=/tmp/packages_start.txt 18:46:25 + END_PACKAGES=/tmp/packages_end.txt 18:46:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:46:25 + PACKAGES=/tmp/packages_start.txt 18:46:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-570 ']' 18:46:25 + PACKAGES=/tmp/packages_end.txt 18:46:25 + case "${OS_FAMILY}" in 18:46:25 + rpm -qa 18:46:25 + sort 18:46:29 + '[' -f /tmp/packages_start.txt ']' 18:46:29 + '[' -f /tmp/packages_end.txt ']' 18:46:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:46:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-570 ']' 18:46:29 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-570/archives/ 18:46:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-570/archives/ [Pipeline] isUnix [Pipeline] sh 18:46:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:46:30 18:46:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:46:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:46:30 alpine: Pulling from edgex-lftools-log-publisher 18:46:30 c9b1b535fdd9: Pulling fs layer 18:46:30 2cc5ad85d9ab: Pulling fs layer 18:46:30 756a868c4378: Pulling fs layer 18:46:30 444b2fc9a129: Pulling fs layer 18:46:30 ea15f1150254: Pulling fs layer 18:46:30 41b27a9f41bf: Pulling fs layer 18:46:30 28c525ee5125: Pulling fs layer 18:46:30 094b1ea09ed8: Pulling fs layer 18:46:30 138eaada9080: Pulling fs layer 18:46:30 0622d0fa9048: Pulling fs layer 18:46:30 41b27a9f41bf: Waiting 18:46:30 28c525ee5125: Waiting 18:46:30 094b1ea09ed8: Waiting 18:46:30 138eaada9080: Waiting 18:46:30 0622d0fa9048: Waiting 18:46:30 444b2fc9a129: Waiting 18:46:30 ea15f1150254: Waiting 18:46:30 2cc5ad85d9ab: Download complete 18:46:30 444b2fc9a129: Verifying Checksum 18:46:30 444b2fc9a129: Download complete 18:46:30 c9b1b535fdd9: Download complete 18:46:30 ea15f1150254: Verifying Checksum 18:46:30 ea15f1150254: Download complete 18:46:31 28c525ee5125: Verifying Checksum 18:46:31 28c525ee5125: Download complete 18:46:31 756a868c4378: Verifying Checksum 18:46:31 756a868c4378: Download complete 18:46:31 c9b1b535fdd9: Pull complete 18:46:31 138eaada9080: Verifying Checksum 18:46:31 138eaada9080: Download complete 18:46:31 0622d0fa9048: Verifying Checksum 18:46:31 0622d0fa9048: Download complete 18:46:31 094b1ea09ed8: Verifying Checksum 18:46:31 094b1ea09ed8: Download complete 18:46:31 2cc5ad85d9ab: Pull complete 18:46:31 41b27a9f41bf: Verifying Checksum 18:46:31 41b27a9f41bf: Download complete 18:46:33 756a868c4378: Pull complete 18:46:33 444b2fc9a129: Pull complete 18:46:33 ea15f1150254: Pull complete 18:46:36 41b27a9f41bf: Pull complete 18:46:36 28c525ee5125: Pull complete 18:46:40 094b1ea09ed8: Pull complete 18:46:40 138eaada9080: Pull complete 18:46:40 0622d0fa9048: Pull complete 18:46:40 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 18:46:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:46:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:46:40 prd-centos7-docker-4c-2g-309 does not seem to be running inside a container 18:46:40 $ 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-570 -v /w/workspace/dgexfoundry_device-sdk-go_PR-570:/w/workspace/dgexfoundry_device-sdk-go_PR-570:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:46:43 $ docker top c2948bb924bdd14cafd85e78382385e04ae0974babc2cba5046d8c730defcc1e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:44 provisioning config files... 18:46:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/config8169069818764665841tmp [Pipeline] { [Pipeline] echo 18:46:44 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:46:44 ---> create-netrc.sh [Pipeline] echo 18:46:44 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:46:44 ---> logs-deploy.sh 18:46:44 + ARCHIVE_ARTIFACTS= 18:46:44 + LOGS_SERVER=https://logs.edgexfoundry.org 18:46:44 + '[' https://logs.edgexfoundry.org == None ']' 18:46:44 + NEXUS_URL=https://nexus.edgexfoundry.org 18:46:44 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-570/3 18:46:44 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-570/3/ 18:46:44 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-570/3 /w/workspace/dgexfoundry_device-sdk-go_PR-570 18:46:45 Archives upload complete. 18:46:46 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-570/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-570/3/