Pull request #478 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 8dd39d4d515973c1552fac904a5be3429c579a0e+b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 (ab71d4db9d8cfb8e3c4052fd802b927a6b2050c7) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2177 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [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-478 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/478/head:refs/remotes/origin/PR-478 +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/478/head:refs/remotes/origin/PR-478 # 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/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit 8dd39d4d515973c1552fac904a5be3429c579a0e Merge succeeded, producing 8dd39d4d515973c1552fac904a5be3429c579a0e Checking out Revision 8dd39d4d515973c1552fac904a5be3429c579a0e (PR-478) > git config core.sparsecheckout # timeout=10 > git checkout -f 8dd39d4d515973c1552fac904a5be3429c579a0e # 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 b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8dd39d4d515973c1552fac904a5be3429c579a0e # timeout=10 Commit message: "build: Switch to use Go 1.15" First time build. Skipping changelog. > git rev-list --no-walk bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-10T20:54:38.539Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-10T20:54:38.799Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-10T20:54:38.905Z] ========================================================= [2020-09-10T20:54:38.905Z] EdgeX Global Pipelines Version Info [2020-09-10T20:54:38.905Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-10T20:54:40.339Z] ------------------- [2020-09-10T20:54:40.339Z] stable info: [2020-09-10T20:54:40.339Z] ------------------- [2020-09-10T20:54:40.339Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-10T20:54:40.339Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-10T20:54:40.339Z] Message: update stable to v1.0.119 [2020-09-10T20:54:41.283Z] ------------------- [2020-09-10T20:54:41.283Z] experimental info: [2020-09-10T20:54:41.283Z] ------------------- [2020-09-10T20:54:41.283Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-10T20:54:41.283Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-10T20:54:41.283Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-10T20:54:41.639Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-10T20:54:41.729Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-10T20:54:41.828Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-10T20:54:41.957Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-10T20:54:42.121Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-10T20:54:42.216Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-10T20:54:42.313Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-10T20:54:42.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-10T20:54:42.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-10T20:54:42.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-10T20:54:42.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-10T20:54:42.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-10T20:54:42.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-10T20:54:43.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-10T20:54:43.107Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T20:54:43.196Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T20:54:43.283Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T20:54:43.389Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T20:54:43.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-10T20:54:43.575Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-10T20:54:43.670Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-10T20:54:43.761Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-10T20:54:43.853Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-478 [Pipeline] echo [2020-09-10T20:54:43.949Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-478 [Pipeline] echo [2020-09-10T20:54:44.047Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-478 [Pipeline] echo [2020-09-10T20:54:44.160Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8dd39d4d515973c1552fac904a5be3429c579a0e [Pipeline] echo [2020-09-10T20:54:44.256Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8dd39d4 [Pipeline] echo [2020-09-10T20:54:44.351Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-10T20:54:44.963Z] + git log --format=format:%s -1 8dd39d4d515973c1552fac904a5be3429c579a0e [Pipeline] echo [2020-09-10T20:54:45.031Z] GIT_COMMIT: 8dd39d4d515973c1552fac904a5be3429c579a0e, Commit Message: build: Switch to use Go 1.15 [Pipeline] echo [2020-09-10T20:54:45.076Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-10T20:54:45.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T20:54:46.411Z] [2020-09-10T20:54:46.411Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-10T20:54:46.768Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T20:54:46.768Z] latest: Pulling from edgex-devops/git-semver [2020-09-10T20:54:46.768Z] 31603596830f: Pulling fs layer [2020-09-10T20:54:46.768Z] 2a8b12db71e7: Pulling fs layer [2020-09-10T20:54:46.768Z] 6ca5941a6612: Pulling fs layer [2020-09-10T20:54:46.768Z] ecc8261a40a4: Pulling fs layer [2020-09-10T20:54:46.768Z] ecc8261a40a4: Waiting [2020-09-10T20:54:46.768Z] 2a8b12db71e7: Verifying Checksum [2020-09-10T20:54:46.768Z] 2a8b12db71e7: Download complete [2020-09-10T20:54:47.032Z] 31603596830f: Download complete [2020-09-10T20:54:47.032Z] ecc8261a40a4: Verifying Checksum [2020-09-10T20:54:47.032Z] ecc8261a40a4: Download complete [2020-09-10T20:54:47.032Z] 6ca5941a6612: Verifying Checksum [2020-09-10T20:54:47.032Z] 6ca5941a6612: Download complete [2020-09-10T20:54:47.296Z] 31603596830f: Pull complete [2020-09-10T20:54:47.560Z] 2a8b12db71e7: Pull complete [2020-09-10T20:54:48.136Z] 6ca5941a6612: Pull complete [2020-09-10T20:54:48.712Z] ecc8261a40a4: Pull complete [2020-09-10T20:54:48.712Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-10T20:54:48.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T20:54:48.712Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-10T20:54:48.823Z] prd-centos7-docker-4c-2g-2177 does not seem to be running inside a container [2020-09-10T20:54:48.862Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-478 -v /w/workspace/ndry_app-functions-sdk-go_PR-478:/w/workspace/ndry_app-functions-sdk-go_PR-478:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-10T20:54:51.036Z] $ docker top c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-10T20:54:51.352Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-10T20:54:51.352Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-10T20:54:51.582Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-10T20:54:51.564Z] $ docker exec c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e ssh-agent [2020-09-10T20:54:51.743Z] SSH_AUTH_SOCK=/tmp/ssh-rYW866FaPQtS/agent.12 [2020-09-10T20:54:51.743Z] SSH_AGENT_PID=17 [2020-09-10T20:54:51.754Z] Running ssh-add (command line suppressed) [2020-09-10T20:54:51.850Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_3045860092541820228.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_3045860092541820228.key) [2020-09-10T20:54:51.919Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-10T20:54:52.252Z] + git describe --exact-match --tags HEAD [2020-09-10T20:54:52.252Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-10T20:54:52.252Z] $ docker exec --env ******** --env ******** c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e ssh-agent -k [2020-09-10T20:54:52.363Z] unset SSH_AUTH_SOCK; [2020-09-10T20:54:52.363Z] unset SSH_AGENT_PID; [2020-09-10T20:54:52.363Z] echo Agent pid 17 killed; [2020-09-10T20:54:52.427Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-10T20:54:52.516Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-10T20:54:52.516Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-10T20:54:52.636Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-10T20:54:52.636Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-10T20:54:52.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-10T20:54:52.782Z] $ docker exec c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e ssh-agent [2020-09-10T20:54:52.960Z] SSH_AUTH_SOCK=/tmp/ssh-ssoaXBEHRfer/agent.47 [2020-09-10T20:54:52.960Z] SSH_AGENT_PID=52 [2020-09-10T20:54:52.967Z] Running ssh-add (command line suppressed) [2020-09-10T20:54:53.060Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_3382836053334935598.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_3382836053334935598.key) [2020-09-10T20:54:53.130Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-10T20:54:53.465Z] + git semver init [2020-09-10T20:54:53.465Z] # -> Open(): unable to determine branch for HEAD [2020-09-10T20:54:53.465Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.git [2020-09-10T20:54:53.465Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-10T20:54:53.465Z] # $SEMVER_REMOTE_NAME = origin [2020-09-10T20:54:53.465Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-10T20:54:53.465Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-10T20:54:53.465Z] # $SEMVER_BRANCH = PR-478 [2020-09-10T20:54:53.465Z] # $SEMVER_TEMP = /tmp/semver-972213348 [2020-09-10T20:54:53.465Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-10T20:54:56.021Z] # '/tmp/semver-972213348' -> '/w/workspace/ndry_app-functions-sdk-go_PR-478/.semver' [2020-09-10T20:54:56.021Z] # -> Force: false [2020-09-10T20:54:56.021Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.semver [Pipeline] } [2020-09-10T20:54:56.012Z] $ docker exec --env ******** --env ******** c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e ssh-agent -k [2020-09-10T20:54:56.121Z] unset SSH_AUTH_SOCK; [2020-09-10T20:54:56.122Z] unset SSH_AGENT_PID; [2020-09-10T20:54:56.122Z] echo Agent pid 52 killed; [2020-09-10T20:54:56.192Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-10T20:54:56.712Z] + git semver [Pipeline] } [2020-09-10T20:54:56.714Z] $ docker stop --time=1 c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e [2020-09-10T20:54:58.188Z] $ docker rm -f c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-10T20:55:00.657Z] Stashed 41 file(s) [Pipeline] echo [2020-09-10T20:55:00.660Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-10T20:55:00.779Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [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-09-10T20:55:16.303Z] Still waiting to schedule task [2020-09-10T20:55:16.304Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-10T20:55:16.306Z] Still waiting to schedule task [2020-09-10T20:55:16.306Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-10T20:58:04.097Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2178 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-10T20:58:04.195Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-09-10T20:58:09.561Z] using credential edgex-jenkins-ssh [2020-09-10T20:58:09.629Z] Cloning the remote Git repository [2020-09-10T20:58:09.629Z] Cloning with configured refspecs honoured and without tags [2020-09-10T20:58:09.689Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-10T20:58:09.799Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2020-09-10T20:58:09.868Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-10T20:58:09.869Z] > git --version # timeout=10 [2020-09-10T20:58:09.883Z] > git --version # 'git version 2.17.1' [2020-09-10T20:58:09.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T20:58:09.941Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T20:58:13.089Z] Fetching without tags [2020-09-10T20:58:12.974Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-10T20:58:12.996Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-10T20:58:13.015Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T20:58:13.042Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-10T20:58:13.085Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-10T20:58:13.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T20:58:13.100Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T20:58:13.630Z] Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit 8dd39d4d515973c1552fac904a5be3429c579a0e [2020-09-10T20:58:13.885Z] Merge succeeded, producing 8dd39d4d515973c1552fac904a5be3429c579a0e [2020-09-10T20:58:13.886Z] Checking out Revision 8dd39d4d515973c1552fac904a5be3429c579a0e (PR-478) [2020-09-10T20:58:13.636Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T20:58:13.662Z] > git checkout -f 8dd39d4d515973c1552fac904a5be3429c579a0e # timeout=10 [2020-09-10T20:58:13.782Z] > git remote # timeout=10 [2020-09-10T20:58:13.807Z] > git config --get remote.origin.url # timeout=10 [2020-09-10T20:58:13.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T20:58:13.831Z] > git merge b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 [2020-09-10T20:58:13.854Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-10T20:58:13.876Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T20:58:13.889Z] > git checkout -f 8dd39d4d515973c1552fac904a5be3429c579a0e # timeout=10 [2020-09-10T20:58:18.403Z] Commit message: "build: Switch to use Go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-10T20:58:21.820Z] ========================================================= [2020-09-10T20:58:21.820Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-10T20:58:21.820Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-10T20:58:22.928Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-10T20:58:24.377Z] Sending build context to Docker daemon 37.16MB [2020-09-10T20:58:24.377Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-10T20:58:24.377Z] Step 2/8 : FROM ${BASE} [2020-09-10T20:58:24.377Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-10T20:58:24.377Z] b538f80385f9: Pulling fs layer [2020-09-10T20:58:24.377Z] 74f711af9a0d: Pulling fs layer [2020-09-10T20:58:24.377Z] 99f96fe45779: Pulling fs layer [2020-09-10T20:58:24.377Z] 8529a6b9a6be: Pulling fs layer [2020-09-10T20:58:24.377Z] 45590311c82a: Pulling fs layer [2020-09-10T20:58:24.377Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-10T20:58:24.377Z] 209524e5b208: Pulling fs layer [2020-09-10T20:58:24.377Z] 8529a6b9a6be: Waiting [2020-09-10T20:58:24.377Z] 45590311c82a: Waiting [2020-09-10T20:58:24.377Z] 69ca0ff8b7b3: Waiting [2020-09-10T20:58:24.377Z] 209524e5b208: Waiting [2020-09-10T20:58:24.655Z] 99f96fe45779: Verifying Checksum [2020-09-10T20:58:24.655Z] 99f96fe45779: Download complete [2020-09-10T20:58:24.655Z] 74f711af9a0d: Verifying Checksum [2020-09-10T20:58:24.655Z] 74f711af9a0d: Download complete [2020-09-10T20:58:24.655Z] 45590311c82a: Verifying Checksum [2020-09-10T20:58:24.655Z] 45590311c82a: Download complete [2020-09-10T20:58:24.929Z] 69ca0ff8b7b3: Download complete [2020-09-10T20:58:25.207Z] b538f80385f9: Verifying Checksum [2020-09-10T20:58:25.207Z] b538f80385f9: Download complete [2020-09-10T20:58:26.209Z] b538f80385f9: Pull complete [2020-09-10T20:58:26.493Z] 74f711af9a0d: Pull complete [2020-09-10T20:58:27.102Z] 99f96fe45779: Pull complete [2020-09-10T20:58:27.379Z] 209524e5b208: Verifying Checksum [2020-09-10T20:58:27.379Z] 209524e5b208: Download complete [2020-09-10T20:58:28.365Z] 8529a6b9a6be: Verifying Checksum [2020-09-10T20:58:28.365Z] 8529a6b9a6be: Download complete [2020-09-10T20:58:38.568Z] 8529a6b9a6be: Pull complete [2020-09-10T20:58:39.166Z] 45590311c82a: Pull complete [2020-09-10T20:58:39.441Z] 69ca0ff8b7b3: Pull complete [2020-09-10T20:58:42.415Z] Running on prd-centos7-docker-4c-2g-2179 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-10T20:58:42.466Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-09-10T20:58:42.986Z] 209524e5b208: Pull complete [2020-09-10T20:58:43.264Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-10T20:58:43.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-10T20:58:43.264Z] ---> 5bddaf1c2fca [2020-09-10T20:58:43.264Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-10T20:58:43.540Z] latest: Pulling from library/docker [2020-09-10T20:58:43.540Z] b538f80385f9: Already exists [2020-09-10T20:58:43.540Z] 259a493cd78d: Pulling fs layer [2020-09-10T20:58:43.540Z] b8e66b5100f5: Pulling fs layer [2020-09-10T20:58:43.540Z] 39dc9c94d07c: Pulling fs layer [2020-09-10T20:58:43.540Z] 551b823b3b82: Pulling fs layer [2020-09-10T20:58:43.540Z] 3c52a74df98c: Pulling fs layer [2020-09-10T20:58:43.540Z] 6c9b121b6998: Pulling fs layer [2020-09-10T20:58:43.540Z] 3c52a74df98c: Waiting [2020-09-10T20:58:43.540Z] 551b823b3b82: Waiting [2020-09-10T20:58:43.540Z] 6c9b121b6998: Waiting [2020-09-10T20:58:43.814Z] b8e66b5100f5: Verifying Checksum [2020-09-10T20:58:43.814Z] b8e66b5100f5: Download complete [2020-09-10T20:58:43.814Z] 259a493cd78d: Verifying Checksum [2020-09-10T20:58:43.814Z] 259a493cd78d: Download complete [2020-09-10T20:58:43.814Z] 551b823b3b82: Verifying Checksum [2020-09-10T20:58:43.814Z] 551b823b3b82: Download complete [2020-09-10T20:58:44.093Z] 3c52a74df98c: Verifying Checksum [2020-09-10T20:58:44.093Z] 3c52a74df98c: Download complete [2020-09-10T20:58:44.093Z] 6c9b121b6998: Verifying Checksum [2020-09-10T20:58:44.093Z] 6c9b121b6998: Download complete [2020-09-10T20:58:44.709Z] 259a493cd78d: Pull complete [2020-09-10T20:58:44.984Z] b8e66b5100f5: Pull complete [2020-09-10T20:58:44.984Z] 39dc9c94d07c: Verifying Checksum [2020-09-10T20:58:44.984Z] 39dc9c94d07c: Download complete [2020-09-10T20:58:45.080Z] using credential edgex-jenkins-ssh [2020-09-10T20:58:45.125Z] Cloning the remote Git repository [2020-09-10T20:58:45.125Z] Cloning with configured refspecs honoured and without tags [2020-09-10T20:58:45.139Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-10T20:58:45.221Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2020-09-10T20:58:45.299Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-10T20:58:45.299Z] > git --version # timeout=10 [2020-09-10T20:58:45.305Z] > git --version # 'git version 2.16.5' [2020-09-10T20:58:45.306Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T20:58:45.335Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T20:58:46.676Z] Fetching without tags [2020-09-10T20:58:47.048Z] Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit 8dd39d4d515973c1552fac904a5be3429c579a0e [2020-09-10T20:58:47.138Z] Merge succeeded, producing 8dd39d4d515973c1552fac904a5be3429c579a0e [2020-09-10T20:58:47.139Z] Checking out Revision 8dd39d4d515973c1552fac904a5be3429c579a0e (PR-478) [2020-09-10T20:58:46.630Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-10T20:58:46.638Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-10T20:58:46.642Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T20:58:46.652Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-10T20:58:46.661Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-10T20:58:46.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T20:58:46.666Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T20:58:47.038Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T20:58:47.044Z] > git checkout -f 8dd39d4d515973c1552fac904a5be3429c579a0e # timeout=10 [2020-09-10T20:58:47.091Z] > git remote # timeout=10 [2020-09-10T20:58:47.096Z] > git config --get remote.origin.url # timeout=10 [2020-09-10T20:58:47.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T20:58:47.107Z] > git merge b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 [2020-09-10T20:58:47.115Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-10T20:58:47.123Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T20:58:47.129Z] > git checkout -f 8dd39d4d515973c1552fac904a5be3429c579a0e # timeout=10 [2020-09-10T20:58:48.389Z] 39dc9c94d07c: Pull complete [2020-09-10T20:58:48.667Z] 551b823b3b82: Pull complete [2020-09-10T20:58:48.947Z] 3c52a74df98c: Pull complete [2020-09-10T20:58:49.228Z] 6c9b121b6998: Pull complete [2020-09-10T20:58:49.228Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-10T20:58:49.520Z] Status: Downloaded newer image for docker:latest [2020-09-10T20:58:50.743Z] Commit message: "build: Switch to use Go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-10T20:58:52.635Z] ========================================================= [2020-09-10T20:58:52.635Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-10T20:58:52.635Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-10T20:58:53.323Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-10T20:58:53.907Z] Sending build context to Docker daemon 37.16MB [2020-09-10T20:58:53.908Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-10T20:58:53.908Z] Step 2/8 : FROM ${BASE} [2020-09-10T20:58:53.908Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-10T20:58:53.908Z] df20fa9351a1: Pulling fs layer [2020-09-10T20:58:53.908Z] ed8968b2872e: Pulling fs layer [2020-09-10T20:58:53.908Z] a92cc7c5fd73: Pulling fs layer [2020-09-10T20:58:53.908Z] e871e8e8d7a9: Pulling fs layer [2020-09-10T20:58:53.908Z] e73272ec9a57: Pulling fs layer [2020-09-10T20:58:53.908Z] 1e910a182e73: Pulling fs layer [2020-09-10T20:58:53.908Z] 4e634b169226: Pulling fs layer [2020-09-10T20:58:53.908Z] e871e8e8d7a9: Waiting [2020-09-10T20:58:53.908Z] 4e634b169226: Waiting [2020-09-10T20:58:53.908Z] e73272ec9a57: Waiting [2020-09-10T20:58:53.908Z] 1e910a182e73: Waiting [2020-09-10T20:58:54.173Z] a92cc7c5fd73: Verifying Checksum [2020-09-10T20:58:54.173Z] a92cc7c5fd73: Download complete [2020-09-10T20:58:54.173Z] ed8968b2872e: Download complete [2020-09-10T20:58:54.173Z] e73272ec9a57: Verifying Checksum [2020-09-10T20:58:54.173Z] e73272ec9a57: Download complete [2020-09-10T20:58:54.173Z] 1e910a182e73: Verifying Checksum [2020-09-10T20:58:54.173Z] 1e910a182e73: Download complete [2020-09-10T20:58:54.173Z] df20fa9351a1: Verifying Checksum [2020-09-10T20:58:54.173Z] df20fa9351a1: Download complete [2020-09-10T20:58:54.755Z] df20fa9351a1: Pull complete [2020-09-10T20:58:54.755Z] ed8968b2872e: Pull complete [2020-09-10T20:58:55.715Z] 4e634b169226: Verifying Checksum [2020-09-10T20:58:55.715Z] 4e634b169226: Download complete [2020-09-10T20:58:55.715Z] a92cc7c5fd73: Pull complete [2020-09-10T20:58:56.267Z] ---> 7b90832cf7a3 [2020-09-10T20:58:56.267Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-10T20:58:56.267Z] ---> Running in 3cfd1c03bd93 [2020-09-10T20:58:56.267Z] Removing intermediate container 3cfd1c03bd93 [2020-09-10T20:58:56.267Z] ---> c98a4b28e17a [2020-09-10T20:58:56.267Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-10T20:58:56.267Z] ---> Running in 0abef1fe07bf [2020-09-10T20:58:56.668Z] e871e8e8d7a9: Verifying Checksum [2020-09-10T20:58:56.668Z] e871e8e8d7a9: Download complete [2020-09-10T20:58:57.703Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-10T20:58:58.295Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-10T20:58:59.274Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-10T20:58:59.548Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-10T20:58:59.548Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-10T20:58:59.548Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-10T20:58:59.824Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-10T20:58:59.824Z] Executing busybox-1.31.1-r16.trigger [2020-09-10T20:58:59.824Z] OK: 144 MiB in 44 packages [2020-09-10T20:59:00.914Z] e871e8e8d7a9: Pull complete [2020-09-10T20:59:01.175Z] e73272ec9a57: Pull complete [2020-09-10T20:59:01.175Z] 1e910a182e73: Pull complete [2020-09-10T20:59:01.267Z] Removing intermediate container 0abef1fe07bf [2020-09-10T20:59:01.267Z] ---> f79e144b77da [2020-09-10T20:59:01.267Z] Step 6/8 : WORKDIR /build [2020-09-10T20:59:01.267Z] ---> Running in 2e6d44d1efba [2020-09-10T20:59:01.865Z] Removing intermediate container 2e6d44d1efba [2020-09-10T20:59:01.865Z] ---> 8756be1e5b96 [2020-09-10T20:59:01.865Z] Step 7/8 : COPY go.mod . [2020-09-10T20:59:02.462Z] ---> 02457eae35d1 [2020-09-10T20:59:02.462Z] Step 8/8 : RUN go mod download [2020-09-10T20:59:02.742Z] ---> Running in a7e20b0655c8 [2020-09-10T20:59:06.507Z] 4e634b169226: Pull complete [2020-09-10T20:59:06.507Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-10T20:59:06.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-10T20:59:06.507Z] ---> f7629b54cfaa [2020-09-10T20:59:06.507Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-10T20:59:06.507Z] latest: Pulling from library/docker [2020-09-10T20:59:06.507Z] df20fa9351a1: Already exists [2020-09-10T20:59:06.507Z] 25ad7478873d: Pulling fs layer [2020-09-10T20:59:06.507Z] 4684f6177b5d: Pulling fs layer [2020-09-10T20:59:06.507Z] 46e300cec669: Pulling fs layer [2020-09-10T20:59:06.507Z] 63038576ad94: Pulling fs layer [2020-09-10T20:59:06.507Z] 0fdb76c4706c: Pulling fs layer [2020-09-10T20:59:06.507Z] cb7edeffdfd5: Pulling fs layer [2020-09-10T20:59:06.507Z] 63038576ad94: Waiting [2020-09-10T20:59:06.507Z] 0fdb76c4706c: Waiting [2020-09-10T20:59:06.507Z] cb7edeffdfd5: Waiting [2020-09-10T20:59:06.507Z] 4684f6177b5d: Verifying Checksum [2020-09-10T20:59:06.507Z] 4684f6177b5d: Download complete [2020-09-10T20:59:06.507Z] 25ad7478873d: Verifying Checksum [2020-09-10T20:59:06.507Z] 25ad7478873d: Download complete [2020-09-10T20:59:06.507Z] 63038576ad94: Verifying Checksum [2020-09-10T20:59:06.507Z] 63038576ad94: Download complete [2020-09-10T20:59:06.507Z] 0fdb76c4706c: Verifying Checksum [2020-09-10T20:59:06.507Z] 0fdb76c4706c: Download complete [2020-09-10T20:59:06.507Z] cb7edeffdfd5: Verifying Checksum [2020-09-10T20:59:06.507Z] cb7edeffdfd5: Download complete [2020-09-10T20:59:06.507Z] 25ad7478873d: Pull complete [2020-09-10T20:59:06.773Z] 4684f6177b5d: Pull complete [2020-09-10T20:59:07.038Z] 46e300cec669: Verifying Checksum [2020-09-10T20:59:07.038Z] 46e300cec669: Download complete [2020-09-10T20:59:09.615Z] 46e300cec669: Pull complete [2020-09-10T20:59:09.615Z] 63038576ad94: Pull complete [2020-09-10T20:59:09.877Z] 0fdb76c4706c: Pull complete [2020-09-10T20:59:09.877Z] cb7edeffdfd5: Pull complete [2020-09-10T20:59:09.877Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-10T20:59:09.877Z] Status: Downloaded newer image for docker:latest [2020-09-10T20:59:11.798Z] ---> 2f65cda4d98a [2020-09-10T20:59:11.798Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-10T20:59:11.798Z] ---> Running in 2c2bc6952c2b [2020-09-10T20:59:11.798Z] Removing intermediate container 2c2bc6952c2b [2020-09-10T20:59:11.798Z] ---> dbde32375deb [2020-09-10T20:59:11.798Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-10T20:59:11.798Z] ---> Running in 4da1ca76aa86 [2020-09-10T20:59:12.373Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-10T20:59:13.321Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-10T20:59:13.896Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-10T20:59:14.158Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-10T20:59:14.158Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-10T20:59:14.420Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-10T20:59:14.420Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-10T20:59:14.420Z] Executing busybox-1.31.1-r16.trigger [2020-09-10T20:59:14.420Z] OK: 167 MiB in 44 packages [2020-09-10T20:59:14.996Z] Removing intermediate container 4da1ca76aa86 [2020-09-10T20:59:14.996Z] ---> 37ba8be4cfa9 [2020-09-10T20:59:14.996Z] Step 6/8 : WORKDIR /build [2020-09-10T20:59:15.258Z] ---> Running in a348dd5e80e5 [2020-09-10T20:59:15.258Z] Removing intermediate container a348dd5e80e5 [2020-09-10T20:59:15.258Z] ---> 3844727c2927 [2020-09-10T20:59:15.258Z] Step 7/8 : COPY go.mod . [2020-09-10T20:59:15.531Z] ---> 4cebdb7efaa3 [2020-09-10T20:59:15.531Z] Step 8/8 : RUN go mod download [2020-09-10T20:59:15.531Z] ---> Running in 7f1b96fb15e3 [2020-09-10T20:59:29.576Z] Removing intermediate container a7e20b0655c8 [2020-09-10T20:59:29.576Z] ---> abe6da9eba3d [2020-09-10T20:59:29.576Z] Successfully built abe6da9eba3d [2020-09-10T20:59:29.576Z] 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-09-10T20:59:30.313Z] + docker inspect -f . ci-base-image-arm64 [2020-09-10T20:59:30.313Z] . [Pipeline] withDockerContainer [2020-09-10T20:59:30.559Z] prd-ubuntu18.04-docker-arm64-4c-16g-2178 does not seem to be running inside a container [2020-09-10T20:59:30.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-10T20:59:32.535Z] $ docker top ed33652f18c4292f74cebe1e3f1dac78542dbdae89d65c3edcbc66f5c6221923 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T20:59:33.995Z] + go version [2020-09-10T20:59:33.995Z] go version go1.15.2 linux/arm64 [Pipeline] sh [2020-09-10T20:59:35.063Z] + make test [2020-09-10T20:59:35.063Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-10T20:59:37.054Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-10T20:59:42.174Z] Removing intermediate container 7f1b96fb15e3 [2020-09-10T20:59:42.174Z] ---> c5810fdfb3a5 [2020-09-10T20:59:42.174Z] Successfully built c5810fdfb3a5 [2020-09-10T20:59:42.174Z] 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-09-10T20:59:42.925Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-10T20:59:42.925Z] . [Pipeline] withDockerContainer [2020-09-10T20:59:43.041Z] prd-centos7-docker-4c-2g-2179 does not seem to be running inside a container [2020-09-10T20:59:43.074Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-10T20:59:43.923Z] $ docker top 4adf1c4c4fcf3ed71e802c4539468d1ebfa3d08dd09bbb808a44b870e4a3bbde -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T20:59:44.558Z] + go version [2020-09-10T20:59:44.558Z] go version go1.15.2 linux/amd64 [Pipeline] sh [2020-09-10T20:59:44.871Z] + make test [2020-09-10T20:59:44.871Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-10T20:59:46.807Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-10T20:59:54.584Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.096s coverage: 86.2% of statements [2020-09-10T21:00:03.961Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.071s coverage: 86.2% of statements [2020-09-10T21:00:09.611Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.027s coverage: 56.1% of statements [2020-09-10T21:00:09.611Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-10T21:00:09.611Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-10T21:00:09.611Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.035s coverage: 53.5% of statements [2020-09-10T21:00:09.611Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-10T21:00:09.611Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.304s coverage: 69.1% of statements [2020-09-10T21:00:21.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.480s coverage: 73.2% of statements [2020-09-10T21:00:21.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements [2020-09-10T21:00:21.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-09-10T21:00:21.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.075s coverage: 100.0% of statements [2020-09-10T21:00:21.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements [2020-09-10T21:00:21.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.006s coverage: 100.0% of statements [2020-09-10T21:00:21.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-10T21:00:21.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-10T21:00:21.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-10T21:00:21.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-10T21:00:21.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-10T21:00:21.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-10T21:00:21.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-10T21:00:21.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-09-10T21:00:21.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-10T21:00:21.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements [2020-09-10T21:00:21.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-10T21:00:21.859Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-10T21:00:21.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 9.4% of statements [2020-09-10T21:00:21.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.011s coverage: 75.0% of statements [2020-09-10T21:00:21.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.011s coverage: 89.3% of statements [2020-09-10T21:00:21.859Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2020-09-10T21:00:21.859Z] level=ERROR ts=2020-09-10T21:00:10.526381807Z app=app_functions_sdk_go source=server.go:122 msg="Error encoding the data: json: unsupported value: +Inf" [2020-09-10T21:00:21.859Z] level=INFO ts=2020-09-10T21:00:10.538744201Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T21:00:21.859Z] level=INFO ts=2020-09-10T21:00:10.553779147Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T21:00:21.859Z] level=INFO ts=2020-09-10T21:00:10.560041964Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T21:00:21.859Z] level=INFO ts=2020-09-10T21:00:10.566416733Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T21:00:21.859Z] level=INFO ts=2020-09-10T21:00:10.572604494Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T21:00:21.859Z] level=INFO ts=2020-09-10T21:00:10.578252235Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T21:00:21.859Z] level=INFO ts=2020-09-10T21:00:10.584316852Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T21:00:21.859Z] level=INFO ts=2020-09-10T21:00:10.58972736Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T21:00:21.859Z] level=INFO ts=2020-09-10T21:00:10.596390283Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T21:00:21.859Z] level=INFO ts=2020-09-10T21:00:10.602394208Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T21:00:21.859Z] level=ERROR ts=2020-09-10T21:00:10.626159269Z app=app_functions_sdk_go source=server.go:268 msg="Storing secret failed: can't store secret(s) 'SecretProvider' is not properly initialized" [2020-09-10T21:00:21.859Z] level=ERROR ts=2020-09-10T21:00:10.63154832Z app=app_functions_sdk_go source=server.go:268 msg="Storing secret failed: can't store secret(s) 'SecretProvider' is not properly initialized" [2020-09-10T21:00:21.859Z] level=ERROR ts=2020-09-10T21:00:10.636959304Z app=app_functions_sdk_go source=server.go:268 msg="Missing required field 'Secrets'" [2020-09-10T21:00:21.859Z] level=ERROR ts=2020-09-10T21:00:10.64221507Z app=app_functions_sdk_go source=server.go:268 msg="Failed to parse json payload: invalid character '<' looking for beginning of value" [2020-09-10T21:00:21.859Z] --- FAIL: TestPostSecretRoute (0.05s) [2020-09-10T21:00:21.859Z] --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret (0.01s) [2020-09-10T21:00:21.859Z] server_test.go:202: [2020-09-10T21:00:21.859Z] Error Trace: server_test.go:202 [2020-09-10T21:00:21.859Z] Error: Not equal: [2020-09-10T21:00:21.859Z] expected: 201 [2020-09-10T21:00:21.859Z] actual : 500 [2020-09-10T21:00:21.859Z] Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret [2020-09-10T21:00:21.859Z] Messages: Expected secret doesn't match postSecret [2020-09-10T21:00:21.859Z] --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets (0.01s) [2020-09-10T21:00:21.859Z] server_test.go:202: [2020-09-10T21:00:21.859Z] Error Trace: server_test.go:202 [2020-09-10T21:00:21.859Z] Error: Not equal: [2020-09-10T21:00:21.860Z] expected: 201 [2020-09-10T21:00:21.860Z] actual : 500 [2020-09-10T21:00:21.860Z] Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets [2020-09-10T21:00:21.860Z] Messages: Expected secret doesn't match postSecret [2020-09-10T21:00:21.860Z] FAIL [2020-09-10T21:00:21.860Z] coverage: 81.3% of statements [2020-09-10T21:00:21.860Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.133s [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:11.637203739Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:11.648238399Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:11.653747781Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:11.67485189Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:11.680678478Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:11.687402906Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:11.693035787Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:11.698368613Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:11.704585443Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:13.705047832Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:13.705403743Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:13.710143374Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:13.731611289Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:13.739925202Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:23.740514892Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:33.741509385Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:33.752010278Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:33.752128348Z app=app_functions_sdk_go source=batch.go:148 msg="Batch count has been reached" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:33.763334156Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:33.770365154Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:33.770498495Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:33.770646329Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.777065061Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.789615632Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.796153946Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.805936749Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.81515268Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.822399994Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.828952239Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.83584714Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.841671324Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.847256178Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.852541737Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.857819913Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.86351543Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.869359402Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.87276216Z app=app_functions_sdk_go source=context.go:78 msg="Marking event as pushed" [2020-09-10T21:00:39.990Z] level=ERROR ts=2020-09-10T21:00:36.876098164Z app=app_functions_sdk_go source=coredata.go:41 msg="No EventID or EventChecksum Provided" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.880001478Z app=app_functions_sdk_go source=context.go:101 msg="Pushing to CoreData" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.90655489Z app=app_functions_sdk_go source=encryption.go:60 msg="Encrypting with AES" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.910045543Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.913326448Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.916757129Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.920441794Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.924102379Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.928040568Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.931658009Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.935659539Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.939055873Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.942511337Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.990Z] level=DEBUG ts=2020-09-10T21:00:36.945660718Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.949178979Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.952413801Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.956401804Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.959825012Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.96327034Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.966536801Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.969721743Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.972947974Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.976743199Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.980086475Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.983901364Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] --- FAIL: TestFilterOutByValueDescriptor (0.03s) [2020-09-10T21:00:39.991Z] filter_test.go:215: [2020-09-10T21:00:39.991Z] Error Trace: filter_test.go:215 [2020-09-10T21:00:39.991Z] Error: Should be true [2020-09-10T21:00:39.991Z] Test: TestFilterOutByValueDescriptor [2020-09-10T21:00:39.991Z] Messages: Pipeline should continue [2020-09-10T21:00:39.991Z] filter_test.go:231: [2020-09-10T21:00:39.991Z] Error Trace: filter_test.go:231 [2020-09-10T21:00:39.991Z] Error: Should be true [2020-09-10T21:00:39.991Z] Test: TestFilterOutByValueDescriptor [2020-09-10T21:00:39.991Z] Messages: Pipeline should continue [2020-09-10T21:00:39.991Z] filter_test.go:235: [2020-09-10T21:00:39.991Z] Error Trace: filter_test.go:235 [2020-09-10T21:00:39.991Z] Error: Should be true [2020-09-10T21:00:39.991Z] Test: TestFilterOutByValueDescriptor [2020-09-10T21:00:39.991Z] Messages: Pipeline should continue [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.987698163Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.991366372Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.995688113Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:36.999935029Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.002689724Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.005699331Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.009961062Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.013386179Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.01716655Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.02071367Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.024294516Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.028674122Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.033361468Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.036923312Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.040099276Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.04416048Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.047426248Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T21:00:39.991Z] --- FAIL: TestHTTPPostWithSecrets (0.02s) [2020-09-10T21:00:39.991Z] http_test.go:121: Unexpected header name received application/json, expected application/json [2020-09-10T21:00:39.991Z] http_test.go:120: [2020-09-10T21:00:39.991Z] Error Trace: http_test.go:120 [2020-09-10T21:00:39.991Z] server.go:2042 [2020-09-10T21:00:39.991Z] server.go:2843 [2020-09-10T21:00:39.991Z] server.go:1925 [2020-09-10T21:00:39.991Z] asm_amd64.s:1374 [2020-09-10T21:00:39.991Z] Error: Not equal: [2020-09-10T21:00:39.991Z] expected: "" [2020-09-10T21:00:39.991Z] actual : "value" [2020-09-10T21:00:39.991Z] [2020-09-10T21:00:39.991Z] Diff: [2020-09-10T21:00:39.991Z] --- Expected [2020-09-10T21:00:39.991Z] +++ Actual [2020-09-10T21:00:39.991Z] @@ -1 +1 @@ [2020-09-10T21:00:39.991Z] - [2020-09-10T21:00:39.991Z] +value [2020-09-10T21:00:39.991Z] Test: TestHTTPPostWithSecrets [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.051283454Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.054947648Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.058686987Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.062253196Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.06584261Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.06886527Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.074087048Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T21:00:39.991Z] --- FAIL: TestMQTTValidateSecrets (0.00s) [2020-09-10T21:00:39.991Z] --- FAIL: TestMQTTValidateSecrets/CACert_no_error (0.00s) [2020-09-10T21:00:39.991Z] mqttsecret_test.go:154: [2020-09-10T21:00:39.991Z] Error Trace: mqttsecret_test.go:154 [2020-09-10T21:00:39.991Z] Error: Expected nil, but got: &errors.errorString{s:"Invalid AuthMode selected"} [2020-09-10T21:00:39.991Z] Test: TestMQTTValidateSecrets/CACert_no_error [2020-09-10T21:00:39.991Z] Messages: Should be nil [2020-09-10T21:00:39.991Z] --- FAIL: TestMQTTValidateSecrets/CACert_invalid_error (0.00s) [2020-09-10T21:00:39.991Z] mqttsecret_test.go:152: [2020-09-10T21:00:39.991Z] Error Trace: mqttsecret_test.go:152 [2020-09-10T21:00:39.991Z] Error: Not equal: [2020-09-10T21:00:39.991Z] expected: "Error parsing CA Certificate" [2020-09-10T21:00:39.991Z] actual : "Invalid AuthMode selected" [2020-09-10T21:00:39.991Z] [2020-09-10T21:00:39.991Z] Diff: [2020-09-10T21:00:39.991Z] --- Expected [2020-09-10T21:00:39.991Z] +++ Actual [2020-09-10T21:00:39.991Z] @@ -1 +1 @@ [2020-09-10T21:00:39.991Z] -Error parsing CA Certificate [2020-09-10T21:00:39.991Z] +Invalid AuthMode selected [2020-09-10T21:00:39.991Z] Test: TestMQTTValidateSecrets/CACert_invalid_error [2020-09-10T21:00:39.991Z] --- FAIL: TestMQTTClientGetSecrets (0.00s) [2020-09-10T21:00:39.991Z] --- FAIL: TestMQTTClientGetSecrets/Auth_With_Secrets (0.00s) [2020-09-10T21:00:39.991Z] mqttsecret_test.go:193: [2020-09-10T21:00:39.991Z] Error Trace: mqttsecret_test.go:193 [2020-09-10T21:00:39.991Z] Error: Not equal: [2020-09-10T21:00:39.991Z] expected: &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8(nil), certpemblock:[]uint8(nil), capemblock:[]uint8(nil)} [2020-09-10T21:00:39.991Z] actual : &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8{}, certpemblock:[]uint8{}, capemblock:[]uint8{}} [2020-09-10T21:00:39.991Z] [2020-09-10T21:00:39.991Z] Diff: [2020-09-10T21:00:39.991Z] --- Expected [2020-09-10T21:00:39.991Z] +++ Actual [2020-09-10T21:00:39.991Z] @@ -3,5 +3,8 @@ [2020-09-10T21:00:39.991Z] password: (string) (len=9) "TEST_PASS", [2020-09-10T21:00:39.991Z] - keypemblock: ([]uint8) , [2020-09-10T21:00:39.991Z] - certpemblock: ([]uint8) , [2020-09-10T21:00:39.991Z] - capemblock: ([]uint8) [2020-09-10T21:00:39.991Z] + keypemblock: ([]uint8) { [2020-09-10T21:00:39.991Z] + }, [2020-09-10T21:00:39.991Z] + certpemblock: ([]uint8) { [2020-09-10T21:00:39.991Z] + }, [2020-09-10T21:00:39.991Z] + capemblock: ([]uint8) { [2020-09-10T21:00:39.991Z] + } [2020-09-10T21:00:39.991Z] }) [2020-09-10T21:00:39.991Z] Test: TestMQTTClientGetSecrets/Auth_With_Secrets [2020-09-10T21:00:39.991Z] --- FAIL: TestSetRetryDataPersistFalse (0.00s) [2020-09-10T21:00:39.991Z] mqttsecret_test.go:342: [2020-09-10T21:00:39.991Z] Error Trace: mqttsecret_test.go:342 [2020-09-10T21:00:39.991Z] Error: Expected nil, but got: []byte{0x74, 0x65, 0x73, 0x74, 0x20, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65} [2020-09-10T21:00:39.991Z] Test: TestSetRetryDataPersistFalse [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.083469064Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.087053439Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.090528445Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.094575552Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.097764438Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.101013207Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.104111704Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.104258116Z app="Unit Test" source=tags.go:61 msg="Tags added to Event. Event tags=map[GatewayId:HoustonStore000123 Latitude:29.630771 Longitude:-95.377603]" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.104371246Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.104433279Z app="Unit Test" source=tags.go:61 msg="Tags added to Event. Event tags=map[GatewayId:HoustonStore000123 Latitude:29.630771 Longitude:-95.377603 Tag1:Value1 Tag2:Value2]" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.104489859Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.104509071Z app="Unit Test" source=tags.go:63 msg="No tags added to Event. Add tags list is empty." [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.104548134Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T21:00:39.991Z] level=DEBUG ts=2020-09-10T21:00:37.104597044Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T21:00:39.991Z] FAIL [2020-09-10T21:00:39.991Z] coverage: 70.9% of statements [2020-09-10T21:00:39.991Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.475s [2020-09-10T21:00:39.991Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-09-10T21:00:39.991Z] FAIL [2020-09-10T21:00:39.991Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-09-10T21:00:39.993Z] $ docker stop --time=1 4adf1c4c4fcf3ed71e802c4539468d1ebfa3d08dd09bbb808a44b870e4a3bbde [2020-09-10T21:00:41.609Z] $ docker rm -f 4adf1c4c4fcf3ed71e802c4539468d1ebfa3d08dd09bbb808a44b870e4a3bbde [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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-09-10T21:00:43.450Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.078s coverage: 56.1% of statements [2020-09-10T21:00:43.450Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-10T21:00:43.450Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-10T21:00:43.450Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.118s coverage: 53.5% of statements [2020-09-10T21:00:43.450Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-10T21:00:43.450Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.346s coverage: 69.1% of statements [Pipeline] // stage [Pipeline] } [2020-09-10T21:00:43.664Z] Failed in branch amd64 [2020-09-10T21:00:51.743Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.527s coverage: 73.2% of statements [2020-09-10T21:00:51.743Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.017s coverage: 89.5% of statements [2020-09-10T21:00:51.743Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.015s coverage: 100.0% of statements [2020-09-10T21:00:51.743Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.233s coverage: 100.0% of statements [2020-09-10T21:00:51.744Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2020-09-10T21:00:51.744Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements [2020-09-10T21:00:51.744Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-10T21:00:51.744Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-10T21:00:51.744Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-10T21:00:51.744Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-10T21:00:51.744Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-10T21:00:51.744Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-10T21:00:51.744Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-10T21:00:51.744Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.013s coverage: 96.6% of statements [2020-09-10T21:00:51.744Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-10T21:00:51.744Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements [2020-09-10T21:00:51.744Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-10T21:00:51.744Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-10T21:00:51.744Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.022s coverage: 9.4% of statements [2020-09-10T21:00:53.173Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.037s coverage: 75.0% of statements [2020-09-10T21:00:53.174Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.039s coverage: 89.3% of statements [2020-09-10T21:00:53.174Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.027s coverage: 88.9% of statements [2020-09-10T21:00:53.174Z] level=ERROR ts=2020-09-10T21:00:48.669342503Z app=app_functions_sdk_go source=server.go:122 msg="Error encoding the data: json: unsupported value: +Inf" [2020-09-10T21:00:53.174Z] level=INFO ts=2020-09-10T21:00:48.816409296Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T21:00:53.174Z] level=INFO ts=2020-09-10T21:00:48.824038529Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T21:00:53.174Z] level=INFO ts=2020-09-10T21:00:48.832910682Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T21:00:53.174Z] level=INFO ts=2020-09-10T21:00:48.838804316Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T21:00:53.174Z] level=INFO ts=2020-09-10T21:00:48.845562649Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T21:00:53.174Z] level=INFO ts=2020-09-10T21:00:48.85204549Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T21:00:53.174Z] level=INFO ts=2020-09-10T21:00:48.860785203Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T21:00:53.174Z] level=INFO ts=2020-09-10T21:00:48.870564109Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T21:00:53.174Z] level=INFO ts=2020-09-10T21:00:48.881102966Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T21:00:53.174Z] level=INFO ts=2020-09-10T21:00:48.88935997Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T21:00:53.174Z] level=ERROR ts=2020-09-10T21:00:48.898884176Z app=app_functions_sdk_go source=server.go:268 msg="Storing secret failed: can't store secret(s) 'SecretProvider' is not properly initialized" [2020-09-10T21:00:53.174Z] level=ERROR ts=2020-09-10T21:00:48.906462505Z app=app_functions_sdk_go source=server.go:268 msg="Storing secret failed: can't store secret(s) 'SecretProvider' is not properly initialized" [2020-09-10T21:00:53.174Z] level=ERROR ts=2020-09-10T21:00:48.913154893Z app=app_functions_sdk_go source=server.go:268 msg="Missing required field 'Secrets'" [2020-09-10T21:00:53.174Z] level=ERROR ts=2020-09-10T21:00:48.935097717Z app=app_functions_sdk_go source=server.go:268 msg="Failed to parse json payload: invalid character '<' looking for beginning of value" [2020-09-10T21:00:53.174Z] --- FAIL: TestPostSecretRoute (0.06s) [2020-09-10T21:00:53.174Z] --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret (0.01s) [2020-09-10T21:00:53.174Z] server_test.go:202: [2020-09-10T21:00:53.174Z] Error Trace: server_test.go:202 [2020-09-10T21:00:53.174Z] Error: Not equal: [2020-09-10T21:00:53.174Z] expected: 201 [2020-09-10T21:00:53.174Z] actual : 500 [2020-09-10T21:00:53.174Z] Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret [2020-09-10T21:00:53.174Z] Messages: Expected secret doesn't match postSecret [2020-09-10T21:00:53.174Z] --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets (0.01s) [2020-09-10T21:00:53.174Z] server_test.go:202: [2020-09-10T21:00:53.174Z] Error Trace: server_test.go:202 [2020-09-10T21:00:53.174Z] Error: Not equal: [2020-09-10T21:00:53.174Z] expected: 201 [2020-09-10T21:00:53.174Z] actual : 500 [2020-09-10T21:00:53.174Z] Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets [2020-09-10T21:00:53.174Z] Messages: Expected secret doesn't match postSecret [2020-09-10T21:00:53.174Z] FAIL [2020-09-10T21:00:53.174Z] coverage: 81.3% of statements [2020-09-10T21:00:53.174Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.298s [2020-09-10T21:01:19.952Z] level=DEBUG ts=2020-09-10T21:00:51.320048278Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:51.329663811Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:51.33512347Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:51.340738082Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:51.346127455Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:51.351213815Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:51.356705576Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:51.361692807Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:51.367623174Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:53.368536288Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:53.368857834Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:53.373247157Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:53.465570225Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:00:53.471503923Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:03.471947018Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:13.472333342Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:13.494559925Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:13.494876771Z app=app_functions_sdk_go source=batch.go:148 msg="Batch count has been reached" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:13.506031251Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:13.51358138Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:13.513837321Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:13.513911197Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.51943435Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.526135071Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.532113584Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.53800687Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.544001954Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.550285271Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.556194849Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.561214104Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.566109299Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.570891365Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.575697263Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.581396543Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.586601774Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.595131392Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.601889638Z app=app_functions_sdk_go source=context.go:78 msg="Marking event as pushed" [2020-09-10T21:01:19.953Z] level=ERROR ts=2020-09-10T21:01:16.608510552Z app=app_functions_sdk_go source=coredata.go:41 msg="No EventID or EventChecksum Provided" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.614413249Z app=app_functions_sdk_go source=context.go:101 msg="Pushing to CoreData" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.626646347Z app=app_functions_sdk_go source=encryption.go:60 msg="Encrypting with AES" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.637293906Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.643171371Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.648910284Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.654577062Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.661882022Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.667595793Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.673391841Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.678908056Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.684978777Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.690782895Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.697584104Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.703575058Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.711124928Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.716938967Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.722773188Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.728547404Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.734778847Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.740639161Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.746818329Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.752868678Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.759420797Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.766446484Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] --- FAIL: TestFilterOutByValueDescriptor (0.05s) [2020-09-10T21:01:19.953Z] filter_test.go:215: [2020-09-10T21:01:19.953Z] Error Trace: filter_test.go:215 [2020-09-10T21:01:19.953Z] Error: Should be true [2020-09-10T21:01:19.953Z] Test: TestFilterOutByValueDescriptor [2020-09-10T21:01:19.953Z] Messages: Pipeline should continue [2020-09-10T21:01:19.953Z] filter_test.go:231: [2020-09-10T21:01:19.953Z] Error Trace: filter_test.go:231 [2020-09-10T21:01:19.953Z] Error: Should be true [2020-09-10T21:01:19.953Z] Test: TestFilterOutByValueDescriptor [2020-09-10T21:01:19.953Z] Messages: Pipeline should continue [2020-09-10T21:01:19.953Z] filter_test.go:235: [2020-09-10T21:01:19.953Z] Error Trace: filter_test.go:235 [2020-09-10T21:01:19.953Z] Error: Should be true [2020-09-10T21:01:19.953Z] Test: TestFilterOutByValueDescriptor [2020-09-10T21:01:19.953Z] Messages: Pipeline should continue [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.772445509Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.778270569Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.785044346Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.792635329Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.798444118Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.806124728Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.813047437Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.819891629Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.82572506Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.833578064Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.839605741Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.84764583Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.856630946Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.86336704Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.86870054Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.875233228Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.880281575Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T21:01:19.953Z] --- FAIL: TestHTTPPostWithSecrets (0.04s) [2020-09-10T21:01:19.953Z] http_test.go:121: Unexpected header name received application/json, expected application/json [2020-09-10T21:01:19.953Z] http_test.go:120: [2020-09-10T21:01:19.953Z] Error Trace: http_test.go:120 [2020-09-10T21:01:19.953Z] server.go:2042 [2020-09-10T21:01:19.953Z] server.go:2843 [2020-09-10T21:01:19.953Z] server.go:1925 [2020-09-10T21:01:19.953Z] asm_arm64.s:1136 [2020-09-10T21:01:19.953Z] Error: Not equal: [2020-09-10T21:01:19.953Z] expected: "" [2020-09-10T21:01:19.953Z] actual : "value" [2020-09-10T21:01:19.953Z] [2020-09-10T21:01:19.953Z] Diff: [2020-09-10T21:01:19.953Z] --- Expected [2020-09-10T21:01:19.953Z] +++ Actual [2020-09-10T21:01:19.953Z] @@ -1 +1 @@ [2020-09-10T21:01:19.953Z] - [2020-09-10T21:01:19.953Z] +value [2020-09-10T21:01:19.953Z] Test: TestHTTPPostWithSecrets [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.888299233Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.893442208Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.899151879Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.904769282Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.911534729Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.917631981Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.925058921Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T21:01:19.953Z] --- FAIL: TestMQTTValidateSecrets (0.00s) [2020-09-10T21:01:19.953Z] --- FAIL: TestMQTTValidateSecrets/CACert_no_error (0.00s) [2020-09-10T21:01:19.953Z] mqttsecret_test.go:154: [2020-09-10T21:01:19.953Z] Error Trace: mqttsecret_test.go:154 [2020-09-10T21:01:19.953Z] Error: Expected nil, but got: &errors.errorString{s:"Invalid AuthMode selected"} [2020-09-10T21:01:19.953Z] Test: TestMQTTValidateSecrets/CACert_no_error [2020-09-10T21:01:19.953Z] Messages: Should be nil [2020-09-10T21:01:19.953Z] --- FAIL: TestMQTTValidateSecrets/CACert_invalid_error (0.00s) [2020-09-10T21:01:19.953Z] mqttsecret_test.go:152: [2020-09-10T21:01:19.953Z] Error Trace: mqttsecret_test.go:152 [2020-09-10T21:01:19.953Z] Error: Not equal: [2020-09-10T21:01:19.953Z] expected: "Error parsing CA Certificate" [2020-09-10T21:01:19.953Z] actual : "Invalid AuthMode selected" [2020-09-10T21:01:19.953Z] [2020-09-10T21:01:19.953Z] Diff: [2020-09-10T21:01:19.953Z] --- Expected [2020-09-10T21:01:19.953Z] +++ Actual [2020-09-10T21:01:19.953Z] @@ -1 +1 @@ [2020-09-10T21:01:19.953Z] -Error parsing CA Certificate [2020-09-10T21:01:19.953Z] +Invalid AuthMode selected [2020-09-10T21:01:19.953Z] Test: TestMQTTValidateSecrets/CACert_invalid_error [2020-09-10T21:01:19.953Z] --- FAIL: TestMQTTClientGetSecrets (0.00s) [2020-09-10T21:01:19.953Z] --- FAIL: TestMQTTClientGetSecrets/Auth_With_Secrets (0.00s) [2020-09-10T21:01:19.953Z] mqttsecret_test.go:193: [2020-09-10T21:01:19.953Z] Error Trace: mqttsecret_test.go:193 [2020-09-10T21:01:19.953Z] Error: Not equal: [2020-09-10T21:01:19.953Z] expected: &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8(nil), certpemblock:[]uint8(nil), capemblock:[]uint8(nil)} [2020-09-10T21:01:19.953Z] actual : &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8{}, certpemblock:[]uint8{}, capemblock:[]uint8{}} [2020-09-10T21:01:19.953Z] [2020-09-10T21:01:19.953Z] Diff: [2020-09-10T21:01:19.953Z] --- Expected [2020-09-10T21:01:19.953Z] +++ Actual [2020-09-10T21:01:19.953Z] @@ -3,5 +3,8 @@ [2020-09-10T21:01:19.953Z] password: (string) (len=9) "TEST_PASS", [2020-09-10T21:01:19.953Z] - keypemblock: ([]uint8) , [2020-09-10T21:01:19.953Z] - certpemblock: ([]uint8) , [2020-09-10T21:01:19.953Z] - capemblock: ([]uint8) [2020-09-10T21:01:19.953Z] + keypemblock: ([]uint8) { [2020-09-10T21:01:19.953Z] + }, [2020-09-10T21:01:19.953Z] + certpemblock: ([]uint8) { [2020-09-10T21:01:19.953Z] + }, [2020-09-10T21:01:19.953Z] + capemblock: ([]uint8) { [2020-09-10T21:01:19.953Z] + } [2020-09-10T21:01:19.953Z] }) [2020-09-10T21:01:19.953Z] Test: TestMQTTClientGetSecrets/Auth_With_Secrets [2020-09-10T21:01:19.953Z] --- FAIL: TestSetRetryDataPersistFalse (0.00s) [2020-09-10T21:01:19.953Z] mqttsecret_test.go:342: [2020-09-10T21:01:19.953Z] Error Trace: mqttsecret_test.go:342 [2020-09-10T21:01:19.953Z] Error: Expected nil, but got: []byte{0x74, 0x65, 0x73, 0x74, 0x20, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65} [2020-09-10T21:01:19.953Z] Test: TestSetRetryDataPersistFalse [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.939857135Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.945135692Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.950045288Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.955058473Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.960122522Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T21:01:19.953Z] level=DEBUG ts=2020-09-10T21:01:16.965191191Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T21:01:19.954Z] level=DEBUG ts=2020-09-10T21:01:16.970465867Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T21:01:19.954Z] level=DEBUG ts=2020-09-10T21:01:16.97063403Z app="Unit Test" source=tags.go:61 msg="Tags added to Event. Event tags=map[GatewayId:HoustonStore000123 Latitude:29.630771 Longitude:-95.377603]" [2020-09-10T21:01:19.954Z] level=DEBUG ts=2020-09-10T21:01:16.970953436Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T21:01:19.954Z] level=DEBUG ts=2020-09-10T21:01:16.971078856Z app="Unit Test" source=tags.go:61 msg="Tags added to Event. Event tags=map[GatewayId:HoustonStore000123 Latitude:29.630771 Longitude:-95.377603 Tag1:Value1 Tag2:Value2]" [2020-09-10T21:01:19.954Z] level=DEBUG ts=2020-09-10T21:01:16.971397032Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T21:01:19.954Z] level=DEBUG ts=2020-09-10T21:01:16.97150209Z app="Unit Test" source=tags.go:63 msg="No tags added to Event. Add tags list is empty." [2020-09-10T21:01:19.954Z] level=DEBUG ts=2020-09-10T21:01:16.971762251Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T21:01:19.954Z] level=DEBUG ts=2020-09-10T21:01:16.972069026Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T21:01:19.954Z] FAIL [2020-09-10T21:01:19.954Z] coverage: 70.9% of statements [2020-09-10T21:01:19.954Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.672s [2020-09-10T21:01:19.954Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-09-10T21:01:19.954Z] FAIL [2020-09-10T21:01:19.954Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-09-10T21:01:19.981Z] $ docker stop --time=1 ed33652f18c4292f74cebe1e3f1dac78542dbdae89d65c3edcbc66f5c6221923 [2020-09-10T21:01:21.989Z] $ docker rm -f ed33652f18c4292f74cebe1e3f1dac78542dbdae89d65c3edcbc66f5c6221923 [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] stage [Pipeline] { (Snap) Stage "Snap" 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-09-10T21:01:24.080Z] 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] { (Publish Swagger) Stage "Publish Swagger" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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-09-10T21:01:26.599Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T21:01:27.171Z] ---> package-listing.sh [2020-09-10T21:01:27.171Z] ++ facter osfamily [2020-09-10T21:01:27.171Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-10T21:01:27.171Z] + OS_FAMILY=redhat [2020-09-10T21:01:27.171Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-10T21:01:27.171Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-10T21:01:27.171Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-10T21:01:27.171Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-10T21:01:27.171Z] + PACKAGES=/tmp/packages_start.txt [2020-09-10T21:01:27.171Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-10T21:01:27.171Z] + PACKAGES=/tmp/packages_end.txt [2020-09-10T21:01:27.171Z] + case "${OS_FAMILY}" in [2020-09-10T21:01:27.171Z] + rpm -qa [2020-09-10T21:01:27.171Z] + sort [2020-09-10T21:01:31.391Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-10T21:01:31.391Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-10T21:01:31.391Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-10T21:01:31.391Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-10T21:01:31.391Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ [2020-09-10T21:01:31.391Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-10T21:01:31.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T21:01:31.881Z] [2020-09-10T21:01:31.881Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-10T21:01:32.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T21:01:32.232Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-10T21:01:32.232Z] df20fa9351a1: Pulling fs layer [2020-09-10T21:01:32.232Z] 36b3adc4ff6f: Pulling fs layer [2020-09-10T21:01:32.232Z] 8ad3a11d3b57: Pulling fs layer [2020-09-10T21:01:32.232Z] 46f8f816bc3b: Pulling fs layer [2020-09-10T21:01:32.232Z] 0dadc02b9964: Pulling fs layer [2020-09-10T21:01:32.232Z] ce6a7cf60c04: Pulling fs layer [2020-09-10T21:01:32.232Z] 7a184a31f384: Pulling fs layer [2020-09-10T21:01:32.232Z] 0879bd2ef858: Pulling fs layer [2020-09-10T21:01:32.232Z] 0dadc02b9964: Waiting [2020-09-10T21:01:32.232Z] ce6a7cf60c04: Waiting [2020-09-10T21:01:32.232Z] 7a184a31f384: Waiting [2020-09-10T21:01:32.232Z] 0879bd2ef858: Waiting [2020-09-10T21:01:32.232Z] 36b3adc4ff6f: Verifying Checksum [2020-09-10T21:01:32.232Z] 36b3adc4ff6f: Download complete [2020-09-10T21:01:32.232Z] 46f8f816bc3b: Verifying Checksum [2020-09-10T21:01:32.232Z] 46f8f816bc3b: Download complete [2020-09-10T21:01:32.494Z] 0dadc02b9964: Verifying Checksum [2020-09-10T21:01:32.494Z] 0dadc02b9964: Download complete [2020-09-10T21:01:32.494Z] ce6a7cf60c04: Verifying Checksum [2020-09-10T21:01:32.494Z] ce6a7cf60c04: Download complete [2020-09-10T21:01:32.494Z] 7a184a31f384: Verifying Checksum [2020-09-10T21:01:32.494Z] 7a184a31f384: Download complete [2020-09-10T21:01:32.494Z] df20fa9351a1: Download complete [2020-09-10T21:01:32.494Z] 8ad3a11d3b57: Verifying Checksum [2020-09-10T21:01:32.494Z] 8ad3a11d3b57: Download complete [2020-09-10T21:01:33.081Z] df20fa9351a1: Pull complete [2020-09-10T21:01:33.081Z] 0879bd2ef858: Verifying Checksum [2020-09-10T21:01:33.081Z] 0879bd2ef858: Download complete [2020-09-10T21:01:33.081Z] 36b3adc4ff6f: Pull complete [2020-09-10T21:01:33.665Z] 8ad3a11d3b57: Pull complete [2020-09-10T21:01:33.927Z] 46f8f816bc3b: Pull complete [2020-09-10T21:01:34.190Z] 0dadc02b9964: Pull complete [2020-09-10T21:01:34.190Z] ce6a7cf60c04: Pull complete [2020-09-10T21:01:34.452Z] 7a184a31f384: Pull complete [2020-09-10T21:01:37.036Z] 0879bd2ef858: Pull complete [2020-09-10T21:01:37.036Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-10T21:01:37.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T21:01:37.036Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-10T21:01:37.180Z] prd-centos7-docker-4c-2g-2177 does not seem to be running inside a container [2020-09-10T21:01:37.209Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/ndry_app-functions-sdk-go_PR-478 -v /w/workspace/ndry_app-functions-sdk-go_PR-478:/w/workspace/ndry_app-functions-sdk-go_PR-478:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-10T21:01:42.986Z] $ docker top 25c660077d1927967b61c6e7dff6c6f00f18519a5dc114c4d5fa5bb4ec78dbef -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T21:01:43.563Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-10T21:01:43.874Z] + ls /var/log/sa-host [2020-09-10T21:01:43.874Z] + sadf -c /var/log/sa-host/sa05 [2020-09-10T21:01:43.874Z] file_magic: OK [2020-09-10T21:01:43.874Z] HZ: Using current value: 100 [2020-09-10T21:01:43.874Z] file_header: OK [2020-09-10T21:01:43.874Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-10T21:01:43.874Z] Statistics: [2020-09-10T21:01:43.874Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-10T21:01:43.874Z] File successfully converted to sysstat format version 12.2.1 [2020-09-10T21:01:43.874Z] + sadf -c /var/log/sa-host/sa10 [2020-09-10T21:01:43.874Z] file_magic: OK [2020-09-10T21:01:43.874Z] HZ: Using current value: 100 [2020-09-10T21:01:43.874Z] file_header: OK [2020-09-10T21:01:43.874Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-10T21:01:43.874Z] Statistics: [2020-09-10T21:01:43.874Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-10T21:01:43.874Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-10T21:01:43.947Z] provisioning config files... [2020-09-10T21:01:43.970Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/config7622768731948890166tmp [Pipeline] { [Pipeline] echo [2020-09-10T21:01:44.046Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T21:01:44.344Z] ---> create-netrc.sh [Pipeline] echo [2020-09-10T21:01:44.356Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T21:01:44.659Z] ---> logs-deploy.sh [2020-09-10T21:01:44.659Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-478/3 [2020-09-10T21:01:44.659Z] INFO: archiving workspace using pattern(s): [2020-09-10T21:01:46.052Z] Archives upload complete. [2020-09-10T21:01:46.052Z] INFO: archiving logs to Nexus