Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40+1bb097ad4365b735bfef0648a55752ad7a9b68a1 (1384b8a851fa5cfb669dc466cdccbf8b76350d67) 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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-3269 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [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-474 # 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/474/head:refs/remotes/origin/PR-474 +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 without tags Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 Merge succeeded, producing a481818750020c73f64251465ca54d03c6560458 Checking out Revision a481818750020c73f64251465ca54d03c6560458 (PR-474) > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # 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/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # 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 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a481818750020c73f64251465ca54d03c6560458 # timeout=10 Commit message: "Merge commit '1bb097ad4365b735bfef0648a55752ad7a9b68a1' into HEAD" > git rev-list --no-walk 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:42:00 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 14:42:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:02 14:42:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:42:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:03 latest: Pulling from edgex-devops/git-semver 14:42:03 9123ac7c32f7: Pulling fs layer 14:42:03 b8cc5d1170e3: Pulling fs layer 14:42:03 2924cbbf6a41: Pulling fs layer 14:42:03 93b08a4f1073: Pulling fs layer 14:42:03 93b08a4f1073: Waiting 14:42:03 b8cc5d1170e3: Verifying Checksum 14:42:03 b8cc5d1170e3: Download complete 14:42:03 9123ac7c32f7: Verifying Checksum 14:42:03 9123ac7c32f7: Download complete 14:42:03 93b08a4f1073: Verifying Checksum 14:42:03 93b08a4f1073: Download complete 14:42:03 2924cbbf6a41: Verifying Checksum 14:42:03 2924cbbf6a41: Download complete 14:42:03 9123ac7c32f7: Pull complete 14:42:03 b8cc5d1170e3: Pull complete 14:42:04 2924cbbf6a41: Pull complete 14:42:04 93b08a4f1073: Pull complete 14:42:04 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:42:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:42:04 prd-centos7-docker-4c-2g-3269 does not seem to be running inside a container 14:42:04 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-474 -v /w/workspace/dgexfoundry_device-sdk-go_PR-474:/w/workspace/dgexfoundry_device-sdk-go_PR-474:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-474@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 14:42:05 $ docker top 74d9f0df2b0d04507260247af6e3deba84c2355246a0006299454d4bbbd40ed1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:42:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:05 [ssh-agent] Looking for ssh-agent implementation... 14:42:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:05 $ docker exec 74d9f0df2b0d04507260247af6e3deba84c2355246a0006299454d4bbbd40ed1 ssh-agent 14:42:05 SSH_AUTH_SOCK=/tmp/ssh-0ntKI4XtBune/agent.15 14:42:05 SSH_AGENT_PID=22 14:42:05 Running ssh-add (command line suppressed) 14:42:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_1186751912394929515.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_1186751912394929515.key) 14:42:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:06 + git describe --exact-match --tags HEAD 14:42:06 fatal: No names found, cannot describe anything. [Pipeline] } 14:42:06 $ docker exec --env ******** --env ******** 74d9f0df2b0d04507260247af6e3deba84c2355246a0006299454d4bbbd40ed1 ssh-agent -k 14:42:06 unset SSH_AUTH_SOCK; 14:42:06 unset SSH_AGENT_PID; 14:42:06 echo Agent pid 22 killed; 14:42:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:42:06 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:42:06 This usually means this commit has not been tagged. [Pipeline] sshagent 14:42:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:06 [ssh-agent] Looking for ssh-agent implementation... 14:42:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:07 $ docker exec 74d9f0df2b0d04507260247af6e3deba84c2355246a0006299454d4bbbd40ed1 ssh-agent 14:42:07 SSH_AUTH_SOCK=/tmp/ssh-cbiRcYRTu6rG/agent.57 14:42:07 SSH_AGENT_PID=63 14:42:07 Running ssh-add (command line suppressed) 14:42:07 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_2392258484734416559.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_2392258484734416559.key) 14:42:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:07 + git semver init 14:42:07 # -> Open(): unable to determine branch for HEAD 14:42:07 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.git 14:42:07 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-474 14:42:07 # $SEMVER_REMOTE_NAME = origin 14:42:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:42:07 # $SEMVER_USER_NAME = edgex-jenkins 14:42:07 # $SEMVER_BRANCH = PR-474 14:42:07 # $SEMVER_TEMP = /tmp/semver-157740169 14:42:07 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:42:08 # '/tmp/semver-157740169' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver' 14:42:08 # -> Force: false 14:42:08 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver [Pipeline] } 14:42:08 $ docker exec --env ******** --env ******** 74d9f0df2b0d04507260247af6e3deba84c2355246a0006299454d4bbbd40ed1 ssh-agent -k 14:42:08 unset SSH_AUTH_SOCK; 14:42:08 unset SSH_AGENT_PID; 14:42:08 echo Agent pid 63 killed; 14:42:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:42:08 + git semver [Pipeline] } 14:42:08 $ docker stop --time=1 74d9f0df2b0d04507260247af6e3deba84c2355246a0006299454d4bbbd40ed1 14:42:10 $ docker rm -f 74d9f0df2b0d04507260247af6e3deba84c2355246a0006299454d4bbbd40ed1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:42:11 Stashed 40 file(s) [Pipeline] echo 14:42:11 [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:42:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3266 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws 14:42:11 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 14:42:15 using credential edgex-jenkins-ssh 14:42:15 Cloning the remote Git repository 14:42:15 Cloning with configured refspecs honoured and without tags 14:42:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:42:16 > git init /w/workspace/device-sdk-go/5 # timeout=10 14:42:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:42:16 > git --version # timeout=10 14:42:16 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:42:17 Fetching without tags 14:42:17 Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 14:42:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:42:17 > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 14:42:17 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:42:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:42:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:42:17 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:42:17 > git config core.sparsecheckout # timeout=10 14:42:17 > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 14:42:17 Merge succeeded, producing e26c744a657382f7eecc9b6e8ec23684d3fd939d 14:42:17 Checking out Revision e26c744a657382f7eecc9b6e8ec23684d3fd939d (PR-474) 14:42:17 > git remote # timeout=10 14:42:17 > git config --get remote.origin.url # timeout=10 14:42:17 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:17 > git merge 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 14:42:17 > git rev-parse HEAD^{commit} # timeout=10 14:42:17 > git config core.sparsecheckout # timeout=10 14:42:17 > git checkout -f e26c744a657382f7eecc9b6e8ec23684d3fd939d # timeout=10 14:42:22 Commit message: "Merge commit '1bb097ad4365b735bfef0648a55752ad7a9b68a1' into HEAD" 14:42:22 > git rev-list --no-walk 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:42:23 ========================================================= 14:42:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:42:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:42:24 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 14:42:25 Sending build context to Docker daemon 2.877MB 14:42:25 Step 1/8 : ARG BASE=golang:1.13-alpine 14:42:25 Step 2/8 : FROM ${BASE} 14:42:25 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:42:25 cde5963f3b93: Pulling fs layer 14:42:25 2a23fa8c16f7: Pulling fs layer 14:42:25 777b28850792: Pulling fs layer 14:42:25 8a11ddd9e578: Pulling fs layer 14:42:25 4cf88f913ddb: Pulling fs layer 14:42:25 1df406cf5192: Pulling fs layer 14:42:25 cd6300453558: Pulling fs layer 14:42:25 b9c365052c96: Pulling fs layer 14:42:25 a2d8cc88f415: Pulling fs layer 14:42:25 ea1d1ca13537: Pulling fs layer 14:42:25 3750a50a1c5e: Pulling fs layer 14:42:25 4cf88f913ddb: Waiting 14:42:25 1df406cf5192: Waiting 14:42:25 cd6300453558: Waiting 14:42:25 b9c365052c96: Waiting 14:42:25 a2d8cc88f415: Waiting 14:42:25 ea1d1ca13537: Waiting 14:42:25 3750a50a1c5e: Waiting 14:42:25 8a11ddd9e578: Waiting 14:42:25 777b28850792: Verifying Checksum 14:42:25 777b28850792: Download complete 14:42:25 2a23fa8c16f7: Verifying Checksum 14:42:25 2a23fa8c16f7: Download complete 14:42:25 4cf88f913ddb: Verifying Checksum 14:42:25 4cf88f913ddb: Download complete 14:42:25 1df406cf5192: Verifying Checksum 14:42:25 1df406cf5192: Download complete 14:42:26 cde5963f3b93: Verifying Checksum 14:42:26 cde5963f3b93: Download complete 14:42:26 Still waiting to schedule task 14:42:26 ‘prd-centos7-blackbox-4c-2g-3263’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3271’ is offline 14:42:27 cde5963f3b93: Pull complete 14:42:27 2a23fa8c16f7: Pull complete 14:42:28 777b28850792: Pull complete 14:42:29 cd6300453558: Verifying Checksum 14:42:29 cd6300453558: Download complete 14:42:29 a2d8cc88f415: Download complete 14:42:32 ea1d1ca13537: Verifying Checksum 14:42:32 ea1d1ca13537: Download complete 14:42:32 3750a50a1c5e: Download complete 14:42:35 b9c365052c96: Verifying Checksum 14:42:35 b9c365052c96: Download complete 14:42:36 8a11ddd9e578: Verifying Checksum 14:42:36 8a11ddd9e578: Download complete 14:42:46 Running on prd-centos7-docker-4c-2g-3272 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws 14:42:46 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 14:42:48 using credential edgex-jenkins-ssh 14:42:48 Cloning the remote Git repository 14:42:48 Cloning with configured refspecs honoured and without tags 14:42:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:42:48 > git init /w/workspace/device-sdk-go/5 # timeout=10 14:42:49 8a11ddd9e578: Pull complete 14:42:49 4cf88f913ddb: Pull complete 14:42:49 1df406cf5192: Pull complete 14:42:49 Fetching without tags 14:42:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:42:48 > git --version # timeout=10 14:42:48 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:42:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:42:48 > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 14:42:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:42:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:42:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:42:48 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:42:49 Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 14:42:49 Merge succeeded, producing c91061606be73d7f8e212a521f1372999cda8ed8 14:42:49 Checking out Revision c91061606be73d7f8e212a521f1372999cda8ed8 (PR-474) 14:42:49 > git config core.sparsecheckout # timeout=10 14:42:49 > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 14:42:49 > git remote # timeout=10 14:42:49 > git config --get remote.origin.url # timeout=10 14:42:49 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:49 > git merge 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 14:42:49 > git rev-parse HEAD^{commit} # timeout=10 14:42:49 > git config core.sparsecheckout # timeout=10 14:42:49 > git checkout -f c91061606be73d7f8e212a521f1372999cda8ed8 # timeout=10 14:42:52 cd6300453558: Pull complete 14:42:53 Commit message: "Merge commit '1bb097ad4365b735bfef0648a55752ad7a9b68a1' into HEAD" 14:42:53 > git rev-list --no-walk 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:42:54 ========================================================= 14:42:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:42:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:42:55 + 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:42:55 Sending build context to Docker daemon 2.875MB 14:42:55 Step 1/8 : ARG BASE=golang:1.13-alpine 14:42:55 Step 2/8 : FROM ${BASE} 14:42:55 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:42:55 e6b0cf9c0882: Pulling fs layer 14:42:55 2848faf0eed1: Pulling fs layer 14:42:55 0f37312ad70f: Pulling fs layer 14:42:55 5788d62ee057: Pulling fs layer 14:42:55 0e6b1d234666: Pulling fs layer 14:42:55 bf5d7aec512f: Pulling fs layer 14:42:55 34c802a77dc8: Pulling fs layer 14:42:55 9eb99e56ec68: Pulling fs layer 14:42:55 27c7a5d97fbd: Pulling fs layer 14:42:55 5c102a31e300: Pulling fs layer 14:42:55 dcfb455df0a1: Pulling fs layer 14:42:55 5c102a31e300: Waiting 14:42:55 5788d62ee057: Waiting 14:42:55 0e6b1d234666: Waiting 14:42:55 bf5d7aec512f: Waiting 14:42:55 dcfb455df0a1: Waiting 14:42:55 34c802a77dc8: Waiting 14:42:55 0f37312ad70f: Verifying Checksum 14:42:55 0f37312ad70f: Download complete 14:42:55 2848faf0eed1: Verifying Checksum 14:42:55 2848faf0eed1: Download complete 14:42:55 0e6b1d234666: Verifying Checksum 14:42:55 0e6b1d234666: Download complete 14:42:55 bf5d7aec512f: Verifying Checksum 14:42:55 bf5d7aec512f: Download complete 14:42:55 e6b0cf9c0882: Verifying Checksum 14:42:56 e6b0cf9c0882: Pull complete 14:42:56 2848faf0eed1: Pull complete 14:42:56 b9c365052c96: Pull complete 14:42:56 a2d8cc88f415: Pull complete 14:42:56 34c802a77dc8: Verifying Checksum 14:42:56 34c802a77dc8: Download complete 14:42:56 27c7a5d97fbd: Download complete 14:42:57 5c102a31e300: Verifying Checksum 14:42:57 5c102a31e300: Download complete 14:42:57 dcfb455df0a1: Verifying Checksum 14:42:57 dcfb455df0a1: Download complete 14:42:57 9eb99e56ec68: Verifying Checksum 14:42:57 9eb99e56ec68: Download complete 14:42:58 5788d62ee057: Verifying Checksum 14:42:58 5788d62ee057: Download complete 14:42:58 0f37312ad70f: Pull complete 14:42:58 ea1d1ca13537: Pull complete 14:42:59 3750a50a1c5e: Pull complete 14:42:59 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:42:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:42:59 ---> 78745c68409d 14:42:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:43:03 ---> Running in 07ec6b552bd1 14:43:03 Removing intermediate container 07ec6b552bd1 14:43:03 ---> 0ba11e66e32d 14:43:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:43:03 5788d62ee057: Pull complete 14:43:03 0e6b1d234666: Pull complete 14:43:03 bf5d7aec512f: Pull complete 14:43:03 ---> Running in 5e74854f03d5 14:43:05 Removing intermediate container 5e74854f03d5 14:43:05 ---> 76261c43427d 14:43:05 Step 5/8 : RUN apk add --no-cache make git 14:43:06 ---> Running in cda287bd0ec8 14:43:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:43:07 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:43:08 OK: 125 MiB in 39 packages 14:43:09 Removing intermediate container cda287bd0ec8 14:43:09 ---> bd083b8313e7 14:43:09 Step 6/8 : WORKDIR /device-sdk-go 14:43:09 ---> Running in fcb15a1e3b5a 14:43:09 Removing intermediate container fcb15a1e3b5a 14:43:09 ---> f990185440c5 14:43:09 Step 7/8 : COPY . . 14:43:10 34c802a77dc8: Pull complete 14:43:10 ---> b35883cfd917 14:43:10 Step 8/8 : RUN go mod download 14:43:11 ---> Running in 33c0054a9451 14:43:13 go: finding github.com/BurntSushi/toml v0.3.1 14:43:13 go: finding github.com/OneOfOne/xxhash v1.2.6 14:43:13 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:43:13 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:43:13 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:43:13 go: finding github.com/bgentry/speakeasy v0.1.0 14:43:13 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:43:13 go: finding github.com/davecgh/go-spew v1.1.1 14:43:13 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:43:13 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:43:13 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:43:13 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:43:13 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:43:13 go: finding github.com/fatih/color v1.7.0 14:43:13 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:43:13 go: finding github.com/go-kit/kit v0.8.0 14:43:13 go: finding github.com/go-logfmt/logfmt v0.4.0 14:43:13 go: finding github.com/go-stack/stack v1.8.0 14:43:13 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:43:13 go: finding github.com/google/uuid v1.1.0 14:43:13 go: finding github.com/gorilla/mux v1.7.1 14:43:13 go: finding github.com/hashicorp/consul/api v1.1.0 14:43:13 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:43:13 go: finding github.com/hashicorp/errwrap v1.0.0 14:43:13 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:43:13 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:43:13 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:43:13 go: finding github.com/hashicorp/go-multierror v1.0.0 14:43:13 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:43:13 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:43:13 go: finding github.com/hashicorp/go-syslog v1.0.0 14:43:13 go: finding github.com/hashicorp/go-uuid v1.0.1 14:43:13 go: finding github.com/hashicorp/go.net v0.0.1 14:43:13 go: finding github.com/hashicorp/golang-lru v0.5.0 14:43:13 go: finding github.com/hashicorp/logutils v1.0.0 14:43:13 go: finding github.com/hashicorp/mdns v1.0.0 14:43:13 go: finding github.com/hashicorp/memberlist v0.1.3 14:43:13 go: finding github.com/hashicorp/serf v0.8.2 14:43:13 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:43:13 go: finding github.com/mattn/go-colorable v0.0.9 14:43:13 go: finding github.com/mattn/go-isatty v0.0.3 14:43:13 go: finding github.com/miekg/dns v1.0.14 14:43:13 go: finding github.com/mitchellh/cli v1.0.0 14:43:13 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:43:13 go: finding github.com/mitchellh/copystructure v1.0.0 14:43:13 go: finding github.com/mitchellh/go-homedir v1.0.0 14:43:13 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:43:13 go: finding github.com/mitchellh/gox v0.4.0 14:43:13 go: finding github.com/mitchellh/iochan v1.0.0 14:43:13 go: finding github.com/mitchellh/mapstructure v1.1.2 14:43:13 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:43:13 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:43:13 go: finding github.com/pelletier/go-toml v1.2.0 14:43:13 go: finding github.com/pkg/errors v0.8.1 14:43:13 go: finding github.com/pmezard/go-difflib v1.0.0 14:43:13 go: finding github.com/posener/complete v1.1.1 14:43:13 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:43:13 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:43:13 go: finding github.com/stretchr/objx v0.1.0 14:43:13 go: finding github.com/stretchr/testify v1.5.1 14:43:13 go: finding github.com/ugorji/go v1.1.4 14:43:13 go: finding github.com/x448/float16 v0.8.4 14:43:13 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:43:13 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:43:13 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:43:13 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:43:13 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:43:13 go: finding gopkg.in/yaml.v2 v2.2.8 14:43:13 9eb99e56ec68: Pull complete 14:43:13 27c7a5d97fbd: Pull complete 14:43:14 5c102a31e300: Pull complete 14:43:14 dcfb455df0a1: Pull complete 14:43:14 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:43:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:43:14 ---> 7c70fe431013 14:43:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:43:14 ---> Running in 4ef5be986900 14:43:14 Removing intermediate container 4ef5be986900 14:43:14 ---> 6a80de2f6349 14:43:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:43:14 ---> Running in ac7424d85597 14:43:15 Removing intermediate container ac7424d85597 14:43:15 ---> 3c035da98c5a 14:43:15 Step 5/8 : RUN apk add --no-cache make git 14:43:15 ---> Running in c660cd813b92 14:43:16 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:43:17 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:43:17 OK: 143 MiB in 39 packages 14:43:17 Removing intermediate container c660cd813b92 14:43:17 ---> 5576c18b15be 14:43:17 Step 6/8 : WORKDIR /device-sdk-go 14:43:17 ---> Running in 577ca2226903 14:43:17 Removing intermediate container 577ca2226903 14:43:17 ---> be00a33bdbe3 14:43:17 Step 7/8 : COPY . . 14:43:18 ---> eb4f2ebb3c80 14:43:18 Step 8/8 : RUN go mod download 14:43:18 ---> Running in e0a709ed2ef2 14:43:20 go: finding github.com/BurntSushi/toml v0.3.1 14:43:20 go: finding github.com/OneOfOne/xxhash v1.2.6 14:43:20 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:43:20 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:43:20 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:43:20 go: finding github.com/bgentry/speakeasy v0.1.0 14:43:20 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:43:20 go: finding github.com/davecgh/go-spew v1.1.1 14:43:20 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:43:20 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:43:20 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:43:20 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:43:20 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:43:20 go: finding github.com/fatih/color v1.7.0 14:43:20 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:43:20 go: finding github.com/go-kit/kit v0.8.0 14:43:20 go: finding github.com/go-logfmt/logfmt v0.4.0 14:43:20 go: finding github.com/go-stack/stack v1.8.0 14:43:20 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:43:20 go: finding github.com/google/uuid v1.1.0 14:43:20 go: finding github.com/gorilla/mux v1.7.1 14:43:20 go: finding github.com/hashicorp/consul/api v1.1.0 14:43:20 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:43:20 go: finding github.com/hashicorp/errwrap v1.0.0 14:43:20 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:43:20 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:43:20 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:43:20 go: finding github.com/hashicorp/go-multierror v1.0.0 14:43:20 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:43:20 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:43:20 go: finding github.com/hashicorp/go-syslog v1.0.0 14:43:20 go: finding github.com/hashicorp/go-uuid v1.0.1 14:43:20 go: finding github.com/hashicorp/go.net v0.0.1 14:43:20 go: finding github.com/hashicorp/golang-lru v0.5.0 14:43:20 go: finding github.com/hashicorp/logutils v1.0.0 14:43:20 go: finding github.com/hashicorp/mdns v1.0.0 14:43:20 go: finding github.com/hashicorp/memberlist v0.1.3 14:43:20 go: finding github.com/hashicorp/serf v0.8.2 14:43:20 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:43:21 go: finding github.com/mattn/go-colorable v0.0.9 14:43:21 go: finding github.com/mattn/go-isatty v0.0.3 14:43:21 go: finding github.com/miekg/dns v1.0.14 14:43:21 go: finding github.com/mitchellh/cli v1.0.0 14:43:21 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:43:21 go: finding github.com/mitchellh/copystructure v1.0.0 14:43:21 go: finding github.com/mitchellh/go-homedir v1.0.0 14:43:21 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:43:21 go: finding github.com/mitchellh/gox v0.4.0 14:43:21 go: finding github.com/mitchellh/iochan v1.0.0 14:43:21 go: finding github.com/mitchellh/mapstructure v1.1.2 14:43:21 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:43:21 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:43:21 go: finding github.com/pelletier/go-toml v1.2.0 14:43:21 go: finding github.com/pkg/errors v0.8.1 14:43:21 go: finding github.com/pmezard/go-difflib v1.0.0 14:43:21 go: finding github.com/posener/complete v1.1.1 14:43:21 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:43:21 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:43:21 go: finding github.com/stretchr/objx v0.1.0 14:43:21 go: finding github.com/stretchr/testify v1.5.1 14:43:21 go: finding github.com/ugorji/go v1.1.4 14:43:21 go: finding github.com/x448/float16 v0.8.4 14:43:21 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:43:21 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:43:21 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:43:21 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:43:21 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:43:21 go: finding gopkg.in/yaml.v2 v2.2.8 14:43:23 Removing intermediate container 33c0054a9451 14:43:23 ---> c9884183a3dd 14:43:23 Successfully built c9884183a3dd 14:43:23 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:43:24 + docker inspect -f . ci-base-image-arm64 14:43:24 . [Pipeline] withDockerContainer 14:43:24 prd-ubuntu18.04-docker-arm64-4c-16g-3266 does not seem to be running inside a container 14:43:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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:43:26 $ docker top 0995b6617faf8fbadce51ecc13907acd55beaf5eb9cb621de179bb553b31f3da -eo pid,comm [Pipeline] { [Pipeline] sh 14:43:26 Removing intermediate container e0a709ed2ef2 14:43:26 ---> b51f55fbe574 14:43:26 Successfully built b51f55fbe574 14:43:26 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:43:27 + go version 14:43:27 go version go1.13.5 linux/arm64 14:43:27 + docker inspect -f . ci-base-image-x86_64 14:43:27 . [Pipeline] withDockerContainer 14:43:27 prd-centos7-docker-4c-2g-3272 does not seem to be running inside a container 14:43:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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:43:29 $ docker top 4ae2e34320effbac83d40cc8a527b29bf2ac74ebc00ca474f9669552958f993e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 14:43:30 + go version 14:43:30 go version go1.13.5 linux/amd64 [Pipeline] sh 14:43:30 + make test 14:43:30 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:43:30 + make test 14:43:30 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:43:30 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:43:31 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:43:40 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:43:40 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:43:40 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.013s coverage: 22.1% of statements 14:43:44 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.051s coverage: 95.8% of statements 14:43:58 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:43:58 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:44:00 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.067s coverage: 22.1% of statements 14:44:03 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.156s coverage: 95.8% of statements 14:44:16 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.068s coverage: 11.4% of statements 14:44:16 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.1% of statements 14:44:16 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:44:16 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.060s coverage: 38.5% of statements 14:44:16 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:44:16 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:44:16 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.419s coverage: 79.8% of statements 14:44:16 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:44:16 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:44:16 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:44:16 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements 14:44:16 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:44:16 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 71.4% of statements 14:44:16 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:44:16 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:44:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:44:16 gofmt -l . 14:44:16 [ "`gofmt -l .`" = "" ] 14:44:16 ./bin/test-attribution-txt.sh 14:44:16 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:44:16 Stashed 1 file(s) [Pipeline] } 14:44:16 $ docker stop --time=1 4ae2e34320effbac83d40cc8a527b29bf2ac74ebc00ca474f9669552958f993e 14:44:18 $ docker rm -f 4ae2e34320effbac83d40cc8a527b29bf2ac74ebc00ca474f9669552958f993e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:44:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:44:19 + ls -al . 14:44:19 total 160 14:44:19 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 10 14:44 . 14:44:19 drwxrwxr-x. 4 jenkins jenkins 28 Apr 10 14:42 .. 14:44:19 drwxrwxr-x. 3 jenkins jenkins 20 Apr 10 14:42 api 14:44:19 drwxrwxr-x. 2 jenkins jenkins 64 Apr 10 14:42 bin 14:44:19 -rw-r--r--. 1 jenkins jenkins 96404 Apr 10 14:44 coverage.out 14:44:19 -rw-rw-r--. 1 jenkins jenkins 936 Apr 10 14:42 Dockerfile.build 14:44:19 -rw-rw-r--. 1 jenkins jenkins 140 Apr 10 14:42 .dockerignore 14:44:19 drwxrwxr-x. 4 jenkins jenkins 31 Apr 10 14:42 example 14:44:19 drwxrwxr-x. 8 jenkins jenkins 179 Apr 10 14:42 .git 14:44:19 drwxrwxr-x. 2 jenkins jenkins 38 Apr 10 14:42 .github 14:44:19 -rw-rw-r--. 1 jenkins jenkins 138 Apr 10 14:42 .gitignore 14:44:19 -rw-r--r--. 1 jenkins jenkins 446 Apr 10 14:44 go.mod 14:44:19 -rw-r--r--. 1 jenkins jenkins 12076 Apr 10 14:44 go.sum 14:44:19 drwxrwxr-x. 14 jenkins jenkins 196 Apr 10 14:42 internal 14:44:19 -rw-rw-r--. 1 jenkins jenkins 808 Apr 10 14:42 Jenkinsfile 14:44:19 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 10 14:42 LICENSE 14:44:19 -rw-rw-r--. 1 jenkins jenkins 892 Apr 10 14:42 Makefile 14:44:19 drwxrwxr-x. 5 jenkins jenkins 50 Apr 10 14:42 pkg 14:44:19 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 10 14:42 README.md 14:44:19 drwxrwxr-x. 3 jenkins jenkins 58 Apr 10 14:42 .semver 14:44:19 drwxrwxr-x. 4 jenkins jenkins 54 Apr 10 14:42 snap 14:44:19 -rw-rw-r--. 1 jenkins jenkins 5 Apr 10 14:42 VERSION 14:44:19 -rw-rw-r--. 1 jenkins jenkins 222 Apr 10 14:42 version.go [Pipeline] isUnix [Pipeline] sh 14:44:20 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a481818750020c73f64251465ca54d03c6560458 --label arch=amd64 --label version=0.0.0 . 14:44:20 Sending build context to Docker daemon 2.993MB 14:44:20 Step 1/21 : ARG BASE=golang:1.13-alpine 14:44:20 Step 2/21 : FROM ${BASE} AS builder 14:44:20 ---> b51f55fbe574 14:44:20 Step 3/21 : ARG MAKE='make build' 14:44:20 ---> Running in c169a62c3e8c 14:44:20 Removing intermediate container c169a62c3e8c 14:44:20 ---> f1f5ad4fac0c 14:44:20 Step 4/21 : WORKDIR /device-sdk-go 14:44:20 ---> Running in 90f4da5602c7 14:44:20 Removing intermediate container 90f4da5602c7 14:44:20 ---> 1a38d59e812c 14:44:20 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:44:20 ---> Running in bf36e4f26557 14:44:20 Removing intermediate container bf36e4f26557 14:44:20 ---> 341955664ecb 14:44:20 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:44:20 ---> Running in c3dbfc44e2dc 14:44:21 Removing intermediate container c3dbfc44e2dc 14:44:21 ---> 309e5428d36b 14:44:21 Step 7/21 : RUN apk add --update --no-cache make git 14:44:21 ---> Running in 9e980d98da0f 14:44:22 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:44:22 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:44:22 OK: 143 MiB in 39 packages 14:44:23 Removing intermediate container 9e980d98da0f 14:44:23 ---> e77d5fc25fa7 14:44:23 Step 8/21 : COPY . . 14:44:23 ---> 80f0be75dae4 14:44:23 Step 9/21 : RUN ${MAKE} 14:44:23 ---> Running in 182f34393718 14:44:24 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:44:32 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:44:32 Removing intermediate container 182f34393718 14:44:32 ---> f1149bb0ba58 14:44:32 Step 10/21 : FROM scratch 14:44:32 ---> 14:44:32 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:44:32 ---> Running in 14c3ce74a615 14:44:32 Removing intermediate container 14c3ce74a615 14:44:32 ---> 72d89487dc6e 14:44:32 Step 12/21 : ENV APP_PORT=49990 14:44:32 ---> Running in a95dce2b77d7 14:44:32 Removing intermediate container a95dce2b77d7 14:44:32 ---> 79b1bd5a9067 14:44:32 Step 13/21 : EXPOSE $APP_PORT 14:44:32 ---> Running in 146820a93163 14:44:33 Removing intermediate container 146820a93163 14:44:33 ---> c9f46fd96fa2 14:44:33 Step 14/21 : WORKDIR / 14:44:33 ---> Running in 221ce23302e6 14:44:33 Removing intermediate container 221ce23302e6 14:44:33 ---> c79840ddc8c6 14:44:33 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:44:33 ---> 2bc5dbefc539 14:44:33 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:44:33 ---> f1474ff26045 14:44:33 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:44:34 ---> 9c9aa244377f 14:44:34 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:44:34 ---> Running in 21c938293f1c 14:44:34 Removing intermediate container 21c938293f1c 14:44:34 ---> 120352df817d 14:44:34 Step 19/21 : LABEL arch=amd64 14:44:34 ---> Running in c5de3ad016fe 14:44:34 Removing intermediate container c5de3ad016fe 14:44:34 ---> 4b33d3b2241e 14:44:34 Step 20/21 : LABEL git_sha=a481818750020c73f64251465ca54d03c6560458 14:44:34 ---> Running in ebc89b183509 14:44:34 Removing intermediate container ebc89b183509 14:44:34 ---> 87b5d6c477b3 14:44:34 Step 21/21 : LABEL version=0.0.0 14:44:34 ---> Running in 07b06c6f69bc 14:44:35 Removing intermediate container 07b06c6f69bc 14:44:35 ---> 325cb7442927 14:44:35 [Warning] One or more build-args [ARCH] were not consumed 14:44:35 Successfully built 325cb7442927 14:44:35 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } 14:44:35 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.044s coverage: 11.4% of statements 14:44:35 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 22.1% of statements 14:44:35 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:44:35 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.192s coverage: 38.5% of statements 14:44:35 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:44:35 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:44:35 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.684s coverage: 79.8% of statements 14:44:35 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:44:35 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:44:35 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:44:35 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.048s coverage: 52.6% of statements 14:44:35 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:44:35 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 71.4% of statements 14:44:35 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:44:35 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:44:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:44:38 gofmt -l . 14:44:38 [ "`gofmt -l .`" = "" ] 14:44:39 ./bin/test-attribution-txt.sh 14:44:39 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:44:40 Warning: overwriting stash ‘coverage-report’ 14:44:40 Stashed 1 file(s) [Pipeline] } 14:44:40 $ docker stop --time=1 0995b6617faf8fbadce51ecc13907acd55beaf5eb9cb621de179bb553b31f3da 14:44:42 $ docker rm -f 0995b6617faf8fbadce51ecc13907acd55beaf5eb9cb621de179bb553b31f3da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:44:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:44:44 + ls -al . 14:44:44 total 200 14:44:44 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 14:44 . 14:44:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 14:42 .. 14:44:44 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 14:42 .dockerignore 14:44:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 14:42 .git 14:44:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 14:42 .github 14:44:44 -rw-rw-r-- 1 jenkins jenkins 138 Apr 10 14:42 .gitignore 14:44:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 14:42 .semver 14:44:44 -rw-rw-r-- 1 jenkins jenkins 936 Apr 10 14:42 Dockerfile.build 14:44:44 -rw-rw-r-- 1 jenkins jenkins 808 Apr 10 14:42 Jenkinsfile 14:44:44 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 14:42 LICENSE 14:44:44 -rw-rw-r-- 1 jenkins jenkins 892 Apr 10 14:42 Makefile 14:44:44 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 10 14:42 README.md 14:44:44 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 14:42 VERSION 14:44:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 14:42 api 14:44:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 14:42 bin 14:44:44 -rw-r--r-- 1 jenkins jenkins 96404 Apr 10 14:44 coverage.out 14:44:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 14:42 example 14:44:44 -rw-r--r-- 1 jenkins jenkins 446 Apr 10 14:44 go.mod 14:44:44 -rw-r--r-- 1 jenkins jenkins 12076 Apr 10 14:44 go.sum 14:44:44 drwxrwxr-x 14 jenkins jenkins 4096 Apr 10 14:42 internal 14:44:44 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 14:42 pkg 14:44:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 14:42 snap 14:44:44 -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 14:42 version.go [Pipeline] isUnix [Pipeline] sh 14:44:44 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a481818750020c73f64251465ca54d03c6560458 --label arch=arm64 --label version=0.0.0 . 14:44:45 Sending build context to Docker daemon 2.995MB 14:44:45 Step 1/21 : ARG BASE=golang:1.13-alpine 14:44:45 Step 2/21 : FROM ${BASE} AS builder 14:44:45 ---> c9884183a3dd 14:44:45 Step 3/21 : ARG MAKE='make build' 14:44:45 ---> Running in 75bfc980cbb1 14:44:45 Removing intermediate container 75bfc980cbb1 14:44:45 ---> 871066cf4dbb 14:44:45 Step 4/21 : WORKDIR /device-sdk-go 14:44:45 ---> Running in 0821fa5e91de 14:44:46 Removing intermediate container 0821fa5e91de 14:44:46 ---> f000c73736d4 14:44:46 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:44:46 ---> Running in 5fec98c8a6db 14:44:46 Removing intermediate container 5fec98c8a6db 14:44:46 ---> ca6642a36248 14:44:46 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:44:46 ---> Running in 4ce3b54385cd 14:44:48 Removing intermediate container 4ce3b54385cd 14:44:48 ---> 8db2491c7673 14:44:48 Step 7/21 : RUN apk add --update --no-cache make git 14:44:48 ---> Running in 9147d4d87c02 14:44:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:44:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:44:51 OK: 125 MiB in 39 packages 14:44:52 Removing intermediate container 9147d4d87c02 14:44:52 ---> 30fd18d7cb07 14:44:52 Step 8/21 : COPY . . 14:44:52 ---> 70c42fcf84ca 14:44:52 Step 9/21 : RUN ${MAKE} 14:44:53 ---> Running in d10eacc74c84 14:44:54 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:45:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:45:18 Removing intermediate container d10eacc74c84 14:45:18 ---> f824dada7797 14:45:18 Step 10/21 : FROM scratch 14:45:18 ---> 14:45:18 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:45:18 ---> Running in 7842e0f1b493 14:45:18 Removing intermediate container 7842e0f1b493 14:45:18 ---> c10575e0a779 14:45:18 Step 12/21 : ENV APP_PORT=49990 14:45:18 ---> Running in b21be45f19e7 14:45:19 Removing intermediate container b21be45f19e7 14:45:19 ---> 657ee619432e 14:45:19 Step 13/21 : EXPOSE $APP_PORT 14:45:19 ---> Running in 62b3643e474b 14:45:19 Removing intermediate container 62b3643e474b 14:45:19 ---> 3e7aef16dbaf 14:45:19 Step 14/21 : WORKDIR / 14:45:19 ---> Running in 0faf7a095d98 14:45:19 Removing intermediate container 0faf7a095d98 14:45:19 ---> e6d9e62960b4 14:45:19 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:45:20 ---> 2dbe6b103849 14:45:20 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:45:21 ---> b5117803b86e 14:45:21 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:45:22 ---> 6272bb17853c 14:45:22 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:45:22 ---> Running in 9c9e3a89429d 14:45:22 Removing intermediate container 9c9e3a89429d 14:45:22 ---> 522039c9a1c6 14:45:22 Step 19/21 : LABEL arch=arm64 14:45:22 ---> Running in f6253e725dfc 14:45:22 Removing intermediate container f6253e725dfc 14:45:22 ---> 64043688ba10 14:45:22 Step 20/21 : LABEL git_sha=a481818750020c73f64251465ca54d03c6560458 14:45:22 ---> Running in ac2361bb0723 14:45:23 Removing intermediate container ac2361bb0723 14:45:23 ---> 0a9366f669f7 14:45:23 Step 21/21 : LABEL version=0.0.0 14:45:23 ---> Running in 4cc85f55bde6 14:45:23 Removing intermediate container 4cc85f55bde6 14:45:23 ---> 8da3dd45dbf5 14:45:23 [Warning] One or more build-args [ARCH] were not consumed 14:45:23 Successfully built 8da3dd45dbf5 14:45:23 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 14:45:24 provisioning config files... 14:45:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config2932718766776018794tmp [Pipeline] { [Pipeline] sh 14:45:25 + curl -s https://codecov.io/bash 14:45:25 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config2932718766776018794tmp 14:45:25 14:45:25 _____ _ 14:45:25 / ____| | | 14:45:25 | | ___ __| | ___ ___ _____ __ 14:45:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:45:25 | |___| (_) | (_| | __/ (_| (_) \ V / 14:45:25 \_____\___/ \__,_|\___|\___\___/ \_/ 14:45:25 Bash-20200316-40b1c41 14:45:25 14:45:25 14:45:25 ==> Jenkins CI detected. 14:45:25 project root: . 14:45:25 Fixing merge commit SHA 14:45:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:45:25 ==> Running gcov in . (disable via -X gcov) 14:45:25 ==> Python coveragepy not found 14:45:25 ==> Searching for coverage reports in: 14:45:25 + . 14:45:25 -> Found 1 reports 14:45:25 ==> Detecting git/mercurial file structure 14:45:25 ==> Reading reports 14:45:25 + ./coverage.out bytes=96404 14:45:25 ==> Appending adjustments 14:45:25 http://docs.codecov.io/docs/fixing-reports 14:45:25 + Found adjustments 14:45:25 ==> Gzipping contents 14:45:25 ==> Uploading reports 14:45:25 url: https://codecov.io 14:45:25 query: branch=PR-474&commit=1bb097ad4365b735bfef0648a55752ad7a9b68a1&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= 14:45:25 -> Pinging Codecov 14:45:25 https://codecov.io/upload/v4?package=bash-20200316-40b1c41&token=secret&branch=PR-474&commit=1bb097ad4365b735bfef0648a55752ad7a9b68a1&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= 14:45:26 -> Uploading 14:45:26 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1bb097ad4365b735bfef0648a55752ad7a9b68a1 [Pipeline] } 14:45:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 14:45:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:45:28 ---> package-listing.sh 14:45:28 ++ facter osfamily 14:45:28 ++ tr '[:upper:]' '[:lower:]' 14:45:28 + OS_FAMILY=redhat 14:45:28 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-474 14:45:28 + START_PACKAGES=/tmp/packages_start.txt 14:45:28 + END_PACKAGES=/tmp/packages_end.txt 14:45:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:45:28 + PACKAGES=/tmp/packages_start.txt 14:45:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' 14:45:28 + PACKAGES=/tmp/packages_end.txt 14:45:28 + case "${OS_FAMILY}" in 14:45:28 + rpm -qa 14:45:28 + sort 14:45:31 + '[' -f /tmp/packages_start.txt ']' 14:45:31 + '[' -f /tmp/packages_end.txt ']' 14:45:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:45:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' 14:45:31 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ 14:45:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ [Pipeline] isUnix [Pipeline] sh 14:45:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:45:31 14:45:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:45:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:45:32 alpine: Pulling from edgex-lftools-log-publisher 14:45:32 c9b1b535fdd9: Pulling fs layer 14:45:32 2cc5ad85d9ab: Pulling fs layer 14:45:32 756a868c4378: Pulling fs layer 14:45:32 444b2fc9a129: Pulling fs layer 14:45:32 ea15f1150254: Pulling fs layer 14:45:32 41b27a9f41bf: Pulling fs layer 14:45:32 28c525ee5125: Pulling fs layer 14:45:32 094b1ea09ed8: Pulling fs layer 14:45:32 138eaada9080: Pulling fs layer 14:45:32 0622d0fa9048: Pulling fs layer 14:45:32 41b27a9f41bf: Waiting 14:45:32 28c525ee5125: Waiting 14:45:32 094b1ea09ed8: Waiting 14:45:32 138eaada9080: Waiting 14:45:32 0622d0fa9048: Waiting 14:45:32 444b2fc9a129: Waiting 14:45:32 2cc5ad85d9ab: Download complete 14:45:32 444b2fc9a129: Verifying Checksum 14:45:32 444b2fc9a129: Download complete 14:45:32 c9b1b535fdd9: Verifying Checksum 14:45:32 ea15f1150254: Verifying Checksum 14:45:32 ea15f1150254: Download complete 14:45:32 28c525ee5125: Verifying Checksum 14:45:32 28c525ee5125: Download complete 14:45:32 c9b1b535fdd9: Pull complete 14:45:32 756a868c4378: Verifying Checksum 14:45:32 756a868c4378: Download complete 14:45:32 138eaada9080: Verifying Checksum 14:45:32 138eaada9080: Download complete 14:45:32 0622d0fa9048: Verifying Checksum 14:45:32 0622d0fa9048: Download complete 14:45:32 094b1ea09ed8: Verifying Checksum 14:45:32 094b1ea09ed8: Download complete 14:45:32 2cc5ad85d9ab: Pull complete 14:45:33 41b27a9f41bf: Verifying Checksum 14:45:33 41b27a9f41bf: Download complete 14:45:34 756a868c4378: Pull complete 14:45:34 444b2fc9a129: Pull complete 14:45:34 ea15f1150254: Pull complete 14:45:38 41b27a9f41bf: Pull complete 14:45:38 28c525ee5125: Pull complete 14:45:40 094b1ea09ed8: Pull complete 14:45:40 138eaada9080: Pull complete 14:45:40 0622d0fa9048: Pull complete 14:45:40 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:45:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:45:40 prd-centos7-docker-4c-2g-3269 does not seem to be running inside a container 14:45:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-474 -v /w/workspace/dgexfoundry_device-sdk-go_PR-474:/w/workspace/dgexfoundry_device-sdk-go_PR-474:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-474@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 14:45:41 $ docker top fd3062cdcc0521076c101cc7c26f7d3aef4a4a3ca0c0178133b11c379b2b1c1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:45:42 provisioning config files... 14:45:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config5786111149227547851tmp [Pipeline] { [Pipeline] echo 14:45:42 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:45:42 ---> create-netrc.sh [Pipeline] echo 14:45:42 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:45:42 ---> logs-deploy.sh 14:45:42 + ARCHIVE_ARTIFACTS= 14:45:42 + LOGS_SERVER=https://logs.edgexfoundry.org 14:45:42 + '[' https://logs.edgexfoundry.org == None ']' 14:45:42 + NEXUS_URL=https://nexus.edgexfoundry.org 14:45:42 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/5 14:45:42 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/5/ 14:45:42 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/5 /w/workspace/dgexfoundry_device-sdk-go_PR-474 14:45:44 Archives upload complete. 14:45:44 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/5 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/5/ 14:45:44 ---> uname -a: 14:45:44 Linux fd3062cdcc05 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 14:45:44 14:45:44 14:45:44 ---> lscpu: 14:45:44 Architecture: x86_64 14:45:44 CPU op-mode(s): 32-bit, 64-bit 14:45:44 Byte Order: Little Endian 14:45:44 Address sizes: 40 bits physical, 48 bits virtual 14:45:44 CPU(s): 4 14:45:44 On-line CPU(s) list: 0-3 14:45:44 Thread(s) per core: 1 14:45:44 Core(s) per socket: 1 14:45:44 Socket(s): 4 14:45:44 NUMA node(s): 1 14:45:44 Vendor ID: GenuineIntel 14:45:44 CPU family: 6 14:45:44 Model: 44 14:45:44 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 14:45:44 Stepping: 1 14:45:44 CPU MHz: 2933.438 14:45:44 BogoMIPS: 5866.87 14:45:44 Virtualization: VT-x 14:45:44 Hypervisor vendor: KVM 14:45:44 Virtualization type: full 14:45:44 L1d cache: 128 KiB 14:45:44 L1i cache: 128 KiB 14:45:44 L2 cache: 16 MiB 14:45:44 L3 cache: 64 MiB 14:45:44 NUMA node0 CPU(s): 0-3 14:45:44 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 14:45:44 Vulnerability Meltdown: Mitigation; PTI 14:45:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:45:44 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 14:45:44 Vulnerability Spectre v2: Mitigation; Full retpoline 14:45:44 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 14:45:44 14:45:44 14:45:44 ---> nproc: 14:45:44 4 14:45:44 14:45:44 14:45:44 ---> df -h: 14:45:44 Filesystem Size Used Available Use% Mounted on 14:45:44 overlay 50.0G 6.4G 43.6G 13% / 14:45:44 tmpfs 64.0M 0 64.0M 0% /dev 14:45:44 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 14:45:44 shm 64.0M 0 64.0M 0% /dev/shm 14:45:44 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 14:45:44 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 14:45:44 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 14:45:44 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-474 14:45:44 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp 14:45:44 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 14:45:44 14:45:44 14:45:44 ---> free -m: 14:45:44 total used free shared buff/cache available 14:45:44 Mem: 1838 604 78 0 1155 1128 14:45:44 Swap: 1023 1 1022 14:45:44 14:45:44 14:45:44 ---> ip addr: 14:45:44 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:45:44 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:45:44 inet 127.0.0.1/8 scope host lo 14:45:44 valid_lft forever preferred_lft forever 14:45:44 6: eth0@if7: mtu 1458 qdisc noqueue state UP 14:45:44 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 14:45:44 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 14:45:44 valid_lft forever preferred_lft forever 14:45:44 14:45:44 14:45:44 ---> sar -b -r -n DEV: 14:45:44 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/10/20 _x86_64_ (4 CPU) 14:45:44 14:45:44 14:41:20 LINUX RESTART 14:45:44 14:45:44 14:42:01 tps rtps wtps bread/s bwrtn/s 14:45:44 14:43:01 20.01 6.39 13.62 1853.75 2051.02 14:45:44 14:44:01 2.95 0.00 2.95 0.00 97.10 14:45:44 14:45:01 0.38 0.00 0.38 0.00 6.00 14:45:44 Average: 7.78 2.13 5.65 618.05 718.19 14:45:44 14:45:44 14:42:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:45:44 14:43:01 107976 1774328 94.26 2620 1232304 933464 31.85 443184 1171788 20 14:45:44 14:44:01 114104 1768200 93.94 2620 1232308 910976 31.08 438528 1171448 12 14:45:44 14:45:01 114384 1767920 93.92 2620 1232320 908944 31.01 438496 1171448 8 14:45:44 Average: 112155 1770149 94.04 2620 1232311 917795 31.31 440069 1171561 13 14:45:44 14:45:44 14:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 14:45:44 14:43:01 eth0 121.53 88.56 449.12 48.76 0.00 0.00 0.00 14:45:44 14:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:45:44 14:43:01 docker0 6.88 4.90 0.94 16.51 0.00 0.00 0.00 14:45:44 14:44:01 eth0 1.63 0.50 0.59 0.39 0.00 0.00 0.00 14:45:44 14:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:45:44 14:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:45:44 14:45:01 eth0 0.55 0.40 0.31 0.21 0.00 0.00 0.00 14:45:44 14:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:45:44 14:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:45:44 Average: eth0 41.25 29.83 150.04 16.46 0.00 0.00 0.00 14:45:44 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:45:44 Average: docker0 2.29 1.63 0.31 5.50 0.00 0.00 0.00 14:45:44 14:45:44 14:45:44 ---> sar -P ALL: 14:45:44 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/10/20 _x86_64_ (4 CPU) 14:45:44 14:45:44 14:41:20 LINUX RESTART 14:45:44 14:45:44 14:42:01 CPU %user %nice %system %iowait %steal %idle 14:45:44 14:43:01 all 2.92 0.00 1.44 0.10 0.00 95.54 14:45:44 14:43:01 0 3.26 0.00 1.57 0.15 0.02 95.00 14:45:44 14:43:01 1 2.81 0.00 1.29 0.03 0.00 95.87 14:45:44 14:43:01 2 2.76 0.00 1.27 0.07 0.00 95.90 14:45:44 14:43:01 3 2.88 0.00 1.62 0.12 0.00 95.39 14:45:44 14:44:01 all 0.07 0.00 0.06 0.00 0.00 99.87 14:45:44 14:44:01 0 0.07 0.00 0.03 0.00 0.00 99.90 14:45:44 14:44:01 1 0.05 0.00 0.07 0.00 0.00 99.88 14:45:44 14:44:01 2 0.08 0.00 0.10 0.00 0.00 99.82 14:45:44 14:44:01 3 0.05 0.00 0.03 0.00 0.00 99.92 14:45:44 14:45:01 all 0.07 0.00 0.05 0.00 0.00 99.88 14:45:44 14:45:01 0 0.13 0.00 0.03 0.00 0.00 99.83 14:45:44 14:45:01 1 0.07 0.00 0.07 0.00 0.00 99.87 14:45:44 14:45:01 2 0.05 0.00 0.03 0.00 0.00 99.92 14:45:44 14:45:01 3 0.05 0.00 0.07 0.00 0.00 99.88 14:45:44 Average: all 1.02 0.00 0.51 0.03 0.00 98.43 14:45:44 Average: 0 1.15 0.00 0.55 0.05 0.01 98.25 14:45:44 Average: 1 0.97 0.00 0.47 0.01 0.00 98.54 14:45:44 Average: 2 0.96 0.00 0.47 0.02 0.00 98.55 14:45:44 Average: 3 0.99 0.00 0.57 0.04 0.00 98.39 14:45:44 14:45:44 14:45:44