Pull request #571 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 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1+108cafbdc36a33829f2cd6e77abc07459d29f393 (f17b1af389a0a1dbaf2549cf77b2601273e7405c) 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-381 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [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 Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-571 # 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 Merge succeeded, producing 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 Checking out Revision 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 (PR-571) > git config core.sparsecheckout # timeout=10 > git checkout -f 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 # 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 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 # timeout=10 Commit message: "Remove globalvars and refactor remaining packages" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:43:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:43:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:43:37 ========================================================= 07:43:37 EdgeX Global Pipelines Version Info 07:43:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 # timeout=10 07:43:39 ------------------- 07:43:39 stable info: 07:43:39 ------------------- 07:43:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:43:39 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 07:43:39 Message: update stable to v1.0.106 07:43:40 ------------------- 07:43:40 experimental info: 07:43:40 ------------------- 07:43:40 Commited By: **** collab-it+edgex@linuxfoundation.org 07:43:40 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 07:43:40 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 07:43:42 + git log --format=format:%s -1 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 [Pipeline] echo 07:43:42 GIT_COMMIT: 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1, Commit Message: Remove globalvars and refactor remaining packages [Pipeline] echo 07:43:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:43:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:43:44 07:43:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:43:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:43:44 latest: Pulling from edgex-devops/git-semver 07:43:44 31603596830f: Pulling fs layer 07:43:44 2a8b12db71e7: Pulling fs layer 07:43:44 6ca5941a6612: Pulling fs layer 07:43:44 ecc8261a40a4: Pulling fs layer 07:43:44 ecc8261a40a4: Waiting 07:43:44 2a8b12db71e7: Verifying Checksum 07:43:44 2a8b12db71e7: Download complete 07:43:44 31603596830f: Verifying Checksum 07:43:44 31603596830f: Download complete 07:43:44 ecc8261a40a4: Verifying Checksum 07:43:44 ecc8261a40a4: Download complete 07:43:44 6ca5941a6612: Download complete 07:43:45 31603596830f: Pull complete 07:43:45 2a8b12db71e7: Pull complete 07:43:46 6ca5941a6612: Pull complete 07:43:46 ecc8261a40a4: Pull complete 07:43:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:43:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:43:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:43:46 prd-centos7-docker-4c-2g-381 does not seem to be running inside a container 07:43:46 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@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 07:43:48 $ docker top a5a4dc964fa980c2eb7f9f9bba3017a62e6a4dbbc6b1976335f119f705fa6e60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:43:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:43:48 [ssh-agent] Looking for ssh-agent implementation... 07:43:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:43:49 $ docker exec a5a4dc964fa980c2eb7f9f9bba3017a62e6a4dbbc6b1976335f119f705fa6e60 ssh-agent 07:43:49 SSH_AUTH_SOCK=/tmp/ssh-u3oNnlu6eQ7F/agent.12 07:43:49 SSH_AGENT_PID=18 07:43:49 Running ssh-add (command line suppressed) 07:43:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_590363286137686239.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_590363286137686239.key) 07:43:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:43:49 + git describe --exact-match --tags HEAD 07:43:49 fatal: No names found, cannot describe anything. [Pipeline] } 07:43:49 $ docker exec --env ******** --env ******** a5a4dc964fa980c2eb7f9f9bba3017a62e6a4dbbc6b1976335f119f705fa6e60 ssh-agent -k 07:43:49 unset SSH_AUTH_SOCK; 07:43:49 unset SSH_AGENT_PID; 07:43:49 echo Agent pid 18 killed; 07:43:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:43:50 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:43:50 This usually means this commit has not been tagged. [Pipeline] sshagent 07:43:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:43:50 [ssh-agent] Looking for ssh-agent implementation... 07:43:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:43:50 $ docker exec a5a4dc964fa980c2eb7f9f9bba3017a62e6a4dbbc6b1976335f119f705fa6e60 ssh-agent 07:43:50 SSH_AUTH_SOCK=/tmp/ssh-xjFpAh9XRwaO/agent.47 07:43:50 SSH_AGENT_PID=52 07:43:50 Running ssh-add (command line suppressed) 07:43:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_4559334364909184353.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_4559334364909184353.key) 07:43:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:43:51 + git semver init 07:43:51 # -> Open(): unable to determine branch for HEAD 07:43:51 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git 07:43:51 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 07:43:51 # $SEMVER_REMOTE_NAME = origin 07:43:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:43:51 # $SEMVER_USER_NAME = edgex-jenkins 07:43:51 # $SEMVER_BRANCH = PR-571 07:43:51 # $SEMVER_TEMP = /tmp/semver-898423702 07:43:51 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:43:52 # '/tmp/semver-898423702' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' 07:43:52 # -> Force: false 07:43:52 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } 07:43:52 $ docker exec --env ******** --env ******** a5a4dc964fa980c2eb7f9f9bba3017a62e6a4dbbc6b1976335f119f705fa6e60 ssh-agent -k 07:43:52 unset SSH_AUTH_SOCK; 07:43:52 unset SSH_AGENT_PID; 07:43:52 echo Agent pid 52 killed; 07:43:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:43:52 + git semver [Pipeline] } 07:43:52 $ docker stop --time=1 a5a4dc964fa980c2eb7f9f9bba3017a62e6a4dbbc6b1976335f119f705fa6e60 07:43:54 $ docker rm -f a5a4dc964fa980c2eb7f9f9bba3017a62e6a4dbbc6b1976335f119f705fa6e60 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:43:55 Stashed 30 file(s) [Pipeline] echo 07:43:55 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 07:43:55 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 07:44:10 Still waiting to schedule task 07:44:10 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:44:10 Still waiting to schedule task 07:44:10 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:45:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-382 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 07:45:58 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:46:03 using credential edgex-jenkins-ssh 07:46:03 Cloning the remote Git repository 07:46:03 Cloning with configured refspecs honoured and without tags 07:46:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:46:03 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:46:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:46:03 > git --version # timeout=10 07:46:03 > git --version # 'git version 2.17.1' 07:46:03 using GIT_SSH to set credentials SSH Credentials for GitHub 07:46:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:46:04 Fetching without tags 07:46:05 Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 07:46:05 Merge succeeded, producing 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 07:46:05 Checking out Revision 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 (PR-571) 07:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:46:04 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 07:46:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:46:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 07:46:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:46:05 > git config core.sparsecheckout # timeout=10 07:46:05 > git checkout -f 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 # timeout=10 07:46:05 > git remote # timeout=10 07:46:05 > git config --get remote.origin.url # timeout=10 07:46:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:46:05 > git merge 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 07:46:05 > git rev-parse HEAD^{commit} # timeout=10 07:46:05 > git config core.sparsecheckout # timeout=10 07:46:05 > git checkout -f 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 # timeout=10 07:46:09 Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:46:11 ========================================================= 07:46:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:46:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:46:12 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 07:46:13 Sending build context to Docker daemon 3.162MB 07:46:13 Step 1/8 : ARG BASE=golang:1.13-alpine 07:46:13 Step 2/8 : FROM ${BASE} 07:46:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:46:13 b538f80385f9: Pulling fs layer 07:46:13 74f711af9a0d: Pulling fs layer 07:46:13 99f96fe45779: Pulling fs layer 07:46:13 fd7a069fd194: Pulling fs layer 07:46:13 66aa3694b03b: Pulling fs layer 07:46:13 170f70906a0f: Pulling fs layer 07:46:13 ad7c5574e4b9: Pulling fs layer 07:46:13 e772456be8f7: Pulling fs layer 07:46:13 c890913d741a: Pulling fs layer 07:46:13 2480fcc9aa5a: Pulling fs layer 07:46:13 09adf4765672: Pulling fs layer 07:46:13 170f70906a0f: Waiting 07:46:13 ad7c5574e4b9: Waiting 07:46:13 e772456be8f7: Waiting 07:46:13 c890913d741a: Waiting 07:46:13 2480fcc9aa5a: Waiting 07:46:13 09adf4765672: Waiting 07:46:13 fd7a069fd194: Waiting 07:46:13 66aa3694b03b: Waiting 07:46:13 99f96fe45779: Verifying Checksum 07:46:13 99f96fe45779: Download complete 07:46:13 74f711af9a0d: Download complete 07:46:13 66aa3694b03b: Verifying Checksum 07:46:13 66aa3694b03b: Download complete 07:46:13 170f70906a0f: Verifying Checksum 07:46:13 170f70906a0f: Download complete 07:46:13 b538f80385f9: Verifying Checksum 07:46:13 b538f80385f9: Download complete 07:46:14 b538f80385f9: Pull complete 07:46:15 74f711af9a0d: Pull complete 07:46:15 99f96fe45779: Pull complete 07:46:16 ad7c5574e4b9: Verifying Checksum 07:46:16 ad7c5574e4b9: Download complete 07:46:16 c890913d741a: Verifying Checksum 07:46:16 c890913d741a: Download complete 07:46:18 e772456be8f7: Verifying Checksum 07:46:18 e772456be8f7: Download complete 07:46:18 09adf4765672: Verifying Checksum 07:46:18 09adf4765672: Download complete 07:46:18 2480fcc9aa5a: Verifying Checksum 07:46:18 2480fcc9aa5a: Download complete 07:46:19 fd7a069fd194: Verifying Checksum 07:46:19 fd7a069fd194: Download complete 07:46:31 fd7a069fd194: Pull complete 07:46:31 66aa3694b03b: Pull complete 07:46:31 170f70906a0f: Pull complete 07:46:35 ad7c5574e4b9: Pull complete 07:46:40 e772456be8f7: Pull complete 07:46:40 c890913d741a: Pull complete 07:46:42 2480fcc9aa5a: Pull complete 07:46:42 09adf4765672: Pull complete 07:46:42 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 07:46:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:46:42 ---> 2248a725d1cf 07:46:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:46:48 ---> Running in 75bf967a9a8d 07:46:48 Removing intermediate container 75bf967a9a8d 07:46:48 ---> 87d42dab6564 07:46:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:46:48 ---> Running in a4352639559e 07:46:50 Removing intermediate container a4352639559e 07:46:50 ---> 298647b14e8d 07:46:50 Step 5/8 : RUN apk add --no-cache make git 07:46:50 ---> Running in 3caf937c820b 07:46:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:46:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:46:53 OK: 142 MiB in 39 packages 07:46:54 Removing intermediate container 3caf937c820b 07:46:54 ---> d9a0f822e8c4 07:46:54 Step 6/8 : WORKDIR /device-sdk-go 07:46:55 ---> Running in cc7c0e946cec 07:46:55 Removing intermediate container cc7c0e946cec 07:46:55 ---> 3acb178b1ba6 07:46:55 Step 7/8 : COPY . . 07:46:56 ---> 2b4084e3ba04 07:46:56 Step 8/8 : RUN go mod download 07:46:56 ---> Running in 13f6217c07d9 07:47:00 go: finding github.com/BurntSushi/toml v0.3.1 07:47:00 go: finding github.com/OneOfOne/xxhash v1.2.6 07:47:00 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:47:00 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:47:00 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:47:00 go: finding github.com/bgentry/speakeasy v0.1.0 07:47:00 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:47:00 go: finding github.com/davecgh/go-spew v1.1.1 07:47:00 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 07:47:00 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:47:00 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:47:00 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:47:00 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:47:00 go: finding github.com/fatih/color v1.7.0 07:47:00 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:47:00 go: finding github.com/go-kit/kit v0.8.0 07:47:00 go: finding github.com/go-logfmt/logfmt v0.4.0 07:47:00 go: finding github.com/go-stack/stack v1.8.0 07:47:00 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:47:00 go: finding github.com/google/uuid v1.1.0 07:47:00 go: finding github.com/gorilla/mux v1.7.1 07:47:00 go: finding github.com/hashicorp/consul/api v1.1.0 07:47:01 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:47:01 go: finding github.com/hashicorp/errwrap v1.0.0 07:47:01 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:47:01 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:47:01 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:47:01 go: finding github.com/hashicorp/go-multierror v1.0.0 07:47:01 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:47:01 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:47:01 go: finding github.com/hashicorp/go-syslog v1.0.0 07:47:01 go: finding github.com/hashicorp/go-uuid v1.0.1 07:47:01 go: finding github.com/hashicorp/go.net v0.0.1 07:47:01 go: finding github.com/hashicorp/golang-lru v0.5.0 07:47:01 go: finding github.com/hashicorp/logutils v1.0.0 07:47:01 go: finding github.com/hashicorp/mdns v1.0.0 07:47:01 go: finding github.com/hashicorp/memberlist v0.1.3 07:47:01 go: finding github.com/hashicorp/serf v0.8.2 07:47:01 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:47:01 go: finding github.com/mattn/go-colorable v0.0.9 07:47:01 go: finding github.com/mattn/go-isatty v0.0.3 07:47:01 go: finding github.com/miekg/dns v1.0.14 07:47:01 go: finding github.com/mitchellh/cli v1.0.0 07:47:01 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:47:01 go: finding github.com/mitchellh/copystructure v1.0.0 07:47:01 go: finding github.com/mitchellh/go-homedir v1.0.0 07:47:01 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:47:02 go: finding github.com/mitchellh/gox v0.4.0 07:47:02 go: finding github.com/mitchellh/iochan v1.0.0 07:47:02 go: finding github.com/mitchellh/mapstructure v1.1.2 07:47:02 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:47:02 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:47:02 go: finding github.com/pelletier/go-toml v1.2.0 07:47:02 go: finding github.com/pkg/errors v0.8.1 07:47:02 go: finding github.com/pmezard/go-difflib v1.0.0 07:47:02 go: finding github.com/posener/complete v1.1.1 07:47:02 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:47:02 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:47:02 go: finding github.com/stretchr/objx v0.1.0 07:47:02 go: finding github.com/stretchr/testify v1.5.1 07:47:02 go: finding github.com/ugorji/go v1.1.4 07:47:02 go: finding github.com/x448/float16 v0.8.4 07:47:02 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:47:02 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:47:02 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:47:02 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:47:02 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:47:02 go: finding gopkg.in/yaml.v2 v2.2.8 07:47:02 Running on prd-centos7-docker-4c-2g-383 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 07:47:03 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:47:05 using credential edgex-jenkins-ssh 07:47:05 Cloning the remote Git repository 07:47:05 Cloning with configured refspecs honoured and without tags 07:47:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:47:05 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:47:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:47:05 > git --version # timeout=10 07:47:05 > git --version # 'git version 2.16.5' 07:47:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:47:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:47:07 Fetching without tags 07:47:07 Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 07:47:07 Merge succeeded, producing 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 07:47:07 Checking out Revision 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 (PR-571) 07:47:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:47:07 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 07:47:07 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:47:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:47:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:47:07 using GIT_SSH to set credentials SSH Credentials for GitHub 07:47:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:47:07 > git config core.sparsecheckout # timeout=10 07:47:07 > git checkout -f 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 # timeout=10 07:47:07 > git remote # timeout=10 07:47:07 > git config --get remote.origin.url # timeout=10 07:47:07 using GIT_SSH to set credentials SSH Credentials for GitHub 07:47:07 > git merge 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 07:47:07 > git rev-parse HEAD^{commit} # timeout=10 07:47:07 > git config core.sparsecheckout # timeout=10 07:47:07 > git checkout -f 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 # timeout=10 07:47:11 Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:47:12 ========================================================= 07:47:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:47:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:47:12 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 07:47:13 Removing intermediate container 13f6217c07d9 07:47:13 ---> a60c63d8953d 07:47:13 Successfully built a60c63d8953d 07:47:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 07:47:13 Sending build context to Docker daemon 3.16MB 07:47:13 Step 1/8 : ARG BASE=golang:1.13-alpine 07:47:13 Step 2/8 : FROM ${BASE} 07:47:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:47:13 df20fa9351a1: Pulling fs layer 07:47:13 ed8968b2872e: Pulling fs layer 07:47:13 a92cc7c5fd73: Pulling fs layer 07:47:13 2dd03ba5bac4: Pulling fs layer 07:47:13 1e091d79d1de: Pulling fs layer 07:47:13 481702a1767f: Pulling fs layer 07:47:13 f64a6f60c768: Pulling fs layer 07:47:13 e78d2573fc39: Pulling fs layer 07:47:13 e876d2f968b6: Pulling fs layer 07:47:13 ce8a83651883: Pulling fs layer 07:47:13 07967f4d0e4b: Pulling fs layer 07:47:13 f64a6f60c768: Waiting 07:47:13 e78d2573fc39: Waiting 07:47:13 e876d2f968b6: Waiting 07:47:13 ce8a83651883: Waiting 07:47:13 07967f4d0e4b: Waiting 07:47:13 2dd03ba5bac4: Waiting 07:47:13 1e091d79d1de: Waiting 07:47:13 481702a1767f: Waiting 07:47:13 a92cc7c5fd73: Verifying Checksum 07:47:13 a92cc7c5fd73: Download complete 07:47:13 ed8968b2872e: Verifying Checksum 07:47:13 ed8968b2872e: Download complete 07:47:13 1e091d79d1de: Verifying Checksum 07:47:13 1e091d79d1de: Download complete 07:47:13 481702a1767f: Verifying Checksum 07:47:13 481702a1767f: Download complete 07:47:13 df20fa9351a1: Verifying Checksum 07:47:13 df20fa9351a1: Download complete [Pipeline] isUnix [Pipeline] sh 07:47:13 df20fa9351a1: Pull complete 07:47:13 + docker inspect -f . ci-base-image-arm64 07:47:13 . [Pipeline] withDockerContainer 07:47:14 prd-ubuntu18.04-docker-arm64-4c-16g-382 does not seem to be running inside a container 07:47:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:47:14 f64a6f60c768: Download complete 07:47:14 e876d2f968b6: Verifying Checksum 07:47:14 e876d2f968b6: Download complete 07:47:14 ce8a83651883: Verifying Checksum 07:47:14 ce8a83651883: Download complete 07:47:15 07967f4d0e4b: Verifying Checksum 07:47:15 07967f4d0e4b: Download complete 07:47:15 e78d2573fc39: Verifying Checksum 07:47:15 e78d2573fc39: Download complete 07:47:15 2dd03ba5bac4: Verifying Checksum 07:47:15 2dd03ba5bac4: Download complete 07:47:16 $ docker top aaa50cbbf82a54f6f38462b3ba342adf5a371eea376c9e5285f5d03e8ea88962 -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:16 ed8968b2872e: Pull complete 07:47:16 a92cc7c5fd73: Pull complete 07:47:17 + go version 07:47:17 go version go1.13.13 linux/arm64 [Pipeline] sh 07:47:18 + make test 07:47:18 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:47:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:47:22 2dd03ba5bac4: Pull complete 07:47:22 1e091d79d1de: Pull complete 07:47:22 481702a1767f: Pull complete 07:47:30 f64a6f60c768: Pull complete 07:47:32 e78d2573fc39: Pull complete 07:47:32 e876d2f968b6: Pull complete 07:47:33 ce8a83651883: Pull complete 07:47:33 07967f4d0e4b: Pull complete 07:47:33 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 07:47:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:47:33 ---> 5d7c900382c6 07:47:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:47:34 ---> Running in d9853b82203f 07:47:34 Removing intermediate container d9853b82203f 07:47:34 ---> ea8ae5fb9e2a 07:47:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:47:34 ---> Running in 10b56dcfd3bb 07:47:35 Removing intermediate container 10b56dcfd3bb 07:47:35 ---> 5fd8dbb67e54 07:47:35 Step 5/8 : RUN apk add --no-cache make git 07:47:36 ---> Running in 3319284b3be2 07:47:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:47:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:47:37 OK: 166 MiB in 39 packages 07:47:38 Removing intermediate container 3319284b3be2 07:47:38 ---> fe3a987e0d63 07:47:38 Step 6/8 : WORKDIR /device-sdk-go 07:47:38 ---> Running in 3f832944c4b2 07:47:38 Removing intermediate container 3f832944c4b2 07:47:38 ---> 393981779b99 07:47:38 Step 7/8 : COPY . . 07:47:39 ---> 975a1d40a614 07:47:39 Step 8/8 : RUN go mod download 07:47:39 ---> Running in db8858ffeb70 07:47:41 go: finding github.com/BurntSushi/toml v0.3.1 07:47:41 go: finding github.com/OneOfOne/xxhash v1.2.6 07:47:41 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:47:41 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:47:41 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:47:41 go: finding github.com/bgentry/speakeasy v0.1.0 07:47:41 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:47:41 go: finding github.com/davecgh/go-spew v1.1.1 07:47:41 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 07:47:41 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:47:41 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:47:42 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:47:42 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:47:42 go: finding github.com/fatih/color v1.7.0 07:47:42 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:47:42 go: finding github.com/go-kit/kit v0.8.0 07:47:42 go: finding github.com/go-logfmt/logfmt v0.4.0 07:47:42 go: finding github.com/go-stack/stack v1.8.0 07:47:42 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:47:42 go: finding github.com/google/uuid v1.1.0 07:47:42 go: finding github.com/gorilla/mux v1.7.1 07:47:42 go: finding github.com/hashicorp/consul/api v1.1.0 07:47:42 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:47:42 go: finding github.com/hashicorp/errwrap v1.0.0 07:47:42 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:47:42 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:47:42 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:47:42 go: finding github.com/hashicorp/go-multierror v1.0.0 07:47:42 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:47:42 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:47:42 go: finding github.com/hashicorp/go-syslog v1.0.0 07:47:43 go: finding github.com/hashicorp/go-uuid v1.0.1 07:47:43 go: finding github.com/hashicorp/go.net v0.0.1 07:47:43 go: finding github.com/hashicorp/golang-lru v0.5.0 07:47:43 go: finding github.com/hashicorp/logutils v1.0.0 07:47:43 go: finding github.com/hashicorp/mdns v1.0.0 07:47:43 go: finding github.com/hashicorp/memberlist v0.1.3 07:47:43 go: finding github.com/hashicorp/serf v0.8.2 07:47:43 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:47:43 go: finding github.com/mattn/go-colorable v0.0.9 07:47:43 go: finding github.com/mattn/go-isatty v0.0.3 07:47:43 go: finding github.com/miekg/dns v1.0.14 07:47:43 go: finding github.com/mitchellh/cli v1.0.0 07:47:43 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:47:43 go: finding github.com/mitchellh/copystructure v1.0.0 07:47:43 go: finding github.com/mitchellh/go-homedir v1.0.0 07:47:43 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:47:43 go: finding github.com/mitchellh/gox v0.4.0 07:47:43 go: finding github.com/mitchellh/iochan v1.0.0 07:47:43 go: finding github.com/mitchellh/mapstructure v1.1.2 07:47:43 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:47:43 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:47:43 go: finding github.com/pelletier/go-toml v1.2.0 07:47:43 go: finding github.com/pkg/errors v0.8.1 07:47:43 go: finding github.com/pmezard/go-difflib v1.0.0 07:47:43 go: finding github.com/posener/complete v1.1.1 07:47:43 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:47:43 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:47:44 go: finding github.com/stretchr/objx v0.1.0 07:47:44 go: finding github.com/stretchr/testify v1.5.1 07:47:44 go: finding github.com/ugorji/go v1.1.4 07:47:44 go: finding github.com/x448/float16 v0.8.4 07:47:44 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:47:44 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:47:44 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:47:44 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:47:44 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:47:44 go: finding gopkg.in/yaml.v2 v2.2.8 07:47:46 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:47:46 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:47:46 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:47:46 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.044s coverage: 20.8% of statements 07:47:52 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.153s coverage: 97.1% of statements 07:47:52 Removing intermediate container db8858ffeb70 07:47:52 ---> 532ea68fff95 07:47:52 Successfully built 532ea68fff95 07:47:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:47:53 + docker inspect -f . ci-base-image-x86_64 07:47:53 . [Pipeline] withDockerContainer 07:47:53 prd-centos7-docker-4c-2g-383 does not seem to be running inside a container 07:47:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:47:54 $ docker top 1dab35ef47278d0e4efb8d19c878f563b7d6ddaa47dee9b1f14cc90a41b4294c -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:55 + go version 07:47:55 go version go1.13.13 linux/amd64 [Pipeline] sh 07:47:55 + make test 07:47:55 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:47:56 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:48:06 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:48:06 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:48:06 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:48:06 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 20.8% of statements 07:48:08 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.064s coverage: 97.1% of statements 07:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.021s coverage: 9.4% of statements 07:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.9% of statements 07:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.068s coverage: 37.0% of statements 07:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.111s coverage: 65.4% of statements 07:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.035s coverage: 52.6% of statements 07:48:24 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.361s coverage: 68.9% of statements 07:48:24 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:48:24 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:48:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:48:27 gofmt -l . 07:48:27 pkg/service/init.go 07:48:27 [ "`gofmt -l .`" = "" ] 07:48:27 make: *** [Makefile:32: test] Error 1 [Pipeline] } 07:48:27 $ docker stop --time=1 aaa50cbbf82a54f6f38462b3ba342adf5a371eea376c9e5285f5d03e8ea88962 07:48:29 $ docker rm -f aaa50cbbf82a54f6f38462b3ba342adf5a371eea376c9e5285f5d03e8ea88962 [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] } 07:48:31 Failed in branch arm64 07:48:40 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.012s coverage: 9.4% of statements 07:48:40 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.9% of statements 07:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:48:40 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.019s coverage: 37.0% of statements 07:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:48:40 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.050s coverage: 65.4% of statements 07:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:48:40 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.007s coverage: 52.6% of statements 07:48:40 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 68.9% of statements 07:48:40 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:48:40 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:48:40 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:48:40 gofmt -l . 07:48:40 pkg/service/init.go 07:48:40 [ "`gofmt -l .`" = "" ] 07:48:40 make: *** [Makefile:32: test] Error 1 [Pipeline] } 07:48:40 $ docker stop --time=1 1dab35ef47278d0e4efb8d19c878f563b7d6ddaa47dee9b1f14cc90a41b4294c 07:48:41 $ docker rm -f 1dab35ef47278d0e4efb8d19c878f563b7d6ddaa47dee9b1f14cc90a41b4294c [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] } 07:48:43 Failed in branch amd64 [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 07:48:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:48:46 ---> package-listing.sh 07:48:46 ++ facter osfamily 07:48:46 ++ tr '[:upper:]' '[:lower:]' 07:48:46 + OS_FAMILY=redhat 07:48:46 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 07:48:46 + START_PACKAGES=/tmp/packages_start.txt 07:48:46 + END_PACKAGES=/tmp/packages_end.txt 07:48:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:48:46 + PACKAGES=/tmp/packages_start.txt 07:48:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 07:48:46 + PACKAGES=/tmp/packages_end.txt 07:48:46 + case "${OS_FAMILY}" in 07:48:46 + rpm -qa 07:48:46 + sort 07:48:50 + '[' -f /tmp/packages_start.txt ']' 07:48:50 + '[' -f /tmp/packages_end.txt ']' 07:48:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:48:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 07:48:50 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ 07:48:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh 07:48:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:48:51 07:48:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:48:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:48:51 alpine: Pulling from edgex-lftools-log-publisher 07:48:51 c9b1b535fdd9: Pulling fs layer 07:48:51 2cc5ad85d9ab: Pulling fs layer 07:48:51 756a868c4378: Pulling fs layer 07:48:51 444b2fc9a129: Pulling fs layer 07:48:51 ea15f1150254: Pulling fs layer 07:48:51 41b27a9f41bf: Pulling fs layer 07:48:51 28c525ee5125: Pulling fs layer 07:48:51 094b1ea09ed8: Pulling fs layer 07:48:51 138eaada9080: Pulling fs layer 07:48:51 0622d0fa9048: Pulling fs layer 07:48:51 41b27a9f41bf: Waiting 07:48:51 28c525ee5125: Waiting 07:48:51 094b1ea09ed8: Waiting 07:48:51 138eaada9080: Waiting 07:48:51 0622d0fa9048: Waiting 07:48:51 444b2fc9a129: Waiting 07:48:51 ea15f1150254: Waiting 07:48:51 2cc5ad85d9ab: Download complete 07:48:51 444b2fc9a129: Verifying Checksum 07:48:51 444b2fc9a129: Download complete 07:48:51 c9b1b535fdd9: Verifying Checksum 07:48:51 c9b1b535fdd9: Download complete 07:48:51 ea15f1150254: Verifying Checksum 07:48:51 ea15f1150254: Download complete 07:48:51 28c525ee5125: Verifying Checksum 07:48:51 28c525ee5125: Download complete 07:48:52 756a868c4378: Verifying Checksum 07:48:52 756a868c4378: Download complete 07:48:52 c9b1b535fdd9: Pull complete 07:48:52 138eaada9080: Verifying Checksum 07:48:52 138eaada9080: Download complete 07:48:52 0622d0fa9048: Verifying Checksum 07:48:52 0622d0fa9048: Download complete 07:48:52 094b1ea09ed8: Verifying Checksum 07:48:52 094b1ea09ed8: Download complete 07:48:52 41b27a9f41bf: Verifying Checksum 07:48:52 41b27a9f41bf: Download complete 07:48:52 2cc5ad85d9ab: Pull complete 07:48:54 756a868c4378: Pull complete 07:48:54 444b2fc9a129: Pull complete 07:48:54 ea15f1150254: Pull complete 07:48:58 41b27a9f41bf: Pull complete 07:48:58 28c525ee5125: Pull complete 07:49:00 094b1ea09ed8: Pull complete 07:49:01 138eaada9080: Pull complete 07:49:01 0622d0fa9048: Pull complete 07:49:01 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:49:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:49:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:49:01 prd-centos7-docker-4c-2g-381 does not seem to be running inside a container 07:49:01 $ 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-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@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 07:49:05 $ docker top 2949a53a0748fa3ff96f753a09c8d1c70b10a10bb49b21f8ee756760cf4853f9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:49:05 provisioning config files... 07:49:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config2497077063315591361tmp [Pipeline] { [Pipeline] echo 07:49:05 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:49:06 ---> create-netrc.sh [Pipeline] echo 07:49:06 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:49:06 ---> logs-deploy.sh 07:49:06 + ARCHIVE_ARTIFACTS= 07:49:06 + LOGS_SERVER=https://logs.edgexfoundry.org 07:49:06 + '[' https://logs.edgexfoundry.org == None ']' 07:49:06 + NEXUS_URL=https://nexus.edgexfoundry.org 07:49:06 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/2 07:49:06 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-571/2/ 07:49:06 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/2 /w/workspace/dgexfoundry_device-sdk-go_PR-571 07:49:07 Archives upload complete. 07:49:07 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-571/2/