Pull request #672 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4e4c204dbceea863fdaa482840bc9e3763931eb2+fc40647c9a5a0500e2956cf52a4e5c076e69792e (7b151b5ebe8b9f88a5a43eff57946e351a45b6d7) Running in Durability level: MAX_SURVIVABILITY 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-672/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-672/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24674’ is offline Running on prd-centos7-docker-4c-2g-24675 in /w/workspace/ndry_app-functions-sdk-go_PR-672 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-672 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/672/head:refs/remotes/origin/PR-672 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 4e4c204dbceea863fdaa482840bc9e3763931eb2 Merge succeeded, producing 4e4c204dbceea863fdaa482840bc9e3763931eb2 Checking out Revision 4e4c204dbceea863fdaa482840bc9e3763931eb2 (PR-672) > git config core.sparsecheckout # timeout=10 > git checkout -f 4e4c204dbceea863fdaa482840bc9e3763931eb2 # 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 fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e4c204dbceea863fdaa482840bc9e3763931eb2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:58:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:58:10 ========================================================= 05:58:10 EdgeX Global Pipelines Version Info 05:58:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:58:11 ------------------- 05:58:11 stable info: 05:58:11 ------------------- 05:58:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:58:11 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:58:11 Message: update stable to v1.0.179 05:58:12 ------------------- 05:58:12 experimental info: 05:58:12 ------------------- 05:58:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:58:12 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:58:12 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 05:58:13 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 05:58:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:58:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 05:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 05:58:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:58:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:58:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:58:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:58:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:58:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:58:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:58:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:58:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 05:58:16 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 05:58:16 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 05:58:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-672 [Pipeline] echo 05:58:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-672 [Pipeline] echo 05:58:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-672 [Pipeline] echo 05:58:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e4c204dbceea863fdaa482840bc9e3763931eb2 [Pipeline] echo 05:58:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e4c204 [Pipeline] echo 05:58:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:18 + git log --format=format:%s -1 4e4c204dbceea863fdaa482840bc9e3763931eb2 [Pipeline] echo 05:58:18 GIT_COMMIT: 4e4c204dbceea863fdaa482840bc9e3763931eb2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:58:18 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:58:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:58:19 05:58:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:58:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:58:19 latest: Pulling from edgex-devops/git-semver 05:58:19 31603596830f: Pulling fs layer 05:58:19 2a8b12db71e7: Pulling fs layer 05:58:19 6ca5941a6612: Pulling fs layer 05:58:19 ecc8261a40a4: Pulling fs layer 05:58:19 ecc8261a40a4: Waiting 05:58:19 2a8b12db71e7: Verifying Checksum 05:58:19 2a8b12db71e7: Download complete 05:58:20 ecc8261a40a4: Verifying Checksum 05:58:20 ecc8261a40a4: Download complete 05:58:20 6ca5941a6612: Verifying Checksum 05:58:20 6ca5941a6612: Download complete 05:58:20 31603596830f: Verifying Checksum 05:58:20 31603596830f: Download complete 05:58:20 31603596830f: Pull complete 05:58:20 2a8b12db71e7: Pull complete 05:58:21 6ca5941a6612: Pull complete 05:58:22 ecc8261a40a4: Pull complete 05:58:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:58:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:58:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:58:22 prd-centos7-docker-4c-2g-24675 does not seem to be running inside a container 05:58:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-672 -v /w/workspace/ndry_app-functions-sdk-go_PR-672:/w/workspace/ndry_app-functions-sdk-go_PR-672:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-672@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-672@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:10004/edgex-devops/git-semver:latest cat 05:58:24 $ docker top a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:24 [ssh-agent] Looking for ssh-agent implementation... 05:58:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:25 $ docker exec a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 ssh-agent 05:58:25 SSH_AUTH_SOCK=/tmp/ssh-HIJ7VtpWByfY/agent.12 05:58:25 SSH_AGENT_PID=17 05:58:25 Running ssh-add (command line suppressed) 05:58:25 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-672@tmp/private_key_2453193086529027641.key (/w/workspace/ndry_app-functions-sdk-go_PR-672@tmp/private_key_2453193086529027641.key) 05:58:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:26 + git tag --points-at HEAD [Pipeline] } 05:58:26 $ docker exec --env ******** --env ******** a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 ssh-agent -k 05:58:26 unset SSH_AUTH_SOCK; 05:58:26 unset SSH_AGENT_PID; 05:58:26 echo Agent pid 17 killed; 05:58:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:26 [ssh-agent] Looking for ssh-agent implementation... 05:58:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:26 $ docker exec a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 ssh-agent 05:58:26 SSH_AUTH_SOCK=/tmp/ssh-m8BaZqW7JBro/agent.47 05:58:26 SSH_AGENT_PID=52 05:58:26 Running ssh-add (command line suppressed) 05:58:26 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-672@tmp/private_key_8483888875910709078.key (/w/workspace/ndry_app-functions-sdk-go_PR-672@tmp/private_key_8483888875910709078.key) 05:58:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:27 + git semver init 05:58:27 # -> Open(): unable to determine branch for HEAD 05:58:27 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-672/.git 05:58:27 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-672 05:58:27 # $SEMVER_REMOTE_NAME = origin 05:58:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:58:27 # $SEMVER_USER_NAME = edgex-jenkins 05:58:27 # $SEMVER_BRANCH = PR-672 05:58:27 # $SEMVER_TEMP = /tmp/semver-886299655 05:58:27 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 05:58:29 # '/tmp/semver-886299655' -> '/w/workspace/ndry_app-functions-sdk-go_PR-672/.semver' 05:58:29 # -> Force: false 05:58:29 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-672/.semver [Pipeline] } 05:58:29 $ docker exec --env ******** --env ******** a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 ssh-agent -k 05:58:30 unset SSH_AUTH_SOCK; 05:58:30 unset SSH_AGENT_PID; 05:58:30 echo Agent pid 52 killed; 05:58:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:30 + git semver [Pipeline] } 05:58:30 $ docker stop --time=1 a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 05:58:32 $ docker rm -f a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 [Pipeline] // withDockerContainer [Pipeline] sh 05:58:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:58:33 Stashed 1 file(s) [Pipeline] echo 05:58:33 [edgeXSemver]: initialized semver on 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 05:58:49 Still waiting to schedule task 05:58:49 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:58:49 Still waiting to schedule task 05:58:49 ‘prd-ubuntu18.04-docker-arm64-4c-16g-24673’ is offline 06:00:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24676 in /w/workspace/ndry_app-functions-sdk-go_PR-672 [Pipeline] { [Pipeline] ws 06:00:37 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:00:40 Running on prd-centos7-docker-4c-2g-24677 in /w/workspace/ndry_app-functions-sdk-go_PR-672 [Pipeline] { [Pipeline] ws 06:00:40 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:00:43 using credential edgex-jenkins-ssh 06:00:43 Cloning the remote Git repository 06:00:43 using credential edgex-jenkins-ssh 06:00:43 Cloning the remote Git repository 06:00:43 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 06:00:43 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 06:00:43 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:00:43 > git --version # timeout=10 06:00:43 > git --version # 'git version 2.17.1' 06:00:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:43 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 06:00:43 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 06:00:43 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:00:43 > git --version # timeout=10 06:00:43 > git --version # 'git version 2.24.3' 06:00:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:45 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 4e4c204dbceea863fdaa482840bc9e3763931eb2 06:00:45 Merge succeeded, producing 4e4c204dbceea863fdaa482840bc9e3763931eb2 06:00:45 Checking out Revision 4e4c204dbceea863fdaa482840bc9e3763931eb2 (PR-672) 06:00:45 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:00:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:45 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:00:45 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:00:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/672/head:refs/remotes/origin/PR-672 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:00:45 > git config core.sparsecheckout # timeout=10 06:00:45 > git checkout -f 4e4c204dbceea863fdaa482840bc9e3763931eb2 # timeout=10 06:00:45 > git remote # timeout=10 06:00:45 > git config --get remote.origin.url # timeout=10 06:00:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:45 > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 06:00:45 > git rev-parse HEAD^{commit} # timeout=10 06:00:45 > git config core.sparsecheckout # timeout=10 06:00:45 > git checkout -f 4e4c204dbceea863fdaa482840bc9e3763931eb2 # timeout=10 06:00:47 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 4e4c204dbceea863fdaa482840bc9e3763931eb2 06:00:47 Merge succeeded, producing 4e4c204dbceea863fdaa482840bc9e3763931eb2 06:00:47 Checking out Revision 4e4c204dbceea863fdaa482840bc9e3763931eb2 (PR-672) 06:00:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:00:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:00:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:00:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/672/head:refs/remotes/origin/PR-672 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:00:47 > git config core.sparsecheckout # timeout=10 06:00:47 > git checkout -f 4e4c204dbceea863fdaa482840bc9e3763931eb2 # timeout=10 06:00:47 > git remote # timeout=10 06:00:47 > git config --get remote.origin.url # timeout=10 06:00:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:47 > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 06:00:47 > git rev-parse HEAD^{commit} # timeout=10 06:00:47 > git config core.sparsecheckout # timeout=10 06:00:47 > git checkout -f 4e4c204dbceea863fdaa482840bc9e3763931eb2 # timeout=10 06:00:49 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:00:49 > git --version # timeout=10 06:00:49 > git --version # 'git version 2.24.3' 06:00:49 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:51 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:00:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:00:51 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:00:52 > git --version # timeout=10 06:00:52 > git --version # 'git version 2.17.1' 06:00:52 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 06:00:52 + sudo service docker restart 06:00:52 + true 06:00:52 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] unstash 06:00:53 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] echo 06:00:53 ========================================================= 06:00:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:00:53 ========================================================= [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 06:00:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:00:54 + 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 . 06:00:54 + sudo service docker restart 06:00:54 + true 06:00:55 Sending build context to Docker daemon 19.09MB 06:00:55 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:00:55 Step 2/8 : FROM ${BASE} 06:00:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:55 188c0c94c7c5: Pulling fs layer 06:00:55 0ef7d3d256c8: Pulling fs layer 06:00:55 de9db76c5a1d: Pulling fs layer 06:00:55 bca2f99d35d6: Pulling fs layer 06:00:55 93359f2a8cfa: Pulling fs layer 06:00:55 7c6f9722023f: Pulling fs layer 06:00:55 a35cf1a2eb13: Pulling fs layer 06:00:55 93359f2a8cfa: Waiting 06:00:55 7c6f9722023f: Waiting 06:00:55 a35cf1a2eb13: Waiting 06:00:55 bca2f99d35d6: Waiting 06:00:55 de9db76c5a1d: Verifying Checksum 06:00:55 de9db76c5a1d: Download complete 06:00:55 0ef7d3d256c8: Download complete 06:00:55 93359f2a8cfa: Verifying Checksum 06:00:55 93359f2a8cfa: Download complete 06:00:55 7c6f9722023f: Verifying Checksum 06:00:55 7c6f9722023f: Download complete 06:00:55 188c0c94c7c5: Verifying Checksum 06:00:55 188c0c94c7c5: Download complete 06:00:55 188c0c94c7c5: Pull complete 06:00:55 0ef7d3d256c8: Pull complete 06:00:55 de9db76c5a1d: Pull complete [Pipeline] unstash [Pipeline] echo 06:00:57 ========================================================= 06:00:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:00:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:00:57 a35cf1a2eb13: Verifying Checksum 06:00:57 a35cf1a2eb13: Download complete 06:00:58 + 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 . 06:00:58 bca2f99d35d6: Verifying Checksum 06:00:58 bca2f99d35d6: Download complete 06:00:59 Sending build context to Docker daemon 19.08MB 06:00:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:00:59 Step 2/8 : FROM ${BASE} 06:00:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:00:59 5f621e34cdf4: Pulling fs layer 06:00:59 a4357932f1b6: Pulling fs layer 06:00:59 18c013af1878: Pulling fs layer 06:00:59 00ac8860ef70: Pulling fs layer 06:00:59 63d7cb157983: Pulling fs layer 06:00:59 b116817d02f9: Pulling fs layer 06:00:59 745a02a5169b: Pulling fs layer 06:00:59 63d7cb157983: Waiting 06:00:59 b116817d02f9: Waiting 06:00:59 745a02a5169b: Waiting 06:00:59 00ac8860ef70: Waiting 06:00:59 18c013af1878: Download complete 06:00:59 a4357932f1b6: Verifying Checksum 06:00:59 a4357932f1b6: Download complete 06:00:59 63d7cb157983: Download complete 06:00:59 b116817d02f9: Verifying Checksum 06:00:59 b116817d02f9: Download complete 06:00:59 5f621e34cdf4: Download complete 06:01:00 5f621e34cdf4: Pull complete 06:01:00 a4357932f1b6: Pull complete 06:01:01 18c013af1878: Pull complete 06:01:01 745a02a5169b: Verifying Checksum 06:01:01 745a02a5169b: Download complete 06:01:03 00ac8860ef70: Verifying Checksum 06:01:03 00ac8860ef70: Download complete 06:01:03 bca2f99d35d6: Pull complete 06:01:03 93359f2a8cfa: Pull complete 06:01:03 7c6f9722023f: Pull complete 06:01:10 a35cf1a2eb13: Pull complete 06:01:10 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:01:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:01:10 ---> a62c8e92a672 06:01:10 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 06:01:10 20.10.0: Pulling from library/docker 06:01:10 05e7bc50f07f: Pulling fs layer 06:01:10 6db28d0fdbf6: Pulling fs layer 06:01:10 292df0bc6bf3: Pulling fs layer 06:01:10 2e060f4bd70b: Pulling fs layer 06:01:10 80e8d568a223: Pulling fs layer 06:01:10 8dc6ef1a942a: Pulling fs layer 06:01:10 2312dd95470a: Pulling fs layer 06:01:10 2e060f4bd70b: Waiting 06:01:10 8dc6ef1a942a: Waiting 06:01:10 2312dd95470a: Waiting 06:01:10 80e8d568a223: Waiting 06:01:10 292df0bc6bf3: Verifying Checksum 06:01:10 292df0bc6bf3: Download complete 06:01:10 05e7bc50f07f: Verifying Checksum 06:01:10 05e7bc50f07f: Download complete 06:01:11 6db28d0fdbf6: Verifying Checksum 06:01:11 6db28d0fdbf6: Download complete 06:01:11 80e8d568a223: Verifying Checksum 06:01:11 80e8d568a223: Download complete 06:01:11 8dc6ef1a942a: Verifying Checksum 06:01:11 8dc6ef1a942a: Download complete 06:01:11 2312dd95470a: Verifying Checksum 06:01:11 2312dd95470a: Download complete 06:01:11 05e7bc50f07f: Pull complete 06:01:11 6db28d0fdbf6: Pull complete 06:01:11 292df0bc6bf3: Pull complete 06:01:13 00ac8860ef70: Pull complete 06:01:13 63d7cb157983: Pull complete 06:01:13 b116817d02f9: Pull complete 06:01:16 2e060f4bd70b: Verifying Checksum 06:01:16 2e060f4bd70b: Download complete 06:01:17 745a02a5169b: Pull complete 06:01:17 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:01:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:01:17 ---> b7e6874047d6 06:01:17 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 06:01:17 20.10.0: Pulling from library/docker 06:01:17 a3cc7d3b244e: Pulling fs layer 06:01:17 02a3295e0d61: Pulling fs layer 06:01:17 0f4f2e6d8100: Pulling fs layer 06:01:17 330b718f631f: Pulling fs layer 06:01:17 a93816041522: Pulling fs layer 06:01:17 bdb6da89ff94: Pulling fs layer 06:01:17 2a70c0c122f4: Pulling fs layer 06:01:17 330b718f631f: Waiting 06:01:17 2a70c0c122f4: Waiting 06:01:18 0f4f2e6d8100: Verifying Checksum 06:01:18 0f4f2e6d8100: Download complete 06:01:18 a3cc7d3b244e: Verifying Checksum 06:01:18 a3cc7d3b244e: Download complete 06:01:18 02a3295e0d61: Verifying Checksum 06:01:18 02a3295e0d61: Download complete 06:01:18 a93816041522: Verifying Checksum 06:01:18 a93816041522: Download complete 06:01:18 bdb6da89ff94: Verifying Checksum 06:01:18 bdb6da89ff94: Download complete 06:01:18 2a70c0c122f4: Download complete 06:01:18 2e060f4bd70b: Pull complete 06:01:18 80e8d568a223: Pull complete 06:01:18 8dc6ef1a942a: Pull complete 06:01:18 2312dd95470a: Pull complete 06:01:18 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 06:01:18 Status: Downloaded newer image for docker:20.10.0 06:01:18 a3cc7d3b244e: Pull complete 06:01:19 02a3295e0d61: Pull complete 06:01:20 0f4f2e6d8100: Pull complete 06:01:20 ---> bfa7532c8732 06:01:20 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:01:20 ---> Running in 10651013996b 06:01:20 Removing intermediate container 10651013996b 06:01:20 ---> de4d08d5c212 06:01:20 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 06:01:20 ---> Running in cd9cb77e9148 06:01:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:01:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:01:23 (1/5) Installing libsodium (1.0.18-r0) 06:01:23 (2/5) Installing libzmq (4.3.3-r0) 06:01:23 (3/5) Installing pkgconf (1.7.2-r0) 06:01:23 (4/5) Installing libsodium-dev (1.0.18-r0) 06:01:23 (5/5) Installing zeromq-dev (4.3.3-r0) 06:01:23 Executing busybox-1.31.1-r19.trigger 06:01:23 OK: 167 MiB in 44 packages 06:01:23 330b718f631f: Verifying Checksum 06:01:23 330b718f631f: Download complete 06:01:23 Removing intermediate container cd9cb77e9148 06:01:23 ---> e613cd8e0314 06:01:23 Step 6/8 : WORKDIR /build 06:01:23 ---> Running in ce00a5b71b79 06:01:24 Removing intermediate container ce00a5b71b79 06:01:24 ---> ab207044207c 06:01:24 Step 7/8 : COPY go.mod . 06:01:24 ---> f2f2ee68e207 06:01:24 Step 8/8 : RUN go mod download 06:01:24 ---> Running in aef45eda9cca 06:01:26 330b718f631f: Pull complete 06:01:26 a93816041522: Pull complete 06:01:27 bdb6da89ff94: Pull complete 06:01:27 2a70c0c122f4: Pull complete 06:01:27 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 06:01:27 Status: Downloaded newer image for docker:20.10.0 06:01:32 ---> 64a50e1db7ce 06:01:32 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:01:32 ---> Running in b74444f6e520 06:01:33 Removing intermediate container b74444f6e520 06:01:33 ---> 1b08905bbf43 06:01:33 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 06:01:33 ---> Running in 6e7b4ef84a55 06:01:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:01:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:01:36 (1/5) Installing libsodium (1.0.18-r0) 06:01:36 (2/5) Installing libzmq (4.3.3-r0) 06:01:36 (3/5) Installing pkgconf (1.7.2-r0) 06:01:36 (4/5) Installing libsodium-dev (1.0.18-r0) 06:01:36 (5/5) Installing zeromq-dev (4.3.3-r0) 06:01:37 Executing busybox-1.31.1-r19.trigger 06:01:37 OK: 144 MiB in 44 packages 06:01:38 Removing intermediate container 6e7b4ef84a55 06:01:38 ---> 30ec9ebf0a5a 06:01:38 Step 6/8 : WORKDIR /build 06:01:38 ---> Running in 8ce8dc8c5e92 06:01:38 Removing intermediate container 8ce8dc8c5e92 06:01:38 ---> d978343819ba 06:01:38 Step 7/8 : COPY go.mod . 06:01:39 ---> 077f0504bd73 06:01:39 Step 8/8 : RUN go mod download 06:01:39 ---> Running in 9da912946c40 06:01:50 Removing intermediate container aef45eda9cca 06:01:50 ---> 3c87f1698041 06:01:50 Successfully built 3c87f1698041 06:01:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:01:51 + docker inspect -f . ci-base-image-x86_64 06:01:51 . [Pipeline] withDockerContainer 06:01:51 prd-centos7-docker-4c-2g-24677 does not seem to be running inside a container 06:01:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:01:52 $ docker top beadc58e9d199836e66ec0703159e721f0f6cc192bfb17958f228c23c40f1e41 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:52 + go version 06:01:52 go version go1.15.5 linux/amd64 [Pipeline] } 06:01:52 $ docker stop --time=1 beadc58e9d199836e66ec0703159e721f0f6cc192bfb17958f228c23c40f1e41 06:01:54 $ docker rm -f beadc58e9d199836e66ec0703159e721f0f6cc192bfb17958f228c23c40f1e41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:01:55 + docker inspect -f . ci-base-image-x86_64 06:01:55 . [Pipeline] withDockerContainer 06:01:55 prd-centos7-docker-4c-2g-24677 does not seem to be running inside a container 06:01:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:01:56 $ docker top 2f66489c4fc8996c282c6b4a81c498ba5985b999cee50a14bd05dd28840b93fc -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:56 + make test 06:01:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:01:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 06:02:06 Removing intermediate container 9da912946c40 06:02:06 ---> a6d597cb74e4 06:02:06 Successfully built a6d597cb74e4 06:02:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:02:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.040s coverage: 82.6% of statements 06:02:07 + docker inspect -f . ci-base-image-arm64 06:02:07 . [Pipeline] withDockerContainer 06:02:07 prd-ubuntu18.04-docker-arm64-4c-16g-24676 does not seem to be running inside a container 06:02:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:02:09 $ docker top be4e102760d47ed6b4571be547faa471f1e0dde062ac97f1322877c250cd1067 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:10 + go version 06:02:10 go version go1.15.5 linux/arm64 [Pipeline] } 06:02:10 $ docker stop --time=1 be4e102760d47ed6b4571be547faa471f1e0dde062ac97f1322877c250cd1067 06:02:12 $ docker rm -f be4e102760d47ed6b4571be547faa471f1e0dde062ac97f1322877c250cd1067 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:02:13 + docker inspect -f . ci-base-image-arm64 06:02:13 . [Pipeline] withDockerContainer 06:02:13 prd-ubuntu18.04-docker-arm64-4c-16g-24676 does not seem to be running inside a container 06:02:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:02:15 $ docker top c2937f9ac7e01146444684c9e443ef359ba6434a911e98f7a64e67b55a85b089 -eo pid,comm 06:02:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.041s coverage: 48.6% of statements 06:02:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 06:02:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 06:02:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.039s coverage: 61.5% of statements 06:02:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [Pipeline] { 06:02:15 --- FAIL: TestProcessMessageNoTransforms (0.00s) 06:02:15 runtime_test.go:116: 06:02:15 Error Trace: runtime_test.go:116 06:02:15 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002c9950), ErrorCode:400} 06:02:15 Test: TestProcessMessageNoTransforms 06:02:15 Messages: result should be nil since no transforms have been passed 06:02:15 --- FAIL: TestProcessMessageOneCustomTransform (0.00s) 06:02:15 runtime_test.go:145: 06:02:15 Error Trace: runtime_test.go:145 06:02:15 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002c9bd0), ErrorCode:400} 06:02:15 Test: TestProcessMessageOneCustomTransform 06:02:15 --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) 06:02:15 runtime_test.go:186: 06:02:15 Error Trace: runtime_test.go:186 06:02:15 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002c9e60), ErrorCode:400} 06:02:15 Test: TestProcessMessageTwoCustomTransforms 06:02:15 --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) 06:02:15 runtime_test.go:233: 06:02:15 Error Trace: runtime_test.go:233 06:02:15 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0003240e0), ErrorCode:400} 06:02:15 Test: TestProcessMessageThreeCustomTransformsOneFail 06:02:15 --- FAIL: TestProcessMessageJSON (0.00s) 06:02:15 runtime_test.go:308: 06:02:15 Error Trace: runtime_test.go:308 06:02:15 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000324470), ErrorCode:400} 06:02:15 Test: TestProcessMessageJSON 06:02:15 Messages: result should be null. Got &{unable to process Event object received: failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 400} 06:02:15 runtime_test.go:309: 06:02:15 Error Trace: runtime_test.go:309 06:02:15 Error: Should be true 06:02:15 Test: TestProcessMessageJSON 06:02:15 Messages: transform1 should have been called 06:02:15 --- FAIL: TestProcessMessageTargetType (0.00s) 06:02:15 runtime_test.go:423: 06:02:15 Error Trace: runtime_test.go:423 06:02:15 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000324cd0), ErrorCode:400} 06:02:15 Test: TestProcessMessageTargetType 06:02:15 Messages: unexpected error for test 'Default Nil Target Type' 06:02:15 runtime_test.go:427: 06:02:15 Error Trace: runtime_test.go:427 06:02:15 Error: Not equal: 06:02:15 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:02:15 actual : []byte(nil) 06:02:15 06:02:15 Diff: 06:02:15 --- Expected 06:02:15 +++ Actual 06:02:15 @@ -1,31 +1,2 @@ 06:02:15 -([]uint8) (len=444) { 06:02:15 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:02:15 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:02:15 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:02:15 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:02:15 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:02:15 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:02:15 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:02:15 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:02:15 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 33 33 32 31 |reated":16123321| 06:02:15 - 00000090 33 35 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |35,"origin":1612| 06:02:15 - 000000a0 33 33 32 31 33 35 2c 22 72 65 61 64 69 6e 67 73 |332135,"readings| 06:02:15 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:02:15 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:02:15 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:02:15 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:02:15 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:02:15 - 00000100 33 33 32 31 33 35 2c 22 6f 72 69 67 69 6e 22 3a |332135,"origin":| 06:02:15 - 00000110 31 36 31 32 33 33 32 31 33 35 2c 22 64 65 76 69 |1612332135,"devi| 06:02:15 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:02:15 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:02:15 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:02:15 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:02:15 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:02:15 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:02:15 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:02:15 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:02:15 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:02:15 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:02:15 -} 06:02:15 +([]uint8) 06:02:15 06:02:15 Test: TestProcessMessageTargetType 06:02:15 Messages: 'Default Nil Target Type' test failed 06:02:15 runtime_test.go:423: 06:02:15 Error Trace: runtime_test.go:423 06:02:15 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000325050), ErrorCode:400} 06:02:15 Test: TestProcessMessageTargetType 06:02:15 Messages: unexpected error for test 'Event as Json' 06:02:15 runtime_test.go:427: 06:02:15 Error Trace: runtime_test.go:427 06:02:15 Error: Not equal: 06:02:15 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:02:15 actual : []byte(nil) 06:02:15 06:02:15 Diff: 06:02:15 --- Expected 06:02:15 +++ Actual 06:02:15 @@ -1,31 +1,2 @@ 06:02:15 -([]uint8) (len=444) { 06:02:15 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:02:15 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:02:15 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:02:15 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:02:15 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:02:15 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:02:15 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:02:15 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:02:15 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 33 33 32 31 |reated":16123321| 06:02:15 - 00000090 33 35 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |35,"origin":1612| 06:02:15 - 000000a0 33 33 32 31 33 35 2c 22 72 65 61 64 69 6e 67 73 |332135,"readings| 06:02:15 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:02:15 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:02:15 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:02:15 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:02:15 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:02:15 - 00000100 33 33 32 31 33 35 2c 22 6f 72 69 67 69 6e 22 3a |332135,"origin":| 06:02:15 - 00000110 31 36 31 32 33 33 32 31 33 35 2c 22 64 65 76 69 |1612332135,"devi| 06:02:15 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:02:15 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:02:15 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:02:15 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:02:15 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:02:15 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:02:15 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:02:15 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:02:15 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:02:15 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:02:15 -} 06:02:15 +([]uint8) 06:02:15 06:02:15 Test: TestProcessMessageTargetType 06:02:15 Messages: 'Event as Json' test failed 06:02:15 runtime_test.go:423: 06:02:15 Error Trace: runtime_test.go:423 06:02:15 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0003254d0), ErrorCode:400} 06:02:15 Test: TestProcessMessageTargetType 06:02:15 Messages: unexpected error for test 'Event as Cbor' 06:02:15 runtime_test.go:427: 06:02:15 Error Trace: runtime_test.go:427 06:02:15 Error: Not equal: 06:02:15 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:02:15 actual : []byte(nil) 06:02:15 06:02:15 Diff: 06:02:15 --- Expected 06:02:15 +++ Actual 06:02:15 @@ -1,31 +1,2 @@ 06:02:15 -([]uint8) (len=444) { 06:02:15 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:02:15 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:02:15 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:02:15 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:02:15 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:02:15 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:02:15 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:02:15 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:02:15 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 33 33 32 31 |reated":16123321| 06:02:15 - 00000090 33 35 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |35,"origin":1612| 06:02:15 - 000000a0 33 33 32 31 33 35 2c 22 72 65 61 64 69 6e 67 73 |332135,"readings| 06:02:15 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:02:15 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:02:15 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:02:15 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:02:15 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:02:15 - 00000100 33 33 32 31 33 35 2c 22 6f 72 69 67 69 6e 22 3a |332135,"origin":| 06:02:15 - 00000110 31 36 31 32 33 33 32 31 33 35 2c 22 64 65 76 69 |1612332135,"devi| 06:02:15 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:02:15 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:02:15 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:02:15 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:02:15 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:02:15 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:02:15 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:02:15 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:02:15 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:02:15 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:02:15 -} 06:02:15 +([]uint8) 06:02:15 06:02:15 Test: TestProcessMessageTargetType 06:02:15 Messages: 'Event as Cbor' test failed 06:02:15 --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) 06:02:15 --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) 06:02:15 runtime_test.go:599: 06:02:15 Error Trace: runtime_test.go:599 06:02:15 Error: Received unexpected error: 06:02:15 failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 06:02:15 Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event 06:02:15 --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) 06:02:15 runtime_test.go:599: 06:02:15 Error Trace: runtime_test.go:599 06:02:15 Error: Received unexpected error: 06:02:15 validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 06:02:15 Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event 06:02:15 FAIL 06:02:15 coverage: 73.4% of statements 06:02:15 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.075s 06:02:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 06:02:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 06:02:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 06:02:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 06:02:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 06:02:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 06:02:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.012s coverage: 97.0% of statements 06:02:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 06:02:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.022s coverage: 8.8% of statements [Pipeline] sh 06:02:16 + make test 06:02:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:02:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 06:02:33 --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) 06:02:33 messaging_test.go:206: 06:02:33 Error Trace: messaging_test.go:206 06:02:33 Error: Should be true 06:02:33 Test: TestInitializeAndProcessEventWithNoOutput 06:02:33 Messages: Transform never called 06:02:33 --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) 06:02:33 messaging_test.go:290: 06:02:33 Error Trace: messaging_test.go:290 06:02:33 Error: Should be true 06:02:33 Test: TestInitializeAndProcessEventWithOutput 06:02:33 Messages: Transform never called 06:02:33 --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) 06:02:33 messaging_test.go:385: 06:02:33 Error Trace: messaging_test.go:385 06:02:33 Error: Should be true 06:02:33 Test: TestInitializeAndProcessEventWithOutput_InferJSON 06:02:33 Messages: Transform never called 06:02:33 --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.31s) 06:02:33 messaging_test.go:477: 06:02:33 Error Trace: messaging_test.go:477 06:02:33 Error: Should be true 06:02:33 Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR 06:02:33 Messages: Transform never called 06:02:33 --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) 06:02:33 messaging_test.go:638: 06:02:33 Error Trace: messaging_test.go:638 06:02:33 Error: Transform never called for t1 06:02:33 Test: TestInitializeAndProcessEventMultipleTopics 06:02:33 FAIL 06:02:33 coverage: 62.0% of statements 06:02:33 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.851s 06:02:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 06:02:33 --- FAIL: TestAddSecretRequest (0.00s) 06:02:33 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) 06:02:33 controller_test.go:261: 06:02:33 Error Trace: controller_test.go:261 06:02:33 Error: Not equal: 06:02:33 expected: 201 06:02:33 actual : 400 06:02:33 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:02:33 Messages: HTTP status code not as expected 06:02:33 controller_test.go:263: 06:02:33 Error Trace: controller_test.go:263 06:02:33 Error: Not equal: 06:02:33 expected: 201 06:02:33 actual : 400 06:02:33 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:02:33 Messages: BaseResponse status code not as expected 06:02:33 controller_test.go:270: 06:02:33 Error Trace: controller_test.go:270 06:02:33 Error: Not equal: 06:02:33 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:02:33 actual : "" 06:02:33 06:02:33 Diff: 06:02:33 --- Expected 06:02:33 +++ Actual 06:02:33 @@ -1 +1 @@ 06:02:33 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:02:33 + 06:02:33 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:02:33 Messages: RequestID not as expected 06:02:33 controller_test.go:271: 06:02:33 Error Trace: controller_test.go:271 06:02:33 Error: Should be empty, but was JSON decode failed 06:02:33 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:02:33 Messages: Message not empty, as expected 06:02:33 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) 06:02:33 controller_test.go:261: 06:02:33 Error Trace: controller_test.go:261 06:02:33 Error: Not equal: 06:02:33 expected: 201 06:02:33 actual : 400 06:02:33 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:02:33 Messages: HTTP status code not as expected 06:02:33 controller_test.go:263: 06:02:33 Error Trace: controller_test.go:263 06:02:33 Error: Not equal: 06:02:33 expected: 201 06:02:33 actual : 400 06:02:33 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:02:33 Messages: BaseResponse status code not as expected 06:02:33 controller_test.go:270: 06:02:33 Error Trace: controller_test.go:270 06:02:33 Error: Not equal: 06:02:33 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:02:33 actual : "" 06:02:33 06:02:33 Diff: 06:02:33 --- Expected 06:02:33 +++ Actual 06:02:33 @@ -1 +1 @@ 06:02:33 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:02:33 + 06:02:33 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:02:33 Messages: RequestID not as expected 06:02:33 controller_test.go:271: 06:02:33 Error Trace: controller_test.go:271 06:02:33 Error: Should be empty, but was JSON decode failed 06:02:33 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:02:33 Messages: Message not empty, as expected 06:02:33 --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) 06:02:33 controller_test.go:261: 06:02:33 Error Trace: controller_test.go:261 06:02:33 Error: Not equal: 06:02:33 expected: 201 06:02:33 actual : 400 06:02:33 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:02:33 Messages: HTTP status code not as expected 06:02:33 controller_test.go:263: 06:02:33 Error Trace: controller_test.go:263 06:02:33 Error: Not equal: 06:02:33 expected: 201 06:02:33 actual : 400 06:02:33 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:02:33 Messages: BaseResponse status code not as expected 06:02:33 controller_test.go:270: 06:02:33 Error Trace: controller_test.go:270 06:02:33 Error: Not equal: 06:02:33 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:02:33 actual : "" 06:02:33 06:02:33 Diff: 06:02:33 --- Expected 06:02:33 +++ Actual 06:02:33 @@ -1 +1 @@ 06:02:33 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:02:33 + 06:02:33 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:02:33 Messages: RequestID not as expected 06:02:33 controller_test.go:271: 06:02:33 Error Trace: controller_test.go:271 06:02:33 Error: Should be empty, but was JSON decode failed 06:02:33 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:02:33 Messages: Message not empty, as expected 06:02:33 --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) 06:02:33 controller_test.go:261: 06:02:33 Error Trace: controller_test.go:261 06:02:33 Error: Not equal: 06:02:33 expected: 201 06:02:33 actual : 400 06:02:33 Test: TestAddSecretRequest/Valid_-_no_requestId 06:02:33 Messages: HTTP status code not as expected 06:02:33 controller_test.go:263: 06:02:33 Error Trace: controller_test.go:263 06:02:33 Error: Not equal: 06:02:33 expected: 201 06:02:33 actual : 400 06:02:33 Test: TestAddSecretRequest/Valid_-_no_requestId 06:02:33 Messages: BaseResponse status code not as expected 06:02:33 controller_test.go:271: 06:02:33 Error Trace: controller_test.go:271 06:02:33 Error: Should be empty, but was JSON decode failed 06:02:33 Test: TestAddSecretRequest/Valid_-_no_requestId 06:02:33 Messages: Message not empty, as expected 06:02:33 --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) 06:02:33 controller_test.go:261: 06:02:33 Error Trace: controller_test.go:261 06:02:33 Error: Not equal: 06:02:33 expected: 500 06:02:33 actual : 400 06:02:33 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 06:02:33 Messages: HTTP status code not as expected 06:02:33 controller_test.go:263: 06:02:33 Error Trace: controller_test.go:263 06:02:33 Error: Not equal: 06:02:33 expected: 500 06:02:33 actual : 400 06:02:33 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 06:02:33 Messages: BaseResponse status code not as expected 06:02:33 FAIL 06:02:33 coverage: 63.8% of statements 06:02:33 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.016s 06:02:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.015s coverage: 80.5% of statements 06:02:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.010s coverage: 71.7% of statements 06:02:43 --- FAIL: TestTransformToJSON (0.00s) 06:02:43 conversion_test.go:130: 06:02:43 Error Trace: conversion_test.go:130 06:02:43 Error: Not equal: 06:02:43 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:02:43 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:02:43 06:02:43 Diff: 06:02:43 --- Expected 06:02:43 +++ Actual 06:02:43 @@ -1 +1 @@ 06:02:43 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:02:43 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:02:43 Test: TestTransformToJSON 06:02:43 --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) 06:02:43 conversion_test.go:157: 06:02:43 Error Trace: conversion_test.go:157 06:02:43 Error: Not equal: 06:02:43 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:02:43 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:02:43 06:02:43 Diff: 06:02:43 --- Expected 06:02:43 +++ Actual 06:02:43 @@ -1 +1 @@ 06:02:43 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:02:43 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:02:43 Test: TestTransformToJSONMultipleParametersValid 06:02:43 --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) 06:02:43 conversion_test.go:175: 06:02:43 Error Trace: conversion_test.go:175 06:02:43 Error: Not equal: 06:02:43 expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:02:43 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:02:43 06:02:43 Diff: 06:02:43 --- Expected 06:02:43 +++ Actual 06:02:43 @@ -1 +1 @@ 06:02:43 -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 06:02:43 +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 06:02:43 Test: TestTransformToJSONMultipleParametersTwoEvents 06:02:43 FAIL 06:02:43 coverage: 81.4% of statements 06:02:43 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.037s 06:02:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 06:02:43 FAIL 06:02:43 make: *** [Makefile:6: test] Error 1 [Pipeline] } 06:02:43 $ docker stop --time=1 2f66489c4fc8996c282c6b4a81c498ba5985b999cee50a14bd05dd28840b93fc 06:02:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.061s coverage: 82.6% of statements 06:02:45 $ docker rm -f 2f66489c4fc8996c282c6b4a81c498ba5985b999cee50a14bd05dd28840b93fc [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] } 06:02:48 Failed in branch amd64 06:03:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.068s coverage: 48.6% of statements 06:03:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 06:03:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 06:03:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.076s coverage: 61.5% of statements 06:03:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 06:03:06 --- FAIL: TestProcessMessageNoTransforms (0.00s) 06:03:06 runtime_test.go:116: 06:03:06 Error Trace: runtime_test.go:116 06:03:06 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c7950), ErrorCode:400} 06:03:06 Test: TestProcessMessageNoTransforms 06:03:06 Messages: result should be nil since no transforms have been passed 06:03:06 --- FAIL: TestProcessMessageOneCustomTransform (0.00s) 06:03:06 runtime_test.go:145: 06:03:06 Error Trace: runtime_test.go:145 06:03:06 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008e1e0), ErrorCode:400} 06:03:06 Test: TestProcessMessageOneCustomTransform 06:03:06 --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) 06:03:06 runtime_test.go:186: 06:03:06 Error Trace: runtime_test.go:186 06:03:06 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008e470), ErrorCode:400} 06:03:06 Test: TestProcessMessageTwoCustomTransforms 06:03:06 --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) 06:03:06 runtime_test.go:233: 06:03:06 Error Trace: runtime_test.go:233 06:03:06 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008e6f0), ErrorCode:400} 06:03:06 Test: TestProcessMessageThreeCustomTransformsOneFail 06:03:06 --- FAIL: TestProcessMessageJSON (0.00s) 06:03:06 runtime_test.go:308: 06:03:06 Error Trace: runtime_test.go:308 06:03:06 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008ea80), ErrorCode:400} 06:03:06 Test: TestProcessMessageJSON 06:03:06 Messages: result should be null. Got &{unable to process Event object received: failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 400} 06:03:06 runtime_test.go:309: 06:03:06 Error Trace: runtime_test.go:309 06:03:06 Error: Should be true 06:03:06 Test: TestProcessMessageJSON 06:03:06 Messages: transform1 should have been called 06:03:06 --- FAIL: TestProcessMessageTargetType (0.01s) 06:03:06 runtime_test.go:423: 06:03:06 Error Trace: runtime_test.go:423 06:03:06 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008f2e0), ErrorCode:400} 06:03:06 Test: TestProcessMessageTargetType 06:03:06 Messages: unexpected error for test 'Default Nil Target Type' 06:03:06 runtime_test.go:427: 06:03:06 Error Trace: runtime_test.go:427 06:03:06 Error: Not equal: 06:03:06 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:03:06 actual : []byte(nil) 06:03:06 06:03:06 Diff: 06:03:06 --- Expected 06:03:06 +++ Actual 06:03:06 @@ -1,31 +1,2 @@ 06:03:06 -([]uint8) (len=444) { 06:03:06 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:03:06 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:03:06 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:03:06 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:03:06 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:03:06 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:03:06 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:03:06 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:03:06 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 33 33 32 31 |reated":16123321| 06:03:06 - 00000090 38 30 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |80,"origin":1612| 06:03:06 - 000000a0 33 33 32 31 38 30 2c 22 72 65 61 64 69 6e 67 73 |332180,"readings| 06:03:06 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:03:06 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:03:06 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:03:06 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:03:06 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:03:06 - 00000100 33 33 32 31 38 30 2c 22 6f 72 69 67 69 6e 22 3a |332180,"origin":| 06:03:06 - 00000110 31 36 31 32 33 33 32 31 38 30 2c 22 64 65 76 69 |1612332180,"devi| 06:03:06 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:03:06 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:03:06 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:03:06 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:03:06 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:03:06 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:03:06 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:03:06 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:03:06 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:03:06 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:03:06 -} 06:03:06 +([]uint8) 06:03:06 06:03:06 Test: TestProcessMessageTargetType 06:03:06 Messages: 'Default Nil Target Type' test failed 06:03:06 runtime_test.go:423: 06:03:06 Error Trace: runtime_test.go:423 06:03:06 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008f660), ErrorCode:400} 06:03:06 Test: TestProcessMessageTargetType 06:03:06 Messages: unexpected error for test 'Event as Json' 06:03:06 runtime_test.go:427: 06:03:06 Error Trace: runtime_test.go:427 06:03:06 Error: Not equal: 06:03:06 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:03:06 actual : []byte(nil) 06:03:06 06:03:06 Diff: 06:03:06 --- Expected 06:03:06 +++ Actual 06:03:06 @@ -1,31 +1,2 @@ 06:03:06 -([]uint8) (len=444) { 06:03:06 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:03:06 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:03:06 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:03:06 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:03:06 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:03:06 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:03:06 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:03:06 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:03:06 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 33 33 32 31 |reated":16123321| 06:03:06 - 00000090 38 30 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |80,"origin":1612| 06:03:06 - 000000a0 33 33 32 31 38 30 2c 22 72 65 61 64 69 6e 67 73 |332180,"readings| 06:03:06 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:03:06 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:03:06 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:03:06 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:03:06 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:03:06 - 00000100 33 33 32 31 38 30 2c 22 6f 72 69 67 69 6e 22 3a |332180,"origin":| 06:03:06 - 00000110 31 36 31 32 33 33 32 31 38 30 2c 22 64 65 76 69 |1612332180,"devi| 06:03:06 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:03:06 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:03:06 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:03:06 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:03:06 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:03:06 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:03:06 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:03:06 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:03:06 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:03:06 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:03:06 -} 06:03:06 +([]uint8) 06:03:06 06:03:06 Test: TestProcessMessageTargetType 06:03:06 Messages: 'Event as Json' test failed 06:03:06 runtime_test.go:423: 06:03:06 Error Trace: runtime_test.go:423 06:03:06 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008fae0), ErrorCode:400} 06:03:06 Test: TestProcessMessageTargetType 06:03:06 Messages: unexpected error for test 'Event as Cbor' 06:03:06 runtime_test.go:427: 06:03:06 Error Trace: runtime_test.go:427 06:03:06 Error: Not equal: 06:03:06 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:03:06 actual : []byte(nil) 06:03:06 06:03:06 Diff: 06:03:06 --- Expected 06:03:06 +++ Actual 06:03:06 @@ -1,31 +1,2 @@ 06:03:06 -([]uint8) (len=444) { 06:03:06 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:03:06 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:03:06 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:03:06 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:03:06 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:03:06 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:03:06 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:03:06 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:03:06 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 33 33 32 31 |reated":16123321| 06:03:06 - 00000090 38 30 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |80,"origin":1612| 06:03:06 - 000000a0 33 33 32 31 38 30 2c 22 72 65 61 64 69 6e 67 73 |332180,"readings| 06:03:06 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:03:06 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:03:06 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:03:06 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:03:06 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:03:06 - 00000100 33 33 32 31 38 30 2c 22 6f 72 69 67 69 6e 22 3a |332180,"origin":| 06:03:06 - 00000110 31 36 31 32 33 33 32 31 38 30 2c 22 64 65 76 69 |1612332180,"devi| 06:03:06 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:03:06 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:03:06 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:03:06 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:03:06 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:03:06 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:03:06 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:03:06 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:03:06 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:03:06 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:03:06 -} 06:03:06 +([]uint8) 06:03:06 06:03:06 Test: TestProcessMessageTargetType 06:03:06 Messages: 'Event as Cbor' test failed 06:03:06 --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) 06:03:06 --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) 06:03:06 runtime_test.go:599: 06:03:06 Error Trace: runtime_test.go:599 06:03:06 Error: Received unexpected error: 06:03:06 failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 06:03:06 Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event 06:03:06 --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) 06:03:06 runtime_test.go:599: 06:03:06 Error Trace: runtime_test.go:599 06:03:06 Error: Received unexpected error: 06:03:06 validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 06:03:06 Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event 06:03:06 FAIL 06:03:06 coverage: 73.4% of statements 06:03:06 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.105s 06:03:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 06:03:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 06:03:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 06:03:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 06:03:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 06:03:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 06:03:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.020s coverage: 97.0% of statements 06:03:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 06:03:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.028s coverage: 8.8% of statements 06:03:25 --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.32s) 06:03:25 messaging_test.go:206: 06:03:25 Error Trace: messaging_test.go:206 06:03:25 Error: Should be true 06:03:25 Test: TestInitializeAndProcessEventWithNoOutput 06:03:25 Messages: Transform never called 06:03:25 --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) 06:03:25 messaging_test.go:290: 06:03:25 Error Trace: messaging_test.go:290 06:03:25 Error: Should be true 06:03:25 Test: TestInitializeAndProcessEventWithOutput 06:03:25 Messages: Transform never called 06:03:25 --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) 06:03:25 messaging_test.go:385: 06:03:25 Error Trace: messaging_test.go:385 06:03:25 Error: Should be true 06:03:25 Test: TestInitializeAndProcessEventWithOutput_InferJSON 06:03:25 Messages: Transform never called 06:03:25 --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.32s) 06:03:25 messaging_test.go:477: 06:03:25 Error Trace: messaging_test.go:477 06:03:25 Error: Should be true 06:03:25 Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR 06:03:25 Messages: Transform never called 06:03:25 --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) 06:03:25 messaging_test.go:638: 06:03:25 Error Trace: messaging_test.go:638 06:03:25 Error: Transform never called for t1 06:03:25 Test: TestInitializeAndProcessEventMultipleTopics 06:03:25 FAIL 06:03:25 coverage: 62.0% of statements 06:03:25 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.932s 06:03:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 06:03:25 --- FAIL: TestAddSecretRequest (0.01s) 06:03:25 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) 06:03:25 controller_test.go:261: 06:03:25 Error Trace: controller_test.go:261 06:03:25 Error: Not equal: 06:03:25 expected: 201 06:03:25 actual : 400 06:03:25 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:03:25 Messages: HTTP status code not as expected 06:03:25 controller_test.go:263: 06:03:25 Error Trace: controller_test.go:263 06:03:25 Error: Not equal: 06:03:25 expected: 201 06:03:25 actual : 400 06:03:25 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:03:25 Messages: BaseResponse status code not as expected 06:03:25 controller_test.go:270: 06:03:25 Error Trace: controller_test.go:270 06:03:25 Error: Not equal: 06:03:25 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:03:25 actual : "" 06:03:25 06:03:25 Diff: 06:03:25 --- Expected 06:03:25 +++ Actual 06:03:25 @@ -1 +1 @@ 06:03:25 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:03:25 + 06:03:25 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:03:25 Messages: RequestID not as expected 06:03:25 controller_test.go:271: 06:03:25 Error Trace: controller_test.go:271 06:03:25 Error: Should be empty, but was JSON decode failed 06:03:25 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:03:25 Messages: Message not empty, as expected 06:03:25 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) 06:03:25 controller_test.go:261: 06:03:25 Error Trace: controller_test.go:261 06:03:25 Error: Not equal: 06:03:25 expected: 201 06:03:25 actual : 400 06:03:25 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:03:25 Messages: HTTP status code not as expected 06:03:25 controller_test.go:263: 06:03:25 Error Trace: controller_test.go:263 06:03:25 Error: Not equal: 06:03:25 expected: 201 06:03:25 actual : 400 06:03:25 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:03:25 Messages: BaseResponse status code not as expected 06:03:25 controller_test.go:270: 06:03:25 Error Trace: controller_test.go:270 06:03:25 Error: Not equal: 06:03:25 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:03:25 actual : "" 06:03:25 06:03:25 Diff: 06:03:25 --- Expected 06:03:25 +++ Actual 06:03:25 @@ -1 +1 @@ 06:03:25 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:03:25 + 06:03:25 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:03:25 Messages: RequestID not as expected 06:03:25 controller_test.go:271: 06:03:25 Error Trace: controller_test.go:271 06:03:25 Error: Should be empty, but was JSON decode failed 06:03:25 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:03:25 Messages: Message not empty, as expected 06:03:25 --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) 06:03:25 controller_test.go:261: 06:03:25 Error Trace: controller_test.go:261 06:03:25 Error: Not equal: 06:03:25 expected: 201 06:03:25 actual : 400 06:03:25 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:03:25 Messages: HTTP status code not as expected 06:03:25 controller_test.go:263: 06:03:25 Error Trace: controller_test.go:263 06:03:25 Error: Not equal: 06:03:25 expected: 201 06:03:25 actual : 400 06:03:25 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:03:25 Messages: BaseResponse status code not as expected 06:03:25 controller_test.go:270: 06:03:25 Error Trace: controller_test.go:270 06:03:25 Error: Not equal: 06:03:25 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:03:25 actual : "" 06:03:25 06:03:25 Diff: 06:03:25 --- Expected 06:03:25 +++ Actual 06:03:25 @@ -1 +1 @@ 06:03:25 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:03:25 + 06:03:25 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:03:25 Messages: RequestID not as expected 06:03:25 controller_test.go:271: 06:03:25 Error Trace: controller_test.go:271 06:03:25 Error: Should be empty, but was JSON decode failed 06:03:25 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:03:25 Messages: Message not empty, as expected 06:03:25 --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) 06:03:25 controller_test.go:261: 06:03:25 Error Trace: controller_test.go:261 06:03:25 Error: Not equal: 06:03:25 expected: 201 06:03:25 actual : 400 06:03:25 Test: TestAddSecretRequest/Valid_-_no_requestId 06:03:25 Messages: HTTP status code not as expected 06:03:25 controller_test.go:263: 06:03:25 Error Trace: controller_test.go:263 06:03:25 Error: Not equal: 06:03:25 expected: 201 06:03:25 actual : 400 06:03:25 Test: TestAddSecretRequest/Valid_-_no_requestId 06:03:25 Messages: BaseResponse status code not as expected 06:03:25 controller_test.go:271: 06:03:25 Error Trace: controller_test.go:271 06:03:25 Error: Should be empty, but was JSON decode failed 06:03:25 Test: TestAddSecretRequest/Valid_-_no_requestId 06:03:25 Messages: Message not empty, as expected 06:03:25 --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) 06:03:25 controller_test.go:261: 06:03:25 Error Trace: controller_test.go:261 06:03:25 Error: Not equal: 06:03:25 expected: 500 06:03:25 actual : 400 06:03:25 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 06:03:25 Messages: HTTP status code not as expected 06:03:25 controller_test.go:263: 06:03:25 Error Trace: controller_test.go:263 06:03:25 Error: Not equal: 06:03:25 expected: 500 06:03:25 actual : 400 06:03:25 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 06:03:25 Messages: BaseResponse status code not as expected 06:03:25 FAIL 06:03:25 coverage: 63.8% of statements 06:03:25 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.062s 06:03:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.044s coverage: 80.5% of statements 06:03:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.040s coverage: 71.7% of statements 06:03:33 --- FAIL: TestTransformToJSON (0.00s) 06:03:33 conversion_test.go:130: 06:03:33 Error Trace: conversion_test.go:130 06:03:33 Error: Not equal: 06:03:33 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:03:33 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:03:33 06:03:33 Diff: 06:03:33 --- Expected 06:03:33 +++ Actual 06:03:33 @@ -1 +1 @@ 06:03:33 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:03:33 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:03:33 Test: TestTransformToJSON 06:03:33 --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) 06:03:33 conversion_test.go:157: 06:03:33 Error Trace: conversion_test.go:157 06:03:33 Error: Not equal: 06:03:33 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:03:33 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:03:33 06:03:33 Diff: 06:03:33 --- Expected 06:03:33 +++ Actual 06:03:33 @@ -1 +1 @@ 06:03:33 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:03:33 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:03:33 Test: TestTransformToJSONMultipleParametersValid 06:03:33 --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) 06:03:33 conversion_test.go:175: 06:03:33 Error Trace: conversion_test.go:175 06:03:33 Error: Not equal: 06:03:33 expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:03:33 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:03:33 06:03:33 Diff: 06:03:33 --- Expected 06:03:33 +++ Actual 06:03:33 @@ -1 +1 @@ 06:03:33 -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 06:03:33 +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 06:03:33 Test: TestTransformToJSONMultipleParametersTwoEvents 06:03:33 FAIL 06:03:33 coverage: 81.4% of statements 06:03:33 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s 06:03:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements 06:03:33 FAIL 06:03:33 make: *** [Makefile:6: test] Error 1 [Pipeline] } 06:03:33 $ docker stop --time=1 c2937f9ac7e01146444684c9e443ef359ba6434a911e98f7a64e67b55a85b089 06:03:35 $ docker rm -f c2937f9ac7e01146444684c9e443ef359ba6434a911e98f7a64e67b55a85b089 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:03:38 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 Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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 06:03:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:03:42 ---> package-listing.sh 06:03:42 ++ facter osfamily 06:03:42 ++ tr '[:upper:]' '[:lower:]' 06:03:42 + OS_FAMILY=redhat 06:03:42 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-672 06:03:42 + START_PACKAGES=/tmp/packages_start.txt 06:03:42 + END_PACKAGES=/tmp/packages_end.txt 06:03:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:03:42 + PACKAGES=/tmp/packages_start.txt 06:03:42 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-672 ']' 06:03:42 + PACKAGES=/tmp/packages_end.txt 06:03:42 + case "${OS_FAMILY}" in 06:03:42 + rpm -qa 06:03:42 + sort 06:03:47 + '[' -f /tmp/packages_start.txt ']' 06:03:47 + '[' -f /tmp/packages_end.txt ']' 06:03:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:03:47 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-672 ']' 06:03:47 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-672/archives/ 06:03:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-672/archives/ [Pipeline] echo 06:03:48 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-672/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:03:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:03:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:48 06:03:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:03:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:49 alpine: Pulling from edgex-lftools-log-publisher 06:03:49 df20fa9351a1: Pulling fs layer 06:03:49 36b3adc4ff6f: Pulling fs layer 06:03:49 8ad3a11d3b57: Pulling fs layer 06:03:49 46f8f816bc3b: Pulling fs layer 06:03:49 93b61091891f: Pulling fs layer 06:03:49 93b9cdb0e59b: Pulling fs layer 06:03:49 5e14af77c1be: Pulling fs layer 06:03:49 01666e4c0597: Pulling fs layer 06:03:49 aa168da1d23b: Pulling fs layer 06:03:49 46f8f816bc3b: Waiting 06:03:49 5e14af77c1be: Waiting 06:03:49 93b61091891f: Waiting 06:03:49 93b9cdb0e59b: Waiting 06:03:49 01666e4c0597: Waiting 06:03:49 aa168da1d23b: Waiting 06:03:49 36b3adc4ff6f: Download complete 06:03:49 46f8f816bc3b: Verifying Checksum 06:03:49 46f8f816bc3b: Download complete 06:03:49 df20fa9351a1: Verifying Checksum 06:03:49 df20fa9351a1: Download complete 06:03:49 93b9cdb0e59b: Verifying Checksum 06:03:49 93b9cdb0e59b: Download complete 06:03:49 93b61091891f: Download complete 06:03:49 5e14af77c1be: Download complete 06:03:49 01666e4c0597: Verifying Checksum 06:03:49 01666e4c0597: Download complete 06:03:49 df20fa9351a1: Pull complete 06:03:49 8ad3a11d3b57: Verifying Checksum 06:03:49 8ad3a11d3b57: Download complete 06:03:49 36b3adc4ff6f: Pull complete 06:03:50 8ad3a11d3b57: Pull complete 06:03:50 46f8f816bc3b: Pull complete 06:03:51 93b61091891f: Pull complete 06:03:51 aa168da1d23b: Verifying Checksum 06:03:51 aa168da1d23b: Download complete 06:03:51 93b9cdb0e59b: Pull complete 06:03:52 5e14af77c1be: Pull complete 06:03:52 01666e4c0597: Pull complete 06:04:00 aa168da1d23b: Pull complete 06:04:00 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:04:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:04:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:04:00 prd-centos7-docker-4c-2g-24675 does not seem to be running inside a container 06:04:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-672/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-672 -v /w/workspace/ndry_app-functions-sdk-go_PR-672:/w/workspace/ndry_app-functions-sdk-go_PR-672:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-672@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-672@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:04:04 $ docker top 6a1554606967812c998276b0c3edbd9de7262db9e8929097630d46318bb8e2eb -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:04 + touch /tmp/pre-build-complete [Pipeline] sh 06:04:05 + mkdir -p /var/log/sa [Pipeline] sh 06:04:05 + ls /var/log/sa-host 06:04:05 + sadf -c /var/log/sa-host/sa03 06:04:05 file_magic: OK 06:04:05 HZ: Using current value: 100 06:04:05 file_header: OK 06:04:05 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 06:04:05 Statistics: 06:04:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:04:05 File successfully converted to sysstat format version 12.2.1 06:04:05 + sadf -c /var/log/sa-host/sa23 06:04:05 file_magic: OK 06:04:05 HZ: Using current value: 100 06:04:05 file_header: OK 06:04:05 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 06:04:05 Statistics: 06:04:05 Hnuu...uuuununununu... 06:04:05 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:05 provisioning config files... 06:04:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-672@tmp/config8653584084720604449tmp [Pipeline] { [Pipeline] echo 06:04:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:04:06 ---> create-netrc.sh [Pipeline] } 06:04:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:04:06 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:04:06 ---> python-tools-install.sh [Pipeline] echo 06:04:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:04:07 ---> sudo-logs.sh 06:04:07 Archiving 'sudo' log.. [Pipeline] echo 06:04:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:04:07 ---> job-cost.sh 06:04:07 lf-activate-venv: SKIPPING 06:04:07 INFO: No Stack... 06:04:09 INFO: Retrieving Pricing Info for: v1-standard-2 06:04:10 INFO: Archiving Costs [Pipeline] echo 06:04:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:04:10 ---> logs-deploy.sh 06:04:10 lf-activate-venv: SKIPPING 06:04:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-672/1 06:04:10 INFO: archiving workspace using pattern(s): 06:04:12 Archives upload complete. 06:04:12 INFO: archiving logs to Nexus 06:04:13 ---> uname -a: 06:04:13 Linux prd-centos7-docker-4c-2g-24675.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:04:13 06:04:13 06:04:13 ---> lscpu: 06:04:13 Architecture: x86_64 06:04:13 CPU op-mode(s): 32-bit, 64-bit 06:04:13 Byte Order: Little Endian 06:04:13 Address sizes: 40 bits physical, 48 bits virtual 06:04:13 CPU(s): 4 06:04:13 On-line CPU(s) list: 0-3 06:04:13 Thread(s) per core: 1 06:04:13 Core(s) per socket: 1 06:04:13 Socket(s): 4 06:04:13 NUMA node(s): 1 06:04:13 Vendor ID: GenuineIntel 06:04:13 CPU family: 6 06:04:13 Model: 44 06:04:13 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:04:13 Stepping: 1 06:04:13 CPU MHz: 2933.438 06:04:13 BogoMIPS: 5866.87 06:04:13 Virtualization: VT-x 06:04:13 Hypervisor vendor: KVM 06:04:13 Virtualization type: full 06:04:13 L1d cache: 128 KiB 06:04:13 L1i cache: 128 KiB 06:04:13 L2 cache: 16 MiB 06:04:13 L3 cache: 64 MiB 06:04:13 NUMA node0 CPU(s): 0-3 06:04:13 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:04:13 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:04:13 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:04:13 Vulnerability Meltdown: Mitigation; PTI 06:04:13 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:04:13 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:04:13 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:04:13 Vulnerability Srbds: Not affected 06:04:13 Vulnerability Tsx async abort: Not affected 06:04:13 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 06:04:13 06:04:13 06:04:13 ---> nproc: 06:04:13 4 06:04:13 06:04:13 06:04:13 ---> df -h: 06:04:13 Filesystem Size Used Available Use% Mounted on 06:04:13 overlay 50.0G 7.3G 42.7G 15% / 06:04:13 tmpfs 64.0M 0 64.0M 0% /dev 06:04:13 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:04:13 shm 64.0M 0 64.0M 0% /dev/shm 06:04:13 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:04:13 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:04:13 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:04:13 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:04:13 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:04:13 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:04:13 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-672 06:04:13 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-672@tmp 06:04:13 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:04:13 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:04:13 06:04:13 06:04:13 ---> free -m: 06:04:13 total used free shared buff/cache available 06:04:13 Mem: 1837 722 99 0 1016 1010 06:04:13 Swap: 1023 1 1022 06:04:13 06:04:13 06:04:13 ---> ip addr: 06:04:13 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:04:13 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:04:13 inet 127.0.0.1/8 scope host lo 06:04:13 valid_lft forever preferred_lft forever 06:04:13 inet6 ::1/128 scope host 06:04:13 valid_lft forever preferred_lft forever 06:04:13 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:04:13 link/ether fa:16:3e:03:30:10 brd ff:ff:ff:ff:ff:ff 06:04:13 inet 10.30.123.48/23 brd 10.30.123.255 scope global dynamic eth0 06:04:13 valid_lft 85999sec preferred_lft 85999sec 06:04:13 inet6 fe80::f816:3eff:fe03:3010/64 scope link 06:04:13 valid_lft forever preferred_lft forever 06:04:13 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:04:13 link/ether 02:42:f6:ef:f1:73 brd ff:ff:ff:ff:ff:ff 06:04:13 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:04:13 valid_lft forever preferred_lft forever 06:04:13 inet6 fe80::42:f6ff:feef:f173/64 scope link 06:04:13 valid_lft forever preferred_lft forever 06:04:13 06:04:13 06:04:13 ---> sar -b -r -n DEV: 06:04:13 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/03/21 _x86_64_ (4 CPU) 06:04:13 06:04:13 05:57:20 LINUX RESTART (4 CPU) 06:04:13 06:04:13 05:58:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:04:13 05:59:01 53.74 15.15 38.58 0.00 4822.45 4959.61 0.00 06:04:13 06:00:01 1.86 0.00 1.86 0.00 0.00 38.48 0.00 06:04:13 06:01:01 0.33 0.02 0.32 0.00 0.13 3.40 0.00 06:04:13 06:02:01 0.42 0.08 0.33 0.00 1.60 4.99 0.00 06:04:13 06:03:01 0.20 0.00 0.20 0.00 0.00 2.60 0.00 06:04:13 06:04:01 116.73 71.85 44.89 0.00 5929.29 16015.39 0.00 06:04:13 Average: 28.83 14.57 14.26 0.00 1779.67 3508.60 0.00 06:04:13 06:04:13 05:58:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:04:13 05:59:01 228144 0 619660 32.93 2620 1031120 1112644 37.97 431644 1024224 128 06:04:13 06:00:01 233504 0 614292 32.65 2620 1031128 1079328 36.84 430996 1019996 12 06:04:13 06:01:01 228312 0 619480 32.92 2620 1031132 1081908 36.92 433816 1022500 16 06:04:13 06:02:01 229008 0 618660 32.88 2620 1031256 1079956 36.86 440216 1015672 20 06:04:13 06:03:01 228076 0 619588 32.93 2620 1031260 1079920 36.86 439796 1017128 16 06:04:13 06:04:01 164152 0 718484 38.19 2620 996288 1281256 43.73 471948 985880 45000 06:04:13 Average: 218533 0 635027 33.75 2620 1025364 1119169 38.20 441403 1014233 7532 06:04:13 06:04:13 05:58:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:04:13 05:59:01 eth0 323.92 313.24 1113.36 65.39 0.00 0.00 0.00 0.00 06:04:13 05:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:13 05:59:01 docker0 101.96 70.59 9.16 315.27 0.00 0.00 0.00 0.00 06:04:13 06:00:01 eth0 1.02 0.07 0.09 0.01 0.00 0.00 0.00 0.00 06:04:13 06:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:13 06:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:13 06:01:01 eth0 1.12 0.38 0.33 0.20 0.00 0.00 0.00 0.00 06:04:13 06:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:13 06:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:13 06:02:01 eth0 0.77 0.40 0.35 0.21 0.00 0.00 0.00 0.00 06:04:13 06:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:13 06:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:13 06:03:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 06:04:13 06:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:13 06:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:13 06:04:01 eth0 206.59 166.19 2157.87 17.26 0.00 0.00 0.00 0.00 06:04:13 06:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:13 06:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:13 Average: eth0 87.76 78.87 543.83 13.57 0.00 0.00 0.00 0.00 06:04:13 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:13 Average: docker0 16.51 11.43 1.48 51.04 0.00 0.00 0.00 0.00 06:04:13 06:04:13 06:04:13 ---> sar -P ALL: 06:04:13 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/03/21 _x86_64_ (4 CPU) 06:04:13 06:04:13 05:57:20 LINUX RESTART (4 CPU) 06:04:13 06:04:13 05:58:02 CPU %user %nice %system %iowait %steal %idle 06:04:13 05:59:01 all 4.95 0.00 2.99 1.10 0.04 90.92 06:04:13 05:59:01 0 4.49 0.00 3.26 1.08 0.07 91.10 06:04:13 05:59:01 1 5.12 0.00 2.79 0.89 0.05 91.16 06:04:13 05:59:01 2 3.83 0.00 3.13 0.78 0.03 92.22 06:04:13 05:59:01 3 6.37 0.00 2.77 1.65 0.02 89.20 06:04:13 06:00:01 all 0.15 0.00 0.06 0.00 0.00 99.79 06:04:13 06:00:01 0 0.45 0.00 0.03 0.00 0.00 99.52 06:04:13 06:00:01 1 0.05 0.00 0.07 0.00 0.00 99.88 06:04:13 06:00:01 2 0.08 0.00 0.10 0.00 0.00 99.82 06:04:13 06:00:01 3 0.02 0.00 0.03 0.00 0.02 99.93 06:04:13 06:01:01 all 0.21 0.00 0.06 0.00 0.01 99.71 06:04:13 06:01:01 0 0.57 0.00 0.07 0.00 0.00 99.37 06:04:13 06:01:01 1 0.08 0.00 0.07 0.02 0.02 99.82 06:04:13 06:01:01 2 0.12 0.00 0.07 0.00 0.02 99.80 06:04:13 06:01:01 3 0.08 0.00 0.05 0.00 0.02 99.85 06:04:13 06:02:01 all 0.16 0.00 0.06 0.00 0.00 99.77 06:04:13 06:02:01 0 0.50 0.00 0.05 0.00 0.02 99.43 06:04:13 06:02:01 1 0.03 0.00 0.03 0.00 0.00 99.93 06:04:13 06:02:01 2 0.08 0.00 0.13 0.00 0.00 99.78 06:04:13 06:02:01 3 0.03 0.00 0.03 0.00 0.00 99.93 06:04:13 06:03:01 all 0.20 0.00 0.22 0.00 0.01 99.57 06:04:13 06:03:01 0 0.58 0.00 0.28 0.00 0.00 99.14 06:04:13 06:03:01 1 0.07 0.00 0.17 0.00 0.03 99.73 06:04:13 06:03:01 2 0.08 0.00 0.17 0.00 0.02 99.73 06:04:13 06:03:01 3 0.08 0.00 0.25 0.00 0.00 99.67 06:04:13 06:04:01 all 5.58 0.00 4.08 2.05 0.05 88.24 06:04:13 06:04:01 0 5.53 0.00 4.15 1.66 0.03 88.62 06:04:13 06:04:01 1 4.54 0.00 3.69 1.21 0.03 90.52 06:04:13 06:04:01 2 6.11 0.00 4.24 2.65 0.05 86.96 06:04:13 06:04:01 3 6.15 0.00 4.24 2.68 0.07 86.87 06:04:13 Average: all 1.85 0.00 1.23 0.52 0.02 96.38 06:04:13 Average: 0 2.00 0.00 1.29 0.45 0.02 96.24 06:04:13 Average: 1 1.62 0.00 1.12 0.35 0.02 96.89 06:04:13 Average: 2 1.70 0.00 1.29 0.57 0.02 96.42 06:04:13 Average: 3 2.09 0.00 1.21 0.71 0.02 95.96 06:04:13 06:04:13 06:04:13