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 rsdmike for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 63ae3d9464c3d0dd0cc1f6f859f224744351af5d+6d277aa29535ad2364142a0838c9f0161c01ac18 (9498f090a3de7db885d7de5e7c5ce37dca45c287) 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: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/ [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1134 in /w/workspace/ndry_app-functions-sdk-go_PR-308 [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-308 # 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/308/head:refs/remotes/origin/PR-308 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 6d277aa29535ad2364142a0838c9f0161c01ac18 into PR head commit 63ae3d9464c3d0dd0cc1f6f859f224744351af5d Merge succeeded, producing 4c614c44636ed62148d41f8dbf0ccecbf3e76059 Checking out Revision 4c614c44636ed62148d41f8dbf0ccecbf3e76059 (PR-308) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/308/head:refs/remotes/origin/PR-308 # 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 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/308/head:refs/remotes/origin/PR-308 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63ae3d9464c3d0dd0cc1f6f859f224744351af5d # 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 6d277aa29535ad2364142a0838c9f0161c01ac18 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c614c44636ed62148d41f8dbf0ccecbf3e76059 # timeout=10 Commit message: "Merge commit '6d277aa29535ad2364142a0838c9f0161c01ac18' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-27T23:45:20.614Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 802f150d83865c98a6924841d3619777a19d1d40 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-27T23:45:22.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-27T23:45:22.904Z] [2020-03-27T23:45:22.904Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-27T23:45:23.278Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-27T23:45:23.278Z] latest: Pulling from edgex-devops/git-semver [2020-03-27T23:45:23.278Z] 9123ac7c32f7: Pulling fs layer [2020-03-27T23:45:23.278Z] b8cc5d1170e3: Pulling fs layer [2020-03-27T23:45:23.278Z] 2924cbbf6a41: Pulling fs layer [2020-03-27T23:45:23.278Z] 93b08a4f1073: Pulling fs layer [2020-03-27T23:45:23.278Z] 93b08a4f1073: Waiting [2020-03-27T23:45:23.543Z] b8cc5d1170e3: Verifying Checksum [2020-03-27T23:45:23.543Z] b8cc5d1170e3: Download complete [2020-03-27T23:45:23.543Z] 9123ac7c32f7: Verifying Checksum [2020-03-27T23:45:23.543Z] 9123ac7c32f7: Download complete [2020-03-27T23:45:23.543Z] 93b08a4f1073: Verifying Checksum [2020-03-27T23:45:23.543Z] 93b08a4f1073: Download complete [2020-03-27T23:45:23.543Z] 2924cbbf6a41: Verifying Checksum [2020-03-27T23:45:23.543Z] 2924cbbf6a41: Download complete [2020-03-27T23:45:23.812Z] 9123ac7c32f7: Pull complete [2020-03-27T23:45:23.812Z] b8cc5d1170e3: Pull complete [2020-03-27T23:45:24.764Z] 2924cbbf6a41: Pull complete [2020-03-27T23:45:25.025Z] 93b08a4f1073: Pull complete [2020-03-27T23:45:25.025Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-27T23:45:25.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-27T23:45:25.217Z] prd-centos7-docker-4c-2g-1134 does not seem to be running inside a container [2020-03-27T23:45:25.268Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-308 -v /w/workspace/ndry_app-functions-sdk-go_PR-308:/w/workspace/ndry_app-functions-sdk-go_PR-308:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-308@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-308@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-27T23:45:25.976Z] $ docker top eb624da4c82830ed53ace844e07cc0d9b8fecb6d6adcda6e7b16a63e7662273d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-27T23:45:26.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-27T23:45:26.258Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-27T23:45:26.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-27T23:45:26.490Z] $ docker exec eb624da4c82830ed53ace844e07cc0d9b8fecb6d6adcda6e7b16a63e7662273d ssh-agent [2020-03-27T23:45:26.692Z] SSH_AUTH_SOCK=/tmp/ssh-3IQUpxJfzueu/agent.15 [2020-03-27T23:45:26.692Z] SSH_AGENT_PID=21 [2020-03-27T23:45:26.707Z] Running ssh-add (command line suppressed) [2020-03-27T23:45:26.846Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-308@tmp/private_key_3988306911047724234.key (/w/workspace/ndry_app-functions-sdk-go_PR-308@tmp/private_key_3988306911047724234.key) [2020-03-27T23:45:26.895Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-27T23:45:27.208Z] + git describe --exact-match --tags HEAD [2020-03-27T23:45:27.208Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-27T23:45:27.264Z] $ docker exec --env ******** --env ******** eb624da4c82830ed53ace844e07cc0d9b8fecb6d6adcda6e7b16a63e7662273d ssh-agent -k [2020-03-27T23:45:27.424Z] unset SSH_AUTH_SOCK; [2020-03-27T23:45:27.424Z] unset SSH_AGENT_PID; [2020-03-27T23:45:27.424Z] echo Agent pid 21 killed; [2020-03-27T23:45:27.459Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-27T23:45:27.519Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-27T23:45:27.519Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-27T23:45:27.594Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-27T23:45:27.594Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-27T23:45:27.805Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-27T23:45:27.807Z] $ docker exec eb624da4c82830ed53ace844e07cc0d9b8fecb6d6adcda6e7b16a63e7662273d ssh-agent [2020-03-27T23:45:28.028Z] SSH_AUTH_SOCK=/tmp/ssh-YK5hvQwu8jnr/agent.56 [2020-03-27T23:45:28.029Z] SSH_AGENT_PID=63 [2020-03-27T23:45:28.036Z] Running ssh-add (command line suppressed) [2020-03-27T23:45:28.184Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-308@tmp/private_key_2408201177645662818.key (/w/workspace/ndry_app-functions-sdk-go_PR-308@tmp/private_key_2408201177645662818.key) [2020-03-27T23:45:28.241Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-27T23:45:28.566Z] + git semver init [2020-03-27T23:45:28.566Z] # -> Open(): unable to determine branch for HEAD [2020-03-27T23:45:28.566Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-308/.git [2020-03-27T23:45:28.566Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-308 [2020-03-27T23:45:28.566Z] # $SEMVER_REMOTE_NAME = origin [2020-03-27T23:45:28.566Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-27T23:45:28.566Z] # $SEMVER_USER_NAME = jenkins [2020-03-27T23:45:28.566Z] # $SEMVER_BRANCH = PR-308 [2020-03-27T23:45:28.566Z] # $SEMVER_TEMP = /tmp/semver-307317646 [2020-03-27T23:45:28.566Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-03-27T23:45:31.130Z] # '/tmp/semver-307317646' -> '/w/workspace/ndry_app-functions-sdk-go_PR-308/.semver' [2020-03-27T23:45:31.130Z] # -> Force: false [2020-03-27T23:45:31.130Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-308/.semver [Pipeline] } [2020-03-27T23:45:31.138Z] $ docker exec --env ******** --env ******** eb624da4c82830ed53ace844e07cc0d9b8fecb6d6adcda6e7b16a63e7662273d ssh-agent -k [2020-03-27T23:45:31.307Z] unset SSH_AUTH_SOCK; [2020-03-27T23:45:31.308Z] unset SSH_AGENT_PID; [2020-03-27T23:45:31.308Z] echo Agent pid 63 killed; [2020-03-27T23:45:31.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-27T23:45:31.803Z] + git semver [Pipeline] } [2020-03-27T23:45:31.815Z] $ docker stop --time=1 eb624da4c82830ed53ace844e07cc0d9b8fecb6d6adcda6e7b16a63e7662273d [2020-03-27T23:45:33.182Z] $ docker rm -f eb624da4c82830ed53ace844e07cc0d9b8fecb6d6adcda6e7b16a63e7662273d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-27T23:45:35.730Z] Stashed 96 file(s) [Pipeline] echo [2020-03-27T23:45:35.732Z] [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 [2020-03-27T23:45:50.949Z] Still waiting to schedule task [2020-03-27T23:45:50.949Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1134’ [2020-03-27T23:45:50.951Z] Still waiting to schedule task [2020-03-27T23:45:50.951Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-27T23:47:12.676Z] Running on prd-centos7-docker-4c-2g-1137 in /w/workspace/ndry_app-functions-sdk-go_PR-308 [Pipeline] { [Pipeline] ws [2020-03-27T23:47:12.711Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-03-27T23:47:14.735Z] using credential edgex-jenkins-ssh [2020-03-27T23:47:14.831Z] Cloning the remote Git repository [2020-03-27T23:47:14.831Z] Cloning with configured refspecs honoured and without tags [2020-03-27T23:47:15.315Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-03-27T23:47:15.383Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-03-27T23:47:15.423Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-03-27T23:47:15.423Z] > git --version # timeout=10 [2020-03-27T23:47:15.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T23:47:15.458Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/308/head:refs/remotes/origin/PR-308 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T23:47:16.767Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-03-27T23:47:16.773Z] > git config --add remote.origin.fetch +refs/pull/308/head:refs/remotes/origin/PR-308 # timeout=10 [2020-03-27T23:47:16.778Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T23:47:16.486Z] Fetching without tags [2020-03-27T23:47:16.892Z] Merging remotes/origin/master commit 6d277aa29535ad2364142a0838c9f0161c01ac18 into PR head commit 63ae3d9464c3d0dd0cc1f6f859f224744351af5d [2020-03-27T23:47:16.989Z] Merge succeeded, producing 42e86b9a3017047559fb37bff7a2e2a1626c9b65 [2020-03-27T23:47:16.989Z] Checking out Revision 42e86b9a3017047559fb37bff7a2e2a1626c9b65 (PR-308) [2020-03-27T23:47:16.791Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-03-27T23:47:16.803Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-03-27T23:47:16.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T23:47:16.806Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/308/head:refs/remotes/origin/PR-308 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T23:47:17.179Z] > git config core.sparsecheckout # timeout=10 [2020-03-27T23:47:17.183Z] > git checkout -f 63ae3d9464c3d0dd0cc1f6f859f224744351af5d # timeout=10 [2020-03-27T23:47:17.221Z] > git remote # timeout=10 [2020-03-27T23:47:17.226Z] > git config --get remote.origin.url # timeout=10 [2020-03-27T23:47:17.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T23:47:17.233Z] > git merge 6d277aa29535ad2364142a0838c9f0161c01ac18 # timeout=10 [2020-03-27T23:47:17.255Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-27T23:47:17.263Z] > git config core.sparsecheckout # timeout=10 [2020-03-27T23:47:17.270Z] > git checkout -f 42e86b9a3017047559fb37bff7a2e2a1626c9b65 # timeout=10 [2020-03-27T23:47:21.160Z] Commit message: "Merge commit '6d277aa29535ad2364142a0838c9f0161c01ac18' into HEAD" [2020-03-27T23:47:21.174Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-03-27T23:47:21.163Z] > git rev-list --no-walk 802f150d83865c98a6924841d3619777a19d1d40 # timeout=10 [Pipeline] echo [2020-03-27T23:47:22.726Z] ========================================================= [2020-03-27T23:47:22.726Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-27T23:47:22.726Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-27T23:47:23.387Z] + 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 . [2020-03-27T23:47:23.650Z] Sending build context to Docker daemon 36.65MB [2020-03-27T23:47:23.926Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-27T23:47:23.926Z] Step 2/8 : FROM ${BASE} [2020-03-27T23:47:23.926Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-27T23:47:23.926Z] e6b0cf9c0882: Pulling fs layer [2020-03-27T23:47:23.926Z] 2848faf0eed1: Pulling fs layer [2020-03-27T23:47:23.926Z] 0f37312ad70f: Pulling fs layer [2020-03-27T23:47:23.926Z] 5788d62ee057: Pulling fs layer [2020-03-27T23:47:23.926Z] 0e6b1d234666: Pulling fs layer [2020-03-27T23:47:23.926Z] bf5d7aec512f: Pulling fs layer [2020-03-27T23:47:23.926Z] 34c802a77dc8: Pulling fs layer [2020-03-27T23:47:23.926Z] 9eb99e56ec68: Pulling fs layer [2020-03-27T23:47:23.926Z] 27c7a5d97fbd: Pulling fs layer [2020-03-27T23:47:23.926Z] 5c102a31e300: Pulling fs layer [2020-03-27T23:47:23.926Z] dcfb455df0a1: Pulling fs layer [2020-03-27T23:47:23.926Z] bf5d7aec512f: Waiting [2020-03-27T23:47:23.926Z] 34c802a77dc8: Waiting [2020-03-27T23:47:23.926Z] 9eb99e56ec68: Waiting [2020-03-27T23:47:23.926Z] 5c102a31e300: Waiting [2020-03-27T23:47:23.926Z] 27c7a5d97fbd: Waiting [2020-03-27T23:47:23.926Z] dcfb455df0a1: Waiting [2020-03-27T23:47:23.926Z] 0e6b1d234666: Waiting [2020-03-27T23:47:23.926Z] 0f37312ad70f: Download complete [2020-03-27T23:47:23.926Z] 2848faf0eed1: Verifying Checksum [2020-03-27T23:47:23.926Z] 2848faf0eed1: Download complete [2020-03-27T23:47:23.926Z] 0e6b1d234666: Verifying Checksum [2020-03-27T23:47:23.926Z] 0e6b1d234666: Download complete [2020-03-27T23:47:23.926Z] bf5d7aec512f: Download complete [2020-03-27T23:47:23.926Z] e6b0cf9c0882: Verifying Checksum [2020-03-27T23:47:23.926Z] e6b0cf9c0882: Download complete [2020-03-27T23:47:24.880Z] 34c802a77dc8: Verifying Checksum [2020-03-27T23:47:24.880Z] 34c802a77dc8: Download complete [2020-03-27T23:47:24.880Z] 27c7a5d97fbd: Verifying Checksum [2020-03-27T23:47:24.880Z] 27c7a5d97fbd: Download complete [2020-03-27T23:47:25.150Z] 5c102a31e300: Verifying Checksum [2020-03-27T23:47:25.150Z] 5c102a31e300: Download complete [2020-03-27T23:47:25.409Z] dcfb455df0a1: Verifying Checksum [2020-03-27T23:47:25.409Z] dcfb455df0a1: Download complete [2020-03-27T23:47:25.409Z] 9eb99e56ec68: Verifying Checksum [2020-03-27T23:47:25.409Z] 9eb99e56ec68: Download complete [2020-03-27T23:47:25.668Z] 5788d62ee057: Verifying Checksum [2020-03-27T23:47:25.668Z] 5788d62ee057: Download complete [2020-03-27T23:47:26.605Z] e6b0cf9c0882: Pull complete [2020-03-27T23:47:26.605Z] 2848faf0eed1: Pull complete [2020-03-27T23:47:26.864Z] 0f37312ad70f: Pull complete [2020-03-27T23:47:32.144Z] 5788d62ee057: Pull complete [2020-03-27T23:47:32.144Z] 0e6b1d234666: Pull complete [2020-03-27T23:47:32.144Z] bf5d7aec512f: Pull complete [2020-03-27T23:47:33.886Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1136 in /w/workspace/ndry_app-functions-sdk-go_PR-308 [Pipeline] { [Pipeline] ws [2020-03-27T23:47:33.923Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-03-27T23:47:36.347Z] 34c802a77dc8: Pull complete [2020-03-27T23:47:39.958Z] using credential edgex-jenkins-ssh [2020-03-27T23:47:40.003Z] Cloning the remote Git repository [2020-03-27T23:47:40.003Z] Cloning with configured refspecs honoured and without tags [2020-03-27T23:47:40.001Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-03-27T23:47:40.083Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-03-27T23:47:40.183Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-03-27T23:47:40.184Z] > git --version # timeout=10 [2020-03-27T23:47:40.209Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T23:47:40.288Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/308/head:refs/remotes/origin/PR-308 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T23:47:40.547Z] 9eb99e56ec68: Pull complete [2020-03-27T23:47:40.547Z] 27c7a5d97fbd: Pull complete [2020-03-27T23:47:41.114Z] 5c102a31e300: Pull complete [2020-03-27T23:47:41.374Z] dcfb455df0a1: Pull complete [2020-03-27T23:47:41.374Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-27T23:47:41.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-27T23:47:41.374Z] ---> 7c70fe431013 [2020-03-27T23:47:41.374Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-03-27T23:47:41.632Z] latest: Pulling from library/docker [2020-03-27T23:47:41.891Z] aad63a933944: Pulling fs layer [2020-03-27T23:47:41.891Z] 69846a6807b3: Pulling fs layer [2020-03-27T23:47:41.891Z] 5517540127c6: Pulling fs layer [2020-03-27T23:47:41.891Z] da4bc653673c: Pulling fs layer [2020-03-27T23:47:41.891Z] 7d6a82484b25: Pulling fs layer [2020-03-27T23:47:41.891Z] 98d7178a08bc: Pulling fs layer [2020-03-27T23:47:41.891Z] 06fedb666dd1: Pulling fs layer [2020-03-27T23:47:41.891Z] da4bc653673c: Waiting [2020-03-27T23:47:41.891Z] 7d6a82484b25: Waiting [2020-03-27T23:47:41.891Z] 98d7178a08bc: Waiting [2020-03-27T23:47:41.891Z] 06fedb666dd1: Waiting [2020-03-27T23:47:41.891Z] aad63a933944: Verifying Checksum [2020-03-27T23:47:41.891Z] aad63a933944: Download complete [2020-03-27T23:47:41.891Z] 5517540127c6: Verifying Checksum [2020-03-27T23:47:41.891Z] 5517540127c6: Download complete [2020-03-27T23:47:41.891Z] 69846a6807b3: Download complete [2020-03-27T23:47:42.153Z] 7d6a82484b25: Verifying Checksum [2020-03-27T23:47:42.153Z] 7d6a82484b25: Download complete [2020-03-27T23:47:42.153Z] aad63a933944: Pull complete [2020-03-27T23:47:42.153Z] 98d7178a08bc: Verifying Checksum [2020-03-27T23:47:42.153Z] 98d7178a08bc: Download complete [2020-03-27T23:47:42.153Z] da4bc653673c: Retrying in 5 seconds [2020-03-27T23:47:42.153Z] 06fedb666dd1: Verifying Checksum [2020-03-27T23:47:42.153Z] 06fedb666dd1: Download complete [2020-03-27T23:47:42.418Z] 69846a6807b3: Pull complete [2020-03-27T23:47:42.418Z] 5517540127c6: Pull complete [2020-03-27T23:47:43.370Z] da4bc653673c: Retrying in 4 seconds [2020-03-27T23:47:43.724Z] Fetching without tags [2020-03-27T23:47:44.219Z] Merging remotes/origin/master commit 6d277aa29535ad2364142a0838c9f0161c01ac18 into PR head commit 63ae3d9464c3d0dd0cc1f6f859f224744351af5d [2020-03-27T23:47:44.313Z] da4bc653673c: Retrying in 3 seconds [2020-03-27T23:47:43.546Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-03-27T23:47:43.573Z] > git config --add remote.origin.fetch +refs/pull/308/head:refs/remotes/origin/PR-308 # timeout=10 [2020-03-27T23:47:43.592Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T23:47:43.643Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-03-27T23:47:43.697Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-03-27T23:47:43.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T23:47:43.713Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/308/head:refs/remotes/origin/PR-308 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T23:47:44.202Z] > git config core.sparsecheckout # timeout=10 [2020-03-27T23:47:44.252Z] > git checkout -f 63ae3d9464c3d0dd0cc1f6f859f224744351af5d # timeout=10 [2020-03-27T23:47:44.380Z] > git remote # timeout=10 [2020-03-27T23:47:44.592Z] Merge succeeded, producing 7cd659ab554f1f2975c8070afbe130d282ddf5bd [2020-03-27T23:47:44.593Z] Checking out Revision 7cd659ab554f1f2975c8070afbe130d282ddf5bd (PR-308) [2020-03-27T23:47:45.254Z] da4bc653673c: Retrying in 2 seconds [2020-03-27T23:47:44.417Z] > git config --get remote.origin.url # timeout=10 [2020-03-27T23:47:44.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T23:47:44.458Z] > git merge 6d277aa29535ad2364142a0838c9f0161c01ac18 # timeout=10 [2020-03-27T23:47:44.534Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-27T23:47:44.563Z] > git config core.sparsecheckout # timeout=10 [2020-03-27T23:47:44.603Z] > git checkout -f 7cd659ab554f1f2975c8070afbe130d282ddf5bd # timeout=10 [2020-03-27T23:47:46.191Z] da4bc653673c: Retrying in 1 second [2020-03-27T23:47:48.094Z] da4bc653673c: Download complete [2020-03-27T23:47:49.191Z] Commit message: "Merge commit '6d277aa29535ad2364142a0838c9f0161c01ac18' into HEAD" [2020-03-27T23:47:49.217Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-03-27T23:47:49.176Z] > git rev-list --no-walk 802f150d83865c98a6924841d3619777a19d1d40 # timeout=10 [2020-03-27T23:47:51.387Z] da4bc653673c: Pull complete [2020-03-27T23:47:51.388Z] 7d6a82484b25: Pull complete [2020-03-27T23:47:51.388Z] 98d7178a08bc: Pull complete [2020-03-27T23:47:51.388Z] 06fedb666dd1: Pull complete [2020-03-27T23:47:51.388Z] Digest: sha256:afea2876df8334e5430d2427cfd37b39be2ee497db76d3651b2b14d97de4b562 [2020-03-27T23:47:51.646Z] Status: Downloaded newer image for docker:latest [Pipeline] echo [2020-03-27T23:47:52.814Z] ========================================================= [2020-03-27T23:47:52.814Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-27T23:47:52.814Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-27T23:47:53.033Z] ---> 9eb8da8f802a [2020-03-27T23:47:53.033Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-27T23:47:53.033Z] ---> Running in 3f52cfeb19b2 [2020-03-27T23:47:53.298Z] Removing intermediate container 3f52cfeb19b2 [2020-03-27T23:47:53.298Z] ---> e5a775e9ed8a [2020-03-27T23:47:53.298Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-03-27T23:47:53.298Z] ---> Running in 5afd9790a10b [2020-03-27T23:47:53.869Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-27T23:47:53.885Z] + 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 . [2020-03-27T23:47:54.806Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-27T23:47:55.066Z] (1/5) Installing libsodium (1.0.18-r0) [2020-03-27T23:47:55.066Z] (2/5) Installing libzmq (4.3.2-r0) [2020-03-27T23:47:55.308Z] Sending build context to Docker daemon 36.65MB [2020-03-27T23:47:55.308Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-27T23:47:55.308Z] Step 2/8 : FROM ${BASE} [2020-03-27T23:47:55.324Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-03-27T23:47:55.324Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-03-27T23:47:55.324Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-03-27T23:47:55.577Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-27T23:47:55.577Z] cde5963f3b93: Pulling fs layer [2020-03-27T23:47:55.577Z] 2a23fa8c16f7: Pulling fs layer [2020-03-27T23:47:55.577Z] 777b28850792: Pulling fs layer [2020-03-27T23:47:55.577Z] 8a11ddd9e578: Pulling fs layer [2020-03-27T23:47:55.577Z] 4cf88f913ddb: Pulling fs layer [2020-03-27T23:47:55.577Z] 1df406cf5192: Pulling fs layer [2020-03-27T23:47:55.577Z] cd6300453558: Pulling fs layer [2020-03-27T23:47:55.577Z] b9c365052c96: Pulling fs layer [2020-03-27T23:47:55.577Z] a2d8cc88f415: Pulling fs layer [2020-03-27T23:47:55.577Z] ea1d1ca13537: Pulling fs layer [2020-03-27T23:47:55.577Z] 3750a50a1c5e: Pulling fs layer [2020-03-27T23:47:55.577Z] 1df406cf5192: Waiting [2020-03-27T23:47:55.577Z] cd6300453558: Waiting [2020-03-27T23:47:55.577Z] b9c365052c96: Waiting [2020-03-27T23:47:55.577Z] a2d8cc88f415: Waiting [2020-03-27T23:47:55.577Z] ea1d1ca13537: Waiting [2020-03-27T23:47:55.577Z] 3750a50a1c5e: Waiting [2020-03-27T23:47:55.577Z] 8a11ddd9e578: Waiting [2020-03-27T23:47:55.577Z] 4cf88f913ddb: Waiting [2020-03-27T23:47:55.577Z] 777b28850792: Verifying Checksum [2020-03-27T23:47:55.577Z] 777b28850792: Download complete [2020-03-27T23:47:55.577Z] 2a23fa8c16f7: Verifying Checksum [2020-03-27T23:47:55.577Z] 2a23fa8c16f7: Download complete [2020-03-27T23:47:55.577Z] 4cf88f913ddb: Verifying Checksum [2020-03-27T23:47:55.577Z] 4cf88f913ddb: Download complete [2020-03-27T23:47:55.577Z] 1df406cf5192: Verifying Checksum [2020-03-27T23:47:55.577Z] 1df406cf5192: Download complete [2020-03-27T23:47:55.582Z] Executing busybox-1.31.1-r8.trigger [2020-03-27T23:47:55.582Z] OK: 145 MiB in 44 packages [2020-03-27T23:47:55.841Z] Removing intermediate container 5afd9790a10b [2020-03-27T23:47:55.841Z] ---> 4ab4cb769340 [2020-03-27T23:47:55.841Z] Step 6/8 : WORKDIR /build [2020-03-27T23:47:55.854Z] cde5963f3b93: Verifying Checksum [2020-03-27T23:47:56.099Z] ---> Running in 88500f70d3dc [2020-03-27T23:47:56.099Z] Removing intermediate container 88500f70d3dc [2020-03-27T23:47:56.099Z] ---> 0fe1c9d77fd5 [2020-03-27T23:47:56.099Z] Step 7/8 : COPY go.mod . [2020-03-27T23:47:56.360Z] ---> 6939d4cf96d5 [2020-03-27T23:47:56.360Z] Step 8/8 : RUN go mod download [2020-03-27T23:47:56.360Z] ---> Running in e4f5acdd74bc [2020-03-27T23:47:56.822Z] cde5963f3b93: Pull complete [2020-03-27T23:47:57.805Z] 2a23fa8c16f7: Pull complete [2020-03-27T23:47:57.805Z] 777b28850792: Pull complete [2020-03-27T23:47:58.895Z] go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-03-27T23:47:58.895Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-27T23:47:58.895Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-27T23:47:58.895Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-27T23:47:58.895Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-27T23:47:58.895Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-27T23:47:58.895Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-03-27T23:47:58.895Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-27T23:47:58.895Z] go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2020-03-27T23:47:58.895Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-03-27T23:47:58.895Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 [2020-03-27T23:47:58.895Z] go: finding github.com/edgexfoundry/go-mod-messaging v0.1.16 [2020-03-27T23:47:58.895Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.11 [2020-03-27T23:47:59.154Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-03-27T23:47:59.154Z] go: finding github.com/fatih/color v1.7.0 [2020-03-27T23:47:59.154Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-27T23:47:59.154Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-27T23:47:59.154Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-27T23:47:59.154Z] go: finding github.com/golang/snappy v0.0.1 [2020-03-27T23:47:59.154Z] go: finding github.com/gomodule/redigo v2.0.0+incompatible [2020-03-27T23:47:59.154Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-27T23:47:59.154Z] go: finding github.com/google/go-cmp v0.3.1 [2020-03-27T23:47:59.154Z] go: finding github.com/google/uuid v1.1.0 [2020-03-27T23:47:59.412Z] go: finding github.com/gorilla/mux v1.7.2 [2020-03-27T23:47:59.412Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-03-27T23:47:59.412Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-03-27T23:47:59.412Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-27T23:47:59.412Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-03-27T23:47:59.412Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-27T23:47:59.412Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-27T23:47:59.412Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-27T23:47:59.671Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-27T23:47:59.671Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-27T23:47:59.671Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-27T23:47:59.671Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-27T23:47:59.671Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-27T23:47:59.671Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-27T23:47:59.771Z] cd6300453558: Verifying Checksum [2020-03-27T23:47:59.771Z] cd6300453558: Download complete [2020-03-27T23:47:59.930Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-27T23:47:59.930Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-27T23:47:59.930Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-27T23:47:59.930Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-27T23:47:59.930Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-27T23:47:59.930Z] go: finding github.com/kr/pretty v0.2.0 [2020-03-27T23:47:59.930Z] go: finding github.com/kr/pty v1.1.1 [2020-03-27T23:47:59.930Z] go: finding github.com/kr/text v0.1.0 [2020-03-27T23:47:59.930Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-27T23:48:00.041Z] a2d8cc88f415: Verifying Checksum [2020-03-27T23:48:00.041Z] a2d8cc88f415: Download complete [2020-03-27T23:48:00.190Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-27T23:48:00.190Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-27T23:48:00.190Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-27T23:48:00.190Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-27T23:48:00.190Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-27T23:48:00.190Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-27T23:48:00.190Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-27T23:48:00.452Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-27T23:48:00.452Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-27T23:48:00.452Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-27T23:48:00.452Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-27T23:48:00.452Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-27T23:48:00.452Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-03-27T23:48:00.452Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-27T23:48:00.452Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-27T23:48:00.452Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-27T23:48:00.710Z] go: finding github.com/posener/complete v1.1.1 [2020-03-27T23:48:00.710Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-27T23:48:00.710Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-27T23:48:00.710Z] go: finding github.com/stretchr/objx v0.2.0 [2020-03-27T23:48:00.710Z] go: finding github.com/stretchr/testify v1.4.0 [2020-03-27T23:48:00.710Z] go: finding github.com/tidwall/pretty v1.0.0 [2020-03-27T23:48:00.710Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-27T23:48:00.710Z] go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c [2020-03-27T23:48:00.710Z] go: finding github.com/xdg/stringprep v1.0.0 [2020-03-27T23:48:00.710Z] go: finding go.mongodb.org/mongo-driver v1.1.1 [2020-03-27T23:48:00.969Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-03-27T23:48:00.969Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-03-27T23:48:00.969Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-27T23:48:00.969Z] go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a [2020-03-27T23:48:00.969Z] go: finding golang.org/x/text v0.3.2 [2020-03-27T23:48:00.969Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-03-27T23:48:00.969Z] go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2020-03-27T23:48:00.969Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-27T23:48:03.395Z] ea1d1ca13537: Verifying Checksum [2020-03-27T23:48:03.395Z] ea1d1ca13537: Download complete [2020-03-27T23:48:03.395Z] 3750a50a1c5e: Verifying Checksum [2020-03-27T23:48:03.395Z] 3750a50a1c5e: Download complete [2020-03-27T23:48:05.349Z] b9c365052c96: Download complete [2020-03-27T23:48:07.295Z] 8a11ddd9e578: Verifying Checksum [2020-03-27T23:48:07.295Z] 8a11ddd9e578: Download complete [2020-03-27T23:48:09.104Z] Removing intermediate container e4f5acdd74bc [2020-03-27T23:48:09.104Z] ---> a4873a6d1346 [2020-03-27T23:48:09.104Z] Successfully built a4873a6d1346 [2020-03-27T23:48:09.104Z] 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 [2020-03-27T23:48:10.140Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-27T23:48:10.140Z] . [Pipeline] withDockerContainer [2020-03-27T23:48:10.270Z] prd-centos7-docker-4c-2g-1137 does not seem to be running inside a container [2020-03-27T23:48:10.326Z] $ 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 ******** ci-base-image-x86_64 cat [2020-03-27T23:48:10.916Z] $ docker top bf79541cde0ec13341b737ca44da48d0f4360cb34fc1c99eb37637b2f397f04b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-27T23:48:11.390Z] + go version [2020-03-27T23:48:11.390Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-27T23:48:11.692Z] + make test [2020-03-27T23:48:11.692Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-03-27T23:48:13.079Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-03-27T23:48:19.645Z] 8a11ddd9e578: Pull complete [2020-03-27T23:48:19.646Z] 4cf88f913ddb: Pull complete [2020-03-27T23:48:19.646Z] 1df406cf5192: Pull complete [2020-03-27T23:48:25.014Z] cd6300453558: Pull complete [2020-03-27T23:48:25.338Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.105s coverage: 88.9% of statements [2020-03-27T23:48:29.285Z] b9c365052c96: Pull complete [2020-03-27T23:48:29.286Z] a2d8cc88f415: Pull complete [2020-03-27T23:48:31.877Z] ea1d1ca13537: Pull complete [2020-03-27T23:48:32.145Z] 3750a50a1c5e: Pull complete [2020-03-27T23:48:32.145Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-27T23:48:32.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-27T23:48:32.145Z] ---> 78745c68409d [2020-03-27T23:48:32.145Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-03-27T23:48:32.411Z] latest: Pulling from library/docker [2020-03-27T23:48:32.682Z] 8a0637ca1ac9: Pulling fs layer [2020-03-27T23:48:32.682Z] 4726da4a2734: Pulling fs layer [2020-03-27T23:48:32.682Z] 73e3cb2b3a46: Pulling fs layer [2020-03-27T23:48:32.682Z] af8135161ac3: Pulling fs layer [2020-03-27T23:48:32.682Z] 8938096eeda7: Pulling fs layer [2020-03-27T23:48:32.682Z] 648c0e7fc3a8: Pulling fs layer [2020-03-27T23:48:32.682Z] fe85cdb0d7dc: Pulling fs layer [2020-03-27T23:48:32.682Z] 8938096eeda7: Waiting [2020-03-27T23:48:32.682Z] 648c0e7fc3a8: Waiting [2020-03-27T23:48:32.682Z] af8135161ac3: Waiting [2020-03-27T23:48:32.682Z] fe85cdb0d7dc: Waiting [2020-03-27T23:48:32.952Z] 73e3cb2b3a46: Verifying Checksum [2020-03-27T23:48:32.952Z] 73e3cb2b3a46: Download complete [2020-03-27T23:48:33.223Z] 4726da4a2734: Verifying Checksum [2020-03-27T23:48:33.223Z] 4726da4a2734: Download complete [2020-03-27T23:48:33.223Z] 8a0637ca1ac9: Verifying Checksum [2020-03-27T23:48:33.223Z] 8a0637ca1ac9: Download complete [2020-03-27T23:48:33.500Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/security [github.com/edgexfoundry/app-functions-sdk-go/internal/security.test] [2020-03-27T23:48:33.500Z] internal/security/credentials_test.go:163:18: secretProvider.secretClient undefined (type *SecretProvider has no field or method secretClient, but does have SecretClient) [2020-03-27T23:48:33.500Z] internal/security/credentials_test.go:238:8: mockSP.secretClient undefined (type *SecretProvider has no field or method secretClient, but does have SecretClient) [2020-03-27T23:48:33.809Z] 8938096eeda7: Verifying Checksum [2020-03-27T23:48:33.809Z] 8938096eeda7: Download complete [2020-03-27T23:48:33.809Z] 648c0e7fc3a8: Verifying Checksum [2020-03-27T23:48:33.809Z] 648c0e7fc3a8: Download complete [2020-03-27T23:48:34.079Z] fe85cdb0d7dc: Verifying Checksum [2020-03-27T23:48:34.079Z] fe85cdb0d7dc: Download complete [2020-03-27T23:48:34.080Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.424s coverage: 41.7% of statements [2020-03-27T23:48:34.080Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-03-27T23:48:34.080Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-03-27T23:48:34.080Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/config 0.018s coverage: 100.0% of statements [2020-03-27T23:48:34.353Z] 8a0637ca1ac9: Pull complete [2020-03-27T23:48:34.939Z] 4726da4a2734: Pull complete [2020-03-27T23:48:35.038Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.834s coverage: 69.3% of statements [2020-03-27T23:48:35.038Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/security [build failed] [2020-03-27T23:48:35.038Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.015s coverage: 89.5% of statements [2020-03-27T23:48:35.038Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.022s coverage: 100.0% of statements [2020-03-27T23:48:35.204Z] 73e3cb2b3a46: Pull complete [2020-03-27T23:48:38.557Z] af8135161ac3: Verifying Checksum [2020-03-27T23:48:38.557Z] af8135161ac3: Download complete [2020-03-27T23:48:42.837Z] af8135161ac3: Pull complete [2020-03-27T23:48:42.837Z] 8938096eeda7: Pull complete [2020-03-27T23:48:42.837Z] 648c0e7fc3a8: Pull complete [2020-03-27T23:48:43.105Z] fe85cdb0d7dc: Pull complete [2020-03-27T23:48:43.105Z] Digest: sha256:afea2876df8334e5430d2427cfd37b39be2ee497db76d3651b2b14d97de4b562 [2020-03-27T23:48:43.105Z] Status: Downloaded newer image for docker:latest [2020-03-27T23:48:43.207Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.147s coverage: 100.0% of statements [2020-03-27T23:48:43.207Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-03-27T23:48:43.207Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements [2020-03-27T23:48:43.207Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-03-27T23:48:43.207Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-03-27T23:48:43.207Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-03-27T23:48:43.207Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-03-27T23:48:43.207Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-03-27T23:48:43.207Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-03-27T23:48:43.207Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-03-27T23:48:43.207Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.018s coverage: 96.6% of statements [2020-03-27T23:48:43.207Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-03-27T23:48:43.207Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.010s coverage: 97.7% of statements [2020-03-27T23:48:43.207Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-03-27T23:48:43.207Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-03-27T23:48:43.207Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [no test files] [2020-03-27T23:48:44.585Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.661s coverage: 84.8% of statements [2020-03-27T23:48:44.585Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.082s coverage: 83.3% of statements [2020-03-27T23:48:44.585Z] ? github.com/edgexfoundry/app-functions-sdk-go/pkg/endpoint [no test files] [2020-03-27T23:48:44.585Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 5.478s coverage: 76.7% of statements [2020-03-27T23:48:44.585Z] ? github.com/edgexfoundry/app-functions-sdk-go/pkg/urlclient [no test files] [2020-03-27T23:48:44.585Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.008s coverage: 100.0% of statements [2020-03-27T23:48:44.585Z] FAIL [2020-03-27T23:48:44.847Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-03-27T23:48:44.860Z] $ docker stop --time=1 bf79541cde0ec13341b737ca44da48d0f4360cb34fc1c99eb37637b2f397f04b [2020-03-27T23:48:46.361Z] $ docker rm -f bf79541cde0ec13341b737ca44da48d0f4360cb34fc1c99eb37637b2f397f04b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-27T23:48:47.472Z] Failed in branch amd64 [2020-03-27T23:48:49.767Z] ---> 838298ffa7c4 [2020-03-27T23:48:49.767Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-27T23:48:49.767Z] ---> Running in 225c0b7b9690 [2020-03-27T23:48:50.355Z] Removing intermediate container 225c0b7b9690 [2020-03-27T23:48:50.355Z] ---> 6f003fddaaf3 [2020-03-27T23:48:50.355Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-03-27T23:48:50.355Z] ---> Running in 925c19d333ae [2020-03-27T23:48:51.329Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-27T23:48:52.287Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-27T23:48:52.871Z] (1/5) Installing libsodium (1.0.18-r0) [2020-03-27T23:48:52.871Z] (2/5) Installing libzmq (4.3.2-r0) [2020-03-27T23:48:52.871Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-03-27T23:48:53.137Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-03-27T23:48:53.137Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-03-27T23:48:53.404Z] Executing busybox-1.31.1-r8.trigger [2020-03-27T23:48:53.404Z] OK: 127 MiB in 44 packages [2020-03-27T23:48:54.824Z] Removing intermediate container 925c19d333ae [2020-03-27T23:48:54.824Z] ---> 024eccf1f970 [2020-03-27T23:48:54.824Z] Step 6/8 : WORKDIR /build [2020-03-27T23:48:54.824Z] ---> Running in c569f8de62ab [2020-03-27T23:48:55.091Z] Removing intermediate container c569f8de62ab [2020-03-27T23:48:55.091Z] ---> 3f7df52260a8 [2020-03-27T23:48:55.091Z] Step 7/8 : COPY go.mod . [2020-03-27T23:48:55.676Z] ---> fa13b6e27b67 [2020-03-27T23:48:55.676Z] Step 8/8 : RUN go mod download [2020-03-27T23:48:55.676Z] ---> Running in 5c60c7f0295c [2020-03-27T23:48:58.264Z] go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-03-27T23:48:58.264Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-27T23:48:58.264Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-27T23:48:58.264Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-27T23:48:58.264Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-27T23:48:58.264Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-27T23:48:58.264Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-03-27T23:48:58.264Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-27T23:48:58.264Z] go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2020-03-27T23:48:58.264Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-03-27T23:48:58.264Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 [2020-03-27T23:48:58.264Z] go: finding github.com/edgexfoundry/go-mod-messaging v0.1.16 [2020-03-27T23:48:58.264Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.11 [2020-03-27T23:48:58.264Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-03-27T23:48:58.264Z] go: finding github.com/fatih/color v1.7.0 [2020-03-27T23:48:58.264Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-27T23:48:58.264Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-27T23:48:58.264Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-27T23:48:58.264Z] go: finding github.com/golang/snappy v0.0.1 [2020-03-27T23:48:58.264Z] go: finding github.com/gomodule/redigo v2.0.0+incompatible [2020-03-27T23:48:58.264Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-27T23:48:58.264Z] go: finding github.com/google/go-cmp v0.3.1 [2020-03-27T23:48:58.264Z] go: finding github.com/google/uuid v1.1.0 [2020-03-27T23:48:58.264Z] go: finding github.com/gorilla/mux v1.7.2 [2020-03-27T23:48:58.264Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-03-27T23:48:58.264Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-03-27T23:48:58.264Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-27T23:48:58.264Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-03-27T23:48:58.265Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-27T23:48:58.265Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-27T23:48:58.265Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-27T23:48:58.265Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-27T23:48:58.265Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-27T23:48:58.265Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-27T23:48:58.265Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-27T23:48:58.265Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-27T23:48:58.265Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-27T23:48:58.532Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-27T23:48:58.532Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-27T23:48:58.532Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-27T23:48:58.532Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-27T23:48:58.532Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-27T23:48:58.532Z] go: finding github.com/kr/pretty v0.2.0 [2020-03-27T23:48:58.532Z] go: finding github.com/kr/pty v1.1.1 [2020-03-27T23:48:58.532Z] go: finding github.com/kr/text v0.1.0 [2020-03-27T23:48:58.532Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-27T23:48:58.532Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-27T23:48:58.532Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-27T23:48:58.532Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-27T23:48:58.532Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-27T23:48:58.801Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-27T23:48:58.801Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-27T23:48:58.801Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-27T23:48:58.801Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-27T23:48:58.801Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-27T23:48:58.801Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-27T23:48:58.801Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-27T23:48:58.801Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-27T23:48:58.801Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-03-27T23:48:58.801Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-27T23:48:58.801Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-27T23:48:58.801Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-27T23:48:58.801Z] go: finding github.com/posener/complete v1.1.1 [2020-03-27T23:48:58.801Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-27T23:48:58.801Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-27T23:48:58.801Z] go: finding github.com/stretchr/objx v0.2.0 [2020-03-27T23:48:58.801Z] go: finding github.com/stretchr/testify v1.4.0 [2020-03-27T23:48:58.801Z] go: finding github.com/tidwall/pretty v1.0.0 [2020-03-27T23:48:58.801Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-27T23:48:58.801Z] go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c [2020-03-27T23:48:58.801Z] go: finding github.com/xdg/stringprep v1.0.0 [2020-03-27T23:48:58.801Z] go: finding go.mongodb.org/mongo-driver v1.1.1 [2020-03-27T23:48:58.801Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-03-27T23:48:59.069Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-03-27T23:48:59.069Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-27T23:48:59.069Z] go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a [2020-03-27T23:48:59.069Z] go: finding golang.org/x/text v0.3.2 [2020-03-27T23:48:59.069Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-03-27T23:48:59.069Z] go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2020-03-27T23:48:59.069Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-27T23:49:17.310Z] Removing intermediate container 5c60c7f0295c [2020-03-27T23:49:17.310Z] ---> be731ba54094 [2020-03-27T23:49:17.310Z] Successfully built be731ba54094 [2020-03-27T23:49:17.310Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-27T23:49:17.945Z] + docker inspect -f . ci-base-image-arm64 [2020-03-27T23:49:17.945Z] . [Pipeline] withDockerContainer [2020-03-27T23:49:18.540Z] prd-ubuntu18.04-docker-arm64-4c-16g-1136 does not seem to be running inside a container [2020-03-27T23:49:18.655Z] $ 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 ******** ci-base-image-arm64 cat [2020-03-27T23:49:20.048Z] $ docker top df3cc1e816e53bd405386b4fe5fc89f81c3cad742e8c00ff889651515a09b27c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-27T23:49:21.114Z] + go version [2020-03-27T23:49:21.114Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-27T23:49:21.770Z] + make test [2020-03-27T23:49:21.770Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-03-27T23:49:23.207Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-03-27T23:50:10.134Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.104s coverage: 88.9% of statements [2020-03-27T23:50:14.411Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/security [github.com/edgexfoundry/app-functions-sdk-go/internal/security.test] [2020-03-27T23:50:14.411Z] internal/security/credentials_test.go:163:18: secretProvider.secretClient undefined (type *SecretProvider has no field or method secretClient, but does have SecretClient) [2020-03-27T23:50:14.411Z] internal/security/credentials_test.go:238:8: mockSP.secretClient undefined (type *SecretProvider has no field or method secretClient, but does have SecretClient) [2020-03-27T23:50:21.101Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.501s coverage: 41.7% of statements [2020-03-27T23:50:21.101Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-03-27T23:50:21.101Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-03-27T23:50:21.101Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/config 0.026s coverage: 100.0% of statements [2020-03-27T23:50:21.101Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.541s coverage: 69.3% of statements [2020-03-27T23:50:21.101Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/security [build failed] [2020-03-27T23:50:21.101Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.031s coverage: 89.5% of statements [2020-03-27T23:50:21.101Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.037s coverage: 100.0% of statements [2020-03-27T23:50:31.218Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.158s coverage: 100.0% of statements [2020-03-27T23:50:31.218Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.015s coverage: 100.0% of statements [2020-03-27T23:50:31.218Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.021s coverage: 100.0% of statements [2020-03-27T23:50:31.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-03-27T23:50:31.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-03-27T23:50:31.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-03-27T23:50:31.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-03-27T23:50:31.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-03-27T23:50:31.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-03-27T23:50:31.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-03-27T23:50:31.218Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.029s coverage: 96.6% of statements [2020-03-27T23:50:31.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-03-27T23:50:31.218Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.014s coverage: 97.7% of statements [2020-03-27T23:50:31.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-03-27T23:50:31.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-03-27T23:50:31.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [no test files] [2020-03-27T23:50:37.865Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.777s coverage: 84.8% of statements [2020-03-27T23:50:37.865Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.117s coverage: 83.3% of statements [2020-03-27T23:50:37.865Z] ? github.com/edgexfoundry/app-functions-sdk-go/pkg/endpoint [no test files] [2020-03-27T23:50:37.865Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 5.553s coverage: 76.7% of statements [2020-03-27T23:50:37.865Z] ? github.com/edgexfoundry/app-functions-sdk-go/pkg/urlclient [no test files] [2020-03-27T23:50:37.865Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.024s coverage: 100.0% of statements [2020-03-27T23:50:37.865Z] FAIL [2020-03-27T23:50:38.133Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-03-27T23:50:38.169Z] $ docker stop --time=1 df3cc1e816e53bd405386b4fe5fc89f81c3cad742e8c00ff889651515a09b27c [2020-03-27T23:50:40.332Z] $ docker rm -f df3cc1e816e53bd405386b4fe5fc89f81c3cad742e8c00ff889651515a09b27c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-27T23:50:41.793Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-03-27T23:50:43.105Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-27T23:50:43.465Z] ---> package-listing.sh [2020-03-27T23:50:43.465Z] ++ facter osfamily [2020-03-27T23:50:43.465Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-27T23:50:43.465Z] + OS_FAMILY=redhat [2020-03-27T23:50:43.465Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-308 [2020-03-27T23:50:43.465Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-27T23:50:43.465Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-27T23:50:43.465Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-27T23:50:43.465Z] + PACKAGES=/tmp/packages_start.txt [2020-03-27T23:50:43.465Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-308 ']' [2020-03-27T23:50:43.465Z] + PACKAGES=/tmp/packages_end.txt [2020-03-27T23:50:43.465Z] + case "${OS_FAMILY}" in [2020-03-27T23:50:43.465Z] + rpm -qa [2020-03-27T23:50:43.465Z] + sort [2020-03-27T23:50:48.762Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-27T23:50:48.762Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-27T23:50:48.762Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-27T23:50:48.762Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-308 ']' [2020-03-27T23:50:48.762Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-308/archives/ [2020-03-27T23:50:48.762Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-308/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-27T23:50:49.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-27T23:50:49.279Z] [2020-03-27T23:50:49.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-27T23:50:49.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-27T23:50:49.965Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-27T23:50:49.965Z] c9b1b535fdd9: Pulling fs layer [2020-03-27T23:50:49.965Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-27T23:50:49.965Z] 756a868c4378: Pulling fs layer [2020-03-27T23:50:49.965Z] 444b2fc9a129: Pulling fs layer [2020-03-27T23:50:49.965Z] ea15f1150254: Pulling fs layer [2020-03-27T23:50:49.965Z] 41b27a9f41bf: Pulling fs layer [2020-03-27T23:50:49.965Z] 28c525ee5125: Pulling fs layer [2020-03-27T23:50:49.965Z] 094b1ea09ed8: Pulling fs layer [2020-03-27T23:50:49.965Z] 138eaada9080: Pulling fs layer [2020-03-27T23:50:49.965Z] 0622d0fa9048: Pulling fs layer [2020-03-27T23:50:49.965Z] ea15f1150254: Waiting [2020-03-27T23:50:49.965Z] 41b27a9f41bf: Waiting [2020-03-27T23:50:49.965Z] 28c525ee5125: Waiting [2020-03-27T23:50:49.965Z] 094b1ea09ed8: Waiting [2020-03-27T23:50:49.965Z] 138eaada9080: Waiting [2020-03-27T23:50:49.965Z] 0622d0fa9048: Waiting [2020-03-27T23:50:49.965Z] 444b2fc9a129: Waiting [2020-03-27T23:50:49.965Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-27T23:50:49.965Z] 2cc5ad85d9ab: Download complete [2020-03-27T23:50:49.965Z] 444b2fc9a129: Download complete [2020-03-27T23:50:50.325Z] c9b1b535fdd9: Verifying Checksum [2020-03-27T23:50:50.325Z] c9b1b535fdd9: Download complete [2020-03-27T23:50:50.325Z] ea15f1150254: Verifying Checksum [2020-03-27T23:50:50.325Z] ea15f1150254: Download complete [2020-03-27T23:50:50.325Z] 28c525ee5125: Verifying Checksum [2020-03-27T23:50:50.325Z] 28c525ee5125: Download complete [2020-03-27T23:50:50.637Z] c9b1b535fdd9: Pull complete [2020-03-27T23:50:51.286Z] 2cc5ad85d9ab: Pull complete [2020-03-27T23:50:51.286Z] 756a868c4378: Verifying Checksum [2020-03-27T23:50:51.286Z] 756a868c4378: Download complete [2020-03-27T23:50:51.589Z] 094b1ea09ed8: Download complete [2020-03-27T23:50:51.589Z] 138eaada9080: Verifying Checksum [2020-03-27T23:50:51.589Z] 138eaada9080: Download complete [2020-03-27T23:50:51.589Z] 0622d0fa9048: Verifying Checksum [2020-03-27T23:50:51.589Z] 0622d0fa9048: Download complete [2020-03-27T23:50:53.172Z] 41b27a9f41bf: Verifying Checksum [2020-03-27T23:50:53.172Z] 41b27a9f41bf: Download complete [2020-03-27T23:50:55.104Z] 756a868c4378: Pull complete [2020-03-27T23:50:55.104Z] 444b2fc9a129: Pull complete [2020-03-27T23:50:55.395Z] ea15f1150254: Pull complete [2020-03-27T23:51:00.817Z] 41b27a9f41bf: Pull complete [2020-03-27T23:51:00.817Z] 28c525ee5125: Pull complete [2020-03-27T23:51:03.482Z] 094b1ea09ed8: Pull complete [2020-03-27T23:51:03.745Z] 138eaada9080: Pull complete [2020-03-27T23:51:04.012Z] 0622d0fa9048: Pull complete [2020-03-27T23:51:04.012Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-27T23:51:04.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-27T23:51:04.231Z] prd-centos7-docker-4c-2g-1134 does not seem to be running inside a container [2020-03-27T23:51:04.328Z] $ 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-308 -v /w/workspace/ndry_app-functions-sdk-go_PR-308:/w/workspace/ndry_app-functions-sdk-go_PR-308:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-308@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-308@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-27T23:51:05.592Z] $ docker top 4f959c1835f20106e4b851ceb51260368f9f298d93a572d21f38236d17b62046 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-27T23:51:05.879Z] provisioning config files... [2020-03-27T23:51:05.897Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-308@tmp/config8457406252241047367tmp [Pipeline] { [Pipeline] echo [2020-03-27T23:51:05.955Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-27T23:51:06.291Z] ---> create-netrc.sh [Pipeline] echo [2020-03-27T23:51:06.560Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-27T23:51:06.887Z] ---> logs-deploy.sh [2020-03-27T23:51:06.887Z] + ARCHIVE_ARTIFACTS= [2020-03-27T23:51:06.887Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-27T23:51:06.887Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-27T23:51:06.887Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-27T23:51:06.887Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-308/2 [2020-03-27T23:51:06.887Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-functions-sdk-go/job/PR-308/2/ [2020-03-27T23:51:06.887Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-308/2 /w/workspace/ndry_app-functions-sdk-go_PR-308 [2020-03-27T23:51:08.897Z] Archives upload complete. [2020-03-27T23:51:08.897Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-308/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-functions-sdk-go/job/PR-308/2/