Pull request #464 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 akramtexas for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 8eaf976f22515cdb91b27cab9964cb969bd1c234+9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 (bc960f02c297cfd76002b6219d06215945c268ff) 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 b810438aec07f555226556e3b59abf2bab733840 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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-906 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [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-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 8eaf976f22515cdb91b27cab9964cb969bd1c234 Merge succeeded, producing 8eaf976f22515cdb91b27cab9964cb969bd1c234 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8eaf976f22515cdb91b27cab9964cb969bd1c234 # 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 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Checking out Revision 8eaf976f22515cdb91b27cab9964cb969bd1c234 (PR-464) > git config core.sparsecheckout # timeout=10 > git checkout -f 8eaf976f22515cdb91b27cab9964cb969bd1c234 # timeout=10 Commit message: "Fix the Content Header-related issue with CBOR." First time build. Skipping changelog. > git rev-list --no-walk 04e5a69358a4da520f4e5cb11afc315518e5782d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:49:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 15:49:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:49:06 15:49:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:49:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:49:06 latest: Pulling from edgex-devops/git-semver 15:49:06 9123ac7c32f7: Pulling fs layer 15:49:06 b8cc5d1170e3: Pulling fs layer 15:49:06 2924cbbf6a41: Pulling fs layer 15:49:06 93b08a4f1073: Pulling fs layer 15:49:06 93b08a4f1073: Waiting 15:49:06 b8cc5d1170e3: Download complete 15:49:07 9123ac7c32f7: Verifying Checksum 15:49:07 9123ac7c32f7: Download complete 15:49:07 93b08a4f1073: Verifying Checksum 15:49:07 93b08a4f1073: Download complete 15:49:07 2924cbbf6a41: Verifying Checksum 15:49:07 2924cbbf6a41: Download complete 15:49:07 9123ac7c32f7: Pull complete 15:49:07 b8cc5d1170e3: Pull complete 15:49:08 2924cbbf6a41: Pull complete 15:49:08 93b08a4f1073: Pull complete 15:49:08 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 15:49:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:49:08 prd-centos7-docker-4c-2g-906 does not seem to be running inside a container 15:49:08 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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:10004/edgex-devops/git-semver:latest cat 15:49:09 $ docker top 1def71601142cbb11f741a4e0c8366d3d2befe119aebe3d9ba01f1ea4eb5cc47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:49:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:09 [ssh-agent] Looking for ssh-agent implementation... 15:49:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:09 $ docker exec 1def71601142cbb11f741a4e0c8366d3d2befe119aebe3d9ba01f1ea4eb5cc47 ssh-agent 15:49:09 SSH_AUTH_SOCK=/tmp/ssh-7m2nxd4xcDoZ/agent.15 15:49:09 SSH_AGENT_PID=21 15:49:09 Running ssh-add (command line suppressed) 15:49:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_246630415231514704.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_246630415231514704.key) 15:49:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:10 + git describe --exact-match --tags HEAD 15:49:10 fatal: No names found, cannot describe anything. [Pipeline] } 15:49:10 $ docker exec --env ******** --env ******** 1def71601142cbb11f741a4e0c8366d3d2befe119aebe3d9ba01f1ea4eb5cc47 ssh-agent -k 15:49:10 unset SSH_AUTH_SOCK; 15:49:10 unset SSH_AGENT_PID; 15:49:10 echo Agent pid 21 killed; 15:49:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:49:10 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:49:10 This usually means this commit has not been tagged. [Pipeline] sshagent 15:49:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:10 [ssh-agent] Looking for ssh-agent implementation... 15:49:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:11 $ docker exec 1def71601142cbb11f741a4e0c8366d3d2befe119aebe3d9ba01f1ea4eb5cc47 ssh-agent 15:49:11 SSH_AUTH_SOCK=/tmp/ssh-JDE3RLb4BErW/agent.56 15:49:11 SSH_AGENT_PID=63 15:49:11 Running ssh-add (command line suppressed) 15:49:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_5285736590103412100.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_5285736590103412100.key) 15:49:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:11 + git semver init 15:49:11 # -> Open(): unable to determine branch for HEAD 15:49:11 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.git 15:49:11 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-464 15:49:11 # $SEMVER_REMOTE_NAME = origin 15:49:11 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 15:49:11 # $SEMVER_USER_NAME = jenkins 15:49:11 # $SEMVER_BRANCH = PR-464 15:49:11 # $SEMVER_TEMP = /tmp/semver-704768143 15:49:11 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:49:12 # '/tmp/semver-704768143' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver' 15:49:12 # -> Force: false 15:49:12 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver [Pipeline] } 15:49:12 $ docker exec --env ******** --env ******** 1def71601142cbb11f741a4e0c8366d3d2befe119aebe3d9ba01f1ea4eb5cc47 ssh-agent -k 15:49:12 unset SSH_AUTH_SOCK; 15:49:12 unset SSH_AGENT_PID; 15:49:12 echo Agent pid 63 killed; 15:49:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:49:13 + git semver [Pipeline] } 15:49:13 $ docker stop --time=1 1def71601142cbb11f741a4e0c8366d3d2befe119aebe3d9ba01f1ea4eb5cc47 15:49:14 $ docker rm -f 1def71601142cbb11f741a4e0c8366d3d2befe119aebe3d9ba01f1ea4eb5cc47 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:49:15 Stashed 32 file(s) [Pipeline] echo 15:49:15 [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 15:49:30 Still waiting to schedule task 15:49:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:49:30 Still waiting to schedule task 15:49:30 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:51:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-907 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws 15:51:20 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 15:51:22 Running on prd-centos7-docker-4c-2g-908 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws 15:51:22 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 15:51:24 using credential edgex-jenkins-ssh 15:51:24 Cloning the remote Git repository 15:51:24 Cloning with configured refspecs honoured and without tags 15:51:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:51:23 > git init /w/workspace/device-sdk-go/7 # timeout=10 15:51:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:51:23 > git --version # timeout=10 15:51:23 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:51:24 Fetching without tags 15:51:25 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 8eaf976f22515cdb91b27cab9964cb969bd1c234 15:51:25 Merge succeeded, producing 8eaf976f22515cdb91b27cab9964cb969bd1c234 15:51:25 Checking out Revision 8eaf976f22515cdb91b27cab9964cb969bd1c234 (PR-464) 15:51:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:51:24 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 15:51:24 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:51:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:51:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:51:24 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:51:25 > git config core.sparsecheckout # timeout=10 15:51:25 > git checkout -f 8eaf976f22515cdb91b27cab9964cb969bd1c234 # timeout=10 15:51:25 > git remote # timeout=10 15:51:25 > git config --get remote.origin.url # timeout=10 15:51:25 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:25 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 15:51:25 > git rev-parse HEAD^{commit} # timeout=10 15:51:25 > git config core.sparsecheckout # timeout=10 15:51:25 > git checkout -f 8eaf976f22515cdb91b27cab9964cb969bd1c234 # timeout=10 15:51:25 using credential edgex-jenkins-ssh 15:51:25 Cloning the remote Git repository 15:51:25 Cloning with configured refspecs honoured and without tags 15:51:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:51:26 > git init /w/workspace/device-sdk-go/7 # timeout=10 15:51:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:51:26 > git --version # timeout=10 15:51:26 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:51:27 Fetching without tags 15:51:27 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 8eaf976f22515cdb91b27cab9964cb969bd1c234 15:51:28 Merge succeeded, producing 8eaf976f22515cdb91b27cab9964cb969bd1c234 15:51:28 Checking out Revision 8eaf976f22515cdb91b27cab9964cb969bd1c234 (PR-464) 15:51:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:51:27 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 15:51:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:51:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:51:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:51:27 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:51:27 > git config core.sparsecheckout # timeout=10 15:51:27 > git checkout -f 8eaf976f22515cdb91b27cab9964cb969bd1c234 # timeout=10 15:51:27 > git remote # timeout=10 15:51:28 > git config --get remote.origin.url # timeout=10 15:51:28 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:28 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 15:51:28 > git rev-parse HEAD^{commit} # timeout=10 15:51:28 > git config core.sparsecheckout # timeout=10 15:51:28 > git checkout -f 8eaf976f22515cdb91b27cab9964cb969bd1c234 # timeout=10 15:51:29 Commit message: "Fix the Content Header-related issue with CBOR." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:51:30 ========================================================= 15:51:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 15:51:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:51:30 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 15:51:31 Sending build context to Docker daemon 2.697MB 15:51:31 Step 1/8 : ARG BASE=golang:1.13-alpine 15:51:31 Step 2/8 : FROM ${BASE} 15:51:31 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 15:51:31 e6b0cf9c0882: Pulling fs layer 15:51:31 2848faf0eed1: Pulling fs layer 15:51:31 0f37312ad70f: Pulling fs layer 15:51:31 5788d62ee057: Pulling fs layer 15:51:31 0e6b1d234666: Pulling fs layer 15:51:31 bf5d7aec512f: Pulling fs layer 15:51:31 34c802a77dc8: Pulling fs layer 15:51:31 9eb99e56ec68: Pulling fs layer 15:51:31 27c7a5d97fbd: Pulling fs layer 15:51:31 5c102a31e300: Pulling fs layer 15:51:31 dcfb455df0a1: Pulling fs layer 15:51:31 5788d62ee057: Waiting 15:51:31 0e6b1d234666: Waiting 15:51:31 9eb99e56ec68: Waiting 15:51:31 34c802a77dc8: Waiting 15:51:31 27c7a5d97fbd: Waiting 15:51:31 5c102a31e300: Waiting 15:51:31 dcfb455df0a1: Waiting 15:51:31 bf5d7aec512f: Waiting 15:51:31 0f37312ad70f: Verifying Checksum 15:51:31 0f37312ad70f: Download complete 15:51:31 2848faf0eed1: Download complete 15:51:31 0e6b1d234666: Verifying Checksum 15:51:31 0e6b1d234666: Download complete 15:51:31 bf5d7aec512f: Download complete 15:51:31 e6b0cf9c0882: Verifying Checksum 15:51:31 e6b0cf9c0882: Pull complete 15:51:31 34c802a77dc8: Verifying Checksum 15:51:31 34c802a77dc8: Download complete 15:51:31 27c7a5d97fbd: Verifying Checksum 15:51:31 27c7a5d97fbd: Download complete 15:51:32 5c102a31e300: Verifying Checksum 15:51:32 5c102a31e300: Download complete 15:51:32 Commit message: "Fix the Content Header-related issue with CBOR." 15:51:32 dcfb455df0a1: Verifying Checksum 15:51:32 dcfb455df0a1: Download complete 15:51:32 9eb99e56ec68: Verifying Checksum 15:51:32 9eb99e56ec68: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 15:51:33 5788d62ee057: Verifying Checksum 15:51:33 5788d62ee057: Download complete 15:51:33 2848faf0eed1: Pull complete 15:51:33 0f37312ad70f: Pull complete [Pipeline] echo 15:51:33 ========================================================= 15:51:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 15:51:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:51:34 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 15:51:35 Sending build context to Docker daemon 2.697MB 15:51:35 Step 1/8 : ARG BASE=golang:1.13-alpine 15:51:35 Step 2/8 : FROM ${BASE} 15:51:36 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:51:36 cde5963f3b93: Pulling fs layer 15:51:36 2a23fa8c16f7: Pulling fs layer 15:51:36 777b28850792: Pulling fs layer 15:51:36 8a11ddd9e578: Pulling fs layer 15:51:36 4cf88f913ddb: Pulling fs layer 15:51:36 1df406cf5192: Pulling fs layer 15:51:36 cd6300453558: Pulling fs layer 15:51:36 b9c365052c96: Pulling fs layer 15:51:36 a2d8cc88f415: Pulling fs layer 15:51:36 ea1d1ca13537: Pulling fs layer 15:51:36 3750a50a1c5e: Pulling fs layer 15:51:36 8a11ddd9e578: Waiting 15:51:36 cd6300453558: Waiting 15:51:36 b9c365052c96: Waiting 15:51:36 4cf88f913ddb: Waiting 15:51:36 ea1d1ca13537: Waiting 15:51:36 1df406cf5192: Waiting 15:51:36 a2d8cc88f415: Waiting 15:51:36 3750a50a1c5e: Waiting 15:51:36 777b28850792: Verifying Checksum 15:51:36 777b28850792: Download complete 15:51:36 2a23fa8c16f7: Verifying Checksum 15:51:36 2a23fa8c16f7: Download complete 15:51:36 4cf88f913ddb: Download complete 15:51:36 1df406cf5192: Verifying Checksum 15:51:36 1df406cf5192: Download complete 15:51:36 cde5963f3b93: Download complete 15:51:37 cde5963f3b93: Pull complete 15:51:37 2a23fa8c16f7: Pull complete 15:51:38 777b28850792: Pull complete 15:51:38 5788d62ee057: Pull complete 15:51:38 0e6b1d234666: Pull complete 15:51:38 bf5d7aec512f: Pull complete 15:51:40 cd6300453558: Verifying Checksum 15:51:40 cd6300453558: Download complete 15:51:40 a2d8cc88f415: Verifying Checksum 15:51:40 a2d8cc88f415: Download complete 15:51:43 ea1d1ca13537: Verifying Checksum 15:51:43 ea1d1ca13537: Download complete 15:51:43 3750a50a1c5e: Verifying Checksum 15:51:43 3750a50a1c5e: Download complete 15:51:44 34c802a77dc8: Pull complete 15:51:45 b9c365052c96: Verifying Checksum 15:51:45 b9c365052c96: Download complete 15:51:46 9eb99e56ec68: Pull complete 15:51:46 27c7a5d97fbd: Pull complete 15:51:47 8a11ddd9e578: Verifying Checksum 15:51:47 8a11ddd9e578: Download complete 15:51:47 5c102a31e300: Pull complete 15:51:47 dcfb455df0a1: Pull complete 15:51:47 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 15:51:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 15:51:47 ---> 7c70fe431013 15:51:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:51:47 ---> Running in 71d7fc4b6949 15:51:47 Removing intermediate container 71d7fc4b6949 15:51:47 ---> 71bad9617b87 15:51:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:51:47 ---> Running in 13c81534b9c3 15:51:49 Removing intermediate container 13c81534b9c3 15:51:49 ---> ac3592b1355f 15:51:49 Step 5/8 : RUN apk add --no-cache make git 15:51:49 ---> Running in 131b0a488bf6 15:51:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:51:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:51:50 OK: 143 MiB in 39 packages 15:51:50 Removing intermediate container 131b0a488bf6 15:51:50 ---> 9008372a6ef2 15:51:50 Step 6/8 : WORKDIR /device-sdk-go 15:51:50 ---> Running in 468a1b41cd44 15:51:51 Removing intermediate container 468a1b41cd44 15:51:51 ---> 45dc7f7fd785 15:51:51 Step 7/8 : COPY . . 15:51:51 ---> f32738730405 15:51:51 Step 8/8 : RUN go mod download 15:51:51 ---> Running in 90ef8f28a9cb 15:51:54 go: finding github.com/BurntSushi/toml v0.3.1 15:51:54 go: finding github.com/OneOfOne/xxhash v1.2.6 15:51:54 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:51:54 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:51:54 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:51:54 go: finding github.com/bgentry/speakeasy v0.1.0 15:51:54 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 15:51:54 go: finding github.com/davecgh/go-spew v1.1.1 15:51:54 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 15:51:54 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 15:51:54 go: finding github.com/fatih/color v1.7.0 15:51:54 go: finding github.com/go-kit/kit v0.8.0 15:51:54 go: finding github.com/go-logfmt/logfmt v0.4.0 15:51:54 go: finding github.com/go-stack/stack v1.8.0 15:51:54 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:51:54 go: finding github.com/google/uuid v1.1.0 15:51:55 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 15:51:55 go: finding github.com/gorilla/mux v1.6.2 15:51:55 go: finding github.com/hashicorp/consul v1.4.2 15:51:55 go: finding github.com/hashicorp/errwrap v1.0.0 15:51:55 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 15:51:55 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:51:55 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:51:55 go: finding github.com/hashicorp/go-multierror v1.0.0 15:51:55 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:51:55 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:51:55 go: finding github.com/hashicorp/go-syslog v1.0.0 15:51:55 go: finding github.com/hashicorp/go-uuid v1.0.1 15:51:55 go: finding github.com/hashicorp/go.net v0.0.1 15:51:55 go: finding github.com/hashicorp/golang-lru v0.5.0 15:51:55 go: finding github.com/hashicorp/logutils v1.0.0 15:51:55 go: finding github.com/hashicorp/mdns v1.0.0 15:51:55 go: finding github.com/hashicorp/memberlist v0.1.3 15:51:55 go: finding github.com/hashicorp/serf v0.8.2 15:51:55 go: finding github.com/jessevdk/go-flags v1.4.0 15:51:55 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:51:55 go: finding github.com/mattn/go-colorable v0.0.9 15:51:55 go: finding github.com/mattn/go-isatty v0.0.3 15:51:55 go: finding github.com/miekg/dns v1.0.14 15:51:55 go: finding github.com/mitchellh/cli v1.0.0 15:51:55 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:51:55 go: finding github.com/mitchellh/copystructure v1.0.0 15:51:55 go: finding github.com/mitchellh/go-homedir v1.0.0 15:51:55 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:51:56 go: finding github.com/mitchellh/gox v0.4.0 15:51:56 go: finding github.com/mitchellh/iochan v1.0.0 15:51:56 go: finding github.com/mitchellh/mapstructure v1.1.2 15:51:56 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:51:56 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:51:56 go: finding github.com/pelletier/go-toml v1.2.0 15:51:56 go: finding github.com/pkg/errors v0.8.1 15:51:56 go: finding github.com/pmezard/go-difflib v1.0.0 15:51:56 go: finding github.com/posener/complete v1.1.1 15:51:56 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:51:56 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:51:56 go: finding github.com/stretchr/objx v0.1.0 15:51:56 go: finding github.com/stretchr/testify v1.3.0 15:51:56 go: finding github.com/ugorji/go v1.1.4 15:51:56 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:51:56 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:51:56 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:51:56 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:51:56 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:51:56 go: finding gopkg.in/yaml.v2 v2.2.2 15:51:59 8a11ddd9e578: Pull complete 15:51:59 4cf88f913ddb: Pull complete 15:51:59 1df406cf5192: Pull complete 15:52:04 Removing intermediate container 90ef8f28a9cb 15:52:04 ---> 5534fbed2882 15:52:04 Successfully built 5534fbed2882 15:52:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:52:05 cd6300453558: Pull complete 15:52:05 + docker inspect -f . ci-base-image-x86_64 15:52:05 . [Pipeline] withDockerContainer 15:52:05 prd-centos7-docker-4c-2g-908 does not seem to be running inside a container 15:52:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:52:06 $ docker top 880afefa5199b22a915b6ef3e07b2092a974b14f076f850f2e5918331d37fa14 -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:06 + go version 15:52:06 go version go1.13.5 linux/amd64 [Pipeline] sh 15:52:06 + make test 15:52:06 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:52:10 b9c365052c96: Pull complete 15:52:10 a2d8cc88f415: Pull complete 15:52:11 ea1d1ca13537: Pull complete 15:52:12 3750a50a1c5e: Pull complete 15:52:12 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 15:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 15:52:12 ---> 78745c68409d 15:52:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:52:16 ---> Running in 466672d908b7 15:52:16 Removing intermediate container 466672d908b7 15:52:16 ---> 84eb02d90a54 15:52:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:52:17 ---> Running in cf2870f83a67 15:52:19 Removing intermediate container cf2870f83a67 15:52:19 ---> 915b6d2f9137 15:52:19 Step 5/8 : RUN apk add --no-cache make git 15:52:19 ---> Running in 9ae3abfb8461 15:52:20 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:52:21 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:52:21 OK: 125 MiB in 39 packages 15:52:21 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:52:21 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:52:21 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:52:23 Removing intermediate container 9ae3abfb8461 15:52:23 ---> ffc956769117 15:52:23 Step 6/8 : WORKDIR /device-sdk-go 15:52:23 ---> Running in 51b4737a18a4 15:52:23 Removing intermediate container 51b4737a18a4 15:52:23 ---> 27d2132c3a51 15:52:23 Step 7/8 : COPY . . 15:52:24 ---> 1d31ccff4d7a 15:52:24 Step 8/8 : RUN go mod download 15:52:24 ---> Running in 53a847f437ee 15:52:25 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.027s coverage: 23.1% of statements 15:52:25 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.047s coverage: 95.8% of statements 15:52:27 go: finding github.com/BurntSushi/toml v0.3.1 15:52:27 go: finding github.com/OneOfOne/xxhash v1.2.6 15:52:27 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:52:27 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:52:27 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:52:27 go: finding github.com/bgentry/speakeasy v0.1.0 15:52:27 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 15:52:27 go: finding github.com/davecgh/go-spew v1.1.1 15:52:27 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 15:52:27 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 15:52:27 go: finding github.com/fatih/color v1.7.0 15:52:27 go: finding github.com/go-kit/kit v0.8.0 15:52:27 go: finding github.com/go-logfmt/logfmt v0.4.0 15:52:27 go: finding github.com/go-stack/stack v1.8.0 15:52:27 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:52:27 go: finding github.com/google/uuid v1.1.0 15:52:27 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 15:52:27 go: finding github.com/gorilla/mux v1.6.2 15:52:27 go: finding github.com/hashicorp/consul v1.4.2 15:52:27 go: finding github.com/hashicorp/errwrap v1.0.0 15:52:27 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 15:52:27 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:52:27 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:52:27 go: finding github.com/hashicorp/go-multierror v1.0.0 15:52:27 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:52:27 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:52:27 go: finding github.com/hashicorp/go-syslog v1.0.0 15:52:27 go: finding github.com/hashicorp/go-uuid v1.0.1 15:52:27 go: finding github.com/hashicorp/go.net v0.0.1 15:52:27 go: finding github.com/hashicorp/golang-lru v0.5.0 15:52:27 go: finding github.com/hashicorp/logutils v1.0.0 15:52:27 go: finding github.com/hashicorp/mdns v1.0.0 15:52:27 go: finding github.com/hashicorp/memberlist v0.1.3 15:52:27 go: finding github.com/hashicorp/serf v0.8.2 15:52:27 go: finding github.com/jessevdk/go-flags v1.4.0 15:52:27 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:52:27 go: finding github.com/mattn/go-colorable v0.0.9 15:52:27 go: finding github.com/mattn/go-isatty v0.0.3 15:52:27 go: finding github.com/miekg/dns v1.0.14 15:52:27 go: finding github.com/mitchellh/cli v1.0.0 15:52:27 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:52:27 go: finding github.com/mitchellh/copystructure v1.0.0 15:52:27 go: finding github.com/mitchellh/go-homedir v1.0.0 15:52:27 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:52:27 go: finding github.com/mitchellh/gox v0.4.0 15:52:27 go: finding github.com/mitchellh/iochan v1.0.0 15:52:27 go: finding github.com/mitchellh/mapstructure v1.1.2 15:52:27 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:52:28 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:52:28 go: finding github.com/pelletier/go-toml v1.2.0 15:52:28 go: finding github.com/pkg/errors v0.8.1 15:52:28 go: finding github.com/pmezard/go-difflib v1.0.0 15:52:28 go: finding github.com/posener/complete v1.1.1 15:52:28 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:52:28 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:52:28 go: finding github.com/stretchr/objx v0.1.0 15:52:28 go: finding github.com/stretchr/testify v1.3.0 15:52:28 go: finding github.com/ugorji/go v1.1.4 15:52:28 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:52:28 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:52:28 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:52:28 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:52:28 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:52:28 go: finding gopkg.in/yaml.v2 v2.2.2 15:52:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.081s coverage: 12.7% of statements 15:52:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.011s coverage: 20.5% of statements 15:52:46 Removing intermediate container 53a847f437ee 15:52:46 ---> 6be85ea35c41 15:52:46 Successfully built 6be85ea35c41 15:52:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:52:47 + docker inspect -f . ci-base-image-arm64 15:52:47 . [Pipeline] withDockerContainer 15:52:47 prd-ubuntu18.04-docker-arm64-4c-16g-907 does not seem to be running inside a container 15:52:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:52:49 $ docker top 6582b05585ec130218f51ff4c2ceaafebb8f39eaafdaa573bc65a2b54c2d9bdb -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:50 + go version 15:52:50 go version go1.13.5 linux/arm64 [Pipeline] sh 15:52:50 + make test 15:52:50 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:53:00 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.014s coverage: 30.0% of statements 15:53:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.435s coverage: 42.3% of statements 15:53:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:53:00 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 15:53:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.431s coverage: 77.7% of statements 15:53:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:53:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:53:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:53:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.032s coverage: 52.6% of statements 15:53:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.097s coverage: 76.1% of statements 15:53:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:53:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:53:00 gofmt -l . 15:53:00 pkg/models/event.go 15:53:00 [ "`gofmt -l .`" = "" ] 15:53:00 make: *** [Makefile:32: test] Error 1 [Pipeline] } 15:53:00 $ docker stop --time=1 880afefa5199b22a915b6ef3e07b2092a974b14f076f850f2e5918331d37fa14 15:53:01 $ docker rm -f 880afefa5199b22a915b6ef3e07b2092a974b14f076f850f2e5918331d37fa14 [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:53:03 Failed in branch amd64 15:53:37 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:53:37 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:53:37 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:53:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.032s coverage: 23.1% of statements 15:53:37 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.166s coverage: 95.8% of statements 15:53:37 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.071s coverage: 12.7% of statements 15:53:37 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 20.5% of statements 15:54:10 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.042s coverage: 30.0% of statements 15:54:10 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.445s coverage: 42.3% of statements 15:54:10 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:54:10 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 15:54:10 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.757s coverage: 77.7% of statements 15:54:10 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:54:10 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:54:10 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:54:10 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.058s coverage: 52.6% of statements 15:54:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.359s coverage: 76.1% of statements 15:54:10 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:54:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:54:18 gofmt -l . 15:54:18 pkg/models/event.go 15:54:18 [ "`gofmt -l .`" = "" ] 15:54:18 make: *** [Makefile:32: test] Error 1 [Pipeline] } 15:54:18 $ docker stop --time=1 6582b05585ec130218f51ff4c2ceaafebb8f39eaafdaa573bc65a2b54c2d9bdb 15:54:20 $ docker rm -f 6582b05585ec130218f51ff4c2ceaafebb8f39eaafdaa573bc65a2b54c2d9bdb [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:54:22 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (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 15:54:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:54:23 ---> package-listing.sh 15:54:23 ++ facter osfamily 15:54:23 ++ tr '[:upper:]' '[:lower:]' 15:54:23 + OS_FAMILY=redhat 15:54:23 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-464 15:54:23 + START_PACKAGES=/tmp/packages_start.txt 15:54:23 + END_PACKAGES=/tmp/packages_end.txt 15:54:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:54:23 + PACKAGES=/tmp/packages_start.txt 15:54:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' 15:54:23 + PACKAGES=/tmp/packages_end.txt 15:54:23 + case "${OS_FAMILY}" in 15:54:23 + rpm -qa 15:54:23 + sort 15:54:28 + '[' -f /tmp/packages_start.txt ']' 15:54:28 + '[' -f /tmp/packages_end.txt ']' 15:54:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:54:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' 15:54:28 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ 15:54:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [Pipeline] isUnix [Pipeline] sh 15:54:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:54:28 15:54:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:54:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:54:28 alpine: Pulling from edgex-lftools-log-publisher 15:54:28 c9b1b535fdd9: Pulling fs layer 15:54:28 2cc5ad85d9ab: Pulling fs layer 15:54:28 756a868c4378: Pulling fs layer 15:54:28 444b2fc9a129: Pulling fs layer 15:54:28 ea15f1150254: Pulling fs layer 15:54:28 41b27a9f41bf: Pulling fs layer 15:54:28 28c525ee5125: Pulling fs layer 15:54:28 094b1ea09ed8: Pulling fs layer 15:54:28 138eaada9080: Pulling fs layer 15:54:28 0622d0fa9048: Pulling fs layer 15:54:28 41b27a9f41bf: Waiting 15:54:28 28c525ee5125: Waiting 15:54:28 444b2fc9a129: Waiting 15:54:28 094b1ea09ed8: Waiting 15:54:28 0622d0fa9048: Waiting 15:54:28 138eaada9080: Waiting 15:54:28 ea15f1150254: Waiting 15:54:28 2cc5ad85d9ab: Verifying Checksum 15:54:28 2cc5ad85d9ab: Download complete 15:54:28 444b2fc9a129: Verifying Checksum 15:54:28 444b2fc9a129: Download complete 15:54:28 c9b1b535fdd9: Verifying Checksum 15:54:28 c9b1b535fdd9: Download complete 15:54:28 ea15f1150254: Verifying Checksum 15:54:28 ea15f1150254: Download complete 15:54:29 28c525ee5125: Verifying Checksum 15:54:29 28c525ee5125: Download complete 15:54:29 c9b1b535fdd9: Pull complete 15:54:29 756a868c4378: Verifying Checksum 15:54:29 756a868c4378: Download complete 15:54:29 2cc5ad85d9ab: Pull complete 15:54:29 094b1ea09ed8: Verifying Checksum 15:54:29 094b1ea09ed8: Download complete 15:54:29 138eaada9080: Verifying Checksum 15:54:29 138eaada9080: Download complete 15:54:29 0622d0fa9048: Verifying Checksum 15:54:29 0622d0fa9048: Download complete 15:54:30 41b27a9f41bf: Verifying Checksum 15:54:30 41b27a9f41bf: Download complete 15:54:31 756a868c4378: Pull complete 15:54:31 444b2fc9a129: Pull complete 15:54:31 ea15f1150254: Pull complete 15:54:35 41b27a9f41bf: Pull complete 15:54:35 28c525ee5125: Pull complete 15:54:36 094b1ea09ed8: Pull complete 15:54:37 138eaada9080: Pull complete 15:54:37 0622d0fa9048: Pull complete 15:54:37 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:54:37 prd-centos7-docker-4c-2g-906 does not seem to be running inside a container 15:54:37 $ 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-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:54:38 $ docker top 2bb60e1c0318413b795ebe84ed0a399ac2d127beeae0868a13240cc06f59908b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:54:38 provisioning config files... 15:54:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config7989438283966417247tmp [Pipeline] { [Pipeline] echo 15:54:39 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:54:39 ---> create-netrc.sh [Pipeline] echo 15:54:39 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:54:39 ---> logs-deploy.sh 15:54:39 + ARCHIVE_ARTIFACTS= 15:54:39 + LOGS_SERVER=https://logs.edgexfoundry.org 15:54:39 + '[' https://logs.edgexfoundry.org == None ']' 15:54:39 + NEXUS_URL=https://nexus.edgexfoundry.org 15:54:39 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/7 15:54:39 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/7/ 15:54:39 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/7 /w/workspace/dgexfoundry_device-sdk-go_PR-464 15:54:40 Archives upload complete. 15:54:40 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/7/