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 worldmaomao for edgexfoundry/device-sdk-go Loading trusted files from base branch master at fc4d8ba2ca6bee1bf2e474e60f47b75130718504 rather than e0722f9e20d49a32b5cedf8546d3837b34645e6f Obtained Jenkinsfile from fc4d8ba2ca6bee1bf2e474e60f47b75130718504 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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 [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 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 SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4299 in /w/workspace/dgexfoundry_device-sdk-go_PR-485 [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-485 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit e0722f9e20d49a32b5cedf8546d3837b34645e6f > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/485/head:refs/remotes/origin/PR-485 # 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/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0722f9e20d49a32b5cedf8546d3837b34645e6f # timeout=10 > git remote # timeout=10 Merge succeeded, producing b82c5621656ac052fb76920bbea495cac15d7e33 Checking out Revision b82c5621656ac052fb76920bbea495cac15d7e33 (PR-485) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b82c5621656ac052fb76920bbea495cac15d7e33 # timeout=10 Commit message: "Merge commit 'fc4d8ba2ca6bee1bf2e474e60f47b75130718504' into HEAD" > git rev-list --no-walk e0722f9e20d49a32b5cedf8546d3837b34645e6f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:42:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:42:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:42:27 ========================================================= 14:42:27 EdgeX Global Pipelines Version Info 14:42:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:42:31 ------------------- 14:42:31 stable info: 14:42:31 ------------------- 14:42:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:42:31 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 14:42:31 Message: update stable to v1.0.73 14:42:32 ------------------- 14:42:32 experimental info: 14:42:32 ------------------- 14:42:32 Commited By: **** collab-it+edgex@linuxfoundation.org 14:42:32 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 14:42:32 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:42:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:35 14:42:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:42:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:37 latest: Pulling from edgex-devops/git-semver 14:42:37 9123ac7c32f7: Pulling fs layer 14:42:37 b8cc5d1170e3: Pulling fs layer 14:42:37 2924cbbf6a41: Pulling fs layer 14:42:37 93b08a4f1073: Pulling fs layer 14:42:37 93b08a4f1073: Waiting 14:42:37 b8cc5d1170e3: Verifying Checksum 14:42:37 b8cc5d1170e3: Download complete 14:42:37 9123ac7c32f7: Verifying Checksum 14:42:37 9123ac7c32f7: Download complete 14:42:37 93b08a4f1073: Verifying Checksum 14:42:37 93b08a4f1073: Download complete 14:42:38 2924cbbf6a41: Verifying Checksum 14:42:38 2924cbbf6a41: Download complete 14:42:38 9123ac7c32f7: Pull complete 14:42:39 b8cc5d1170e3: Pull complete 14:42:45 2924cbbf6a41: Pull complete 14:42:45 93b08a4f1073: Pull complete 14:42:45 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:42:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:42:46 prd-centos7-docker-4c-2g-4299 does not seem to be running inside a container 14:42:46 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-485 -v /w/workspace/dgexfoundry_device-sdk-go_PR-485:/w/workspace/dgexfoundry_device-sdk-go_PR-485:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-485@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:42:50 $ docker top a7d1db3fec61d848200bf079325d5b57d699bfed7e914813b458344a1789a534 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:42:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:51 [ssh-agent] Looking for ssh-agent implementation... 14:42:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:52 $ docker exec a7d1db3fec61d848200bf079325d5b57d699bfed7e914813b458344a1789a534 ssh-agent 14:42:53 SSH_AUTH_SOCK=/tmp/ssh-F5Q1C3ehTEfT/agent.15 14:42:53 SSH_AGENT_PID=22 14:42:53 Running ssh-add (command line suppressed) 14:42:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp/private_key_3730667273644892710.key (/w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp/private_key_3730667273644892710.key) 14:42:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:56 + git describe --exact-match --tags HEAD 14:42:56 fatal: No names found, cannot describe anything. [Pipeline] } 14:42:57 $ docker exec --env ******** --env ******** a7d1db3fec61d848200bf079325d5b57d699bfed7e914813b458344a1789a534 ssh-agent -k 14:42:58 unset SSH_AUTH_SOCK; 14:42:58 unset SSH_AGENT_PID; 14:42:58 echo Agent pid 22 killed; 14:42:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:42:58 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:42:58 This usually means this commit has not been tagged. [Pipeline] sshagent 14:42:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:58 [ssh-agent] Looking for ssh-agent implementation... 14:43:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:43:01 $ docker exec a7d1db3fec61d848200bf079325d5b57d699bfed7e914813b458344a1789a534 ssh-agent 14:43:03 SSH_AUTH_SOCK=/tmp/ssh-pGtzjGpfnhVa/agent.56 14:43:03 SSH_AGENT_PID=62 14:43:03 Running ssh-add (command line suppressed) 14:43:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp/private_key_1449284345982604193.key (/w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp/private_key_1449284345982604193.key) 14:43:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:43:06 + git semver init 14:43:06 # -> Open(): unable to determine branch for HEAD 14:43:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-485/.git 14:43:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-485 14:43:06 # $SEMVER_REMOTE_NAME = origin 14:43:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:43:06 # $SEMVER_USER_NAME = edgex-jenkins 14:43:06 # $SEMVER_BRANCH = PR-485 14:43:06 # $SEMVER_TEMP = /tmp/semver-465107913 14:43:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:43:07 # '/tmp/semver-465107913' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-485/.semver' 14:43:07 # -> Force: false 14:43:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-485/.semver [Pipeline] } 14:43:07 $ docker exec --env ******** --env ******** a7d1db3fec61d848200bf079325d5b57d699bfed7e914813b458344a1789a534 ssh-agent -k 14:43:08 unset SSH_AUTH_SOCK; 14:43:08 unset SSH_AGENT_PID; 14:43:08 echo Agent pid 62 killed; 14:43:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:43:09 + git semver [Pipeline] } 14:43:09 $ docker stop --time=1 a7d1db3fec61d848200bf079325d5b57d699bfed7e914813b458344a1789a534 14:43:10 $ docker rm -f a7d1db3fec61d848200bf079325d5b57d699bfed7e914813b458344a1789a534 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:43:12 Stashed 44 file(s) [Pipeline] echo 14:43:12 [edgeXSemver] initialized semver on version 0.0.0 [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 14:43:27 Still waiting to schedule task 14:43:27 Still waiting to schedule task 14:43:27 ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4291’ is offline; ‘prd-centos7-docker-4c-2g-4307’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4303’ doesn’t have label ‘centos7-docker-4c-2g’ 14:43:27 ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4291’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4307’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4303’ is offline 14:46:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4312 in /w/workspace/dgexfoundry_device-sdk-go_PR-485 [Pipeline] { [Pipeline] ws 14:46:32 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 14:46:40 using credential edgex-jenkins-ssh 14:46:40 Cloning the remote Git repository 14:46:40 Cloning with configured refspecs honoured and without tags 14:46:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:46:40 > git init /w/workspace/device-sdk-go/3 # timeout=10 14:46:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:46:40 > git --version # timeout=10 14:46:40 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:42 Fetching without tags 14:46:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:46:42 > git config --add remote.origin.fetch +refs/pull/485/head:refs/remotes/origin/PR-485 # timeout=10 14:46:42 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:46:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:46:42 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:42 Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit e0722f9e20d49a32b5cedf8546d3837b34645e6f 14:46:43 Merge succeeded, producing 8e75d1aa08932ea7da41f7603a7ccc3ba8054b4b 14:46:43 Checking out Revision 8e75d1aa08932ea7da41f7603a7ccc3ba8054b4b (PR-485) 14:46:42 > git config core.sparsecheckout # timeout=10 14:46:42 > git checkout -f e0722f9e20d49a32b5cedf8546d3837b34645e6f # timeout=10 14:46:43 > git remote # timeout=10 14:46:43 > git config --get remote.origin.url # timeout=10 14:46:43 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:43 > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 14:46:43 > git rev-parse HEAD^{commit} # timeout=10 14:46:43 > git config core.sparsecheckout # timeout=10 14:46:43 > git checkout -f 8e75d1aa08932ea7da41f7603a7ccc3ba8054b4b # timeout=10 14:46:48 Commit message: "Merge commit 'fc4d8ba2ca6bee1bf2e474e60f47b75130718504' into HEAD" 14:46:48 > git rev-list --no-walk e0722f9e20d49a32b5cedf8546d3837b34645e6f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:46:49 ========================================================= 14:46:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:46:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:46:51 + 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 . 14:46:52 Sending build context to Docker daemon 2.888MB 14:46:52 Step 1/8 : ARG BASE=golang:1.13-alpine 14:46:52 Step 2/8 : FROM ${BASE} 14:46:52 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:46:52 cde5963f3b93: Pulling fs layer 14:46:52 2a23fa8c16f7: Pulling fs layer 14:46:52 777b28850792: Pulling fs layer 14:46:52 8a11ddd9e578: Pulling fs layer 14:46:52 4cf88f913ddb: Pulling fs layer 14:46:52 1df406cf5192: Pulling fs layer 14:46:52 cd6300453558: Pulling fs layer 14:46:52 b9c365052c96: Pulling fs layer 14:46:52 a2d8cc88f415: Pulling fs layer 14:46:52 ea1d1ca13537: Pulling fs layer 14:46:52 3750a50a1c5e: Pulling fs layer 14:46:52 8a11ddd9e578: Waiting 14:46:52 4cf88f913ddb: Waiting 14:46:52 a2d8cc88f415: Waiting 14:46:52 ea1d1ca13537: Waiting 14:46:52 1df406cf5192: Waiting 14:46:52 3750a50a1c5e: Waiting 14:46:52 b9c365052c96: Waiting 14:46:52 cd6300453558: Waiting 14:46:52 777b28850792: Verifying Checksum 14:46:52 777b28850792: Download complete 14:46:52 2a23fa8c16f7: Verifying Checksum 14:46:52 2a23fa8c16f7: Download complete 14:46:52 4cf88f913ddb: Verifying Checksum 14:46:52 4cf88f913ddb: Download complete 14:46:52 1df406cf5192: Verifying Checksum 14:46:52 1df406cf5192: Download complete 14:46:53 cde5963f3b93: Verifying Checksum 14:46:54 cde5963f3b93: Pull complete 14:46:55 2a23fa8c16f7: Pull complete 14:46:55 777b28850792: Pull complete 14:46:57 cd6300453558: Verifying Checksum 14:46:57 cd6300453558: Download complete 14:46:57 a2d8cc88f415: Verifying Checksum 14:46:57 a2d8cc88f415: Download complete 14:46:59 ea1d1ca13537: Verifying Checksum 14:46:59 ea1d1ca13537: Download complete 14:46:59 3750a50a1c5e: Verifying Checksum 14:46:59 3750a50a1c5e: Download complete 14:47:03 b9c365052c96: Verifying Checksum 14:47:03 b9c365052c96: Download complete 14:47:04 8a11ddd9e578: Verifying Checksum 14:47:04 8a11ddd9e578: Download complete 14:47:17 8a11ddd9e578: Pull complete 14:47:17 4cf88f913ddb: Pull complete 14:47:17 1df406cf5192: Pull complete 14:47:21 cd6300453558: Pull complete 14:47:25 b9c365052c96: Pull complete 14:47:25 a2d8cc88f415: Pull complete 14:47:27 ea1d1ca13537: Pull complete 14:47:28 3750a50a1c5e: Pull complete 14:47:28 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:47:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:47:28 ---> 78745c68409d 14:47:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:47:32 ---> Running in ee37b10695dc 14:47:32 Removing intermediate container ee37b10695dc 14:47:32 ---> d1cba0d0173b 14:47:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:47:33 ---> Running in 954543ff3360 14:47:35 Removing intermediate container 954543ff3360 14:47:35 ---> bfb4548c67c9 14:47:35 Step 5/8 : RUN apk add --no-cache make git 14:47:35 ---> Running in 8af8101ac13b 14:47:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:47:37 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:47:38 OK: 125 MiB in 39 packages 14:47:39 Removing intermediate container 8af8101ac13b 14:47:39 ---> c980a7c72dfd 14:47:39 Step 6/8 : WORKDIR /device-sdk-go 14:47:39 ---> Running in 95cdf06f98f4 14:47:40 Removing intermediate container 95cdf06f98f4 14:47:40 ---> f04e53fc3595 14:47:40 Step 7/8 : COPY . . 14:47:41 ---> ffffcdd276e6 14:47:41 Step 8/8 : RUN go mod download 14:47:41 ---> Running in ca7f3a24d799 14:47:43 go: finding github.com/BurntSushi/toml v0.3.1 14:47:43 go: finding github.com/OneOfOne/xxhash v1.2.6 14:47:43 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:47:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:47:43 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:47:43 go: finding github.com/bgentry/speakeasy v0.1.0 14:47:43 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:47:43 go: finding github.com/davecgh/go-spew v1.1.1 14:47:43 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:47:43 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:47:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:47:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:47:43 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:47:43 go: finding github.com/fatih/color v1.7.0 14:47:43 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:47:43 go: finding github.com/go-kit/kit v0.8.0 14:47:43 go: finding github.com/go-logfmt/logfmt v0.4.0 14:47:43 go: finding github.com/go-stack/stack v1.8.0 14:47:43 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:47:43 go: finding github.com/google/uuid v1.1.0 14:47:43 go: finding github.com/gorilla/mux v1.7.1 14:47:43 go: finding github.com/hashicorp/consul/api v1.1.0 14:47:43 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:47:43 go: finding github.com/hashicorp/errwrap v1.0.0 14:47:43 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:47:43 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:47:43 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:47:43 go: finding github.com/hashicorp/go-multierror v1.0.0 14:47:43 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:47:43 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:47:43 go: finding github.com/hashicorp/go-syslog v1.0.0 14:47:43 go: finding github.com/hashicorp/go-uuid v1.0.1 14:47:43 go: finding github.com/hashicorp/go.net v0.0.1 14:47:43 go: finding github.com/hashicorp/golang-lru v0.5.0 14:47:43 go: finding github.com/hashicorp/logutils v1.0.0 14:47:43 go: finding github.com/hashicorp/mdns v1.0.0 14:47:43 go: finding github.com/hashicorp/memberlist v0.1.3 14:47:43 go: finding github.com/hashicorp/serf v0.8.2 14:47:43 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:47:43 go: finding github.com/mattn/go-colorable v0.0.9 14:47:43 go: finding github.com/mattn/go-isatty v0.0.3 14:47:43 go: finding github.com/miekg/dns v1.0.14 14:47:43 go: finding github.com/mitchellh/cli v1.0.0 14:47:43 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:47:43 go: finding github.com/mitchellh/copystructure v1.0.0 14:47:43 go: finding github.com/mitchellh/go-homedir v1.0.0 14:47:43 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:47:43 go: finding github.com/mitchellh/gox v0.4.0 14:47:43 go: finding github.com/mitchellh/iochan v1.0.0 14:47:43 go: finding github.com/mitchellh/mapstructure v1.1.2 14:47:43 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:47:43 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:47:43 go: finding github.com/pelletier/go-toml v1.2.0 14:47:43 go: finding github.com/pkg/errors v0.8.1 14:47:43 go: finding github.com/pmezard/go-difflib v1.0.0 14:47:43 go: finding github.com/posener/complete v1.1.1 14:47:43 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:47:43 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:47:43 go: finding github.com/stretchr/objx v0.1.0 14:47:43 go: finding github.com/stretchr/testify v1.5.1 14:47:43 go: finding github.com/ugorji/go v1.1.4 14:47:43 go: finding github.com/x448/float16 v0.8.4 14:47:43 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:47:44 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:47:44 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:47:44 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:47:44 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:47:44 go: finding gopkg.in/yaml.v2 v2.2.8 14:47:54 Removing intermediate container ca7f3a24d799 14:47:54 ---> 4e7808bd28da 14:47:54 Successfully built 4e7808bd28da 14:47:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:47:54 + docker inspect -f . ci-base-image-arm64 14:47:55 . [Pipeline] withDockerContainer 14:47:55 prd-ubuntu18.04-docker-arm64-4c-16g-4312 does not seem to be running inside a container 14:47:55 $ 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 ******** ci-base-image-arm64 cat 14:47:57 $ docker top de58f51b4c8c9f97314d9ca6b508b9416ec98634b99be5560fd56abc9a195817 -eo pid,comm [Pipeline] { [Pipeline] sh 14:47:58 + go version 14:47:58 go version go1.13.5 linux/arm64 [Pipeline] sh 14:47:59 + make test 14:47:59 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:48:00 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:48:32 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:48:32 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:48:32 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.062s coverage: 22.1% of statements 14:48:34 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.141s coverage: 95.8% of statements 14:49:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 11.4% of statements 14:49:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.015s coverage: 22.1% of statements 14:49:06 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:49:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.130s coverage: 38.5% of statements 14:49:06 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:49:06 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:49:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.756s coverage: 79.8% of statements 14:49:06 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:49:06 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:49:06 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:49:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 14:49:06 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:49:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.327s coverage: 71.4% of statements 14:49:06 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:49:06 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:49:06 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:49:10 gofmt -l . 14:49:10 internal/handler/callback/profile.go 14:49:11 [ "`gofmt -l .`" = "" ] 14:49:11 make: *** [Makefile:32: test] Error 1 [Pipeline] } 14:49:11 $ docker stop --time=1 de58f51b4c8c9f97314d9ca6b508b9416ec98634b99be5560fd56abc9a195817 14:49:13 $ docker rm -f de58f51b4c8c9f97314d9ca6b508b9416ec98634b99be5560fd56abc9a195817 [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] } 14:49:15 Failed in branch arm64 14:49:22 Running on prd-centos7-docker-4c-2g-4314 in /w/workspace/dgexfoundry_device-sdk-go_PR-485 [Pipeline] { [Pipeline] ws 14:49:22 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 14:49:32 using credential edgex-jenkins-ssh 14:49:32 Cloning the remote Git repository 14:49:32 Cloning with configured refspecs honoured and without tags 14:49:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:49:32 > git init /w/workspace/device-sdk-go/3 # timeout=10 14:49:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:49:32 > git --version # timeout=10 14:49:33 using GIT_SSH to set credentials SSH Credentials for GitHub 14:49:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:49:34 Fetching without tags 14:49:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:49:34 > git config --add remote.origin.fetch +refs/pull/485/head:refs/remotes/origin/PR-485 # timeout=10 14:49:34 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:49:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:49:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:49:34 using GIT_SSH to set credentials SSH Credentials for GitHub 14:49:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:49:35 Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit e0722f9e20d49a32b5cedf8546d3837b34645e6f 14:49:35 Merge succeeded, producing 1f2ce60fc1abb37733f4fe2c42ea1938cc400860 14:49:35 Checking out Revision 1f2ce60fc1abb37733f4fe2c42ea1938cc400860 (PR-485) 14:49:35 > git config core.sparsecheckout # timeout=10 14:49:35 > git checkout -f e0722f9e20d49a32b5cedf8546d3837b34645e6f # timeout=10 14:49:35 > git remote # timeout=10 14:49:35 > git config --get remote.origin.url # timeout=10 14:49:35 using GIT_SSH to set credentials SSH Credentials for GitHub 14:49:35 > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 14:49:35 > git rev-parse HEAD^{commit} # timeout=10 14:49:35 > git config core.sparsecheckout # timeout=10 14:49:35 > git checkout -f 1f2ce60fc1abb37733f4fe2c42ea1938cc400860 # timeout=10 14:49:40 Commit message: "Merge commit 'fc4d8ba2ca6bee1bf2e474e60f47b75130718504' into HEAD" 14:49:40 > git rev-list --no-walk e0722f9e20d49a32b5cedf8546d3837b34645e6f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:49:41 ========================================================= 14:49:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:49:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:49:42 + 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 . 14:49:44 Sending build context to Docker daemon 2.886MB 14:49:44 Step 1/8 : ARG BASE=golang:1.13-alpine 14:49:44 Step 2/8 : FROM ${BASE} 14:49:44 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:49:44 e6b0cf9c0882: Pulling fs layer 14:49:44 2848faf0eed1: Pulling fs layer 14:49:44 0f37312ad70f: Pulling fs layer 14:49:44 5788d62ee057: Pulling fs layer 14:49:44 0e6b1d234666: Pulling fs layer 14:49:44 bf5d7aec512f: Pulling fs layer 14:49:44 34c802a77dc8: Pulling fs layer 14:49:44 9eb99e56ec68: Pulling fs layer 14:49:44 27c7a5d97fbd: Pulling fs layer 14:49:44 5c102a31e300: Pulling fs layer 14:49:44 dcfb455df0a1: Pulling fs layer 14:49:44 34c802a77dc8: Waiting 14:49:44 9eb99e56ec68: Waiting 14:49:44 27c7a5d97fbd: Waiting 14:49:44 5c102a31e300: Waiting 14:49:44 dcfb455df0a1: Waiting 14:49:44 5788d62ee057: Waiting 14:49:44 0e6b1d234666: Waiting 14:49:44 bf5d7aec512f: Waiting 14:49:44 2848faf0eed1: Verifying Checksum 14:49:44 2848faf0eed1: Download complete 14:49:44 0f37312ad70f: Verifying Checksum 14:49:44 0f37312ad70f: Download complete 14:49:44 0e6b1d234666: Verifying Checksum 14:49:44 0e6b1d234666: Download complete 14:49:44 bf5d7aec512f: Verifying Checksum 14:49:44 bf5d7aec512f: Download complete 14:49:44 e6b0cf9c0882: Verifying Checksum 14:49:44 e6b0cf9c0882: Download complete 14:49:44 e6b0cf9c0882: Pull complete 14:49:45 2848faf0eed1: Pull complete 14:49:45 0f37312ad70f: Pull complete 14:49:47 34c802a77dc8: Verifying Checksum 14:49:47 34c802a77dc8: Download complete 14:49:47 27c7a5d97fbd: Verifying Checksum 14:49:47 27c7a5d97fbd: Download complete 14:49:51 5c102a31e300: Verifying Checksum 14:49:51 5c102a31e300: Download complete 14:49:51 dcfb455df0a1: Verifying Checksum 14:49:51 dcfb455df0a1: Download complete 14:49:51 5788d62ee057: Verifying Checksum 14:49:51 5788d62ee057: Download complete 14:49:51 9eb99e56ec68: Verifying Checksum 14:49:51 9eb99e56ec68: Download complete 14:50:02 5788d62ee057: Pull complete 14:50:02 0e6b1d234666: Pull complete 14:50:02 bf5d7aec512f: Pull complete 14:50:07 34c802a77dc8: Pull complete 14:50:13 9eb99e56ec68: Pull complete 14:50:13 27c7a5d97fbd: Pull complete 14:50:14 5c102a31e300: Pull complete 14:50:15 dcfb455df0a1: Pull complete 14:50:15 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:50:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:50:15 ---> 7c70fe431013 14:50:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:50:15 ---> Running in e3b7f518dba7 14:50:15 Removing intermediate container e3b7f518dba7 14:50:15 ---> e336bbfb2fa5 14:50:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:50:15 ---> Running in 5caae50a71ff 14:50:18 Removing intermediate container 5caae50a71ff 14:50:18 ---> 1f664cf070d5 14:50:18 Step 5/8 : RUN apk add --no-cache make git 14:50:18 ---> Running in 9d554f2a8428 14:50:19 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:50:20 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:50:20 OK: 143 MiB in 39 packages 14:50:21 Removing intermediate container 9d554f2a8428 14:50:21 ---> dbd1a399bf25 14:50:21 Step 6/8 : WORKDIR /device-sdk-go 14:50:21 ---> Running in 65d1a27e0564 14:50:21 Removing intermediate container 65d1a27e0564 14:50:21 ---> 4cc76e70e072 14:50:21 Step 7/8 : COPY . . 14:50:22 ---> cd313f835ec6 14:50:22 Step 8/8 : RUN go mod download 14:50:22 ---> Running in 147a9ca39f18 14:50:25 go: finding github.com/BurntSushi/toml v0.3.1 14:50:25 go: finding github.com/OneOfOne/xxhash v1.2.6 14:50:25 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:50:25 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:50:25 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:50:25 go: finding github.com/bgentry/speakeasy v0.1.0 14:50:25 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:50:25 go: finding github.com/davecgh/go-spew v1.1.1 14:50:25 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:50:25 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:50:25 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:50:25 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:50:25 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:50:25 go: finding github.com/fatih/color v1.7.0 14:50:25 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:50:25 go: finding github.com/go-kit/kit v0.8.0 14:50:25 go: finding github.com/go-logfmt/logfmt v0.4.0 14:50:25 go: finding github.com/go-stack/stack v1.8.0 14:50:25 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:50:25 go: finding github.com/google/uuid v1.1.0 14:50:25 go: finding github.com/gorilla/mux v1.7.1 14:50:25 go: finding github.com/hashicorp/consul/api v1.1.0 14:50:25 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:50:25 go: finding github.com/hashicorp/errwrap v1.0.0 14:50:25 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:50:25 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:50:25 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:50:25 go: finding github.com/hashicorp/go-multierror v1.0.0 14:50:25 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:50:25 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:50:25 go: finding github.com/hashicorp/go-syslog v1.0.0 14:50:25 go: finding github.com/hashicorp/go-uuid v1.0.1 14:50:25 go: finding github.com/hashicorp/go.net v0.0.1 14:50:25 go: finding github.com/hashicorp/golang-lru v0.5.0 14:50:25 go: finding github.com/hashicorp/logutils v1.0.0 14:50:25 go: finding github.com/hashicorp/mdns v1.0.0 14:50:25 go: finding github.com/hashicorp/memberlist v0.1.3 14:50:25 go: finding github.com/hashicorp/serf v0.8.2 14:50:25 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:50:25 go: finding github.com/mattn/go-colorable v0.0.9 14:50:25 go: finding github.com/mattn/go-isatty v0.0.3 14:50:25 go: finding github.com/miekg/dns v1.0.14 14:50:25 go: finding github.com/mitchellh/cli v1.0.0 14:50:25 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:50:25 go: finding github.com/mitchellh/copystructure v1.0.0 14:50:25 go: finding github.com/mitchellh/go-homedir v1.0.0 14:50:25 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:50:25 go: finding github.com/mitchellh/gox v0.4.0 14:50:25 go: finding github.com/mitchellh/iochan v1.0.0 14:50:25 go: finding github.com/mitchellh/mapstructure v1.1.2 14:50:25 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:50:25 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:50:25 go: finding github.com/pelletier/go-toml v1.2.0 14:50:25 go: finding github.com/pkg/errors v0.8.1 14:50:25 go: finding github.com/pmezard/go-difflib v1.0.0 14:50:25 go: finding github.com/posener/complete v1.1.1 14:50:25 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:50:25 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:50:25 go: finding github.com/stretchr/objx v0.1.0 14:50:25 go: finding github.com/stretchr/testify v1.5.1 14:50:25 go: finding github.com/ugorji/go v1.1.4 14:50:25 go: finding github.com/x448/float16 v0.8.4 14:50:25 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:50:25 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:50:25 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:50:25 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:50:25 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:50:25 go: finding gopkg.in/yaml.v2 v2.2.8 14:50:34 Removing intermediate container 147a9ca39f18 14:50:34 ---> 608a403f8f31 14:50:34 Successfully built 608a403f8f31 14:50:34 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 14:50:34 + docker inspect -f . ci-base-image-x86_64 14:50:35 . [Pipeline] withDockerContainer 14:50:35 prd-centos7-docker-4c-2g-4314 does not seem to be running inside a container 14:50:35 $ 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 ******** ci-base-image-x86_64 cat 14:50:36 $ docker top 168f469e549e52510cef2dba5a24bf8b59244fcb4bf4a32555936f9db4d26498 -eo pid,comm [Pipeline] { [Pipeline] sh 14:50:37 + go version 14:50:37 go version go1.13.5 linux/amd64 [Pipeline] sh 14:50:38 + make test 14:50:38 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:50:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:50:54 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:50:54 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:50:56 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 22.1% of statements 14:51:00 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.096s coverage: 95.8% of statements 14:51:27 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.095s coverage: 11.4% of statements 14:51:27 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.032s coverage: 22.1% of statements 14:51:27 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:51:27 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.307s coverage: 38.5% of statements 14:51:27 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:51:27 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:51:27 ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.103s coverage: 79.8% of statements 14:51:27 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:51:27 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:51:27 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:51:27 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements 14:51:27 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:51:27 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.114s coverage: 71.4% of statements 14:51:27 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:51:27 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:51:27 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:51:30 gofmt -l . 14:51:30 internal/handler/callback/profile.go 14:51:30 [ "`gofmt -l .`" = "" ] 14:51:30 make: *** [Makefile:32: test] Error 1 [Pipeline] } 14:51:30 $ docker stop --time=1 168f469e549e52510cef2dba5a24bf8b59244fcb4bf4a32555936f9db4d26498 14:51:32 $ docker rm -f 168f469e549e52510cef2dba5a24bf8b59244fcb4bf4a32555936f9db4d26498 [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] } 14:51:34 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] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 14:51:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:51:36 ---> package-listing.sh 14:51:36 ++ facter osfamily 14:51:36 ++ tr '[:upper:]' '[:lower:]' 14:51:36 + OS_FAMILY=redhat 14:51:36 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-485 14:51:36 + START_PACKAGES=/tmp/packages_start.txt 14:51:36 + END_PACKAGES=/tmp/packages_end.txt 14:51:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:51:36 + PACKAGES=/tmp/packages_start.txt 14:51:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-485 ']' 14:51:36 + PACKAGES=/tmp/packages_end.txt 14:51:36 + case "${OS_FAMILY}" in 14:51:36 + rpm -qa 14:51:36 + sort 14:51:41 + '[' -f /tmp/packages_start.txt ']' 14:51:41 + '[' -f /tmp/packages_end.txt ']' 14:51:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:51:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-485 ']' 14:51:41 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-485/archives/ 14:51:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-485/archives/ [Pipeline] isUnix [Pipeline] sh 14:51:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:51:42 14:51:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:51:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:51:42 alpine: Pulling from edgex-lftools-log-publisher 14:51:42 c9b1b535fdd9: Pulling fs layer 14:51:42 2cc5ad85d9ab: Pulling fs layer 14:51:42 756a868c4378: Pulling fs layer 14:51:42 444b2fc9a129: Pulling fs layer 14:51:42 ea15f1150254: Pulling fs layer 14:51:42 41b27a9f41bf: Pulling fs layer 14:51:42 28c525ee5125: Pulling fs layer 14:51:42 094b1ea09ed8: Pulling fs layer 14:51:42 138eaada9080: Pulling fs layer 14:51:42 0622d0fa9048: Pulling fs layer 14:51:42 ea15f1150254: Waiting 14:51:42 41b27a9f41bf: Waiting 14:51:42 28c525ee5125: Waiting 14:51:42 094b1ea09ed8: Waiting 14:51:42 138eaada9080: Waiting 14:51:42 0622d0fa9048: Waiting 14:51:42 444b2fc9a129: Waiting 14:51:42 2cc5ad85d9ab: Verifying Checksum 14:51:42 2cc5ad85d9ab: Download complete 14:51:42 444b2fc9a129: Verifying Checksum 14:51:42 444b2fc9a129: Download complete 14:51:42 c9b1b535fdd9: Verifying Checksum 14:51:42 c9b1b535fdd9: Download complete 14:51:43 ea15f1150254: Verifying Checksum 14:51:43 ea15f1150254: Download complete 14:51:43 c9b1b535fdd9: Pull complete 14:51:43 28c525ee5125: Verifying Checksum 14:51:43 28c525ee5125: Download complete 14:51:43 2cc5ad85d9ab: Pull complete 14:51:45 756a868c4378: Verifying Checksum 14:51:45 756a868c4378: Download complete 14:51:45 138eaada9080: Verifying Checksum 14:51:45 138eaada9080: Download complete 14:51:45 0622d0fa9048: Verifying Checksum 14:51:45 0622d0fa9048: Download complete 14:51:45 094b1ea09ed8: Verifying Checksum 14:51:45 094b1ea09ed8: Download complete 14:51:47 41b27a9f41bf: Verifying Checksum 14:51:47 41b27a9f41bf: Download complete 14:51:48 756a868c4378: Pull complete 14:51:48 444b2fc9a129: Pull complete 14:51:49 ea15f1150254: Pull complete 14:51:54 41b27a9f41bf: Pull complete 14:51:54 28c525ee5125: Pull complete 14:51:58 094b1ea09ed8: Pull complete 14:51:58 138eaada9080: Pull complete 14:51:58 0622d0fa9048: Pull complete 14:51:58 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:51:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:51:59 prd-centos7-docker-4c-2g-4299 does not seem to be running inside a container 14:51:59 $ 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-485 -v /w/workspace/dgexfoundry_device-sdk-go_PR-485:/w/workspace/dgexfoundry_device-sdk-go_PR-485:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-485@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:52:00 $ docker top 35fe34b65a52545fb2b6708479fa1aecb7eede6679d4b036a589ad0089964723 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:52:02 provisioning config files... 14:52:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp/config1453260209336958292tmp [Pipeline] { [Pipeline] echo 14:52:02 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:52:02 ---> create-netrc.sh [Pipeline] echo 14:52:02 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:52:03 ---> logs-deploy.sh 14:52:03 + ARCHIVE_ARTIFACTS= 14:52:03 + LOGS_SERVER=https://logs.edgexfoundry.org 14:52:03 + '[' https://logs.edgexfoundry.org == None ']' 14:52:03 + NEXUS_URL=https://nexus.edgexfoundry.org 14:52:03 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-485/3 14:52:03 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-485/3/ 14:52:03 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-485/3 /w/workspace/dgexfoundry_device-sdk-go_PR-485 14:52:05 Archives upload complete. 14:52:05 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-485/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-485/3/