Pull request #478 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 8dd39d4d515973c1552fac904a5be3429c579a0e+b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 (ab71d4db9d8cfb8e3c4052fd802b927a6b2050c7) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2177 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-478 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit 8dd39d4d515973c1552fac904a5be3429c579a0e Merge succeeded, producing 8dd39d4d515973c1552fac904a5be3429c579a0e Checking out Revision 8dd39d4d515973c1552fac904a5be3429c579a0e (PR-478) > git config core.sparsecheckout # timeout=10 > git checkout -f 8dd39d4d515973c1552fac904a5be3429c579a0e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8dd39d4d515973c1552fac904a5be3429c579a0e # timeout=10 Commit message: "build: Switch to use Go 1.15" First time build. Skipping changelog. > git rev-list --no-walk bbc4f3bdc5da56e7de5f0f10be7a61c93f5bfc2d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:54:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:54:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:54:38 ========================================================= 20:54:38 EdgeX Global Pipelines Version Info 20:54:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:54:40 ------------------- 20:54:40 stable info: 20:54:40 ------------------- 20:54:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:54:40 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 20:54:40 Message: update stable to v1.0.119 20:54:41 ------------------- 20:54:41 experimental info: 20:54:41 ------------------- 20:54:41 Commited By: **** collab-it+edgex@linuxfoundation.org 20:54:41 Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d 20:54:41 Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:54:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:54:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:54:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:54:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:54:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:54:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:54:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:54:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 20:54:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:54:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:54:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:54:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:54:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:54:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:54:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:54:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:54:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:54:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:54:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-478 [Pipeline] echo 20:54:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-478 [Pipeline] echo 20:54:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-478 [Pipeline] echo 20:54:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8dd39d4d515973c1552fac904a5be3429c579a0e [Pipeline] echo 20:54:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8dd39d4 [Pipeline] echo 20:54:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:54:44 + git log --format=format:%s -1 8dd39d4d515973c1552fac904a5be3429c579a0e [Pipeline] echo 20:54:45 GIT_COMMIT: 8dd39d4d515973c1552fac904a5be3429c579a0e, Commit Message: build: Switch to use Go 1.15 [Pipeline] echo 20:54:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:54:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:54:46 20:54:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:54:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:54:46 latest: Pulling from edgex-devops/git-semver 20:54:46 31603596830f: Pulling fs layer 20:54:46 2a8b12db71e7: Pulling fs layer 20:54:46 6ca5941a6612: Pulling fs layer 20:54:46 ecc8261a40a4: Pulling fs layer 20:54:46 ecc8261a40a4: Waiting 20:54:46 2a8b12db71e7: Verifying Checksum 20:54:46 2a8b12db71e7: Download complete 20:54:47 31603596830f: Download complete 20:54:47 ecc8261a40a4: Verifying Checksum 20:54:47 ecc8261a40a4: Download complete 20:54:47 6ca5941a6612: Verifying Checksum 20:54:47 6ca5941a6612: Download complete 20:54:47 31603596830f: Pull complete 20:54:47 2a8b12db71e7: Pull complete 20:54:48 6ca5941a6612: Pull complete 20:54:48 ecc8261a40a4: Pull complete 20:54:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:54:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:54:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:54:48 prd-centos7-docker-4c-2g-2177 does not seem to be running inside a container 20:54:48 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-478 -v /w/workspace/ndry_app-functions-sdk-go_PR-478:/w/workspace/ndry_app-functions-sdk-go_PR-478:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:54:51 $ docker top c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:54:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:51 [ssh-agent] Looking for ssh-agent implementation... 20:54:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:51 $ docker exec c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e ssh-agent 20:54:51 SSH_AUTH_SOCK=/tmp/ssh-rYW866FaPQtS/agent.12 20:54:51 SSH_AGENT_PID=17 20:54:51 Running ssh-add (command line suppressed) 20:54:51 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_3045860092541820228.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_3045860092541820228.key) 20:54:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:52 + git describe --exact-match --tags HEAD 20:54:52 fatal: No names found, cannot describe anything. [Pipeline] } 20:54:52 $ docker exec --env ******** --env ******** c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e ssh-agent -k 20:54:52 unset SSH_AUTH_SOCK; 20:54:52 unset SSH_AGENT_PID; 20:54:52 echo Agent pid 17 killed; 20:54:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:54:52 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:54:52 This usually means this commit has not been tagged. [Pipeline] sshagent 20:54:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:52 [ssh-agent] Looking for ssh-agent implementation... 20:54:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:52 $ docker exec c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e ssh-agent 20:54:52 SSH_AUTH_SOCK=/tmp/ssh-ssoaXBEHRfer/agent.47 20:54:52 SSH_AGENT_PID=52 20:54:52 Running ssh-add (command line suppressed) 20:54:53 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_3382836053334935598.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_3382836053334935598.key) 20:54:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:53 + git semver init 20:54:53 # -> Open(): unable to determine branch for HEAD 20:54:53 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.git 20:54:53 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-478 20:54:53 # $SEMVER_REMOTE_NAME = origin 20:54:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:54:53 # $SEMVER_USER_NAME = edgex-jenkins 20:54:53 # $SEMVER_BRANCH = PR-478 20:54:53 # $SEMVER_TEMP = /tmp/semver-972213348 20:54:53 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 20:54:56 # '/tmp/semver-972213348' -> '/w/workspace/ndry_app-functions-sdk-go_PR-478/.semver' 20:54:56 # -> Force: false 20:54:56 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.semver [Pipeline] } 20:54:56 $ docker exec --env ******** --env ******** c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e ssh-agent -k 20:54:56 unset SSH_AUTH_SOCK; 20:54:56 unset SSH_AGENT_PID; 20:54:56 echo Agent pid 52 killed; 20:54:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:54:56 + git semver [Pipeline] } 20:54:56 $ docker stop --time=1 c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e 20:54:58 $ docker rm -f c64926c0e3ef23bd0325b0719b4813287f6f26b4e51290803253e3e5d5c9fd3e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:55:00 Stashed 41 file(s) [Pipeline] echo 20:55:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 20:55:00 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 20:55:16 Still waiting to schedule task 20:55:16 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:55:16 Still waiting to schedule task 20:55:16 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 20:58:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2178 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws 20:58:04 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 20:58:09 using credential edgex-jenkins-ssh 20:58:09 Cloning the remote Git repository 20:58:09 Cloning with configured refspecs honoured and without tags 20:58:09 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:58:09 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 20:58:09 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:58:09 > git --version # timeout=10 20:58:09 > git --version # 'git version 2.17.1' 20:58:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:09 > 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 20:58:13 Fetching without tags 20:58:12 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:58:12 > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 20:58:13 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:58:13 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:58:13 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:58:13 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:13 > 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 20:58:13 Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit 8dd39d4d515973c1552fac904a5be3429c579a0e 20:58:13 Merge succeeded, producing 8dd39d4d515973c1552fac904a5be3429c579a0e 20:58:13 Checking out Revision 8dd39d4d515973c1552fac904a5be3429c579a0e (PR-478) 20:58:13 > git config core.sparsecheckout # timeout=10 20:58:13 > git checkout -f 8dd39d4d515973c1552fac904a5be3429c579a0e # timeout=10 20:58:13 > git remote # timeout=10 20:58:13 > git config --get remote.origin.url # timeout=10 20:58:13 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:13 > git merge b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 20:58:13 > git rev-parse HEAD^{commit} # timeout=10 20:58:13 > git config core.sparsecheckout # timeout=10 20:58:13 > git checkout -f 8dd39d4d515973c1552fac904a5be3429c579a0e # timeout=10 20:58:18 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 20:58:21 ========================================================= 20:58:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:58:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:58:22 + 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 . 20:58:24 Sending build context to Docker daemon 37.16MB 20:58:24 Step 1/8 : ARG BASE=golang:1.15-alpine 20:58:24 Step 2/8 : FROM ${BASE} 20:58:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:58:24 b538f80385f9: Pulling fs layer 20:58:24 74f711af9a0d: Pulling fs layer 20:58:24 99f96fe45779: Pulling fs layer 20:58:24 8529a6b9a6be: Pulling fs layer 20:58:24 45590311c82a: Pulling fs layer 20:58:24 69ca0ff8b7b3: Pulling fs layer 20:58:24 209524e5b208: Pulling fs layer 20:58:24 8529a6b9a6be: Waiting 20:58:24 45590311c82a: Waiting 20:58:24 69ca0ff8b7b3: Waiting 20:58:24 209524e5b208: Waiting 20:58:24 99f96fe45779: Verifying Checksum 20:58:24 99f96fe45779: Download complete 20:58:24 74f711af9a0d: Verifying Checksum 20:58:24 74f711af9a0d: Download complete 20:58:24 45590311c82a: Verifying Checksum 20:58:24 45590311c82a: Download complete 20:58:24 69ca0ff8b7b3: Download complete 20:58:25 b538f80385f9: Verifying Checksum 20:58:25 b538f80385f9: Download complete 20:58:26 b538f80385f9: Pull complete 20:58:26 74f711af9a0d: Pull complete 20:58:27 99f96fe45779: Pull complete 20:58:27 209524e5b208: Verifying Checksum 20:58:27 209524e5b208: Download complete 20:58:28 8529a6b9a6be: Verifying Checksum 20:58:28 8529a6b9a6be: Download complete 20:58:38 8529a6b9a6be: Pull complete 20:58:39 45590311c82a: Pull complete 20:58:39 69ca0ff8b7b3: Pull complete 20:58:42 Running on prd-centos7-docker-4c-2g-2179 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws 20:58:42 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 20:58:42 209524e5b208: Pull complete 20:58:43 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 20:58:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:58:43 ---> 5bddaf1c2fca 20:58:43 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 20:58:43 latest: Pulling from library/docker 20:58:43 b538f80385f9: Already exists 20:58:43 259a493cd78d: Pulling fs layer 20:58:43 b8e66b5100f5: Pulling fs layer 20:58:43 39dc9c94d07c: Pulling fs layer 20:58:43 551b823b3b82: Pulling fs layer 20:58:43 3c52a74df98c: Pulling fs layer 20:58:43 6c9b121b6998: Pulling fs layer 20:58:43 3c52a74df98c: Waiting 20:58:43 551b823b3b82: Waiting 20:58:43 6c9b121b6998: Waiting 20:58:43 b8e66b5100f5: Verifying Checksum 20:58:43 b8e66b5100f5: Download complete 20:58:43 259a493cd78d: Verifying Checksum 20:58:43 259a493cd78d: Download complete 20:58:43 551b823b3b82: Verifying Checksum 20:58:43 551b823b3b82: Download complete 20:58:44 3c52a74df98c: Verifying Checksum 20:58:44 3c52a74df98c: Download complete 20:58:44 6c9b121b6998: Verifying Checksum 20:58:44 6c9b121b6998: Download complete 20:58:44 259a493cd78d: Pull complete 20:58:44 b8e66b5100f5: Pull complete 20:58:44 39dc9c94d07c: Verifying Checksum 20:58:44 39dc9c94d07c: Download complete 20:58:45 using credential edgex-jenkins-ssh 20:58:45 Cloning the remote Git repository 20:58:45 Cloning with configured refspecs honoured and without tags 20:58:45 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:58:45 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 20:58:45 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:58:45 > git --version # timeout=10 20:58:45 > git --version # 'git version 2.16.5' 20:58:45 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:45 > 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 20:58:46 Fetching without tags 20:58:47 Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit 8dd39d4d515973c1552fac904a5be3429c579a0e 20:58:47 Merge succeeded, producing 8dd39d4d515973c1552fac904a5be3429c579a0e 20:58:47 Checking out Revision 8dd39d4d515973c1552fac904a5be3429c579a0e (PR-478) 20:58:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:58:46 > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 20:58:46 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:58:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:58:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:58:46 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:46 > 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 20:58:47 > git config core.sparsecheckout # timeout=10 20:58:47 > git checkout -f 8dd39d4d515973c1552fac904a5be3429c579a0e # timeout=10 20:58:47 > git remote # timeout=10 20:58:47 > git config --get remote.origin.url # timeout=10 20:58:47 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:47 > git merge b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 20:58:47 > git rev-parse HEAD^{commit} # timeout=10 20:58:47 > git config core.sparsecheckout # timeout=10 20:58:47 > git checkout -f 8dd39d4d515973c1552fac904a5be3429c579a0e # timeout=10 20:58:48 39dc9c94d07c: Pull complete 20:58:48 551b823b3b82: Pull complete 20:58:48 3c52a74df98c: Pull complete 20:58:49 6c9b121b6998: Pull complete 20:58:49 Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 20:58:49 Status: Downloaded newer image for docker:latest 20:58:50 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 20:58:52 ========================================================= 20:58:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:58:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:58:53 + 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 . 20:58:53 Sending build context to Docker daemon 37.16MB 20:58:53 Step 1/8 : ARG BASE=golang:1.15-alpine 20:58:53 Step 2/8 : FROM ${BASE} 20:58:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:58:53 df20fa9351a1: Pulling fs layer 20:58:53 ed8968b2872e: Pulling fs layer 20:58:53 a92cc7c5fd73: Pulling fs layer 20:58:53 e871e8e8d7a9: Pulling fs layer 20:58:53 e73272ec9a57: Pulling fs layer 20:58:53 1e910a182e73: Pulling fs layer 20:58:53 4e634b169226: Pulling fs layer 20:58:53 e871e8e8d7a9: Waiting 20:58:53 4e634b169226: Waiting 20:58:53 e73272ec9a57: Waiting 20:58:53 1e910a182e73: Waiting 20:58:54 a92cc7c5fd73: Verifying Checksum 20:58:54 a92cc7c5fd73: Download complete 20:58:54 ed8968b2872e: Download complete 20:58:54 e73272ec9a57: Verifying Checksum 20:58:54 e73272ec9a57: Download complete 20:58:54 1e910a182e73: Verifying Checksum 20:58:54 1e910a182e73: Download complete 20:58:54 df20fa9351a1: Verifying Checksum 20:58:54 df20fa9351a1: Download complete 20:58:54 df20fa9351a1: Pull complete 20:58:54 ed8968b2872e: Pull complete 20:58:55 4e634b169226: Verifying Checksum 20:58:55 4e634b169226: Download complete 20:58:55 a92cc7c5fd73: Pull complete 20:58:56 ---> 7b90832cf7a3 20:58:56 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:58:56 ---> Running in 3cfd1c03bd93 20:58:56 Removing intermediate container 3cfd1c03bd93 20:58:56 ---> c98a4b28e17a 20:58:56 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:58:56 ---> Running in 0abef1fe07bf 20:58:56 e871e8e8d7a9: Verifying Checksum 20:58:56 e871e8e8d7a9: Download complete 20:58:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:58:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:58:59 (1/5) Installing libsodium (1.0.18-r0) 20:58:59 (2/5) Installing libzmq (4.3.3-r0) 20:58:59 (3/5) Installing pkgconf (1.7.2-r0) 20:58:59 (4/5) Installing libsodium-dev (1.0.18-r0) 20:58:59 (5/5) Installing zeromq-dev (4.3.3-r0) 20:58:59 Executing busybox-1.31.1-r16.trigger 20:58:59 OK: 144 MiB in 44 packages 20:59:00 e871e8e8d7a9: Pull complete 20:59:01 e73272ec9a57: Pull complete 20:59:01 1e910a182e73: Pull complete 20:59:01 Removing intermediate container 0abef1fe07bf 20:59:01 ---> f79e144b77da 20:59:01 Step 6/8 : WORKDIR /build 20:59:01 ---> Running in 2e6d44d1efba 20:59:01 Removing intermediate container 2e6d44d1efba 20:59:01 ---> 8756be1e5b96 20:59:01 Step 7/8 : COPY go.mod . 20:59:02 ---> 02457eae35d1 20:59:02 Step 8/8 : RUN go mod download 20:59:02 ---> Running in a7e20b0655c8 20:59:06 4e634b169226: Pull complete 20:59:06 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 20:59:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:59:06 ---> f7629b54cfaa 20:59:06 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 20:59:06 latest: Pulling from library/docker 20:59:06 df20fa9351a1: Already exists 20:59:06 25ad7478873d: Pulling fs layer 20:59:06 4684f6177b5d: Pulling fs layer 20:59:06 46e300cec669: Pulling fs layer 20:59:06 63038576ad94: Pulling fs layer 20:59:06 0fdb76c4706c: Pulling fs layer 20:59:06 cb7edeffdfd5: Pulling fs layer 20:59:06 63038576ad94: Waiting 20:59:06 0fdb76c4706c: Waiting 20:59:06 cb7edeffdfd5: Waiting 20:59:06 4684f6177b5d: Verifying Checksum 20:59:06 4684f6177b5d: Download complete 20:59:06 25ad7478873d: Verifying Checksum 20:59:06 25ad7478873d: Download complete 20:59:06 63038576ad94: Verifying Checksum 20:59:06 63038576ad94: Download complete 20:59:06 0fdb76c4706c: Verifying Checksum 20:59:06 0fdb76c4706c: Download complete 20:59:06 cb7edeffdfd5: Verifying Checksum 20:59:06 cb7edeffdfd5: Download complete 20:59:06 25ad7478873d: Pull complete 20:59:06 4684f6177b5d: Pull complete 20:59:07 46e300cec669: Verifying Checksum 20:59:07 46e300cec669: Download complete 20:59:09 46e300cec669: Pull complete 20:59:09 63038576ad94: Pull complete 20:59:09 0fdb76c4706c: Pull complete 20:59:09 cb7edeffdfd5: Pull complete 20:59:09 Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 20:59:09 Status: Downloaded newer image for docker:latest 20:59:11 ---> 2f65cda4d98a 20:59:11 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:59:11 ---> Running in 2c2bc6952c2b 20:59:11 Removing intermediate container 2c2bc6952c2b 20:59:11 ---> dbde32375deb 20:59:11 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:59:11 ---> Running in 4da1ca76aa86 20:59:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:59:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:59:13 (1/5) Installing libsodium (1.0.18-r0) 20:59:14 (2/5) Installing libzmq (4.3.3-r0) 20:59:14 (3/5) Installing pkgconf (1.7.2-r0) 20:59:14 (4/5) Installing libsodium-dev (1.0.18-r0) 20:59:14 (5/5) Installing zeromq-dev (4.3.3-r0) 20:59:14 Executing busybox-1.31.1-r16.trigger 20:59:14 OK: 167 MiB in 44 packages 20:59:14 Removing intermediate container 4da1ca76aa86 20:59:14 ---> 37ba8be4cfa9 20:59:14 Step 6/8 : WORKDIR /build 20:59:15 ---> Running in a348dd5e80e5 20:59:15 Removing intermediate container a348dd5e80e5 20:59:15 ---> 3844727c2927 20:59:15 Step 7/8 : COPY go.mod . 20:59:15 ---> 4cebdb7efaa3 20:59:15 Step 8/8 : RUN go mod download 20:59:15 ---> Running in 7f1b96fb15e3 20:59:29 Removing intermediate container a7e20b0655c8 20:59:29 ---> abe6da9eba3d 20:59:29 Successfully built abe6da9eba3d 20:59:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:59:30 + docker inspect -f . ci-base-image-arm64 20:59:30 . [Pipeline] withDockerContainer 20:59:30 prd-ubuntu18.04-docker-arm64-4c-16g-2178 does not seem to be running inside a container 20:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:59:32 $ docker top ed33652f18c4292f74cebe1e3f1dac78542dbdae89d65c3edcbc66f5c6221923 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:33 + go version 20:59:33 go version go1.15.2 linux/arm64 [Pipeline] sh 20:59:35 + make test 20:59:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:59:37 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 20:59:42 Removing intermediate container 7f1b96fb15e3 20:59:42 ---> c5810fdfb3a5 20:59:42 Successfully built c5810fdfb3a5 20:59:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:59:42 + docker inspect -f . ci-base-image-x86_64 20:59:42 . [Pipeline] withDockerContainer 20:59:43 prd-centos7-docker-4c-2g-2179 does not seem to be running inside a container 20:59:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:59:43 $ docker top 4adf1c4c4fcf3ed71e802c4539468d1ebfa3d08dd09bbb808a44b870e4a3bbde -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:44 + go version 20:59:44 go version go1.15.2 linux/amd64 [Pipeline] sh 20:59:44 + make test 20:59:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:59:46 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 20:59:54 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.096s coverage: 86.2% of statements 21:00:03 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.071s coverage: 86.2% of statements 21:00:09 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.027s coverage: 56.1% of statements 21:00:09 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 21:00:09 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 21:00:09 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.035s coverage: 53.5% of statements 21:00:09 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 21:00:09 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.304s coverage: 69.1% of statements 21:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.480s coverage: 73.2% of statements 21:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements 21:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements 21:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.075s coverage: 100.0% of statements 21:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements 21:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.006s coverage: 100.0% of statements 21:00:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 21:00:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 21:00:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 21:00:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 21:00:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 21:00:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 21:00:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 21:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements 21:00:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 21:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements 21:00:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 21:00:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 21:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 9.4% of statements 21:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.011s coverage: 75.0% of statements 21:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.011s coverage: 89.3% of statements 21:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements 21:00:21 level=ERROR ts=2020-09-10T21:00:10.526381807Z app=app_functions_sdk_go source=server.go:122 msg="Error encoding the data: json: unsupported value: +Inf" 21:00:21 level=INFO ts=2020-09-10T21:00:10.538744201Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." 21:00:21 level=INFO ts=2020-09-10T21:00:10.553779147Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." 21:00:21 level=INFO ts=2020-09-10T21:00:10.560041964Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." 21:00:21 level=INFO ts=2020-09-10T21:00:10.566416733Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." 21:00:21 level=INFO ts=2020-09-10T21:00:10.572604494Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." 21:00:21 level=INFO ts=2020-09-10T21:00:10.578252235Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." 21:00:21 level=INFO ts=2020-09-10T21:00:10.584316852Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." 21:00:21 level=INFO ts=2020-09-10T21:00:10.58972736Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." 21:00:21 level=INFO ts=2020-09-10T21:00:10.596390283Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." 21:00:21 level=INFO ts=2020-09-10T21:00:10.602394208Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." 21:00:21 level=ERROR ts=2020-09-10T21:00:10.626159269Z app=app_functions_sdk_go source=server.go:268 msg="Storing secret failed: can't store secret(s) 'SecretProvider' is not properly initialized" 21:00:21 level=ERROR ts=2020-09-10T21:00:10.63154832Z app=app_functions_sdk_go source=server.go:268 msg="Storing secret failed: can't store secret(s) 'SecretProvider' is not properly initialized" 21:00:21 level=ERROR ts=2020-09-10T21:00:10.636959304Z app=app_functions_sdk_go source=server.go:268 msg="Missing required field 'Secrets'" 21:00:21 level=ERROR ts=2020-09-10T21:00:10.64221507Z app=app_functions_sdk_go source=server.go:268 msg="Failed to parse json payload: invalid character '<' looking for beginning of value" 21:00:21 --- FAIL: TestPostSecretRoute (0.05s) 21:00:21 --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret (0.01s) 21:00:21 server_test.go:202: 21:00:21 Error Trace: server_test.go:202 21:00:21 Error: Not equal: 21:00:21 expected: 201 21:00:21 actual : 500 21:00:21 Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret 21:00:21 Messages: Expected secret doesn't match postSecret 21:00:21 --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets (0.01s) 21:00:21 server_test.go:202: 21:00:21 Error Trace: server_test.go:202 21:00:21 Error: Not equal: 21:00:21 expected: 201 21:00:21 actual : 500 21:00:21 Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets 21:00:21 Messages: Expected secret doesn't match postSecret 21:00:21 FAIL 21:00:21 coverage: 81.3% of statements 21:00:21 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.133s 21:00:39 level=DEBUG ts=2020-09-10T21:00:11.637203739Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:11.648238399Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:11.653747781Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:11.67485189Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." 21:00:39 level=DEBUG ts=2020-09-10T21:00:11.680678478Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:11.687402906Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:11.693035787Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:11.698368613Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." 21:00:39 level=DEBUG ts=2020-09-10T21:00:11.704585443Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:13.705047832Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:13.705403743Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:13.710143374Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" 21:00:39 level=DEBUG ts=2020-09-10T21:00:13.731611289Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." 21:00:39 level=DEBUG ts=2020-09-10T21:00:13.739925202Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:23.740514892Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:33.741509385Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:33.752010278Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." 21:00:39 level=DEBUG ts=2020-09-10T21:00:33.752128348Z app=app_functions_sdk_go source=batch.go:148 msg="Batch count has been reached" 21:00:39 level=DEBUG ts=2020-09-10T21:00:33.763334156Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." 21:00:39 level=DEBUG ts=2020-09-10T21:00:33.770365154Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:33.770498495Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:33.770646329Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.777065061Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.789615632Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.796153946Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.805936749Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.81515268Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.822399994Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.828952239Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.83584714Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.841671324Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.847256178Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.852541737Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.857819913Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.86351543Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.869359402Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.87276216Z app=app_functions_sdk_go source=context.go:78 msg="Marking event as pushed" 21:00:39 level=ERROR ts=2020-09-10T21:00:36.876098164Z app=app_functions_sdk_go source=coredata.go:41 msg="No EventID or EventChecksum Provided" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.880001478Z app=app_functions_sdk_go source=context.go:101 msg="Pushing to CoreData" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.90655489Z app=app_functions_sdk_go source=encryption.go:60 msg="Encrypting with AES" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.910045543Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.913326448Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.916757129Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.920441794Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.924102379Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.928040568Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.931658009Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.935659539Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.939055873Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.942511337Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.945660718Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.949178979Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.952413801Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.956401804Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.959825012Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.96327034Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.966536801Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.969721743Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.972947974Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.976743199Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.980086475Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.983901364Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 --- FAIL: TestFilterOutByValueDescriptor (0.03s) 21:00:39 filter_test.go:215: 21:00:39 Error Trace: filter_test.go:215 21:00:39 Error: Should be true 21:00:39 Test: TestFilterOutByValueDescriptor 21:00:39 Messages: Pipeline should continue 21:00:39 filter_test.go:231: 21:00:39 Error Trace: filter_test.go:231 21:00:39 Error: Should be true 21:00:39 Test: TestFilterOutByValueDescriptor 21:00:39 Messages: Pipeline should continue 21:00:39 filter_test.go:235: 21:00:39 Error Trace: filter_test.go:235 21:00:39 Error: Should be true 21:00:39 Test: TestFilterOutByValueDescriptor 21:00:39 Messages: Pipeline should continue 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.987698163Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.991366372Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.995688113Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:36.999935029Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.002689724Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.005699331Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.009961062Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.013386179Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.01716655Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.02071367Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.024294516Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.028674122Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.033361468Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.036923312Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.040099276Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.04416048Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.047426248Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" 21:00:39 --- FAIL: TestHTTPPostWithSecrets (0.02s) 21:00:39 http_test.go:121: Unexpected header name received application/json, expected application/json 21:00:39 http_test.go:120: 21:00:39 Error Trace: http_test.go:120 21:00:39 server.go:2042 21:00:39 server.go:2843 21:00:39 server.go:1925 21:00:39 asm_amd64.s:1374 21:00:39 Error: Not equal: 21:00:39 expected: "" 21:00:39 actual : "value" 21:00:39 21:00:39 Diff: 21:00:39 --- Expected 21:00:39 +++ Actual 21:00:39 @@ -1 +1 @@ 21:00:39 - 21:00:39 +value 21:00:39 Test: TestHTTPPostWithSecrets 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.051283454Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.054947648Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.058686987Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.062253196Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.06584261Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.06886527Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.074087048Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" 21:00:39 --- FAIL: TestMQTTValidateSecrets (0.00s) 21:00:39 --- FAIL: TestMQTTValidateSecrets/CACert_no_error (0.00s) 21:00:39 mqttsecret_test.go:154: 21:00:39 Error Trace: mqttsecret_test.go:154 21:00:39 Error: Expected nil, but got: &errors.errorString{s:"Invalid AuthMode selected"} 21:00:39 Test: TestMQTTValidateSecrets/CACert_no_error 21:00:39 Messages: Should be nil 21:00:39 --- FAIL: TestMQTTValidateSecrets/CACert_invalid_error (0.00s) 21:00:39 mqttsecret_test.go:152: 21:00:39 Error Trace: mqttsecret_test.go:152 21:00:39 Error: Not equal: 21:00:39 expected: "Error parsing CA Certificate" 21:00:39 actual : "Invalid AuthMode selected" 21:00:39 21:00:39 Diff: 21:00:39 --- Expected 21:00:39 +++ Actual 21:00:39 @@ -1 +1 @@ 21:00:39 -Error parsing CA Certificate 21:00:39 +Invalid AuthMode selected 21:00:39 Test: TestMQTTValidateSecrets/CACert_invalid_error 21:00:39 --- FAIL: TestMQTTClientGetSecrets (0.00s) 21:00:39 --- FAIL: TestMQTTClientGetSecrets/Auth_With_Secrets (0.00s) 21:00:39 mqttsecret_test.go:193: 21:00:39 Error Trace: mqttsecret_test.go:193 21:00:39 Error: Not equal: 21:00:39 expected: &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8(nil), certpemblock:[]uint8(nil), capemblock:[]uint8(nil)} 21:00:39 actual : &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8{}, certpemblock:[]uint8{}, capemblock:[]uint8{}} 21:00:39 21:00:39 Diff: 21:00:39 --- Expected 21:00:39 +++ Actual 21:00:39 @@ -3,5 +3,8 @@ 21:00:39 password: (string) (len=9) "TEST_PASS", 21:00:39 - keypemblock: ([]uint8) , 21:00:39 - certpemblock: ([]uint8) , 21:00:39 - capemblock: ([]uint8) 21:00:39 + keypemblock: ([]uint8) { 21:00:39 + }, 21:00:39 + certpemblock: ([]uint8) { 21:00:39 + }, 21:00:39 + capemblock: ([]uint8) { 21:00:39 + } 21:00:39 }) 21:00:39 Test: TestMQTTClientGetSecrets/Auth_With_Secrets 21:00:39 --- FAIL: TestSetRetryDataPersistFalse (0.00s) 21:00:39 mqttsecret_test.go:342: 21:00:39 Error Trace: mqttsecret_test.go:342 21:00:39 Error: Expected nil, but got: []byte{0x74, 0x65, 0x73, 0x74, 0x20, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65} 21:00:39 Test: TestSetRetryDataPersistFalse 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.083469064Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.087053439Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.090528445Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.094575552Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.097764438Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.101013207Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.104111704Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.104258116Z app="Unit Test" source=tags.go:61 msg="Tags added to Event. Event tags=map[GatewayId:HoustonStore000123 Latitude:29.630771 Longitude:-95.377603]" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.104371246Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.104433279Z app="Unit Test" source=tags.go:61 msg="Tags added to Event. Event tags=map[GatewayId:HoustonStore000123 Latitude:29.630771 Longitude:-95.377603 Tag1:Value1 Tag2:Value2]" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.104489859Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.104509071Z app="Unit Test" source=tags.go:63 msg="No tags added to Event. Add tags list is empty." 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.104548134Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" 21:00:39 level=DEBUG ts=2020-09-10T21:00:37.104597044Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" 21:00:39 FAIL 21:00:39 coverage: 70.9% of statements 21:00:39 FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.475s 21:00:39 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements 21:00:39 FAIL 21:00:39 make: *** [Makefile:6: test] Error 1 [Pipeline] } 21:00:39 $ docker stop --time=1 4adf1c4c4fcf3ed71e802c4539468d1ebfa3d08dd09bbb808a44b870e4a3bbde 21:00:41 $ docker rm -f 4adf1c4c4fcf3ed71e802c4539468d1ebfa3d08dd09bbb808a44b870e4a3bbde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 21:00:43 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.078s coverage: 56.1% of statements 21:00:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 21:00:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 21:00:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.118s coverage: 53.5% of statements 21:00:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 21:00:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.346s coverage: 69.1% of statements [Pipeline] // stage [Pipeline] } 21:00:43 Failed in branch amd64 21:00:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.527s coverage: 73.2% of statements 21:00:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.017s coverage: 89.5% of statements 21:00:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.015s coverage: 100.0% of statements 21:00:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.233s coverage: 100.0% of statements 21:00:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements 21:00:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements 21:00:51 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 21:00:51 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 21:00:51 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 21:00:51 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 21:00:51 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 21:00:51 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 21:00:51 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 21:00:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.013s coverage: 96.6% of statements 21:00:51 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 21:00:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements 21:00:51 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 21:00:51 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 21:00:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.022s coverage: 9.4% of statements 21:00:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.037s coverage: 75.0% of statements 21:00:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.039s coverage: 89.3% of statements 21:00:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.027s coverage: 88.9% of statements 21:00:53 level=ERROR ts=2020-09-10T21:00:48.669342503Z app=app_functions_sdk_go source=server.go:122 msg="Error encoding the data: json: unsupported value: +Inf" 21:00:53 level=INFO ts=2020-09-10T21:00:48.816409296Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." 21:00:53 level=INFO ts=2020-09-10T21:00:48.824038529Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." 21:00:53 level=INFO ts=2020-09-10T21:00:48.832910682Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." 21:00:53 level=INFO ts=2020-09-10T21:00:48.838804316Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." 21:00:53 level=INFO ts=2020-09-10T21:00:48.845562649Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." 21:00:53 level=INFO ts=2020-09-10T21:00:48.85204549Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." 21:00:53 level=INFO ts=2020-09-10T21:00:48.860785203Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." 21:00:53 level=INFO ts=2020-09-10T21:00:48.870564109Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." 21:00:53 level=INFO ts=2020-09-10T21:00:48.881102966Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." 21:00:53 level=INFO ts=2020-09-10T21:00:48.88935997Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." 21:00:53 level=ERROR ts=2020-09-10T21:00:48.898884176Z app=app_functions_sdk_go source=server.go:268 msg="Storing secret failed: can't store secret(s) 'SecretProvider' is not properly initialized" 21:00:53 level=ERROR ts=2020-09-10T21:00:48.906462505Z app=app_functions_sdk_go source=server.go:268 msg="Storing secret failed: can't store secret(s) 'SecretProvider' is not properly initialized" 21:00:53 level=ERROR ts=2020-09-10T21:00:48.913154893Z app=app_functions_sdk_go source=server.go:268 msg="Missing required field 'Secrets'" 21:00:53 level=ERROR ts=2020-09-10T21:00:48.935097717Z app=app_functions_sdk_go source=server.go:268 msg="Failed to parse json payload: invalid character '<' looking for beginning of value" 21:00:53 --- FAIL: TestPostSecretRoute (0.06s) 21:00:53 --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret (0.01s) 21:00:53 server_test.go:202: 21:00:53 Error Trace: server_test.go:202 21:00:53 Error: Not equal: 21:00:53 expected: 201 21:00:53 actual : 500 21:00:53 Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret 21:00:53 Messages: Expected secret doesn't match postSecret 21:00:53 --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets (0.01s) 21:00:53 server_test.go:202: 21:00:53 Error Trace: server_test.go:202 21:00:53 Error: Not equal: 21:00:53 expected: 201 21:00:53 actual : 500 21:00:53 Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets 21:00:53 Messages: Expected secret doesn't match postSecret 21:00:53 FAIL 21:00:53 coverage: 81.3% of statements 21:00:53 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.298s 21:01:19 level=DEBUG ts=2020-09-10T21:00:51.320048278Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:00:51.329663811Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:00:51.33512347Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:00:51.340738082Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." 21:01:19 level=DEBUG ts=2020-09-10T21:00:51.346127455Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:00:51.351213815Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:00:51.356705576Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:00:51.361692807Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." 21:01:19 level=DEBUG ts=2020-09-10T21:00:51.367623174Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:00:53.368536288Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:00:53.368857834Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:00:53.373247157Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" 21:01:19 level=DEBUG ts=2020-09-10T21:00:53.465570225Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." 21:01:19 level=DEBUG ts=2020-09-10T21:00:53.471503923Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:03.471947018Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:13.472333342Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:13.494559925Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." 21:01:19 level=DEBUG ts=2020-09-10T21:01:13.494876771Z app=app_functions_sdk_go source=batch.go:148 msg="Batch count has been reached" 21:01:19 level=DEBUG ts=2020-09-10T21:01:13.506031251Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." 21:01:19 level=DEBUG ts=2020-09-10T21:01:13.51358138Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:13.513837321Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:13.513911197Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.51943435Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.526135071Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.532113584Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.53800687Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.544001954Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.550285271Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.556194849Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.561214104Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.566109299Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.570891365Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.575697263Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.581396543Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.586601774Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.595131392Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.601889638Z app=app_functions_sdk_go source=context.go:78 msg="Marking event as pushed" 21:01:19 level=ERROR ts=2020-09-10T21:01:16.608510552Z app=app_functions_sdk_go source=coredata.go:41 msg="No EventID or EventChecksum Provided" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.614413249Z app=app_functions_sdk_go source=context.go:101 msg="Pushing to CoreData" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.626646347Z app=app_functions_sdk_go source=encryption.go:60 msg="Encrypting with AES" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.637293906Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.643171371Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.648910284Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.654577062Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.661882022Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.667595793Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.673391841Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.678908056Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.684978777Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.690782895Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.697584104Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.703575058Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.711124928Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.716938967Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.722773188Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.728547404Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.734778847Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.740639161Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.746818329Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.752868678Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.759420797Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.766446484Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 --- FAIL: TestFilterOutByValueDescriptor (0.05s) 21:01:19 filter_test.go:215: 21:01:19 Error Trace: filter_test.go:215 21:01:19 Error: Should be true 21:01:19 Test: TestFilterOutByValueDescriptor 21:01:19 Messages: Pipeline should continue 21:01:19 filter_test.go:231: 21:01:19 Error Trace: filter_test.go:231 21:01:19 Error: Should be true 21:01:19 Test: TestFilterOutByValueDescriptor 21:01:19 Messages: Pipeline should continue 21:01:19 filter_test.go:235: 21:01:19 Error Trace: filter_test.go:235 21:01:19 Error: Should be true 21:01:19 Test: TestFilterOutByValueDescriptor 21:01:19 Messages: Pipeline should continue 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.772445509Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.778270569Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.785044346Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.792635329Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.798444118Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.806124728Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.813047437Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.819891629Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.82572506Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.833578064Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.839605741Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.84764583Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.856630946Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.86336704Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.86870054Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.875233228Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.880281575Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" 21:01:19 --- FAIL: TestHTTPPostWithSecrets (0.04s) 21:01:19 http_test.go:121: Unexpected header name received application/json, expected application/json 21:01:19 http_test.go:120: 21:01:19 Error Trace: http_test.go:120 21:01:19 server.go:2042 21:01:19 server.go:2843 21:01:19 server.go:1925 21:01:19 asm_arm64.s:1136 21:01:19 Error: Not equal: 21:01:19 expected: "" 21:01:19 actual : "value" 21:01:19 21:01:19 Diff: 21:01:19 --- Expected 21:01:19 +++ Actual 21:01:19 @@ -1 +1 @@ 21:01:19 - 21:01:19 +value 21:01:19 Test: TestHTTPPostWithSecrets 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.888299233Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.893442208Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.899151879Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.904769282Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.911534729Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.917631981Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.925058921Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" 21:01:19 --- FAIL: TestMQTTValidateSecrets (0.00s) 21:01:19 --- FAIL: TestMQTTValidateSecrets/CACert_no_error (0.00s) 21:01:19 mqttsecret_test.go:154: 21:01:19 Error Trace: mqttsecret_test.go:154 21:01:19 Error: Expected nil, but got: &errors.errorString{s:"Invalid AuthMode selected"} 21:01:19 Test: TestMQTTValidateSecrets/CACert_no_error 21:01:19 Messages: Should be nil 21:01:19 --- FAIL: TestMQTTValidateSecrets/CACert_invalid_error (0.00s) 21:01:19 mqttsecret_test.go:152: 21:01:19 Error Trace: mqttsecret_test.go:152 21:01:19 Error: Not equal: 21:01:19 expected: "Error parsing CA Certificate" 21:01:19 actual : "Invalid AuthMode selected" 21:01:19 21:01:19 Diff: 21:01:19 --- Expected 21:01:19 +++ Actual 21:01:19 @@ -1 +1 @@ 21:01:19 -Error parsing CA Certificate 21:01:19 +Invalid AuthMode selected 21:01:19 Test: TestMQTTValidateSecrets/CACert_invalid_error 21:01:19 --- FAIL: TestMQTTClientGetSecrets (0.00s) 21:01:19 --- FAIL: TestMQTTClientGetSecrets/Auth_With_Secrets (0.00s) 21:01:19 mqttsecret_test.go:193: 21:01:19 Error Trace: mqttsecret_test.go:193 21:01:19 Error: Not equal: 21:01:19 expected: &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8(nil), certpemblock:[]uint8(nil), capemblock:[]uint8(nil)} 21:01:19 actual : &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8{}, certpemblock:[]uint8{}, capemblock:[]uint8{}} 21:01:19 21:01:19 Diff: 21:01:19 --- Expected 21:01:19 +++ Actual 21:01:19 @@ -3,5 +3,8 @@ 21:01:19 password: (string) (len=9) "TEST_PASS", 21:01:19 - keypemblock: ([]uint8) , 21:01:19 - certpemblock: ([]uint8) , 21:01:19 - capemblock: ([]uint8) 21:01:19 + keypemblock: ([]uint8) { 21:01:19 + }, 21:01:19 + certpemblock: ([]uint8) { 21:01:19 + }, 21:01:19 + capemblock: ([]uint8) { 21:01:19 + } 21:01:19 }) 21:01:19 Test: TestMQTTClientGetSecrets/Auth_With_Secrets 21:01:19 --- FAIL: TestSetRetryDataPersistFalse (0.00s) 21:01:19 mqttsecret_test.go:342: 21:01:19 Error Trace: mqttsecret_test.go:342 21:01:19 Error: Expected nil, but got: []byte{0x74, 0x65, 0x73, 0x74, 0x20, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65} 21:01:19 Test: TestSetRetryDataPersistFalse 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.939857135Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.945135692Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.950045288Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.955058473Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.960122522Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.965191191Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.970465867Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.97063403Z app="Unit Test" source=tags.go:61 msg="Tags added to Event. Event tags=map[GatewayId:HoustonStore000123 Latitude:29.630771 Longitude:-95.377603]" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.970953436Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.971078856Z app="Unit Test" source=tags.go:61 msg="Tags added to Event. Event tags=map[GatewayId:HoustonStore000123 Latitude:29.630771 Longitude:-95.377603 Tag1:Value1 Tag2:Value2]" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.971397032Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.97150209Z app="Unit Test" source=tags.go:63 msg="No tags added to Event. Add tags list is empty." 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.971762251Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" 21:01:19 level=DEBUG ts=2020-09-10T21:01:16.972069026Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" 21:01:19 FAIL 21:01:19 coverage: 70.9% of statements 21:01:19 FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.672s 21:01:19 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements 21:01:19 FAIL 21:01:19 make: *** [Makefile:6: test] Error 1 [Pipeline] } 21:01:19 $ docker stop --time=1 ed33652f18c4292f74cebe1e3f1dac78542dbdae89d65c3edcbc66f5c6221923 21:01:21 $ docker rm -f ed33652f18c4292f74cebe1e3f1dac78542dbdae89d65c3edcbc66f5c6221923 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:01:24 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 21:01:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:01:27 ---> package-listing.sh 21:01:27 ++ facter osfamily 21:01:27 ++ tr '[:upper:]' '[:lower:]' 21:01:27 + OS_FAMILY=redhat 21:01:27 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-478 21:01:27 + START_PACKAGES=/tmp/packages_start.txt 21:01:27 + END_PACKAGES=/tmp/packages_end.txt 21:01:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:01:27 + PACKAGES=/tmp/packages_start.txt 21:01:27 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' 21:01:27 + PACKAGES=/tmp/packages_end.txt 21:01:27 + case "${OS_FAMILY}" in 21:01:27 + rpm -qa 21:01:27 + sort 21:01:31 + '[' -f /tmp/packages_start.txt ']' 21:01:31 + '[' -f /tmp/packages_end.txt ']' 21:01:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:01:31 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' 21:01:31 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ 21:01:31 + 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 21:01:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:01:31 21:01:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:01:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:01:32 alpine: Pulling from edgex-lftools-log-publisher 21:01:32 df20fa9351a1: Pulling fs layer 21:01:32 36b3adc4ff6f: Pulling fs layer 21:01:32 8ad3a11d3b57: Pulling fs layer 21:01:32 46f8f816bc3b: Pulling fs layer 21:01:32 0dadc02b9964: Pulling fs layer 21:01:32 ce6a7cf60c04: Pulling fs layer 21:01:32 7a184a31f384: Pulling fs layer 21:01:32 0879bd2ef858: Pulling fs layer 21:01:32 0dadc02b9964: Waiting 21:01:32 ce6a7cf60c04: Waiting 21:01:32 7a184a31f384: Waiting 21:01:32 0879bd2ef858: Waiting 21:01:32 36b3adc4ff6f: Verifying Checksum 21:01:32 36b3adc4ff6f: Download complete 21:01:32 46f8f816bc3b: Verifying Checksum 21:01:32 46f8f816bc3b: Download complete 21:01:32 0dadc02b9964: Verifying Checksum 21:01:32 0dadc02b9964: Download complete 21:01:32 ce6a7cf60c04: Verifying Checksum 21:01:32 ce6a7cf60c04: Download complete 21:01:32 7a184a31f384: Verifying Checksum 21:01:32 7a184a31f384: Download complete 21:01:32 df20fa9351a1: Download complete 21:01:32 8ad3a11d3b57: Verifying Checksum 21:01:32 8ad3a11d3b57: Download complete 21:01:33 df20fa9351a1: Pull complete 21:01:33 0879bd2ef858: Verifying Checksum 21:01:33 0879bd2ef858: Download complete 21:01:33 36b3adc4ff6f: Pull complete 21:01:33 8ad3a11d3b57: Pull complete 21:01:33 46f8f816bc3b: Pull complete 21:01:34 0dadc02b9964: Pull complete 21:01:34 ce6a7cf60c04: Pull complete 21:01:34 7a184a31f384: Pull complete 21:01:37 0879bd2ef858: Pull complete 21:01:37 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 21:01:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:01:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:01:37 prd-centos7-docker-4c-2g-2177 does not seem to be running inside a container 21:01:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/ndry_app-functions-sdk-go_PR-478 -v /w/workspace/ndry_app-functions-sdk-go_PR-478:/w/workspace/ndry_app-functions-sdk-go_PR-478:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:01:42 $ docker top 25c660077d1927967b61c6e7dff6c6f00f18519a5dc114c4d5fa5bb4ec78dbef -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:43 + mkdir -p /var/log/sa [Pipeline] sh 21:01:43 + ls /var/log/sa-host 21:01:43 + sadf -c /var/log/sa-host/sa05 21:01:43 file_magic: OK 21:01:43 HZ: Using current value: 100 21:01:43 file_header: OK 21:01:43 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 21:01:43 Statistics: 21:01:43 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:01:43 File successfully converted to sysstat format version 12.2.1 21:01:43 + sadf -c /var/log/sa-host/sa10 21:01:43 file_magic: OK 21:01:43 HZ: Using current value: 100 21:01:43 file_header: OK 21:01:43 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 21:01:43 Statistics: 21:01:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:01:43 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:43 provisioning config files... 21:01:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/config7622768731948890166tmp [Pipeline] { [Pipeline] echo 21:01:44 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:01:44 ---> create-netrc.sh [Pipeline] echo 21:01:44 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:01:44 ---> logs-deploy.sh 21:01:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-478/3 21:01:44 INFO: archiving workspace using pattern(s): 21:01:46 Archives upload complete. 21:01:46 INFO: archiving logs to Nexus 21:01:47 ---> uname -a: 21:01:47 Linux 25c660077d19 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 21:01:47 21:01:47 21:01:47 ---> lscpu: 21:01:47 Architecture: x86_64 21:01:47 CPU op-mode(s): 32-bit, 64-bit 21:01:47 Byte Order: Little Endian 21:01:47 Address sizes: 40 bits physical, 48 bits virtual 21:01:47 CPU(s): 4 21:01:47 On-line CPU(s) list: 0-3 21:01:47 Thread(s) per core: 1 21:01:47 Core(s) per socket: 1 21:01:47 Socket(s): 4 21:01:47 NUMA node(s): 1 21:01:47 Vendor ID: GenuineIntel 21:01:47 CPU family: 6 21:01:47 Model: 44 21:01:47 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 21:01:47 Stepping: 1 21:01:47 CPU MHz: 2933.438 21:01:47 BogoMIPS: 5866.87 21:01:47 Virtualization: VT-x 21:01:47 Hypervisor vendor: KVM 21:01:47 Virtualization type: full 21:01:47 L1d cache: 128 KiB 21:01:47 L1i cache: 128 KiB 21:01:47 L2 cache: 16 MiB 21:01:47 L3 cache: 64 MiB 21:01:47 NUMA node0 CPU(s): 0-3 21:01:47 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 21:01:47 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 21:01:47 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 21:01:47 Vulnerability Meltdown: Mitigation; PTI 21:01:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:01:47 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 21:01:47 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 21:01:47 Vulnerability Tsx async abort: Not affected 21:01:47 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 21:01:47 21:01:47 21:01:47 ---> nproc: 21:01:47 4 21:01:47 21:01:47 21:01:47 ---> df -h: 21:01:47 Filesystem Size Used Available Use% Mounted on 21:01:47 overlay 50.0G 7.0G 43.0G 14% / 21:01:47 tmpfs 64.0M 0 64.0M 0% /dev 21:01:47 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 21:01:47 shm 64.0M 0 64.0M 0% /dev/shm 21:01:47 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 21:01:47 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 21:01:47 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 21:01:47 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 21:01:47 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/ndry_app-functions-sdk-go_PR-478 21:01:47 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp 21:01:47 21:01:47 21:01:47 ---> free -m: 21:01:47 total used free shared buff/cache available 21:01:47 Mem: 1837 644 142 0 1050 1085 21:01:47 Swap: 1023 1 1022 21:01:47 21:01:47 21:01:47 ---> ip addr: 21:01:47 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 21:01:47 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 21:01:47 inet 127.0.0.1/8 scope host lo 21:01:47 valid_lft forever preferred_lft forever 21:01:47 6: eth0@if7: mtu 1458 qdisc noqueue state UP 21:01:47 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 21:01:47 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 21:01:47 valid_lft forever preferred_lft forever 21:01:47 21:01:47 21:01:47 ---> sar -b -r -n DEV: 21:01:47 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/10/20 _x86_64_ (4 CPU) 21:01:47 21:01:47 20:53:52 LINUX RESTART (4 CPU) 21:01:47 21:01:47 20:55:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:01:47 20:56:01 2.61 0.00 2.61 0.00 0.00 54.58 0.00 21:01:47 20:57:01 0.62 0.00 0.62 0.00 0.00 8.33 0.00 21:01:47 20:58:01 0.55 0.00 0.55 0.00 0.00 7.58 0.00 21:01:47 20:59:01 0.20 0.00 0.20 0.00 0.00 2.15 0.00 21:01:47 21:00:01 0.58 0.00 0.58 0.00 0.00 8.56 0.00 21:01:47 21:01:01 0.18 0.03 0.15 0.00 0.27 2.35 0.00 21:01:47 Average: 0.78 0.01 0.78 0.00 0.04 13.81 0.00 21:01:47 21:01:47 20:55:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:01:47 20:56:01 185888 0 556776 29.59 2620 1136272 1090572 37.22 424052 1111904 20 21:01:47 20:57:01 185240 0 557420 29.63 2620 1136276 1079264 36.83 427656 1108708 8 21:01:47 20:58:01 185632 0 557024 29.60 2620 1136280 1079328 36.84 427828 1108708 20 21:01:47 20:59:01 183840 0 558812 29.70 2620 1136284 1079424 36.84 436404 1102012 8 21:01:47 21:00:01 181620 0 561028 29.82 2620 1136288 1079436 36.84 438316 1101996 20 21:01:47 21:01:01 180340 0 562292 29.88 2620 1136304 1081788 36.92 439264 1101996 8 21:01:47 Average: 183760 0 558892 29.70 2620 1136284 1081635 36.91 432253 1105887 14 21:01:47 21:01:47 20:55:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:01:47 20:56:01 eth0 0.59 0.54 0.59 0.04 0.00 0.00 0.00 0.00 21:01:47 20:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 20:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 20:57:01 eth0 0.62 0.08 0.04 0.01 0.00 0.00 0.00 0.00 21:01:47 20:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 20:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 20:58:01 eth0 0.42 0.08 0.04 0.01 0.00 0.00 0.00 0.00 21:01:47 20:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 20:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 20:59:01 eth0 1.52 0.57 0.59 0.39 0.00 0.00 0.00 0.00 21:01:47 20:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 20:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 21:00:01 eth0 1.85 0.50 0.51 0.27 0.00 0.00 0.00 0.00 21:01:47 21:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 21:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 21:01:01 eth0 0.55 0.32 0.27 0.20 0.00 0.00 0.00 0.00 21:01:47 21:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 21:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 Average: eth0 0.92 0.35 0.34 0.15 0.00 0.00 0.00 0.00 21:01:47 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:01:47 21:01:47 21:01:47 ---> sar -P ALL: 21:01:47 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/10/20 _x86_64_ (4 CPU) 21:01:47 21:01:47 20:53:52 LINUX RESTART (4 CPU) 21:01:47 21:01:47 20:55:02 CPU %user %nice %system %iowait %steal %idle 21:01:47 20:56:01 all 0.19 0.00 0.06 0.00 0.01 99.74 21:01:47 20:56:01 0 0.03 0.00 0.02 0.00 0.02 99.93 21:01:47 20:56:01 1 0.44 0.00 0.08 0.00 0.00 99.47 21:01:47 20:56:01 2 0.10 0.00 0.05 0.00 0.00 99.85 21:01:47 20:56:01 3 0.20 0.00 0.07 0.00 0.02 99.71 21:01:47 20:57:01 all 0.17 0.00 0.04 0.00 0.00 99.79 21:01:47 20:57:01 0 0.03 0.00 0.02 0.00 0.00 99.95 21:01:47 20:57:01 1 0.07 0.00 0.07 0.00 0.00 99.87 21:01:47 20:57:01 2 0.05 0.00 0.03 0.00 0.00 99.92 21:01:47 20:57:01 3 0.53 0.00 0.03 0.00 0.00 99.43 21:01:47 20:58:01 all 0.15 0.00 0.03 0.00 0.00 99.81 21:01:47 20:58:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:01:47 20:58:01 1 0.03 0.00 0.03 0.00 0.00 99.93 21:01:47 20:58:01 2 0.05 0.00 0.05 0.00 0.00 99.90 21:01:47 20:58:01 3 0.52 0.00 0.03 0.00 0.00 99.45 21:01:47 20:59:01 all 0.17 0.00 0.05 0.00 0.00 99.78 21:01:47 20:59:01 0 0.05 0.00 0.03 0.00 0.00 99.92 21:01:47 20:59:01 1 0.05 0.00 0.03 0.00 0.00 99.92 21:01:47 20:59:01 2 0.03 0.00 0.08 0.00 0.02 99.87 21:01:47 20:59:01 3 0.53 0.00 0.03 0.00 0.00 99.43 21:01:47 21:00:01 all 0.16 0.00 0.05 0.00 0.00 99.79 21:01:47 21:00:01 0 0.03 0.00 0.02 0.00 0.00 99.95 21:01:47 21:00:01 1 0.03 0.00 0.07 0.00 0.02 99.88 21:01:47 21:00:01 2 0.03 0.00 0.07 0.00 0.00 99.90 21:01:47 21:00:01 3 0.53 0.00 0.05 0.00 0.00 99.42 21:01:47 21:01:01 all 0.17 0.00 0.04 0.00 0.00 99.78 21:01:47 21:01:01 0 0.05 0.00 0.03 0.02 0.00 99.90 21:01:47 21:01:01 1 0.08 0.00 0.07 0.00 0.00 99.85 21:01:47 21:01:01 2 0.03 0.00 0.03 0.00 0.00 99.93 21:01:47 21:01:01 3 0.52 0.00 0.02 0.00 0.02 99.45 21:01:47 Average: all 0.17 0.00 0.04 0.00 0.00 99.78 21:01:47 Average: 0 0.04 0.00 0.02 0.00 0.00 99.94 21:01:47 Average: 1 0.12 0.00 0.06 0.00 0.00 99.82 21:01:47 Average: 2 0.05 0.00 0.05 0.00 0.00 99.89 21:01:47 Average: 3 0.47 0.00 0.04 0.00 0.01 99.48 21:01:47 21:01:47 21:01:47