Pull request #1601 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of adams-king for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch napa at 2d559bfd24087982bdd8bbb47fa03227def45c27 rather than 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 Obtained Jenkinsfile from 2d559bfd24087982bdd8bbb47fa03227def45c27 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6163887365242064304.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh947568437644701400.key > 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 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1601/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1601/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6721984851890076986.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4490956746746680104.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1601/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1601/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13098039027372159104.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-8098’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8100 in /w/workspace/dry_app-functions-sdk-go_PR-1601 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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/dry_app-functions-sdk-go_PR-1601 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' 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 Merging remotes/origin/napa commit 2d559bfd24087982bdd8bbb47fa03227def45c27 into PR head commit 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 > 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/1601/head:refs/remotes/origin/PR-1601 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 # timeout=10 Merge succeeded, producing 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 Checking out Revision 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 (PR-1601) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2d559bfd24087982bdd8bbb47fa03227def45c27 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 # timeout=10 Commit message: "fix(runtime.go): restore type of import" > git rev-list --no-walk 41ae0f938b3e07dd8bf5076a0bed446d9155dfcd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:23:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:23:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:23:46 ========================================================= 11:23:46 EdgeX Global Pipelines Version Info 11:23:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:23:47 ------------------- 11:23:47 stable info: 11:23:47 ------------------- 11:23:47 Commited By: Ginny Guan ginny@iotechsys.com 11:23:47 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 11:23:47 Message: update stable to v1.0.260 11:23:48 ------------------- 11:23:48 experimental info: 11:23:48 ------------------- 11:23:48 Commited By: Ginny Guan ginny@iotechsys.com 11:23:48 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 11:23:48 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:23:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1601 [Pipeline] echo 11:23:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1601 [Pipeline] echo 11:23:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1601 [Pipeline] echo 11:23:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 [Pipeline] echo 11:23:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6068c3d [Pipeline] echo 11:23:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:23:49 + git rev-list -1 --merges 6068c3deb0f25d402ae44eecb66d0a42d0b872b1~1..6068c3deb0f25d402ae44eecb66d0a42d0b872b1 [Pipeline] echo 11:23:49 -----------> git rev-list -1 --merges 6068c3deb0f25d402ae44eecb66d0a42d0b872b1~1..6068c3deb0f25d402ae44eecb66d0a42d0b872b1 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 [false] [Pipeline] sh 11:23:49 + git log --format=format:%s -1 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 [Pipeline] echo 11:23:49 ========================================================= 11:23:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:23:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:23:50 + git log --format=format:%s -1 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 [Pipeline] echo 11:23:50 [semverPrep] GIT_COMMIT: 6068c3deb0f25d402ae44eecb66d0a42d0b872b1, Commit Message: fix(runtime.go): restore type of import [Pipeline] echo 11:23:50 [semverPrep] This is not a build commit. [Pipeline] sh 11:23:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:23:50 + grep -v github /etc/ssh/ssh_known_hosts 11:23:50 + [ -e /tmp/ssh_known_hosts ] 11:23:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:23:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:23:50 + sudo tee -a /etc/ssh/ssh_known_hosts 11:23:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:23:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:23:51 11:23:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:23:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:23:51 0.1.4: Pulling from edgex-devops/py-git-semver 11:23:51 b85a868b505f: Pulling fs layer 11:23:51 e2be974225ed: Pulling fs layer 11:23:51 339a4e72a1f5: Pulling fs layer 11:23:51 988bab9f4d93: Pulling fs layer 11:23:51 1469e6f7b9e6: Pulling fs layer 11:23:51 eaf3925da568: Pulling fs layer 11:23:51 bab4dde63d76: Pulling fs layer 11:23:51 bde34c3a00c8: Pulling fs layer 11:23:51 b352a97aabf1: Pulling fs layer 11:23:51 4872d77fe225: Pulling fs layer 11:23:51 5851b861e8e6: Pulling fs layer 11:23:51 4872d77fe225: Waiting 11:23:51 bab4dde63d76: Waiting 11:23:51 1469e6f7b9e6: Waiting 11:23:51 bde34c3a00c8: Waiting 11:23:51 b352a97aabf1: Waiting 11:23:51 eaf3925da568: Waiting 11:23:51 5851b861e8e6: Waiting 11:23:51 988bab9f4d93: Waiting 11:23:51 e2be974225ed: Download complete 11:23:51 988bab9f4d93: Verifying Checksum 11:23:51 988bab9f4d93: Download complete 11:23:51 339a4e72a1f5: Verifying Checksum 11:23:51 339a4e72a1f5: Download complete 11:23:51 1469e6f7b9e6: Verifying Checksum 11:23:51 1469e6f7b9e6: Download complete 11:23:51 eaf3925da568: Verifying Checksum 11:23:51 eaf3925da568: Download complete 11:23:51 bde34c3a00c8: Verifying Checksum 11:23:51 bde34c3a00c8: Download complete 11:23:51 b352a97aabf1: Download complete 11:23:51 4872d77fe225: Verifying Checksum 11:23:51 4872d77fe225: Download complete 11:23:51 5851b861e8e6: Verifying Checksum 11:23:51 5851b861e8e6: Download complete 11:23:51 b85a868b505f: Verifying Checksum 11:23:51 b85a868b505f: Download complete 11:23:52 bab4dde63d76: Verifying Checksum 11:23:52 bab4dde63d76: Download complete 11:23:53 b85a868b505f: Pull complete 11:23:53 e2be974225ed: Pull complete 11:23:53 339a4e72a1f5: Pull complete 11:23:54 988bab9f4d93: Pull complete 11:23:54 1469e6f7b9e6: Pull complete 11:23:54 eaf3925da568: Pull complete 11:23:56 bab4dde63d76: Pull complete 11:23:56 bde34c3a00c8: Pull complete 11:23:56 b352a97aabf1: Pull complete 11:23:56 4872d77fe225: Pull complete 11:23:56 5851b861e8e6: Pull complete 11:23:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:23:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:23:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:23:56 prd-ubuntu20.04-docker-8c-8g-8100 does not seem to be running inside a container 11:23:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1601 -v /w/workspace/dry_app-functions-sdk-go_PR-1601:/w/workspace/dry_app-functions-sdk-go_PR-1601:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1601@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1601@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:24:01 $ docker top 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec -eo pid,comm 11:24:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:24:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:24:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:24:01 [ssh-agent] Looking for ssh-agent implementation... 11:24:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:24:01 $ docker exec 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec ssh-agent 11:24:01 SSH_AUTH_SOCK=/tmp/ssh-7JeuSTm4CVfv/agent.13 11:24:01 SSH_AGENT_PID=19 11:24:01 Running ssh-add (command line suppressed) 11:24:01 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/private_key_7718560962714703253.key (/w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/private_key_7718560962714703253.key) 11:24:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:24:01 + git tag --points-at HEAD [Pipeline] } 11:24:01 $ docker exec --env ******** --env ******** 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec ssh-agent -k 11:24:02 unset SSH_AUTH_SOCK; 11:24:02 unset SSH_AGENT_PID; 11:24:02 echo Agent pid 19 killed; 11:24:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:24:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:24:02 [ssh-agent] Looking for ssh-agent implementation... 11:24:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:24:02 $ docker exec 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec ssh-agent 11:24:02 SSH_AUTH_SOCK=/tmp/ssh-gTJiYIlVMdFd/agent.72 11:24:02 SSH_AGENT_PID=78 11:24:02 Running ssh-add (command line suppressed) 11:24:02 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/private_key_10443849516881911278.key (/w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/private_key_10443849516881911278.key) 11:24:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:24:02 + git semver init 11:24:03 2024-08-21 11:24:02,965 [run_init] DEBUG init version:0.0.0 force:False 11:24:03 2024-08-21 11:24:02,966 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1601/.semver 11:24:03 2024-08-21 11:24:02,966 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1601/.semver 11:24:03 2024-08-21 11:24:02,967 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1601/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1601, universal_newlines=False, shell=None, istream=None) 11:24:04 2024-08-21 11:24:04,894 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1601/.git/info/exclude 11:24:04 2024-08-21 11:24:04,894 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1601/.semver/PR-1601 with force:False 11:24:04 2024-08-21 11:24:04,894 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1601/.semver/PR-1601 11:24:04 2024-08-21 11:24:04,899 [execute] INFO git cat-file --batch-check 11:24:04 2024-08-21 11:24:04,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1601/.semver, universal_newlines=False, shell=None, istream=) 11:24:04 2024-08-21 11:24:04,906 [execute] INFO git cat-file --batch 11:24:04 2024-08-21 11:24:04,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1601/.semver, universal_newlines=False, shell=None, istream=) 11:24:04 2024-08-21 11:24:04,912 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1601/.semver/PR-1601 11:24:04 0.0.0 [Pipeline] } 11:24:04 $ docker exec --env ******** --env ******** 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec ssh-agent -k 11:24:05 unset SSH_AUTH_SOCK; 11:24:05 unset SSH_AGENT_PID; 11:24:05 echo Agent pid 78 killed; 11:24:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:24:05 + git semver [Pipeline] } 11:24:05 $ docker stop --time=1 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec 11:24:06 $ docker rm -f --volumes 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec [Pipeline] // withDockerContainer [Pipeline] sh 11:24:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:24:07 Stashed 1 file(s) [Pipeline] echo 11:24:07 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:24:07 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 11:24:08 + grep ^go [0-9].[0-9]* go.mod 11:24:08 + cut -d -f 2 [Pipeline] echo 11:24:08 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:24:08 ========================================================= 11:24:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 11:24:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 11:24:08 + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 11:24:08 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 11:24:08 619be1103602: Pulling fs layer 11:24:08 7862e08f4a3e: Pulling fs layer 11:24:08 5df492c9dc93: Pulling fs layer 11:24:08 7629e6793208: Pulling fs layer 11:24:08 4f4fb700ef54: Pulling fs layer 11:24:08 8de7f028bff5: Pulling fs layer 11:24:08 44042ff1420b: Pulling fs layer 11:24:08 5cdaf54b7214: Pulling fs layer 11:24:08 38f3e5a9071a: Pulling fs layer 11:24:08 7629e6793208: Waiting 11:24:08 4f4fb700ef54: Waiting 11:24:08 8de7f028bff5: Waiting 11:24:08 44042ff1420b: Waiting 11:24:08 5cdaf54b7214: Waiting 11:24:08 38f3e5a9071a: Waiting 11:24:08 7862e08f4a3e: Download complete 11:24:08 7629e6793208: Verifying Checksum 11:24:08 7629e6793208: Download complete 11:24:08 4f4fb700ef54: Verifying Checksum 11:24:08 4f4fb700ef54: Download complete 11:24:08 619be1103602: Verifying Checksum 11:24:08 619be1103602: Download complete 11:24:08 8de7f028bff5: Verifying Checksum 11:24:08 8de7f028bff5: Download complete 11:24:08 44042ff1420b: Verifying Checksum 11:24:08 44042ff1420b: Download complete 11:24:09 619be1103602: Pull complete 11:24:09 38f3e5a9071a: Verifying Checksum 11:24:09 38f3e5a9071a: Download complete 11:24:09 7862e08f4a3e: Pull complete 11:24:09 5df492c9dc93: Verifying Checksum 11:24:09 5df492c9dc93: Download complete 11:24:09 5cdaf54b7214: Verifying Checksum 11:24:09 5cdaf54b7214: Download complete 11:24:12 5df492c9dc93: Pull complete 11:24:12 7629e6793208: Pull complete 11:24:12 4f4fb700ef54: Pull complete 11:24:12 8de7f028bff5: Pull complete 11:24:13 44042ff1420b: Pull complete 11:24:15 5cdaf54b7214: Pull complete 11:24:16 38f3e5a9071a: Pull complete 11:24:16 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 11:24:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 11:24:16 nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [Pipeline] sh 11:24:16 + docker tag nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:24:16 + docker inspect -f . ci-base-image-x86_64 11:24:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:24:16 prd-ubuntu20.04-docker-8c-8g-8100 does not seem to be running inside a container 11:24:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1601 -v /w/workspace/dry_app-functions-sdk-go_PR-1601:/w/workspace/dry_app-functions-sdk-go_PR-1601:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1601@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1601@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:24:22 $ docker top 8187610fbad87191052974953b1bded492d51cd3eb8ad884a462e23a93939f4d -eo pid,comm [Pipeline] { [Pipeline] sh 11:24:22 Still waiting to schedule task 11:24:22 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8099’ is offline 11:24:23 + go version 11:24:23 go version go1.21.9 linux/amd64 [Pipeline] } 11:24:24 $ docker stop --time=1 8187610fbad87191052974953b1bded492d51cd3eb8ad884a462e23a93939f4d 11:24:26 $ docker rm -f --volumes 8187610fbad87191052974953b1bded492d51cd3eb8ad884a462e23a93939f4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:24:26 + docker inspect -f . ci-base-image-x86_64 11:24:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:24:26 prd-ubuntu20.04-docker-8c-8g-8100 does not seem to be running inside a container 11:24:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_app-functions-sdk-go_PR-1601 -v /w/workspace/dry_app-functions-sdk-go_PR-1601:/w/workspace/dry_app-functions-sdk-go_PR-1601:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1601@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1601@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:24:27 $ docker top ef1c9ecedb432adc826e4b095e478364a63704c1e1f06faea1c321a93a216221 -eo pid,comm [Pipeline] { [Pipeline] sh 11:24:27 + git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1601 [Pipeline] fileExists [Pipeline] sh 11:24:28 + make test 11:24:28 make -C ./app-service-template build 11:24:28 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' 11:24:28 go mod tidy 11:24:28 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0 11:24:28 go: downloading github.com/labstack/echo/v4 v4.11.2 11:24:28 go: downloading github.com/stretchr/testify v1.9.0 11:24:28 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 11:24:28 go: downloading github.com/google/uuid v1.6.0 11:24:28 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0 11:24:28 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 11:24:28 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0 11:24:28 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0 11:24:28 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.2 11:24:28 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 11:24:28 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 11:24:28 go: downloading gopkg.in/yaml.v3 v3.0.1 11:24:28 go: downloading github.com/stretchr/objx v0.5.2 11:24:28 go: downloading github.com/go-kit/log v0.2.1 11:24:28 go: downloading github.com/labstack/gommon v0.4.0 11:24:29 go: downloading golang.org/x/crypto v0.23.0 11:24:29 go: downloading golang.org/x/net v0.25.0 11:24:29 go: downloading github.com/go-playground/validator/v10 v10.15.5 11:24:29 go: downloading github.com/fxamacker/cbor/v2 v2.5.0 11:24:29 go: downloading github.com/hashicorp/go-multierror v1.1.1 11:24:29 go: downloading github.com/gorilla/websocket v1.5.0 11:24:29 go: downloading golang.org/x/sync v0.7.0 11:24:29 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0 11:24:29 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0 11:24:29 go: downloading github.com/mitchellh/copystructure v1.2.0 11:24:29 go: downloading github.com/mattn/go-colorable v0.1.13 11:24:29 go: downloading github.com/mattn/go-isatty v0.0.19 11:24:29 go: downloading github.com/valyala/fasttemplate v1.2.2 11:24:29 go: downloading github.com/go-logfmt/logfmt v0.5.1 11:24:29 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 11:24:29 go: downloading github.com/hashicorp/consul/api v1.25.1 11:24:29 go: downloading github.com/hashicorp/errwrap v1.1.0 11:24:29 go: downloading github.com/x448/float16 v0.8.4 11:24:29 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 11:24:29 go: downloading github.com/go-playground/universal-translator v0.18.1 11:24:29 go: downloading github.com/leodido/go-urn v1.2.4 11:24:29 go: downloading golang.org/x/text v0.15.0 11:24:29 go: downloading github.com/go-playground/locales v0.14.1 11:24:29 go: downloading github.com/spiffe/go-spiffe/v2 v2.2.0 11:24:29 go: downloading github.com/mitchellh/reflectwalk v1.0.2 11:24:29 go: downloading github.com/mitchellh/mapstructure v1.5.0 11:24:29 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 11:24:29 go: downloading golang.org/x/time v0.5.0 11:24:29 go: downloading github.com/valyala/bytebufferpool v1.0.0 11:24:29 go: downloading golang.org/x/sys v0.20.0 11:24:30 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 11:24:30 go: downloading github.com/go-playground/assert/v2 v2.2.0 11:24:30 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 11:24:30 go: downloading github.com/hashicorp/go-hclog v1.5.0 11:24:30 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 11:24:30 go: downloading github.com/hashicorp/serf v0.10.1 11:24:30 go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 11:24:30 go: downloading github.com/google/go-cmp v0.6.0 11:24:30 go: downloading github.com/hashicorp/consul/sdk v0.14.1 11:24:30 go: downloading github.com/hashicorp/go-uuid v1.0.3 11:24:30 go: downloading github.com/nats-io/nats.go v1.31.0 11:24:30 go: downloading github.com/go-redis/redis/v7 v7.3.0 11:24:30 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:24:30 go: downloading github.com/Microsoft/go-winio v0.6.1 11:24:30 go: downloading github.com/zeebo/errs v1.3.0 11:24:30 go: downloading google.golang.org/grpc v1.63.2 11:24:30 go: downloading github.com/kr/pretty v0.1.0 11:24:30 go: downloading github.com/fatih/color v1.14.1 11:24:30 go: downloading github.com/mitchellh/go-homedir v1.1.0 11:24:30 go: downloading github.com/armon/go-metrics v0.4.1 11:24:30 go: downloading github.com/hashicorp/go-msgpack v0.5.5 11:24:30 go: downloading github.com/hashicorp/memberlist v0.5.0 11:24:30 go: downloading github.com/hashicorp/go-version v1.2.1 11:24:30 go: downloading github.com/pkg/errors v0.9.1 11:24:30 go: downloading github.com/go-jose/go-jose/v4 v4.0.1 11:24:30 go: downloading google.golang.org/protobuf v1.34.1 11:24:30 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 11:24:30 go: downloading github.com/onsi/ginkgo v1.10.1 11:24:30 go: downloading github.com/onsi/gomega v1.7.0 11:24:30 go: downloading golang.org/x/tools v0.21.0 11:24:31 go: downloading github.com/klauspost/compress v1.17.1 11:24:31 go: downloading github.com/nats-io/nkeys v0.4.6 11:24:31 go: downloading github.com/nats-io/nuid v1.0.1 11:24:31 go: downloading github.com/kr/text v0.2.0 11:24:31 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 11:24:31 go: downloading github.com/pascaldekloe/goe v0.1.0 11:24:31 go: downloading github.com/google/btree v1.0.1 11:24:31 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 11:24:31 go: downloading github.com/miekg/dns v1.1.41 11:24:31 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 11:24:31 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240509183442-62759503f434 11:24:31 go: downloading github.com/hashicorp/golang-lru v0.5.4 11:24:31 go: downloading gopkg.in/yaml.v2 v2.4.0 11:24:31 go: downloading github.com/hpcloud/tail v1.0.0 11:24:31 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 11:24:31 go: downloading gopkg.in/fsnotify.v1 v1.4.7 11:24:31 go: downloading golang.org/x/mod v0.17.0 11:24:31 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service 11:24:47 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' 11:24:47 make -C ./app-service-template test 11:24:47 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' 11:24:47 go test -race -coverprofile=coverage.out ./... 11:25:10 ? app-new-service/config [no test files] 11:25:10 ok app-new-service 1.063s coverage: 45.9% of statements 11:25:10 ok app-new-service/functions 1.049s coverage: 85.3% of statements 11:25:10 go vet ./... 11:25:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:25:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:25:25 ./bin/test-attribution-txt.sh 11:25:25 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' 11:25:25 go test -race -coverprofile=coverage.out ./... 11:25:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 11:25:38 level=ERROR ts=2024-08-21T11:25:37.952313311Z app=test source=configurable.go:718 msg="Could not find 'profilenames' parameter for FilterByProfileName" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.952590885Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByProfileName" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.952807881Z app=test source=configurable.go:718 msg="Could not find 'devicenames' parameter for FilterByDeviceName" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.953023766Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByDeviceName" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.953267349Z app=test source=configurable.go:718 msg="Could not find 'sourcenames' parameter for FilterBySourceName" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.953486525Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterBySourceName" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.953727008Z app=test source=configurable.go:718 msg="Could not find 'resourcenames' parameter for FilterByResourceName" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.953927098Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByResourceName" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.954247215Z app=test source=configurable.go:192 msg="Invalid transform type 'baDType'. Must be 'xml' or 'json'" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.954830221Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.954951097Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.955074535Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'persistonerror' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.955201703Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.955306855Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.955410036Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.955527391Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.955974226Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.95608633Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.956202715Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'persistonerror' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.956316799Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'continueonsenderror' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.956433194Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'returninputdata' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.956542618Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.95664981Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.956770866Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.956909398Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.957770798Z app=test source=configurable.go:457 msg="Could not parse 'junk' to a bool for 'willenabled' parameter: strconv.ParseBool: parsing \"junk\": invalid syntax" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.957905659Z app=test source=configurable.go:494 msg="Could not parse 'junk' to a bool for 'willretained' parameter: strconv.ParseBool: parsing \"junk\": invalid syntax" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.95800806Z app=test source=configurable.go:483 msg="Could not parse 'junk' to a int for 'willqos' parameter: strconv.Atoi: parsing \"junk\": invalid syntax" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.958102318Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.958197397Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.958301118Z app=test source=configurable.go:467 msg="WillPayload must be present and non-empty when WillEnabled set to true" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.958403009Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.958654605Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `GatewayId HoustonStore000123, Latitude:29.630771,Longitude:-95.377603`" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.958762897Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `GatewayId:,Latitude:29.630771,Longitude:-95.377603`" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.958862908Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `GatewayId:HoustonStore000123,:29.630771,Longitude:-95.377603`" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.958964028Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `:,:,:`" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.959057406Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.959205461Z app=test source=configurable.go:312 msg="Could not find 'key' or 'secretname' and 'secretvaluekey' in configuration" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.959484815Z app=test source=configurable.go:207 msg="Could not find profilename" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.959582605Z app=test source=configurable.go:212 msg="Could not find devicename" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.959685346Z app=test source=configurable.go:217 msg="Could not find resourcename" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.959788917Z app=test source=configurable.go:222 msg="Could not find valuetype" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.959921657Z app=test source=configurable.go:236 msg="unable to normalize the unknown value type bogus" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.960067841Z app=test source=configurable.go:251 msg="MediaType can not be empty when ValueType=Binary" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.960167431Z app=test source=configurable.go:244 msg="Could not find mediatype" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.960512565Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.960656739Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `tag1 = value1, tag2 =value2`" 11:25:38 level=INFO ts=2024-08-21T11:25:37.960940315Z app=test source=server.go:57 msg="Registering standard routes..." 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.961026821Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" 11:25:38 level=INFO ts=2024-08-21T11:25:37.961235073Z app=test source=server.go:57 msg="Registering standard routes..." 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.96129136Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" 11:25:38 level=INFO ts=2024-08-21T11:25:37.961473675Z app=test source=server.go:57 msg="Registering standard routes..." 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.961540736Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" 11:25:38 level=INFO ts=2024-08-21T11:25:37.962264904Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.962470616Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.962632455Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.962684511Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" 11:25:38 level=INFO ts=2024-08-21T11:25:37.962823133Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:25:38 level=INFO ts=2024-08-21T11:25:37.962952092Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.962996475Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" 11:25:38 --- FAIL: TestSetupHTTPTrigger (0.00s) 11:25:38 service_test.go:289: 11:25:38 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/service_test.go:289 11:25:38 Error: Should be true 11:25:38 Test: TestSetupHTTPTrigger 11:25:38 Messages: Expected Instance of HTTP Trigger 11:25:38 level=INFO ts=2024-08-21T11:25:37.963382701Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.963569298Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.963731897Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.963779661Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" 11:25:38 level=INFO ts=2024-08-21T11:25:37.963917473Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:25:38 level=INFO ts=2024-08-21T11:25:37.964063997Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.964101608Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" 11:25:38 --- FAIL: TestSetupMessageBusTrigger (0.00s) 11:25:38 service_test.go:309: 11:25:38 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/service_test.go:309 11:25:38 Error: Should be true 11:25:38 Test: TestSetupMessageBusTrigger 11:25:38 Messages: Expected Instance of Message Bus Trigger 11:25:38 level=INFO ts=2024-08-21T11:25:37.964497328Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.964678933Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.964838411Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.964892547Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.964926597Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.965185716Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.965360098Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.965502761Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.965545884Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.965606503Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.965842924Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-123 metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.966054508Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-123 metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.966207514Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-123 metric has been registered and will be reported (if enabled)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.966253698Z app=test source=service.go:455 msg="Pipeline '123' added for topics '[edgex/#]' with 1 transform(s)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.966575915Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-124 metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.966759661Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-124 metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.966911737Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-124 metric has been registered and will be reported (if enabled)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.96695616Z app=test source=service.go:455 msg="Pipeline '124' added for topics '[edgex/#]' with 1 transform(s)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.967372095Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-121 metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.967530733Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-121 metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.967695493Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-121 metric has been registered and will be reported (if enabled)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.967738756Z app=test source=service.go:455 msg="Pipeline '121' added for topics '[edgex/#]' with 2 transform(s)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.968371777Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.968490943Z app=test source=service.go:329 msg="'bogus' Function Pipeline Execution Order: [Bogus]" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.968627825Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.968933247Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.969057614Z app=test source=service.go:405 msg="FilterByDeviceName function added to 'default-pipeline' configurable pipeline with parameters: [devicenames='Random-Float-Device, Random-Integer-Device']" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.969133837Z app=test source=service.go:405 msg="Transform function added to 'default-pipeline' configurable pipeline with parameters: [type='xml']" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.969190374Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.969271329Z app=test source=service.go:329 msg="'pre-topic' Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.969338759Z app=test source=service.go:405 msg="FilterByDeviceName function added to 'pre-topic' configurable pipeline with parameters: [devicenames='Random-Float-Device, Random-Integer-Device']" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.969399628Z app=test source=service.go:405 msg="Transform function added to 'pre-topic' configurable pipeline with parameters: [type='xml']" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.969447222Z app=test source=service.go:405 msg="SetResponseData function added to 'pre-topic' configurable pipeline with parameters: []" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.969598398Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.969675391Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.969728167Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.9698377Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.969907731Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.969966889Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.970078642Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.970153415Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.970209762Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.970327458Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.970394168Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.970453165Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.97056911Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.97063536Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.970692738Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.970829279Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.970905842Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.97096513Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.97119705Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.971457969Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.971574124Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:25:38 level=INFO ts=2024-08-21T11:25:37.973321561Z app=test source=service.go:750 msg="Environment profileOverride of '-n/--serviceName' by environment variable: EDGEX_SERVICE_KEY=MyCustomAppService" 11:25:38 level=INFO ts=2024-08-21T11:25:37.973539257Z app=test source=service.go:750 msg="Environment profileOverride of '-n/--serviceName' by environment variable: EDGEX_SERVICE_KEY=AppService--MyCloud" 11:25:38 --- FAIL: TestSetupTrigger_HTTP (0.00s) 11:25:38 triggerfactory_test.go:112: 11:25:38 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:112 11:25:38 Error: Object expected to be of type *http.Trigger, but was *mqtt.Trigger 11:25:38 Test: TestSetupTrigger_HTTP 11:25:38 Messages: should be an http trigger 11:25:38 --- FAIL: TestSetupTrigger_EdgeXMessageBus (0.00s) 11:25:38 triggerfactory_test.go:129: 11:25:38 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:129 11:25:38 Error: Object expected to be of type *messagebus.Trigger, but was *mqtt.Trigger 11:25:38 Test: TestSetupTrigger_EdgeXMessageBus 11:25:38 Messages: should be an edgex-messagebus trigger 11:25:38 level=INFO ts=2024-08-21T11:25:37.983629241Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:25:38 level=INFO ts=2024-08-21T11:25:37.984054119Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:25:38 level=INFO ts=2024-08-21T11:25:37.98415551Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" 11:25:38 --- FAIL: Test_Service_setupTrigger_CustomType (0.00s) 11:25:38 triggerfactory_test.go:185: 11:25:38 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:185 11:25:38 Error: Object expected to be of type *app.mockCustomTrigger, but was *mqtt.Trigger 11:25:38 Test: Test_Service_setupTrigger_CustomType 11:25:38 Messages: should be a custom trigger 11:25:38 --- FAIL: Test_Service_SetupTrigger_CustomTypeError (0.00s) 11:25:38 triggerfactory_test.go:208: 11:25:38 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:208 11:25:38 Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc000566c30), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc0005569f0), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} 11:25:38 Test: Test_Service_SetupTrigger_CustomTypeError 11:25:38 Messages: should be nil 11:25:38 --- FAIL: Test_Service_SetupTrigger_CustomTypeNotFound (0.00s) 11:25:38 triggerfactory_test.go:226: 11:25:38 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:226 11:25:38 Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc000566f90), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc000556d80), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} 11:25:38 Test: Test_Service_SetupTrigger_CustomTypeNotFound 11:25:38 Messages: should be nil 11:25:38 level=INFO ts=2024-08-21T11:25:37.988499491Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:25:38 level=INFO ts=2024-08-21T11:25:37.988812675Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.989020458Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 8d94cdcc-a7cf-4a55-91fd-47ad23a5ef5b" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.989287399Z app=test source=triggermessageprocessor.go:115 msg="trigger found 0 pipeline(s) that match the incoming topic '8d94cdcc-a7cf-4a55-91fd-47ad23a5ef5b'" 11:25:38 level=INFO ts=2024-08-21T11:25:37.990031593Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:25:38 level=INFO ts=2024-08-21T11:25:37.990195763Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.990292392Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic d91b2d5b-2864-4722-b77d-a4514f1c21fb" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.990442447Z app=test source=triggermessageprocessor.go:115 msg="trigger found 1 pipeline(s) that match the incoming topic 'd91b2d5b-2864-4722-b77d-a4514f1c21fb'" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.990625082Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (d5d30048-eea3-4092-9705-e2d91e5a8f85)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.990844388Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline d5d30048-eea3-4092-9705-e2d91e5a8f85" 11:25:38 level=INFO ts=2024-08-21T11:25:37.991491274Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:25:38 level=INFO ts=2024-08-21T11:25:37.991688463Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.991808689Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic d7f117c9-9886-4591-b0bf-693c3fa6f336" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.991968178Z app=test source=triggermessageprocessor.go:115 msg="trigger found 1 pipeline(s) that match the incoming topic 'd7f117c9-9886-4591-b0bf-693c3fa6f336'" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.992200688Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (228e4683-f4df-475a-a5c6-a0a89aa5f77e)" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.992412742Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (228e4683-f4df-475a-a5c6-a0a89aa5f77e): some error" 11:25:38 level=INFO ts=2024-08-21T11:25:37.992909332Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:25:38 level=INFO ts=2024-08-21T11:25:37.993344453Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.993537821Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 89192426-bf01-4829-8cbf-15f0b5608021" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.993675473Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic '89192426-bf01-4829-8cbf-15f0b5608021'" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.994050036Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (28583c1a-9267-40e8-beef-9ef663163211)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.994070162Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (28583c1a-9267-40e8-beef-9ef663163211)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.99419566Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (28583c1a-9267-40e8-beef-9ef663163211)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.994290308Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 28583c1a-9267-40e8-beef-9ef663163211" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.994455878Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 28583c1a-9267-40e8-beef-9ef663163211" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.994954559Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 28583c1a-9267-40e8-beef-9ef663163211" 11:25:38 level=INFO ts=2024-08-21T11:25:37.995848889Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:25:38 level=INFO ts=2024-08-21T11:25:37.995989041Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.996070075Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 78812e19-c181-451c-9168-f8523dc5cab6" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.996169415Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic '78812e19-c181-451c-9168-f8523dc5cab6'" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.996342567Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (2698ddd6-9c4b-4ff0-bc36-97a2659a5a94)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.996423352Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline errorid (2698ddd6-9c4b-4ff0-bc36-97a2659a5a94)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.996400405Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (2698ddd6-9c4b-4ff0-bc36-97a2659a5a94)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.99651749Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 2698ddd6-9c4b-4ff0-bc36-97a2659a5a94" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.99668195Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline errorid (2698ddd6-9c4b-4ff0-bc36-97a2659a5a94): new error" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.996879339Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 2698ddd6-9c4b-4ff0-bc36-97a2659a5a94" 11:25:38 level=INFO ts=2024-08-21T11:25:37.997254293Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:25:38 level=INFO ts=2024-08-21T11:25:37.997398776Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.997497646Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic cb60f010-9bfc-4da0-8075-371431a3011b" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.997603298Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic 'cb60f010-9bfc-4da0-8075-371431a3011b'" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.997780141Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (a29fa398-7d12-4da6-ae3c-4ab3c80650bd)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.997859445Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (a29fa398-7d12-4da6-ae3c-4ab3c80650bd)" 11:25:38 level=DEBUG ts=2024-08-21T11:25:37.997849032Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (a29fa398-7d12-4da6-ae3c-4ab3c80650bd)" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.997990535Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (a29fa398-7d12-4da6-ae3c-4ab3c80650bd): new error" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.998270779Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (a29fa398-7d12-4da6-ae3c-4ab3c80650bd): new error" 11:25:38 level=ERROR ts=2024-08-21T11:25:37.99847231Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (a29fa398-7d12-4da6-ae3c-4ab3c80650bd): new error" 11:25:38 FAIL 11:25:38 coverage: 66.4% of statements 11:25:38 FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.097s 11:25:38 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 11:25:39 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 11:25:39 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.050s coverage: 92.6% of statements 11:25:40 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.061s coverage: 85.1% of statements 11:25:40 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.024s coverage: 100.0% of statements 11:25:40 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 11:25:40 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 11:25:40 --- FAIL: TestProcessMessageBusRequest (0.00s) 11:25:40 runtime_test.go:80: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:80 11:25:40 Error: Expected value not to be nil. 11:25:40 Test: TestProcessMessageBusRequest 11:25:40 --- FAIL: TestProcessMessageOneCustomTransform (0.00s) 11:25:40 runtime_test.go:283: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 11:25:40 /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:141 11:25:40 Error: Should be true 11:25:40 Test: TestProcessMessageOneCustomTransform 11:25:40 --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) 11:25:40 runtime_test.go:283: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 11:25:40 /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:187 11:25:40 Error: Should be true 11:25:40 Test: TestProcessMessageTwoCustomTransforms 11:25:40 --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) 11:25:40 runtime_test.go:283: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 11:25:40 /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:240 11:25:40 Error: Should be true 11:25:40 Test: TestProcessMessageThreeCustomTransformsOneFail 11:25:40 --- FAIL: TestDecode_Process_MessageTargetType (0.01s) 11:25:40 --- FAIL: TestDecode_Process_MessageTargetType/JSON_default_Target_Type (0.00s) 11:25:40 runtime_test.go:462: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:462 11:25:40 Error: Not equal: 11:25:40 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x33, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x39, 0x32, 0x36, 0x65, 0x35, 0x34, 0x38, 0x32, 0x2d, 0x39, 0x33, 0x36, 0x61, 0x2d, 0x34, 0x37, 0x63, 0x62, 0x2d, 0x61, 0x34, 0x38, 0x30, 0x2d, 0x35, 0x64, 0x33, 0x30, 0x66, 0x62, 0x30, 0x65, 0x38, 0x33, 0x36, 0x39, 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, 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, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x33, 0x39, 0x35, 0x34, 0x30, 0x34, 0x32, 0x34, 0x39, 0x36, 0x37, 0x36, 0x31, 0x34, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x65, 0x64, 0x32, 0x34, 0x35, 0x38, 0x38, 0x63, 0x2d, 0x62, 0x30, 0x39, 0x31, 0x2d, 0x34, 0x62, 0x33, 0x62, 0x2d, 0x61, 0x33, 0x63, 0x64, 0x2d, 0x64, 0x61, 0x62, 0x31, 0x37, 0x66, 0x63, 0x64, 0x61, 0x36, 0x39, 0x63, 0x22, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x33, 0x39, 0x35, 0x34, 0x30, 0x34, 0x32, 0x34, 0x39, 0x37, 0x39, 0x31, 0x35, 0x37, 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, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 11:25:40 actual : []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x33, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x3a, 0x22, 0x62, 0x30, 0x30, 0x62, 0x30, 0x65, 0x38, 0x30, 0x2d, 0x34, 0x63, 0x39, 0x30, 0x2d, 0x34, 0x33, 0x37, 0x38, 0x2d, 0x39, 0x63, 0x30, 0x35, 0x2d, 0x65, 0x38, 0x63, 0x33, 0x37, 0x66, 0x61, 0x66, 0x32, 0x32, 0x33, 0x61, 0x22, 0x2c, 0x22, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x3a, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x33, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x39, 0x32, 0x36, 0x65, 0x35, 0x34, 0x38, 0x32, 0x2d, 0x39, 0x33, 0x36, 0x61, 0x2d, 0x34, 0x37, 0x63, 0x62, 0x2d, 0x61, 0x34, 0x38, 0x30, 0x2d, 0x35, 0x64, 0x33, 0x30, 0x66, 0x62, 0x30, 0x65, 0x38, 0x33, 0x36, 0x39, 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, 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, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x33, 0x39, 0x35, 0x34, 0x30, 0x34, 0x32, 0x34, 0x39, 0x36, 0x37, 0x36, 0x31, 0x34, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x65, 0x64, 0x32, 0x34, 0x35, 0x38, 0x38, 0x63, 0x2d, 0x62, 0x30, 0x39, 0x31, 0x2d, 0x34, 0x62, 0x33, 0x62, 0x2d, 0x61, 0x33, 0x63, 0x64, 0x2d, 0x64, 0x61, 0x62, 0x31, 0x37, 0x66, 0x63, 0x64, 0x61, 0x36, 0x39, 0x63, 0x22, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x33, 0x39, 0x35, 0x34, 0x30, 0x34, 0x32, 0x34, 0x39, 0x37, 0x39, 0x31, 0x35, 0x37, 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, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d, 0x7d} 11:25:40 11:25:40 Diff: 11:25:40 --- Expected 11:25:40 +++ Actual 11:25:40 @@ -1,27 +1,32 @@ 11:25:40 -([]uint8) (len=395) { 11:25:40 +([]uint8) (len=474) { 11:25:40 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 11:25:40 - 00000010 33 22 2c 22 69 64 22 3a 22 39 32 36 65 35 34 38 |3","id":"926e548| 11:25:40 - 00000020 32 2d 39 33 36 61 2d 34 37 63 62 2d 61 34 38 30 |2-936a-47cb-a480| 11:25:40 - 00000030 2d 35 64 33 30 66 62 30 65 38 33 36 39 22 2c 22 |-5d30fb0e8369","| 11:25:40 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 11:25:40 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 11:25:40 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 11:25:40 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 |:"Thermostat","s| 11:25:40 - 00000080 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 |ourceName":"Temp| 11:25:40 - 00000090 65 72 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e |erature","origin| 11:25:40 - 000000a0 22 3a 31 37 32 34 32 33 39 35 34 30 34 32 34 39 |":17242395404249| 11:25:40 - 000000b0 36 37 36 31 34 2c 22 72 65 61 64 69 6e 67 73 22 |67614,"readings"| 11:25:40 - 000000c0 3a 5b 7b 22 69 64 22 3a 22 65 64 32 34 35 38 38 |:[{"id":"ed24588| 11:25:40 - 000000d0 63 2d 62 30 39 31 2d 34 62 33 62 2d 61 33 63 64 |c-b091-4b3b-a3cd| 11:25:40 - 000000e0 2d 64 61 62 31 37 66 63 64 61 36 39 63 22 2c 22 |-dab17fcda69c","| 11:25:40 - 000000f0 6f 72 69 67 69 6e 22 3a 31 37 32 34 32 33 39 35 |origin":17242395| 11:25:40 - 00000100 34 30 34 32 34 39 37 39 31 35 37 2c 22 64 65 76 |40424979157,"dev| 11:25:40 - 00000110 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 |iceName":"Family| 11:25:40 - 00000120 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c |RoomThermostat",| 11:25:40 - 00000130 22 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 |"resourceName":"| 11:25:40 - 00000140 54 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 |Temperature","pr| 11:25:40 - 00000150 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 |ofileName":"Ther| 11:25:40 - 00000160 6d 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 |mostat","valueTy| 11:25:40 - 00000170 70 65 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c |pe":"Int64","val| 11:25:40 - 00000180 75 65 22 3a 22 37 32 22 7d 5d 7d |ue":"72"}]}| 11:25:40 + 00000010 33 22 2c 22 72 65 71 75 65 73 74 49 64 22 3a 22 |3","requestId":"| 11:25:40 + 00000020 62 30 30 62 30 65 38 30 2d 34 63 39 30 2d 34 33 |b00b0e80-4c90-43| 11:25:40 + 00000030 37 38 2d 39 63 30 35 2d 65 38 63 33 37 66 61 66 |78-9c05-e8c37faf| 11:25:40 + 00000040 32 32 33 61 22 2c 22 65 76 65 6e 74 22 3a 7b 22 |223a","event":{"| 11:25:40 + 00000050 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 33 22 |apiVersion":"v3"| 11:25:40 + 00000060 2c 22 69 64 22 3a 22 39 32 36 65 35 34 38 32 2d |,"id":"926e5482-| 11:25:40 + 00000070 39 33 36 61 2d 34 37 63 62 2d 61 34 38 30 2d 35 |936a-47cb-a480-5| 11:25:40 + 00000080 64 33 30 66 62 30 65 38 33 36 39 22 2c 22 64 65 |d30fb0e8369","de| 11:25:40 + 00000090 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c |viceName":"Famil| 11:25:40 + 000000a0 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 |yRoomThermostat"| 11:25:40 + 000000b0 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 |,"profileName":"| 11:25:40 + 000000c0 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 6f 75 |Thermostat","sou| 11:25:40 + 000000d0 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 65 72 |rceName":"Temper| 11:25:40 + 000000e0 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e 22 3a |ature","origin":| 11:25:40 + 000000f0 31 37 32 34 32 33 39 35 34 30 34 32 34 39 36 37 |1724239540424967| 11:25:40 + 00000100 36 31 34 2c 22 72 65 61 64 69 6e 67 73 22 3a 5b |614,"readings":[| 11:25:40 + 00000110 7b 22 69 64 22 3a 22 65 64 32 34 35 38 38 63 2d |{"id":"ed24588c-| 11:25:40 + 00000120 62 30 39 31 2d 34 62 33 62 2d 61 33 63 64 2d 64 |b091-4b3b-a3cd-d| 11:25:40 + 00000130 61 62 31 37 66 63 64 61 36 39 63 22 2c 22 6f 72 |ab17fcda69c","or| 11:25:40 + 00000140 69 67 69 6e 22 3a 31 37 32 34 32 33 39 35 34 30 |igin":1724239540| 11:25:40 + 00000150 34 32 34 39 37 39 31 35 37 2c 22 64 65 76 69 63 |424979157,"devic| 11:25:40 + 00000160 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 6f |eName":"FamilyRo| 11:25:40 + 00000170 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 72 |omThermostat","r| 11:25:40 + 00000180 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 |esourceName":"Te| 11:25:40 + 00000190 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f 66 |mperature","prof| 11:25:40 + 000001a0 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d 6f |ileName":"Thermo| 11:25:40 + 000001b0 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 65 |stat","valueType| 11:25:40 + 000001c0 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c 75 65 |":"Int64","value| 11:25:40 + 000001d0 22 3a 22 37 32 22 7d 5d 7d 7d |":"72"}]}}| 11:25:40 } 11:25:40 Test: TestDecode_Process_MessageTargetType/JSON_default_Target_Type 11:25:40 Messages: 'JSON default Target Type' test failed 11:25:40 runtime_test.go:283: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 11:25:40 /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:466 11:25:40 Error: Should be true 11:25:40 Test: TestDecode_Process_MessageTargetType/JSON_default_Target_Type 11:25:40 --- FAIL: TestDecode_Process_MessageTargetType/CBOR_default_Target_Type (0.00s) 11:25:40 runtime_test.go:462: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:462 11:25:40 Error: Not equal: 11:25:40 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x33, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x39, 0x32, 0x36, 0x65, 0x35, 0x34, 0x38, 0x32, 0x2d, 0x39, 0x33, 0x36, 0x61, 0x2d, 0x34, 0x37, 0x63, 0x62, 0x2d, 0x61, 0x34, 0x38, 0x30, 0x2d, 0x35, 0x64, 0x33, 0x30, 0x66, 0x62, 0x30, 0x65, 0x38, 0x33, 0x36, 0x39, 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, 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, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x33, 0x39, 0x35, 0x34, 0x30, 0x34, 0x32, 0x34, 0x39, 0x36, 0x37, 0x36, 0x31, 0x34, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x65, 0x64, 0x32, 0x34, 0x35, 0x38, 0x38, 0x63, 0x2d, 0x62, 0x30, 0x39, 0x31, 0x2d, 0x34, 0x62, 0x33, 0x62, 0x2d, 0x61, 0x33, 0x63, 0x64, 0x2d, 0x64, 0x61, 0x62, 0x31, 0x37, 0x66, 0x63, 0x64, 0x61, 0x36, 0x39, 0x63, 0x22, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x33, 0x39, 0x35, 0x34, 0x30, 0x34, 0x32, 0x34, 0x39, 0x37, 0x39, 0x31, 0x35, 0x37, 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, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 11:25:40 actual : []byte{0xa3, 0x6a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x76, 0x33, 0x69, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x78, 0x24, 0x62, 0x30, 0x30, 0x62, 0x30, 0x65, 0x38, 0x30, 0x2d, 0x34, 0x63, 0x39, 0x30, 0x2d, 0x34, 0x33, 0x37, 0x38, 0x2d, 0x39, 0x63, 0x30, 0x35, 0x2d, 0x65, 0x38, 0x63, 0x33, 0x37, 0x66, 0x61, 0x66, 0x32, 0x32, 0x33, 0x61, 0x65, 0x65, 0x76, 0x65, 0x6e, 0x74, 0xa7, 0x6a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x76, 0x33, 0x62, 0x69, 0x64, 0x78, 0x24, 0x39, 0x32, 0x36, 0x65, 0x35, 0x34, 0x38, 0x32, 0x2d, 0x39, 0x33, 0x36, 0x61, 0x2d, 0x34, 0x37, 0x63, 0x62, 0x2d, 0x61, 0x34, 0x38, 0x30, 0x2d, 0x35, 0x64, 0x33, 0x30, 0x66, 0x62, 0x30, 0x65, 0x38, 0x33, 0x36, 0x39, 0x6a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x74, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x6b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6a, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x6a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x66, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x1b, 0x17, 0xed, 0xba, 0xba, 0x2, 0xb6, 0x85, 0xbe, 0x68, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x81, 0xa7, 0x62, 0x69, 0x64, 0x78, 0x24, 0x65, 0x64, 0x32, 0x34, 0x35, 0x38, 0x38, 0x63, 0x2d, 0x62, 0x30, 0x39, 0x31, 0x2d, 0x34, 0x62, 0x33, 0x62, 0x2d, 0x61, 0x33, 0x63, 0x64, 0x2d, 0x64, 0x61, 0x62, 0x31, 0x37, 0x66, 0x63, 0x64, 0x61, 0x36, 0x39, 0x63, 0x66, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x1b, 0x17, 0xed, 0xba, 0xba, 0x2, 0xb6, 0xb2, 0xd5, 0x6a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x74, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x6c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x6b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6a, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x65, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x62, 0x37, 0x32} 11:25:40 11:25:40 Diff: 11:25:40 --- Expected 11:25:40 +++ Actual 11:25:40 @@ -1,27 +1,27 @@ 11:25:40 -([]uint8) (len=395) { 11:25:40 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 11:25:40 - 00000010 33 22 2c 22 69 64 22 3a 22 39 32 36 65 35 34 38 |3","id":"926e548| 11:25:40 - 00000020 32 2d 39 33 36 61 2d 34 37 63 62 2d 61 34 38 30 |2-936a-47cb-a480| 11:25:40 - 00000030 2d 35 64 33 30 66 62 30 65 38 33 36 39 22 2c 22 |-5d30fb0e8369","| 11:25:40 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 11:25:40 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 11:25:40 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 11:25:40 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 |:"Thermostat","s| 11:25:40 - 00000080 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 |ourceName":"Temp| 11:25:40 - 00000090 65 72 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e |erature","origin| 11:25:40 - 000000a0 22 3a 31 37 32 34 32 33 39 35 34 30 34 32 34 39 |":17242395404249| 11:25:40 - 000000b0 36 37 36 31 34 2c 22 72 65 61 64 69 6e 67 73 22 |67614,"readings"| 11:25:40 - 000000c0 3a 5b 7b 22 69 64 22 3a 22 65 64 32 34 35 38 38 |:[{"id":"ed24588| 11:25:40 - 000000d0 63 2d 62 30 39 31 2d 34 62 33 62 2d 61 33 63 64 |c-b091-4b3b-a3cd| 11:25:40 - 000000e0 2d 64 61 62 31 37 66 63 64 61 36 39 63 22 2c 22 |-dab17fcda69c","| 11:25:40 - 000000f0 6f 72 69 67 69 6e 22 3a 31 37 32 34 32 33 39 35 |origin":17242395| 11:25:40 - 00000100 34 30 34 32 34 39 37 39 31 35 37 2c 22 64 65 76 |40424979157,"dev| 11:25:40 - 00000110 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 |iceName":"Family| 11:25:40 - 00000120 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c |RoomThermostat",| 11:25:40 - 00000130 22 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 |"resourceName":"| 11:25:40 - 00000140 54 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 |Temperature","pr| 11:25:40 - 00000150 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 |ofileName":"Ther| 11:25:40 - 00000160 6d 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 |mostat","valueTy| 11:25:40 - 00000170 70 65 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c |pe":"Int64","val| 11:25:40 - 00000180 75 65 22 3a 22 37 32 22 7d 5d 7d |ue":"72"}]}| 11:25:40 +([]uint8) (len=392) { 11:25:40 + 00000000 a3 6a 61 70 69 56 65 72 73 69 6f 6e 62 76 33 69 |.japiVersionbv3i| 11:25:40 + 00000010 72 65 71 75 65 73 74 49 64 78 24 62 30 30 62 30 |requestIdx$b00b0| 11:25:40 + 00000020 65 38 30 2d 34 63 39 30 2d 34 33 37 38 2d 39 63 |e80-4c90-4378-9c| 11:25:40 + 00000030 30 35 2d 65 38 63 33 37 66 61 66 32 32 33 61 65 |05-e8c37faf223ae| 11:25:40 + 00000040 65 76 65 6e 74 a7 6a 61 70 69 56 65 72 73 69 6f |event.japiVersio| 11:25:40 + 00000050 6e 62 76 33 62 69 64 78 24 39 32 36 65 35 34 38 |nbv3bidx$926e548| 11:25:40 + 00000060 32 2d 39 33 36 61 2d 34 37 63 62 2d 61 34 38 30 |2-936a-47cb-a480| 11:25:40 + 00000070 2d 35 64 33 30 66 62 30 65 38 33 36 39 6a 64 65 |-5d30fb0e8369jde| 11:25:40 + 00000080 76 69 63 65 4e 61 6d 65 74 46 61 6d 69 6c 79 52 |viceNametFamilyR| 11:25:40 + 00000090 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 6b 70 72 |oomThermostatkpr| 11:25:40 + 000000a0 6f 66 69 6c 65 4e 61 6d 65 6a 54 68 65 72 6d 6f |ofileNamejThermo| 11:25:40 + 000000b0 73 74 61 74 6a 73 6f 75 72 63 65 4e 61 6d 65 6b |statjsourceNamek| 11:25:40 + 000000c0 54 65 6d 70 65 72 61 74 75 72 65 66 6f 72 69 67 |Temperatureforig| 11:25:40 + 000000d0 69 6e 1b 17 ed ba ba 02 b6 85 be 68 72 65 61 64 |in.........hread| 11:25:40 + 000000e0 69 6e 67 73 81 a7 62 69 64 78 24 65 64 32 34 35 |ings..bidx$ed245| 11:25:40 + 000000f0 38 38 63 2d 62 30 39 31 2d 34 62 33 62 2d 61 33 |88c-b091-4b3b-a3| 11:25:40 + 00000100 63 64 2d 64 61 62 31 37 66 63 64 61 36 39 63 66 |cd-dab17fcda69cf| 11:25:40 + 00000110 6f 72 69 67 69 6e 1b 17 ed ba ba 02 b6 b2 d5 6a |origin.........j| 11:25:40 + 00000120 64 65 76 69 63 65 4e 61 6d 65 74 46 61 6d 69 6c |deviceNametFamil| 11:25:40 + 00000130 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 6c |yRoomThermostatl| 11:25:40 + 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 6b 54 65 6d |resourceNamekTem| 11:25:40 + 00000150 70 65 72 61 74 75 72 65 6b 70 72 6f 66 69 6c 65 |peraturekprofile| 11:25:40 + 00000160 4e 61 6d 65 6a 54 68 65 72 6d 6f 73 74 61 74 69 |NamejThermostati| 11:25:40 + 00000170 76 61 6c 75 65 54 79 70 65 65 49 6e 74 36 34 65 |valueTypeeInt64e| 11:25:40 + 00000180 76 61 6c 75 65 62 37 32 |valueb72| 11:25:40 } 11:25:40 Test: TestDecode_Process_MessageTargetType/CBOR_default_Target_Type 11:25:40 Messages: 'CBOR default Target Type' test failed 11:25:40 runtime_test.go:283: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 11:25:40 /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:466 11:25:40 Error: Should be true 11:25:40 Test: TestDecode_Process_MessageTargetType/CBOR_default_Target_Type 11:25:40 --- FAIL: TestDecode_Process_MessageTargetType/JSON_Event_Event_DTO (0.00s) 11:25:40 runtime_test.go:283: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 11:25:40 /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:468 11:25:40 Error: Should be true 11:25:40 Test: TestDecode_Process_MessageTargetType/JSON_Event_Event_DTO 11:25:40 --- FAIL: TestDecode_Process_MessageTargetType/CBOR_Event_Event_DTO (0.00s) 11:25:40 runtime_test.go:462: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:462 11:25:40 Error: Not equal: 11:25:40 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x33, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x39, 0x32, 0x36, 0x65, 0x35, 0x34, 0x38, 0x32, 0x2d, 0x39, 0x33, 0x36, 0x61, 0x2d, 0x34, 0x37, 0x63, 0x62, 0x2d, 0x61, 0x34, 0x38, 0x30, 0x2d, 0x35, 0x64, 0x33, 0x30, 0x66, 0x62, 0x30, 0x65, 0x38, 0x33, 0x36, 0x39, 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, 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, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x33, 0x39, 0x35, 0x34, 0x30, 0x34, 0x32, 0x34, 0x39, 0x36, 0x37, 0x36, 0x31, 0x34, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x65, 0x64, 0x32, 0x34, 0x35, 0x38, 0x38, 0x63, 0x2d, 0x62, 0x30, 0x39, 0x31, 0x2d, 0x34, 0x62, 0x33, 0x62, 0x2d, 0x61, 0x33, 0x63, 0x64, 0x2d, 0x64, 0x61, 0x62, 0x31, 0x37, 0x66, 0x63, 0x64, 0x61, 0x36, 0x39, 0x63, 0x22, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x33, 0x39, 0x35, 0x34, 0x30, 0x34, 0x32, 0x34, 0x39, 0x37, 0x39, 0x31, 0x35, 0x37, 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, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 11:25:40 actual : []byte{0xa7, 0x6a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x76, 0x33, 0x62, 0x69, 0x64, 0x78, 0x24, 0x39, 0x32, 0x36, 0x65, 0x35, 0x34, 0x38, 0x32, 0x2d, 0x39, 0x33, 0x36, 0x61, 0x2d, 0x34, 0x37, 0x63, 0x62, 0x2d, 0x61, 0x34, 0x38, 0x30, 0x2d, 0x35, 0x64, 0x33, 0x30, 0x66, 0x62, 0x30, 0x65, 0x38, 0x33, 0x36, 0x39, 0x6a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x74, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x6b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6a, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x6a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x66, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x1b, 0x17, 0xed, 0xba, 0xba, 0x2, 0xb6, 0x85, 0xbe, 0x68, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x81, 0xa7, 0x62, 0x69, 0x64, 0x78, 0x24, 0x65, 0x64, 0x32, 0x34, 0x35, 0x38, 0x38, 0x63, 0x2d, 0x62, 0x30, 0x39, 0x31, 0x2d, 0x34, 0x62, 0x33, 0x62, 0x2d, 0x61, 0x33, 0x63, 0x64, 0x2d, 0x64, 0x61, 0x62, 0x31, 0x37, 0x66, 0x63, 0x64, 0x61, 0x36, 0x39, 0x63, 0x66, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x1b, 0x17, 0xed, 0xba, 0xba, 0x2, 0xb6, 0xb2, 0xd5, 0x6a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x74, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x6c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x6b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6a, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x65, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x62, 0x37, 0x32} 11:25:40 11:25:40 Diff: 11:25:40 --- Expected 11:25:40 +++ Actual 11:25:40 @@ -1,27 +1,23 @@ 11:25:40 -([]uint8) (len=395) { 11:25:40 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 11:25:40 - 00000010 33 22 2c 22 69 64 22 3a 22 39 32 36 65 35 34 38 |3","id":"926e548| 11:25:40 - 00000020 32 2d 39 33 36 61 2d 34 37 63 62 2d 61 34 38 30 |2-936a-47cb-a480| 11:25:40 - 00000030 2d 35 64 33 30 66 62 30 65 38 33 36 39 22 2c 22 |-5d30fb0e8369","| 11:25:40 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 11:25:40 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 11:25:40 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 11:25:40 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 |:"Thermostat","s| 11:25:40 - 00000080 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 |ourceName":"Temp| 11:25:40 - 00000090 65 72 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e |erature","origin| 11:25:40 - 000000a0 22 3a 31 37 32 34 32 33 39 35 34 30 34 32 34 39 |":17242395404249| 11:25:40 - 000000b0 36 37 36 31 34 2c 22 72 65 61 64 69 6e 67 73 22 |67614,"readings"| 11:25:40 - 000000c0 3a 5b 7b 22 69 64 22 3a 22 65 64 32 34 35 38 38 |:[{"id":"ed24588| 11:25:40 - 000000d0 63 2d 62 30 39 31 2d 34 62 33 62 2d 61 33 63 64 |c-b091-4b3b-a3cd| 11:25:40 - 000000e0 2d 64 61 62 31 37 66 63 64 61 36 39 63 22 2c 22 |-dab17fcda69c","| 11:25:40 - 000000f0 6f 72 69 67 69 6e 22 3a 31 37 32 34 32 33 39 35 |origin":17242395| 11:25:40 - 00000100 34 30 34 32 34 39 37 39 31 35 37 2c 22 64 65 76 |40424979157,"dev| 11:25:40 - 00000110 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 |iceName":"Family| 11:25:40 - 00000120 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c |RoomThermostat",| 11:25:40 - 00000130 22 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 |"resourceName":"| 11:25:40 - 00000140 54 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 |Temperature","pr| 11:25:40 - 00000150 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 |ofileName":"Ther| 11:25:40 - 00000160 6d 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 |mostat","valueTy| 11:25:40 - 00000170 70 65 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c |pe":"Int64","val| 11:25:40 - 00000180 75 65 22 3a 22 37 32 22 7d 5d 7d |ue":"72"}]}| 11:25:40 +([]uint8) (len=323) { 11:25:40 + 00000000 a7 6a 61 70 69 56 65 72 73 69 6f 6e 62 76 33 62 |.japiVersionbv3b| 11:25:40 + 00000010 69 64 78 24 39 32 36 65 35 34 38 32 2d 39 33 36 |idx$926e5482-936| 11:25:40 + 00000020 61 2d 34 37 63 62 2d 61 34 38 30 2d 35 64 33 30 |a-47cb-a480-5d30| 11:25:40 + 00000030 66 62 30 65 38 33 36 39 6a 64 65 76 69 63 65 4e |fb0e8369jdeviceN| 11:25:40 + 00000040 61 6d 65 74 46 61 6d 69 6c 79 52 6f 6f 6d 54 68 |ametFamilyRoomTh| 11:25:40 + 00000050 65 72 6d 6f 73 74 61 74 6b 70 72 6f 66 69 6c 65 |ermostatkprofile| 11:25:40 + 00000060 4e 61 6d 65 6a 54 68 65 72 6d 6f 73 74 61 74 6a |NamejThermostatj| 11:25:40 + 00000070 73 6f 75 72 63 65 4e 61 6d 65 6b 54 65 6d 70 65 |sourceNamekTempe| 11:25:40 + 00000080 72 61 74 75 72 65 66 6f 72 69 67 69 6e 1b 17 ed |ratureforigin...| 11:25:40 + 00000090 ba ba 02 b6 85 be 68 72 65 61 64 69 6e 67 73 81 |......hreadings.| 11:25:40 + 000000a0 a7 62 69 64 78 24 65 64 32 34 35 38 38 63 2d 62 |.bidx$ed24588c-b| 11:25:40 + 000000b0 30 39 31 2d 34 62 33 62 2d 61 33 63 64 2d 64 61 |091-4b3b-a3cd-da| 11:25:40 + 000000c0 62 31 37 66 63 64 61 36 39 63 66 6f 72 69 67 69 |b17fcda69cforigi| 11:25:40 + 000000d0 6e 1b 17 ed ba ba 02 b6 b2 d5 6a 64 65 76 69 63 |n.........jdevic| 11:25:40 + 000000e0 65 4e 61 6d 65 74 46 61 6d 69 6c 79 52 6f 6f 6d |eNametFamilyRoom| 11:25:40 + 000000f0 54 68 65 72 6d 6f 73 74 61 74 6c 72 65 73 6f 75 |Thermostatlresou| 11:25:40 + 00000100 72 63 65 4e 61 6d 65 6b 54 65 6d 70 65 72 61 74 |rceNamekTemperat| 11:25:40 + 00000110 75 72 65 6b 70 72 6f 66 69 6c 65 4e 61 6d 65 6a |urekprofileNamej| 11:25:40 + 00000120 54 68 65 72 6d 6f 73 74 61 74 69 76 61 6c 75 65 |Thermostativalue| 11:25:40 + 00000130 54 79 70 65 65 49 6e 74 36 34 65 76 61 6c 75 65 |TypeeInt64evalue| 11:25:40 + 00000140 62 37 32 |b72| 11:25:40 } 11:25:40 Test: TestDecode_Process_MessageTargetType/CBOR_Event_Event_DTO 11:25:40 Messages: 'CBOR Event Event DTO' test failed 11:25:40 runtime_test.go:283: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 11:25:40 /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:468 11:25:40 Error: Should be true 11:25:40 Test: TestDecode_Process_MessageTargetType/CBOR_Event_Event_DTO 11:25:40 --- FAIL: TestGolangRuntime_processEventPayload (0.01s) 11:25:40 --- FAIL: TestGolangRuntime_processEventPayload/invalid_JSON (0.00s) 11:25:40 runtime_test.go:543: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:543 11:25:40 Error: An error is expected but got nil. 11:25:40 Test: TestGolangRuntime_processEventPayload/invalid_JSON 11:25:40 --- FAIL: TestGolangRuntime_processEventPayload/invalid_CBOR (0.00s) 11:25:40 runtime_test.go:543: 11:25:40 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:543 11:25:40 Error: An error is expected but got nil. 11:25:40 Test: TestGolangRuntime_processEventPayload/invalid_CBOR 11:25:40 FAIL 11:25:40 coverage: 76.9% of statements 11:25:40 FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.124s 11:25:40 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 11:25:40 # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt.test] 11:25:40 internal/trigger/mqtt/mqtt_test.go:120:5: unknown field mqttClient in struct literal of type Trigger 11:25:41 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 11:25:41 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 11:25:41 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 11:25:42 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.044s coverage: 97.3% of statements 11:25:42 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.078s coverage: 82.8% of statements 11:25:42 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.050s coverage: 65.1% of statements 11:25:42 FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [build failed] 11:25:42 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 11:25:42 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:25:43 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.059s coverage: 17.2% of statements 11:25:43 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.039s coverage: 27.3% of statements 11:25:44 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.061s coverage: 52.8% of statements 11:25:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8101 in /w/workspace/dry_app-functions-sdk-go_PR-1601 [Pipeline] { [Pipeline] ws 11:25:54 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 11:25:54 The recommended git tool is: git 11:25:59 using credential edgex-jenkins-ssh 11:25:59 Cloning the remote Git repository 11:25:59 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 11:25:59 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 11:25:59 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 11:25:59 > git --version # timeout=10 11:26:00 > git --version # 'git version 2.25.1' 11:26:00 using GIT_SSH to set credentials SSH Credentials for GitHub 11:26:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:26:04 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 11:26:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:26:06 Merging remotes/origin/napa commit 2d559bfd24087982bdd8bbb47fa03227def45c27 into PR head commit 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 11:26:05 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 11:26:05 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 11:26:05 using GIT_SSH to set credentials SSH Credentials for GitHub 11:26:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1601/head:refs/remotes/origin/PR-1601 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 11:26:06 > git config core.sparsecheckout # timeout=10 11:26:06 > git checkout -f 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 # timeout=10 11:26:08 Merge succeeded, producing 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 11:26:08 Checking out Revision 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 (PR-1601) 11:26:07 > git remote # timeout=10 11:26:07 > git config --get remote.origin.url # timeout=10 11:26:07 using GIT_SSH to set credentials SSH Credentials for GitHub 11:26:07 > git merge 2d559bfd24087982bdd8bbb47fa03227def45c27 # timeout=10 11:26:08 > git rev-parse HEAD^{commit} # timeout=10 11:26:08 > git config core.sparsecheckout # timeout=10 11:26:08 > git checkout -f 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 # timeout=10 11:26:10 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.135s coverage: 75.5% of statements 11:26:10 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.033s coverage: 94.4% of statements 11:26:10 FAIL 11:26:10 make: *** [Makefile:43: test-sdk] Error 1 [Pipeline] } 11:26:10 $ docker stop --time=1 ef1c9ecedb432adc826e4b095e478364a63704c1e1f06faea1c321a93a216221 11:26:12 $ docker rm -f --volumes ef1c9ecedb432adc826e4b095e478364a63704c1e1f06faea1c321a93a216221 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } 11:26:12 Commit message: "fix(runtime.go): restore type of import" [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:26:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:26:13 11:26:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:26:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:26:13 latest: Pulling from edgex-lftools-log-publisher 11:26:13 5eb5b503b376: Pulling fs layer 11:26:13 5c69ac0246d0: Pulling fs layer 11:26:13 ec43610c2a17: Pulling fs layer 11:26:13 3a2ae6a8a46f: Pulling fs layer 11:26:13 33b1e0a273af: Pulling fs layer 11:26:13 5d3b04190fa2: Pulling fs layer 11:26:13 2f39f015ded8: Pulling fs layer 11:26:13 33b1e0a273af: Waiting 11:26:13 3a2ae6a8a46f: Waiting 11:26:13 5d3b04190fa2: Waiting 11:26:13 5c69ac0246d0: Verifying Checksum 11:26:13 5c69ac0246d0: Download complete 11:26:13 3a2ae6a8a46f: Verifying Checksum 11:26:13 3a2ae6a8a46f: Download complete 11:26:13 33b1e0a273af: Verifying Checksum 11:26:13 33b1e0a273af: Download complete 11:26:13 ec43610c2a17: Verifying Checksum 11:26:13 5d3b04190fa2: Download complete 11:26:13 5eb5b503b376: Verifying Checksum 11:26:13 5eb5b503b376: Download complete 11:26:13 11:26:13 GitHub has been notified of this commit’s build result 11:26:13 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:26:14 2f39f015ded8: Download complete 11:26:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:26:14 % Total % Received % Xferd Average Speed Time Time Time Current 11:26:14 Dload Upload Total Spent Left Speed 11:26:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 89083 0 --:--:-- --:--:-- --:--:-- 89706 [Pipeline] sh 11:26:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:26:14 5eb5b503b376: Pull complete 11:26:15 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 11:26:15 /etc/docker/daemon.new 11:26:15 { 11:26:15 "registry-mirrors": [ 11:26:15 "https://nexus3.edgexfoundry.org:10001" 11:26:15 ], 11:26:15 "bip": "10.250.0.254/24", 11:26:15 "hosts": [ 11:26:15 "tcp://0.0.0.0:5555", 11:26:15 "unix:///var/run/docker.sock" 11:26:15 ], 11:26:15 "mtu": 1458, 11:26:15 "selinux-enabled": true, 11:26:15 "seccomp-profile": "/etc/docker/seccomp.json" 11:26:15 } [Pipeline] sh 11:26:15 5c69ac0246d0: Pull complete 11:26:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:26:15 ec43610c2a17: Pull complete 11:26:15 3a2ae6a8a46f: Pull complete 11:26:15 + sudo service docker restart 11:26:16 33b1e0a273af: Pull complete 11:26:16 5d3b04190fa2: Pull complete 11:26:21 2f39f015ded8: Pull complete 11:26:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:26:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:26:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:26:21 prd-ubuntu20.04-docker-8c-8g-8100 does not seem to be running inside a container 11:26:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1601 -v /w/workspace/dry_app-functions-sdk-go_PR-1601:/w/workspace/dry_app-functions-sdk-go_PR-1601:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1601@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1601@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:26:26 $ docker top dd007846e8220cadad284addc69f723b04ac4b95f08ea92f56271abbf2d27b1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:26:26 ---> job-cost.sh 11:26:26 lf-activate-venv: SKIPPING 11:26:26 INFO: No Stack... 11:26:26 INFO: Retrieving Pricing Info for: v3-standard-8 11:26:27 INFO: Archiving Costs [Pipeline] sh 11:26:27 + + cat /w/workspace/dry_app-functions-sdk-go_PR-1601/archives/cost.csv 11:26:27 cut -d, -f6 [Pipeline] lock 11:26:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] 11:26:27 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] did not exist. Created. 11:26:27 Lock acquired on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:26:27 + echo total: 0.2199999988079071 [Pipeline] stash 11:26:27 Stashed 1 file(s) [Pipeline] } 11:26:27 Lock released on resource [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] [Pipeline] // lock [Pipeline] } 11:26:27 $ docker stop --time=1 dd007846e8220cadad284addc69f723b04ac4b95f08ea92f56271abbf2d27b1c 11:26:29 $ docker rm -f --volumes dd007846e8220cadad284addc69f723b04ac4b95f08ea92f56271abbf2d27b1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:26:29 Failed in branch amd64 [Pipeline] unstash [Pipeline] echo 11:26:34 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 11:26:34 + + cutgrep ^go [0-9].[0-9]* go.mod 11:26:34 -d -f 2 [Pipeline] echo 11:26:34 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:26:34 ========================================================= 11:26:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 11:26:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 11:26:35 + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 11:26:35 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 11:26:35 c6b39de5b339: Pulling fs layer 11:26:35 a69c41024577: Pulling fs layer 11:26:35 d6de4b400683: Pulling fs layer 11:26:35 35cb2a7552d0: Pulling fs layer 11:26:35 4f4fb700ef54: Pulling fs layer 11:26:35 9e011611b7f5: Pulling fs layer 11:26:35 3bd174042beb: Pulling fs layer 11:26:35 4476f39b5e91: Pulling fs layer 11:26:35 35cb2a7552d0: Waiting 11:26:35 4f4fb700ef54: Waiting 11:26:35 9e011611b7f5: Waiting 11:26:35 3bd174042beb: Waiting 11:26:35 4476f39b5e91: Waiting 11:26:35 a69c41024577: Verifying Checksum 11:26:35 a69c41024577: Download complete 11:26:35 35cb2a7552d0: Verifying Checksum 11:26:35 35cb2a7552d0: Download complete 11:26:35 c6b39de5b339: Download complete 11:26:35 4f4fb700ef54: Verifying Checksum 11:26:35 4f4fb700ef54: Download complete 11:26:35 9e011611b7f5: Verifying Checksum 11:26:35 9e011611b7f5: Download complete 11:26:36 4476f39b5e91: Verifying Checksum 11:26:36 4476f39b5e91: Download complete 11:26:36 c6b39de5b339: Pull complete 11:26:37 a69c41024577: Pull complete 11:26:37 d6de4b400683: Verifying Checksum 11:26:37 d6de4b400683: Download complete 11:26:38 3bd174042beb: Verifying Checksum 11:26:38 3bd174042beb: Download complete 11:26:50 d6de4b400683: Pull complete 11:26:50 35cb2a7552d0: Pull complete 11:26:50 4f4fb700ef54: Pull complete 11:26:50 9e011611b7f5: Pull complete 11:26:59 3bd174042beb: Pull complete 11:27:00 4476f39b5e91: Pull complete 11:27:00 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 11:27:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 11:27:00 nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [Pipeline] sh 11:27:00 + docker tag nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:01 + docker inspect -f . ci-base-image-arm64 11:27:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:27:01 prd-ubuntu20.04-docker-arm64-4c-16g-8101 does not seem to be running inside a container 11:27:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:27:04 $ docker top c5f95fe268cf7fe7e6458560e5852c49604ce0818c2467afdaadd4b0eec961fc -eo pid,comm [Pipeline] { [Pipeline] sh 11:27:05 + go version 11:27:05 go version go1.21.9 linux/arm64 [Pipeline] } 11:27:05 $ docker stop --time=1 c5f95fe268cf7fe7e6458560e5852c49604ce0818c2467afdaadd4b0eec961fc 11:27:06 $ docker rm -f --volumes c5f95fe268cf7fe7e6458560e5852c49604ce0818c2467afdaadd4b0eec961fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:07 + docker inspect -f . ci-base-image-arm64 11:27:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:27:07 prd-ubuntu20.04-docker-arm64-4c-16g-8101 does not seem to be running inside a container 11:27:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:27:09 $ docker top 532467a1ff19bf48dde30c15ffd9043fac6043f76c58e768ca8fe0bef06c34f4 -eo pid,comm [Pipeline] { [Pipeline] sh 11:27:09 + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/5 [Pipeline] fileExists [Pipeline] sh 11:27:10 + make test 11:27:10 make -C ./app-service-template build 11:27:10 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 11:27:10 go mod tidy 11:27:10 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0 11:27:10 go: downloading github.com/labstack/echo/v4 v4.11.2 11:27:10 go: downloading github.com/stretchr/testify v1.9.0 11:27:10 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 11:27:11 go: downloading github.com/google/uuid v1.6.0 11:27:11 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0 11:27:11 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 11:27:11 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0 11:27:11 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0 11:27:11 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.2 11:27:11 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 11:27:11 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 11:27:11 go: downloading gopkg.in/yaml.v3 v3.0.1 11:27:11 go: downloading github.com/stretchr/objx v0.5.2 11:27:11 go: downloading github.com/labstack/gommon v0.4.0 11:27:11 go: downloading golang.org/x/crypto v0.23.0 11:27:11 go: downloading golang.org/x/net v0.25.0 11:27:12 go: downloading github.com/go-kit/log v0.2.1 11:27:12 go: downloading github.com/go-playground/validator/v10 v10.15.5 11:27:12 go: downloading github.com/fxamacker/cbor/v2 v2.5.0 11:27:12 go: downloading github.com/hashicorp/go-multierror v1.1.1 11:27:12 go: downloading github.com/gorilla/websocket v1.5.0 11:27:12 go: downloading golang.org/x/sync v0.7.0 11:27:12 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0 11:27:12 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0 11:27:13 go: downloading github.com/mitchellh/copystructure v1.2.0 11:27:13 go: downloading github.com/mattn/go-colorable v0.1.13 11:27:13 go: downloading github.com/mattn/go-isatty v0.0.19 11:27:13 go: downloading github.com/valyala/fasttemplate v1.2.2 11:27:13 go: downloading github.com/go-logfmt/logfmt v0.5.1 11:27:13 go: downloading github.com/x448/float16 v0.8.4 11:27:13 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 11:27:13 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 11:27:13 go: downloading github.com/go-playground/universal-translator v0.18.1 11:27:13 go: downloading github.com/leodido/go-urn v1.2.4 11:27:13 go: downloading golang.org/x/text v0.15.0 11:27:14 go: downloading github.com/go-playground/assert/v2 v2.2.0 11:27:14 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 11:27:14 go: downloading github.com/go-playground/locales v0.14.1 11:27:17 go: downloading github.com/hashicorp/errwrap v1.1.0 11:27:17 go: downloading github.com/spiffe/go-spiffe/v2 v2.2.0 11:27:18 go: downloading github.com/hashicorp/consul/api v1.25.1 11:27:18 go: downloading github.com/mitchellh/reflectwalk v1.0.2 11:27:18 go: downloading github.com/valyala/bytebufferpool v1.0.0 11:27:18 go: downloading golang.org/x/sys v0.20.0 11:27:18 go: downloading github.com/mitchellh/mapstructure v1.5.0 11:27:18 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 11:27:18 go: downloading golang.org/x/time v0.5.0 11:27:18 go: downloading github.com/kr/pretty v0.1.0 11:27:18 go: downloading github.com/nats-io/nats.go v1.31.0 11:27:18 go: downloading github.com/go-redis/redis/v7 v7.3.0 11:27:18 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:27:18 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 11:27:18 go: downloading github.com/hashicorp/go-hclog v1.5.0 11:27:18 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 11:27:18 go: downloading github.com/hashicorp/serf v0.10.1 11:27:18 go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 11:27:19 go: downloading github.com/google/go-cmp v0.6.0 11:27:19 go: downloading github.com/hashicorp/consul/sdk v0.14.1 11:27:19 go: downloading github.com/hashicorp/go-uuid v1.0.3 11:27:19 go: downloading github.com/Microsoft/go-winio v0.6.1 11:27:19 go: downloading github.com/zeebo/errs v1.3.0 11:27:19 go: downloading google.golang.org/grpc v1.63.2 11:27:20 go: downloading github.com/kr/text v0.2.0 11:27:20 go: downloading github.com/onsi/ginkgo v1.10.1 11:27:20 go: downloading github.com/onsi/gomega v1.7.0 11:27:20 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 11:27:20 go: downloading github.com/fatih/color v1.14.1 11:27:20 go: downloading github.com/mitchellh/go-homedir v1.1.0 11:27:20 go: downloading github.com/klauspost/compress v1.17.1 11:27:20 go: downloading github.com/nats-io/nkeys v0.4.6 11:27:21 go: downloading github.com/nats-io/nuid v1.0.1 11:27:21 go: downloading github.com/armon/go-metrics v0.4.1 11:27:21 go: downloading github.com/hashicorp/go-version v1.2.1 11:27:21 go: downloading github.com/pkg/errors v0.9.1 11:27:21 go: downloading github.com/hashicorp/go-msgpack v0.5.5 11:27:21 go: downloading github.com/hashicorp/memberlist v0.5.0 11:27:21 go: downloading github.com/go-jose/go-jose/v4 v4.0.1 11:27:21 go: downloading google.golang.org/protobuf v1.34.1 11:27:22 go: downloading golang.org/x/tools v0.21.0 11:27:22 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240509183442-62759503f434 11:27:22 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 11:27:22 go: downloading github.com/pascaldekloe/goe v0.1.0 11:27:22 go: downloading github.com/google/btree v1.0.1 11:27:22 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 11:27:22 go: downloading github.com/miekg/dns v1.1.41 11:27:23 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 11:27:23 go: downloading gopkg.in/yaml.v2 v2.4.0 11:27:23 go: downloading github.com/hashicorp/golang-lru v0.5.4 11:27:23 go: downloading github.com/hpcloud/tail v1.0.0 11:27:23 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 11:27:23 go: downloading gopkg.in/fsnotify.v1 v1.4.7 11:27:25 go: downloading golang.org/x/mod v0.17.0 11:27:25 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service 11:29:32 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 11:29:32 make -C ./app-service-template test 11:29:32 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 11:29:32 go test -race -coverprofile=coverage.out ./... 11:32:23 ? app-new-service/config [no test files] 11:32:23 ok app-new-service 1.271s coverage: 45.9% of statements 11:32:23 ok app-new-service/functions 1.253s coverage: 85.3% of statements 11:32:23 go vet ./... 11:34:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:34:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:34:45 ./bin/test-attribution-txt.sh 11:34:45 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 11:34:45 go test -race -coverprofile=coverage.out ./... 11:34:56 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 11:36:17 level=ERROR ts=2024-08-21T11:36:07.388814708Z app=test source=configurable.go:718 msg="Could not find 'profilenames' parameter for FilterByProfileName" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.391175938Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByProfileName" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.39289591Z app=test source=configurable.go:718 msg="Could not find 'devicenames' parameter for FilterByDeviceName" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.395655534Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByDeviceName" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.397540225Z app=test source=configurable.go:718 msg="Could not find 'sourcenames' parameter for FilterBySourceName" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.399038164Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterBySourceName" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.400449338Z app=test source=configurable.go:718 msg="Could not find 'resourcenames' parameter for FilterByResourceName" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.402718652Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByResourceName" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.405746721Z app=test source=configurable.go:192 msg="Invalid transform type 'baDType'. Must be 'xml' or 'json'" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.410340464Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.411434788Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.412676662Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'persistonerror' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.413697992Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.414624657Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.41551556Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.416487198Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.420586641Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.421618272Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.422505774Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'persistonerror' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.42345106Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'continueonsenderror' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.424406677Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'returninputdata' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.425400846Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.426332591Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.427752085Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.428752084Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.437983551Z app=test source=configurable.go:457 msg="Could not parse 'junk' to a bool for 'willenabled' parameter: strconv.ParseBool: parsing \"junk\": invalid syntax" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.439053254Z app=test source=configurable.go:494 msg="Could not parse 'junk' to a bool for 'willretained' parameter: strconv.ParseBool: parsing \"junk\": invalid syntax" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.439939077Z app=test source=configurable.go:483 msg="Could not parse 'junk' to a int for 'willqos' parameter: strconv.Atoi: parsing \"junk\": invalid syntax" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.440794588Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.441614086Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.442487968Z app=test source=configurable.go:467 msg="WillPayload must be present and non-empty when WillEnabled set to true" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.443340198Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.445684267Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `GatewayId HoustonStore000123, Latitude:29.630771,Longitude:-95.377603`" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.446534378Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `GatewayId:,Latitude:29.630771,Longitude:-95.377603`" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.447380458Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `GatewayId:HoustonStore000123,:29.630771,Longitude:-95.377603`" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.448178395Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `:,:,:`" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.448984533Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.45028548Z app=test source=configurable.go:312 msg="Could not find 'key' or 'secretname' and 'secretvaluekey' in configuration" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.452540683Z app=test source=configurable.go:207 msg="Could not find profilename" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.453413535Z app=test source=configurable.go:212 msg="Could not find devicename" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.454279286Z app=test source=configurable.go:217 msg="Could not find resourcename" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.455082164Z app=test source=configurable.go:222 msg="Could not find valuetype" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.456093104Z app=test source=configurable.go:236 msg="unable to normalize the unknown value type bogus" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.457447624Z app=test source=configurable.go:251 msg="MediaType can not be empty when ValueType=Binary" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.458550739Z app=test source=configurable.go:244 msg="Could not find mediatype" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.461230628Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.462168984Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `tag1 = value1, tag2 =value2`" 11:36:17 level=INFO ts=2024-08-21T11:36:07.46395327Z app=test source=server.go:57 msg="Registering standard routes..." 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.464487401Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" 11:36:17 level=INFO ts=2024-08-21T11:36:07.46582499Z app=test source=server.go:57 msg="Registering standard routes..." 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.466233385Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" 11:36:17 level=INFO ts=2024-08-21T11:36:07.467552283Z app=test source=server.go:57 msg="Registering standard routes..." 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.468024351Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" 11:36:17 level=INFO ts=2024-08-21T11:36:07.473330135Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.47460436Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.475734917Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.476004763Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" 11:36:17 level=INFO ts=2024-08-21T11:36:07.477137931Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:36:17 level=INFO ts=2024-08-21T11:36:07.478193753Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.478462169Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" 11:36:17 --- FAIL: TestSetupHTTPTrigger (0.01s) 11:36:17 service_test.go:289: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/service_test.go:289 11:36:17 Error: Should be true 11:36:17 Test: TestSetupHTTPTrigger 11:36:17 Messages: Expected Instance of HTTP Trigger 11:36:17 level=INFO ts=2024-08-21T11:36:07.481002799Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.48235741Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.483429123Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.483693659Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" 11:36:17 level=INFO ts=2024-08-21T11:36:07.485006767Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:36:17 level=INFO ts=2024-08-21T11:36:07.48590291Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.486192767Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" 11:36:17 --- FAIL: TestSetupMessageBusTrigger (0.01s) 11:36:17 service_test.go:309: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/service_test.go:309 11:36:17 Error: Should be true 11:36:17 Test: TestSetupMessageBusTrigger 11:36:17 Messages: Expected Instance of Message Bus Trigger 11:36:17 level=INFO ts=2024-08-21T11:36:07.489304681Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.490491302Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.491795889Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.492082656Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.49249029Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.494369131Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.495481127Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.496644086Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.49704509Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.497299135Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.499086291Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-123 metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.500041907Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-123 metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.50109559Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-123 metric has been registered and will be reported (if enabled)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.501468502Z app=test source=service.go:455 msg="Pipeline '123' added for topics '[edgex/#]' with 1 transform(s)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.503766488Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-124 metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.50515603Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-124 metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.506345611Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-124 metric has been registered and will be reported (if enabled)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.506743524Z app=test source=service.go:455 msg="Pipeline '124' added for topics '[edgex/#]' with 1 transform(s)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.510072262Z app=test source=runtime.go:196 msg="PipelineMessagesProcessed-121 metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.511240491Z app=test source=runtime.go:196 msg="PipelineMessageProcessingTime-121 metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.512372408Z app=test source=runtime.go:196 msg="PipelineProcessingErrors-121 metric has been registered and will be reported (if enabled)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.512827955Z app=test source=service.go:455 msg="Pipeline '121' added for topics '[edgex/#]' with 2 transform(s)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.519974668Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.520863721Z app=test source=service.go:329 msg="'bogus' Function Pipeline Execution Order: [Bogus]" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.52186822Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.524119604Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.524885599Z app=test source=service.go:405 msg="FilterByDeviceName function added to 'default-pipeline' configurable pipeline with parameters: [devicenames='Random-Float-Device, Random-Integer-Device']" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.525455063Z app=test source=service.go:405 msg="Transform function added to 'default-pipeline' configurable pipeline with parameters: [type='xml']" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.525865687Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.526124002Z app=test source=service.go:329 msg="'pre-topic' Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.5265869Z app=test source=service.go:405 msg="FilterByDeviceName function added to 'pre-topic' configurable pipeline with parameters: [devicenames='Random-Float-Device, Random-Integer-Device']" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.527021266Z app=test source=service.go:405 msg="Transform function added to 'pre-topic' configurable pipeline with parameters: [type='xml']" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.527461032Z app=test source=service.go:405 msg="SetResponseData function added to 'pre-topic' configurable pipeline with parameters: []" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.530780528Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.531627158Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.532226354Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.53351589Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.534051002Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.534488418Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.535304936Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.535830047Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.536283994Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.537193348Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.537778923Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.538255461Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.539268171Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.539801563Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.54026901Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.541237718Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.541797371Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.54229068Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.543181793Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.543743686Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.544226915Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 11:36:17 level=INFO ts=2024-08-21T11:36:07.550611613Z app=test source=service.go:750 msg="Environment profileOverride of '-n/--serviceName' by environment variable: EDGEX_SERVICE_KEY=MyCustomAppService" 11:36:17 level=INFO ts=2024-08-21T11:36:07.551491285Z app=test source=service.go:750 msg="Environment profileOverride of '-n/--serviceName' by environment variable: EDGEX_SERVICE_KEY=AppService--MyCloud" 11:36:17 --- FAIL: TestSetupTrigger_HTTP (0.00s) 11:36:17 triggerfactory_test.go:112: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/triggerfactory_test.go:112 11:36:17 Error: Object expected to be of type *http.Trigger, but was *mqtt.Trigger 11:36:17 Test: TestSetupTrigger_HTTP 11:36:17 Messages: should be an http trigger 11:36:17 --- FAIL: TestSetupTrigger_EdgeXMessageBus (0.00s) 11:36:17 triggerfactory_test.go:129: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/triggerfactory_test.go:129 11:36:17 Error: Object expected to be of type *messagebus.Trigger, but was *mqtt.Trigger 11:36:17 Test: TestSetupTrigger_EdgeXMessageBus 11:36:17 Messages: should be an edgex-messagebus trigger 11:36:17 level=INFO ts=2024-08-21T11:36:07.585058203Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:36:17 level=INFO ts=2024-08-21T11:36:07.586000839Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:36:17 level=INFO ts=2024-08-21T11:36:07.586287806Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" 11:36:17 --- FAIL: Test_Service_setupTrigger_CustomType (0.00s) 11:36:17 triggerfactory_test.go:185: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/triggerfactory_test.go:185 11:36:17 Error: Object expected to be of type *app.mockCustomTrigger, but was *mqtt.Trigger 11:36:17 Test: Test_Service_setupTrigger_CustomType 11:36:17 Messages: should be a custom trigger 11:36:17 --- FAIL: Test_Service_SetupTrigger_CustomTypeError (0.00s) 11:36:17 triggerfactory_test.go:208: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/triggerfactory_test.go:208 11:36:17 Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc0001eea20), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc00004c120), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} 11:36:17 Test: Test_Service_SetupTrigger_CustomTypeError 11:36:17 Messages: should be nil 11:36:17 --- FAIL: Test_Service_SetupTrigger_CustomTypeNotFound (0.00s) 11:36:17 triggerfactory_test.go:226: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/triggerfactory_test.go:226 11:36:17 Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc0001eed80), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc00004c710), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} 11:36:17 Test: Test_Service_SetupTrigger_CustomTypeNotFound 11:36:17 Messages: should be nil 11:36:17 level=INFO ts=2024-08-21T11:36:07.599168189Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:36:17 level=INFO ts=2024-08-21T11:36:07.599967007Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.600561592Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic afe4928a-0fff-4ba2-a783-9c25b80b0b63" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.601280755Z app=test source=triggermessageprocessor.go:115 msg="trigger found 0 pipeline(s) that match the incoming topic 'afe4928a-0fff-4ba2-a783-9c25b80b0b63'" 11:36:17 level=INFO ts=2024-08-21T11:36:07.603867568Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:36:17 level=INFO ts=2024-08-21T11:36:07.604788982Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.605444231Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 52c5465a-8978-4e24-a3b7-a36f156bc55c" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.606203666Z app=test source=triggermessageprocessor.go:115 msg="trigger found 1 pipeline(s) that match the incoming topic '52c5465a-8978-4e24-a3b7-a36f156bc55c'" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.607331403Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (24073898-7780-49d2-a66e-bf8f72d6ef97)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.608427948Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 24073898-7780-49d2-a66e-bf8f72d6ef97" 11:36:17 level=INFO ts=2024-08-21T11:36:07.612737743Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:36:17 level=INFO ts=2024-08-21T11:36:07.614144617Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.61589733Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic afce7243-25de-4fcd-8645-c6ccf5707e38" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.616556219Z app=test source=triggermessageprocessor.go:115 msg="trigger found 1 pipeline(s) that match the incoming topic 'afce7243-25de-4fcd-8645-c6ccf5707e38'" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.617698547Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (daa35404-92fc-455e-b108-6d6e2616623d)" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.618552968Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (daa35404-92fc-455e-b108-6d6e2616623d): some error" 11:36:17 level=INFO ts=2024-08-21T11:36:07.620563637Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:36:17 level=INFO ts=2024-08-21T11:36:07.621418937Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.621918877Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic bc0825ff-f421-4208-a9f7-94ea21ce7707" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.622504922Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic 'bc0825ff-f421-4208-a9f7-94ea21ce7707'" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.623788428Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (38915dc0-c9ba-4979-a6e8-10d301d30eb1)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.6238171Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (38915dc0-c9ba-4979-a6e8-10d301d30eb1)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.623918175Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (38915dc0-c9ba-4979-a6e8-10d301d30eb1)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.625652478Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 38915dc0-c9ba-4979-a6e8-10d301d30eb1" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.625910414Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 38915dc0-c9ba-4979-a6e8-10d301d30eb1" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.626484418Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 38915dc0-c9ba-4979-a6e8-10d301d30eb1" 11:36:17 level=INFO ts=2024-08-21T11:36:07.628513688Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:36:17 level=INFO ts=2024-08-21T11:36:07.629461334Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.629998316Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 012cd1b5-3e6a-4086-a484-26a56a38fe7b" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.630553679Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic '012cd1b5-3e6a-4086-a484-26a56a38fe7b'" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.63159056Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline errorid (d0fcf855-14a4-489d-97fa-9015093b8bdc)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.631719268Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (d0fcf855-14a4-489d-97fa-9015093b8bdc)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.631620952Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (d0fcf855-14a4-489d-97fa-9015093b8bdc)" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.632631912Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline errorid (d0fcf855-14a4-489d-97fa-9015093b8bdc): new error" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.633820082Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline d0fcf855-14a4-489d-97fa-9015093b8bdc" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.6344622Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline d0fcf855-14a4-489d-97fa-9015093b8bdc" 11:36:17 level=INFO ts=2024-08-21T11:36:07.636553794Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 11:36:17 level=INFO ts=2024-08-21T11:36:07.637346611Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.637954997Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 263e342c-5fe3-4593-ad28-fb563c54a3fb" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.638601425Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic '263e342c-5fe3-4593-ad28-fb563c54a3fb'" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.639612835Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (b4ff35ec-3713-4742-9eb7-52c1dbb9d480)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.639746653Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (b4ff35ec-3713-4742-9eb7-52c1dbb9d480)" 11:36:17 level=DEBUG ts=2024-08-21T11:36:07.639670159Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (b4ff35ec-3713-4742-9eb7-52c1dbb9d480)" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.640832627Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (b4ff35ec-3713-4742-9eb7-52c1dbb9d480): new error" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.641805955Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (b4ff35ec-3713-4742-9eb7-52c1dbb9d480): new error" 11:36:17 level=ERROR ts=2024-08-21T11:36:07.642654825Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (b4ff35ec-3713-4742-9eb7-52c1dbb9d480): new error" 11:36:17 FAIL 11:36:17 coverage: 66.4% of statements 11:36:17 FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.555s 11:36:17 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 11:36:17 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.274s coverage: 92.6% of statements 11:36:17 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 11:36:17 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.304s coverage: 85.1% of statements 11:36:17 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.139s coverage: 100.0% of statements 11:36:17 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 11:36:17 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 11:36:17 --- FAIL: TestProcessMessageBusRequest (0.02s) 11:36:17 runtime_test.go:80: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:80 11:36:17 Error: Expected value not to be nil. 11:36:17 Test: TestProcessMessageBusRequest 11:36:17 --- FAIL: TestProcessMessageOneCustomTransform (0.00s) 11:36:17 runtime_test.go:283: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 11:36:17 /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:141 11:36:17 Error: Should be true 11:36:17 Test: TestProcessMessageOneCustomTransform 11:36:17 --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) 11:36:17 runtime_test.go:283: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 11:36:17 /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:187 11:36:17 Error: Should be true 11:36:17 Test: TestProcessMessageTwoCustomTransforms 11:36:17 --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) 11:36:17 runtime_test.go:283: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 11:36:17 /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:240 11:36:17 Error: Should be true 11:36:17 Test: TestProcessMessageThreeCustomTransformsOneFail 11:36:17 --- FAIL: TestDecode_Process_MessageTargetType (0.06s) 11:36:17 --- FAIL: TestDecode_Process_MessageTargetType/JSON_default_Target_Type (0.01s) 11:36:17 runtime_test.go:462: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:462 11:36:17 Error: Not equal: 11:36:17 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x33, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x62, 0x63, 0x63, 0x64, 0x66, 0x61, 0x65, 0x64, 0x2d, 0x64, 0x36, 0x32, 0x63, 0x2d, 0x34, 0x34, 0x66, 0x34, 0x2d, 0x38, 0x39, 0x31, 0x38, 0x2d, 0x38, 0x34, 0x30, 0x64, 0x37, 0x33, 0x64, 0x62, 0x62, 0x64, 0x38, 0x32, 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, 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, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x34, 0x30, 0x31, 0x37, 0x36, 0x36, 0x37, 0x39, 0x30, 0x33, 0x31, 0x32, 0x32, 0x36, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x64, 0x32, 0x61, 0x36, 0x64, 0x36, 0x37, 0x36, 0x2d, 0x39, 0x63, 0x31, 0x61, 0x2d, 0x34, 0x37, 0x33, 0x30, 0x2d, 0x38, 0x63, 0x61, 0x65, 0x2d, 0x66, 0x31, 0x62, 0x63, 0x34, 0x31, 0x63, 0x61, 0x63, 0x65, 0x66, 0x31, 0x22, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x34, 0x30, 0x31, 0x37, 0x36, 0x36, 0x37, 0x39, 0x30, 0x38, 0x30, 0x38, 0x30, 0x39, 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, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 11:36:17 actual : []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x33, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x3a, 0x22, 0x33, 0x61, 0x65, 0x65, 0x36, 0x37, 0x37, 0x30, 0x2d, 0x63, 0x35, 0x33, 0x63, 0x2d, 0x34, 0x35, 0x64, 0x65, 0x2d, 0x61, 0x62, 0x62, 0x37, 0x2d, 0x61, 0x36, 0x31, 0x65, 0x35, 0x34, 0x61, 0x61, 0x34, 0x30, 0x38, 0x33, 0x22, 0x2c, 0x22, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x3a, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x33, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x62, 0x63, 0x63, 0x64, 0x66, 0x61, 0x65, 0x64, 0x2d, 0x64, 0x36, 0x32, 0x63, 0x2d, 0x34, 0x34, 0x66, 0x34, 0x2d, 0x38, 0x39, 0x31, 0x38, 0x2d, 0x38, 0x34, 0x30, 0x64, 0x37, 0x33, 0x64, 0x62, 0x62, 0x64, 0x38, 0x32, 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, 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, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x34, 0x30, 0x31, 0x37, 0x36, 0x36, 0x37, 0x39, 0x30, 0x33, 0x31, 0x32, 0x32, 0x36, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x64, 0x32, 0x61, 0x36, 0x64, 0x36, 0x37, 0x36, 0x2d, 0x39, 0x63, 0x31, 0x61, 0x2d, 0x34, 0x37, 0x33, 0x30, 0x2d, 0x38, 0x63, 0x61, 0x65, 0x2d, 0x66, 0x31, 0x62, 0x63, 0x34, 0x31, 0x63, 0x61, 0x63, 0x65, 0x66, 0x31, 0x22, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x34, 0x30, 0x31, 0x37, 0x36, 0x36, 0x37, 0x39, 0x30, 0x38, 0x30, 0x38, 0x30, 0x39, 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, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d, 0x7d} 11:36:17 11:36:17 Diff: 11:36:17 --- Expected 11:36:17 +++ Actual 11:36:17 @@ -1,27 +1,32 @@ 11:36:17 -([]uint8) (len=395) { 11:36:17 +([]uint8) (len=474) { 11:36:17 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 11:36:17 - 00000010 33 22 2c 22 69 64 22 3a 22 62 63 63 64 66 61 65 |3","id":"bccdfae| 11:36:17 - 00000020 64 2d 64 36 32 63 2d 34 34 66 34 2d 38 39 31 38 |d-d62c-44f4-8918| 11:36:17 - 00000030 2d 38 34 30 64 37 33 64 62 62 64 38 32 22 2c 22 |-840d73dbbd82","| 11:36:17 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 11:36:17 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 11:36:17 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 11:36:17 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 |:"Thermostat","s| 11:36:17 - 00000080 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 |ourceName":"Temp| 11:36:17 - 00000090 65 72 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e |erature","origin| 11:36:17 - 000000a0 22 3a 31 37 32 34 32 34 30 31 37 36 36 37 39 30 |":17242401766790| 11:36:17 - 000000b0 33 31 32 32 36 2c 22 72 65 61 64 69 6e 67 73 22 |31226,"readings"| 11:36:17 - 000000c0 3a 5b 7b 22 69 64 22 3a 22 64 32 61 36 64 36 37 |:[{"id":"d2a6d67| 11:36:17 - 000000d0 36 2d 39 63 31 61 2d 34 37 33 30 2d 38 63 61 65 |6-9c1a-4730-8cae| 11:36:17 - 000000e0 2d 66 31 62 63 34 31 63 61 63 65 66 31 22 2c 22 |-f1bc41cacef1","| 11:36:17 - 000000f0 6f 72 69 67 69 6e 22 3a 31 37 32 34 32 34 30 31 |origin":17242401| 11:36:17 - 00000100 37 36 36 37 39 30 38 30 38 30 39 2c 22 64 65 76 |76679080809,"dev| 11:36:17 - 00000110 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 |iceName":"Family| 11:36:17 - 00000120 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c |RoomThermostat",| 11:36:17 - 00000130 22 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 |"resourceName":"| 11:36:17 - 00000140 54 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 |Temperature","pr| 11:36:17 - 00000150 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 |ofileName":"Ther| 11:36:17 - 00000160 6d 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 |mostat","valueTy| 11:36:17 - 00000170 70 65 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c |pe":"Int64","val| 11:36:17 - 00000180 75 65 22 3a 22 37 32 22 7d 5d 7d |ue":"72"}]}| 11:36:17 + 00000010 33 22 2c 22 72 65 71 75 65 73 74 49 64 22 3a 22 |3","requestId":"| 11:36:17 + 00000020 33 61 65 65 36 37 37 30 2d 63 35 33 63 2d 34 35 |3aee6770-c53c-45| 11:36:17 + 00000030 64 65 2d 61 62 62 37 2d 61 36 31 65 35 34 61 61 |de-abb7-a61e54aa| 11:36:17 + 00000040 34 30 38 33 22 2c 22 65 76 65 6e 74 22 3a 7b 22 |4083","event":{"| 11:36:17 + 00000050 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 33 22 |apiVersion":"v3"| 11:36:17 + 00000060 2c 22 69 64 22 3a 22 62 63 63 64 66 61 65 64 2d |,"id":"bccdfaed-| 11:36:17 + 00000070 64 36 32 63 2d 34 34 66 34 2d 38 39 31 38 2d 38 |d62c-44f4-8918-8| 11:36:17 + 00000080 34 30 64 37 33 64 62 62 64 38 32 22 2c 22 64 65 |40d73dbbd82","de| 11:36:17 + 00000090 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c |viceName":"Famil| 11:36:17 + 000000a0 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 |yRoomThermostat"| 11:36:17 + 000000b0 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 |,"profileName":"| 11:36:17 + 000000c0 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 6f 75 |Thermostat","sou| 11:36:17 + 000000d0 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 65 72 |rceName":"Temper| 11:36:17 + 000000e0 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e 22 3a |ature","origin":| 11:36:17 + 000000f0 31 37 32 34 32 34 30 31 37 36 36 37 39 30 33 31 |1724240176679031| 11:36:17 + 00000100 32 32 36 2c 22 72 65 61 64 69 6e 67 73 22 3a 5b |226,"readings":[| 11:36:17 + 00000110 7b 22 69 64 22 3a 22 64 32 61 36 64 36 37 36 2d |{"id":"d2a6d676-| 11:36:17 + 00000120 39 63 31 61 2d 34 37 33 30 2d 38 63 61 65 2d 66 |9c1a-4730-8cae-f| 11:36:17 + 00000130 31 62 63 34 31 63 61 63 65 66 31 22 2c 22 6f 72 |1bc41cacef1","or| 11:36:17 + 00000140 69 67 69 6e 22 3a 31 37 32 34 32 34 30 31 37 36 |igin":1724240176| 11:36:17 + 00000150 36 37 39 30 38 30 38 30 39 2c 22 64 65 76 69 63 |679080809,"devic| 11:36:17 + 00000160 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 6f |eName":"FamilyRo| 11:36:17 + 00000170 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 72 |omThermostat","r| 11:36:17 + 00000180 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 |esourceName":"Te| 11:36:17 + 00000190 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f 66 |mperature","prof| 11:36:17 + 000001a0 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d 6f |ileName":"Thermo| 11:36:17 + 000001b0 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 65 |stat","valueType| 11:36:17 + 000001c0 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c 75 65 |":"Int64","value| 11:36:17 + 000001d0 22 3a 22 37 32 22 7d 5d 7d 7d |":"72"}]}}| 11:36:17 } 11:36:17 Test: TestDecode_Process_MessageTargetType/JSON_default_Target_Type 11:36:17 Messages: 'JSON default Target Type' test failed 11:36:17 runtime_test.go:283: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 11:36:17 /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:466 11:36:17 Error: Should be true 11:36:17 Test: TestDecode_Process_MessageTargetType/JSON_default_Target_Type 11:36:17 --- FAIL: TestDecode_Process_MessageTargetType/CBOR_default_Target_Type (0.01s) 11:36:17 runtime_test.go:462: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:462 11:36:17 Error: Not equal: 11:36:17 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x33, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x62, 0x63, 0x63, 0x64, 0x66, 0x61, 0x65, 0x64, 0x2d, 0x64, 0x36, 0x32, 0x63, 0x2d, 0x34, 0x34, 0x66, 0x34, 0x2d, 0x38, 0x39, 0x31, 0x38, 0x2d, 0x38, 0x34, 0x30, 0x64, 0x37, 0x33, 0x64, 0x62, 0x62, 0x64, 0x38, 0x32, 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, 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, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x34, 0x30, 0x31, 0x37, 0x36, 0x36, 0x37, 0x39, 0x30, 0x33, 0x31, 0x32, 0x32, 0x36, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x64, 0x32, 0x61, 0x36, 0x64, 0x36, 0x37, 0x36, 0x2d, 0x39, 0x63, 0x31, 0x61, 0x2d, 0x34, 0x37, 0x33, 0x30, 0x2d, 0x38, 0x63, 0x61, 0x65, 0x2d, 0x66, 0x31, 0x62, 0x63, 0x34, 0x31, 0x63, 0x61, 0x63, 0x65, 0x66, 0x31, 0x22, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x34, 0x30, 0x31, 0x37, 0x36, 0x36, 0x37, 0x39, 0x30, 0x38, 0x30, 0x38, 0x30, 0x39, 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, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 11:36:17 actual : []byte{0xa3, 0x6a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x76, 0x33, 0x69, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x78, 0x24, 0x33, 0x61, 0x65, 0x65, 0x36, 0x37, 0x37, 0x30, 0x2d, 0x63, 0x35, 0x33, 0x63, 0x2d, 0x34, 0x35, 0x64, 0x65, 0x2d, 0x61, 0x62, 0x62, 0x37, 0x2d, 0x61, 0x36, 0x31, 0x65, 0x35, 0x34, 0x61, 0x61, 0x34, 0x30, 0x38, 0x33, 0x65, 0x65, 0x76, 0x65, 0x6e, 0x74, 0xa7, 0x6a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x76, 0x33, 0x62, 0x69, 0x64, 0x78, 0x24, 0x62, 0x63, 0x63, 0x64, 0x66, 0x61, 0x65, 0x64, 0x2d, 0x64, 0x36, 0x32, 0x63, 0x2d, 0x34, 0x34, 0x66, 0x34, 0x2d, 0x38, 0x39, 0x31, 0x38, 0x2d, 0x38, 0x34, 0x30, 0x64, 0x37, 0x33, 0x64, 0x62, 0x62, 0x64, 0x38, 0x32, 0x6a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x74, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x6b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6a, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x6a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x66, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x1b, 0x17, 0xed, 0xbb, 0x4e, 0x26, 0x69, 0x11, 0xba, 0x68, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x81, 0xa7, 0x62, 0x69, 0x64, 0x78, 0x24, 0x64, 0x32, 0x61, 0x36, 0x64, 0x36, 0x37, 0x36, 0x2d, 0x39, 0x63, 0x31, 0x61, 0x2d, 0x34, 0x37, 0x33, 0x30, 0x2d, 0x38, 0x63, 0x61, 0x65, 0x2d, 0x66, 0x31, 0x62, 0x63, 0x34, 0x31, 0x63, 0x61, 0x63, 0x65, 0x66, 0x31, 0x66, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x1b, 0x17, 0xed, 0xbb, 0x4e, 0x26, 0x69, 0xd3, 0x69, 0x6a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x74, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x6c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x6b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6a, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x65, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x62, 0x37, 0x32} 11:36:17 11:36:17 Diff: 11:36:17 --- Expected 11:36:17 +++ Actual 11:36:17 @@ -1,27 +1,27 @@ 11:36:17 -([]uint8) (len=395) { 11:36:17 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 11:36:17 - 00000010 33 22 2c 22 69 64 22 3a 22 62 63 63 64 66 61 65 |3","id":"bccdfae| 11:36:17 - 00000020 64 2d 64 36 32 63 2d 34 34 66 34 2d 38 39 31 38 |d-d62c-44f4-8918| 11:36:17 - 00000030 2d 38 34 30 64 37 33 64 62 62 64 38 32 22 2c 22 |-840d73dbbd82","| 11:36:17 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 11:36:17 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 11:36:17 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 11:36:17 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 |:"Thermostat","s| 11:36:17 - 00000080 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 |ourceName":"Temp| 11:36:17 - 00000090 65 72 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e |erature","origin| 11:36:17 - 000000a0 22 3a 31 37 32 34 32 34 30 31 37 36 36 37 39 30 |":17242401766790| 11:36:17 - 000000b0 33 31 32 32 36 2c 22 72 65 61 64 69 6e 67 73 22 |31226,"readings"| 11:36:17 - 000000c0 3a 5b 7b 22 69 64 22 3a 22 64 32 61 36 64 36 37 |:[{"id":"d2a6d67| 11:36:17 - 000000d0 36 2d 39 63 31 61 2d 34 37 33 30 2d 38 63 61 65 |6-9c1a-4730-8cae| 11:36:17 - 000000e0 2d 66 31 62 63 34 31 63 61 63 65 66 31 22 2c 22 |-f1bc41cacef1","| 11:36:17 - 000000f0 6f 72 69 67 69 6e 22 3a 31 37 32 34 32 34 30 31 |origin":17242401| 11:36:17 - 00000100 37 36 36 37 39 30 38 30 38 30 39 2c 22 64 65 76 |76679080809,"dev| 11:36:17 - 00000110 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 |iceName":"Family| 11:36:17 - 00000120 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c |RoomThermostat",| 11:36:17 - 00000130 22 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 |"resourceName":"| 11:36:17 - 00000140 54 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 |Temperature","pr| 11:36:17 - 00000150 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 |ofileName":"Ther| 11:36:17 - 00000160 6d 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 |mostat","valueTy| 11:36:17 - 00000170 70 65 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c |pe":"Int64","val| 11:36:17 - 00000180 75 65 22 3a 22 37 32 22 7d 5d 7d |ue":"72"}]}| 11:36:17 +([]uint8) (len=392) { 11:36:17 + 00000000 a3 6a 61 70 69 56 65 72 73 69 6f 6e 62 76 33 69 |.japiVersionbv3i| 11:36:17 + 00000010 72 65 71 75 65 73 74 49 64 78 24 33 61 65 65 36 |requestIdx$3aee6| 11:36:17 + 00000020 37 37 30 2d 63 35 33 63 2d 34 35 64 65 2d 61 62 |770-c53c-45de-ab| 11:36:17 + 00000030 62 37 2d 61 36 31 65 35 34 61 61 34 30 38 33 65 |b7-a61e54aa4083e| 11:36:17 + 00000040 65 76 65 6e 74 a7 6a 61 70 69 56 65 72 73 69 6f |event.japiVersio| 11:36:17 + 00000050 6e 62 76 33 62 69 64 78 24 62 63 63 64 66 61 65 |nbv3bidx$bccdfae| 11:36:17 + 00000060 64 2d 64 36 32 63 2d 34 34 66 34 2d 38 39 31 38 |d-d62c-44f4-8918| 11:36:17 + 00000070 2d 38 34 30 64 37 33 64 62 62 64 38 32 6a 64 65 |-840d73dbbd82jde| 11:36:17 + 00000080 76 69 63 65 4e 61 6d 65 74 46 61 6d 69 6c 79 52 |viceNametFamilyR| 11:36:17 + 00000090 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 6b 70 72 |oomThermostatkpr| 11:36:17 + 000000a0 6f 66 69 6c 65 4e 61 6d 65 6a 54 68 65 72 6d 6f |ofileNamejThermo| 11:36:17 + 000000b0 73 74 61 74 6a 73 6f 75 72 63 65 4e 61 6d 65 6b |statjsourceNamek| 11:36:17 + 000000c0 54 65 6d 70 65 72 61 74 75 72 65 66 6f 72 69 67 |Temperatureforig| 11:36:17 + 000000d0 69 6e 1b 17 ed bb 4e 26 69 11 ba 68 72 65 61 64 |in....N&i..hread| 11:36:17 + 000000e0 69 6e 67 73 81 a7 62 69 64 78 24 64 32 61 36 64 |ings..bidx$d2a6d| 11:36:17 + 000000f0 36 37 36 2d 39 63 31 61 2d 34 37 33 30 2d 38 63 |676-9c1a-4730-8c| 11:36:17 + 00000100 61 65 2d 66 31 62 63 34 31 63 61 63 65 66 31 66 |ae-f1bc41cacef1f| 11:36:17 + 00000110 6f 72 69 67 69 6e 1b 17 ed bb 4e 26 69 d3 69 6a |origin....N&i.ij| 11:36:17 + 00000120 64 65 76 69 63 65 4e 61 6d 65 74 46 61 6d 69 6c |deviceNametFamil| 11:36:17 + 00000130 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 6c |yRoomThermostatl| 11:36:17 + 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 6b 54 65 6d |resourceNamekTem| 11:36:17 + 00000150 70 65 72 61 74 75 72 65 6b 70 72 6f 66 69 6c 65 |peraturekprofile| 11:36:17 + 00000160 4e 61 6d 65 6a 54 68 65 72 6d 6f 73 74 61 74 69 |NamejThermostati| 11:36:17 + 00000170 76 61 6c 75 65 54 79 70 65 65 49 6e 74 36 34 65 |valueTypeeInt64e| 11:36:17 + 00000180 76 61 6c 75 65 62 37 32 |valueb72| 11:36:17 } 11:36:17 Test: TestDecode_Process_MessageTargetType/CBOR_default_Target_Type 11:36:17 Messages: 'CBOR default Target Type' test failed 11:36:17 runtime_test.go:283: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 11:36:17 /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:466 11:36:17 Error: Should be true 11:36:17 Test: TestDecode_Process_MessageTargetType/CBOR_default_Target_Type 11:36:17 --- FAIL: TestDecode_Process_MessageTargetType/JSON_Event_Event_DTO (0.00s) 11:36:17 runtime_test.go:283: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 11:36:17 /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:468 11:36:17 Error: Should be true 11:36:17 Test: TestDecode_Process_MessageTargetType/JSON_Event_Event_DTO 11:36:17 --- FAIL: TestDecode_Process_MessageTargetType/CBOR_Event_Event_DTO (0.02s) 11:36:17 runtime_test.go:462: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:462 11:36:17 Error: Not equal: 11:36:17 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x33, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x62, 0x63, 0x63, 0x64, 0x66, 0x61, 0x65, 0x64, 0x2d, 0x64, 0x36, 0x32, 0x63, 0x2d, 0x34, 0x34, 0x66, 0x34, 0x2d, 0x38, 0x39, 0x31, 0x38, 0x2d, 0x38, 0x34, 0x30, 0x64, 0x37, 0x33, 0x64, 0x62, 0x62, 0x64, 0x38, 0x32, 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, 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, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x34, 0x30, 0x31, 0x37, 0x36, 0x36, 0x37, 0x39, 0x30, 0x33, 0x31, 0x32, 0x32, 0x36, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x64, 0x32, 0x61, 0x36, 0x64, 0x36, 0x37, 0x36, 0x2d, 0x39, 0x63, 0x31, 0x61, 0x2d, 0x34, 0x37, 0x33, 0x30, 0x2d, 0x38, 0x63, 0x61, 0x65, 0x2d, 0x66, 0x31, 0x62, 0x63, 0x34, 0x31, 0x63, 0x61, 0x63, 0x65, 0x66, 0x31, 0x22, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x37, 0x32, 0x34, 0x32, 0x34, 0x30, 0x31, 0x37, 0x36, 0x36, 0x37, 0x39, 0x30, 0x38, 0x30, 0x38, 0x30, 0x39, 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, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 11:36:17 actual : []byte{0xa7, 0x6a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x76, 0x33, 0x62, 0x69, 0x64, 0x78, 0x24, 0x62, 0x63, 0x63, 0x64, 0x66, 0x61, 0x65, 0x64, 0x2d, 0x64, 0x36, 0x32, 0x63, 0x2d, 0x34, 0x34, 0x66, 0x34, 0x2d, 0x38, 0x39, 0x31, 0x38, 0x2d, 0x38, 0x34, 0x30, 0x64, 0x37, 0x33, 0x64, 0x62, 0x62, 0x64, 0x38, 0x32, 0x6a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x74, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x6b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6a, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x6a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x66, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x1b, 0x17, 0xed, 0xbb, 0x4e, 0x26, 0x69, 0x11, 0xba, 0x68, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x81, 0xa7, 0x62, 0x69, 0x64, 0x78, 0x24, 0x64, 0x32, 0x61, 0x36, 0x64, 0x36, 0x37, 0x36, 0x2d, 0x39, 0x63, 0x31, 0x61, 0x2d, 0x34, 0x37, 0x33, 0x30, 0x2d, 0x38, 0x63, 0x61, 0x65, 0x2d, 0x66, 0x31, 0x62, 0x63, 0x34, 0x31, 0x63, 0x61, 0x63, 0x65, 0x66, 0x31, 0x66, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x1b, 0x17, 0xed, 0xbb, 0x4e, 0x26, 0x69, 0xd3, 0x69, 0x6a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x74, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x6c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x6b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x6a, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x65, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x62, 0x37, 0x32} 11:36:17 11:36:17 Diff: 11:36:17 --- Expected 11:36:17 +++ Actual 11:36:17 @@ -1,27 +1,23 @@ 11:36:17 -([]uint8) (len=395) { 11:36:17 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 11:36:17 - 00000010 33 22 2c 22 69 64 22 3a 22 62 63 63 64 66 61 65 |3","id":"bccdfae| 11:36:17 - 00000020 64 2d 64 36 32 63 2d 34 34 66 34 2d 38 39 31 38 |d-d62c-44f4-8918| 11:36:17 - 00000030 2d 38 34 30 64 37 33 64 62 62 64 38 32 22 2c 22 |-840d73dbbd82","| 11:36:17 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 11:36:17 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 11:36:17 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 11:36:17 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 |:"Thermostat","s| 11:36:17 - 00000080 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 |ourceName":"Temp| 11:36:17 - 00000090 65 72 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e |erature","origin| 11:36:17 - 000000a0 22 3a 31 37 32 34 32 34 30 31 37 36 36 37 39 30 |":17242401766790| 11:36:17 - 000000b0 33 31 32 32 36 2c 22 72 65 61 64 69 6e 67 73 22 |31226,"readings"| 11:36:17 - 000000c0 3a 5b 7b 22 69 64 22 3a 22 64 32 61 36 64 36 37 |:[{"id":"d2a6d67| 11:36:17 - 000000d0 36 2d 39 63 31 61 2d 34 37 33 30 2d 38 63 61 65 |6-9c1a-4730-8cae| 11:36:17 - 000000e0 2d 66 31 62 63 34 31 63 61 63 65 66 31 22 2c 22 |-f1bc41cacef1","| 11:36:17 - 000000f0 6f 72 69 67 69 6e 22 3a 31 37 32 34 32 34 30 31 |origin":17242401| 11:36:17 - 00000100 37 36 36 37 39 30 38 30 38 30 39 2c 22 64 65 76 |76679080809,"dev| 11:36:17 - 00000110 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 |iceName":"Family| 11:36:17 - 00000120 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c |RoomThermostat",| 11:36:17 - 00000130 22 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 |"resourceName":"| 11:36:17 - 00000140 54 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 |Temperature","pr| 11:36:17 - 00000150 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 |ofileName":"Ther| 11:36:17 - 00000160 6d 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 |mostat","valueTy| 11:36:17 - 00000170 70 65 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c |pe":"Int64","val| 11:36:17 - 00000180 75 65 22 3a 22 37 32 22 7d 5d 7d |ue":"72"}]}| 11:36:17 +([]uint8) (len=323) { 11:36:17 + 00000000 a7 6a 61 70 69 56 65 72 73 69 6f 6e 62 76 33 62 |.japiVersionbv3b| 11:36:17 + 00000010 69 64 78 24 62 63 63 64 66 61 65 64 2d 64 36 32 |idx$bccdfaed-d62| 11:36:17 + 00000020 63 2d 34 34 66 34 2d 38 39 31 38 2d 38 34 30 64 |c-44f4-8918-840d| 11:36:17 + 00000030 37 33 64 62 62 64 38 32 6a 64 65 76 69 63 65 4e |73dbbd82jdeviceN| 11:36:17 + 00000040 61 6d 65 74 46 61 6d 69 6c 79 52 6f 6f 6d 54 68 |ametFamilyRoomTh| 11:36:17 + 00000050 65 72 6d 6f 73 74 61 74 6b 70 72 6f 66 69 6c 65 |ermostatkprofile| 11:36:17 + 00000060 4e 61 6d 65 6a 54 68 65 72 6d 6f 73 74 61 74 6a |NamejThermostatj| 11:36:17 + 00000070 73 6f 75 72 63 65 4e 61 6d 65 6b 54 65 6d 70 65 |sourceNamekTempe| 11:36:17 + 00000080 72 61 74 75 72 65 66 6f 72 69 67 69 6e 1b 17 ed |ratureforigin...| 11:36:17 + 00000090 bb 4e 26 69 11 ba 68 72 65 61 64 69 6e 67 73 81 |.N&i..hreadings.| 11:36:17 + 000000a0 a7 62 69 64 78 24 64 32 61 36 64 36 37 36 2d 39 |.bidx$d2a6d676-9| 11:36:17 + 000000b0 63 31 61 2d 34 37 33 30 2d 38 63 61 65 2d 66 31 |c1a-4730-8cae-f1| 11:36:17 + 000000c0 62 63 34 31 63 61 63 65 66 31 66 6f 72 69 67 69 |bc41cacef1forigi| 11:36:17 + 000000d0 6e 1b 17 ed bb 4e 26 69 d3 69 6a 64 65 76 69 63 |n....N&i.ijdevic| 11:36:17 + 000000e0 65 4e 61 6d 65 74 46 61 6d 69 6c 79 52 6f 6f 6d |eNametFamilyRoom| 11:36:17 + 000000f0 54 68 65 72 6d 6f 73 74 61 74 6c 72 65 73 6f 75 |Thermostatlresou| 11:36:17 + 00000100 72 63 65 4e 61 6d 65 6b 54 65 6d 70 65 72 61 74 |rceNamekTemperat| 11:36:17 + 00000110 75 72 65 6b 70 72 6f 66 69 6c 65 4e 61 6d 65 6a |urekprofileNamej| 11:36:17 + 00000120 54 68 65 72 6d 6f 73 74 61 74 69 76 61 6c 75 65 |Thermostativalue| 11:36:17 + 00000130 54 79 70 65 65 49 6e 74 36 34 65 76 61 6c 75 65 |TypeeInt64evalue| 11:36:17 + 00000140 62 37 32 |b72| 11:36:17 } 11:36:17 Test: TestDecode_Process_MessageTargetType/CBOR_Event_Event_DTO 11:36:17 Messages: 'CBOR Event Event DTO' test failed 11:36:17 runtime_test.go:283: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 11:36:17 /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:468 11:36:17 Error: Should be true 11:36:17 Test: TestDecode_Process_MessageTargetType/CBOR_Event_Event_DTO 11:36:17 --- FAIL: TestGolangRuntime_processEventPayload (0.02s) 11:36:17 --- FAIL: TestGolangRuntime_processEventPayload/invalid_JSON (0.00s) 11:36:17 runtime_test.go:543: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:543 11:36:17 Error: An error is expected but got nil. 11:36:17 Test: TestGolangRuntime_processEventPayload/invalid_JSON 11:36:17 --- FAIL: TestGolangRuntime_processEventPayload/invalid_CBOR (0.00s) 11:36:17 runtime_test.go:543: 11:36:17 Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:543 11:36:17 Error: An error is expected but got nil. 11:36:17 Test: TestGolangRuntime_processEventPayload/invalid_CBOR 11:36:17 FAIL 11:36:17 coverage: 76.9% of statements 11:36:17 FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.542s 11:36:18 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 11:36:19 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.252s coverage: 97.3% of statements 11:36:21 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 11:36:21 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 11:36:22 # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt.test] 11:36:22 internal/trigger/mqtt/mqtt_test.go:120:5: unknown field mqttClient in struct literal of type Trigger 11:36:22 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 11:36:22 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.285s coverage: 82.8% of statements 11:36:23 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.277s coverage: 65.1% of statements 11:36:23 FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [build failed] 11:36:27 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 11:36:27 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:36:27 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.217s coverage: 17.2% of statements 11:36:27 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.227s coverage: 27.3% of statements 11:36:32 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.271s coverage: 52.8% of statements 11:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.546s coverage: 75.5% of statements 11:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.188s coverage: 94.4% of statements 11:37:04 FAIL 11:37:04 make: *** [Makefile:43: test-sdk] Error 1 [Pipeline] } 11:37:04 $ docker stop --time=1 532467a1ff19bf48dde30c15ffd9043fac6043f76c58e768ca8fe0bef06c34f4 11:37:06 $ docker rm -f --volumes 532467a1ff19bf48dde30c15ffd9043fac6043f76c58e768ca8fe0bef06c34f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:37:10 11:37:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:37:11 arm64: Pulling from edgex-lftools-log-publisher 11:37:11 8998bd30e6a1: Pulling fs layer 11:37:11 04944245beec: Pulling fs layer 11:37:11 699f458cf7ca: Pulling fs layer 11:37:11 765212b225bb: Pulling fs layer 11:37:11 f23df028b6ca: Pulling fs layer 11:37:11 d65c8cfc05b1: Pulling fs layer 11:37:11 2437ff75d9bd: Pulling fs layer 11:37:11 f23df028b6ca: Waiting 11:37:11 d65c8cfc05b1: Waiting 11:37:11 2437ff75d9bd: Waiting 11:37:11 765212b225bb: Waiting 11:37:11 04944245beec: Verifying Checksum 11:37:11 04944245beec: Download complete 11:37:11 765212b225bb: Verifying Checksum 11:37:11 765212b225bb: Download complete 11:37:11 f23df028b6ca: Verifying Checksum 11:37:11 f23df028b6ca: Download complete 11:37:11 d65c8cfc05b1: Verifying Checksum 11:37:11 d65c8cfc05b1: Download complete 11:37:11 699f458cf7ca: Verifying Checksum 11:37:11 699f458cf7ca: Download complete 11:37:12 8998bd30e6a1: Verifying Checksum 11:37:12 8998bd30e6a1: Download complete 11:37:14 2437ff75d9bd: Verifying Checksum 11:37:14 2437ff75d9bd: Download complete 11:37:16 8998bd30e6a1: Pull complete 11:37:17 04944245beec: Pull complete 11:37:18 699f458cf7ca: Pull complete 11:37:19 765212b225bb: Pull complete 11:37:20 f23df028b6ca: Pull complete 11:37:20 d65c8cfc05b1: Pull complete 11:37:38 2437ff75d9bd: Pull complete 11:37:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:37:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:37:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:37:38 prd-ubuntu20.04-docker-arm64-4c-16g-8101 does not seem to be running inside a container 11:37:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:37:40 $ docker top 35bf7c118b6a212a139e5112392ecbfd5fbe6eb82c2aa1b27bc7c9b16e8310d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:37:41 ---> job-cost.sh 11:37:41 lf-activate-venv: SKIPPING 11:37:41 INFO: No Stack... 11:37:41 INFO: Retrieving Pricing Info for: v3-standard-4 11:37:42 INFO: Archiving Costs [Pipeline] sh 11:37:42 + cat /w/workspace/app-functions-sdk-go/5/archives/cost.csv 11:37:42 + cut -d, -f6 [Pipeline] lock 11:37:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] 11:37:42 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] did not exist. Created. 11:37:42 Lock acquired on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:37:43 /w/workspace/app-functions-sdk-go/5@tmp/durable-9f4fe147/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:37:44 + echo total: 0.10999999940395355 [Pipeline] stash 11:37:44 Warning: overwriting stash ‘stack-cost’ 11:37:45 Stashed 1 file(s) [Pipeline] } 11:37:45 Lock released on resource [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] [Pipeline] // lock [Pipeline] } 11:37:45 $ docker stop --time=1 35bf7c118b6a212a139e5112392ecbfd5fbe6eb82c2aa1b27bc7c9b16e8310d1 11:37:46 $ docker rm -f --volumes 35bf7c118b6a212a139e5112392ecbfd5fbe6eb82c2aa1b27bc7c9b16e8310d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:37:47 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:37:48 + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1601/archives ] 11:37:48 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1601/archives 11:37:48 total 16 11:37:48 drwxr-xr-x 3 root root 4096 Aug 21 11:26 . 11:37:48 drwxrwxr-x 11 jenkins jenkins 4096 Aug 21 11:26 .. 11:37:48 drwxr-xr-x 2 root root 4096 Aug 21 11:26 cost 11:37:48 -rw-r--r-- 1 root root 93 Aug 21 11:26 cost.csv 11:37:48 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1601/archives 11:37:48 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1601/archives 11:37:48 total 16 11:37:48 drwxr-xr-x 3 jenkins jenkins 4096 Aug 21 11:26 . 11:37:48 drwxrwxr-x 11 jenkins jenkins 4096 Aug 21 11:26 .. 11:37:48 drwxr-xr-x 2 jenkins jenkins 4096 Aug 21 11:26 cost 11:37:48 -rw-r--r-- 1 jenkins jenkins 93 Aug 21 11:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:37:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:37:49 ---> package-listing.sh 11:37:49 ++ facter osfamily 11:37:49 ++ tr '[:upper:]' '[:lower:]' 11:37:49 + OS_FAMILY=debian 11:37:49 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1601 11:37:49 + START_PACKAGES=/tmp/packages_start.txt 11:37:49 + END_PACKAGES=/tmp/packages_end.txt 11:37:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:37:49 + PACKAGES=/tmp/packages_start.txt 11:37:49 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1601 ']' 11:37:49 + PACKAGES=/tmp/packages_end.txt 11:37:49 + case "${OS_FAMILY}" in 11:37:49 + dpkg -l 11:37:49 + grep '^ii' 11:37:49 + '[' -f /tmp/packages_start.txt ']' 11:37:49 + '[' -f /tmp/packages_end.txt ']' 11:37:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:37:49 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1601 ']' 11:37:49 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1601/archives/ 11:37:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1601/archives/ [Pipeline] echo 11:37:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1601/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:37:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:37:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:37:50 prd-ubuntu20.04-docker-8c-8g-8100 does not seem to be running inside a container 11:37:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1601/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1601 -v /w/workspace/dry_app-functions-sdk-go_PR-1601:/w/workspace/dry_app-functions-sdk-go_PR-1601:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1601@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1601@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:37:52 $ docker top 42ce508746a911f3430e65d259835fc0799651d1c268b6e7afe455e5659f1e2f -eo pid,comm [Pipeline] { [Pipeline] sh 11:37:53 + touch /tmp/pre-build-complete [Pipeline] sh 11:37:53 + mkdir -p /var/log/sysstat [Pipeline] sh 11:37:53 + ls /var/log/sa-host 11:37:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:37:53 provisioning config files... 11:37:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/config8299769051092021053tmp [Pipeline] { [Pipeline] echo 11:37:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:37:54 ---> create-netrc.sh [Pipeline] } 11:37:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:37:54 ---> python-tools-install.sh [Pipeline] echo 11:37:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:37:54 ---> sudo-logs.sh 11:37:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:37:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:37:55 ---> job-cost.sh 11:37:55 lf-activate-venv: SKIPPING 11:37:55 DEBUG: total: 0.2199999988079071 11:37:55 INFO: Retrieving Stack Cost... 11:37:55 INFO: Retrieving Pricing Info for: v3-standard-8 11:37:56 INFO: Archiving Costs [Pipeline] echo 11:37:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:37:56 ---> logs-deploy.sh 11:37:56 lf-activate-venv: SKIPPING 11:37:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1601/5 11:37:56 INFO: archiving workspace using pattern(s): 11:37:57 Archives upload complete. 11:37:57 INFO: archiving logs to Nexus