Pull request #302 reopened 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 jbonafide623 for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch master at a9aa5ae1aca91f1766fcadb064a896df2a66ab18 rather than efae16b6f1c10d8e2774821ab64b1ec26dd5459a Obtained Jenkinsfile from a9aa5ae1aca91f1766fcadb064a896df2a66ab18 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision b810438aec07f555226556e3b59abf2bab733840 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project: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 ‘prd-centos7-docker-4c-2g-563’ is offline Running on prd-centos7-docker-4c-2g-10367 in /w/workspace/ndry_app-functions-sdk-go_PR-302 [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-302 # 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/302/head:refs/remotes/origin/PR-302 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/302/head:refs/remotes/origin/PR-302 # 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/302/head:refs/remotes/origin/PR-302 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a9aa5ae1aca91f1766fcadb064a896df2a66ab18 into PR head commit efae16b6f1c10d8e2774821ab64b1ec26dd5459a Merge succeeded, producing efae16b6f1c10d8e2774821ab64b1ec26dd5459a Checking out Revision efae16b6f1c10d8e2774821ab64b1ec26dd5459a (PR-302) > git config core.sparsecheckout # timeout=10 > git checkout -f efae16b6f1c10d8e2774821ab64b1ec26dd5459a # 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 a9aa5ae1aca91f1766fcadb064a896df2a66ab18 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f efae16b6f1c10d8e2774821ab64b1ec26dd5459a # timeout=10 Commit message: "Modified flow to support expansion w/r/t messagebus trigger implementations" > git rev-list --no-walk efae16b6f1c10d8e2774821ab64b1ec26dd5459a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-10T17:08:07.829Z] 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-03-10T17:08:09.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-10T17:08:09.906Z] [2020-03-10T17:08:09.906Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-10T17:08:10.265Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-10T17:08:10.265Z] latest: Pulling from edgex-devops/git-semver [2020-03-10T17:08:10.265Z] 9123ac7c32f7: Pulling fs layer [2020-03-10T17:08:10.265Z] b8cc5d1170e3: Pulling fs layer [2020-03-10T17:08:10.265Z] 2924cbbf6a41: Pulling fs layer [2020-03-10T17:08:10.265Z] 93b08a4f1073: Pulling fs layer [2020-03-10T17:08:10.265Z] 93b08a4f1073: Waiting [2020-03-10T17:08:10.265Z] b8cc5d1170e3: Verifying Checksum [2020-03-10T17:08:10.265Z] b8cc5d1170e3: Download complete [2020-03-10T17:08:10.526Z] 9123ac7c32f7: Verifying Checksum [2020-03-10T17:08:10.526Z] 9123ac7c32f7: Download complete [2020-03-10T17:08:10.526Z] 93b08a4f1073: Verifying Checksum [2020-03-10T17:08:10.526Z] 93b08a4f1073: Download complete [2020-03-10T17:08:10.526Z] 2924cbbf6a41: Verifying Checksum [2020-03-10T17:08:10.526Z] 2924cbbf6a41: Download complete [2020-03-10T17:08:10.785Z] 9123ac7c32f7: Pull complete [2020-03-10T17:08:10.785Z] b8cc5d1170e3: Pull complete [2020-03-10T17:08:11.743Z] 2924cbbf6a41: Pull complete [2020-03-10T17:08:12.004Z] 93b08a4f1073: Pull complete [2020-03-10T17:08:12.004Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-10T17:08:12.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-10T17:08:12.152Z] prd-centos7-docker-4c-2g-10367 does not seem to be running inside a container [2020-03-10T17:08:12.224Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-302 -v /w/workspace/ndry_app-functions-sdk-go_PR-302:/w/workspace/ndry_app-functions-sdk-go_PR-302:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-302@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-302@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-03-10T17:08:12.856Z] $ docker top 3dbf6f75e16ddc810150474e908c2ea4b606305d3a56b1b36ef8f05e44ce14ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-10T17:08:13.640Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-10T17:08:13.640Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-10T17:08:13.875Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-10T17:08:13.883Z] $ docker exec 3dbf6f75e16ddc810150474e908c2ea4b606305d3a56b1b36ef8f05e44ce14ca ssh-agent [2020-03-10T17:08:14.078Z] SSH_AUTH_SOCK=/tmp/ssh-0ttKEop5BMQ8/agent.15 [2020-03-10T17:08:14.078Z] SSH_AGENT_PID=21 [2020-03-10T17:08:14.088Z] Running ssh-add (command line suppressed) [2020-03-10T17:08:14.257Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-302@tmp/private_key_276017765145147161.key (/w/workspace/ndry_app-functions-sdk-go_PR-302@tmp/private_key_276017765145147161.key) [2020-03-10T17:08:14.301Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-10T17:08:14.625Z] + git describe --exact-match --tags HEAD [2020-03-10T17:08:14.625Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-10T17:08:14.687Z] $ docker exec --env ******** --env ******** 3dbf6f75e16ddc810150474e908c2ea4b606305d3a56b1b36ef8f05e44ce14ca ssh-agent -k [2020-03-10T17:08:14.837Z] unset SSH_AUTH_SOCK; [2020-03-10T17:08:14.837Z] unset SSH_AGENT_PID; [2020-03-10T17:08:14.837Z] echo Agent pid 21 killed; [2020-03-10T17:08:14.884Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-10T17:08:14.954Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-10T17:08:14.954Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-10T17:08:15.034Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-10T17:08:15.034Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-10T17:08:15.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-10T17:08:15.270Z] $ docker exec 3dbf6f75e16ddc810150474e908c2ea4b606305d3a56b1b36ef8f05e44ce14ca ssh-agent [2020-03-10T17:08:15.497Z] SSH_AUTH_SOCK=/tmp/ssh-UAGjCPIVu7ye/agent.55 [2020-03-10T17:08:15.497Z] SSH_AGENT_PID=62 [2020-03-10T17:08:15.505Z] Running ssh-add (command line suppressed) [2020-03-10T17:08:15.669Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-302@tmp/private_key_2549505918955345182.key (/w/workspace/ndry_app-functions-sdk-go_PR-302@tmp/private_key_2549505918955345182.key) [2020-03-10T17:08:15.716Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-10T17:08:16.043Z] + git semver init [2020-03-10T17:08:16.043Z] # -> Open(): unable to determine branch for HEAD [2020-03-10T17:08:16.043Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-302/.git [2020-03-10T17:08:16.043Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-302 [2020-03-10T17:08:16.043Z] # $SEMVER_REMOTE_NAME = origin [2020-03-10T17:08:16.043Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-10T17:08:16.043Z] # $SEMVER_USER_NAME = jenkins [2020-03-10T17:08:16.043Z] # $SEMVER_BRANCH = PR-302 [2020-03-10T17:08:16.043Z] # $SEMVER_TEMP = /tmp/semver-346333982 [2020-03-10T17:08:16.043Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-03-10T17:08:18.580Z] # '/tmp/semver-346333982' -> '/w/workspace/ndry_app-functions-sdk-go_PR-302/.semver' [2020-03-10T17:08:18.580Z] # -> Force: false [2020-03-10T17:08:18.580Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-302/.semver [Pipeline] } [2020-03-10T17:08:18.594Z] $ docker exec --env ******** --env ******** 3dbf6f75e16ddc810150474e908c2ea4b606305d3a56b1b36ef8f05e44ce14ca ssh-agent -k [2020-03-10T17:08:18.757Z] unset SSH_AUTH_SOCK; [2020-03-10T17:08:18.758Z] unset SSH_AGENT_PID; [2020-03-10T17:08:18.758Z] echo Agent pid 62 killed; [2020-03-10T17:08:18.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-10T17:08:19.231Z] + git semver [Pipeline] } [2020-03-10T17:08:19.256Z] $ docker stop --time=1 3dbf6f75e16ddc810150474e908c2ea4b606305d3a56b1b36ef8f05e44ce14ca [2020-03-10T17:08:20.592Z] $ docker rm -f 3dbf6f75e16ddc810150474e908c2ea4b606305d3a56b1b36ef8f05e44ce14ca [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-10T17:08:23.012Z] Stashed 90 file(s) [Pipeline] echo [2020-03-10T17:08:23.014Z] [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-10T17:08:38.279Z] Still waiting to schedule task [2020-03-10T17:08:38.279Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-10T17:08:38.280Z] Still waiting to schedule task [2020-03-10T17:08:38.280Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-10T17:10:21.730Z] Running on prd-centos7-docker-4c-2g-10368 in /w/workspace/ndry_app-functions-sdk-go_PR-302 [Pipeline] { [Pipeline] ws [2020-03-10T17:10:21.816Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-03-10T17:10:24.346Z] using credential edgex-jenkins-ssh [2020-03-10T17:10:24.389Z] Cloning the remote Git repository [2020-03-10T17:10:24.389Z] Cloning with configured refspecs honoured and without tags [2020-03-10T17:10:24.428Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-03-10T17:10:24.475Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-03-10T17:10:24.528Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-03-10T17:10:24.528Z] > git --version # timeout=10 [2020-03-10T17:10:24.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T17:10:24.597Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T17:10:26.027Z] Fetching without tags [2020-03-10T17:10:26.400Z] Merging remotes/origin/master commit a9aa5ae1aca91f1766fcadb064a896df2a66ab18 into PR head commit efae16b6f1c10d8e2774821ab64b1ec26dd5459a [2020-03-10T17:10:26.499Z] Merge succeeded, producing efae16b6f1c10d8e2774821ab64b1ec26dd5459a [2020-03-10T17:10:26.499Z] Checking out Revision efae16b6f1c10d8e2774821ab64b1ec26dd5459a (PR-302) [2020-03-10T17:10:25.994Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-03-10T17:10:26.003Z] > git config --add remote.origin.fetch +refs/pull/302/head:refs/remotes/origin/PR-302 # timeout=10 [2020-03-10T17:10:26.012Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T17:10:26.026Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-03-10T17:10:26.037Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-03-10T17:10:26.037Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T17:10:26.041Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T17:10:26.414Z] > git config core.sparsecheckout # timeout=10 [2020-03-10T17:10:26.421Z] > git checkout -f efae16b6f1c10d8e2774821ab64b1ec26dd5459a # timeout=10 [2020-03-10T17:10:26.470Z] > git remote # timeout=10 [2020-03-10T17:10:26.475Z] > git config --get remote.origin.url # timeout=10 [2020-03-10T17:10:26.481Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T17:10:26.487Z] > git merge a9aa5ae1aca91f1766fcadb064a896df2a66ab18 # timeout=10 [2020-03-10T17:10:26.498Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-10T17:10:26.507Z] > git config core.sparsecheckout # timeout=10 [2020-03-10T17:10:26.512Z] > git checkout -f efae16b6f1c10d8e2774821ab64b1ec26dd5459a # timeout=10 [2020-03-10T17:10:30.627Z] Commit message: "Modified flow to support expansion w/r/t messagebus trigger implementations" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-10T17:10:32.432Z] ========================================================= [2020-03-10T17:10:32.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-10T17:10:32.433Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-10T17:10:33.192Z] + 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-10T17:10:33.771Z] Sending build context to Docker daemon 36.55MB [2020-03-10T17:10:33.771Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-10T17:10:33.771Z] Step 2/8 : FROM ${BASE} [2020-03-10T17:10:33.771Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-10T17:10:33.771Z] e6b0cf9c0882: Pulling fs layer [2020-03-10T17:10:33.771Z] 2848faf0eed1: Pulling fs layer [2020-03-10T17:10:33.771Z] 0f37312ad70f: Pulling fs layer [2020-03-10T17:10:33.771Z] 5788d62ee057: Pulling fs layer [2020-03-10T17:10:33.771Z] 0e6b1d234666: Pulling fs layer [2020-03-10T17:10:33.771Z] bf5d7aec512f: Pulling fs layer [2020-03-10T17:10:33.771Z] 34c802a77dc8: Pulling fs layer [2020-03-10T17:10:33.771Z] 9eb99e56ec68: Pulling fs layer [2020-03-10T17:10:33.771Z] 27c7a5d97fbd: Pulling fs layer [2020-03-10T17:10:33.771Z] 5c102a31e300: Pulling fs layer [2020-03-10T17:10:33.771Z] dcfb455df0a1: Pulling fs layer [2020-03-10T17:10:33.771Z] 34c802a77dc8: Waiting [2020-03-10T17:10:33.771Z] 9eb99e56ec68: Waiting [2020-03-10T17:10:33.771Z] dcfb455df0a1: Waiting [2020-03-10T17:10:33.771Z] 27c7a5d97fbd: Waiting [2020-03-10T17:10:33.771Z] 5c102a31e300: Waiting [2020-03-10T17:10:33.771Z] 5788d62ee057: Waiting [2020-03-10T17:10:33.771Z] 0e6b1d234666: Waiting [2020-03-10T17:10:33.771Z] bf5d7aec512f: Waiting [2020-03-10T17:10:33.771Z] 0f37312ad70f: Verifying Checksum [2020-03-10T17:10:33.771Z] 0f37312ad70f: Download complete [2020-03-10T17:10:34.031Z] 2848faf0eed1: Verifying Checksum [2020-03-10T17:10:34.031Z] 2848faf0eed1: Download complete [2020-03-10T17:10:34.031Z] 0e6b1d234666: Verifying Checksum [2020-03-10T17:10:34.031Z] 0e6b1d234666: Download complete [2020-03-10T17:10:34.031Z] bf5d7aec512f: Verifying Checksum [2020-03-10T17:10:34.031Z] bf5d7aec512f: Download complete [2020-03-10T17:10:34.031Z] e6b0cf9c0882: Verifying Checksum [2020-03-10T17:10:34.031Z] e6b0cf9c0882: Download complete [2020-03-10T17:10:34.298Z] e6b0cf9c0882: Pull complete [2020-03-10T17:10:34.565Z] 2848faf0eed1: Pull complete [2020-03-10T17:10:35.162Z] 0f37312ad70f: Pull complete [2020-03-10T17:10:35.162Z] 34c802a77dc8: Verifying Checksum [2020-03-10T17:10:35.162Z] 34c802a77dc8: Download complete [2020-03-10T17:10:35.162Z] 27c7a5d97fbd: Verifying Checksum [2020-03-10T17:10:35.162Z] 27c7a5d97fbd: Download complete [2020-03-10T17:10:36.155Z] 5c102a31e300: Verifying Checksum [2020-03-10T17:10:36.155Z] 5c102a31e300: Download complete [2020-03-10T17:10:36.155Z] dcfb455df0a1: Verifying Checksum [2020-03-10T17:10:36.155Z] dcfb455df0a1: Download complete [2020-03-10T17:10:36.432Z] 5788d62ee057: Verifying Checksum [2020-03-10T17:10:36.432Z] 5788d62ee057: Download complete [2020-03-10T17:10:36.432Z] 9eb99e56ec68: Verifying Checksum [2020-03-10T17:10:36.432Z] 9eb99e56ec68: Download complete [2020-03-10T17:10:44.579Z] 5788d62ee057: Pull complete [2020-03-10T17:10:44.579Z] 0e6b1d234666: Pull complete [2020-03-10T17:10:44.579Z] bf5d7aec512f: Pull complete [2020-03-10T17:10:49.858Z] 34c802a77dc8: Pull complete [2020-03-10T17:10:54.133Z] 9eb99e56ec68: Pull complete [2020-03-10T17:10:54.133Z] 27c7a5d97fbd: Pull complete [2020-03-10T17:10:54.404Z] 5c102a31e300: Pull complete [2020-03-10T17:10:54.663Z] dcfb455df0a1: Pull complete [2020-03-10T17:10:54.663Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-10T17:10:54.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-10T17:10:54.663Z] ---> 7c70fe431013 [2020-03-10T17:10:54.663Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-03-10T17:10:54.921Z] latest: Pulling from library/docker [2020-03-10T17:10:55.202Z] c9b1b535fdd9: Pulling fs layer [2020-03-10T17:10:55.202Z] cd54125436dc: Pulling fs layer [2020-03-10T17:10:55.202Z] 70d1554c15cb: Pulling fs layer [2020-03-10T17:10:55.202Z] efa4cf184ccf: Pulling fs layer [2020-03-10T17:10:55.202Z] 6aca4f909924: Pulling fs layer [2020-03-10T17:10:55.202Z] c60fe6b6c138: Pulling fs layer [2020-03-10T17:10:55.202Z] 8be01bc37983: Pulling fs layer [2020-03-10T17:10:55.202Z] efa4cf184ccf: Waiting [2020-03-10T17:10:55.202Z] 6aca4f909924: Waiting [2020-03-10T17:10:55.202Z] c60fe6b6c138: Waiting [2020-03-10T17:10:55.202Z] 8be01bc37983: Waiting [2020-03-10T17:10:55.464Z] 70d1554c15cb: Verifying Checksum [2020-03-10T17:10:55.464Z] 70d1554c15cb: Download complete [2020-03-10T17:10:55.464Z] c9b1b535fdd9: Download complete [2020-03-10T17:10:55.464Z] cd54125436dc: Verifying Checksum [2020-03-10T17:10:55.464Z] cd54125436dc: Download complete [2020-03-10T17:10:55.464Z] c60fe6b6c138: Verifying Checksum [2020-03-10T17:10:55.464Z] c60fe6b6c138: Download complete [2020-03-10T17:10:55.728Z] 6aca4f909924: Verifying Checksum [2020-03-10T17:10:55.728Z] 6aca4f909924: Download complete [2020-03-10T17:10:55.728Z] c9b1b535fdd9: Pull complete [2020-03-10T17:10:55.728Z] 8be01bc37983: Verifying Checksum [2020-03-10T17:10:55.728Z] 8be01bc37983: Download complete [2020-03-10T17:10:56.669Z] efa4cf184ccf: Verifying Checksum [2020-03-10T17:10:56.669Z] efa4cf184ccf: Download complete [2020-03-10T17:10:57.245Z] cd54125436dc: Pull complete [2020-03-10T17:10:57.245Z] 70d1554c15cb: Pull complete [2020-03-10T17:11:00.555Z] efa4cf184ccf: Pull complete [2020-03-10T17:11:00.555Z] 6aca4f909924: Pull complete [2020-03-10T17:11:00.555Z] c60fe6b6c138: Pull complete [2020-03-10T17:11:00.555Z] 8be01bc37983: Pull complete [2020-03-10T17:11:00.555Z] Digest: sha256:5bca19bb6d8f0aea380902af97be841d5841353c04e3eda5f87b4e932a509e94 [2020-03-10T17:11:00.555Z] Status: Downloaded newer image for docker:latest [2020-03-10T17:11:01.936Z] ---> 559e6949d892 [2020-03-10T17:11:01.936Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-10T17:11:01.936Z] ---> Running in 8db48ac50731 [2020-03-10T17:11:02.196Z] Removing intermediate container 8db48ac50731 [2020-03-10T17:11:02.196Z] ---> b47f6d653796 [2020-03-10T17:11:02.196Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-03-10T17:11:02.196Z] ---> Running in 11f8bd5b6093 [2020-03-10T17:11:02.772Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-10T17:11:03.707Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-10T17:11:04.641Z] (1/5) Installing libsodium (1.0.18-r0) [2020-03-10T17:11:04.641Z] (2/5) Installing libzmq (4.3.2-r0) [2020-03-10T17:11:04.641Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-03-10T17:11:04.900Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-03-10T17:11:04.900Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-03-10T17:11:05.159Z] Executing busybox-1.31.1-r8.trigger [2020-03-10T17:11:05.159Z] OK: 145 MiB in 44 packages [2020-03-10T17:11:05.419Z] Removing intermediate container 11f8bd5b6093 [2020-03-10T17:11:05.419Z] ---> 7ec21c2e1601 [2020-03-10T17:11:05.419Z] Step 6/8 : WORKDIR /build [2020-03-10T17:11:05.689Z] ---> Running in d58dbf8ea509 [2020-03-10T17:11:05.689Z] Removing intermediate container d58dbf8ea509 [2020-03-10T17:11:05.689Z] ---> 307f89f87823 [2020-03-10T17:11:05.689Z] Step 7/8 : COPY go.mod . [2020-03-10T17:11:05.954Z] ---> 7add0d973118 [2020-03-10T17:11:05.954Z] Step 8/8 : RUN go mod download [2020-03-10T17:11:05.954Z] ---> Running in 358dc9bc5926 [2020-03-10T17:11:08.499Z] go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-03-10T17:11:08.499Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-10T17:11:08.499Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-10T17:11:08.499Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-10T17:11:08.499Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-10T17:11:08.499Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-10T17:11:08.499Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-03-10T17:11:08.499Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-10T17:11:08.499Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-03-10T17:11:08.499Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 [2020-03-10T17:11:08.499Z] go: finding github.com/edgexfoundry/go-mod-messaging v0.1.11 [2020-03-10T17:11:08.499Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.11 [2020-03-10T17:11:08.499Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-03-10T17:11:08.499Z] go: finding github.com/fatih/color v1.7.0 [2020-03-10T17:11:08.499Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-10T17:11:08.499Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-10T17:11:08.499Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-10T17:11:08.499Z] go: finding github.com/golang/snappy v0.0.1 [2020-03-10T17:11:08.499Z] go: finding github.com/gomodule/redigo v2.0.0+incompatible [2020-03-10T17:11:08.499Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-10T17:11:08.763Z] go: finding github.com/google/go-cmp v0.3.1 [2020-03-10T17:11:08.763Z] go: finding github.com/google/uuid v1.1.0 [2020-03-10T17:11:08.763Z] go: finding github.com/gorilla/mux v1.7.2 [2020-03-10T17:11:08.763Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-03-10T17:11:08.763Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-03-10T17:11:08.763Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-10T17:11:08.763Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-03-10T17:11:09.024Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-10T17:11:09.024Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-10T17:11:09.024Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-10T17:11:09.024Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-10T17:11:09.024Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-10T17:11:09.024Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-10T17:11:09.024Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-10T17:11:09.024Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-10T17:11:09.284Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-10T17:11:09.284Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-10T17:11:09.284Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-10T17:11:09.284Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-10T17:11:09.284Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-10T17:11:09.284Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-10T17:11:09.284Z] go: finding github.com/kr/pretty v0.2.0 [2020-03-10T17:11:09.552Z] go: finding github.com/kr/pty v1.1.1 [2020-03-10T17:11:09.552Z] go: finding github.com/kr/text v0.1.0 [2020-03-10T17:11:09.552Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-10T17:11:09.552Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-10T17:11:09.552Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-10T17:11:09.552Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-10T17:11:09.552Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-10T17:11:09.552Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-10T17:11:09.811Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-10T17:11:09.811Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-10T17:11:09.811Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-10T17:11:09.811Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-10T17:11:09.811Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-10T17:11:09.811Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-10T17:11:09.811Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-10T17:11:09.811Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-03-10T17:11:09.811Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-10T17:11:09.811Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-10T17:11:09.811Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-10T17:11:09.811Z] go: finding github.com/posener/complete v1.1.1 [2020-03-10T17:11:10.070Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-10T17:11:10.070Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-10T17:11:10.070Z] go: finding github.com/stretchr/objx v0.2.0 [2020-03-10T17:11:10.070Z] go: finding github.com/stretchr/testify v1.4.0 [2020-03-10T17:11:10.070Z] go: finding github.com/tidwall/pretty v1.0.0 [2020-03-10T17:11:10.070Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-10T17:11:10.070Z] go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c [2020-03-10T17:11:10.070Z] go: finding github.com/xdg/stringprep v1.0.0 [2020-03-10T17:11:10.070Z] go: finding go.mongodb.org/mongo-driver v1.1.1 [2020-03-10T17:11:10.330Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-10T17:11:10.330Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-10T17:11:10.330Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-10T17:11:10.330Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-10T17:11:10.330Z] go: finding golang.org/x/text v0.3.2 [2020-03-10T17:11:10.330Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-03-10T17:11:10.590Z] go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2020-03-10T17:11:10.590Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-10T17:11:18.752Z] Removing intermediate container 358dc9bc5926 [2020-03-10T17:11:18.752Z] ---> 4813146f2a01 [2020-03-10T17:11:18.752Z] Successfully built 4813146f2a01 [2020-03-10T17:11:18.752Z] 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-10T17:11:19.359Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-10T17:11:19.359Z] . [Pipeline] withDockerContainer [2020-03-10T17:11:19.498Z] prd-centos7-docker-4c-2g-10368 does not seem to be running inside a container [2020-03-10T17:11:19.554Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-10T17:11:20.328Z] $ docker top 7c703968adbdd7962aee57b35a2c62952f471987bfa172e03e5e298293527700 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-10T17:11:21.328Z] + go version [2020-03-10T17:11:21.328Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-10T17:11:21.629Z] + make test [2020-03-10T17:11:21.629Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-03-10T17:11:24.939Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-03-10T17:11:39.910Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.220s coverage: 88.9% of statements [2020-03-10T17:11:49.961Z] level=ERROR ts=2020-03-10T17:11:48.244022772Z app=app_functions_sdk_go source=configurable.go:64 msg="Could not find devicenames" [2020-03-10T17:11:49.961Z] level=DEBUG ts=2020-03-10T17:11:48.38151895Z app=app_functions_sdk_go source=configurable.go:71 devicenames= msg="Device Name Filters" [2020-03-10T17:11:49.961Z] level=DEBUG ts=2020-03-10T17:11:48.397125407Z app=app_functions_sdk_go source=configurable.go:71 devicenames=GS1-AC-Drive01,GS1-AC-Drive02,GS1-AC-Drive03 msg="Device Name Filters" [2020-03-10T17:11:49.961Z] level=ERROR ts=2020-03-10T17:11:48.412560831Z app=app_functions_sdk_go source=configurable.go:87 msg="Could not find valuedescriptors" [2020-03-10T17:11:49.961Z] level=DEBUG ts=2020-03-10T17:11:48.417648753Z app=app_functions_sdk_go source=configurable.go:94 valuedescriptors= msg="Value Descriptors Filter" [2020-03-10T17:11:49.962Z] level=DEBUG ts=2020-03-10T17:11:48.421946559Z app=app_functions_sdk_go source=configurable.go:94 valuedescriptors=GS1-AC-Drive01,GS1-AC-Drive02,GS1-AC-Drive03 msg="Value Descriptors Filter" [2020-03-10T17:11:49.962Z] level=ERROR ts=2020-03-10T17:11:48.426715613Z app=app_functions_sdk_go source=configurable.go:191 msg="Could not find url" [2020-03-10T17:11:49.962Z] level=ERROR ts=2020-03-10T17:11:48.431404529Z app=app_functions_sdk_go source=configurable.go:196 msg="Could not find mimetype" [2020-03-10T17:11:49.962Z] level=DEBUG ts=2020-03-10T17:11:48.43606572Z app=app_functions_sdk_go source=configurable.go:219 url=http://url mimetype= msg="HTTP Post Parameters" [2020-03-10T17:11:49.962Z] level=DEBUG ts=2020-03-10T17:11:48.440253782Z app=app_functions_sdk_go source=configurable.go:219 url=http://url mimetype= msg="HTTP Post Parameters" [2020-03-10T17:11:49.962Z] level=ERROR ts=2020-03-10T17:11:48.45105523Z app=app_functions_sdk_go source=configurable.go:229 msg="Could not find url" [2020-03-10T17:11:49.962Z] level=DEBUG ts=2020-03-10T17:11:48.578679261Z app=app_functions_sdk_go source=configurable.go:246 url=http://url msg="HTTP Post JSON Parameters" [2020-03-10T17:11:49.962Z] level=ERROR ts=2020-03-10T17:11:48.585879745Z app=app_functions_sdk_go source=configurable.go:256 msg="Could not find url" [2020-03-10T17:11:49.962Z] level=DEBUG ts=2020-03-10T17:11:48.600869075Z app=app_functions_sdk_go source=configurable.go:273 url=http://url msg="HTTP Post XML Parameters" [2020-03-10T17:11:49.962Z] level=DEBUG ts=2020-03-10T17:11:48.620172358Z app=app_functions_sdk_go source=configurable.go:314 Address={} qos= retain= autoreconnect= cert= key= msg="MQTT Send Parameters" [2020-03-10T17:11:49.962Z] level=INFO ts=2020-03-10T17:11:48.630378213Z app=app_functions_sdk_go source=sdk.go:545 msg="HTTP trigger selected" [2020-03-10T17:11:49.962Z] level=INFO ts=2020-03-10T17:11:48.639632792Z app=app_functions_sdk_go source=sdk.go:548 msg="MessageBus trigger selected" [2020-03-10T17:11:49.962Z] --- FAIL: TestSetupMessageBusTrigger (0.01s) [2020-03-10T17:11:49.962Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2020-03-10T17:11:49.962Z] panic: runtime error: invalid memory address or nil pointer dereference [2020-03-10T17:11:49.962Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x997ef0] [2020-03-10T17:11:49.962Z] [2020-03-10T17:11:49.962Z] goroutine 26 [running]: [2020-03-10T17:11:49.962Z] testing.tRunner.func1(0xc0001ab000) [2020-03-10T17:11:49.962Z] /usr/local/go/src/testing/testing.go:874 +0x3a3 [2020-03-10T17:11:49.962Z] panic(0xcd2560, 0x14f1ff0) [2020-03-10T17:11:49.962Z] /usr/local/go/src/runtime/panic.go:679 +0x1b2 [2020-03-10T17:11:49.962Z] github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus.NewMessageBusTrigger(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2020-03-10T17:11:49.962Z] /w/workspace/app-functions-sdk-go/2/internal/trigger/messagebus/factory.go:27 +0x330 [2020-03-10T17:11:49.962Z] github.com/edgexfoundry/app-functions-sdk-go/appsdk.(*AppFunctionsSDK).setupTrigger(0xc0000e3b30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2020-03-10T17:11:49.962Z] /w/workspace/app-functions-sdk-go/2/appsdk/sdk.go:550 +0x18b [2020-03-10T17:11:49.962Z] github.com/edgexfoundry/app-functions-sdk-go/appsdk.TestSetupMessageBusTrigger(0xc0001ab000) [2020-03-10T17:11:49.962Z] /w/workspace/app-functions-sdk-go/2/appsdk/sdk_test.go:100 +0x125 [2020-03-10T17:11:49.962Z] testing.tRunner(0xc0001ab000, 0xe1b8d8) [2020-03-10T17:11:49.962Z] /usr/local/go/src/testing/testing.go:909 +0xc9 [2020-03-10T17:11:49.962Z] created by testing.(*T).Run [2020-03-10T17:11:49.962Z] /usr/local/go/src/testing/testing.go:960 +0x350 [2020-03-10T17:11:49.962Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.434s [2020-03-10T17:11:49.962Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-03-10T17:11:49.962Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-03-10T17:11:49.962Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/config 0.035s coverage: 100.0% of statements [2020-03-10T17:11:50.221Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 1.648s coverage: 69.3% of statements [2020-03-10T17:11:56.832Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 7.109s coverage: 74.7% of statements [2020-03-10T17:11:56.832Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-03-10T17:11:56.832Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-03-10T17:11:57.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.082s coverage: 100.0% of statements [2020-03-10T17:11:57.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.004s coverage: 100.0% of statements [2020-03-10T17:11:57.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-03-10T17:11:57.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-03-10T17:11:57.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-03-10T17:11:57.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-03-10T17:11:57.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-03-10T17:11:57.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-03-10T17:11:57.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-03-10T17:11:57.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-03-10T17:11:57.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.006s coverage: 96.6% of statements [2020-03-10T17:11:57.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-03-10T17:11:57.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-03-10T17:11:57.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-03-10T17:11:57.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-03-10T17:11:57.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [no test files] [2020-03-10T17:11:57.400Z] --- FAIL: TestInitialize (0.00s) [2020-03-10T17:11:57.400Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2020-03-10T17:11:57.400Z] panic: runtime error: invalid memory address or nil pointer dereference [2020-03-10T17:11:57.400Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x914aa0] [2020-03-10T17:11:57.400Z] [2020-03-10T17:11:57.400Z] goroutine 6 [running]: [2020-03-10T17:11:57.400Z] testing.tRunner.func1(0xc000136200) [2020-03-10T17:11:57.400Z] /usr/local/go/src/testing/testing.go:874 +0x3a3 [2020-03-10T17:11:57.400Z] panic(0x9aac40, 0xea7bf0) [2020-03-10T17:11:57.400Z] /usr/local/go/src/runtime/panic.go:679 +0x1b2 [2020-03-10T17:11:57.400Z] github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus.(*Trigger).Initialize(...) [2020-03-10T17:11:57.400Z] /w/workspace/app-functions-sdk-go/2/internal/trigger/messagebus/messaging.go:41 [2020-03-10T17:11:57.400Z] github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus.TestInitialize(0xc000136200) [2020-03-10T17:11:57.400Z] /w/workspace/app-functions-sdk-go/2/internal/trigger/messagebus/messaging_test.go:69 +0x240 [2020-03-10T17:11:57.400Z] testing.tRunner(0xc000136200, 0xa93760) [2020-03-10T17:11:57.400Z] /usr/local/go/src/testing/testing.go:909 +0xc9 [2020-03-10T17:11:57.400Z] created by testing.(*T).Run [2020-03-10T17:11:57.400Z] /usr/local/go/src/testing/testing.go:960 +0x350 [2020-03-10T17:11:57.400Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 0.015s [2020-03-10T17:11:57.400Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.075s coverage: 83.3% of statements [2020-03-10T17:11:57.400Z] ? github.com/edgexfoundry/app-functions-sdk-go/pkg/endpoint [no test files] [2020-03-10T17:12:01.589Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 6.350s coverage: 74.2% of statements [2020-03-10T17:12:01.589Z] ? github.com/edgexfoundry/app-functions-sdk-go/pkg/urlclient [no test files] [2020-03-10T17:12:01.589Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.007s coverage: 100.0% of statements [2020-03-10T17:12:01.589Z] FAIL [2020-03-10T17:12:01.589Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-03-10T17:12:01.612Z] $ docker stop --time=1 7c703968adbdd7962aee57b35a2c62952f471987bfa172e03e5e298293527700 [2020-03-10T17:12:03.139Z] $ docker rm -f 7c703968adbdd7962aee57b35a2c62952f471987bfa172e03e5e298293527700 [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-10T17:12:04.192Z] Failed in branch amd64 [2020-03-10T17:12:22.067Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-10370 in /w/workspace/ndry_app-functions-sdk-go_PR-302 [Pipeline] { [Pipeline] ws [2020-03-10T17:12:22.133Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-03-10T17:12:28.019Z] using credential edgex-jenkins-ssh [2020-03-10T17:12:28.092Z] Cloning the remote Git repository [2020-03-10T17:12:28.092Z] Cloning with configured refspecs honoured and without tags [2020-03-10T17:12:28.136Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-03-10T17:12:28.244Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-03-10T17:12:28.362Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-03-10T17:12:28.363Z] > git --version # timeout=10 [2020-03-10T17:12:28.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T17:12:28.454Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T17:12:31.944Z] Fetching without tags [2020-03-10T17:12:32.511Z] Merging remotes/origin/master commit a9aa5ae1aca91f1766fcadb064a896df2a66ab18 into PR head commit efae16b6f1c10d8e2774821ab64b1ec26dd5459a [2020-03-10T17:12:31.803Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-03-10T17:12:31.821Z] > git config --add remote.origin.fetch +refs/pull/302/head:refs/remotes/origin/PR-302 # timeout=10 [2020-03-10T17:12:31.834Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T17:12:31.885Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-03-10T17:12:31.942Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-03-10T17:12:31.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T17:12:31.962Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T17:12:32.513Z] > git config core.sparsecheckout # timeout=10 [2020-03-10T17:12:32.773Z] Merge succeeded, producing efae16b6f1c10d8e2774821ab64b1ec26dd5459a [2020-03-10T17:12:32.774Z] Checking out Revision efae16b6f1c10d8e2774821ab64b1ec26dd5459a (PR-302) [2020-03-10T17:12:32.550Z] > git checkout -f efae16b6f1c10d8e2774821ab64b1ec26dd5459a # timeout=10 [2020-03-10T17:12:32.655Z] > git remote # timeout=10 [2020-03-10T17:12:32.673Z] > git config --get remote.origin.url # timeout=10 [2020-03-10T17:12:32.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T17:12:32.708Z] > git merge a9aa5ae1aca91f1766fcadb064a896df2a66ab18 # timeout=10 [2020-03-10T17:12:32.730Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-10T17:12:32.763Z] > git config core.sparsecheckout # timeout=10 [2020-03-10T17:12:32.785Z] > git checkout -f efae16b6f1c10d8e2774821ab64b1ec26dd5459a # timeout=10 [2020-03-10T17:12:37.515Z] Commit message: "Modified flow to support expansion w/r/t messagebus trigger implementations" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-10T17:12:40.734Z] ========================================================= [2020-03-10T17:12:40.734Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-10T17:12:40.734Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-10T17:12:41.850Z] + 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-10T17:12:43.273Z] Sending build context to Docker daemon 36.55MB [2020-03-10T17:12:43.273Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-10T17:12:43.273Z] Step 2/8 : FROM ${BASE} [2020-03-10T17:12:43.542Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-10T17:12:43.542Z] cde5963f3b93: Pulling fs layer [2020-03-10T17:12:43.542Z] 2a23fa8c16f7: Pulling fs layer [2020-03-10T17:12:43.542Z] 777b28850792: Pulling fs layer [2020-03-10T17:12:43.542Z] 8a11ddd9e578: Pulling fs layer [2020-03-10T17:12:43.542Z] 4cf88f913ddb: Pulling fs layer [2020-03-10T17:12:43.542Z] 1df406cf5192: Pulling fs layer [2020-03-10T17:12:43.542Z] cd6300453558: Pulling fs layer [2020-03-10T17:12:43.542Z] b9c365052c96: Pulling fs layer [2020-03-10T17:12:43.542Z] a2d8cc88f415: Pulling fs layer [2020-03-10T17:12:43.542Z] ea1d1ca13537: Pulling fs layer [2020-03-10T17:12:43.542Z] 3750a50a1c5e: Pulling fs layer [2020-03-10T17:12:43.542Z] 8a11ddd9e578: Waiting [2020-03-10T17:12:43.542Z] 4cf88f913ddb: Waiting [2020-03-10T17:12:43.542Z] 1df406cf5192: Waiting [2020-03-10T17:12:43.542Z] ea1d1ca13537: Waiting [2020-03-10T17:12:43.542Z] cd6300453558: Waiting [2020-03-10T17:12:43.542Z] b9c365052c96: Waiting [2020-03-10T17:12:43.542Z] a2d8cc88f415: Waiting [2020-03-10T17:12:43.542Z] 3750a50a1c5e: Waiting [2020-03-10T17:12:43.542Z] 777b28850792: Verifying Checksum [2020-03-10T17:12:43.542Z] 777b28850792: Download complete [2020-03-10T17:12:43.542Z] 2a23fa8c16f7: Verifying Checksum [2020-03-10T17:12:43.542Z] 2a23fa8c16f7: Download complete [2020-03-10T17:12:43.542Z] 4cf88f913ddb: Verifying Checksum [2020-03-10T17:12:43.542Z] 4cf88f913ddb: Download complete [2020-03-10T17:12:43.811Z] 1df406cf5192: Download complete [2020-03-10T17:12:43.811Z] cde5963f3b93: Verifying Checksum [2020-03-10T17:12:43.811Z] cde5963f3b93: Download complete [2020-03-10T17:12:44.787Z] cde5963f3b93: Pull complete [2020-03-10T17:12:45.377Z] 2a23fa8c16f7: Pull complete [2020-03-10T17:12:45.649Z] 777b28850792: Pull complete [2020-03-10T17:12:48.261Z] cd6300453558: Verifying Checksum [2020-03-10T17:12:48.261Z] cd6300453558: Download complete [2020-03-10T17:12:48.261Z] a2d8cc88f415: Verifying Checksum [2020-03-10T17:12:48.261Z] a2d8cc88f415: Download complete [2020-03-10T17:12:50.882Z] ea1d1ca13537: Verifying Checksum [2020-03-10T17:12:50.882Z] ea1d1ca13537: Download complete [2020-03-10T17:12:50.882Z] 3750a50a1c5e: Verifying Checksum [2020-03-10T17:12:50.882Z] 3750a50a1c5e: Download complete [2020-03-10T17:12:53.471Z] b9c365052c96: Verifying Checksum [2020-03-10T17:12:53.471Z] b9c365052c96: Download complete [2020-03-10T17:12:54.883Z] 8a11ddd9e578: Verifying Checksum [2020-03-10T17:12:54.883Z] 8a11ddd9e578: Download complete [2020-03-10T17:13:07.244Z] 8a11ddd9e578: Pull complete [2020-03-10T17:13:07.244Z] 4cf88f913ddb: Pull complete [2020-03-10T17:13:07.244Z] 1df406cf5192: Pull complete [2020-03-10T17:13:12.619Z] cd6300453558: Pull complete [2020-03-10T17:13:16.894Z] b9c365052c96: Pull complete [2020-03-10T17:13:16.894Z] a2d8cc88f415: Pull complete [2020-03-10T17:13:18.866Z] ea1d1ca13537: Pull complete [2020-03-10T17:13:19.452Z] 3750a50a1c5e: Pull complete [2020-03-10T17:13:19.452Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-10T17:13:19.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-10T17:13:19.452Z] ---> 78745c68409d [2020-03-10T17:13:19.452Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-03-10T17:13:19.718Z] latest: Pulling from library/docker [2020-03-10T17:13:19.718Z] 8fa90b21c985: Pulling fs layer [2020-03-10T17:13:19.718Z] f2917335fcb0: Pulling fs layer [2020-03-10T17:13:19.718Z] c8d3c84c2515: Pulling fs layer [2020-03-10T17:13:19.718Z] 389b437d2554: Pulling fs layer [2020-03-10T17:13:19.718Z] dc7a94e4d7cd: Pulling fs layer [2020-03-10T17:13:19.718Z] 8a9cd851b371: Pulling fs layer [2020-03-10T17:13:19.718Z] d5f7c33f26a0: Pulling fs layer [2020-03-10T17:13:19.718Z] 389b437d2554: Waiting [2020-03-10T17:13:19.718Z] dc7a94e4d7cd: Waiting [2020-03-10T17:13:19.718Z] d5f7c33f26a0: Waiting [2020-03-10T17:13:19.718Z] 8a9cd851b371: Waiting [2020-03-10T17:13:20.306Z] c8d3c84c2515: Verifying Checksum [2020-03-10T17:13:20.306Z] c8d3c84c2515: Download complete [2020-03-10T17:13:20.573Z] f2917335fcb0: Verifying Checksum [2020-03-10T17:13:20.573Z] f2917335fcb0: Download complete [2020-03-10T17:13:20.573Z] 8fa90b21c985: Verifying Checksum [2020-03-10T17:13:20.844Z] dc7a94e4d7cd: Verifying Checksum [2020-03-10T17:13:20.844Z] dc7a94e4d7cd: Download complete [2020-03-10T17:13:21.111Z] 8a9cd851b371: Verifying Checksum [2020-03-10T17:13:21.111Z] 8a9cd851b371: Download complete [2020-03-10T17:13:21.378Z] d5f7c33f26a0: Verifying Checksum [2020-03-10T17:13:21.378Z] d5f7c33f26a0: Download complete [2020-03-10T17:13:21.378Z] 8fa90b21c985: Pull complete [2020-03-10T17:13:23.336Z] f2917335fcb0: Pull complete [2020-03-10T17:13:23.336Z] c8d3c84c2515: Pull complete [2020-03-10T17:13:25.927Z] 389b437d2554: Verifying Checksum [2020-03-10T17:13:25.927Z] 389b437d2554: Download complete [2020-03-10T17:13:30.187Z] 389b437d2554: Pull complete [2020-03-10T17:13:30.187Z] dc7a94e4d7cd: Pull complete [2020-03-10T17:13:30.187Z] 8a9cd851b371: Pull complete [2020-03-10T17:13:30.187Z] d5f7c33f26a0: Pull complete [2020-03-10T17:13:30.456Z] Digest: sha256:5bca19bb6d8f0aea380902af97be841d5841353c04e3eda5f87b4e932a509e94 [2020-03-10T17:13:30.456Z] Status: Downloaded newer image for docker:latest [2020-03-10T17:13:38.690Z] ---> e1e13e2eda69 [2020-03-10T17:13:38.690Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-10T17:13:38.690Z] ---> Running in 5c520d55a0df [2020-03-10T17:13:38.690Z] Removing intermediate container 5c520d55a0df [2020-03-10T17:13:38.690Z] ---> 26b1570e6a4c [2020-03-10T17:13:38.690Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-03-10T17:13:38.690Z] ---> Running in 6331361af582 [2020-03-10T17:13:38.958Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-10T17:13:40.370Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-10T17:13:40.956Z] (1/5) Installing libsodium (1.0.18-r0) [2020-03-10T17:13:41.222Z] (2/5) Installing libzmq (4.3.2-r0) [2020-03-10T17:13:41.222Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-03-10T17:13:41.489Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-03-10T17:13:41.489Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-03-10T17:13:41.758Z] Executing busybox-1.31.1-r8.trigger [2020-03-10T17:13:41.758Z] OK: 127 MiB in 44 packages [2020-03-10T17:13:43.172Z] Removing intermediate container 6331361af582 [2020-03-10T17:13:43.172Z] ---> ad3d9de3ad05 [2020-03-10T17:13:43.172Z] Step 6/8 : WORKDIR /build [2020-03-10T17:13:43.172Z] ---> Running in 1ac68e808f3e [2020-03-10T17:13:43.441Z] Removing intermediate container 1ac68e808f3e [2020-03-10T17:13:43.441Z] ---> d9b1e5da0d17 [2020-03-10T17:13:43.441Z] Step 7/8 : COPY go.mod . [2020-03-10T17:13:44.024Z] ---> 1d17bf99cb5c [2020-03-10T17:13:44.024Z] Step 8/8 : RUN go mod download [2020-03-10T17:13:44.290Z] ---> Running in 19e9cfd7c47e [2020-03-10T17:13:45.696Z] go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-03-10T17:13:45.696Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-10T17:13:45.696Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-10T17:13:45.696Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-10T17:13:45.962Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-10T17:13:45.962Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-10T17:13:45.962Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-03-10T17:13:45.962Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-10T17:13:45.962Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-03-10T17:13:45.962Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 [2020-03-10T17:13:45.962Z] go: finding github.com/edgexfoundry/go-mod-messaging v0.1.11 [2020-03-10T17:13:45.962Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.11 [2020-03-10T17:13:45.962Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-03-10T17:13:46.228Z] go: finding github.com/fatih/color v1.7.0 [2020-03-10T17:13:46.228Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-10T17:13:46.228Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-10T17:13:46.228Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-10T17:13:46.228Z] go: finding github.com/golang/snappy v0.0.1 [2020-03-10T17:13:46.228Z] go: finding github.com/gomodule/redigo v2.0.0+incompatible [2020-03-10T17:13:46.228Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-10T17:13:46.228Z] go: finding github.com/google/go-cmp v0.3.1 [2020-03-10T17:13:46.228Z] go: finding github.com/google/uuid v1.1.0 [2020-03-10T17:13:46.228Z] go: finding github.com/gorilla/mux v1.7.2 [2020-03-10T17:13:46.228Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-03-10T17:13:46.228Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-03-10T17:13:46.228Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-10T17:13:46.493Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-03-10T17:13:46.493Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-10T17:13:46.493Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-10T17:13:46.493Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-10T17:13:46.493Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-10T17:13:46.493Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-10T17:13:46.759Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-10T17:13:46.759Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-10T17:13:46.759Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-10T17:13:46.759Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-10T17:13:46.759Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-10T17:13:46.759Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-10T17:13:46.760Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-10T17:13:46.760Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-10T17:13:46.760Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-10T17:13:46.760Z] go: finding github.com/kr/pretty v0.2.0 [2020-03-10T17:13:47.025Z] go: finding github.com/kr/pty v1.1.1 [2020-03-10T17:13:47.025Z] go: finding github.com/kr/text v0.1.0 [2020-03-10T17:13:47.025Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-10T17:13:47.025Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-10T17:13:47.025Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-10T17:13:47.025Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-10T17:13:47.025Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-10T17:13:47.025Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-10T17:13:47.025Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-10T17:13:47.293Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-10T17:13:47.293Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-10T17:13:47.293Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-10T17:13:47.293Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-10T17:13:47.293Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-10T17:13:47.293Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-10T17:13:47.293Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-03-10T17:13:47.562Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-10T17:13:47.562Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-10T17:13:47.562Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-10T17:13:47.562Z] go: finding github.com/posener/complete v1.1.1 [2020-03-10T17:13:47.562Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-10T17:13:47.830Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-10T17:13:47.830Z] go: finding github.com/stretchr/objx v0.2.0 [2020-03-10T17:13:47.830Z] go: finding github.com/stretchr/testify v1.4.0 [2020-03-10T17:13:47.830Z] go: finding github.com/tidwall/pretty v1.0.0 [2020-03-10T17:13:47.830Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-10T17:13:47.830Z] go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c [2020-03-10T17:13:47.830Z] go: finding github.com/xdg/stringprep v1.0.0 [2020-03-10T17:13:47.830Z] go: finding go.mongodb.org/mongo-driver v1.1.1 [2020-03-10T17:13:47.830Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-10T17:13:47.830Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-10T17:13:47.830Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-10T17:13:47.830Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-10T17:13:47.830Z] go: finding golang.org/x/text v0.3.2 [2020-03-10T17:13:47.830Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-03-10T17:13:48.099Z] go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2020-03-10T17:13:48.099Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-10T17:14:06.329Z] Removing intermediate container 19e9cfd7c47e [2020-03-10T17:14:06.329Z] ---> 479604997cad [2020-03-10T17:14:06.329Z] Successfully built 479604997cad [2020-03-10T17:14:06.329Z] 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-10T17:14:07.017Z] + docker inspect -f . ci-base-image-arm64 [2020-03-10T17:14:07.017Z] . [Pipeline] withDockerContainer [2020-03-10T17:14:07.609Z] prd-ubuntu18.04-docker-arm64-4c-16g-10370 does not seem to be running inside a container [2020-03-10T17:14:07.711Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-10T17:14:09.233Z] $ docker top bf52ca8cd2cb2971fda605b9e6342a339f17a53204bdf974c40dbbd2861ec912 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-10T17:14:11.648Z] + go version [2020-03-10T17:14:11.648Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-10T17:14:12.322Z] + make test [2020-03-10T17:14:12.323Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-03-10T17:14:13.743Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-03-10T17:15:00.770Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.114s coverage: 88.9% of statements [2020-03-10T17:15:13.122Z] level=ERROR ts=2020-03-10T17:15:12.666730142Z app=app_functions_sdk_go source=configurable.go:64 msg="Could not find devicenames" [2020-03-10T17:15:13.122Z] level=DEBUG ts=2020-03-10T17:15:12.673777439Z app=app_functions_sdk_go source=configurable.go:71 devicenames= msg="Device Name Filters" [2020-03-10T17:15:13.122Z] level=DEBUG ts=2020-03-10T17:15:12.679392432Z app=app_functions_sdk_go source=configurable.go:71 devicenames=GS1-AC-Drive01,GS1-AC-Drive02,GS1-AC-Drive03 msg="Device Name Filters" [2020-03-10T17:15:13.122Z] level=ERROR ts=2020-03-10T17:15:12.685077962Z app=app_functions_sdk_go source=configurable.go:87 msg="Could not find valuedescriptors" [2020-03-10T17:15:13.122Z] level=DEBUG ts=2020-03-10T17:15:12.690902575Z app=app_functions_sdk_go source=configurable.go:94 valuedescriptors= msg="Value Descriptors Filter" [2020-03-10T17:15:13.122Z] level=DEBUG ts=2020-03-10T17:15:12.696620908Z app=app_functions_sdk_go source=configurable.go:94 valuedescriptors=GS1-AC-Drive01,GS1-AC-Drive02,GS1-AC-Drive03 msg="Value Descriptors Filter" [2020-03-10T17:15:13.122Z] level=ERROR ts=2020-03-10T17:15:12.70179204Z app=app_functions_sdk_go source=configurable.go:191 msg="Could not find url" [2020-03-10T17:15:13.122Z] level=ERROR ts=2020-03-10T17:15:12.706917198Z app=app_functions_sdk_go source=configurable.go:196 msg="Could not find mimetype" [2020-03-10T17:15:13.122Z] level=DEBUG ts=2020-03-10T17:15:12.712247704Z app=app_functions_sdk_go source=configurable.go:219 url=http://url mimetype= msg="HTTP Post Parameters" [2020-03-10T17:15:13.122Z] level=DEBUG ts=2020-03-10T17:15:12.723239549Z app=app_functions_sdk_go source=configurable.go:219 url=http://url mimetype= msg="HTTP Post Parameters" [2020-03-10T17:15:13.122Z] level=ERROR ts=2020-03-10T17:15:12.734138995Z app=app_functions_sdk_go source=configurable.go:229 msg="Could not find url" [2020-03-10T17:15:13.122Z] level=DEBUG ts=2020-03-10T17:15:12.740976272Z app=app_functions_sdk_go source=configurable.go:246 url=http://url msg="HTTP Post JSON Parameters" [2020-03-10T17:15:13.122Z] level=ERROR ts=2020-03-10T17:15:12.74932509Z app=app_functions_sdk_go source=configurable.go:256 msg="Could not find url" [2020-03-10T17:15:13.122Z] level=DEBUG ts=2020-03-10T17:15:12.759535872Z app=app_functions_sdk_go source=configurable.go:273 url=http://url msg="HTTP Post XML Parameters" [2020-03-10T17:15:13.122Z] level=DEBUG ts=2020-03-10T17:15:12.76573588Z app=app_functions_sdk_go source=configurable.go:314 Address={} qos= retain= autoreconnect= cert= key= msg="MQTT Send Parameters" [2020-03-10T17:15:13.122Z] level=INFO ts=2020-03-10T17:15:12.773636176Z app=app_functions_sdk_go source=sdk.go:545 msg="HTTP trigger selected" [2020-03-10T17:15:13.122Z] level=INFO ts=2020-03-10T17:15:12.77979521Z app=app_functions_sdk_go source=sdk.go:548 msg="MessageBus trigger selected" [2020-03-10T17:15:13.122Z] --- FAIL: TestSetupMessageBusTrigger (0.01s) [2020-03-10T17:15:13.122Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2020-03-10T17:15:13.122Z] panic: runtime error: invalid memory address or nil pointer dereference [2020-03-10T17:15:13.122Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x8f4dec] [2020-03-10T17:15:13.122Z] [2020-03-10T17:15:13.122Z] goroutine 38 [running]: [2020-03-10T17:15:13.122Z] testing.tRunner.func1(0x4000204400) [2020-03-10T17:15:13.122Z] /usr/local/go/src/testing/testing.go:874 +0x348 [2020-03-10T17:15:13.122Z] panic(0xbdd640, 0x1427ff0) [2020-03-10T17:15:13.122Z] /usr/local/go/src/runtime/panic.go:679 +0x194 [2020-03-10T17:15:13.122Z] github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus.NewMessageBusTrigger(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2020-03-10T17:15:13.122Z] /w/workspace/app-functions-sdk-go/2/internal/trigger/messagebus/factory.go:27 +0x2c4 [2020-03-10T17:15:13.122Z] github.com/edgexfoundry/app-functions-sdk-go/appsdk.(*AppFunctionsSDK).setupTrigger(0x40000e3b28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2020-03-10T17:15:13.122Z] /w/workspace/app-functions-sdk-go/2/appsdk/sdk.go:550 +0x178 [2020-03-10T17:15:13.122Z] github.com/edgexfoundry/app-functions-sdk-go/appsdk.TestSetupMessageBusTrigger(0x4000204400) [2020-03-10T17:15:13.122Z] /w/workspace/app-functions-sdk-go/2/appsdk/sdk_test.go:100 +0xf0 [2020-03-10T17:15:13.122Z] testing.tRunner(0x4000204400, 0xd26b78) [2020-03-10T17:15:13.122Z] /usr/local/go/src/testing/testing.go:909 +0xb8 [2020-03-10T17:15:13.122Z] created by testing.(*T).Run [2020-03-10T17:15:13.122Z] /usr/local/go/src/testing/testing.go:960 +0x2c0 [2020-03-10T17:15:13.122Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.166s [2020-03-10T17:15:13.122Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-03-10T17:15:13.122Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-03-10T17:15:13.122Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/config 0.024s coverage: 100.0% of statements [2020-03-10T17:15:13.122Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.366s coverage: 69.3% of statements [2020-03-10T17:15:19.800Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 7.109s coverage: 74.7% of statements [2020-03-10T17:15:19.800Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.028s coverage: 89.5% of statements [2020-03-10T17:15:19.800Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.020s coverage: 100.0% of statements [2020-03-10T17:15:24.079Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.125s coverage: 100.0% of statements [2020-03-10T17:15:24.079Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.030s coverage: 100.0% of statements [2020-03-10T17:15:24.079Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.022s coverage: 100.0% of statements [2020-03-10T17:15:24.079Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-03-10T17:15:24.079Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-03-10T17:15:24.079Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-03-10T17:15:24.079Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-03-10T17:15:24.079Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-03-10T17:15:24.079Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-03-10T17:15:24.079Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-03-10T17:15:24.079Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.014s coverage: 96.6% of statements [2020-03-10T17:15:24.079Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-03-10T17:15:24.079Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.038s coverage: 97.7% of statements [2020-03-10T17:15:24.079Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-03-10T17:15:24.079Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-03-10T17:15:24.079Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [no test files] [2020-03-10T17:15:24.079Z] --- FAIL: TestInitialize (0.00s) [2020-03-10T17:15:24.079Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2020-03-10T17:15:24.079Z] panic: runtime error: invalid memory address or nil pointer dereference [2020-03-10T17:15:24.079Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x88188c] [2020-03-10T17:15:24.079Z] [2020-03-10T17:15:24.079Z] goroutine 19 [running]: [2020-03-10T17:15:24.079Z] testing.tRunner.func1(0x400010e200) [2020-03-10T17:15:24.079Z] /usr/local/go/src/testing/testing.go:874 +0x348 [2020-03-10T17:15:24.079Z] panic(0x9176c0, 0xe3dbf0) [2020-03-10T17:15:24.079Z] /usr/local/go/src/runtime/panic.go:679 +0x194 [2020-03-10T17:15:24.079Z] github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus.(*Trigger).Initialize(...) [2020-03-10T17:15:24.079Z] /w/workspace/app-functions-sdk-go/2/internal/trigger/messagebus/messaging.go:41 [2020-03-10T17:15:24.079Z] github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus.TestInitialize(0x400010e200) [2020-03-10T17:15:24.079Z] /w/workspace/app-functions-sdk-go/2/internal/trigger/messagebus/messaging_test.go:69 +0x1d4 [2020-03-10T17:15:24.079Z] testing.tRunner(0x400010e200, 0xa00148) [2020-03-10T17:15:24.079Z] /usr/local/go/src/testing/testing.go:909 +0xb8 [2020-03-10T17:15:24.079Z] created by testing.(*T).Run [2020-03-10T17:15:24.079Z] /usr/local/go/src/testing/testing.go:960 +0x2c0 [2020-03-10T17:15:24.079Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 0.040s [2020-03-10T17:15:24.080Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.097s coverage: 83.3% of statements [2020-03-10T17:15:24.080Z] ? github.com/edgexfoundry/app-functions-sdk-go/pkg/endpoint [no test files] [2020-03-10T17:15:30.741Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 5.496s coverage: 74.2% of statements [2020-03-10T17:15:30.741Z] ? github.com/edgexfoundry/app-functions-sdk-go/pkg/urlclient [no test files] [2020-03-10T17:15:30.741Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.025s coverage: 100.0% of statements [2020-03-10T17:15:30.741Z] FAIL [2020-03-10T17:15:31.323Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-03-10T17:15:31.363Z] $ docker stop --time=1 bf52ca8cd2cb2971fda605b9e6342a339f17a53204bdf974c40dbbd2861ec912 [2020-03-10T17:15:33.468Z] $ docker rm -f bf52ca8cd2cb2971fda605b9e6342a339f17a53204bdf974c40dbbd2861ec912 [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-10T17:15:35.095Z] 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-10T17:15:36.458Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-10T17:15:36.769Z] ---> package-listing.sh [2020-03-10T17:15:36.769Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-10T17:15:36.769Z] ++ facter osfamily [2020-03-10T17:15:36.769Z] + OS_FAMILY=redhat [2020-03-10T17:15:36.769Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-302 [2020-03-10T17:15:36.769Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-10T17:15:36.769Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-10T17:15:36.769Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-10T17:15:36.769Z] + PACKAGES=/tmp/packages_start.txt [2020-03-10T17:15:36.769Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-302 ']' [2020-03-10T17:15:36.769Z] + PACKAGES=/tmp/packages_end.txt [2020-03-10T17:15:36.769Z] + case "${OS_FAMILY}" in [2020-03-10T17:15:36.769Z] + rpm -qa [2020-03-10T17:15:36.769Z] + sort [2020-03-10T17:15:40.973Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-10T17:15:40.973Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-10T17:15:40.973Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-10T17:15:40.973Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-302 ']' [2020-03-10T17:15:40.973Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-302/archives/ [2020-03-10T17:15:40.973Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-302/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-10T17:15:41.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-10T17:15:41.422Z] [2020-03-10T17:15:41.422Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-10T17:15:41.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-10T17:15:41.757Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-10T17:15:41.757Z] c9b1b535fdd9: Pulling fs layer [2020-03-10T17:15:41.757Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-10T17:15:41.757Z] 756a868c4378: Pulling fs layer [2020-03-10T17:15:41.757Z] 444b2fc9a129: Pulling fs layer [2020-03-10T17:15:41.757Z] ea15f1150254: Pulling fs layer [2020-03-10T17:15:41.757Z] 41b27a9f41bf: Pulling fs layer [2020-03-10T17:15:41.757Z] 28c525ee5125: Pulling fs layer [2020-03-10T17:15:41.757Z] 094b1ea09ed8: Pulling fs layer [2020-03-10T17:15:41.757Z] 138eaada9080: Pulling fs layer [2020-03-10T17:15:41.757Z] 0622d0fa9048: Pulling fs layer [2020-03-10T17:15:41.757Z] 444b2fc9a129: Waiting [2020-03-10T17:15:41.757Z] 28c525ee5125: Waiting [2020-03-10T17:15:41.757Z] 094b1ea09ed8: Waiting [2020-03-10T17:15:41.757Z] ea15f1150254: Waiting [2020-03-10T17:15:41.757Z] 41b27a9f41bf: Waiting [2020-03-10T17:15:41.757Z] 138eaada9080: Waiting [2020-03-10T17:15:41.757Z] 0622d0fa9048: Waiting [2020-03-10T17:15:41.757Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-10T17:15:41.757Z] 2cc5ad85d9ab: Download complete [2020-03-10T17:15:41.757Z] 444b2fc9a129: Verifying Checksum [2020-03-10T17:15:41.757Z] 444b2fc9a129: Download complete [2020-03-10T17:15:41.757Z] c9b1b535fdd9: Verifying Checksum [2020-03-10T17:15:41.757Z] c9b1b535fdd9: Download complete [2020-03-10T17:15:41.757Z] ea15f1150254: Verifying Checksum [2020-03-10T17:15:41.757Z] ea15f1150254: Download complete [2020-03-10T17:15:42.023Z] 28c525ee5125: Verifying Checksum [2020-03-10T17:15:42.023Z] 28c525ee5125: Download complete [2020-03-10T17:15:42.295Z] 756a868c4378: Verifying Checksum [2020-03-10T17:15:42.295Z] 756a868c4378: Download complete [2020-03-10T17:15:42.295Z] c9b1b535fdd9: Pull complete [2020-03-10T17:15:42.295Z] 138eaada9080: Verifying Checksum [2020-03-10T17:15:42.295Z] 138eaada9080: Download complete [2020-03-10T17:15:42.563Z] 0622d0fa9048: Verifying Checksum [2020-03-10T17:15:42.563Z] 0622d0fa9048: Download complete [2020-03-10T17:15:42.563Z] 094b1ea09ed8: Verifying Checksum [2020-03-10T17:15:42.563Z] 094b1ea09ed8: Download complete [2020-03-10T17:15:42.563Z] 2cc5ad85d9ab: Pull complete [2020-03-10T17:15:43.136Z] 41b27a9f41bf: Verifying Checksum [2020-03-10T17:15:43.136Z] 41b27a9f41bf: Download complete [2020-03-10T17:15:44.075Z] 756a868c4378: Pull complete [2020-03-10T17:15:44.334Z] 444b2fc9a129: Pull complete [2020-03-10T17:15:44.598Z] ea15f1150254: Pull complete [2020-03-10T17:15:48.799Z] 41b27a9f41bf: Pull complete [2020-03-10T17:15:48.799Z] 28c525ee5125: Pull complete [2020-03-10T17:15:50.720Z] 094b1ea09ed8: Pull complete [2020-03-10T17:15:52.094Z] 138eaada9080: Pull complete [2020-03-10T17:15:52.094Z] 0622d0fa9048: Pull complete [2020-03-10T17:15:52.094Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-10T17:15:52.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-10T17:15:52.264Z] prd-centos7-docker-4c-2g-10367 does not seem to be running inside a container [2020-03-10T17:15:52.311Z] $ 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-302 -v /w/workspace/ndry_app-functions-sdk-go_PR-302:/w/workspace/ndry_app-functions-sdk-go_PR-302:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-302@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-302@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-03-10T17:15:52.887Z] $ docker top 551308118f2022aac1d7bace0af698e0924cd476809b7bb314cad74dd2245fe5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-10T17:15:53.624Z] provisioning config files... [2020-03-10T17:15:53.640Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-302@tmp/config4290888730179751774tmp [Pipeline] { [Pipeline] echo [2020-03-10T17:15:53.696Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-10T17:15:53.990Z] ---> create-netrc.sh [Pipeline] echo [2020-03-10T17:15:53.997Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-10T17:15:54.293Z] ---> logs-deploy.sh [2020-03-10T17:15:54.293Z] + ARCHIVE_ARTIFACTS= [2020-03-10T17:15:54.293Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-10T17:15:54.293Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-10T17:15:54.293Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-10T17:15:54.293Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-302/2 [2020-03-10T17:15:54.293Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-functions-sdk-go/job/PR-302/2/ [2020-03-10T17:15:54.293Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-302/2 /w/workspace/ndry_app-functions-sdk-go_PR-302 [2020-03-10T17:15:55.672Z] Archives upload complete. [2020-03-10T17:15:55.672Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-302/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-functions-sdk-go/job/PR-302/2/