Pull request #314 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 rsdmike for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 5f366379e4377a4501aebcb66e0128f029c657c6+85467eb8bd6dd2b9868cd8f6803b9fba330b85b1 (d404c02f5affc95596edf14436d7a767b30af58c) 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 on ‘prd-centos7-docker-4c-2g-3876’ Running on prd-centos7-docker-4c-2g-3881 in /w/workspace/ndry_app-functions-sdk-go_PR-314 [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-314 # 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/314/head:refs/remotes/origin/PR-314 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 85467eb8bd6dd2b9868cd8f6803b9fba330b85b1 into PR head commit 5f366379e4377a4501aebcb66e0128f029c657c6 Merge succeeded, producing 5f366379e4377a4501aebcb66e0128f029c657c6 Checking out Revision 5f366379e4377a4501aebcb66e0128f029c657c6 (PR-314) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/314/head:refs/remotes/origin/PR-314 # 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/314/head:refs/remotes/origin/PR-314 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f366379e4377a4501aebcb66e0128f029c657c6 # 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 85467eb8bd6dd2b9868cd8f6803b9fba330b85b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f366379e4377a4501aebcb66e0128f029c657c6 # timeout=10 Commit message: "Merge branch 'master' into mqttsecrets" > git rev-list --no-walk 34f47f4b4b1fd5cbb8ed64ae1a60951db33963f1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-14T21:13:26.865Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:13:29.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T21:13:29.090Z] [2020-04-14T21:13:29.090Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:13:29.450Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T21:13:29.450Z] latest: Pulling from edgex-devops/git-semver [2020-04-14T21:13:29.450Z] 9123ac7c32f7: Pulling fs layer [2020-04-14T21:13:29.450Z] b8cc5d1170e3: Pulling fs layer [2020-04-14T21:13:29.450Z] 2924cbbf6a41: Pulling fs layer [2020-04-14T21:13:29.450Z] 93b08a4f1073: Pulling fs layer [2020-04-14T21:13:29.450Z] 93b08a4f1073: Waiting [2020-04-14T21:13:29.450Z] b8cc5d1170e3: Verifying Checksum [2020-04-14T21:13:29.450Z] b8cc5d1170e3: Download complete [2020-04-14T21:13:29.450Z] 9123ac7c32f7: Download complete [2020-04-14T21:13:29.711Z] 93b08a4f1073: Verifying Checksum [2020-04-14T21:13:29.711Z] 93b08a4f1073: Download complete [2020-04-14T21:13:29.711Z] 2924cbbf6a41: Download complete [2020-04-14T21:13:29.973Z] 9123ac7c32f7: Pull complete [2020-04-14T21:13:29.973Z] b8cc5d1170e3: Pull complete [2020-04-14T21:13:30.916Z] 2924cbbf6a41: Pull complete [2020-04-14T21:13:30.916Z] 93b08a4f1073: Pull complete [2020-04-14T21:13:30.916Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-14T21:13:30.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-14T21:13:31.040Z] prd-centos7-docker-4c-2g-3881 does not seem to be running inside a container [2020-04-14T21:13:31.086Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-314 -v /w/workspace/ndry_app-functions-sdk-go_PR-314:/w/workspace/ndry_app-functions-sdk-go_PR-314:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-314@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-14T21:13:31.697Z] $ docker top cc5bf7ca7b28da6aa19e3692729285e92a1cd7321169af84638eeac66daa31b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-14T21:13:31.936Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T21:13:31.937Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T21:13:32.140Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T21:13:32.145Z] $ docker exec cc5bf7ca7b28da6aa19e3692729285e92a1cd7321169af84638eeac66daa31b1 ssh-agent [2020-04-14T21:13:32.332Z] SSH_AUTH_SOCK=/tmp/ssh-mhTiGTsGvMEh/agent.15 [2020-04-14T21:13:32.332Z] SSH_AGENT_PID=22 [2020-04-14T21:13:32.341Z] Running ssh-add (command line suppressed) [2020-04-14T21:13:32.487Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-314@tmp/private_key_6114658014414882286.key (/w/workspace/ndry_app-functions-sdk-go_PR-314@tmp/private_key_6114658014414882286.key) [2020-04-14T21:13:32.533Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T21:13:32.848Z] + git describe --exact-match --tags HEAD [2020-04-14T21:13:32.848Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-14T21:13:32.903Z] $ docker exec --env ******** --env ******** cc5bf7ca7b28da6aa19e3692729285e92a1cd7321169af84638eeac66daa31b1 ssh-agent -k [2020-04-14T21:13:33.045Z] unset SSH_AUTH_SOCK; [2020-04-14T21:13:33.046Z] unset SSH_AGENT_PID; [2020-04-14T21:13:33.046Z] echo Agent pid 22 killed; [2020-04-14T21:13:33.086Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-14T21:13:33.164Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-14T21:13:33.164Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-14T21:13:33.248Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T21:13:33.248Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T21:13:33.429Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T21:13:33.434Z] $ docker exec cc5bf7ca7b28da6aa19e3692729285e92a1cd7321169af84638eeac66daa31b1 ssh-agent [2020-04-14T21:13:33.609Z] SSH_AUTH_SOCK=/tmp/ssh-wKPiJCtTRXDO/agent.57 [2020-04-14T21:13:33.609Z] SSH_AGENT_PID=64 [2020-04-14T21:13:33.618Z] Running ssh-add (command line suppressed) [2020-04-14T21:13:33.763Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-314@tmp/private_key_1905430225140968031.key (/w/workspace/ndry_app-functions-sdk-go_PR-314@tmp/private_key_1905430225140968031.key) [2020-04-14T21:13:33.811Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T21:13:34.134Z] + git semver init [2020-04-14T21:13:34.134Z] # -> Open(): unable to determine branch for HEAD [2020-04-14T21:13:34.134Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-314/.git [2020-04-14T21:13:34.134Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-314 [2020-04-14T21:13:34.134Z] # $SEMVER_REMOTE_NAME = origin [2020-04-14T21:13:34.134Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-14T21:13:34.134Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-14T21:13:34.134Z] # $SEMVER_BRANCH = PR-314 [2020-04-14T21:13:34.134Z] # $SEMVER_TEMP = /tmp/semver-042760862 [2020-04-14T21:13:34.134Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-04-14T21:13:36.677Z] # '/tmp/semver-042760862' -> '/w/workspace/ndry_app-functions-sdk-go_PR-314/.semver' [2020-04-14T21:13:36.677Z] # -> Force: false [2020-04-14T21:13:36.677Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-314/.semver [Pipeline] } [2020-04-14T21:13:36.688Z] $ docker exec --env ******** --env ******** cc5bf7ca7b28da6aa19e3692729285e92a1cd7321169af84638eeac66daa31b1 ssh-agent -k [2020-04-14T21:13:36.822Z] unset SSH_AUTH_SOCK; [2020-04-14T21:13:36.823Z] unset SSH_AGENT_PID; [2020-04-14T21:13:36.823Z] echo Agent pid 64 killed; [2020-04-14T21:13:36.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-14T21:13:37.279Z] + git semver [Pipeline] } [2020-04-14T21:13:37.294Z] $ docker stop --time=1 cc5bf7ca7b28da6aa19e3692729285e92a1cd7321169af84638eeac66daa31b1 [2020-04-14T21:13:38.650Z] $ docker rm -f cc5bf7ca7b28da6aa19e3692729285e92a1cd7321169af84638eeac66daa31b1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-14T21:13:40.884Z] Stashed 99 file(s) [Pipeline] echo [2020-04-14T21:13:40.886Z] [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-04-14T21:13:56.117Z] Still waiting to schedule task [2020-04-14T21:13:56.117Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-14T21:13:56.118Z] Still waiting to schedule task [2020-04-14T21:13:56.119Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-14T21:15:44.071Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3882 in /w/workspace/ndry_app-functions-sdk-go_PR-314 [Pipeline] { [Pipeline] ws [2020-04-14T21:15:44.109Z] Running in /w/workspace/app-functions-sdk-go/15 [Pipeline] { [Pipeline] checkout [2020-04-14T21:15:48.056Z] Running on prd-centos7-docker-4c-2g-3883 in /w/workspace/ndry_app-functions-sdk-go_PR-314 [Pipeline] { [Pipeline] ws [2020-04-14T21:15:48.100Z] Running in /w/workspace/app-functions-sdk-go/15 [Pipeline] { [Pipeline] checkout [2020-04-14T21:15:50.507Z] using credential edgex-jenkins-ssh [2020-04-14T21:15:50.543Z] using credential edgex-jenkins-ssh [2020-04-14T21:15:50.552Z] Cloning the remote Git repository [2020-04-14T21:15:50.552Z] Cloning with configured refspecs honoured and without tags [2020-04-14T21:15:50.601Z] Cloning the remote Git repository [2020-04-14T21:15:50.602Z] Cloning with configured refspecs honoured and without tags [2020-04-14T21:15:50.667Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-04-14T21:15:50.777Z] > git init /w/workspace/app-functions-sdk-go/15 # timeout=10 [2020-04-14T21:15:50.369Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-04-14T21:15:50.410Z] > git init /w/workspace/app-functions-sdk-go/15 # timeout=10 [2020-04-14T21:15:50.456Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-04-14T21:15:50.456Z] > git --version # timeout=10 [2020-04-14T21:15:50.463Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T21:15:50.495Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/314/head:refs/remotes/origin/PR-314 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T21:15:50.880Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-04-14T21:15:50.881Z] > git --version # timeout=10 [2020-04-14T21:15:50.908Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T21:15:50.965Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/314/head:refs/remotes/origin/PR-314 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T21:15:52.323Z] Fetching without tags [2020-04-14T21:15:52.219Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-04-14T21:15:52.230Z] > git config --add remote.origin.fetch +refs/pull/314/head:refs/remotes/origin/PR-314 # timeout=10 [2020-04-14T21:15:52.236Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T21:15:52.253Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-04-14T21:15:52.266Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-04-14T21:15:52.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T21:15:52.271Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/314/head:refs/remotes/origin/PR-314 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T21:15:52.745Z] Merging remotes/origin/master commit 85467eb8bd6dd2b9868cd8f6803b9fba330b85b1 into PR head commit 5f366379e4377a4501aebcb66e0128f029c657c6 [2020-04-14T21:15:52.833Z] Merge succeeded, producing 5f366379e4377a4501aebcb66e0128f029c657c6 [2020-04-14T21:15:52.833Z] Checking out Revision 5f366379e4377a4501aebcb66e0128f029c657c6 (PR-314) [2020-04-14T21:15:52.727Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T21:15:52.733Z] > git checkout -f 5f366379e4377a4501aebcb66e0128f029c657c6 # timeout=10 [2020-04-14T21:15:52.779Z] > git remote # timeout=10 [2020-04-14T21:15:52.789Z] > git config --get remote.origin.url # timeout=10 [2020-04-14T21:15:52.794Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T21:15:52.798Z] > git merge 85467eb8bd6dd2b9868cd8f6803b9fba330b85b1 # timeout=10 [2020-04-14T21:15:52.808Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-14T21:15:52.817Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T21:15:52.824Z] > git checkout -f 5f366379e4377a4501aebcb66e0128f029c657c6 # timeout=10 [2020-04-14T21:15:54.018Z] Fetching without tags [2020-04-14T21:15:54.542Z] Merging remotes/origin/master commit 85467eb8bd6dd2b9868cd8f6803b9fba330b85b1 into PR head commit 5f366379e4377a4501aebcb66e0128f029c657c6 [2020-04-14T21:15:54.848Z] Merge succeeded, producing 5f366379e4377a4501aebcb66e0128f029c657c6 [2020-04-14T21:15:54.849Z] Checking out Revision 5f366379e4377a4501aebcb66e0128f029c657c6 (PR-314) [2020-04-14T21:15:53.818Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-04-14T21:15:53.844Z] > git config --add remote.origin.fetch +refs/pull/314/head:refs/remotes/origin/PR-314 # timeout=10 [2020-04-14T21:15:53.885Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T21:15:53.915Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-04-14T21:15:54.050Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-04-14T21:15:54.051Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T21:15:54.063Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/314/head:refs/remotes/origin/PR-314 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T21:15:54.573Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T21:15:54.634Z] > git checkout -f 5f366379e4377a4501aebcb66e0128f029c657c6 # timeout=10 [2020-04-14T21:15:54.748Z] > git remote # timeout=10 [2020-04-14T21:15:54.763Z] > git config --get remote.origin.url # timeout=10 [2020-04-14T21:15:54.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T21:15:54.792Z] > git merge 85467eb8bd6dd2b9868cd8f6803b9fba330b85b1 # timeout=10 [2020-04-14T21:15:54.812Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-14T21:15:54.854Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T21:15:54.865Z] > git checkout -f 5f366379e4377a4501aebcb66e0128f029c657c6 # timeout=10 [2020-04-14T21:15:56.655Z] Commit message: "Merge branch 'master' into mqttsecrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-14T21:15:58.336Z] ========================================================= [2020-04-14T21:15:58.336Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-14T21:15:58.336Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:15:59.009Z] + 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-04-14T21:15:59.161Z] Commit message: "Merge branch 'master' into mqttsecrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [2020-04-14T21:15:59.586Z] Sending build context to Docker daemon 36.7MB [2020-04-14T21:15:59.586Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-14T21:15:59.586Z] Step 2/8 : FROM ${BASE} [2020-04-14T21:15:59.586Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-14T21:15:59.586Z] e6b0cf9c0882: Pulling fs layer [2020-04-14T21:15:59.586Z] 2848faf0eed1: Pulling fs layer [2020-04-14T21:15:59.586Z] 0f37312ad70f: Pulling fs layer [2020-04-14T21:15:59.586Z] 5788d62ee057: Pulling fs layer [2020-04-14T21:15:59.586Z] 0e6b1d234666: Pulling fs layer [2020-04-14T21:15:59.586Z] bf5d7aec512f: Pulling fs layer [2020-04-14T21:15:59.586Z] 34c802a77dc8: Pulling fs layer [2020-04-14T21:15:59.586Z] 9eb99e56ec68: Pulling fs layer [2020-04-14T21:15:59.586Z] 27c7a5d97fbd: Pulling fs layer [2020-04-14T21:15:59.586Z] 5c102a31e300: Pulling fs layer [2020-04-14T21:15:59.586Z] dcfb455df0a1: Pulling fs layer [2020-04-14T21:15:59.586Z] 9eb99e56ec68: Waiting [2020-04-14T21:15:59.586Z] 27c7a5d97fbd: Waiting [2020-04-14T21:15:59.586Z] dcfb455df0a1: Waiting [2020-04-14T21:15:59.586Z] 5788d62ee057: Waiting [2020-04-14T21:15:59.586Z] 5c102a31e300: Waiting [2020-04-14T21:15:59.586Z] 0e6b1d234666: Waiting [2020-04-14T21:15:59.586Z] 34c802a77dc8: Waiting [2020-04-14T21:15:59.586Z] bf5d7aec512f: Waiting [2020-04-14T21:15:59.586Z] 0f37312ad70f: Verifying Checksum [2020-04-14T21:15:59.586Z] 0f37312ad70f: Download complete [2020-04-14T21:15:59.586Z] 2848faf0eed1: Download complete [2020-04-14T21:15:59.586Z] 0e6b1d234666: Verifying Checksum [2020-04-14T21:15:59.586Z] 0e6b1d234666: Download complete [2020-04-14T21:15:59.586Z] bf5d7aec512f: Verifying Checksum [2020-04-14T21:15:59.586Z] bf5d7aec512f: Download complete [2020-04-14T21:15:59.586Z] e6b0cf9c0882: Verifying Checksum [2020-04-14T21:15:59.586Z] e6b0cf9c0882: Download complete [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-14T21:16:00.542Z] 34c802a77dc8: Verifying Checksum [2020-04-14T21:16:00.542Z] 34c802a77dc8: Download complete [2020-04-14T21:16:00.542Z] 27c7a5d97fbd: Verifying Checksum [2020-04-14T21:16:00.543Z] 27c7a5d97fbd: Download complete [2020-04-14T21:16:00.808Z] 5c102a31e300: Verifying Checksum [2020-04-14T21:16:00.808Z] 5c102a31e300: Download complete [2020-04-14T21:16:01.071Z] dcfb455df0a1: Verifying Checksum [2020-04-14T21:16:01.071Z] dcfb455df0a1: Download complete [2020-04-14T21:16:01.071Z] 9eb99e56ec68: Verifying Checksum [2020-04-14T21:16:01.071Z] 9eb99e56ec68: Download complete [2020-04-14T21:16:01.639Z] 5788d62ee057: Verifying Checksum [2020-04-14T21:16:01.639Z] 5788d62ee057: Download complete [2020-04-14T21:16:02.206Z] e6b0cf9c0882: Pull complete [Pipeline] echo [2020-04-14T21:16:02.785Z] ========================================================= [2020-04-14T21:16:02.785Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-14T21:16:02.785Z] ========================================================= [2020-04-14T21:16:02.786Z] 2848faf0eed1: Pull complete [2020-04-14T21:16:02.786Z] 0f37312ad70f: Pull complete [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:16:03.937Z] + 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-04-14T21:16:05.361Z] Sending build context to Docker daemon 36.7MB [2020-04-14T21:16:05.361Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-14T21:16:05.361Z] Step 2/8 : FROM ${BASE} [2020-04-14T21:16:05.361Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-14T21:16:05.361Z] cde5963f3b93: Pulling fs layer [2020-04-14T21:16:05.361Z] 2a23fa8c16f7: Pulling fs layer [2020-04-14T21:16:05.361Z] 777b28850792: Pulling fs layer [2020-04-14T21:16:05.361Z] 8a11ddd9e578: Pulling fs layer [2020-04-14T21:16:05.361Z] 4cf88f913ddb: Pulling fs layer [2020-04-14T21:16:05.361Z] 1df406cf5192: Pulling fs layer [2020-04-14T21:16:05.361Z] cd6300453558: Pulling fs layer [2020-04-14T21:16:05.361Z] b9c365052c96: Pulling fs layer [2020-04-14T21:16:05.361Z] a2d8cc88f415: Pulling fs layer [2020-04-14T21:16:05.361Z] ea1d1ca13537: Pulling fs layer [2020-04-14T21:16:05.361Z] 3750a50a1c5e: Pulling fs layer [2020-04-14T21:16:05.361Z] 8a11ddd9e578: Waiting [2020-04-14T21:16:05.361Z] 4cf88f913ddb: Waiting [2020-04-14T21:16:05.361Z] 1df406cf5192: Waiting [2020-04-14T21:16:05.361Z] cd6300453558: Waiting [2020-04-14T21:16:05.361Z] b9c365052c96: Waiting [2020-04-14T21:16:05.361Z] a2d8cc88f415: Waiting [2020-04-14T21:16:05.361Z] 3750a50a1c5e: Waiting [2020-04-14T21:16:05.361Z] ea1d1ca13537: Waiting [2020-04-14T21:16:05.361Z] 777b28850792: Download complete [2020-04-14T21:16:05.631Z] 2a23fa8c16f7: Verifying Checksum [2020-04-14T21:16:05.631Z] 2a23fa8c16f7: Download complete [2020-04-14T21:16:05.631Z] 4cf88f913ddb: Verifying Checksum [2020-04-14T21:16:05.631Z] 4cf88f913ddb: Download complete [2020-04-14T21:16:05.631Z] 1df406cf5192: Verifying Checksum [2020-04-14T21:16:05.631Z] 1df406cf5192: Download complete [2020-04-14T21:16:05.631Z] cde5963f3b93: Download complete [2020-04-14T21:16:06.596Z] cde5963f3b93: Pull complete [2020-04-14T21:16:07.186Z] 2a23fa8c16f7: Pull complete [2020-04-14T21:16:07.789Z] 777b28850792: Pull complete [2020-04-14T21:16:08.075Z] 5788d62ee057: Pull complete [2020-04-14T21:16:08.337Z] 0e6b1d234666: Pull complete [2020-04-14T21:16:08.337Z] bf5d7aec512f: Pull complete [2020-04-14T21:16:09.747Z] cd6300453558: Verifying Checksum [2020-04-14T21:16:09.748Z] cd6300453558: Download complete [2020-04-14T21:16:09.748Z] a2d8cc88f415: Verifying Checksum [2020-04-14T21:16:09.748Z] a2d8cc88f415: Download complete [2020-04-14T21:16:12.344Z] ea1d1ca13537: Verifying Checksum [2020-04-14T21:16:12.344Z] ea1d1ca13537: Download complete [2020-04-14T21:16:12.344Z] 3750a50a1c5e: Verifying Checksum [2020-04-14T21:16:12.344Z] 3750a50a1c5e: Download complete [2020-04-14T21:16:15.699Z] b9c365052c96: Verifying Checksum [2020-04-14T21:16:15.699Z] b9c365052c96: Download complete [2020-04-14T21:16:16.469Z] 34c802a77dc8: Pull complete [2020-04-14T21:16:17.110Z] 8a11ddd9e578: Verifying Checksum [2020-04-14T21:16:17.110Z] 8a11ddd9e578: Download complete [2020-04-14T21:16:19.018Z] 9eb99e56ec68: Pull complete [2020-04-14T21:16:19.018Z] 27c7a5d97fbd: Pull complete [2020-04-14T21:16:19.961Z] 5c102a31e300: Pull complete [2020-04-14T21:16:19.961Z] dcfb455df0a1: Pull complete [2020-04-14T21:16:19.961Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-14T21:16:19.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-14T21:16:19.961Z] ---> 7c70fe431013 [2020-04-14T21:16:19.961Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-04-14T21:16:20.221Z] latest: Pulling from library/docker [2020-04-14T21:16:20.481Z] aad63a933944: Pulling fs layer [2020-04-14T21:16:20.481Z] 69846a6807b3: Pulling fs layer [2020-04-14T21:16:20.481Z] 5517540127c6: Pulling fs layer [2020-04-14T21:16:20.481Z] da4bc653673c: Pulling fs layer [2020-04-14T21:16:20.481Z] 7d6a82484b25: Pulling fs layer [2020-04-14T21:16:20.481Z] 98d7178a08bc: Pulling fs layer [2020-04-14T21:16:20.481Z] 06fedb666dd1: Pulling fs layer [2020-04-14T21:16:20.481Z] 7d6a82484b25: Waiting [2020-04-14T21:16:20.481Z] da4bc653673c: Waiting [2020-04-14T21:16:20.481Z] 06fedb666dd1: Waiting [2020-04-14T21:16:20.481Z] 98d7178a08bc: Waiting [2020-04-14T21:16:20.481Z] 5517540127c6: Download complete [2020-04-14T21:16:20.481Z] 69846a6807b3: Download complete [2020-04-14T21:16:20.740Z] aad63a933944: Verifying Checksum [2020-04-14T21:16:20.740Z] aad63a933944: Download complete [2020-04-14T21:16:20.740Z] 7d6a82484b25: Verifying Checksum [2020-04-14T21:16:20.740Z] 7d6a82484b25: Download complete [2020-04-14T21:16:20.740Z] 98d7178a08bc: Verifying Checksum [2020-04-14T21:16:20.740Z] 98d7178a08bc: Download complete [2020-04-14T21:16:20.740Z] 06fedb666dd1: Verifying Checksum [2020-04-14T21:16:20.740Z] 06fedb666dd1: Download complete [2020-04-14T21:16:21.313Z] da4bc653673c: Verifying Checksum [2020-04-14T21:16:21.313Z] da4bc653673c: Download complete [2020-04-14T21:16:21.886Z] aad63a933944: Pull complete [2020-04-14T21:16:22.456Z] 69846a6807b3: Pull complete [2020-04-14T21:16:22.456Z] 5517540127c6: Pull complete [2020-04-14T21:16:24.997Z] da4bc653673c: Pull complete [2020-04-14T21:16:24.997Z] 7d6a82484b25: Pull complete [2020-04-14T21:16:25.256Z] 98d7178a08bc: Pull complete [2020-04-14T21:16:25.256Z] 06fedb666dd1: Pull complete [2020-04-14T21:16:25.256Z] Digest: sha256:afea2876df8334e5430d2427cfd37b39be2ee497db76d3651b2b14d97de4b562 [2020-04-14T21:16:25.256Z] Status: Downloaded newer image for docker:latest [2020-04-14T21:16:26.639Z] ---> a184723193e0 [2020-04-14T21:16:26.639Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-14T21:16:26.639Z] ---> Running in a5f20ca60497 [2020-04-14T21:16:26.899Z] Removing intermediate container a5f20ca60497 [2020-04-14T21:16:26.899Z] ---> 3dba8f330dbc [2020-04-14T21:16:26.899Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-04-14T21:16:26.899Z] ---> Running in 2aa10517f6df [2020-04-14T21:16:27.469Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-14T21:16:28.406Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-14T21:16:28.665Z] (1/5) Installing libsodium (1.0.18-r0) [2020-04-14T21:16:28.665Z] (2/5) Installing libzmq (4.3.2-r0) [2020-04-14T21:16:28.665Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-04-14T21:16:28.925Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-04-14T21:16:28.925Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-04-14T21:16:29.185Z] Executing busybox-1.31.1-r8.trigger [2020-04-14T21:16:29.185Z] OK: 145 MiB in 44 packages [2020-04-14T21:16:29.444Z] Removing intermediate container 2aa10517f6df [2020-04-14T21:16:29.444Z] ---> e567fc80ccb0 [2020-04-14T21:16:29.444Z] Step 6/8 : WORKDIR /build [2020-04-14T21:16:29.444Z] ---> Running in e8f385c6d9e3 [2020-04-14T21:16:29.459Z] 8a11ddd9e578: Pull complete [2020-04-14T21:16:29.459Z] 4cf88f913ddb: Pull complete [2020-04-14T21:16:29.459Z] 1df406cf5192: Pull complete [2020-04-14T21:16:29.705Z] Removing intermediate container e8f385c6d9e3 [2020-04-14T21:16:29.706Z] ---> c8c282196ea5 [2020-04-14T21:16:29.706Z] Step 7/8 : COPY go.mod . [2020-04-14T21:16:29.965Z] ---> bff7eda22b3a [2020-04-14T21:16:29.965Z] Step 8/8 : RUN go mod download [2020-04-14T21:16:29.965Z] ---> Running in 09253a832632 [2020-04-14T21:16:31.871Z] go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-04-14T21:16:31.871Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-14T21:16:31.871Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-14T21:16:31.871Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-14T21:16:31.871Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-14T21:16:31.871Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-14T21:16:31.871Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-14T21:16:31.871Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-14T21:16:31.871Z] go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2020-04-14T21:16:31.871Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-04-14T21:16:31.871Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 [2020-04-14T21:16:31.871Z] go: finding github.com/edgexfoundry/go-mod-messaging v0.1.16 [2020-04-14T21:16:31.871Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.11 [2020-04-14T21:16:31.871Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-14T21:16:31.871Z] go: finding github.com/fatih/color v1.7.0 [2020-04-14T21:16:31.871Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-14T21:16:31.871Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-14T21:16:31.871Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-14T21:16:31.871Z] go: finding github.com/golang/snappy v0.0.1 [2020-04-14T21:16:31.871Z] go: finding github.com/gomodule/redigo v2.0.0+incompatible [2020-04-14T21:16:31.871Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-14T21:16:31.871Z] go: finding github.com/google/go-cmp v0.3.1 [2020-04-14T21:16:31.871Z] go: finding github.com/google/uuid v1.1.0 [2020-04-14T21:16:31.871Z] go: finding github.com/gorilla/mux v1.7.2 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-14T21:16:31.871Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-14T21:16:31.871Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-14T21:16:31.871Z] go: finding github.com/kr/pretty v0.2.0 [2020-04-14T21:16:31.871Z] go: finding github.com/kr/pty v1.1.1 [2020-04-14T21:16:31.871Z] go: finding github.com/kr/text v0.1.0 [2020-04-14T21:16:31.871Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-14T21:16:31.871Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-14T21:16:31.871Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-14T21:16:32.132Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-14T21:16:32.132Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-14T21:16:32.132Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-14T21:16:32.132Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-14T21:16:32.132Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-14T21:16:32.132Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-14T21:16:32.132Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-14T21:16:32.133Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-14T21:16:32.133Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-14T21:16:32.133Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-14T21:16:32.133Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-04-14T21:16:32.133Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-14T21:16:32.133Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-14T21:16:32.133Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T21:16:32.133Z] go: finding github.com/posener/complete v1.1.1 [2020-04-14T21:16:32.133Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-14T21:16:32.133Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-14T21:16:32.133Z] go: finding github.com/stretchr/objx v0.2.0 [2020-04-14T21:16:32.133Z] go: finding github.com/stretchr/testify v1.4.0 [2020-04-14T21:16:32.133Z] go: finding github.com/tidwall/pretty v1.0.0 [2020-04-14T21:16:32.133Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-14T21:16:32.133Z] go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c [2020-04-14T21:16:32.133Z] go: finding github.com/xdg/stringprep v1.0.0 [2020-04-14T21:16:32.133Z] go: finding go.mongodb.org/mongo-driver v1.1.1 [2020-04-14T21:16:32.133Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-04-14T21:16:32.133Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-04-14T21:16:32.133Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-14T21:16:32.133Z] go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a [2020-04-14T21:16:32.133Z] go: finding golang.org/x/text v0.3.2 [2020-04-14T21:16:32.133Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-04-14T21:16:32.133Z] go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2020-04-14T21:16:32.133Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-14T21:16:33.745Z] cd6300453558: Pull complete [2020-04-14T21:16:38.028Z] b9c365052c96: Pull complete [2020-04-14T21:16:38.296Z] a2d8cc88f415: Pull complete [2020-04-14T21:16:40.253Z] ea1d1ca13537: Pull complete [2020-04-14T21:16:40.524Z] 3750a50a1c5e: Pull complete [2020-04-14T21:16:40.524Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-14T21:16:40.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-14T21:16:40.524Z] ---> 78745c68409d [2020-04-14T21:16:40.524Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-04-14T21:16:40.792Z] latest: Pulling from library/docker [2020-04-14T21:16:41.060Z] 8a0637ca1ac9: Pulling fs layer [2020-04-14T21:16:41.060Z] 4726da4a2734: Pulling fs layer [2020-04-14T21:16:41.060Z] 73e3cb2b3a46: Pulling fs layer [2020-04-14T21:16:41.060Z] af8135161ac3: Pulling fs layer [2020-04-14T21:16:41.060Z] 8938096eeda7: Pulling fs layer [2020-04-14T21:16:41.060Z] 648c0e7fc3a8: Pulling fs layer [2020-04-14T21:16:41.060Z] fe85cdb0d7dc: Pulling fs layer [2020-04-14T21:16:41.060Z] 8938096eeda7: Waiting [2020-04-14T21:16:41.060Z] 648c0e7fc3a8: Waiting [2020-04-14T21:16:41.060Z] fe85cdb0d7dc: Waiting [2020-04-14T21:16:41.061Z] af8135161ac3: Waiting [2020-04-14T21:16:41.061Z] 73e3cb2b3a46: Verifying Checksum [2020-04-14T21:16:41.061Z] 73e3cb2b3a46: Download complete [2020-04-14T21:16:41.331Z] 4726da4a2734: Verifying Checksum [2020-04-14T21:16:41.331Z] 4726da4a2734: Download complete [2020-04-14T21:16:41.331Z] 8a0637ca1ac9: Verifying Checksum [2020-04-14T21:16:41.331Z] 8a0637ca1ac9: Download complete [2020-04-14T21:16:41.603Z] 8938096eeda7: Verifying Checksum [2020-04-14T21:16:41.603Z] 8938096eeda7: Download complete [2020-04-14T21:16:41.603Z] 648c0e7fc3a8: Download complete [2020-04-14T21:16:41.603Z] fe85cdb0d7dc: Verifying Checksum [2020-04-14T21:16:41.603Z] fe85cdb0d7dc: Download complete [2020-04-14T21:16:42.165Z] Removing intermediate container 09253a832632 [2020-04-14T21:16:42.165Z] ---> f8b54d649630 [2020-04-14T21:16:42.165Z] Successfully built f8b54d649630 [2020-04-14T21:16:42.165Z] Successfully tagged ci-base-image-x86_64:latest [2020-04-14T21:16:42.191Z] 8a0637ca1ac9: Pull complete [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:16:42.736Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-14T21:16:42.736Z] . [Pipeline] withDockerContainer [2020-04-14T21:16:42.792Z] 4726da4a2734: Pull complete [2020-04-14T21:16:42.879Z] prd-centos7-docker-4c-2g-3883 does not seem to be running inside a container [2020-04-14T21:16:42.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-14T21:16:43.061Z] 73e3cb2b3a46: Pull complete [2020-04-14T21:16:43.626Z] $ docker top 9e834041cd96f4ede9280150bfdf9b0e811cf1c59c86ddd2ac138c1092a5b0b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T21:16:44.826Z] + go version [2020-04-14T21:16:45.396Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-14T21:16:45.754Z] + make test [2020-04-14T21:16:45.754Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-04-14T21:16:47.141Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-04-14T21:16:47.322Z] af8135161ac3: Verifying Checksum [2020-04-14T21:16:47.322Z] af8135161ac3: Download complete [2020-04-14T21:16:49.919Z] af8135161ac3: Pull complete [2020-04-14T21:16:50.188Z] 8938096eeda7: Pull complete [2020-04-14T21:16:50.469Z] 648c0e7fc3a8: Pull complete [2020-04-14T21:16:50.739Z] fe85cdb0d7dc: Pull complete [2020-04-14T21:16:50.739Z] Digest: sha256:afea2876df8334e5430d2427cfd37b39be2ee497db76d3651b2b14d97de4b562 [2020-04-14T21:16:50.739Z] Status: Downloaded newer image for docker:latest [2020-04-14T21:16:58.971Z] ---> fea383fe856e [2020-04-14T21:16:58.971Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-14T21:16:58.971Z] ---> Running in 34c3c486d080 [2020-04-14T21:16:58.971Z] Removing intermediate container 34c3c486d080 [2020-04-14T21:16:58.971Z] ---> c99e97f5238f [2020-04-14T21:16:58.971Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-04-14T21:16:58.971Z] ---> Running in faf1e0757062 [2020-04-14T21:16:59.463Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.103s coverage: 88.9% of statements [2020-04-14T21:16:59.937Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-14T21:17:00.898Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-14T21:17:01.483Z] (1/5) Installing libsodium (1.0.18-r0) [2020-04-14T21:17:01.483Z] (2/5) Installing libzmq (4.3.2-r0) [2020-04-14T21:17:01.483Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-04-14T21:17:01.752Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-04-14T21:17:01.752Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-04-14T21:17:01.752Z] Executing busybox-1.31.1-r8.trigger [2020-04-14T21:17:02.022Z] OK: 127 MiB in 44 packages [2020-04-14T21:17:03.439Z] Removing intermediate container faf1e0757062 [2020-04-14T21:17:03.439Z] ---> aee5b35bb714 [2020-04-14T21:17:03.439Z] Step 6/8 : WORKDIR /build [2020-04-14T21:17:03.439Z] ---> Running in 9b510251fd56 [2020-04-14T21:17:03.706Z] Removing intermediate container 9b510251fd56 [2020-04-14T21:17:03.706Z] ---> cbd168d4f18c [2020-04-14T21:17:03.706Z] Step 7/8 : COPY go.mod . [2020-04-14T21:17:04.299Z] ---> fd62c4475263 [2020-04-14T21:17:04.299Z] Step 8/8 : RUN go mod download [2020-04-14T21:17:04.299Z] ---> Running in 9371d96587b5 [2020-04-14T21:17:06.257Z] go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-04-14T21:17:06.257Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-14T21:17:06.257Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-14T21:17:06.257Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-14T21:17:06.257Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-14T21:17:06.257Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-14T21:17:06.257Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-14T21:17:06.257Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-14T21:17:06.257Z] go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2020-04-14T21:17:06.257Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-04-14T21:17:06.257Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 [2020-04-14T21:17:06.257Z] go: finding github.com/edgexfoundry/go-mod-messaging v0.1.16 [2020-04-14T21:17:06.257Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.11 [2020-04-14T21:17:06.257Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-14T21:17:06.257Z] go: finding github.com/fatih/color v1.7.0 [2020-04-14T21:17:06.257Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-14T21:17:06.257Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-14T21:17:06.257Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-14T21:17:06.257Z] go: finding github.com/golang/snappy v0.0.1 [2020-04-14T21:17:06.257Z] go: finding github.com/gomodule/redigo v2.0.0+incompatible [2020-04-14T21:17:06.257Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-14T21:17:06.257Z] go: finding github.com/google/go-cmp v0.3.1 [2020-04-14T21:17:06.257Z] go: finding github.com/google/uuid v1.1.0 [2020-04-14T21:17:06.527Z] go: finding github.com/gorilla/mux v1.7.2 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-14T21:17:06.527Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-14T21:17:06.527Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-14T21:17:06.527Z] go: finding github.com/kr/pretty v0.2.0 [2020-04-14T21:17:06.527Z] go: finding github.com/kr/pty v1.1.1 [2020-04-14T21:17:06.527Z] go: finding github.com/kr/text v0.1.0 [2020-04-14T21:17:06.527Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-14T21:17:06.527Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-14T21:17:06.794Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-14T21:17:06.794Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-14T21:17:06.794Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-14T21:17:06.794Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-14T21:17:06.794Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-14T21:17:06.794Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-14T21:17:06.794Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-14T21:17:06.794Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-14T21:17:06.794Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-14T21:17:06.794Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-14T21:17:06.794Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-14T21:17:06.794Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-04-14T21:17:06.794Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-14T21:17:06.794Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-14T21:17:06.794Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T21:17:06.794Z] go: finding github.com/posener/complete v1.1.1 [2020-04-14T21:17:06.794Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-14T21:17:06.794Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-14T21:17:06.794Z] go: finding github.com/stretchr/objx v0.2.0 [2020-04-14T21:17:06.794Z] go: finding github.com/stretchr/testify v1.4.0 [2020-04-14T21:17:06.794Z] go: finding github.com/tidwall/pretty v1.0.0 [2020-04-14T21:17:06.794Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-14T21:17:06.794Z] go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c [2020-04-14T21:17:06.794Z] go: finding github.com/xdg/stringprep v1.0.0 [2020-04-14T21:17:06.794Z] go: finding go.mongodb.org/mongo-driver v1.1.1 [2020-04-14T21:17:06.794Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-04-14T21:17:06.794Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-04-14T21:17:07.065Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-14T21:17:07.065Z] go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a [2020-04-14T21:17:07.065Z] go: finding golang.org/x/text v0.3.2 [2020-04-14T21:17:07.065Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-04-14T21:17:07.065Z] go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2020-04-14T21:17:07.065Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-14T21:17:09.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.246s coverage: 41.7% of statements [2020-04-14T21:17:09.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-04-14T21:17:09.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-04-14T21:17:09.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/config 0.013s coverage: 100.0% of statements [2020-04-14T21:17:09.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.396s coverage: 69.3% of statements [2020-04-14T21:17:13.731Z] # github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms [github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.test] [2020-04-14T21:17:13.731Z] pkg/transforms/mqttsecret_test.go:178:20: mockSecretProvider.SecretClient undefined (type *security.SecretProvider has no field or method SecretClient) [2020-04-14T21:17:13.731Z] pkg/transforms/mqttsecret_test.go:373:20: mockSecretProvider.SecretClient undefined (type *security.SecretProvider has no field or method SecretClient) [2020-04-14T21:17:16.263Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 7.619s coverage: 74.6% of statements [2020-04-14T21:17:16.263Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements [2020-04-14T21:17:16.264Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-04-14T21:17:17.640Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.092s coverage: 100.0% of statements [2020-04-14T21:17:17.640Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.010s coverage: 100.0% of statements [2020-04-14T21:17:17.640Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-04-14T21:17:17.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-04-14T21:17:17.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-04-14T21:17:17.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-04-14T21:17:17.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-04-14T21:17:17.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-04-14T21:17:17.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-04-14T21:17:17.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-04-14T21:17:17.640Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-04-14T21:17:17.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-04-14T21:17:17.640Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-04-14T21:17:17.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-04-14T21:17:17.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-04-14T21:17:17.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [no test files] [2020-04-14T21:17:20.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.116s coverage: 84.8% of statements [2020-04-14T21:17:20.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.063s coverage: 81.1% of statements [2020-04-14T21:17:20.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/pkg/endpoint [no test files] [2020-04-14T21:17:20.179Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms [build failed] [2020-04-14T21:17:20.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/pkg/urlclient [no test files] [2020-04-14T21:17:20.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.009s coverage: 100.0% of statements [2020-04-14T21:17:20.179Z] FAIL [2020-04-14T21:17:20.179Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-04-14T21:17:20.195Z] $ docker stop --time=1 9e834041cd96f4ede9280150bfdf9b0e811cf1c59c86ddd2ac138c1092a5b0b7 [2020-04-14T21:17:21.785Z] $ docker rm -f 9e834041cd96f4ede9280150bfdf9b0e811cf1c59c86ddd2ac138c1092a5b0b7 [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-04-14T21:17:23.166Z] Failed in branch amd64 [2020-04-14T21:17:25.291Z] Removing intermediate container 9371d96587b5 [2020-04-14T21:17:25.291Z] ---> 4ad9759cfe17 [2020-04-14T21:17:25.291Z] Successfully built 4ad9759cfe17 [2020-04-14T21:17:25.291Z] 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-04-14T21:17:25.984Z] + docker inspect -f . ci-base-image-arm64 [2020-04-14T21:17:25.984Z] . [Pipeline] withDockerContainer [2020-04-14T21:17:26.621Z] prd-ubuntu18.04-docker-arm64-4c-16g-3882 does not seem to be running inside a container [2020-04-14T21:17:26.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-14T21:17:28.220Z] $ docker top 3743aea7297ed368b0af73c36de346588d350ef5bb45c2595dc0600a7d8dc93d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T21:17:29.390Z] + go version [2020-04-14T21:17:29.390Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-14T21:17:30.087Z] + make test [2020-04-14T21:17:30.087Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-04-14T21:17:32.045Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-04-14T21:18:18.955Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.116s coverage: 88.9% of statements [2020-04-14T21:18:34.002Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.580s coverage: 41.7% of statements [2020-04-14T21:18:34.002Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-04-14T21:18:34.002Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-04-14T21:18:34.002Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/config 0.024s coverage: 100.0% of statements [2020-04-14T21:18:34.002Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.459s coverage: 69.3% of statements [2020-04-14T21:18:40.687Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 7.531s coverage: 74.6% of statements [2020-04-14T21:18:40.687Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.020s coverage: 89.5% of statements [2020-04-14T21:18:40.687Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.018s coverage: 100.0% of statements [2020-04-14T21:18:42.649Z] # github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms [github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.test] [2020-04-14T21:18:42.649Z] pkg/transforms/mqttsecret_test.go:178:20: mockSecretProvider.SecretClient undefined (type *security.SecretProvider has no field or method SecretClient) [2020-04-14T21:18:42.649Z] pkg/transforms/mqttsecret_test.go:373:20: mockSecretProvider.SecretClient undefined (type *security.SecretProvider has no field or method SecretClient) [2020-04-14T21:18:45.254Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.125s coverage: 100.0% of statements [2020-04-14T21:18:45.254Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.022s coverage: 100.0% of statements [2020-04-14T21:18:45.254Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.019s coverage: 100.0% of statements [2020-04-14T21:18:45.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-04-14T21:18:45.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-04-14T21:18:45.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-04-14T21:18:45.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-04-14T21:18:45.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-04-14T21:18:45.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-04-14T21:18:45.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-04-14T21:18:45.254Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.023s coverage: 96.6% of statements [2020-04-14T21:18:45.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-04-14T21:18:45.254Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.017s coverage: 97.7% of statements [2020-04-14T21:18:45.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-04-14T21:18:45.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-04-14T21:18:45.254Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [no test files] [2020-04-14T21:18:55.343Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.751s coverage: 84.8% of statements [2020-04-14T21:18:55.343Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.099s coverage: 81.1% of statements [2020-04-14T21:18:55.343Z] ? github.com/edgexfoundry/app-functions-sdk-go/pkg/endpoint [no test files] [2020-04-14T21:18:55.343Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms [build failed] [2020-04-14T21:18:55.343Z] ? github.com/edgexfoundry/app-functions-sdk-go/pkg/urlclient [no test files] [2020-04-14T21:18:55.343Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.025s coverage: 100.0% of statements [2020-04-14T21:18:55.343Z] FAIL [2020-04-14T21:18:55.343Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-04-14T21:18:55.363Z] $ docker stop --time=1 3743aea7297ed368b0af73c36de346588d350ef5bb45c2595dc0600a7d8dc93d [2020-04-14T21:18:57.578Z] $ docker rm -f 3743aea7297ed368b0af73c36de346588d350ef5bb45c2595dc0600a7d8dc93d [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-04-14T21:18:58.968Z] 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-04-14T21:19:00.087Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T21:19:00.390Z] ---> package-listing.sh [2020-04-14T21:19:00.390Z] ++ facter osfamily [2020-04-14T21:19:00.390Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-14T21:19:00.390Z] + OS_FAMILY=redhat [2020-04-14T21:19:00.390Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-314 [2020-04-14T21:19:00.390Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-14T21:19:00.390Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-14T21:19:00.390Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-14T21:19:00.390Z] + PACKAGES=/tmp/packages_start.txt [2020-04-14T21:19:00.390Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-314 ']' [2020-04-14T21:19:00.390Z] + PACKAGES=/tmp/packages_end.txt [2020-04-14T21:19:00.390Z] + case "${OS_FAMILY}" in [2020-04-14T21:19:00.390Z] + rpm -qa [2020-04-14T21:19:00.390Z] + sort [2020-04-14T21:19:04.587Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-14T21:19:04.587Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-14T21:19:04.587Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-14T21:19:04.587Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-314 ']' [2020-04-14T21:19:04.587Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-314/archives/ [2020-04-14T21:19:04.587Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-314/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:19:05.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T21:19:05.043Z] [2020-04-14T21:19:05.043Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:19:05.366Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T21:19:05.367Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-14T21:19:05.367Z] c9b1b535fdd9: Pulling fs layer [2020-04-14T21:19:05.367Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-14T21:19:05.367Z] 756a868c4378: Pulling fs layer [2020-04-14T21:19:05.367Z] 444b2fc9a129: Pulling fs layer [2020-04-14T21:19:05.367Z] ea15f1150254: Pulling fs layer [2020-04-14T21:19:05.367Z] 41b27a9f41bf: Pulling fs layer [2020-04-14T21:19:05.367Z] 28c525ee5125: Pulling fs layer [2020-04-14T21:19:05.367Z] 094b1ea09ed8: Pulling fs layer [2020-04-14T21:19:05.367Z] 138eaada9080: Pulling fs layer [2020-04-14T21:19:05.367Z] 0622d0fa9048: Pulling fs layer [2020-04-14T21:19:05.367Z] 444b2fc9a129: Waiting [2020-04-14T21:19:05.367Z] ea15f1150254: Waiting [2020-04-14T21:19:05.367Z] 41b27a9f41bf: Waiting [2020-04-14T21:19:05.367Z] 28c525ee5125: Waiting [2020-04-14T21:19:05.367Z] 094b1ea09ed8: Waiting [2020-04-14T21:19:05.367Z] 138eaada9080: Waiting [2020-04-14T21:19:05.367Z] 0622d0fa9048: Waiting [2020-04-14T21:19:05.367Z] 2cc5ad85d9ab: Download complete [2020-04-14T21:19:05.367Z] 444b2fc9a129: Verifying Checksum [2020-04-14T21:19:05.367Z] 444b2fc9a129: Download complete [2020-04-14T21:19:05.367Z] c9b1b535fdd9: Verifying Checksum [2020-04-14T21:19:05.367Z] c9b1b535fdd9: Download complete [2020-04-14T21:19:05.367Z] ea15f1150254: Verifying Checksum [2020-04-14T21:19:05.367Z] ea15f1150254: Download complete [2020-04-14T21:19:05.633Z] 28c525ee5125: Download complete [2020-04-14T21:19:05.895Z] c9b1b535fdd9: Pull complete [2020-04-14T21:19:05.895Z] 756a868c4378: Verifying Checksum [2020-04-14T21:19:05.895Z] 756a868c4378: Download complete [2020-04-14T21:19:05.895Z] 138eaada9080: Verifying Checksum [2020-04-14T21:19:05.895Z] 138eaada9080: Download complete [2020-04-14T21:19:05.895Z] 0622d0fa9048: Verifying Checksum [2020-04-14T21:19:05.895Z] 0622d0fa9048: Download complete [2020-04-14T21:19:05.895Z] 2cc5ad85d9ab: Pull complete [2020-04-14T21:19:06.172Z] 094b1ea09ed8: Verifying Checksum [2020-04-14T21:19:06.173Z] 094b1ea09ed8: Download complete [2020-04-14T21:19:06.747Z] 41b27a9f41bf: Verifying Checksum [2020-04-14T21:19:06.747Z] 41b27a9f41bf: Download complete [2020-04-14T21:19:07.700Z] 756a868c4378: Pull complete [2020-04-14T21:19:07.700Z] 444b2fc9a129: Pull complete [2020-04-14T21:19:07.962Z] ea15f1150254: Pull complete [2020-04-14T21:19:11.257Z] 41b27a9f41bf: Pull complete [2020-04-14T21:19:11.517Z] 28c525ee5125: Pull complete [2020-04-14T21:19:14.055Z] 094b1ea09ed8: Pull complete [2020-04-14T21:19:14.055Z] 138eaada9080: Pull complete [2020-04-14T21:19:14.055Z] 0622d0fa9048: Pull complete [2020-04-14T21:19:14.055Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-14T21:19:14.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-14T21:19:14.231Z] prd-centos7-docker-4c-2g-3881 does not seem to be running inside a container [2020-04-14T21:19:14.282Z] $ 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-314 -v /w/workspace/ndry_app-functions-sdk-go_PR-314:/w/workspace/ndry_app-functions-sdk-go_PR-314:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-314@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-14T21:19:15.109Z] $ docker top 25f7489389abfdbb81512eaedcd0e274448eeeddffadc5287e95affe1a7e509c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-14T21:19:15.384Z] provisioning config files... [2020-04-14T21:19:15.405Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-314@tmp/config528014577922266514tmp [Pipeline] { [Pipeline] echo [2020-04-14T21:19:15.468Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T21:19:15.762Z] ---> create-netrc.sh [Pipeline] echo [2020-04-14T21:19:15.770Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T21:19:16.061Z] ---> logs-deploy.sh [2020-04-14T21:19:16.061Z] + ARCHIVE_ARTIFACTS= [2020-04-14T21:19:16.061Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-14T21:19:16.061Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-14T21:19:16.061Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-14T21:19:16.061Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-314/15 [2020-04-14T21:19:16.061Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-functions-sdk-go/job/PR-314/15/ [2020-04-14T21:19:16.061Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-314/15 /w/workspace/ndry_app-functions-sdk-go_PR-314 [2020-04-14T21:19:17.441Z] Archives upload complete. [2020-04-14T21:19:17.441Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-314/15 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-functions-sdk-go/job/PR-314/15/