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 bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d+b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 (9b311598ac17e19170b6ed4341b1631bfcde4eaf) 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-2138 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 Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d Merge succeeded, producing bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d Checking out Revision bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d (PR-478) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d # 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 bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d # timeout=10 Commit message: "build: Switch to use Go 1.15" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-10T18:02:01.076Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-10T18:02:01.352Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-10T18:02:01.456Z] ========================================================= [2020-09-10T18:02:01.457Z] EdgeX Global Pipelines Version Info [2020-09-10T18:02:01.457Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-10T18:02:03.343Z] ------------------- [2020-09-10T18:02:03.343Z] stable info: [2020-09-10T18:02:03.343Z] ------------------- [2020-09-10T18:02:03.343Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-10T18:02:03.343Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-10T18:02:03.343Z] Message: update stable to v1.0.119 [2020-09-10T18:02:03.916Z] ------------------- [2020-09-10T18:02:03.916Z] experimental info: [2020-09-10T18:02:03.916Z] ------------------- [2020-09-10T18:02:03.916Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-10T18:02:03.916Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-10T18:02:03.916Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-10T18:02:04.328Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-10T18:02:04.688Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-10T18:02:04.813Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-10T18:02:04.918Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-10T18:02:05.023Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-10T18:02:05.129Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-10T18:02:05.232Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-10T18:02:05.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-10T18:02:05.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-10T18:02:05.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-10T18:02:05.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-10T18:02:05.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-10T18:02:05.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-10T18:02:05.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-10T18:02:06.088Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T18:02:06.183Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T18:02:06.286Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T18:02:06.399Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T18:02:06.500Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-10T18:02:06.629Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-10T18:02:06.723Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-10T18:02:06.824Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-10T18:02:06.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-478 [Pipeline] echo [2020-09-10T18:02:07.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-478 [Pipeline] echo [2020-09-10T18:02:07.122Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-478 [Pipeline] echo [2020-09-10T18:02:07.219Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d [Pipeline] echo [2020-09-10T18:02:07.315Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bbc4f3b [Pipeline] echo [2020-09-10T18:02:07.476Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-10T18:02:08.107Z] + git log --format=format:%s -1 bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d [Pipeline] echo [2020-09-10T18:02:08.169Z] GIT_COMMIT: bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d, Commit Message: build: Switch to use Go 1.15 [Pipeline] echo [2020-09-10T18:02:08.219Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-10T18:02:09.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T18:02:09.471Z] [2020-09-10T18:02:09.471Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-10T18:02:09.828Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T18:02:09.828Z] latest: Pulling from edgex-devops/git-semver [2020-09-10T18:02:09.828Z] 31603596830f: Pulling fs layer [2020-09-10T18:02:09.829Z] 2a8b12db71e7: Pulling fs layer [2020-09-10T18:02:09.829Z] 6ca5941a6612: Pulling fs layer [2020-09-10T18:02:09.829Z] ecc8261a40a4: Pulling fs layer [2020-09-10T18:02:09.829Z] ecc8261a40a4: Waiting [2020-09-10T18:02:09.829Z] 2a8b12db71e7: Verifying Checksum [2020-09-10T18:02:09.829Z] 2a8b12db71e7: Download complete [2020-09-10T18:02:10.093Z] 31603596830f: Verifying Checksum [2020-09-10T18:02:10.093Z] 31603596830f: Download complete [2020-09-10T18:02:10.093Z] ecc8261a40a4: Verifying Checksum [2020-09-10T18:02:10.093Z] ecc8261a40a4: Download complete [2020-09-10T18:02:10.093Z] 6ca5941a6612: Verifying Checksum [2020-09-10T18:02:10.093Z] 6ca5941a6612: Download complete [2020-09-10T18:02:10.358Z] 31603596830f: Pull complete [2020-09-10T18:02:10.623Z] 2a8b12db71e7: Pull complete [2020-09-10T18:02:11.583Z] 6ca5941a6612: Pull complete [2020-09-10T18:02:11.583Z] ecc8261a40a4: Pull complete [2020-09-10T18:02:11.583Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-10T18:02:11.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T18:02:11.583Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-10T18:02:11.714Z] prd-centos7-docker-4c-2g-2138 does not seem to be running inside a container [2020-09-10T18:02:11.762Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-10T18:02:14.161Z] $ docker top d49c65576964502b72bf6dba39519c127bf8e59cbbee3f269cb2e3d07a243db4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-10T18:02:14.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-10T18:02:14.528Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-10T18:02:14.740Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-10T18:02:14.744Z] $ docker exec d49c65576964502b72bf6dba39519c127bf8e59cbbee3f269cb2e3d07a243db4 ssh-agent [2020-09-10T18:02:14.923Z] SSH_AUTH_SOCK=/tmp/ssh-h0F2DsDrDeSD/agent.11 [2020-09-10T18:02:14.923Z] SSH_AGENT_PID=16 [2020-09-10T18:02:14.939Z] Running ssh-add (command line suppressed) [2020-09-10T18:02:15.061Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_5270110243309923490.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_5270110243309923490.key) [2020-09-10T18:02:15.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-10T18:02:15.457Z] + git describe --exact-match --tags HEAD [2020-09-10T18:02:15.457Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-10T18:02:15.480Z] $ docker exec --env ******** --env ******** d49c65576964502b72bf6dba39519c127bf8e59cbbee3f269cb2e3d07a243db4 ssh-agent -k [2020-09-10T18:02:15.602Z] unset SSH_AUTH_SOCK; [2020-09-10T18:02:15.602Z] unset SSH_AGENT_PID; [2020-09-10T18:02:15.602Z] echo Agent pid 16 killed; [2020-09-10T18:02:15.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-10T18:02:15.747Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-10T18:02:15.747Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-10T18:02:15.867Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-10T18:02:15.867Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-10T18:02:16.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-10T18:02:16.041Z] $ docker exec d49c65576964502b72bf6dba39519c127bf8e59cbbee3f269cb2e3d07a243db4 ssh-agent [2020-09-10T18:02:16.202Z] SSH_AUTH_SOCK=/tmp/ssh-rqYkUbXqeehu/agent.44 [2020-09-10T18:02:16.202Z] SSH_AGENT_PID=49 [2020-09-10T18:02:16.209Z] Running ssh-add (command line suppressed) [2020-09-10T18:02:16.336Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_5897417318888899132.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_5897417318888899132.key) [2020-09-10T18:02:16.388Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-10T18:02:16.726Z] + git semver init [2020-09-10T18:02:16.726Z] # -> Open(): unable to determine branch for HEAD [2020-09-10T18:02:16.726Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.git [2020-09-10T18:02:16.726Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-10T18:02:16.726Z] # $SEMVER_REMOTE_NAME = origin [2020-09-10T18:02:16.726Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-10T18:02:16.726Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-10T18:02:16.726Z] # $SEMVER_BRANCH = PR-478 [2020-09-10T18:02:16.726Z] # $SEMVER_TEMP = /tmp/semver-076680674 [2020-09-10T18:02:16.726Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-10T18:02:20.034Z] # '/tmp/semver-076680674' -> '/w/workspace/ndry_app-functions-sdk-go_PR-478/.semver' [2020-09-10T18:02:20.034Z] # -> Force: false [2020-09-10T18:02:20.034Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.semver [Pipeline] } [2020-09-10T18:02:20.047Z] $ docker exec --env ******** --env ******** d49c65576964502b72bf6dba39519c127bf8e59cbbee3f269cb2e3d07a243db4 ssh-agent -k [2020-09-10T18:02:20.170Z] unset SSH_AUTH_SOCK; [2020-09-10T18:02:20.171Z] unset SSH_AGENT_PID; [2020-09-10T18:02:20.171Z] echo Agent pid 49 killed; [2020-09-10T18:02:20.225Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-10T18:02:20.873Z] + git semver [Pipeline] } [2020-09-10T18:02:20.892Z] $ docker stop --time=1 d49c65576964502b72bf6dba39519c127bf8e59cbbee3f269cb2e3d07a243db4 [2020-09-10T18:02:22.354Z] $ docker rm -f d49c65576964502b72bf6dba39519c127bf8e59cbbee3f269cb2e3d07a243db4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-10T18:02:24.746Z] Stashed 40 file(s) [Pipeline] echo [2020-09-10T18:02:24.749Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-10T18:02:24.855Z] 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-10T18:02:40.335Z] Still waiting to schedule task [2020-09-10T18:02:40.335Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-10T18:02:40.338Z] Still waiting to schedule task [2020-09-10T18:02:40.338Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-10T18:04:28.534Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2139 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-10T18:04:28.606Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-09-10T18:04:33.593Z] using credential edgex-jenkins-ssh [2020-09-10T18:04:33.673Z] Cloning the remote Git repository [2020-09-10T18:04:33.673Z] Cloning with configured refspecs honoured and without tags [2020-09-10T18:04:33.740Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-10T18:04:33.854Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-09-10T18:04:33.925Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-10T18:04:33.926Z] > git --version # timeout=10 [2020-09-10T18:04:33.944Z] > git --version # 'git version 2.17.1' [2020-09-10T18:04:33.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T18:04:34.018Z] > 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-10T18:04:36.874Z] Fetching without tags [2020-09-10T18:04:37.460Z] Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d [2020-09-10T18:04:36.762Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-10T18:04:36.781Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-10T18:04:36.803Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T18:04:36.845Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-10T18:04:36.884Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-10T18:04:36.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T18:04:36.900Z] > 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-10T18:04:37.477Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T18:04:37.498Z] > git checkout -f bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d # timeout=10 [2020-09-10T18:04:37.805Z] Merge succeeded, producing bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d [2020-09-10T18:04:37.806Z] Checking out Revision bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d (PR-478) [2020-09-10T18:04:37.661Z] > git remote # timeout=10 [2020-09-10T18:04:37.691Z] > git config --get remote.origin.url # timeout=10 [2020-09-10T18:04:37.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T18:04:37.745Z] > git merge b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 [2020-09-10T18:04:37.779Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-10T18:04:37.810Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T18:04:37.838Z] > git checkout -f bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d # timeout=10 [2020-09-10T18:04:42.243Z] Commit message: "build: Switch to use Go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-10T18:04:43.814Z] Running on prd-centos7-docker-4c-2g-2142 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-10T18:04:43.879Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [Pipeline] echo [2020-09-10T18:04:45.745Z] ========================================================= [2020-09-10T18:04:45.745Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-10T18:04:45.745Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-10T18:04:46.808Z] + 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-10T18:04:48.254Z] Sending build context to Docker daemon 37.16MB [2020-09-10T18:04:48.254Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-10T18:04:48.254Z] Step 2/8 : FROM ${BASE} [2020-09-10T18:04:48.329Z] using credential edgex-jenkins-ssh [2020-09-10T18:04:48.388Z] Cloning the remote Git repository [2020-09-10T18:04:48.388Z] Cloning with configured refspecs honoured and without tags [2020-09-10T18:04:48.526Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-10T18:04:48.526Z] b538f80385f9: Pulling fs layer [2020-09-10T18:04:48.526Z] 74f711af9a0d: Pulling fs layer [2020-09-10T18:04:48.526Z] 99f96fe45779: Pulling fs layer [2020-09-10T18:04:48.526Z] 8529a6b9a6be: Pulling fs layer [2020-09-10T18:04:48.526Z] 45590311c82a: Pulling fs layer [2020-09-10T18:04:48.526Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-10T18:04:48.526Z] 209524e5b208: Pulling fs layer [2020-09-10T18:04:48.526Z] 8529a6b9a6be: Waiting [2020-09-10T18:04:48.526Z] 45590311c82a: Waiting [2020-09-10T18:04:48.526Z] 69ca0ff8b7b3: Waiting [2020-09-10T18:04:48.526Z] 209524e5b208: Waiting [2020-09-10T18:04:48.526Z] 99f96fe45779: Verifying Checksum [2020-09-10T18:04:48.526Z] 99f96fe45779: Download complete [2020-09-10T18:04:48.526Z] 74f711af9a0d: Verifying Checksum [2020-09-10T18:04:48.526Z] 74f711af9a0d: Download complete [2020-09-10T18:04:48.425Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-10T18:04:48.506Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-09-10T18:04:48.593Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-10T18:04:48.593Z] > git --version # timeout=10 [2020-09-10T18:04:48.606Z] > git --version # 'git version 2.16.5' [2020-09-10T18:04:48.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T18:04:48.654Z] > 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-10T18:04:49.123Z] 45590311c82a: Verifying Checksum [2020-09-10T18:04:49.123Z] 45590311c82a: Download complete [2020-09-10T18:04:49.123Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-10T18:04:49.123Z] 69ca0ff8b7b3: Download complete [2020-09-10T18:04:49.123Z] b538f80385f9: Download complete [2020-09-10T18:04:49.724Z] b538f80385f9: Pull complete [2020-09-10T18:04:50.326Z] 74f711af9a0d: Pull complete [2020-09-10T18:04:50.601Z] 99f96fe45779: Pull complete [2020-09-10T18:04:51.595Z] 209524e5b208: Verifying Checksum [2020-09-10T18:04:51.595Z] 209524e5b208: Download complete [2020-09-10T18:04:52.578Z] 8529a6b9a6be: Verifying Checksum [2020-09-10T18:04:52.578Z] 8529a6b9a6be: Download complete [2020-09-10T18:04:53.878Z] Fetching without tags [2020-09-10T18:04:53.828Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-10T18:04:53.835Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-10T18:04:53.860Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T18:04:53.870Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-10T18:04:53.881Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-10T18:04:53.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T18:04:53.885Z] > 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-10T18:04:54.288Z] Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d [2020-09-10T18:04:54.379Z] Merge succeeded, producing bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d [2020-09-10T18:04:54.379Z] Checking out Revision bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d (PR-478) [2020-09-10T18:04:54.294Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T18:04:54.300Z] > git checkout -f bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d # timeout=10 [2020-09-10T18:04:54.348Z] > git remote # timeout=10 [2020-09-10T18:04:54.352Z] > git config --get remote.origin.url # timeout=10 [2020-09-10T18:04:54.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T18:04:54.361Z] > git merge b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 [2020-09-10T18:04:54.372Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-10T18:04:54.380Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T18:04:54.387Z] > git checkout -f bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d # timeout=10 [2020-09-10T18:04:58.144Z] 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-10T18:04:59.987Z] ========================================================= [2020-09-10T18:04:59.987Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-10T18:04:59.987Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-10T18:05:00.696Z] + 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-10T18:05:02.093Z] Sending build context to Docker daemon 37.16MB [2020-09-10T18:05:02.093Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-10T18:05:02.093Z] Step 2/8 : FROM ${BASE} [2020-09-10T18:05:02.093Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-10T18:05:02.093Z] df20fa9351a1: Pulling fs layer [2020-09-10T18:05:02.093Z] ed8968b2872e: Pulling fs layer [2020-09-10T18:05:02.093Z] a92cc7c5fd73: Pulling fs layer [2020-09-10T18:05:02.093Z] e871e8e8d7a9: Pulling fs layer [2020-09-10T18:05:02.093Z] e73272ec9a57: Pulling fs layer [2020-09-10T18:05:02.093Z] 1e910a182e73: Pulling fs layer [2020-09-10T18:05:02.093Z] 4e634b169226: Pulling fs layer [2020-09-10T18:05:02.093Z] e73272ec9a57: Waiting [2020-09-10T18:05:02.093Z] 1e910a182e73: Waiting [2020-09-10T18:05:02.093Z] 4e634b169226: Waiting [2020-09-10T18:05:02.093Z] e871e8e8d7a9: Waiting [2020-09-10T18:05:02.093Z] a92cc7c5fd73: Verifying Checksum [2020-09-10T18:05:02.093Z] a92cc7c5fd73: Download complete [2020-09-10T18:05:02.093Z] ed8968b2872e: Verifying Checksum [2020-09-10T18:05:02.093Z] ed8968b2872e: Download complete [2020-09-10T18:05:02.093Z] e73272ec9a57: Verifying Checksum [2020-09-10T18:05:02.093Z] e73272ec9a57: Download complete [2020-09-10T18:05:02.357Z] df20fa9351a1: Verifying Checksum [2020-09-10T18:05:02.357Z] df20fa9351a1: Download complete [2020-09-10T18:05:02.357Z] 1e910a182e73: Verifying Checksum [2020-09-10T18:05:02.357Z] 1e910a182e73: Download complete [2020-09-10T18:05:02.633Z] df20fa9351a1: Pull complete [2020-09-10T18:05:02.783Z] 8529a6b9a6be: Pull complete [2020-09-10T18:05:02.783Z] 45590311c82a: Pull complete [2020-09-10T18:05:03.221Z] ed8968b2872e: Pull complete [2020-09-10T18:05:03.380Z] 69ca0ff8b7b3: Pull complete [2020-09-10T18:05:04.205Z] 4e634b169226: Verifying Checksum [2020-09-10T18:05:04.206Z] 4e634b169226: Download complete [2020-09-10T18:05:04.785Z] e871e8e8d7a9: Download complete [2020-09-10T18:05:05.740Z] a92cc7c5fd73: Pull complete [2020-09-10T18:05:07.697Z] 209524e5b208: Pull complete [2020-09-10T18:05:07.697Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-10T18:05:07.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-10T18:05:07.697Z] ---> 5bddaf1c2fca [2020-09-10T18:05:07.697Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-10T18:05:07.697Z] latest: Pulling from library/docker [2020-09-10T18:05:07.697Z] b538f80385f9: Already exists [2020-09-10T18:05:07.697Z] 259a493cd78d: Pulling fs layer [2020-09-10T18:05:07.697Z] b8e66b5100f5: Pulling fs layer [2020-09-10T18:05:07.697Z] 39dc9c94d07c: Pulling fs layer [2020-09-10T18:05:07.697Z] 551b823b3b82: Pulling fs layer [2020-09-10T18:05:07.697Z] 3c52a74df98c: Pulling fs layer [2020-09-10T18:05:07.697Z] 6c9b121b6998: Pulling fs layer [2020-09-10T18:05:07.697Z] 551b823b3b82: Waiting [2020-09-10T18:05:07.697Z] 3c52a74df98c: Waiting [2020-09-10T18:05:07.697Z] 6c9b121b6998: Waiting [2020-09-10T18:05:07.697Z] b8e66b5100f5: Verifying Checksum [2020-09-10T18:05:07.697Z] b8e66b5100f5: Download complete [2020-09-10T18:05:07.697Z] 259a493cd78d: Verifying Checksum [2020-09-10T18:05:07.697Z] 259a493cd78d: Download complete [2020-09-10T18:05:07.697Z] 551b823b3b82: Verifying Checksum [2020-09-10T18:05:07.697Z] 551b823b3b82: Download complete [2020-09-10T18:05:07.976Z] 3c52a74df98c: Verifying Checksum [2020-09-10T18:05:07.976Z] 3c52a74df98c: Download complete [2020-09-10T18:05:07.976Z] 6c9b121b6998: Verifying Checksum [2020-09-10T18:05:07.976Z] 6c9b121b6998: Download complete [2020-09-10T18:05:08.252Z] 259a493cd78d: Pull complete [2020-09-10T18:05:08.847Z] b8e66b5100f5: Pull complete [2020-09-10T18:05:08.847Z] 39dc9c94d07c: Verifying Checksum [2020-09-10T18:05:08.847Z] 39dc9c94d07c: Download complete [2020-09-10T18:05:11.079Z] e871e8e8d7a9: Pull complete [2020-09-10T18:05:11.079Z] e73272ec9a57: Pull complete [2020-09-10T18:05:11.079Z] 1e910a182e73: Pull complete [2020-09-10T18:05:12.250Z] 39dc9c94d07c: Pull complete [2020-09-10T18:05:12.250Z] 551b823b3b82: Pull complete [2020-09-10T18:05:12.250Z] 3c52a74df98c: Pull complete [2020-09-10T18:05:12.524Z] 6c9b121b6998: Pull complete [2020-09-10T18:05:12.524Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-10T18:05:12.801Z] Status: Downloaded newer image for docker:latest [2020-09-10T18:05:18.224Z] ---> 68241230a123 [2020-09-10T18:05:18.224Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-10T18:05:18.500Z] ---> Running in 96b546e4a7d1 [2020-09-10T18:05:18.773Z] Removing intermediate container 96b546e4a7d1 [2020-09-10T18:05:18.773Z] ---> 28cf5d5ee31e [2020-09-10T18:05:18.773Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-10T18:05:19.046Z] ---> Running in 477189da10cd [2020-09-10T18:05:20.477Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-10T18:05:21.123Z] 4e634b169226: Pull complete [2020-09-10T18:05:21.123Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-10T18:05:21.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-10T18:05:21.123Z] ---> f7629b54cfaa [2020-09-10T18:05:21.123Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-10T18:05:21.123Z] latest: Pulling from library/docker [2020-09-10T18:05:21.123Z] df20fa9351a1: Already exists [2020-09-10T18:05:21.123Z] 25ad7478873d: Pulling fs layer [2020-09-10T18:05:21.123Z] 4684f6177b5d: Pulling fs layer [2020-09-10T18:05:21.123Z] 46e300cec669: Pulling fs layer [2020-09-10T18:05:21.123Z] 63038576ad94: Pulling fs layer [2020-09-10T18:05:21.123Z] 0fdb76c4706c: Pulling fs layer [2020-09-10T18:05:21.123Z] cb7edeffdfd5: Pulling fs layer [2020-09-10T18:05:21.123Z] 63038576ad94: Waiting [2020-09-10T18:05:21.123Z] 0fdb76c4706c: Waiting [2020-09-10T18:05:21.123Z] cb7edeffdfd5: Waiting [2020-09-10T18:05:21.123Z] 4684f6177b5d: Verifying Checksum [2020-09-10T18:05:21.123Z] 4684f6177b5d: Download complete [2020-09-10T18:05:21.123Z] 25ad7478873d: Verifying Checksum [2020-09-10T18:05:21.123Z] 25ad7478873d: Download complete [2020-09-10T18:05:21.123Z] 63038576ad94: Verifying Checksum [2020-09-10T18:05:21.123Z] 63038576ad94: Download complete [2020-09-10T18:05:21.123Z] 0fdb76c4706c: Download complete [2020-09-10T18:05:21.123Z] cb7edeffdfd5: Verifying Checksum [2020-09-10T18:05:21.123Z] cb7edeffdfd5: Download complete [2020-09-10T18:05:21.393Z] 25ad7478873d: Pull complete [2020-09-10T18:05:21.393Z] 4684f6177b5d: Pull complete [2020-09-10T18:05:21.450Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-10T18:05:21.973Z] 46e300cec669: Verifying Checksum [2020-09-10T18:05:21.973Z] 46e300cec669: Download complete [2020-09-10T18:05:22.043Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-10T18:05:22.314Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-10T18:05:22.314Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-10T18:05:22.583Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-10T18:05:22.583Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-10T18:05:22.583Z] Executing busybox-1.31.1-r16.trigger [2020-09-10T18:05:22.859Z] OK: 144 MiB in 44 packages [2020-09-10T18:05:24.291Z] Removing intermediate container 477189da10cd [2020-09-10T18:05:24.291Z] ---> 709c6da037f0 [2020-09-10T18:05:24.291Z] Step 6/8 : WORKDIR /build [2020-09-10T18:05:24.291Z] ---> Running in 815bc2ffd90c [2020-09-10T18:05:24.565Z] Removing intermediate container 815bc2ffd90c [2020-09-10T18:05:24.565Z] ---> 7e77f31a57ce [2020-09-10T18:05:24.565Z] Step 7/8 : COPY go.mod . [2020-09-10T18:05:24.571Z] 46e300cec669: Pull complete [2020-09-10T18:05:24.833Z] 63038576ad94: Pull complete [2020-09-10T18:05:24.833Z] 0fdb76c4706c: Pull complete [2020-09-10T18:05:25.096Z] cb7edeffdfd5: Pull complete [2020-09-10T18:05:25.096Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-10T18:05:25.096Z] Status: Downloaded newer image for docker:latest [2020-09-10T18:05:25.542Z] ---> e3f392bec126 [2020-09-10T18:05:25.542Z] Step 8/8 : RUN go mod download [2020-09-10T18:05:25.542Z] ---> Running in 0a1ae70dd1a7 [2020-09-10T18:05:27.024Z] ---> 25564ea3d2cc [2020-09-10T18:05:27.024Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-10T18:05:27.024Z] ---> Running in eb8c92a424c3 [2020-09-10T18:05:27.024Z] Removing intermediate container eb8c92a424c3 [2020-09-10T18:05:27.024Z] ---> 92b86595bf72 [2020-09-10T18:05:27.024Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-10T18:05:27.024Z] ---> Running in e4ee7c33afd7 [2020-09-10T18:05:27.601Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-10T18:05:28.553Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-10T18:05:29.129Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-10T18:05:29.129Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-10T18:05:29.393Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-10T18:05:29.393Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-10T18:05:29.393Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-10T18:05:29.654Z] Executing busybox-1.31.1-r16.trigger [2020-09-10T18:05:29.654Z] OK: 167 MiB in 44 packages [2020-09-10T18:05:30.231Z] Removing intermediate container e4ee7c33afd7 [2020-09-10T18:05:30.231Z] ---> 6dcd74994a87 [2020-09-10T18:05:30.231Z] Step 6/8 : WORKDIR /build [2020-09-10T18:05:30.231Z] ---> Running in 339e7f38f35a [2020-09-10T18:05:30.231Z] Removing intermediate container 339e7f38f35a [2020-09-10T18:05:30.231Z] ---> 59f1295fa949 [2020-09-10T18:05:30.231Z] Step 7/8 : COPY go.mod . [2020-09-10T18:05:30.497Z] ---> 28c43f39952d [2020-09-10T18:05:30.497Z] Step 8/8 : RUN go mod download [2020-09-10T18:05:30.760Z] ---> Running in 833d745e6856 [2020-09-10T18:05:57.427Z] Removing intermediate container 833d745e6856 [2020-09-10T18:05:57.427Z] ---> dd5b40296d9e [2020-09-10T18:05:57.427Z] Successfully built dd5b40296d9e [2020-09-10T18:05:57.427Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-09-10T18:05:57.886Z] Removing intermediate container 0a1ae70dd1a7 [2020-09-10T18:05:57.886Z] ---> 4a6377b0fad4 [2020-09-10T18:05:57.886Z] Successfully built 4a6377b0fad4 [2020-09-10T18:05:57.886Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-09-10T18:05:58.328Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-10T18:05:58.328Z] . [Pipeline] withDockerContainer [2020-09-10T18:05:58.467Z] prd-centos7-docker-4c-2g-2142 does not seem to be running inside a container [2020-09-10T18:05:58.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-10T18:05:59.420Z] $ docker top 4794ae9f50a8a59d4a6c1f516dabda06dba649fb24d06c575ab4289bb679071d -eo pid,comm [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-10T18:06:00.016Z] + go version [2020-09-10T18:06:00.016Z] go version go1.15.2 linux/amd64 [Pipeline] sh [2020-09-10T18:06:00.225Z] + docker inspect -f . ci-base-image-arm64 [2020-09-10T18:06:00.225Z] . [Pipeline] withDockerContainer [2020-09-10T18:06:00.324Z] + make test [2020-09-10T18:06:00.324Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-10T18:06:00.498Z] prd-ubuntu18.04-docker-arm64-4c-16g-2139 does not seem to be running inside a container [2020-09-10T18:06:00.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-10T18:06:02.262Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-10T18:06:02.513Z] $ docker top 363858d013ac31cf5bfc18b0257d9fccba7d2fa4115a23fa28d2b4e3f4039666 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T18:06:03.960Z] + go version [2020-09-10T18:06:03.960Z] go version go1.15.2 linux/arm64 [Pipeline] sh [2020-09-10T18:06:05.007Z] + make test [2020-09-10T18:06:05.007Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-10T18:06:06.986Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-10T18:06:10.502Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.208s coverage: 86.2% of statements [2020-09-10T18:06:25.620Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.062s coverage: 56.1% of statements [2020-09-10T18:06:25.620Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-10T18:06:25.620Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-10T18:06:25.620Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.040s coverage: 53.5% of statements [2020-09-10T18:06:25.620Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-10T18:06:25.620Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.364s coverage: 69.1% of statements [2020-09-10T18:06:29.233Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.116s coverage: 86.2% of statements [2020-09-10T18:06:40.565Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.479s coverage: 73.2% of statements [2020-09-10T18:06:40.565Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.011s coverage: 89.5% of statements [2020-09-10T18:06:40.565Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-09-10T18:06:40.565Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.069s coverage: 100.0% of statements [2020-09-10T18:06:40.566Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-09-10T18:06:40.566Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-09-10T18:06:40.566Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-10T18:06:40.566Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-10T18:06:40.566Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-10T18:06:40.566Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-10T18:06:40.566Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-10T18:06:40.566Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-10T18:06:40.566Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-10T18:06:40.566Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-09-10T18:06:40.566Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-10T18:06:40.566Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-09-10T18:06:40.566Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-10T18:06:40.566Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-10T18:06:40.566Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.007s coverage: 9.4% of statements [2020-09-10T18:06:40.566Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.982s coverage: 75.0% of statements [2020-09-10T18:06:40.566Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.3% of statements [2020-09-10T18:06:40.566Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.019s coverage: 88.9% of statements [2020-09-10T18:06:40.566Z] level=ERROR ts=2020-09-10T18:06:28.000747346Z app=app_functions_sdk_go source=server.go:122 msg="Error encoding the data: json: unsupported value: +Inf" [2020-09-10T18:06:40.566Z] level=INFO ts=2020-09-10T18:06:28.014304099Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T18:06:40.566Z] level=INFO ts=2020-09-10T18:06:28.018698685Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T18:06:40.566Z] level=INFO ts=2020-09-10T18:06:28.023836425Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T18:06:40.566Z] level=INFO ts=2020-09-10T18:06:28.028598449Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T18:06:40.566Z] level=INFO ts=2020-09-10T18:06:28.033491046Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T18:06:40.566Z] level=INFO ts=2020-09-10T18:06:28.038431518Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T18:06:40.566Z] level=INFO ts=2020-09-10T18:06:28.043555792Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T18:06:40.566Z] level=INFO ts=2020-09-10T18:06:28.048336262Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T18:06:40.566Z] level=INFO ts=2020-09-10T18:06:28.054238908Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T18:06:40.566Z] level=INFO ts=2020-09-10T18:06:28.059289964Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T18:06:40.566Z] level=ERROR ts=2020-09-10T18:06:28.064693522Z 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-10T18:06:40.566Z] level=ERROR ts=2020-09-10T18:06:28.069422379Z 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-10T18:06:40.566Z] level=ERROR ts=2020-09-10T18:06:28.073765516Z app=app_functions_sdk_go source=server.go:268 msg="Missing required field 'Secrets'" [2020-09-10T18:06:40.566Z] level=ERROR ts=2020-09-10T18:06:28.077899643Z app=app_functions_sdk_go source=server.go:268 msg="Failed to parse json payload: invalid character '<' looking for beginning of value" [2020-09-10T18:06:40.566Z] --- FAIL: TestPostSecretRoute (0.03s) [2020-09-10T18:06:40.566Z] --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret (0.00s) [2020-09-10T18:06:40.566Z] server_test.go:202: [2020-09-10T18:06:40.566Z] Error Trace: server_test.go:202 [2020-09-10T18:06:40.566Z] Error: Not equal: [2020-09-10T18:06:40.566Z] expected: 201 [2020-09-10T18:06:40.566Z] actual : 500 [2020-09-10T18:06:40.566Z] Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret [2020-09-10T18:06:40.566Z] Messages: Expected secret doesn't match postSecret [2020-09-10T18:06:40.566Z] --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets (0.00s) [2020-09-10T18:06:40.566Z] server_test.go:202: [2020-09-10T18:06:40.566Z] Error Trace: server_test.go:202 [2020-09-10T18:06:40.566Z] Error: Not equal: [2020-09-10T18:06:40.566Z] expected: 201 [2020-09-10T18:06:40.566Z] actual : 500 [2020-09-10T18:06:40.566Z] Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets [2020-09-10T18:06:40.566Z] Messages: Expected secret doesn't match postSecret [2020-09-10T18:06:40.566Z] FAIL [2020-09-10T18:06:40.566Z] coverage: 81.3% of statements [2020-09-10T18:06:40.566Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.090s [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:29.131515323Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:29.143749025Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:29.150591333Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:29.154533472Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:29.158849337Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:29.163973101Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:29.16834661Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:29.173034324Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:29.177754509Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:31.178966384Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:31.179057584Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:31.183663478Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:31.196404392Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:31.20017992Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:41.200653384Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:51.201435812Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:51.20926515Z app=app_functions_sdk_go source=batch.go:148 msg="Batch count has been reached" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:51.20923746Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:51.214031159Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:51.222571968Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:51.222695488Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:51.222748271Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.227202354Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.237227283Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.24232517Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.247843067Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.253297795Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.259245952Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.2638408Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.268425233Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.272780682Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.277560454Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.281774639Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.286710303Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.291403536Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.299307291Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.301807379Z app=app_functions_sdk_go source=context.go:78 msg="Marking event as pushed" [2020-09-10T18:06:55.519Z] level=ERROR ts=2020-09-10T18:06:54.304312929Z app=app_functions_sdk_go source=coredata.go:41 msg="No EventID or EventChecksum Provided" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.306399978Z app=app_functions_sdk_go source=context.go:101 msg="Pushing to CoreData" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.318135111Z app=app_functions_sdk_go source=encryption.go:60 msg="Encrypting with AES" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.320570226Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.32292298Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.32524819Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.327774697Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.330149841Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.332418757Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.33480819Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.33733919Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.339773018Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.347013286Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.349233635Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.351601158Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.353908754Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.363769984Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.3662644Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.369037833Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.371871437Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.374552474Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.37696133Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.379510346Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.382070113Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.384727622Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] --- FAIL: TestFilterOutByValueDescriptor (0.02s) [2020-09-10T18:06:55.519Z] filter_test.go:215: [2020-09-10T18:06:55.519Z] Error Trace: filter_test.go:215 [2020-09-10T18:06:55.519Z] Error: Should be true [2020-09-10T18:06:55.519Z] Test: TestFilterOutByValueDescriptor [2020-09-10T18:06:55.519Z] Messages: Pipeline should continue [2020-09-10T18:06:55.519Z] filter_test.go:231: [2020-09-10T18:06:55.519Z] Error Trace: filter_test.go:231 [2020-09-10T18:06:55.519Z] Error: Should be true [2020-09-10T18:06:55.519Z] Test: TestFilterOutByValueDescriptor [2020-09-10T18:06:55.519Z] Messages: Pipeline should continue [2020-09-10T18:06:55.519Z] filter_test.go:235: [2020-09-10T18:06:55.519Z] Error Trace: filter_test.go:235 [2020-09-10T18:06:55.519Z] Error: Should be true [2020-09-10T18:06:55.519Z] Test: TestFilterOutByValueDescriptor [2020-09-10T18:06:55.519Z] Messages: Pipeline should continue [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.387271554Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.390026526Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.39334585Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.396493051Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.398711994Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.401479242Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.404474426Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.406674916Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.40912676Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.411754686Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.414286732Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.417056558Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.42014427Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.422833557Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.425307295Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.428356987Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.430963794Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T18:06:55.519Z] --- FAIL: TestHTTPPostWithSecrets (0.02s) [2020-09-10T18:06:55.519Z] http_test.go:121: Unexpected header name received application/json, expected application/json [2020-09-10T18:06:55.519Z] http_test.go:120: [2020-09-10T18:06:55.519Z] Error Trace: http_test.go:120 [2020-09-10T18:06:55.519Z] server.go:2042 [2020-09-10T18:06:55.519Z] server.go:2843 [2020-09-10T18:06:55.519Z] server.go:1925 [2020-09-10T18:06:55.519Z] asm_amd64.s:1374 [2020-09-10T18:06:55.519Z] Error: Not equal: [2020-09-10T18:06:55.519Z] expected: "" [2020-09-10T18:06:55.519Z] actual : "value" [2020-09-10T18:06:55.519Z] [2020-09-10T18:06:55.519Z] Diff: [2020-09-10T18:06:55.519Z] --- Expected [2020-09-10T18:06:55.519Z] +++ Actual [2020-09-10T18:06:55.519Z] @@ -1 +1 @@ [2020-09-10T18:06:55.519Z] - [2020-09-10T18:06:55.519Z] +value [2020-09-10T18:06:55.519Z] Test: TestHTTPPostWithSecrets [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.434274213Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.437000504Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.439624844Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.442060406Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" [2020-09-10T18:06:55.519Z] level=DEBUG ts=2020-09-10T18:06:54.444746802Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.447114795Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.449573003Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T18:06:55.520Z] --- FAIL: TestMQTTValidateSecrets (0.00s) [2020-09-10T18:06:55.520Z] --- FAIL: TestMQTTValidateSecrets/CACert_no_error (0.00s) [2020-09-10T18:06:55.520Z] mqttsecret_test.go:154: [2020-09-10T18:06:55.520Z] Error Trace: mqttsecret_test.go:154 [2020-09-10T18:06:55.520Z] Error: Expected nil, but got: &errors.errorString{s:"Invalid AuthMode selected"} [2020-09-10T18:06:55.520Z] Test: TestMQTTValidateSecrets/CACert_no_error [2020-09-10T18:06:55.520Z] Messages: Should be nil [2020-09-10T18:06:55.520Z] --- FAIL: TestMQTTValidateSecrets/CACert_invalid_error (0.00s) [2020-09-10T18:06:55.520Z] mqttsecret_test.go:152: [2020-09-10T18:06:55.520Z] Error Trace: mqttsecret_test.go:152 [2020-09-10T18:06:55.520Z] Error: Not equal: [2020-09-10T18:06:55.520Z] expected: "Error parsing CA Certificate" [2020-09-10T18:06:55.520Z] actual : "Invalid AuthMode selected" [2020-09-10T18:06:55.520Z] [2020-09-10T18:06:55.520Z] Diff: [2020-09-10T18:06:55.520Z] --- Expected [2020-09-10T18:06:55.520Z] +++ Actual [2020-09-10T18:06:55.520Z] @@ -1 +1 @@ [2020-09-10T18:06:55.520Z] -Error parsing CA Certificate [2020-09-10T18:06:55.520Z] +Invalid AuthMode selected [2020-09-10T18:06:55.520Z] Test: TestMQTTValidateSecrets/CACert_invalid_error [2020-09-10T18:06:55.520Z] --- FAIL: TestMQTTClientGetSecrets (0.00s) [2020-09-10T18:06:55.520Z] --- FAIL: TestMQTTClientGetSecrets/Auth_With_Secrets (0.00s) [2020-09-10T18:06:55.520Z] mqttsecret_test.go:193: [2020-09-10T18:06:55.520Z] Error Trace: mqttsecret_test.go:193 [2020-09-10T18:06:55.520Z] Error: Not equal: [2020-09-10T18:06:55.520Z] expected: &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8(nil), certpemblock:[]uint8(nil), capemblock:[]uint8(nil)} [2020-09-10T18:06:55.520Z] actual : &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8{}, certpemblock:[]uint8{}, capemblock:[]uint8{}} [2020-09-10T18:06:55.520Z] [2020-09-10T18:06:55.520Z] Diff: [2020-09-10T18:06:55.520Z] --- Expected [2020-09-10T18:06:55.520Z] +++ Actual [2020-09-10T18:06:55.520Z] @@ -3,5 +3,8 @@ [2020-09-10T18:06:55.520Z] password: (string) (len=9) "TEST_PASS", [2020-09-10T18:06:55.520Z] - keypemblock: ([]uint8) , [2020-09-10T18:06:55.520Z] - certpemblock: ([]uint8) , [2020-09-10T18:06:55.520Z] - capemblock: ([]uint8) [2020-09-10T18:06:55.520Z] + keypemblock: ([]uint8) { [2020-09-10T18:06:55.520Z] + }, [2020-09-10T18:06:55.520Z] + certpemblock: ([]uint8) { [2020-09-10T18:06:55.520Z] + }, [2020-09-10T18:06:55.520Z] + capemblock: ([]uint8) { [2020-09-10T18:06:55.520Z] + } [2020-09-10T18:06:55.520Z] }) [2020-09-10T18:06:55.520Z] Test: TestMQTTClientGetSecrets/Auth_With_Secrets [2020-09-10T18:06:55.520Z] --- FAIL: TestSetRetryDataPersistFalse (0.00s) [2020-09-10T18:06:55.520Z] mqttsecret_test.go:342: [2020-09-10T18:06:55.520Z] Error Trace: mqttsecret_test.go:342 [2020-09-10T18:06:55.520Z] Error: Expected nil, but got: []byte{0x74, 0x65, 0x73, 0x74, 0x20, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65} [2020-09-10T18:06:55.520Z] Test: TestSetRetryDataPersistFalse [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.454387666Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.456837729Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.459169964Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.461734731Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.470463076Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.47343243Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.475815619Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.475997069Z 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-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.476404357Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.476805567Z 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-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.476964873Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.476999953Z app="Unit Test" source=tags.go:63 msg="No tags added to Event. Add tags list is empty." [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.477044627Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T18:06:55.520Z] level=DEBUG ts=2020-09-10T18:06:54.477174847Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T18:06:55.520Z] FAIL [2020-09-10T18:06:55.520Z] coverage: 70.9% of statements [2020-09-10T18:06:55.520Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.355s [2020-09-10T18:06:55.520Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-09-10T18:06:55.520Z] FAIL [2020-09-10T18:06:55.520Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-09-10T18:06:55.537Z] $ docker stop --time=1 4794ae9f50a8a59d4a6c1f516dabda06dba649fb24d06c575ab4289bb679071d [2020-09-10T18:06:57.085Z] $ docker rm -f 4794ae9f50a8a59d4a6c1f516dabda06dba649fb24d06c575ab4289bb679071d [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-10T18:06:58.800Z] Failed in branch amd64 [2020-09-10T18:07:08.294Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.060s coverage: 56.1% of statements [2020-09-10T18:07:08.294Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-10T18:07:08.294Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-10T18:07:08.294Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.068s coverage: 53.5% of statements [2020-09-10T18:07:08.294Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-10T18:07:08.294Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.366s coverage: 69.1% of statements [2020-09-10T18:07:18.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.559s coverage: 73.2% of statements [2020-09-10T18:07:18.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.015s coverage: 89.5% of statements [2020-09-10T18:07:18.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.012s coverage: 100.0% of statements [2020-09-10T18:07:18.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.113s coverage: 100.0% of statements [2020-09-10T18:07:18.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.012s coverage: 100.0% of statements [2020-09-10T18:07:18.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.011s coverage: 100.0% of statements [2020-09-10T18:07:18.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-10T18:07:18.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-10T18:07:18.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-10T18:07:18.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-10T18:07:18.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-10T18:07:18.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-10T18:07:18.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-10T18:07:18.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.011s coverage: 96.6% of statements [2020-09-10T18:07:18.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-10T18:07:18.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.010s coverage: 97.7% of statements [2020-09-10T18:07:18.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-10T18:07:18.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-10T18:07:18.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.021s coverage: 9.4% of statements [2020-09-10T18:07:19.047Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.172s coverage: 75.0% of statements [2020-09-10T18:07:19.047Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.039s coverage: 89.3% of statements [2020-09-10T18:07:19.047Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.026s coverage: 88.9% of statements [2020-09-10T18:07:19.047Z] level=ERROR ts=2020-09-10T18:07:14.101647962Z app=app_functions_sdk_go source=server.go:122 msg="Error encoding the data: json: unsupported value: +Inf" [2020-09-10T18:07:19.047Z] level=INFO ts=2020-09-10T18:07:14.115785087Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T18:07:19.047Z] level=INFO ts=2020-09-10T18:07:14.122384056Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T18:07:19.047Z] level=INFO ts=2020-09-10T18:07:14.129244462Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T18:07:19.047Z] level=INFO ts=2020-09-10T18:07:14.135804437Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T18:07:19.047Z] level=INFO ts=2020-09-10T18:07:14.142856363Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T18:07:19.047Z] level=INFO ts=2020-09-10T18:07:14.149293105Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T18:07:19.047Z] level=INFO ts=2020-09-10T18:07:14.157082819Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T18:07:19.047Z] level=INFO ts=2020-09-10T18:07:14.16466178Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T18:07:19.047Z] level=INFO ts=2020-09-10T18:07:14.173485271Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-10T18:07:19.047Z] level=INFO ts=2020-09-10T18:07:14.179658795Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-10T18:07:19.047Z] level=ERROR ts=2020-09-10T18:07:14.186678598Z 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-10T18:07:19.047Z] level=ERROR ts=2020-09-10T18:07:14.19321275Z 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-10T18:07:19.047Z] level=ERROR ts=2020-09-10T18:07:14.210401335Z app=app_functions_sdk_go source=server.go:268 msg="Missing required field 'Secrets'" [2020-09-10T18:07:19.047Z] level=ERROR ts=2020-09-10T18:07:14.217073021Z app=app_functions_sdk_go source=server.go:268 msg="Failed to parse json payload: invalid character '<' looking for beginning of value" [2020-09-10T18:07:19.047Z] --- FAIL: TestPostSecretRoute (0.05s) [2020-09-10T18:07:19.047Z] --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret (0.01s) [2020-09-10T18:07:19.047Z] server_test.go:202: [2020-09-10T18:07:19.047Z] Error Trace: server_test.go:202 [2020-09-10T18:07:19.047Z] Error: Not equal: [2020-09-10T18:07:19.047Z] expected: 201 [2020-09-10T18:07:19.047Z] actual : 500 [2020-09-10T18:07:19.047Z] Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret [2020-09-10T18:07:19.047Z] Messages: Expected secret doesn't match postSecret [2020-09-10T18:07:19.047Z] --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets (0.02s) [2020-09-10T18:07:19.047Z] server_test.go:202: [2020-09-10T18:07:19.047Z] Error Trace: server_test.go:202 [2020-09-10T18:07:19.047Z] Error: Not equal: [2020-09-10T18:07:19.047Z] expected: 201 [2020-09-10T18:07:19.047Z] actual : 500 [2020-09-10T18:07:19.047Z] Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets [2020-09-10T18:07:19.047Z] Messages: Expected secret doesn't match postSecret [2020-09-10T18:07:19.047Z] FAIL [2020-09-10T18:07:19.047Z] coverage: 81.3% of statements [2020-09-10T18:07:19.047Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.146s [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:16.707210116Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:16.714916241Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:16.720539588Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:16.726256405Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:16.732660664Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:16.738380342Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:16.744431324Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:16.750295956Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:16.757169564Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:18.757665063Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:18.757697927Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:18.763220704Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:18.792639787Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:18.799026315Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:28.799794555Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:38.800080424Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:38.829283606Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:38.829495058Z app=app_functions_sdk_go source=batch.go:148 msg="Batch count has been reached" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:38.840162017Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:38.846703233Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:38.846975151Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:38.847325238Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.853463979Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.860992899Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.867717705Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.87463022Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.880808848Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.88739614Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.893706002Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.899490619Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.904395883Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.910707765Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.916356698Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.922355788Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.927911791Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.934066066Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.940098939Z app=app_functions_sdk_go source=context.go:78 msg="Marking event as pushed" [2020-09-10T18:07:45.818Z] level=ERROR ts=2020-09-10T18:07:41.945303855Z app=app_functions_sdk_go source=coredata.go:41 msg="No EventID or EventChecksum Provided" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.950634215Z app=app_functions_sdk_go source=context.go:101 msg="Pushing to CoreData" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.962321821Z app=app_functions_sdk_go source=encryption.go:60 msg="Encrypting with AES" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.96822461Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.973931299Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.979605264Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.985655869Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.991641727Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:41.997400062Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.003430784Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.00929723Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.015148844Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.020740741Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.026571213Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.033729774Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.039100077Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.044824198Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.050382221Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.055905531Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.079552963Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.084534535Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.818Z] level=DEBUG ts=2020-09-10T18:07:42.089767114Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.095498556Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.101122116Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.107001493Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.819Z] --- FAIL: TestFilterOutByValueDescriptor (0.06s) [2020-09-10T18:07:45.819Z] filter_test.go:215: [2020-09-10T18:07:45.819Z] Error Trace: filter_test.go:215 [2020-09-10T18:07:45.819Z] Error: Should be true [2020-09-10T18:07:45.819Z] Test: TestFilterOutByValueDescriptor [2020-09-10T18:07:45.819Z] Messages: Pipeline should continue [2020-09-10T18:07:45.819Z] filter_test.go:231: [2020-09-10T18:07:45.819Z] Error Trace: filter_test.go:231 [2020-09-10T18:07:45.819Z] Error: Should be true [2020-09-10T18:07:45.819Z] Test: TestFilterOutByValueDescriptor [2020-09-10T18:07:45.819Z] Messages: Pipeline should continue [2020-09-10T18:07:45.819Z] filter_test.go:235: [2020-09-10T18:07:45.819Z] Error Trace: filter_test.go:235 [2020-09-10T18:07:45.819Z] Error: Should be true [2020-09-10T18:07:45.819Z] Test: TestFilterOutByValueDescriptor [2020-09-10T18:07:45.819Z] Messages: Pipeline should continue [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.112588909Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.11821533Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.1245983Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.131855841Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.137307173Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.143193221Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.149329395Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.156631331Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.162935293Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.169994874Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.175915865Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.183534014Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.191572418Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.197279297Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.203177776Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.210394463Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.216223925Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-10T18:07:45.819Z] --- FAIL: TestHTTPPostWithSecrets (0.04s) [2020-09-10T18:07:45.819Z] http_test.go:121: Unexpected header name received application/json, expected application/json [2020-09-10T18:07:45.819Z] http_test.go:120: [2020-09-10T18:07:45.819Z] Error Trace: http_test.go:120 [2020-09-10T18:07:45.819Z] server.go:2042 [2020-09-10T18:07:45.819Z] server.go:2843 [2020-09-10T18:07:45.819Z] server.go:1925 [2020-09-10T18:07:45.819Z] asm_arm64.s:1136 [2020-09-10T18:07:45.819Z] Error: Not equal: [2020-09-10T18:07:45.819Z] expected: "" [2020-09-10T18:07:45.819Z] actual : "value" [2020-09-10T18:07:45.819Z] [2020-09-10T18:07:45.819Z] Diff: [2020-09-10T18:07:45.819Z] --- Expected [2020-09-10T18:07:45.819Z] +++ Actual [2020-09-10T18:07:45.819Z] @@ -1 +1 @@ [2020-09-10T18:07:45.819Z] - [2020-09-10T18:07:45.819Z] +value [2020-09-10T18:07:45.819Z] Test: TestHTTPPostWithSecrets [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.222993655Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.228724057Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.23447458Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.240346486Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.246187929Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.25181536Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.257780276Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-10T18:07:45.819Z] --- FAIL: TestMQTTValidateSecrets (0.00s) [2020-09-10T18:07:45.819Z] --- FAIL: TestMQTTValidateSecrets/CACert_no_error (0.00s) [2020-09-10T18:07:45.819Z] mqttsecret_test.go:154: [2020-09-10T18:07:45.819Z] Error Trace: mqttsecret_test.go:154 [2020-09-10T18:07:45.819Z] Error: Expected nil, but got: &errors.errorString{s:"Invalid AuthMode selected"} [2020-09-10T18:07:45.819Z] Test: TestMQTTValidateSecrets/CACert_no_error [2020-09-10T18:07:45.819Z] Messages: Should be nil [2020-09-10T18:07:45.819Z] --- FAIL: TestMQTTValidateSecrets/CACert_invalid_error (0.00s) [2020-09-10T18:07:45.819Z] mqttsecret_test.go:152: [2020-09-10T18:07:45.819Z] Error Trace: mqttsecret_test.go:152 [2020-09-10T18:07:45.819Z] Error: Not equal: [2020-09-10T18:07:45.819Z] expected: "Error parsing CA Certificate" [2020-09-10T18:07:45.819Z] actual : "Invalid AuthMode selected" [2020-09-10T18:07:45.819Z] [2020-09-10T18:07:45.819Z] Diff: [2020-09-10T18:07:45.819Z] --- Expected [2020-09-10T18:07:45.819Z] +++ Actual [2020-09-10T18:07:45.819Z] @@ -1 +1 @@ [2020-09-10T18:07:45.819Z] -Error parsing CA Certificate [2020-09-10T18:07:45.819Z] +Invalid AuthMode selected [2020-09-10T18:07:45.819Z] Test: TestMQTTValidateSecrets/CACert_invalid_error [2020-09-10T18:07:45.819Z] --- FAIL: TestMQTTClientGetSecrets (0.00s) [2020-09-10T18:07:45.819Z] --- FAIL: TestMQTTClientGetSecrets/Auth_With_Secrets (0.00s) [2020-09-10T18:07:45.819Z] mqttsecret_test.go:193: [2020-09-10T18:07:45.819Z] Error Trace: mqttsecret_test.go:193 [2020-09-10T18:07:45.819Z] Error: Not equal: [2020-09-10T18:07:45.819Z] expected: &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8(nil), certpemblock:[]uint8(nil), capemblock:[]uint8(nil)} [2020-09-10T18:07:45.819Z] actual : &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8{}, certpemblock:[]uint8{}, capemblock:[]uint8{}} [2020-09-10T18:07:45.819Z] [2020-09-10T18:07:45.819Z] Diff: [2020-09-10T18:07:45.819Z] --- Expected [2020-09-10T18:07:45.819Z] +++ Actual [2020-09-10T18:07:45.819Z] @@ -3,5 +3,8 @@ [2020-09-10T18:07:45.819Z] password: (string) (len=9) "TEST_PASS", [2020-09-10T18:07:45.819Z] - keypemblock: ([]uint8) , [2020-09-10T18:07:45.819Z] - certpemblock: ([]uint8) , [2020-09-10T18:07:45.819Z] - capemblock: ([]uint8) [2020-09-10T18:07:45.819Z] + keypemblock: ([]uint8) { [2020-09-10T18:07:45.819Z] + }, [2020-09-10T18:07:45.819Z] + certpemblock: ([]uint8) { [2020-09-10T18:07:45.819Z] + }, [2020-09-10T18:07:45.819Z] + capemblock: ([]uint8) { [2020-09-10T18:07:45.819Z] + } [2020-09-10T18:07:45.819Z] }) [2020-09-10T18:07:45.819Z] Test: TestMQTTClientGetSecrets/Auth_With_Secrets [2020-09-10T18:07:45.819Z] --- FAIL: TestSetRetryDataPersistFalse (0.00s) [2020-09-10T18:07:45.819Z] mqttsecret_test.go:342: [2020-09-10T18:07:45.819Z] Error Trace: mqttsecret_test.go:342 [2020-09-10T18:07:45.819Z] Error: Expected nil, but got: []byte{0x74, 0x65, 0x73, 0x74, 0x20, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65} [2020-09-10T18:07:45.819Z] Test: TestSetRetryDataPersistFalse [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.276098158Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.283054538Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.289988666Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.295821168Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.301114983Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.306058562Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-10T18:07:45.819Z] level=DEBUG ts=2020-09-10T18:07:42.312112908Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T18:07:45.820Z] level=DEBUG ts=2020-09-10T18:07:42.312390167Z 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-10T18:07:45.820Z] level=DEBUG ts=2020-09-10T18:07:42.312790249Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T18:07:45.820Z] level=DEBUG ts=2020-09-10T18:07:42.312924303Z 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-10T18:07:45.820Z] level=DEBUG ts=2020-09-10T18:07:42.313135695Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T18:07:45.820Z] level=DEBUG ts=2020-09-10T18:07:42.313232275Z app="Unit Test" source=tags.go:63 msg="No tags added to Event. Add tags list is empty." [2020-09-10T18:07:45.820Z] level=DEBUG ts=2020-09-10T18:07:42.313404223Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T18:07:45.820Z] level=DEBUG ts=2020-09-10T18:07:42.31366483Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-10T18:07:45.820Z] FAIL [2020-09-10T18:07:45.820Z] coverage: 70.9% of statements [2020-09-10T18:07:45.820Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.628s [2020-09-10T18:07:45.820Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.018s coverage: 94.4% of statements [2020-09-10T18:07:45.820Z] FAIL [2020-09-10T18:07:45.820Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-09-10T18:07:45.856Z] $ docker stop --time=1 363858d013ac31cf5bfc18b0257d9fccba7d2fa4115a23fa28d2b4e3f4039666 [2020-09-10T18:07:47.874Z] $ docker rm -f 363858d013ac31cf5bfc18b0257d9fccba7d2fa4115a23fa28d2b4e3f4039666 [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-10T18:07:49.805Z] 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-10T18:07:52.614Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T18:07:53.180Z] ---> package-listing.sh [2020-09-10T18:07:53.180Z] ++ facter osfamily [2020-09-10T18:07:53.180Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-10T18:07:53.180Z] + OS_FAMILY=redhat [2020-09-10T18:07:53.180Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-10T18:07:53.180Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-10T18:07:53.180Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-10T18:07:53.180Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-10T18:07:53.180Z] + PACKAGES=/tmp/packages_start.txt [2020-09-10T18:07:53.180Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-10T18:07:53.180Z] + PACKAGES=/tmp/packages_end.txt [2020-09-10T18:07:53.180Z] + case "${OS_FAMILY}" in [2020-09-10T18:07:53.180Z] + rpm -qa [2020-09-10T18:07:53.180Z] + sort [2020-09-10T18:07:57.417Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-10T18:07:57.417Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-10T18:07:57.417Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-10T18:07:57.417Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-10T18:07:57.417Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ [2020-09-10T18:07:57.417Z] + 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-10T18:07:57.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T18:07:57.970Z] [2020-09-10T18:07:57.970Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-10T18:07:58.322Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T18:07:58.322Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-10T18:07:58.322Z] df20fa9351a1: Pulling fs layer [2020-09-10T18:07:58.322Z] 36b3adc4ff6f: Pulling fs layer [2020-09-10T18:07:58.322Z] 8ad3a11d3b57: Pulling fs layer [2020-09-10T18:07:58.322Z] 46f8f816bc3b: Pulling fs layer [2020-09-10T18:07:58.322Z] 0dadc02b9964: Pulling fs layer [2020-09-10T18:07:58.322Z] ce6a7cf60c04: Pulling fs layer [2020-09-10T18:07:58.322Z] 7a184a31f384: Pulling fs layer [2020-09-10T18:07:58.322Z] 0879bd2ef858: Pulling fs layer [2020-09-10T18:07:58.322Z] ce6a7cf60c04: Waiting [2020-09-10T18:07:58.322Z] 7a184a31f384: Waiting [2020-09-10T18:07:58.322Z] 46f8f816bc3b: Waiting [2020-09-10T18:07:58.322Z] 0dadc02b9964: Waiting [2020-09-10T18:07:58.322Z] 0879bd2ef858: Waiting [2020-09-10T18:07:58.322Z] 36b3adc4ff6f: Verifying Checksum [2020-09-10T18:07:58.322Z] 36b3adc4ff6f: Download complete [2020-09-10T18:07:58.322Z] 46f8f816bc3b: Download complete [2020-09-10T18:07:58.588Z] df20fa9351a1: Download complete [2020-09-10T18:07:58.588Z] ce6a7cf60c04: Verifying Checksum [2020-09-10T18:07:58.588Z] ce6a7cf60c04: Download complete [2020-09-10T18:07:58.588Z] 0dadc02b9964: Verifying Checksum [2020-09-10T18:07:58.588Z] 0dadc02b9964: Download complete [2020-09-10T18:07:58.588Z] 7a184a31f384: Verifying Checksum [2020-09-10T18:07:58.588Z] 7a184a31f384: Download complete [2020-09-10T18:07:58.856Z] df20fa9351a1: Pull complete [2020-09-10T18:07:58.856Z] 8ad3a11d3b57: Verifying Checksum [2020-09-10T18:07:58.856Z] 8ad3a11d3b57: Download complete [2020-09-10T18:07:59.130Z] 36b3adc4ff6f: Pull complete [2020-09-10T18:07:59.130Z] 0879bd2ef858: Verifying Checksum [2020-09-10T18:07:59.130Z] 0879bd2ef858: Download complete [2020-09-10T18:07:59.704Z] 8ad3a11d3b57: Pull complete [2020-09-10T18:07:59.704Z] 46f8f816bc3b: Pull complete [2020-09-10T18:07:59.969Z] 0dadc02b9964: Pull complete [2020-09-10T18:08:00.232Z] ce6a7cf60c04: Pull complete [2020-09-10T18:08:00.232Z] 7a184a31f384: Pull complete [2020-09-10T18:08:02.819Z] 0879bd2ef858: Pull complete [2020-09-10T18:08:02.819Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-10T18:08:02.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T18:08:02.819Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-10T18:08:03.008Z] prd-centos7-docker-4c-2g-2138 does not seem to be running inside a container [2020-09-10T18:08:03.048Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-10T18:08:09.289Z] $ docker top 076e745cb237f08cd23a224193ea5a9aae5468af54b2d446ce5e2c221b9dd222 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T18:08:09.855Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-10T18:08:10.157Z] + ls /var/log/sa-host [2020-09-10T18:08:10.157Z] + sadf -c /var/log/sa-host/sa05 [2020-09-10T18:08:10.157Z] file_magic: OK [2020-09-10T18:08:10.157Z] HZ: Using current value: 100 [2020-09-10T18:08:10.157Z] file_header: OK [2020-09-10T18:08:10.157Z] 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-10T18:08:10.157Z] Statistics: [2020-09-10T18:08:10.157Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-10T18:08:10.157Z] File successfully converted to sysstat format version 12.2.1 [2020-09-10T18:08:10.157Z] + sadf -c /var/log/sa-host/sa10 [2020-09-10T18:08:10.157Z] file_magic: OK [2020-09-10T18:08:10.157Z] HZ: Using current value: 100 [2020-09-10T18:08:10.157Z] file_header: OK [2020-09-10T18:08:10.157Z] 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-10T18:08:10.157Z] Statistics: [2020-09-10T18:08:10.157Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-10T18:08:10.157Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-10T18:08:10.341Z] provisioning config files... [2020-09-10T18:08:10.359Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/config5638573952925265327tmp [Pipeline] { [Pipeline] echo [2020-09-10T18:08:10.509Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T18:08:10.804Z] ---> create-netrc.sh [Pipeline] echo [2020-09-10T18:08:10.815Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T18:08:11.110Z] ---> logs-deploy.sh [2020-09-10T18:08:11.110Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-478/2 [2020-09-10T18:08:11.110Z] INFO: archiving workspace using pattern(s): [2020-09-10T18:08:12.498Z] Archives upload complete. [2020-09-10T18:08:12.498Z] INFO: archiving logs to Nexus