Pull request #356 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 lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from e13867da6350b88d7b4041fed1a7ddf1f1a8074b+678d12aee65b98b12cab7ea8d7bc0b6019a8dc80 (011e246aa0f11a18b0603835fd9ecf70a19812d8) 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 a8d5489117fb74ecf2babedeac9793ec80335c77 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 a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > 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:app-functions-sdk-go, semver:true, goVersion:1.13, testScript:make test, buildImage: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: app-functions-sdk-go-settings PROJECT: app-functions-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-7284 in /w/workspace/ndry_app-functions-sdk-go_PR-356 [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/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-356 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-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/app-functions-sdk-go.git +refs/pull/356/head:refs/remotes/origin/PR-356 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/356/head:refs/remotes/origin/PR-356 # 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/app-functions-sdk-go.git # timeout=10 Merging remotes/origin/master commit 678d12aee65b98b12cab7ea8d7bc0b6019a8dc80 into PR head commit e13867da6350b88d7b4041fed1a7ddf1f1a8074b Merge succeeded, producing e13867da6350b88d7b4041fed1a7ddf1f1a8074b Checking out Revision e13867da6350b88d7b4041fed1a7ddf1f1a8074b (PR-356) Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/356/head:refs/remotes/origin/PR-356 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e13867da6350b88d7b4041fed1a7ddf1f1a8074b # 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 678d12aee65b98b12cab7ea8d7bc0b6019a8dc80 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e13867da6350b88d7b4041fed1a7ddf1f1a8074b # timeout=10 Commit message: "feat: Add ability for command-line and environment override of service key" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:48:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:48:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:48:06 ========================================================= 21:48:06 EdgeX Global Pipelines Version Info 21:48:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 60780f90db143aa19afcd0214b1b8be6f588f66e # timeout=10 21:48:07 ------------------- 21:48:07 stable info: 21:48:07 ------------------- 21:48:07 Commited By: Emilio Reyes emilio.reyes@intel.com 21:48:07 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 21:48:07 Message: update stable to v1.0.87 21:48:08 ------------------- 21:48:08 experimental info: 21:48:08 ------------------- 21:48:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:48:08 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 21:48:08 Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 21:48:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:48:10 21:48:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:48:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:48:11 latest: Pulling from edgex-devops/git-semver 21:48:11 9123ac7c32f7: Pulling fs layer 21:48:11 b8cc5d1170e3: Pulling fs layer 21:48:11 2924cbbf6a41: Pulling fs layer 21:48:11 93b08a4f1073: Pulling fs layer 21:48:11 93b08a4f1073: Waiting 21:48:11 b8cc5d1170e3: Verifying Checksum 21:48:11 b8cc5d1170e3: Download complete 21:48:11 9123ac7c32f7: Verifying Checksum 21:48:11 9123ac7c32f7: Download complete 21:48:11 93b08a4f1073: Verifying Checksum 21:48:11 93b08a4f1073: Download complete 21:48:11 2924cbbf6a41: Verifying Checksum 21:48:11 2924cbbf6a41: Download complete 21:48:11 9123ac7c32f7: Pull complete 21:48:11 b8cc5d1170e3: Pull complete 21:48:12 2924cbbf6a41: Pull complete 21:48:12 93b08a4f1073: Pull complete 21:48:12 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 21:48:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:48:12 prd-centos7-docker-4c-2g-7284 does not seem to be running inside a container 21:48:12 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-356 -v /w/workspace/ndry_app-functions-sdk-go_PR-356:/w/workspace/ndry_app-functions-sdk-go_PR-356:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-356@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-356@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:10004/edgex-devops/git-semver:latest cat 21:48:13 $ docker top 9c37dab33a2645b8e99cce1bc51c0a772760944369d3268b04971eb8e31a7e65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:48:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:48:13 [ssh-agent] Looking for ssh-agent implementation... 21:48:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:48:13 $ docker exec 9c37dab33a2645b8e99cce1bc51c0a772760944369d3268b04971eb8e31a7e65 ssh-agent 21:48:14 SSH_AUTH_SOCK=/tmp/ssh-FidpDbaylKpq/agent.15 21:48:14 SSH_AGENT_PID=22 21:48:14 Running ssh-add (command line suppressed) 21:48:14 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-356@tmp/private_key_4673454951116519022.key (/w/workspace/ndry_app-functions-sdk-go_PR-356@tmp/private_key_4673454951116519022.key) 21:48:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:48:14 + git describe --exact-match --tags HEAD 21:48:14 fatal: No names found, cannot describe anything. [Pipeline] } 21:48:14 $ docker exec --env ******** --env ******** 9c37dab33a2645b8e99cce1bc51c0a772760944369d3268b04971eb8e31a7e65 ssh-agent -k 21:48:14 unset SSH_AUTH_SOCK; 21:48:14 unset SSH_AGENT_PID; 21:48:14 echo Agent pid 22 killed; 21:48:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:48:15 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 21:48:15 This usually means this commit has not been tagged. [Pipeline] sshagent 21:48:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:48:15 [ssh-agent] Looking for ssh-agent implementation... 21:48:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:48:15 $ docker exec 9c37dab33a2645b8e99cce1bc51c0a772760944369d3268b04971eb8e31a7e65 ssh-agent 21:48:15 SSH_AUTH_SOCK=/tmp/ssh-R8LEblZ4PHUN/agent.58 21:48:15 SSH_AGENT_PID=65 21:48:15 Running ssh-add (command line suppressed) 21:48:15 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-356@tmp/private_key_1353982621413108215.key (/w/workspace/ndry_app-functions-sdk-go_PR-356@tmp/private_key_1353982621413108215.key) 21:48:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:48:16 + git semver init 21:48:16 # -> Open(): unable to determine branch for HEAD 21:48:16 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-356/.git 21:48:16 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-356 21:48:16 # $SEMVER_REMOTE_NAME = origin 21:48:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:48:16 # $SEMVER_USER_NAME = edgex-jenkins 21:48:16 # $SEMVER_BRANCH = PR-356 21:48:16 # $SEMVER_TEMP = /tmp/semver-577732078 21:48:16 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 21:48:18 # '/tmp/semver-577732078' -> '/w/workspace/ndry_app-functions-sdk-go_PR-356/.semver' 21:48:18 # -> Force: false 21:48:18 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-356/.semver [Pipeline] } 21:48:18 $ docker exec --env ******** --env ******** 9c37dab33a2645b8e99cce1bc51c0a772760944369d3268b04971eb8e31a7e65 ssh-agent -k 21:48:18 unset SSH_AUTH_SOCK; 21:48:18 unset SSH_AGENT_PID; 21:48:18 echo Agent pid 65 killed; 21:48:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:48:19 + git semver [Pipeline] } 21:48:19 $ docker stop --time=1 9c37dab33a2645b8e99cce1bc51c0a772760944369d3268b04971eb8e31a7e65 21:48:20 $ docker rm -f 9c37dab33a2645b8e99cce1bc51c0a772760944369d3268b04971eb8e31a7e65 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 21:48:23 Stashed 118 file(s) [Pipeline] echo 21:48:23 [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 21:48:38 Still waiting to schedule task 21:48:38 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-7284’ 21:48:38 Still waiting to schedule task 21:48:38 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 21:50:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-7285 in /w/workspace/ndry_app-functions-sdk-go_PR-356 [Pipeline] { [Pipeline] ws 21:50:22 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 21:50:28 using credential edgex-jenkins-ssh 21:50:28 Cloning the remote Git repository 21:50:28 Cloning with configured refspecs honoured and without tags 21:50:28 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:50:28 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 21:50:28 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:50:28 > git --version # timeout=10 21:50:28 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/356/head:refs/remotes/origin/PR-356 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:50:31 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:50:31 > git config --add remote.origin.fetch +refs/pull/356/head:refs/remotes/origin/PR-356 # timeout=10 21:50:31 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:50:31 Fetching without tags 21:50:32 Merging remotes/origin/master commit 678d12aee65b98b12cab7ea8d7bc0b6019a8dc80 into PR head commit e13867da6350b88d7b4041fed1a7ddf1f1a8074b 21:50:32 Merge succeeded, producing e13867da6350b88d7b4041fed1a7ddf1f1a8074b 21:50:32 Checking out Revision e13867da6350b88d7b4041fed1a7ddf1f1a8074b (PR-356) 21:50:31 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:50:31 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:50:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/356/head:refs/remotes/origin/PR-356 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:50:32 > git config core.sparsecheckout # timeout=10 21:50:32 > git checkout -f e13867da6350b88d7b4041fed1a7ddf1f1a8074b # timeout=10 21:50:32 > git remote # timeout=10 21:50:32 > git config --get remote.origin.url # timeout=10 21:50:32 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:32 > git merge 678d12aee65b98b12cab7ea8d7bc0b6019a8dc80 # timeout=10 21:50:32 > git rev-parse HEAD^{commit} # timeout=10 21:50:32 > git config core.sparsecheckout # timeout=10 21:50:32 > git checkout -f e13867da6350b88d7b4041fed1a7ddf1f1a8074b # timeout=10 21:50:37 Commit message: "feat: Add ability for command-line and environment override of service key" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:50:40 ========================================================= 21:50:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 21:50:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:50:41 + 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 . 21:50:42 Sending build context to Docker daemon 36.94MB 21:50:42 Step 1/8 : ARG BASE=golang:1.13-alpine 21:50:42 Step 2/8 : FROM ${BASE} 21:50:43 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:50:43 cde5963f3b93: Pulling fs layer 21:50:43 2a23fa8c16f7: Pulling fs layer 21:50:43 777b28850792: Pulling fs layer 21:50:43 8a11ddd9e578: Pulling fs layer 21:50:43 4cf88f913ddb: Pulling fs layer 21:50:43 1df406cf5192: Pulling fs layer 21:50:43 8a11ddd9e578: Waiting 21:50:43 4cf88f913ddb: Waiting 21:50:43 cd6300453558: Pulling fs layer 21:50:43 1df406cf5192: Waiting 21:50:43 cd6300453558: Waiting 21:50:43 b9c365052c96: Pulling fs layer 21:50:43 b9c365052c96: Waiting 21:50:43 a2d8cc88f415: Pulling fs layer 21:50:43 ea1d1ca13537: Pulling fs layer 21:50:43 a2d8cc88f415: Waiting 21:50:43 3750a50a1c5e: Pulling fs layer 21:50:43 ea1d1ca13537: Waiting 21:50:43 3750a50a1c5e: Waiting 21:50:43 777b28850792: Download complete 21:50:43 2a23fa8c16f7: Download complete 21:50:43 4cf88f913ddb: Download complete 21:50:43 1df406cf5192: Verifying Checksum 21:50:43 1df406cf5192: Download complete 21:50:43 cde5963f3b93: Verifying Checksum 21:50:43 cde5963f3b93: Download complete 21:50:43 cde5963f3b93: Pull complete 21:50:44 2a23fa8c16f7: Pull complete 21:50:45 777b28850792: Pull complete 21:50:47 cd6300453558: Verifying Checksum 21:50:47 cd6300453558: Download complete 21:50:47 a2d8cc88f415: Verifying Checksum 21:50:47 a2d8cc88f415: Download complete 21:50:49 ea1d1ca13537: Verifying Checksum 21:50:49 ea1d1ca13537: Download complete 21:50:49 3750a50a1c5e: Verifying Checksum 21:50:49 3750a50a1c5e: Download complete 21:50:52 b9c365052c96: Verifying Checksum 21:50:52 b9c365052c96: Download complete 21:50:54 8a11ddd9e578: Verifying Checksum 21:50:54 8a11ddd9e578: Download complete 21:51:06 8a11ddd9e578: Pull complete 21:51:06 4cf88f913ddb: Pull complete 21:51:06 1df406cf5192: Pull complete 21:51:11 cd6300453558: Pull complete 21:51:15 b9c365052c96: Pull complete 21:51:15 a2d8cc88f415: Pull complete 21:51:17 ea1d1ca13537: Pull complete 21:51:18 3750a50a1c5e: Pull complete 21:51:18 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 21:51:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 21:51:18 ---> 78745c68409d 21:51:18 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 21:51:18 latest: Pulling from library/docker 21:51:18 29e5d40040c1: Pulling fs layer 21:51:18 3be38edc41e1: Pulling fs layer 21:51:18 fe3afb04d599: Pulling fs layer 21:51:18 59b74c254a8a: Pulling fs layer 21:51:18 9eee44a9dabb: Pulling fs layer 21:51:18 ae4d1ef7be7c: Pulling fs layer 21:51:18 8486642a619f: Pulling fs layer 21:51:18 9eee44a9dabb: Waiting 21:51:18 59b74c254a8a: Waiting 21:51:18 ae4d1ef7be7c: Waiting 21:51:18 8486642a619f: Waiting 21:51:19 fe3afb04d599: Verifying Checksum 21:51:19 fe3afb04d599: Download complete 21:51:19 3be38edc41e1: Verifying Checksum 21:51:19 3be38edc41e1: Download complete 21:51:19 29e5d40040c1: Verifying Checksum 21:51:19 29e5d40040c1: Download complete 21:51:19 Running on prd-centos7-docker-4c-2g-7286 in /w/workspace/ndry_app-functions-sdk-go_PR-356 [Pipeline] { [Pipeline] ws 21:51:19 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { 21:51:19 9eee44a9dabb: Verifying Checksum 21:51:19 9eee44a9dabb: Download complete 21:51:19 ae4d1ef7be7c: Verifying Checksum 21:51:19 ae4d1ef7be7c: Download complete 21:51:19 8486642a619f: Verifying Checksum 21:51:19 8486642a619f: Download complete [Pipeline] checkout 21:51:19 29e5d40040c1: Pull complete 21:51:20 3be38edc41e1: Pull complete 21:51:20 fe3afb04d599: Pull complete 21:51:24 using credential edgex-jenkins-ssh 21:51:24 Cloning the remote Git repository 21:51:24 Cloning with configured refspecs honoured and without tags 21:51:24 59b74c254a8a: Verifying Checksum 21:51:24 59b74c254a8a: Download complete 21:51:24 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:51:24 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 21:51:24 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:51:24 > git --version # timeout=10 21:51:24 using GIT_SSH to set credentials SSH Credentials for GitHub 21:51:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/356/head:refs/remotes/origin/PR-356 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:51:26 Fetching without tags 21:51:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:51:26 > git config --add remote.origin.fetch +refs/pull/356/head:refs/remotes/origin/PR-356 # timeout=10 21:51:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:51:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:51:26 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:51:26 using GIT_SSH to set credentials SSH Credentials for GitHub 21:51:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/356/head:refs/remotes/origin/PR-356 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:51:26 Merging remotes/origin/master commit 678d12aee65b98b12cab7ea8d7bc0b6019a8dc80 into PR head commit e13867da6350b88d7b4041fed1a7ddf1f1a8074b 21:51:27 Merge succeeded, producing e13867da6350b88d7b4041fed1a7ddf1f1a8074b 21:51:27 Checking out Revision e13867da6350b88d7b4041fed1a7ddf1f1a8074b (PR-356) 21:51:26 > git config core.sparsecheckout # timeout=10 21:51:26 > git checkout -f e13867da6350b88d7b4041fed1a7ddf1f1a8074b # timeout=10 21:51:26 > git remote # timeout=10 21:51:26 > git config --get remote.origin.url # timeout=10 21:51:26 using GIT_SSH to set credentials SSH Credentials for GitHub 21:51:26 > git merge 678d12aee65b98b12cab7ea8d7bc0b6019a8dc80 # timeout=10 21:51:27 > git rev-parse HEAD^{commit} # timeout=10 21:51:27 > git config core.sparsecheckout # timeout=10 21:51:27 > git checkout -f e13867da6350b88d7b4041fed1a7ddf1f1a8074b # timeout=10 21:51:28 59b74c254a8a: Pull complete 21:51:28 9eee44a9dabb: Pull complete 21:51:28 ae4d1ef7be7c: Pull complete 21:51:28 8486642a619f: Pull complete 21:51:28 Digest: sha256:8c119115801ae96e1f55b2ccb69cc84537c79eea057a00f363df0196f3d09fd4 21:51:28 Status: Downloaded newer image for docker:latest 21:51:31 Commit message: "feat: Add ability for command-line and environment override of service key" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:51:34 ========================================================= 21:51:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 21:51:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:51:35 + 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 . 21:51:35 ---> 1c1ed43e71a8 21:51:35 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:51:35 ---> Running in 6f28d5889f0b 21:51:35 Removing intermediate container 6f28d5889f0b 21:51:35 ---> d77b07c0e00b 21:51:35 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 21:51:35 ---> Running in 6d11864b7daa 21:51:36 Sending build context to Docker daemon 36.94MB 21:51:36 Step 1/8 : ARG BASE=golang:1.13-alpine 21:51:36 Step 2/8 : FROM ${BASE} 21:51:36 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 21:51:36 e6b0cf9c0882: Pulling fs layer 21:51:36 2848faf0eed1: Pulling fs layer 21:51:36 0f37312ad70f: Pulling fs layer 21:51:36 5788d62ee057: Pulling fs layer 21:51:36 0e6b1d234666: Pulling fs layer 21:51:36 bf5d7aec512f: Pulling fs layer 21:51:36 34c802a77dc8: Pulling fs layer 21:51:36 9eb99e56ec68: Pulling fs layer 21:51:36 27c7a5d97fbd: Pulling fs layer 21:51:36 5c102a31e300: Pulling fs layer 21:51:36 dcfb455df0a1: Pulling fs layer 21:51:36 34c802a77dc8: Waiting 21:51:36 27c7a5d97fbd: Waiting 21:51:36 5788d62ee057: Waiting 21:51:36 0e6b1d234666: Waiting 21:51:36 9eb99e56ec68: Waiting 21:51:36 5c102a31e300: Waiting 21:51:36 bf5d7aec512f: Waiting 21:51:36 dcfb455df0a1: Waiting 21:51:36 0f37312ad70f: Verifying Checksum 21:51:36 0f37312ad70f: Download complete 21:51:36 2848faf0eed1: Verifying Checksum 21:51:36 2848faf0eed1: Download complete 21:51:36 0e6b1d234666: Verifying Checksum 21:51:36 0e6b1d234666: Download complete 21:51:36 e6b0cf9c0882: Verifying Checksum 21:51:36 e6b0cf9c0882: Download complete 21:51:36 bf5d7aec512f: Verifying Checksum 21:51:36 bf5d7aec512f: Download complete 21:51:36 e6b0cf9c0882: Pull complete 21:51:37 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:51:37 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:51:37 34c802a77dc8: Verifying Checksum 21:51:37 34c802a77dc8: Download complete 21:51:37 27c7a5d97fbd: Verifying Checksum 21:51:37 27c7a5d97fbd: Download complete 21:51:38 (1/5) Installing libsodium (1.0.18-r0) 21:51:38 (2/5) Installing libzmq (4.3.2-r0) 21:51:38 (3/5) Installing pkgconf (1.6.3-r0) 21:51:38 2848faf0eed1: Pull complete 21:51:38 (4/5) Installing libsodium-dev (1.0.18-r0) 21:51:38 (5/5) Installing zeromq-dev (4.3.2-r0) 21:51:38 Executing busybox-1.31.1-r8.trigger 21:51:39 OK: 127 MiB in 44 packages 21:51:39 0f37312ad70f: Pull complete 21:51:39 9eb99e56ec68: Verifying Checksum 21:51:39 9eb99e56ec68: Download complete 21:51:39 dcfb455df0a1: Verifying Checksum 21:51:39 dcfb455df0a1: Download complete 21:51:39 5c102a31e300: Verifying Checksum 21:51:39 5c102a31e300: Download complete 21:51:39 5788d62ee057: Verifying Checksum 21:51:39 5788d62ee057: Download complete 21:51:40 Removing intermediate container 6d11864b7daa 21:51:40 ---> 82ca2ade2ebc 21:51:40 Step 6/8 : WORKDIR /build 21:51:40 ---> Running in eba4d1c13d7c 21:51:40 Removing intermediate container eba4d1c13d7c 21:51:40 ---> ef093eef461b 21:51:40 Step 7/8 : COPY go.mod . 21:51:41 ---> 1af4e2cbaa62 21:51:41 Step 8/8 : RUN go mod download 21:51:41 ---> Running in b23a7e206ece 21:51:44 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:51:44 go: finding github.com/BurntSushi/toml v0.3.1 21:51:44 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:51:44 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:51:44 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:51:44 go: finding github.com/bgentry/speakeasy v0.1.0 21:51:44 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:51:44 go: finding github.com/davecgh/go-spew v1.1.1 21:51:44 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 21:51:44 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 21:51:44 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 21:51:44 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:51:44 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.57 21:51:44 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.19 21:51:44 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 21:51:44 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:51:44 go: finding github.com/fatih/color v1.7.0 21:51:44 go: finding github.com/fsnotify/fsnotify v1.4.7 21:51:44 go: finding github.com/fxamacker/cbor/v2 v2.2.0 21:51:44 go: finding github.com/go-kit/kit v0.8.0 21:51:44 go: finding github.com/go-logfmt/logfmt v0.4.0 21:51:44 go: finding github.com/go-redis/redis/v7 v7.2.0 21:51:44 go: finding github.com/go-stack/stack v1.8.0 21:51:44 go: finding github.com/golang/protobuf v1.3.2 21:51:44 go: finding github.com/golang/snappy v0.0.1 21:51:44 go: finding github.com/gomodule/redigo v2.0.0+incompatible 21:51:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:51:44 go: finding github.com/google/go-cmp v0.4.0 21:51:44 go: finding github.com/google/uuid v1.1.1 21:51:44 go: finding github.com/gorilla/mux v1.7.4 21:51:44 go: finding github.com/hashicorp/consul/api v1.1.0 21:51:44 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:51:44 go: finding github.com/hashicorp/errwrap v1.0.0 21:51:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:51:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:51:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:51:44 go: finding github.com/hashicorp/go-multierror v1.0.0 21:51:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:51:44 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:51:44 go: finding github.com/hashicorp/go-syslog v1.0.0 21:51:44 go: finding github.com/hashicorp/go-uuid v1.0.1 21:51:44 go: finding github.com/hashicorp/go.net v0.0.1 21:51:44 go: finding github.com/hashicorp/golang-lru v0.5.0 21:51:44 go: finding github.com/hashicorp/logutils v1.0.0 21:51:44 go: finding github.com/hashicorp/mdns v1.0.0 21:51:44 go: finding github.com/hashicorp/memberlist v0.1.3 21:51:44 go: finding github.com/hashicorp/serf v0.8.2 21:51:44 go: finding github.com/hpcloud/tail v1.0.0 21:51:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:51:44 go: finding github.com/kr/pretty v0.1.0 21:51:44 go: finding github.com/kr/pty v1.1.1 21:51:44 go: finding github.com/kr/text v0.1.0 21:51:44 go: finding github.com/mattn/go-colorable v0.0.9 21:51:44 go: finding github.com/mattn/go-isatty v0.0.3 21:51:44 go: finding github.com/miekg/dns v1.0.14 21:51:44 go: finding github.com/mitchellh/cli v1.0.0 21:51:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:51:44 go: finding github.com/mitchellh/copystructure v1.0.0 21:51:44 go: finding github.com/mitchellh/go-homedir v1.0.0 21:51:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:51:44 go: finding github.com/mitchellh/gox v0.4.0 21:51:44 go: finding github.com/mitchellh/iochan v1.0.0 21:51:44 go: finding github.com/mitchellh/mapstructure v1.1.2 21:51:44 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:51:44 go: finding github.com/onsi/ginkgo v1.10.1 21:51:44 go: finding github.com/onsi/gomega v1.7.0 21:51:44 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:51:44 go: finding github.com/pebbe/zmq4 v1.0.0 21:51:44 go: finding github.com/pelletier/go-toml v1.2.0 21:51:44 go: finding github.com/pkg/errors v0.8.1 21:51:44 go: finding github.com/pmezard/go-difflib v1.0.0 21:51:44 go: finding github.com/posener/complete v1.1.1 21:51:44 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:51:44 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:51:44 go: finding github.com/stretchr/objx v0.2.0 21:51:44 go: finding github.com/stretchr/testify v1.5.1 21:51:44 go: finding github.com/tidwall/pretty v1.0.1 21:51:44 go: finding github.com/ugorji/go v1.1.4 21:51:44 go: finding github.com/x448/float16 v0.8.4 21:51:44 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 21:51:44 go: finding github.com/xdg/stringprep v1.0.0 21:51:44 go: finding go.mongodb.org/mongo-driver v1.1.1 21:51:44 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 21:51:44 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 21:51:44 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:51:44 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 21:51:44 go: finding golang.org/x/text v0.3.2 21:51:44 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 21:51:44 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 21:51:44 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 21:51:44 go: finding gopkg.in/fsnotify.v1 v1.4.7 21:51:44 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:51:44 go: finding gopkg.in/yaml.v2 v2.2.8 21:51:47 5788d62ee057: Pull complete 21:51:47 0e6b1d234666: Pull complete 21:51:47 bf5d7aec512f: Pull complete 21:51:51 34c802a77dc8: Pull complete 21:51:55 9eb99e56ec68: Pull complete 21:51:55 27c7a5d97fbd: Pull complete 21:51:56 5c102a31e300: Pull complete 21:51:56 dcfb455df0a1: Pull complete 21:51:56 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 21:51:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 21:51:56 ---> 7c70fe431013 21:51:56 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 21:51:57 latest: Pulling from library/docker 21:51:57 cbdbe7a5bc2a: Pulling fs layer 21:51:57 6f4c731d6eb3: Pulling fs layer 21:51:57 5d79d4ac3cd0: Pulling fs layer 21:51:57 65de10866d6a: Pulling fs layer 21:51:57 ffd69ed7f17f: Pulling fs layer 21:51:57 07ba9e5a2fa6: Pulling fs layer 21:51:57 75478c283dd2: Pulling fs layer 21:51:57 65de10866d6a: Waiting 21:51:57 ffd69ed7f17f: Waiting 21:51:57 07ba9e5a2fa6: Waiting 21:51:57 75478c283dd2: Waiting 21:51:57 5d79d4ac3cd0: Verifying Checksum 21:51:57 5d79d4ac3cd0: Download complete 21:51:57 cbdbe7a5bc2a: Verifying Checksum 21:51:57 cbdbe7a5bc2a: Download complete 21:51:57 6f4c731d6eb3: Verifying Checksum 21:51:57 6f4c731d6eb3: Download complete 21:51:58 ffd69ed7f17f: Verifying Checksum 21:51:58 ffd69ed7f17f: Download complete 21:51:58 07ba9e5a2fa6: Verifying Checksum 21:51:58 07ba9e5a2fa6: Download complete 21:51:58 cbdbe7a5bc2a: Pull complete 21:51:58 75478c283dd2: Verifying Checksum 21:51:58 75478c283dd2: Download complete 21:51:59 6f4c731d6eb3: Pull complete 21:51:59 65de10866d6a: Verifying Checksum 21:51:59 65de10866d6a: Download complete 21:51:59 5d79d4ac3cd0: Pull complete 21:52:03 Removing intermediate container b23a7e206ece 21:52:03 ---> 10dadce22e98 21:52:03 Successfully built 10dadce22e98 21:52:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:52:03 + docker inspect -f . ci-base-image-arm64 21:52:04 . [Pipeline] withDockerContainer 21:52:04 65de10866d6a: Pull complete 21:52:04 ffd69ed7f17f: Pull complete 21:52:04 07ba9e5a2fa6: Pull complete 21:52:04 75478c283dd2: Pull complete 21:52:04 Digest: sha256:8c119115801ae96e1f55b2ccb69cc84537c79eea057a00f363df0196f3d09fd4 21:52:04 Status: Downloaded newer image for docker:latest 21:52:04 prd-ubuntu18.04-docker-arm64-4c-16g-7285 does not seem to be running inside a container 21:52:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:52:06 $ docker top 125431a6c3c79f5e8fd888910a722a8f5853f6658c43921e19b3f41e29857f9c -eo pid,comm 21:52:06 ---> e9c963f986b3 21:52:06 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [Pipeline] { 21:52:06 ---> Running in e62201ddb0d6 21:52:06 Removing intermediate container e62201ddb0d6 21:52:06 ---> 0db78cc7fc3a 21:52:06 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [Pipeline] sh 21:52:06 ---> Running in ec219ebbb2e5 21:52:07 + go version 21:52:07 go version go1.13.5 linux/arm64 [Pipeline] sh 21:52:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:52:07 + make test 21:52:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:52:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:52:08 (1/5) Installing libsodium (1.0.18-r0) 21:52:08 (2/5) Installing libzmq (4.3.2-r0) 21:52:08 (3/5) Installing pkgconf (1.6.3-r0) 21:52:08 (4/5) Installing libsodium-dev (1.0.18-r0) 21:52:08 (5/5) Installing zeromq-dev (4.3.2-r0) 21:52:08 Executing busybox-1.31.1-r8.trigger 21:52:08 OK: 145 MiB in 44 packages 21:52:09 Removing intermediate container ec219ebbb2e5 21:52:09 ---> ac66cb1d3e32 21:52:09 Step 6/8 : WORKDIR /build 21:52:09 ---> Running in 6f8531f5648a 21:52:09 Removing intermediate container 6f8531f5648a 21:52:09 ---> aff791e1cf20 21:52:09 Step 7/8 : COPY go.mod . 21:52:09 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 21:52:09 ---> f87ca3e55654 21:52:09 Step 8/8 : RUN go mod download 21:52:09 ---> Running in be7be1bd1bae 21:52:12 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:52:12 go: finding github.com/BurntSushi/toml v0.3.1 21:52:12 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:52:12 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:52:12 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:52:12 go: finding github.com/bgentry/speakeasy v0.1.0 21:52:12 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:52:12 go: finding github.com/davecgh/go-spew v1.1.1 21:52:12 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 21:52:12 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 21:52:12 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 21:52:12 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:52:12 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.57 21:52:12 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.19 21:52:12 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 21:52:12 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:52:12 go: finding github.com/fatih/color v1.7.0 21:52:12 go: finding github.com/fsnotify/fsnotify v1.4.7 21:52:12 go: finding github.com/fxamacker/cbor/v2 v2.2.0 21:52:12 go: finding github.com/go-kit/kit v0.8.0 21:52:12 go: finding github.com/go-logfmt/logfmt v0.4.0 21:52:12 go: finding github.com/go-redis/redis/v7 v7.2.0 21:52:12 go: finding github.com/go-stack/stack v1.8.0 21:52:12 go: finding github.com/golang/protobuf v1.3.2 21:52:12 go: finding github.com/golang/snappy v0.0.1 21:52:12 go: finding github.com/gomodule/redigo v2.0.0+incompatible 21:52:12 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:52:12 go: finding github.com/google/go-cmp v0.4.0 21:52:12 go: finding github.com/google/uuid v1.1.1 21:52:12 go: finding github.com/gorilla/mux v1.7.4 21:52:12 go: finding github.com/hashicorp/consul/api v1.1.0 21:52:12 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:52:12 go: finding github.com/hashicorp/errwrap v1.0.0 21:52:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:52:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:52:12 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:52:12 go: finding github.com/hashicorp/go-multierror v1.0.0 21:52:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:52:12 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:52:12 go: finding github.com/hashicorp/go-syslog v1.0.0 21:52:12 go: finding github.com/hashicorp/go-uuid v1.0.1 21:52:12 go: finding github.com/hashicorp/go.net v0.0.1 21:52:12 go: finding github.com/hashicorp/golang-lru v0.5.0 21:52:12 go: finding github.com/hashicorp/logutils v1.0.0 21:52:12 go: finding github.com/hashicorp/mdns v1.0.0 21:52:12 go: finding github.com/hashicorp/memberlist v0.1.3 21:52:12 go: finding github.com/hashicorp/serf v0.8.2 21:52:12 go: finding github.com/hpcloud/tail v1.0.0 21:52:12 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:52:12 go: finding github.com/kr/pretty v0.1.0 21:52:13 go: finding github.com/kr/pty v1.1.1 21:52:13 go: finding github.com/kr/text v0.1.0 21:52:13 go: finding github.com/mattn/go-colorable v0.0.9 21:52:13 go: finding github.com/mattn/go-isatty v0.0.3 21:52:13 go: finding github.com/miekg/dns v1.0.14 21:52:13 go: finding github.com/mitchellh/cli v1.0.0 21:52:13 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:52:13 go: finding github.com/mitchellh/copystructure v1.0.0 21:52:13 go: finding github.com/mitchellh/go-homedir v1.0.0 21:52:13 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:52:13 go: finding github.com/mitchellh/gox v0.4.0 21:52:13 go: finding github.com/mitchellh/iochan v1.0.0 21:52:13 go: finding github.com/mitchellh/mapstructure v1.1.2 21:52:13 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:52:13 go: finding github.com/onsi/ginkgo v1.10.1 21:52:13 go: finding github.com/onsi/gomega v1.7.0 21:52:13 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:52:13 go: finding github.com/pebbe/zmq4 v1.0.0 21:52:13 go: finding github.com/pelletier/go-toml v1.2.0 21:52:13 go: finding github.com/pkg/errors v0.8.1 21:52:13 go: finding github.com/pmezard/go-difflib v1.0.0 21:52:13 go: finding github.com/posener/complete v1.1.1 21:52:13 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:52:13 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:52:13 go: finding github.com/stretchr/objx v0.2.0 21:52:13 go: finding github.com/stretchr/testify v1.5.1 21:52:13 go: finding github.com/tidwall/pretty v1.0.1 21:52:13 go: finding github.com/ugorji/go v1.1.4 21:52:13 go: finding github.com/x448/float16 v0.8.4 21:52:13 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 21:52:13 go: finding github.com/xdg/stringprep v1.0.0 21:52:13 go: finding go.mongodb.org/mongo-driver v1.1.1 21:52:13 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 21:52:13 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 21:52:13 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:52:13 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 21:52:13 go: finding golang.org/x/text v0.3.2 21:52:13 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 21:52:13 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 21:52:13 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 21:52:13 go: finding gopkg.in/fsnotify.v1 v1.4.7 21:52:13 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:52:13 go: finding gopkg.in/yaml.v2 v2.2.8 21:52:25 Removing intermediate container be7be1bd1bae 21:52:25 ---> 243e51253d19 21:52:25 Successfully built 243e51253d19 21:52:25 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 21:52:26 + docker inspect -f . ci-base-image-x86_64 21:52:26 . [Pipeline] withDockerContainer 21:52:26 prd-centos7-docker-4c-2g-7286 does not seem to be running inside a container 21:52:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:52:27 $ docker top 1a72aa97613f35e524efe608c0b54e579c5fca58399821d8e9cf86260ffd7400 -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:27 + go version 21:52:28 go version go1.13.5 linux/amd64 [Pipeline] sh 21:52:28 + make test 21:52:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:52:30 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 21:52:31 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.182s coverage: 86.2% of statements 21:52:41 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.174s coverage: 86.2% of statements 21:52:59 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.075s coverage: 49.9% of statements 21:52:59 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 21:52:59 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 21:52:59 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.087s coverage: 56.7% of statements 21:52:59 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 21:52:59 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 1.097s coverage: 69.1% of statements 21:53:10 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.067s coverage: 49.9% of statements 21:53:10 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 21:53:10 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 21:53:10 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.056s coverage: 56.7% of statements 21:53:10 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 21:53:10 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.507s coverage: 69.1% of statements 21:53:14 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 14.614s coverage: 73.4% of statements 21:53:14 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.031s coverage: 89.5% of statements 21:53:14 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.017s coverage: 100.0% of statements 21:53:14 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.191s coverage: 100.0% of statements 21:53:14 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements 21:53:14 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.010s coverage: 100.0% of statements 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 21:53:14 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.009s coverage: 96.6% of statements 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 21:53:14 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.007s coverage: 97.7% of statements 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [no test files] 21:53:14 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.770s coverage: 78.0% of statements 21:53:14 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.065s coverage: 81.1% of statements 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/pkg/endpoint [no test files] 21:53:14 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 9.285s coverage: 70.2% of statements 21:53:14 ? github.com/edgexfoundry/app-functions-sdk-go/pkg/urlclient [no test files] 21:53:14 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 100.0% of statements 21:53:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:53:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 14.543s coverage: 73.4% of statements 21:53:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.026s coverage: 89.5% of statements 21:53:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.019s coverage: 100.0% of statements 21:53:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.097s coverage: 100.0% of statements 21:53:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.021s coverage: 100.0% of statements 21:53:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.020s coverage: 100.0% of statements 21:53:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 21:53:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 21:53:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 21:53:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 21:53:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 21:53:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 21:53:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 21:53:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.020s coverage: 96.6% of statements 21:53:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 21:53:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.013s coverage: 97.7% of statements 21:53:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 21:53:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 21:53:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [no test files] 21:53:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.700s coverage: 78.0% of statements 21:53:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.113s coverage: 81.1% of statements 21:53:21 ? github.com/edgexfoundry/app-functions-sdk-go/pkg/endpoint [no test files] 21:53:21 gofmt -l . 21:53:21 [ "`gofmt -l .`" = "" ] 21:53:21 ./bin/test-go-mod-tidy.sh [Pipeline] stash 21:53:23 Stashed 1 file(s) [Pipeline] } 21:53:23 $ docker stop --time=1 1a72aa97613f35e524efe608c0b54e579c5fca58399821d8e9cf86260ffd7400 21:53:25 $ docker rm -f 1a72aa97613f35e524efe608c0b54e579c5fca58399821d8e9cf86260ffd7400 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:53:27 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 9.598s coverage: 70.2% of statements 21:53:27 ? github.com/edgexfoundry/app-functions-sdk-go/pkg/urlclient [no test files] 21:53:27 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.018s coverage: 100.0% of statements 21:53:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:53:40 gofmt -l . 21:53:40 [ "`gofmt -l .`" = "" ] 21:53:40 ./bin/test-go-mod-tidy.sh [Pipeline] stash 21:53:40 Warning: overwriting stash ‘coverage-report’ 21:53:40 Stashed 1 file(s) [Pipeline] } 21:53:40 $ docker stop --time=1 125431a6c3c79f5e8fd888910a722a8f5853f6658c43921e19b3f41e29857f9c 21:53:42 $ docker rm -f 125431a6c3c79f5e8fd888910a722a8f5853f6658c43921e19b3f41e29857f9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" 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 21:53:44 provisioning config files... 21:53:44 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-356@tmp/config8486830576162133852tmp [Pipeline] { [Pipeline] sh 21:53:45 + curl -s https://codecov.io/bash 21:53:45 + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-356@tmp/config8486830576162133852tmp 21:53:45 21:53:45 _____ _ 21:53:45 / ____| | | 21:53:45 | | ___ __| | ___ ___ _____ __ 21:53:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:53:45 | |___| (_) | (_| | __/ (_| (_) \ V / 21:53:45 \_____\___/ \__,_|\___|\___\___/ \_/ 21:53:45 Bash-tbd 21:53:45 21:53:45 21:53:45 ==> Jenkins CI detected. 21:53:45 project root: . 21:53:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:53:45 ==> Running gcov in . (disable via -X gcov) 21:53:45 ==> Python coveragepy not found 21:53:45 ==> Searching for coverage reports in: 21:53:45 + . 21:53:45 -> Found 1 reports 21:53:45 ==> Detecting git/mercurial file structure 21:53:45 ==> Reading reports 21:53:45 + ./coverage.out bytes=76485 21:53:45 ==> Appending adjustments 21:53:45 http://docs.codecov.io/docs/fixing-reports 21:53:45 + Found adjustments 21:53:45 ==> Gzipping contents 21:53:45 ==> Uploading reports 21:53:45 url: https://codecov.io 21:53:45 query: branch=PR-356&commit=e13867da6350b88d7b4041fed1a7ddf1f1a8074b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-356%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=356&job= 21:53:45 -> Pinging Codecov 21:53:45 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-356&commit=e13867da6350b88d7b4041fed1a7ddf1f1a8074b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-356%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=356&job= 21:53:46 -> Uploading 21:53:46 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/e13867da6350b88d7b4041fed1a7ddf1f1a8074b [Pipeline] } 21:53:46 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 21:53:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:53:48 ---> package-listing.sh 21:53:48 ++ facter osfamily 21:53:48 ++ tr '[:upper:]' '[:lower:]' 21:53:48 + OS_FAMILY=redhat 21:53:48 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-356 21:53:48 + START_PACKAGES=/tmp/packages_start.txt 21:53:48 + END_PACKAGES=/tmp/packages_end.txt 21:53:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:53:48 + PACKAGES=/tmp/packages_start.txt 21:53:48 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-356 ']' 21:53:48 + PACKAGES=/tmp/packages_end.txt 21:53:48 + case "${OS_FAMILY}" in 21:53:48 + rpm -qa 21:53:48 + sort 21:53:52 + '[' -f /tmp/packages_start.txt ']' 21:53:52 + '[' -f /tmp/packages_end.txt ']' 21:53:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:53:52 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-356 ']' 21:53:52 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-356/archives/ 21:53:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-356/archives/ [Pipeline] isUnix [Pipeline] sh 21:53:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:53:53 21:53:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:53:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:53:53 alpine: Pulling from edgex-lftools-log-publisher 21:53:53 c9b1b535fdd9: Pulling fs layer 21:53:53 2cc5ad85d9ab: Pulling fs layer 21:53:53 756a868c4378: Pulling fs layer 21:53:53 444b2fc9a129: Pulling fs layer 21:53:53 ea15f1150254: Pulling fs layer 21:53:53 41b27a9f41bf: Pulling fs layer 21:53:53 28c525ee5125: Pulling fs layer 21:53:53 094b1ea09ed8: Pulling fs layer 21:53:53 138eaada9080: Pulling fs layer 21:53:53 0622d0fa9048: Pulling fs layer 21:53:53 41b27a9f41bf: Waiting 21:53:53 28c525ee5125: Waiting 21:53:53 094b1ea09ed8: Waiting 21:53:53 138eaada9080: Waiting 21:53:53 444b2fc9a129: Waiting 21:53:53 0622d0fa9048: Waiting 21:53:53 ea15f1150254: Waiting 21:53:53 2cc5ad85d9ab: Download complete 21:53:53 444b2fc9a129: Verifying Checksum 21:53:53 444b2fc9a129: Download complete 21:53:53 c9b1b535fdd9: Verifying Checksum 21:53:53 c9b1b535fdd9: Download complete 21:53:53 ea15f1150254: Verifying Checksum 21:53:53 ea15f1150254: Download complete 21:53:53 28c525ee5125: Verifying Checksum 21:53:53 28c525ee5125: Download complete 21:53:53 756a868c4378: Verifying Checksum 21:53:53 756a868c4378: Download complete 21:53:53 c9b1b535fdd9: Pull complete 21:53:53 138eaada9080: Verifying Checksum 21:53:53 138eaada9080: Download complete 21:53:53 0622d0fa9048: Verifying Checksum 21:53:53 0622d0fa9048: Download complete 21:53:53 094b1ea09ed8: Verifying Checksum 21:53:53 094b1ea09ed8: Download complete 21:53:54 2cc5ad85d9ab: Pull complete 21:53:54 41b27a9f41bf: Verifying Checksum 21:53:54 41b27a9f41bf: Download complete 21:53:55 756a868c4378: Pull complete 21:53:55 444b2fc9a129: Pull complete 21:53:56 ea15f1150254: Pull complete 21:53:59 41b27a9f41bf: Pull complete 21:53:59 28c525ee5125: Pull complete 21:54:01 094b1ea09ed8: Pull complete 21:54:01 138eaada9080: Pull complete 21:54:01 0622d0fa9048: Pull complete 21:54:01 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 21:54:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:54:01 prd-centos7-docker-4c-2g-7284 does not seem to be running inside a container 21:54:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/ndry_app-functions-sdk-go_PR-356 -v /w/workspace/ndry_app-functions-sdk-go_PR-356:/w/workspace/ndry_app-functions-sdk-go_PR-356:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-356@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-356@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:54:02 $ docker top 7ef89c4b1748d7d252407902801bd35ce11e787f7165ef1e6e92d01fb5c8160d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:54:02 provisioning config files... 21:54:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-356@tmp/config1585701831555859521tmp [Pipeline] { [Pipeline] echo 21:54:02 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:54:03 ---> create-netrc.sh [Pipeline] echo 21:54:03 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:54:03 ---> logs-deploy.sh 21:54:03 + ARCHIVE_ARTIFACTS= 21:54:03 + LOGS_SERVER=https://logs.edgexfoundry.org 21:54:03 + '[' https://logs.edgexfoundry.org == None ']' 21:54:03 + NEXUS_URL=https://nexus.edgexfoundry.org 21:54:03 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-356/2 21:54:03 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-functions-sdk-go/job/PR-356/2/ 21:54:03 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-356/2 /w/workspace/ndry_app-functions-sdk-go_PR-356 21:54:05 Archives upload complete. 21:54:05 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-356/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-functions-sdk-go/job/PR-356/2/ 21:54:05 ---> uname -a: 21:54:05 Linux 7ef89c4b1748 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 21:54:05 21:54:05 21:54:05 ---> lscpu: 21:54:05 Architecture: x86_64 21:54:05 CPU op-mode(s): 32-bit, 64-bit 21:54:05 Byte Order: Little Endian 21:54:05 Address sizes: 40 bits physical, 48 bits virtual 21:54:05 CPU(s): 4 21:54:05 On-line CPU(s) list: 0-3 21:54:05 Thread(s) per core: 1 21:54:05 Core(s) per socket: 1 21:54:05 Socket(s): 4 21:54:05 NUMA node(s): 1 21:54:05 Vendor ID: GenuineIntel 21:54:05 CPU family: 6 21:54:05 Model: 44 21:54:05 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 21:54:05 Stepping: 1 21:54:05 CPU MHz: 2933.442 21:54:05 BogoMIPS: 5866.88 21:54:05 Virtualization: VT-x 21:54:05 Hypervisor vendor: KVM 21:54:05 Virtualization type: full 21:54:05 L1d cache: 128 KiB 21:54:05 L1i cache: 128 KiB 21:54:05 L2 cache: 16 MiB 21:54:05 L3 cache: 64 MiB 21:54:05 NUMA node0 CPU(s): 0-3 21:54:05 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 21:54:05 Vulnerability Meltdown: Mitigation; PTI 21:54:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:54:05 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 21:54:05 Vulnerability Spectre v2: Mitigation; Full retpoline 21:54:05 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 21:54:05 21:54:05 21:54:05 ---> nproc: 21:54:05 4 21:54:05 21:54:05 21:54:05 ---> df -h: 21:54:05 Filesystem Size Used Available Use% Mounted on 21:54:05 overlay 50.0G 6.4G 43.6G 13% / 21:54:05 tmpfs 64.0M 0 64.0M 0% /dev 21:54:05 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 21:54:05 shm 64.0M 0 64.0M 0% /dev/shm 21:54:05 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 21:54:05 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 21:54:05 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 21:54:05 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/ndry_app-functions-sdk-go_PR-356 21:54:05 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/ndry_app-functions-sdk-go_PR-356@tmp 21:54:05 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 21:54:05 21:54:05 21:54:05 ---> free -m: 21:54:05 total used free shared buff/cache available 21:54:05 Mem: 1838 615 73 0 1149 1119 21:54:05 Swap: 1023 0 1023 21:54:05 21:54:05 21:54:05 ---> ip addr: 21:54:05 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 21:54:05 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 21:54:05 inet 127.0.0.1/8 scope host lo 21:54:05 valid_lft forever preferred_lft forever 21:54:05 6: eth0@if7: mtu 1458 qdisc noqueue state UP 21:54:05 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 21:54:05 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 21:54:05 valid_lft forever preferred_lft forever 21:54:05 21:54:05 21:54:05 ---> sar -b -r -n DEV: 21:54:05 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 05/05/20 _x86_64_ (4 CPU) 21:54:05 21:54:05 21:47:22 LINUX RESTART 21:54:05 21:54:05 21:48:02 tps rtps wtps bread/s bwrtn/s 21:54:05 21:49:01 41.07 6.76 34.31 1919.73 3000.17 21:54:05 21:50:01 2.75 0.00 2.75 0.00 95.40 21:54:05 21:51:01 0.27 0.00 0.27 0.00 3.75 21:54:05 21:52:01 0.23 0.00 0.23 0.00 2.83 21:54:05 21:53:01 0.23 0.00 0.23 0.00 3.65 21:54:05 21:54:01 117.39 76.30 41.09 4268.00 16569.95 21:54:05 Average: 26.96 13.87 13.09 1029.23 3281.73 21:54:05 21:54:05 21:48:02 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:54:05 21:49:01 187044 1695260 90.06 2620 1155968 925500 31.58 445492 1088212 16 21:54:05 21:50:01 193260 1689044 89.73 2620 1155972 899916 30.70 442572 1085568 8 21:54:05 21:51:01 190380 1691924 89.89 2620 1155984 900096 30.71 447152 1084284 8 21:54:05 21:52:01 189832 1692472 89.91 2620 1155984 900144 30.71 447468 1084284 16 21:54:05 21:53:01 190272 1692032 89.89 2620 1155992 900012 30.71 446748 1084284 8 21:54:05 21:54:01 87988 1794316 95.33 2620 1177736 1066888 36.40 467112 1131336 101300 21:54:05 Average: 173129 1709175 90.80 2620 1159606 932093 31.80 449424 1092995 16893 21:54:05 21:54:05 21:48:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 21:54:05 21:49:01 eth0 350.82 309.77 777.52 371.62 0.00 0.00 0.00 21:54:05 21:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:05 21:49:01 docker0 133.24 91.92 10.62 307.00 0.00 0.00 0.00 21:54:05 21:50:01 eth0 0.77 0.08 0.06 0.01 0.00 0.00 0.00 21:54:05 21:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:05 21:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:05 21:51:01 eth0 0.85 0.42 0.30 0.21 0.00 0.00 0.00 21:54:05 21:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:05 21:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:05 21:52:01 eth0 0.50 0.28 0.27 0.20 0.00 0.00 0.00 21:54:05 21:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:05 21:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:05 21:53:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 21:54:05 21:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:05 21:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:05 21:54:01 eth0 109.55 87.17 2328.34 17.56 0.00 0.00 0.00 21:54:05 21:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:05 21:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:05 Average: eth0 76.36 65.64 517.27 64.09 0.00 0.00 0.00 21:54:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:54:05 Average: docker0 21.90 15.11 1.75 50.45 0.00 0.00 0.00 21:54:05 21:54:05 21:54:05 ---> sar -P ALL: 21:54:05 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 05/05/20 _x86_64_ (4 CPU) 21:54:05 21:54:05 21:47:22 LINUX RESTART 21:54:05 21:54:05 21:48:02 CPU %user %nice %system %iowait %steal %idle 21:54:05 21:49:01 all 5.16 0.00 2.03 0.78 0.00 92.02 21:54:05 21:49:01 0 5.19 0.00 2.42 0.07 0.00 92.32 21:54:05 21:49:01 1 4.96 0.00 2.10 2.67 0.02 90.26 21:54:05 21:49:01 2 5.96 0.00 2.03 0.24 0.00 91.77 21:54:05 21:49:01 3 4.55 0.00 1.55 0.15 0.00 93.75 21:54:05 21:50:01 all 0.18 0.00 0.05 0.00 0.00 99.77 21:54:05 21:50:01 0 0.03 0.00 0.05 0.00 0.02 99.90 21:54:05 21:50:01 1 0.08 0.00 0.05 0.00 0.00 99.87 21:54:05 21:50:01 2 0.53 0.00 0.03 0.00 0.00 99.43 21:54:05 21:50:01 3 0.05 0.00 0.05 0.00 0.00 99.90 21:54:05 21:51:01 all 0.20 0.00 0.05 0.00 0.00 99.76 21:54:05 21:51:01 0 0.10 0.00 0.05 0.00 0.00 99.85 21:54:05 21:51:01 1 0.23 0.00 0.08 0.00 0.00 99.68 21:54:05 21:51:01 2 0.40 0.00 0.05 0.00 0.00 99.55 21:54:05 21:51:01 3 0.07 0.00 0.02 0.00 0.00 99.92 21:54:05 21:52:01 all 0.18 0.00 0.05 0.00 0.00 99.76 21:54:05 21:52:01 0 0.03 0.00 0.03 0.00 0.00 99.93 21:54:05 21:52:01 1 0.55 0.00 0.08 0.00 0.00 99.37 21:54:05 21:52:01 2 0.08 0.00 0.08 0.00 0.00 99.83 21:54:05 21:52:01 3 0.05 0.00 0.05 0.00 0.00 99.90 21:54:05 21:53:01 all 0.18 0.00 0.05 0.00 0.00 99.77 21:54:05 21:53:01 0 0.05 0.00 0.03 0.00 0.00 99.92 21:54:05 21:53:01 1 0.55 0.00 0.05 0.00 0.00 99.40 21:54:05 21:53:01 2 0.03 0.00 0.03 0.00 0.00 99.93 21:54:05 21:53:01 3 0.10 0.00 0.07 0.00 0.00 99.83 21:54:05 21:54:01 all 4.86 0.00 2.64 1.46 0.00 91.04 21:54:05 21:54:01 0 4.61 0.00 3.18 2.65 0.00 89.56 21:54:05 21:54:01 1 4.60 0.00 2.41 1.82 0.00 91.17 21:54:05 21:54:01 2 5.08 0.00 2.36 1.12 0.00 91.44 21:54:05 21:54:01 3 5.15 0.00 2.61 0.22 0.00 92.02 21:54:05 Average: all 1.78 0.00 0.81 0.37 0.00 97.04 21:54:05 Average: 0 1.65 0.00 0.96 0.45 0.00 96.94 21:54:05 Average: 1 1.82 0.00 0.79 0.74 0.00 96.65 21:54:05 Average: 2 2.00 0.00 0.76 0.23 0.00 97.02 21:54:05 Average: 3 1.65 0.00 0.72 0.06 0.00 97.57 21:54:05 21:54:05 21:54:05