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 [2024-08-21T11:23:46.905Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-21T11:23:46.972Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-21T11:23:46.993Z] ========================================================= [2024-08-21T11:23:46.994Z] EdgeX Global Pipelines Version Info [2024-08-21T11:23:46.994Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-21T11:23:47.708Z] ------------------- [2024-08-21T11:23:47.708Z] stable info: [2024-08-21T11:23:47.708Z] ------------------- [2024-08-21T11:23:47.708Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-21T11:23:47.708Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-21T11:23:47.708Z] Message: update stable to v1.0.260 [2024-08-21T11:23:48.279Z] ------------------- [2024-08-21T11:23:48.279Z] experimental info: [2024-08-21T11:23:48.279Z] ------------------- [2024-08-21T11:23:48.279Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-21T11:23:48.279Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-21T11:23:48.279Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-21T11:23:48.364Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2024-08-21T11:23:48.386Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2024-08-21T11:23:48.407Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-21T11:23:48.430Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-21T11:23:48.449Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-21T11:23:48.471Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-21T11:23:48.489Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-21T11:23:48.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-21T11:23:48.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-21T11:23:48.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-21T11:23:48.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-21T11:23:48.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2024-08-21T11:23:48.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-21T11:23:48.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-21T11:23:48.668Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2024-08-21T11:23:48.696Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-08-21T11:23:48.719Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-21T11:23:48.744Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-21T11:23:48.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-21T11:23:48.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-21T11:23:48.814Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-21T11:23:48.841Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-08-21T11:23:48.868Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-21T11:23:48.894Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-21T11:23:48.921Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2024-08-21T11:23:48.945Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-21T11:23:48.967Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-21T11:23:48.991Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1601 [Pipeline] echo [2024-08-21T11:23:49.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1601 [Pipeline] echo [2024-08-21T11:23:49.034Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1601 [Pipeline] echo [2024-08-21T11:23:49.059Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 [Pipeline] echo [2024-08-21T11:23:49.081Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6068c3d [Pipeline] echo [2024-08-21T11:23:49.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-21T11:23:49.489Z] + git rev-list -1 --merges 6068c3deb0f25d402ae44eecb66d0a42d0b872b1~1..6068c3deb0f25d402ae44eecb66d0a42d0b872b1 [Pipeline] echo [2024-08-21T11:23:49.520Z] -----------> git rev-list -1 --merges 6068c3deb0f25d402ae44eecb66d0a42d0b872b1~1..6068c3deb0f25d402ae44eecb66d0a42d0b872b1 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 [false] [Pipeline] sh [2024-08-21T11:23:49.816Z] + git log --format=format:%s -1 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 [Pipeline] echo [2024-08-21T11:23:49.831Z] ========================================================= [2024-08-21T11:23:49.831Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-21T11:23:49.831Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-21T11:23:50.168Z] + git log --format=format:%s -1 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 [Pipeline] echo [2024-08-21T11:23:50.181Z] [semverPrep] GIT_COMMIT: 6068c3deb0f25d402ae44eecb66d0a42d0b872b1, Commit Message: fix(runtime.go): restore type of import [Pipeline] echo [2024-08-21T11:23:50.194Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-21T11:23:50.570Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-21T11:23:50.570Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-21T11:23:50.570Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-21T11:23:50.570Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-21T11:23:50.570Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-21T11:23:50.570Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-21T11:23:50.570Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-21T11:23:51.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-21T11:23:51.262Z] [2024-08-21T11:23:51.262Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-21T11:23:51.566Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-21T11:23:51.566Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-21T11:23:51.566Z] b85a868b505f: Pulling fs layer [2024-08-21T11:23:51.566Z] e2be974225ed: Pulling fs layer [2024-08-21T11:23:51.566Z] 339a4e72a1f5: Pulling fs layer [2024-08-21T11:23:51.566Z] 988bab9f4d93: Pulling fs layer [2024-08-21T11:23:51.566Z] 1469e6f7b9e6: Pulling fs layer [2024-08-21T11:23:51.566Z] eaf3925da568: Pulling fs layer [2024-08-21T11:23:51.566Z] bab4dde63d76: Pulling fs layer [2024-08-21T11:23:51.566Z] bde34c3a00c8: Pulling fs layer [2024-08-21T11:23:51.566Z] b352a97aabf1: Pulling fs layer [2024-08-21T11:23:51.566Z] 4872d77fe225: Pulling fs layer [2024-08-21T11:23:51.566Z] 5851b861e8e6: Pulling fs layer [2024-08-21T11:23:51.566Z] 4872d77fe225: Waiting [2024-08-21T11:23:51.566Z] bab4dde63d76: Waiting [2024-08-21T11:23:51.566Z] 1469e6f7b9e6: Waiting [2024-08-21T11:23:51.566Z] bde34c3a00c8: Waiting [2024-08-21T11:23:51.566Z] b352a97aabf1: Waiting [2024-08-21T11:23:51.566Z] eaf3925da568: Waiting [2024-08-21T11:23:51.566Z] 5851b861e8e6: Waiting [2024-08-21T11:23:51.566Z] 988bab9f4d93: Waiting [2024-08-21T11:23:51.566Z] e2be974225ed: Download complete [2024-08-21T11:23:51.844Z] 988bab9f4d93: Verifying Checksum [2024-08-21T11:23:51.844Z] 988bab9f4d93: Download complete [2024-08-21T11:23:51.844Z] 339a4e72a1f5: Verifying Checksum [2024-08-21T11:23:51.844Z] 339a4e72a1f5: Download complete [2024-08-21T11:23:51.844Z] 1469e6f7b9e6: Verifying Checksum [2024-08-21T11:23:51.844Z] 1469e6f7b9e6: Download complete [2024-08-21T11:23:51.844Z] eaf3925da568: Verifying Checksum [2024-08-21T11:23:51.844Z] eaf3925da568: Download complete [2024-08-21T11:23:51.844Z] bde34c3a00c8: Verifying Checksum [2024-08-21T11:23:51.844Z] bde34c3a00c8: Download complete [2024-08-21T11:23:51.844Z] b352a97aabf1: Download complete [2024-08-21T11:23:51.844Z] 4872d77fe225: Verifying Checksum [2024-08-21T11:23:51.844Z] 4872d77fe225: Download complete [2024-08-21T11:23:51.844Z] 5851b861e8e6: Verifying Checksum [2024-08-21T11:23:51.844Z] 5851b861e8e6: Download complete [2024-08-21T11:23:51.844Z] b85a868b505f: Verifying Checksum [2024-08-21T11:23:51.844Z] b85a868b505f: Download complete [2024-08-21T11:23:52.103Z] bab4dde63d76: Verifying Checksum [2024-08-21T11:23:52.103Z] bab4dde63d76: Download complete [2024-08-21T11:23:53.488Z] b85a868b505f: Pull complete [2024-08-21T11:23:53.488Z] e2be974225ed: Pull complete [2024-08-21T11:23:53.749Z] 339a4e72a1f5: Pull complete [2024-08-21T11:23:54.011Z] 988bab9f4d93: Pull complete [2024-08-21T11:23:54.272Z] 1469e6f7b9e6: Pull complete [2024-08-21T11:23:54.272Z] eaf3925da568: Pull complete [2024-08-21T11:23:56.176Z] bab4dde63d76: Pull complete [2024-08-21T11:23:56.176Z] bde34c3a00c8: Pull complete [2024-08-21T11:23:56.176Z] b352a97aabf1: Pull complete [2024-08-21T11:23:56.176Z] 4872d77fe225: Pull complete [2024-08-21T11:23:56.436Z] 5851b861e8e6: Pull complete [2024-08-21T11:23:56.436Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-21T11:23:56.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-21T11:23:56.436Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T11:23:56.580Z] prd-ubuntu20.04-docker-8c-8g-8100 does not seem to be running inside a container [2024-08-21T11:23:56.689Z] $ 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 [2024-08-21T11:24:01.113Z] $ docker top 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec -eo pid,comm [2024-08-21T11:24:01.174Z] 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). [2024-08-21T11:24:01.174Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-21T11:24:01.234Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-21T11:24:01.234Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-21T11:24:01.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-21T11:24:01.396Z] $ docker exec 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec ssh-agent [2024-08-21T11:24:01.511Z] SSH_AUTH_SOCK=/tmp/ssh-7JeuSTm4CVfv/agent.13 [2024-08-21T11:24:01.512Z] SSH_AGENT_PID=19 [2024-08-21T11:24:01.518Z] Running ssh-add (command line suppressed) [2024-08-21T11:24:01.666Z] 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) [2024-08-21T11:24:01.651Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-21T11:24:01.951Z] + git tag --points-at HEAD [Pipeline] } [2024-08-21T11:24:01.995Z] $ docker exec --env ******** --env ******** 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec ssh-agent -k [2024-08-21T11:24:02.093Z] unset SSH_AUTH_SOCK; [2024-08-21T11:24:02.093Z] unset SSH_AGENT_PID; [2024-08-21T11:24:02.094Z] echo Agent pid 19 killed; [2024-08-21T11:24:02.074Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-21T11:24:02.114Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-21T11:24:02.114Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-21T11:24:02.232Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-21T11:24:02.263Z] $ docker exec 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec ssh-agent [2024-08-21T11:24:02.337Z] SSH_AUTH_SOCK=/tmp/ssh-gTJiYIlVMdFd/agent.72 [2024-08-21T11:24:02.337Z] SSH_AGENT_PID=78 [2024-08-21T11:24:02.341Z] Running ssh-add (command line suppressed) [2024-08-21T11:24:02.475Z] 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) [2024-08-21T11:24:02.461Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-21T11:24:02.746Z] + git semver init [2024-08-21T11:24:03.017Z] 2024-08-21 11:24:02,965 [run_init] DEBUG init version:0.0.0 force:False [2024-08-21T11:24:03.017Z] 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 [2024-08-21T11:24:03.017Z] 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 [2024-08-21T11:24:03.017Z] 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) [2024-08-21T11:24:04.923Z] 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 [2024-08-21T11:24:04.923Z] 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 [2024-08-21T11:24:04.923Z] 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 [2024-08-21T11:24:04.923Z] 2024-08-21 11:24:04,899 [execute] INFO git cat-file --batch-check [2024-08-21T11:24:04.923Z] 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=) [2024-08-21T11:24:04.923Z] 2024-08-21 11:24:04,906 [execute] INFO git cat-file --batch [2024-08-21T11:24:04.923Z] 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=) [2024-08-21T11:24:04.923Z] 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 [2024-08-21T11:24:04.923Z] 0.0.0 [Pipeline] } [2024-08-21T11:24:04.947Z] $ docker exec --env ******** --env ******** 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec ssh-agent -k [2024-08-21T11:24:05.061Z] unset SSH_AUTH_SOCK; [2024-08-21T11:24:05.062Z] unset SSH_AGENT_PID; [2024-08-21T11:24:05.062Z] echo Agent pid 78 killed; [2024-08-21T11:24:05.054Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-21T11:24:05.381Z] + git semver [Pipeline] } [2024-08-21T11:24:05.666Z] $ docker stop --time=1 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec [2024-08-21T11:24:06.963Z] $ docker rm -f --volumes 7ead58006b228987cb66a8d4333229c9a1e52d697b6ba4ee85f171f1cf2ea9ec [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-21T11:24:07.323Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-21T11:24:07.553Z] Stashed 1 file(s) [Pipeline] echo [2024-08-21T11:24:07.558Z] [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 [2024-08-21T11:24:07.767Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-08-21T11:24:08.532Z] + grep ^go [0-9].[0-9]* go.mod [2024-08-21T11:24:08.532Z] + cut -d -f 2 [Pipeline] echo [2024-08-21T11:24:08.552Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-21T11:24:08.575Z] ========================================================= [2024-08-21T11:24:08.575Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-08-21T11:24:08.575Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2024-08-21T11:24:08.893Z] + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-08-21T11:24:08.893Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-08-21T11:24:08.893Z] 619be1103602: Pulling fs layer [2024-08-21T11:24:08.893Z] 7862e08f4a3e: Pulling fs layer [2024-08-21T11:24:08.893Z] 5df492c9dc93: Pulling fs layer [2024-08-21T11:24:08.893Z] 7629e6793208: Pulling fs layer [2024-08-21T11:24:08.893Z] 4f4fb700ef54: Pulling fs layer [2024-08-21T11:24:08.893Z] 8de7f028bff5: Pulling fs layer [2024-08-21T11:24:08.893Z] 44042ff1420b: Pulling fs layer [2024-08-21T11:24:08.893Z] 5cdaf54b7214: Pulling fs layer [2024-08-21T11:24:08.893Z] 38f3e5a9071a: Pulling fs layer [2024-08-21T11:24:08.893Z] 7629e6793208: Waiting [2024-08-21T11:24:08.893Z] 4f4fb700ef54: Waiting [2024-08-21T11:24:08.893Z] 8de7f028bff5: Waiting [2024-08-21T11:24:08.893Z] 44042ff1420b: Waiting [2024-08-21T11:24:08.893Z] 5cdaf54b7214: Waiting [2024-08-21T11:24:08.893Z] 38f3e5a9071a: Waiting [2024-08-21T11:24:08.893Z] 7862e08f4a3e: Download complete [2024-08-21T11:24:08.893Z] 7629e6793208: Verifying Checksum [2024-08-21T11:24:08.893Z] 7629e6793208: Download complete [2024-08-21T11:24:08.893Z] 4f4fb700ef54: Verifying Checksum [2024-08-21T11:24:08.893Z] 4f4fb700ef54: Download complete [2024-08-21T11:24:08.893Z] 619be1103602: Verifying Checksum [2024-08-21T11:24:08.893Z] 619be1103602: Download complete [2024-08-21T11:24:08.893Z] 8de7f028bff5: Verifying Checksum [2024-08-21T11:24:08.893Z] 8de7f028bff5: Download complete [2024-08-21T11:24:08.893Z] 44042ff1420b: Verifying Checksum [2024-08-21T11:24:08.893Z] 44042ff1420b: Download complete [2024-08-21T11:24:09.153Z] 619be1103602: Pull complete [2024-08-21T11:24:09.153Z] 38f3e5a9071a: Verifying Checksum [2024-08-21T11:24:09.153Z] 38f3e5a9071a: Download complete [2024-08-21T11:24:09.153Z] 7862e08f4a3e: Pull complete [2024-08-21T11:24:09.411Z] 5df492c9dc93: Verifying Checksum [2024-08-21T11:24:09.411Z] 5df492c9dc93: Download complete [2024-08-21T11:24:09.670Z] 5cdaf54b7214: Verifying Checksum [2024-08-21T11:24:09.670Z] 5cdaf54b7214: Download complete [2024-08-21T11:24:12.959Z] 5df492c9dc93: Pull complete [2024-08-21T11:24:12.959Z] 7629e6793208: Pull complete [2024-08-21T11:24:12.959Z] 4f4fb700ef54: Pull complete [2024-08-21T11:24:12.959Z] 8de7f028bff5: Pull complete [2024-08-21T11:24:13.218Z] 44042ff1420b: Pull complete [2024-08-21T11:24:15.750Z] 5cdaf54b7214: Pull complete [2024-08-21T11:24:16.318Z] 38f3e5a9071a: Pull complete [2024-08-21T11:24:16.318Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-08-21T11:24:16.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-08-21T11:24:16.318Z] nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [Pipeline] sh [2024-08-21T11:24:16.608Z] + 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 [2024-08-21T11:24:16.916Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-21T11:24:16.916Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T11:24:16.995Z] prd-ubuntu20.04-docker-8c-8g-8100 does not seem to be running inside a container [2024-08-21T11:24:17.013Z] $ 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 [2024-08-21T11:24:22.544Z] $ docker top 8187610fbad87191052974953b1bded492d51cd3eb8ad884a462e23a93939f4d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-21T11:24:22.680Z] Still waiting to schedule task [2024-08-21T11:24:22.681Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8099’ is offline [2024-08-21T11:24:23.702Z] + go version [2024-08-21T11:24:23.702Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-21T11:24:24.713Z] $ docker stop --time=1 8187610fbad87191052974953b1bded492d51cd3eb8ad884a462e23a93939f4d [2024-08-21T11:24:26.017Z] $ 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 [2024-08-21T11:24:26.515Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-21T11:24:26.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T11:24:26.596Z] prd-ubuntu20.04-docker-8c-8g-8100 does not seem to be running inside a container [2024-08-21T11:24:26.616Z] $ 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 [2024-08-21T11:24:27.369Z] $ docker top ef1c9ecedb432adc826e4b095e478364a63704c1e1f06faea1c321a93a216221 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-21T11:24:27.736Z] + git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1601 [Pipeline] fileExists [Pipeline] sh [2024-08-21T11:24:28.063Z] + make test [2024-08-21T11:24:28.063Z] make -C ./app-service-template build [2024-08-21T11:24:28.063Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' [2024-08-21T11:24:28.063Z] go mod tidy [2024-08-21T11:24:28.063Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0 [2024-08-21T11:24:28.063Z] go: downloading github.com/labstack/echo/v4 v4.11.2 [2024-08-21T11:24:28.063Z] go: downloading github.com/stretchr/testify v1.9.0 [2024-08-21T11:24:28.063Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2024-08-21T11:24:28.328Z] go: downloading github.com/google/uuid v1.6.0 [2024-08-21T11:24:28.328Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0 [2024-08-21T11:24:28.328Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2024-08-21T11:24:28.328Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0 [2024-08-21T11:24:28.328Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0 [2024-08-21T11:24:28.328Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.2 [2024-08-21T11:24:28.897Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2024-08-21T11:24:28.897Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2024-08-21T11:24:28.897Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2024-08-21T11:24:28.897Z] go: downloading github.com/stretchr/objx v0.5.2 [2024-08-21T11:24:28.897Z] go: downloading github.com/go-kit/log v0.2.1 [2024-08-21T11:24:28.897Z] go: downloading github.com/labstack/gommon v0.4.0 [2024-08-21T11:24:29.156Z] go: downloading golang.org/x/crypto v0.23.0 [2024-08-21T11:24:29.156Z] go: downloading golang.org/x/net v0.25.0 [2024-08-21T11:24:29.156Z] go: downloading github.com/go-playground/validator/v10 v10.15.5 [2024-08-21T11:24:29.156Z] go: downloading github.com/fxamacker/cbor/v2 v2.5.0 [2024-08-21T11:24:29.156Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2024-08-21T11:24:29.156Z] go: downloading github.com/gorilla/websocket v1.5.0 [2024-08-21T11:24:29.156Z] go: downloading golang.org/x/sync v0.7.0 [2024-08-21T11:24:29.156Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0 [2024-08-21T11:24:29.156Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0 [2024-08-21T11:24:29.156Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2024-08-21T11:24:29.725Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2024-08-21T11:24:29.725Z] go: downloading github.com/mattn/go-isatty v0.0.19 [2024-08-21T11:24:29.725Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2024-08-21T11:24:29.725Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2024-08-21T11:24:29.725Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2024-08-21T11:24:29.725Z] go: downloading github.com/hashicorp/consul/api v1.25.1 [2024-08-21T11:24:29.725Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2024-08-21T11:24:29.725Z] go: downloading github.com/x448/float16 v0.8.4 [2024-08-21T11:24:29.725Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2024-08-21T11:24:29.725Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2024-08-21T11:24:29.725Z] go: downloading github.com/leodido/go-urn v1.2.4 [2024-08-21T11:24:29.725Z] go: downloading golang.org/x/text v0.15.0 [2024-08-21T11:24:29.725Z] go: downloading github.com/go-playground/locales v0.14.1 [2024-08-21T11:24:29.725Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.2.0 [2024-08-21T11:24:29.725Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2024-08-21T11:24:29.983Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2024-08-21T11:24:29.983Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2024-08-21T11:24:29.983Z] go: downloading golang.org/x/time v0.5.0 [2024-08-21T11:24:29.983Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2024-08-21T11:24:29.983Z] go: downloading golang.org/x/sys v0.20.0 [2024-08-21T11:24:30.242Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2024-08-21T11:24:30.242Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2024-08-21T11:24:30.242Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2024-08-21T11:24:30.242Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2024-08-21T11:24:30.242Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2024-08-21T11:24:30.242Z] go: downloading github.com/hashicorp/serf v0.10.1 [2024-08-21T11:24:30.242Z] go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 [2024-08-21T11:24:30.499Z] go: downloading github.com/google/go-cmp v0.6.0 [2024-08-21T11:24:30.499Z] go: downloading github.com/hashicorp/consul/sdk v0.14.1 [2024-08-21T11:24:30.500Z] go: downloading github.com/hashicorp/go-uuid v1.0.3 [2024-08-21T11:24:30.500Z] go: downloading github.com/nats-io/nats.go v1.31.0 [2024-08-21T11:24:30.500Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2024-08-21T11:24:30.500Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2024-08-21T11:24:30.500Z] go: downloading github.com/Microsoft/go-winio v0.6.1 [2024-08-21T11:24:30.500Z] go: downloading github.com/zeebo/errs v1.3.0 [2024-08-21T11:24:30.500Z] go: downloading google.golang.org/grpc v1.63.2 [2024-08-21T11:24:30.758Z] go: downloading github.com/kr/pretty v0.1.0 [2024-08-21T11:24:30.758Z] go: downloading github.com/fatih/color v1.14.1 [2024-08-21T11:24:30.758Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2024-08-21T11:24:30.758Z] go: downloading github.com/armon/go-metrics v0.4.1 [2024-08-21T11:24:30.758Z] go: downloading github.com/hashicorp/go-msgpack v0.5.5 [2024-08-21T11:24:30.758Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2024-08-21T11:24:30.758Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2024-08-21T11:24:30.758Z] go: downloading github.com/pkg/errors v0.9.1 [2024-08-21T11:24:30.758Z] go: downloading github.com/go-jose/go-jose/v4 v4.0.1 [2024-08-21T11:24:30.758Z] go: downloading google.golang.org/protobuf v1.34.1 [2024-08-21T11:24:30.758Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2024-08-21T11:24:30.758Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2024-08-21T11:24:30.758Z] go: downloading github.com/onsi/gomega v1.7.0 [2024-08-21T11:24:30.758Z] go: downloading golang.org/x/tools v0.21.0 [2024-08-21T11:24:31.016Z] go: downloading github.com/klauspost/compress v1.17.1 [2024-08-21T11:24:31.016Z] go: downloading github.com/nats-io/nkeys v0.4.6 [2024-08-21T11:24:31.016Z] go: downloading github.com/nats-io/nuid v1.0.1 [2024-08-21T11:24:31.016Z] go: downloading github.com/kr/text v0.2.0 [2024-08-21T11:24:31.016Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2024-08-21T11:24:31.016Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2024-08-21T11:24:31.016Z] go: downloading github.com/google/btree v1.0.1 [2024-08-21T11:24:31.016Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2024-08-21T11:24:31.016Z] go: downloading github.com/miekg/dns v1.1.41 [2024-08-21T11:24:31.016Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2024-08-21T11:24:31.017Z] go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240509183442-62759503f434 [2024-08-21T11:24:31.017Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2024-08-21T11:24:31.017Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2024-08-21T11:24:31.017Z] go: downloading github.com/hpcloud/tail v1.0.0 [2024-08-21T11:24:31.017Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2024-08-21T11:24:31.017Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2024-08-21T11:24:31.580Z] go: downloading golang.org/x/mod v0.17.0 [2024-08-21T11:24:31.837Z] 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 [2024-08-21T11:24:47.603Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' [2024-08-21T11:24:47.603Z] make -C ./app-service-template test [2024-08-21T11:24:47.603Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' [2024-08-21T11:24:47.603Z] go test -race -coverprofile=coverage.out ./... [2024-08-21T11:25:10.741Z] ? app-new-service/config [no test files] [2024-08-21T11:25:10.741Z] ok app-new-service 1.063s coverage: 45.9% of statements [2024-08-21T11:25:10.741Z] ok app-new-service/functions 1.049s coverage: 85.3% of statements [2024-08-21T11:25:10.741Z] go vet ./... [2024-08-21T11:25:25.668Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-21T11:25:25.668Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-21T11:25:25.668Z] ./bin/test-attribution-txt.sh [2024-08-21T11:25:25.668Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' [2024-08-21T11:25:25.668Z] go test -race -coverprofile=coverage.out ./... [2024-08-21T11:25:28.191Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.952313311Z app=test source=configurable.go:718 msg="Could not find 'profilenames' parameter for FilterByProfileName" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.952807881Z app=test source=configurable.go:718 msg="Could not find 'devicenames' parameter for FilterByDeviceName" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.953267349Z app=test source=configurable.go:718 msg="Could not find 'sourcenames' parameter for FilterBySourceName" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.953727008Z app=test source=configurable.go:718 msg="Could not find 'resourcenames' parameter for FilterByResourceName" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] 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'" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.954830221Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.954951097Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.955201703Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.955306855Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.955410036Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.955527391Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.955974226Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.95608633Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.956542618Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.95664981Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.956770866Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.956909398Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] 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`" [2024-08-21T11:25:38.356Z] 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`" [2024-08-21T11:25:38.356Z] 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`" [2024-08-21T11:25:38.356Z] 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 `:,:,:`" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.959057406Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.959484815Z app=test source=configurable.go:207 msg="Could not find profilename" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.959582605Z app=test source=configurable.go:212 msg="Could not find devicename" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.959685346Z app=test source=configurable.go:217 msg="Could not find resourcename" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.959788917Z app=test source=configurable.go:222 msg="Could not find valuetype" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.959921657Z app=test source=configurable.go:236 msg="unable to normalize the unknown value type bogus" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.960067841Z app=test source=configurable.go:251 msg="MediaType can not be empty when ValueType=Binary" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.960167431Z app=test source=configurable.go:244 msg="Could not find mediatype" [2024-08-21T11:25:38.356Z] level=ERROR ts=2024-08-21T11:25:37.960512565Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" [2024-08-21T11:25:38.356Z] 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`" [2024-08-21T11:25:38.356Z] level=INFO ts=2024-08-21T11:25:37.960940315Z app=test source=server.go:57 msg="Registering standard routes..." [2024-08-21T11:25:38.356Z] level=DEBUG ts=2024-08-21T11:25:37.961026821Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" [2024-08-21T11:25:38.356Z] level=INFO ts=2024-08-21T11:25:37.961235073Z app=test source=server.go:57 msg="Registering standard routes..." [2024-08-21T11:25:38.356Z] level=DEBUG ts=2024-08-21T11:25:37.96129136Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" [2024-08-21T11:25:38.356Z] level=INFO ts=2024-08-21T11:25:37.961473675Z app=test source=server.go:57 msg="Registering standard routes..." [2024-08-21T11:25:38.356Z] level=DEBUG ts=2024-08-21T11:25:37.961540736Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] level=INFO ts=2024-08-21T11:25:37.962684511Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] level=INFO ts=2024-08-21T11:25:37.962996475Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" [2024-08-21T11:25:38.356Z] --- FAIL: TestSetupHTTPTrigger (0.00s) [2024-08-21T11:25:38.356Z] service_test.go:289: [2024-08-21T11:25:38.356Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/service_test.go:289 [2024-08-21T11:25:38.356Z] Error: Should be true [2024-08-21T11:25:38.356Z] Test: TestSetupHTTPTrigger [2024-08-21T11:25:38.356Z] Messages: Expected Instance of HTTP Trigger [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] level=INFO ts=2024-08-21T11:25:37.963779661Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T11:25:38.356Z] 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" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] level=INFO ts=2024-08-21T11:25:37.964101608Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" [2024-08-21T11:25:38.356Z] --- FAIL: TestSetupMessageBusTrigger (0.00s) [2024-08-21T11:25:38.356Z] service_test.go:309: [2024-08-21T11:25:38.356Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/service_test.go:309 [2024-08-21T11:25:38.356Z] Error: Should be true [2024-08-21T11:25:38.356Z] Test: TestSetupMessageBusTrigger [2024-08-21T11:25:38.356Z] Messages: Expected Instance of Message Bus Trigger [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] level=INFO ts=2024-08-21T11:25:37.964892547Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T11:25:38.356Z] level=DEBUG ts=2024-08-21T11:25:37.964926597Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] level=INFO ts=2024-08-21T11:25:37.965545884Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T11:25:38.356Z] level=DEBUG ts=2024-08-21T11:25:37.965606503Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] 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)" [2024-08-21T11:25:38.356Z] level=DEBUG ts=2024-08-21T11:25:37.968371777Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" [2024-08-21T11:25:38.356Z] level=DEBUG ts=2024-08-21T11:25:37.968490943Z app=test source=service.go:329 msg="'bogus' Function Pipeline Execution Order: [Bogus]" [2024-08-21T11:25:38.356Z] level=DEBUG ts=2024-08-21T11:25:37.968627825Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" [2024-08-21T11:25:38.356Z] level=DEBUG ts=2024-08-21T11:25:37.968933247Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" [2024-08-21T11:25:38.356Z] 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']" [2024-08-21T11:25:38.356Z] 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']" [2024-08-21T11:25:38.356Z] 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: []" [2024-08-21T11:25:38.356Z] 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]" [2024-08-21T11:25:38.356Z] 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']" [2024-08-21T11:25:38.356Z] 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']" [2024-08-21T11:25:38.356Z] 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: []" [2024-08-21T11:25:38.356Z] level=DEBUG ts=2024-08-21T11:25:37.969598398Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:25:38.356Z] 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']" [2024-08-21T11:25:38.357Z] 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: []" [2024-08-21T11:25:38.357Z] level=DEBUG ts=2024-08-21T11:25:37.9698377Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:25:38.357Z] 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']" [2024-08-21T11:25:38.357Z] 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: []" [2024-08-21T11:25:38.357Z] level=DEBUG ts=2024-08-21T11:25:37.970078642Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:25:38.357Z] 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']" [2024-08-21T11:25:38.357Z] 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: []" [2024-08-21T11:25:38.357Z] level=DEBUG ts=2024-08-21T11:25:37.970327458Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:25:38.357Z] 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']" [2024-08-21T11:25:38.357Z] 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: []" [2024-08-21T11:25:38.357Z] level=DEBUG ts=2024-08-21T11:25:37.97056911Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:25:38.357Z] 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']" [2024-08-21T11:25:38.357Z] 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: []" [2024-08-21T11:25:38.357Z] level=DEBUG ts=2024-08-21T11:25:37.970829279Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:25:38.357Z] 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']" [2024-08-21T11:25:38.357Z] 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: []" [2024-08-21T11:25:38.357Z] level=DEBUG ts=2024-08-21T11:25:37.97119705Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:25:38.357Z] 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']" [2024-08-21T11:25:38.357Z] 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: []" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] --- FAIL: TestSetupTrigger_HTTP (0.00s) [2024-08-21T11:25:38.357Z] triggerfactory_test.go:112: [2024-08-21T11:25:38.357Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:112 [2024-08-21T11:25:38.357Z] Error: Object expected to be of type *http.Trigger, but was *mqtt.Trigger [2024-08-21T11:25:38.357Z] Test: TestSetupTrigger_HTTP [2024-08-21T11:25:38.357Z] Messages: should be an http trigger [2024-08-21T11:25:38.357Z] --- FAIL: TestSetupTrigger_EdgeXMessageBus (0.00s) [2024-08-21T11:25:38.357Z] triggerfactory_test.go:129: [2024-08-21T11:25:38.357Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:129 [2024-08-21T11:25:38.357Z] Error: Object expected to be of type *messagebus.Trigger, but was *mqtt.Trigger [2024-08-21T11:25:38.357Z] Test: TestSetupTrigger_EdgeXMessageBus [2024-08-21T11:25:38.357Z] Messages: should be an edgex-messagebus trigger [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] level=INFO ts=2024-08-21T11:25:37.98415551Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" [2024-08-21T11:25:38.357Z] --- FAIL: Test_Service_setupTrigger_CustomType (0.00s) [2024-08-21T11:25:38.357Z] triggerfactory_test.go:185: [2024-08-21T11:25:38.357Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:185 [2024-08-21T11:25:38.357Z] Error: Object expected to be of type *app.mockCustomTrigger, but was *mqtt.Trigger [2024-08-21T11:25:38.357Z] Test: Test_Service_setupTrigger_CustomType [2024-08-21T11:25:38.357Z] Messages: should be a custom trigger [2024-08-21T11:25:38.357Z] --- FAIL: Test_Service_SetupTrigger_CustomTypeError (0.00s) [2024-08-21T11:25:38.357Z] triggerfactory_test.go:208: [2024-08-21T11:25:38.357Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:208 [2024-08-21T11:25:38.357Z] Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc000566c30), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc0005569f0), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} [2024-08-21T11:25:38.357Z] Test: Test_Service_SetupTrigger_CustomTypeError [2024-08-21T11:25:38.357Z] Messages: should be nil [2024-08-21T11:25:38.357Z] --- FAIL: Test_Service_SetupTrigger_CustomTypeNotFound (0.00s) [2024-08-21T11:25:38.357Z] triggerfactory_test.go:226: [2024-08-21T11:25:38.357Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:226 [2024-08-21T11:25:38.357Z] Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc000566f90), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc000556d80), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} [2024-08-21T11:25:38.357Z] Test: Test_Service_SetupTrigger_CustomTypeNotFound [2024-08-21T11:25:38.357Z] Messages: should be nil [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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'" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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'" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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'" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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'" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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'" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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'" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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)" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] 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" [2024-08-21T11:25:38.357Z] FAIL [2024-08-21T11:25:38.357Z] coverage: 66.4% of statements [2024-08-21T11:25:38.357Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.097s [2024-08-21T11:25:38.357Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] [2024-08-21T11:25:39.297Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] [2024-08-21T11:25:39.297Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.050s coverage: 92.6% of statements [2024-08-21T11:25:40.406Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.061s coverage: 85.1% of statements [2024-08-21T11:25:40.407Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.024s coverage: 100.0% of statements [2024-08-21T11:25:40.665Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] [2024-08-21T11:25:40.665Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] [2024-08-21T11:25:40.665Z] --- FAIL: TestProcessMessageBusRequest (0.00s) [2024-08-21T11:25:40.665Z] runtime_test.go:80: [2024-08-21T11:25:40.665Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:80 [2024-08-21T11:25:40.665Z] Error: Expected value not to be nil. [2024-08-21T11:25:40.665Z] Test: TestProcessMessageBusRequest [2024-08-21T11:25:40.665Z] --- FAIL: TestProcessMessageOneCustomTransform (0.00s) [2024-08-21T11:25:40.665Z] runtime_test.go:283: [2024-08-21T11:25:40.665Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 [2024-08-21T11:25:40.665Z] /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:141 [2024-08-21T11:25:40.665Z] Error: Should be true [2024-08-21T11:25:40.665Z] Test: TestProcessMessageOneCustomTransform [2024-08-21T11:25:40.665Z] --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) [2024-08-21T11:25:40.665Z] runtime_test.go:283: [2024-08-21T11:25:40.665Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 [2024-08-21T11:25:40.665Z] /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:187 [2024-08-21T11:25:40.665Z] Error: Should be true [2024-08-21T11:25:40.665Z] Test: TestProcessMessageTwoCustomTransforms [2024-08-21T11:25:40.665Z] --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) [2024-08-21T11:25:40.665Z] runtime_test.go:283: [2024-08-21T11:25:40.665Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 [2024-08-21T11:25:40.665Z] /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:240 [2024-08-21T11:25:40.665Z] Error: Should be true [2024-08-21T11:25:40.665Z] Test: TestProcessMessageThreeCustomTransformsOneFail [2024-08-21T11:25:40.665Z] --- FAIL: TestDecode_Process_MessageTargetType (0.01s) [2024-08-21T11:25:40.665Z] --- FAIL: TestDecode_Process_MessageTargetType/JSON_default_Target_Type (0.00s) [2024-08-21T11:25:40.665Z] runtime_test.go:462: [2024-08-21T11:25:40.665Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:462 [2024-08-21T11:25:40.665Z] Error: Not equal: [2024-08-21T11:25:40.665Z] 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} [2024-08-21T11:25:40.665Z] 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} [2024-08-21T11:25:40.665Z] [2024-08-21T11:25:40.665Z] Diff: [2024-08-21T11:25:40.665Z] --- Expected [2024-08-21T11:25:40.665Z] +++ Actual [2024-08-21T11:25:40.665Z] @@ -1,27 +1,32 @@ [2024-08-21T11:25:40.665Z] -([]uint8) (len=395) { [2024-08-21T11:25:40.665Z] +([]uint8) (len=474) { [2024-08-21T11:25:40.665Z] 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2024-08-21T11:25:40.665Z] - 00000010 33 22 2c 22 69 64 22 3a 22 39 32 36 65 35 34 38 |3","id":"926e548| [2024-08-21T11:25:40.665Z] - 00000020 32 2d 39 33 36 61 2d 34 37 63 62 2d 61 34 38 30 |2-936a-47cb-a480| [2024-08-21T11:25:40.665Z] - 00000030 2d 35 64 33 30 66 62 30 65 38 33 36 39 22 2c 22 |-5d30fb0e8369","| [2024-08-21T11:25:40.665Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2024-08-21T11:25:40.665Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2024-08-21T11:25:40.665Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2024-08-21T11:25:40.665Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 |:"Thermostat","s| [2024-08-21T11:25:40.665Z] - 00000080 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 |ourceName":"Temp| [2024-08-21T11:25:40.665Z] - 00000090 65 72 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e |erature","origin| [2024-08-21T11:25:40.665Z] - 000000a0 22 3a 31 37 32 34 32 33 39 35 34 30 34 32 34 39 |":17242395404249| [2024-08-21T11:25:40.665Z] - 000000b0 36 37 36 31 34 2c 22 72 65 61 64 69 6e 67 73 22 |67614,"readings"| [2024-08-21T11:25:40.665Z] - 000000c0 3a 5b 7b 22 69 64 22 3a 22 65 64 32 34 35 38 38 |:[{"id":"ed24588| [2024-08-21T11:25:40.665Z] - 000000d0 63 2d 62 30 39 31 2d 34 62 33 62 2d 61 33 63 64 |c-b091-4b3b-a3cd| [2024-08-21T11:25:40.665Z] - 000000e0 2d 64 61 62 31 37 66 63 64 61 36 39 63 22 2c 22 |-dab17fcda69c","| [2024-08-21T11:25:40.665Z] - 000000f0 6f 72 69 67 69 6e 22 3a 31 37 32 34 32 33 39 35 |origin":17242395| [2024-08-21T11:25:40.665Z] - 00000100 34 30 34 32 34 39 37 39 31 35 37 2c 22 64 65 76 |40424979157,"dev| [2024-08-21T11:25:40.665Z] - 00000110 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 |iceName":"Family| [2024-08-21T11:25:40.665Z] - 00000120 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c |RoomThermostat",| [2024-08-21T11:25:40.665Z] - 00000130 22 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 |"resourceName":"| [2024-08-21T11:25:40.665Z] - 00000140 54 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 |Temperature","pr| [2024-08-21T11:25:40.665Z] - 00000150 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 |ofileName":"Ther| [2024-08-21T11:25:40.665Z] - 00000160 6d 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 |mostat","valueTy| [2024-08-21T11:25:40.665Z] - 00000170 70 65 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c |pe":"Int64","val| [2024-08-21T11:25:40.665Z] - 00000180 75 65 22 3a 22 37 32 22 7d 5d 7d |ue":"72"}]}| [2024-08-21T11:25:40.665Z] + 00000010 33 22 2c 22 72 65 71 75 65 73 74 49 64 22 3a 22 |3","requestId":"| [2024-08-21T11:25:40.665Z] + 00000020 62 30 30 62 30 65 38 30 2d 34 63 39 30 2d 34 33 |b00b0e80-4c90-43| [2024-08-21T11:25:40.665Z] + 00000030 37 38 2d 39 63 30 35 2d 65 38 63 33 37 66 61 66 |78-9c05-e8c37faf| [2024-08-21T11:25:40.665Z] + 00000040 32 32 33 61 22 2c 22 65 76 65 6e 74 22 3a 7b 22 |223a","event":{"| [2024-08-21T11:25:40.665Z] + 00000050 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 33 22 |apiVersion":"v3"| [2024-08-21T11:25:40.665Z] + 00000060 2c 22 69 64 22 3a 22 39 32 36 65 35 34 38 32 2d |,"id":"926e5482-| [2024-08-21T11:25:40.665Z] + 00000070 39 33 36 61 2d 34 37 63 62 2d 61 34 38 30 2d 35 |936a-47cb-a480-5| [2024-08-21T11:25:40.665Z] + 00000080 64 33 30 66 62 30 65 38 33 36 39 22 2c 22 64 65 |d30fb0e8369","de| [2024-08-21T11:25:40.665Z] + 00000090 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c |viceName":"Famil| [2024-08-21T11:25:40.665Z] + 000000a0 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 |yRoomThermostat"| [2024-08-21T11:25:40.665Z] + 000000b0 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 |,"profileName":"| [2024-08-21T11:25:40.666Z] + 000000c0 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 6f 75 |Thermostat","sou| [2024-08-21T11:25:40.666Z] + 000000d0 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 65 72 |rceName":"Temper| [2024-08-21T11:25:40.666Z] + 000000e0 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e 22 3a |ature","origin":| [2024-08-21T11:25:40.666Z] + 000000f0 31 37 32 34 32 33 39 35 34 30 34 32 34 39 36 37 |1724239540424967| [2024-08-21T11:25:40.666Z] + 00000100 36 31 34 2c 22 72 65 61 64 69 6e 67 73 22 3a 5b |614,"readings":[| [2024-08-21T11:25:40.666Z] + 00000110 7b 22 69 64 22 3a 22 65 64 32 34 35 38 38 63 2d |{"id":"ed24588c-| [2024-08-21T11:25:40.666Z] + 00000120 62 30 39 31 2d 34 62 33 62 2d 61 33 63 64 2d 64 |b091-4b3b-a3cd-d| [2024-08-21T11:25:40.666Z] + 00000130 61 62 31 37 66 63 64 61 36 39 63 22 2c 22 6f 72 |ab17fcda69c","or| [2024-08-21T11:25:40.666Z] + 00000140 69 67 69 6e 22 3a 31 37 32 34 32 33 39 35 34 30 |igin":1724239540| [2024-08-21T11:25:40.666Z] + 00000150 34 32 34 39 37 39 31 35 37 2c 22 64 65 76 69 63 |424979157,"devic| [2024-08-21T11:25:40.666Z] + 00000160 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 6f |eName":"FamilyRo| [2024-08-21T11:25:40.666Z] + 00000170 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 72 |omThermostat","r| [2024-08-21T11:25:40.666Z] + 00000180 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 |esourceName":"Te| [2024-08-21T11:25:40.666Z] + 00000190 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f 66 |mperature","prof| [2024-08-21T11:25:40.666Z] + 000001a0 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d 6f |ileName":"Thermo| [2024-08-21T11:25:40.666Z] + 000001b0 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 65 |stat","valueType| [2024-08-21T11:25:40.666Z] + 000001c0 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c 75 65 |":"Int64","value| [2024-08-21T11:25:40.666Z] + 000001d0 22 3a 22 37 32 22 7d 5d 7d 7d |":"72"}]}}| [2024-08-21T11:25:40.666Z] } [2024-08-21T11:25:40.666Z] Test: TestDecode_Process_MessageTargetType/JSON_default_Target_Type [2024-08-21T11:25:40.666Z] Messages: 'JSON default Target Type' test failed [2024-08-21T11:25:40.666Z] runtime_test.go:283: [2024-08-21T11:25:40.666Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 [2024-08-21T11:25:40.666Z] /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:466 [2024-08-21T11:25:40.666Z] Error: Should be true [2024-08-21T11:25:40.666Z] Test: TestDecode_Process_MessageTargetType/JSON_default_Target_Type [2024-08-21T11:25:40.666Z] --- FAIL: TestDecode_Process_MessageTargetType/CBOR_default_Target_Type (0.00s) [2024-08-21T11:25:40.666Z] runtime_test.go:462: [2024-08-21T11:25:40.666Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:462 [2024-08-21T11:25:40.666Z] Error: Not equal: [2024-08-21T11:25:40.666Z] 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} [2024-08-21T11:25:40.666Z] 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} [2024-08-21T11:25:40.666Z] [2024-08-21T11:25:40.666Z] Diff: [2024-08-21T11:25:40.666Z] --- Expected [2024-08-21T11:25:40.666Z] +++ Actual [2024-08-21T11:25:40.666Z] @@ -1,27 +1,27 @@ [2024-08-21T11:25:40.666Z] -([]uint8) (len=395) { [2024-08-21T11:25:40.666Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2024-08-21T11:25:40.666Z] - 00000010 33 22 2c 22 69 64 22 3a 22 39 32 36 65 35 34 38 |3","id":"926e548| [2024-08-21T11:25:40.666Z] - 00000020 32 2d 39 33 36 61 2d 34 37 63 62 2d 61 34 38 30 |2-936a-47cb-a480| [2024-08-21T11:25:40.666Z] - 00000030 2d 35 64 33 30 66 62 30 65 38 33 36 39 22 2c 22 |-5d30fb0e8369","| [2024-08-21T11:25:40.666Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2024-08-21T11:25:40.666Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2024-08-21T11:25:40.666Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2024-08-21T11:25:40.666Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 |:"Thermostat","s| [2024-08-21T11:25:40.666Z] - 00000080 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 |ourceName":"Temp| [2024-08-21T11:25:40.666Z] - 00000090 65 72 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e |erature","origin| [2024-08-21T11:25:40.666Z] - 000000a0 22 3a 31 37 32 34 32 33 39 35 34 30 34 32 34 39 |":17242395404249| [2024-08-21T11:25:40.666Z] - 000000b0 36 37 36 31 34 2c 22 72 65 61 64 69 6e 67 73 22 |67614,"readings"| [2024-08-21T11:25:40.666Z] - 000000c0 3a 5b 7b 22 69 64 22 3a 22 65 64 32 34 35 38 38 |:[{"id":"ed24588| [2024-08-21T11:25:40.666Z] - 000000d0 63 2d 62 30 39 31 2d 34 62 33 62 2d 61 33 63 64 |c-b091-4b3b-a3cd| [2024-08-21T11:25:40.666Z] - 000000e0 2d 64 61 62 31 37 66 63 64 61 36 39 63 22 2c 22 |-dab17fcda69c","| [2024-08-21T11:25:40.666Z] - 000000f0 6f 72 69 67 69 6e 22 3a 31 37 32 34 32 33 39 35 |origin":17242395| [2024-08-21T11:25:40.666Z] - 00000100 34 30 34 32 34 39 37 39 31 35 37 2c 22 64 65 76 |40424979157,"dev| [2024-08-21T11:25:40.666Z] - 00000110 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 |iceName":"Family| [2024-08-21T11:25:40.666Z] - 00000120 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c |RoomThermostat",| [2024-08-21T11:25:40.666Z] - 00000130 22 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 |"resourceName":"| [2024-08-21T11:25:40.666Z] - 00000140 54 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 |Temperature","pr| [2024-08-21T11:25:40.666Z] - 00000150 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 |ofileName":"Ther| [2024-08-21T11:25:40.666Z] - 00000160 6d 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 |mostat","valueTy| [2024-08-21T11:25:40.666Z] - 00000170 70 65 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c |pe":"Int64","val| [2024-08-21T11:25:40.666Z] - 00000180 75 65 22 3a 22 37 32 22 7d 5d 7d |ue":"72"}]}| [2024-08-21T11:25:40.666Z] +([]uint8) (len=392) { [2024-08-21T11:25:40.666Z] + 00000000 a3 6a 61 70 69 56 65 72 73 69 6f 6e 62 76 33 69 |.japiVersionbv3i| [2024-08-21T11:25:40.666Z] + 00000010 72 65 71 75 65 73 74 49 64 78 24 62 30 30 62 30 |requestIdx$b00b0| [2024-08-21T11:25:40.666Z] + 00000020 65 38 30 2d 34 63 39 30 2d 34 33 37 38 2d 39 63 |e80-4c90-4378-9c| [2024-08-21T11:25:40.666Z] + 00000030 30 35 2d 65 38 63 33 37 66 61 66 32 32 33 61 65 |05-e8c37faf223ae| [2024-08-21T11:25:40.666Z] + 00000040 65 76 65 6e 74 a7 6a 61 70 69 56 65 72 73 69 6f |event.japiVersio| [2024-08-21T11:25:40.666Z] + 00000050 6e 62 76 33 62 69 64 78 24 39 32 36 65 35 34 38 |nbv3bidx$926e548| [2024-08-21T11:25:40.666Z] + 00000060 32 2d 39 33 36 61 2d 34 37 63 62 2d 61 34 38 30 |2-936a-47cb-a480| [2024-08-21T11:25:40.666Z] + 00000070 2d 35 64 33 30 66 62 30 65 38 33 36 39 6a 64 65 |-5d30fb0e8369jde| [2024-08-21T11:25:40.666Z] + 00000080 76 69 63 65 4e 61 6d 65 74 46 61 6d 69 6c 79 52 |viceNametFamilyR| [2024-08-21T11:25:40.666Z] + 00000090 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 6b 70 72 |oomThermostatkpr| [2024-08-21T11:25:40.666Z] + 000000a0 6f 66 69 6c 65 4e 61 6d 65 6a 54 68 65 72 6d 6f |ofileNamejThermo| [2024-08-21T11:25:40.666Z] + 000000b0 73 74 61 74 6a 73 6f 75 72 63 65 4e 61 6d 65 6b |statjsourceNamek| [2024-08-21T11:25:40.666Z] + 000000c0 54 65 6d 70 65 72 61 74 75 72 65 66 6f 72 69 67 |Temperatureforig| [2024-08-21T11:25:40.666Z] + 000000d0 69 6e 1b 17 ed ba ba 02 b6 85 be 68 72 65 61 64 |in.........hread| [2024-08-21T11:25:40.666Z] + 000000e0 69 6e 67 73 81 a7 62 69 64 78 24 65 64 32 34 35 |ings..bidx$ed245| [2024-08-21T11:25:40.666Z] + 000000f0 38 38 63 2d 62 30 39 31 2d 34 62 33 62 2d 61 33 |88c-b091-4b3b-a3| [2024-08-21T11:25:40.666Z] + 00000100 63 64 2d 64 61 62 31 37 66 63 64 61 36 39 63 66 |cd-dab17fcda69cf| [2024-08-21T11:25:40.666Z] + 00000110 6f 72 69 67 69 6e 1b 17 ed ba ba 02 b6 b2 d5 6a |origin.........j| [2024-08-21T11:25:40.666Z] + 00000120 64 65 76 69 63 65 4e 61 6d 65 74 46 61 6d 69 6c |deviceNametFamil| [2024-08-21T11:25:40.666Z] + 00000130 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 6c |yRoomThermostatl| [2024-08-21T11:25:40.666Z] + 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 6b 54 65 6d |resourceNamekTem| [2024-08-21T11:25:40.666Z] + 00000150 70 65 72 61 74 75 72 65 6b 70 72 6f 66 69 6c 65 |peraturekprofile| [2024-08-21T11:25:40.666Z] + 00000160 4e 61 6d 65 6a 54 68 65 72 6d 6f 73 74 61 74 69 |NamejThermostati| [2024-08-21T11:25:40.666Z] + 00000170 76 61 6c 75 65 54 79 70 65 65 49 6e 74 36 34 65 |valueTypeeInt64e| [2024-08-21T11:25:40.666Z] + 00000180 76 61 6c 75 65 62 37 32 |valueb72| [2024-08-21T11:25:40.666Z] } [2024-08-21T11:25:40.666Z] Test: TestDecode_Process_MessageTargetType/CBOR_default_Target_Type [2024-08-21T11:25:40.666Z] Messages: 'CBOR default Target Type' test failed [2024-08-21T11:25:40.666Z] runtime_test.go:283: [2024-08-21T11:25:40.666Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 [2024-08-21T11:25:40.666Z] /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:466 [2024-08-21T11:25:40.666Z] Error: Should be true [2024-08-21T11:25:40.666Z] Test: TestDecode_Process_MessageTargetType/CBOR_default_Target_Type [2024-08-21T11:25:40.666Z] --- FAIL: TestDecode_Process_MessageTargetType/JSON_Event_Event_DTO (0.00s) [2024-08-21T11:25:40.666Z] runtime_test.go:283: [2024-08-21T11:25:40.666Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 [2024-08-21T11:25:40.666Z] /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:468 [2024-08-21T11:25:40.666Z] Error: Should be true [2024-08-21T11:25:40.666Z] Test: TestDecode_Process_MessageTargetType/JSON_Event_Event_DTO [2024-08-21T11:25:40.666Z] --- FAIL: TestDecode_Process_MessageTargetType/CBOR_Event_Event_DTO (0.00s) [2024-08-21T11:25:40.666Z] runtime_test.go:462: [2024-08-21T11:25:40.666Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:462 [2024-08-21T11:25:40.666Z] Error: Not equal: [2024-08-21T11:25:40.666Z] 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} [2024-08-21T11:25:40.666Z] 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} [2024-08-21T11:25:40.666Z] [2024-08-21T11:25:40.666Z] Diff: [2024-08-21T11:25:40.666Z] --- Expected [2024-08-21T11:25:40.666Z] +++ Actual [2024-08-21T11:25:40.666Z] @@ -1,27 +1,23 @@ [2024-08-21T11:25:40.666Z] -([]uint8) (len=395) { [2024-08-21T11:25:40.666Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2024-08-21T11:25:40.666Z] - 00000010 33 22 2c 22 69 64 22 3a 22 39 32 36 65 35 34 38 |3","id":"926e548| [2024-08-21T11:25:40.666Z] - 00000020 32 2d 39 33 36 61 2d 34 37 63 62 2d 61 34 38 30 |2-936a-47cb-a480| [2024-08-21T11:25:40.666Z] - 00000030 2d 35 64 33 30 66 62 30 65 38 33 36 39 22 2c 22 |-5d30fb0e8369","| [2024-08-21T11:25:40.666Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2024-08-21T11:25:40.666Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2024-08-21T11:25:40.666Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2024-08-21T11:25:40.666Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 |:"Thermostat","s| [2024-08-21T11:25:40.666Z] - 00000080 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 |ourceName":"Temp| [2024-08-21T11:25:40.667Z] - 00000090 65 72 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e |erature","origin| [2024-08-21T11:25:40.667Z] - 000000a0 22 3a 31 37 32 34 32 33 39 35 34 30 34 32 34 39 |":17242395404249| [2024-08-21T11:25:40.667Z] - 000000b0 36 37 36 31 34 2c 22 72 65 61 64 69 6e 67 73 22 |67614,"readings"| [2024-08-21T11:25:40.667Z] - 000000c0 3a 5b 7b 22 69 64 22 3a 22 65 64 32 34 35 38 38 |:[{"id":"ed24588| [2024-08-21T11:25:40.667Z] - 000000d0 63 2d 62 30 39 31 2d 34 62 33 62 2d 61 33 63 64 |c-b091-4b3b-a3cd| [2024-08-21T11:25:40.667Z] - 000000e0 2d 64 61 62 31 37 66 63 64 61 36 39 63 22 2c 22 |-dab17fcda69c","| [2024-08-21T11:25:40.667Z] - 000000f0 6f 72 69 67 69 6e 22 3a 31 37 32 34 32 33 39 35 |origin":17242395| [2024-08-21T11:25:40.667Z] - 00000100 34 30 34 32 34 39 37 39 31 35 37 2c 22 64 65 76 |40424979157,"dev| [2024-08-21T11:25:40.667Z] - 00000110 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 |iceName":"Family| [2024-08-21T11:25:40.667Z] - 00000120 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c |RoomThermostat",| [2024-08-21T11:25:40.667Z] - 00000130 22 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 |"resourceName":"| [2024-08-21T11:25:40.667Z] - 00000140 54 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 |Temperature","pr| [2024-08-21T11:25:40.667Z] - 00000150 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 |ofileName":"Ther| [2024-08-21T11:25:40.667Z] - 00000160 6d 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 |mostat","valueTy| [2024-08-21T11:25:40.667Z] - 00000170 70 65 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c |pe":"Int64","val| [2024-08-21T11:25:40.667Z] - 00000180 75 65 22 3a 22 37 32 22 7d 5d 7d |ue":"72"}]}| [2024-08-21T11:25:40.667Z] +([]uint8) (len=323) { [2024-08-21T11:25:40.667Z] + 00000000 a7 6a 61 70 69 56 65 72 73 69 6f 6e 62 76 33 62 |.japiVersionbv3b| [2024-08-21T11:25:40.667Z] + 00000010 69 64 78 24 39 32 36 65 35 34 38 32 2d 39 33 36 |idx$926e5482-936| [2024-08-21T11:25:40.667Z] + 00000020 61 2d 34 37 63 62 2d 61 34 38 30 2d 35 64 33 30 |a-47cb-a480-5d30| [2024-08-21T11:25:40.667Z] + 00000030 66 62 30 65 38 33 36 39 6a 64 65 76 69 63 65 4e |fb0e8369jdeviceN| [2024-08-21T11:25:40.667Z] + 00000040 61 6d 65 74 46 61 6d 69 6c 79 52 6f 6f 6d 54 68 |ametFamilyRoomTh| [2024-08-21T11:25:40.667Z] + 00000050 65 72 6d 6f 73 74 61 74 6b 70 72 6f 66 69 6c 65 |ermostatkprofile| [2024-08-21T11:25:40.667Z] + 00000060 4e 61 6d 65 6a 54 68 65 72 6d 6f 73 74 61 74 6a |NamejThermostatj| [2024-08-21T11:25:40.667Z] + 00000070 73 6f 75 72 63 65 4e 61 6d 65 6b 54 65 6d 70 65 |sourceNamekTempe| [2024-08-21T11:25:40.667Z] + 00000080 72 61 74 75 72 65 66 6f 72 69 67 69 6e 1b 17 ed |ratureforigin...| [2024-08-21T11:25:40.667Z] + 00000090 ba ba 02 b6 85 be 68 72 65 61 64 69 6e 67 73 81 |......hreadings.| [2024-08-21T11:25:40.667Z] + 000000a0 a7 62 69 64 78 24 65 64 32 34 35 38 38 63 2d 62 |.bidx$ed24588c-b| [2024-08-21T11:25:40.667Z] + 000000b0 30 39 31 2d 34 62 33 62 2d 61 33 63 64 2d 64 61 |091-4b3b-a3cd-da| [2024-08-21T11:25:40.667Z] + 000000c0 62 31 37 66 63 64 61 36 39 63 66 6f 72 69 67 69 |b17fcda69cforigi| [2024-08-21T11:25:40.667Z] + 000000d0 6e 1b 17 ed ba ba 02 b6 b2 d5 6a 64 65 76 69 63 |n.........jdevic| [2024-08-21T11:25:40.667Z] + 000000e0 65 4e 61 6d 65 74 46 61 6d 69 6c 79 52 6f 6f 6d |eNametFamilyRoom| [2024-08-21T11:25:40.667Z] + 000000f0 54 68 65 72 6d 6f 73 74 61 74 6c 72 65 73 6f 75 |Thermostatlresou| [2024-08-21T11:25:40.667Z] + 00000100 72 63 65 4e 61 6d 65 6b 54 65 6d 70 65 72 61 74 |rceNamekTemperat| [2024-08-21T11:25:40.667Z] + 00000110 75 72 65 6b 70 72 6f 66 69 6c 65 4e 61 6d 65 6a |urekprofileNamej| [2024-08-21T11:25:40.667Z] + 00000120 54 68 65 72 6d 6f 73 74 61 74 69 76 61 6c 75 65 |Thermostativalue| [2024-08-21T11:25:40.667Z] + 00000130 54 79 70 65 65 49 6e 74 36 34 65 76 61 6c 75 65 |TypeeInt64evalue| [2024-08-21T11:25:40.667Z] + 00000140 62 37 32 |b72| [2024-08-21T11:25:40.667Z] } [2024-08-21T11:25:40.667Z] Test: TestDecode_Process_MessageTargetType/CBOR_Event_Event_DTO [2024-08-21T11:25:40.667Z] Messages: 'CBOR Event Event DTO' test failed [2024-08-21T11:25:40.667Z] runtime_test.go:283: [2024-08-21T11:25:40.667Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:283 [2024-08-21T11:25:40.667Z] /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:468 [2024-08-21T11:25:40.667Z] Error: Should be true [2024-08-21T11:25:40.667Z] Test: TestDecode_Process_MessageTargetType/CBOR_Event_Event_DTO [2024-08-21T11:25:40.667Z] --- FAIL: TestGolangRuntime_processEventPayload (0.01s) [2024-08-21T11:25:40.667Z] --- FAIL: TestGolangRuntime_processEventPayload/invalid_JSON (0.00s) [2024-08-21T11:25:40.667Z] runtime_test.go:543: [2024-08-21T11:25:40.667Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:543 [2024-08-21T11:25:40.667Z] Error: An error is expected but got nil. [2024-08-21T11:25:40.667Z] Test: TestGolangRuntime_processEventPayload/invalid_JSON [2024-08-21T11:25:40.667Z] --- FAIL: TestGolangRuntime_processEventPayload/invalid_CBOR (0.00s) [2024-08-21T11:25:40.667Z] runtime_test.go:543: [2024-08-21T11:25:40.667Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:543 [2024-08-21T11:25:40.667Z] Error: An error is expected but got nil. [2024-08-21T11:25:40.667Z] Test: TestGolangRuntime_processEventPayload/invalid_CBOR [2024-08-21T11:25:40.667Z] FAIL [2024-08-21T11:25:40.667Z] coverage: 76.9% of statements [2024-08-21T11:25:40.667Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.124s [2024-08-21T11:25:40.925Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] [2024-08-21T11:25:40.925Z] # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt.test] [2024-08-21T11:25:40.925Z] internal/trigger/mqtt/mqtt_test.go:120:5: unknown field mqttClient in struct literal of type Trigger [2024-08-21T11:25:41.491Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] [2024-08-21T11:25:41.491Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] [2024-08-21T11:25:41.491Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] [2024-08-21T11:25:42.058Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.044s coverage: 97.3% of statements [2024-08-21T11:25:42.624Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.078s coverage: 82.8% of statements [2024-08-21T11:25:42.624Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.050s coverage: 65.1% of statements [2024-08-21T11:25:42.624Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [build failed] [2024-08-21T11:25:42.624Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] [2024-08-21T11:25:42.624Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-21T11:25:43.560Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.059s coverage: 17.2% of statements [2024-08-21T11:25:43.560Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.039s coverage: 27.3% of statements [2024-08-21T11:25:44.129Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.061s coverage: 52.8% of statements [2024-08-21T11:25:54.742Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8101 in /w/workspace/dry_app-functions-sdk-go_PR-1601 [Pipeline] { [Pipeline] ws [2024-08-21T11:25:54.759Z] Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout [2024-08-21T11:25:54.872Z] The recommended git tool is: git [2024-08-21T11:25:59.716Z] using credential edgex-jenkins-ssh [2024-08-21T11:25:59.736Z] Cloning the remote Git repository [2024-08-21T11:25:59.769Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2024-08-21T11:25:59.849Z] > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 [2024-08-21T11:25:59.981Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2024-08-21T11:25:59.982Z] > git --version # timeout=10 [2024-08-21T11:26:00.003Z] > git --version # 'git version 2.25.1' [2024-08-21T11:26:00.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-21T11:26:00.143Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-21T11:26:04.663Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2024-08-21T11:26:04.697Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-21T11:26:06.247Z] Merging remotes/origin/napa commit 2d559bfd24087982bdd8bbb47fa03227def45c27 into PR head commit 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 [2024-08-21T11:26:05.532Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2024-08-21T11:26:05.572Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2024-08-21T11:26:05.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-21T11:26:05.594Z] > 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 [2024-08-21T11:26:06.259Z] > git config core.sparsecheckout # timeout=10 [2024-08-21T11:26:06.330Z] > git checkout -f 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 # timeout=10 [2024-08-21T11:26:08.033Z] Merge succeeded, producing 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 [2024-08-21T11:26:08.033Z] Checking out Revision 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 (PR-1601) [2024-08-21T11:26:07.921Z] > git remote # timeout=10 [2024-08-21T11:26:07.940Z] > git config --get remote.origin.url # timeout=10 [2024-08-21T11:26:07.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-21T11:26:07.976Z] > git merge 2d559bfd24087982bdd8bbb47fa03227def45c27 # timeout=10 [2024-08-21T11:26:08.008Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-21T11:26:08.036Z] > git config core.sparsecheckout # timeout=10 [2024-08-21T11:26:08.049Z] > git checkout -f 6068c3deb0f25d402ae44eecb66d0a42d0b872b1 # timeout=10 [2024-08-21T11:26:10.695Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.135s coverage: 75.5% of statements [2024-08-21T11:26:10.695Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.033s coverage: 94.4% of statements [2024-08-21T11:26:10.695Z] FAIL [2024-08-21T11:26:10.695Z] make: *** [Makefile:43: test-sdk] Error 1 [Pipeline] } [2024-08-21T11:26:10.686Z] $ docker stop --time=1 ef1c9ecedb432adc826e4b095e478364a63704c1e1f06faea1c321a93a216221 [2024-08-21T11:26:12.168Z] $ 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] } [2024-08-21T11:26:12.874Z] 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 [2024-08-21T11:26:13.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-21T11:26:13.252Z] [2024-08-21T11:26:13.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-21T11:26:13.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-21T11:26:13.549Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-21T11:26:13.549Z] 5eb5b503b376: Pulling fs layer [2024-08-21T11:26:13.549Z] 5c69ac0246d0: Pulling fs layer [2024-08-21T11:26:13.549Z] ec43610c2a17: Pulling fs layer [2024-08-21T11:26:13.549Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-21T11:26:13.549Z] 33b1e0a273af: Pulling fs layer [2024-08-21T11:26:13.549Z] 5d3b04190fa2: Pulling fs layer [2024-08-21T11:26:13.549Z] 2f39f015ded8: Pulling fs layer [2024-08-21T11:26:13.549Z] 33b1e0a273af: Waiting [2024-08-21T11:26:13.549Z] 3a2ae6a8a46f: Waiting [2024-08-21T11:26:13.549Z] 5d3b04190fa2: Waiting [2024-08-21T11:26:13.549Z] 5c69ac0246d0: Verifying Checksum [2024-08-21T11:26:13.549Z] 5c69ac0246d0: Download complete [2024-08-21T11:26:13.808Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-21T11:26:13.809Z] 3a2ae6a8a46f: Download complete [2024-08-21T11:26:13.809Z] 33b1e0a273af: Verifying Checksum [2024-08-21T11:26:13.809Z] 33b1e0a273af: Download complete [2024-08-21T11:26:13.809Z] ec43610c2a17: Verifying Checksum [2024-08-21T11:26:13.809Z] 5d3b04190fa2: Download complete [2024-08-21T11:26:13.809Z] 5eb5b503b376: Verifying Checksum [2024-08-21T11:26:13.809Z] 5eb5b503b376: Download complete [2024-08-21T11:26:13.871Z] [2024-08-21T11:26:13.871Z] GitHub has been notified of this commit’s build result [2024-08-21T11:26:13.871Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-21T11:26:14.374Z] 2f39f015ded8: Download complete [2024-08-21T11:26:14.475Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-21T11:26:14.475Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-21T11:26:14.475Z] Dload Upload Total Spent Left Speed [2024-08-21T11:26:14.475Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 89083 0 --:--:-- --:--:-- --:--:-- 89706 [Pipeline] sh [2024-08-21T11:26:14.808Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-21T11:26:14.940Z] 5eb5b503b376: Pull complete [2024-08-21T11:26:15.168Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2024-08-21T11:26:15.168Z] /etc/docker/daemon.new [2024-08-21T11:26:15.168Z] { [2024-08-21T11:26:15.168Z] "registry-mirrors": [ [2024-08-21T11:26:15.168Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-21T11:26:15.168Z] ], [2024-08-21T11:26:15.168Z] "bip": "10.250.0.254/24", [2024-08-21T11:26:15.168Z] "hosts": [ [2024-08-21T11:26:15.168Z] "tcp://0.0.0.0:5555", [2024-08-21T11:26:15.168Z] "unix:///var/run/docker.sock" [2024-08-21T11:26:15.168Z] ], [2024-08-21T11:26:15.168Z] "mtu": 1458, [2024-08-21T11:26:15.168Z] "selinux-enabled": true, [2024-08-21T11:26:15.168Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-21T11:26:15.168Z] } [Pipeline] sh [2024-08-21T11:26:15.197Z] 5c69ac0246d0: Pull complete [2024-08-21T11:26:15.490Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-21T11:26:15.767Z] ec43610c2a17: Pull complete [2024-08-21T11:26:15.767Z] 3a2ae6a8a46f: Pull complete [2024-08-21T11:26:15.823Z] + sudo service docker restart [2024-08-21T11:26:16.024Z] 33b1e0a273af: Pull complete [2024-08-21T11:26:16.024Z] 5d3b04190fa2: Pull complete [2024-08-21T11:26:21.141Z] 2f39f015ded8: Pull complete [2024-08-21T11:26:21.141Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-21T11:26:21.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-21T11:26:21.141Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T11:26:21.232Z] prd-ubuntu20.04-docker-8c-8g-8100 does not seem to be running inside a container [2024-08-21T11:26:21.239Z] $ 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 [2024-08-21T11:26:26.164Z] $ docker top dd007846e8220cadad284addc69f723b04ac4b95f08ea92f56271abbf2d27b1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-21T11:26:26.594Z] ---> job-cost.sh [2024-08-21T11:26:26.594Z] lf-activate-venv: SKIPPING [2024-08-21T11:26:26.594Z] INFO: No Stack... [2024-08-21T11:26:26.854Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-21T11:26:27.113Z] INFO: Archiving Costs [Pipeline] sh [2024-08-21T11:26:27.406Z] + + cat /w/workspace/dry_app-functions-sdk-go_PR-1601/archives/cost.csv [2024-08-21T11:26:27.406Z] cut -d, -f6 [Pipeline] lock [2024-08-21T11:26:27.421Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] [2024-08-21T11:26:27.431Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] did not exist. Created. [2024-08-21T11:26:27.439Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-21T11:26:27.745Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-21T11:26:27.866Z] Stashed 1 file(s) [Pipeline] } [2024-08-21T11:26:27.875Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-21T11:26:27.884Z] $ docker stop --time=1 dd007846e8220cadad284addc69f723b04ac4b95f08ea92f56271abbf2d27b1c [2024-08-21T11:26:29.139Z] $ docker rm -f --volumes dd007846e8220cadad284addc69f723b04ac4b95f08ea92f56271abbf2d27b1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-21T11:26:29.387Z] Failed in branch amd64 [Pipeline] unstash [Pipeline] echo [2024-08-21T11:26:34.303Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-08-21T11:26:34.619Z] + + cutgrep ^go [0-9].[0-9]* go.mod [2024-08-21T11:26:34.619Z] -d -f 2 [Pipeline] echo [2024-08-21T11:26:34.674Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-21T11:26:34.700Z] ========================================================= [2024-08-21T11:26:34.700Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-08-21T11:26:34.700Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2024-08-21T11:26:35.037Z] + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-08-21T11:26:35.619Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-21T11:26:35.619Z] c6b39de5b339: Pulling fs layer [2024-08-21T11:26:35.619Z] a69c41024577: Pulling fs layer [2024-08-21T11:26:35.619Z] d6de4b400683: Pulling fs layer [2024-08-21T11:26:35.619Z] 35cb2a7552d0: Pulling fs layer [2024-08-21T11:26:35.619Z] 4f4fb700ef54: Pulling fs layer [2024-08-21T11:26:35.619Z] 9e011611b7f5: Pulling fs layer [2024-08-21T11:26:35.619Z] 3bd174042beb: Pulling fs layer [2024-08-21T11:26:35.619Z] 4476f39b5e91: Pulling fs layer [2024-08-21T11:26:35.619Z] 35cb2a7552d0: Waiting [2024-08-21T11:26:35.619Z] 4f4fb700ef54: Waiting [2024-08-21T11:26:35.619Z] 9e011611b7f5: Waiting [2024-08-21T11:26:35.619Z] 3bd174042beb: Waiting [2024-08-21T11:26:35.619Z] 4476f39b5e91: Waiting [2024-08-21T11:26:35.619Z] a69c41024577: Verifying Checksum [2024-08-21T11:26:35.619Z] a69c41024577: Download complete [2024-08-21T11:26:35.619Z] 35cb2a7552d0: Verifying Checksum [2024-08-21T11:26:35.619Z] 35cb2a7552d0: Download complete [2024-08-21T11:26:35.619Z] c6b39de5b339: Download complete [2024-08-21T11:26:35.619Z] 4f4fb700ef54: Verifying Checksum [2024-08-21T11:26:35.619Z] 4f4fb700ef54: Download complete [2024-08-21T11:26:35.619Z] 9e011611b7f5: Verifying Checksum [2024-08-21T11:26:35.619Z] 9e011611b7f5: Download complete [2024-08-21T11:26:36.206Z] 4476f39b5e91: Verifying Checksum [2024-08-21T11:26:36.206Z] 4476f39b5e91: Download complete [2024-08-21T11:26:36.474Z] c6b39de5b339: Pull complete [2024-08-21T11:26:37.058Z] a69c41024577: Pull complete [2024-08-21T11:26:37.653Z] d6de4b400683: Verifying Checksum [2024-08-21T11:26:37.653Z] d6de4b400683: Download complete [2024-08-21T11:26:38.631Z] 3bd174042beb: Verifying Checksum [2024-08-21T11:26:38.631Z] 3bd174042beb: Download complete [2024-08-21T11:26:50.980Z] d6de4b400683: Pull complete [2024-08-21T11:26:50.980Z] 35cb2a7552d0: Pull complete [2024-08-21T11:26:50.980Z] 4f4fb700ef54: Pull complete [2024-08-21T11:26:50.980Z] 9e011611b7f5: Pull complete [2024-08-21T11:26:59.186Z] 3bd174042beb: Pull complete [2024-08-21T11:27:00.595Z] 4476f39b5e91: Pull complete [2024-08-21T11:27:00.595Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-08-21T11:27:00.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-08-21T11:27:00.595Z] nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [Pipeline] sh [2024-08-21T11:27:00.914Z] + 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 [2024-08-21T11:27:01.252Z] + docker inspect -f . ci-base-image-arm64 [2024-08-21T11:27:01.252Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T11:27:01.461Z] prd-ubuntu20.04-docker-arm64-4c-16g-8101 does not seem to be running inside a container [2024-08-21T11:27:01.521Z] $ 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 [2024-08-21T11:27:04.368Z] $ docker top c5f95fe268cf7fe7e6458560e5852c49604ce0818c2467afdaadd4b0eec961fc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-21T11:27:05.190Z] + go version [2024-08-21T11:27:05.190Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-21T11:27:05.206Z] $ docker stop --time=1 c5f95fe268cf7fe7e6458560e5852c49604ce0818c2467afdaadd4b0eec961fc [2024-08-21T11:27:06.821Z] $ 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 [2024-08-21T11:27:07.405Z] + docker inspect -f . ci-base-image-arm64 [2024-08-21T11:27:07.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T11:27:07.577Z] prd-ubuntu20.04-docker-arm64-4c-16g-8101 does not seem to be running inside a container [2024-08-21T11:27:07.638Z] $ 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 [2024-08-21T11:27:09.078Z] $ docker top 532467a1ff19bf48dde30c15ffd9043fac6043f76c58e768ca8fe0bef06c34f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-21T11:27:09.888Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2024-08-21T11:27:10.538Z] + make test [2024-08-21T11:27:10.538Z] make -C ./app-service-template build [2024-08-21T11:27:10.538Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' [2024-08-21T11:27:10.538Z] go mod tidy [2024-08-21T11:27:10.538Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0 [2024-08-21T11:27:10.538Z] go: downloading github.com/labstack/echo/v4 v4.11.2 [2024-08-21T11:27:10.538Z] go: downloading github.com/stretchr/testify v1.9.0 [2024-08-21T11:27:10.805Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2024-08-21T11:27:11.073Z] go: downloading github.com/google/uuid v1.6.0 [2024-08-21T11:27:11.073Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0 [2024-08-21T11:27:11.073Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2024-08-21T11:27:11.338Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0 [2024-08-21T11:27:11.338Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0 [2024-08-21T11:27:11.338Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.2 [2024-08-21T11:27:11.604Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2024-08-21T11:27:11.604Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2024-08-21T11:27:11.604Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2024-08-21T11:27:11.604Z] go: downloading github.com/stretchr/objx v0.5.2 [2024-08-21T11:27:11.873Z] go: downloading github.com/labstack/gommon v0.4.0 [2024-08-21T11:27:11.873Z] go: downloading golang.org/x/crypto v0.23.0 [2024-08-21T11:27:11.873Z] go: downloading golang.org/x/net v0.25.0 [2024-08-21T11:27:12.460Z] go: downloading github.com/go-kit/log v0.2.1 [2024-08-21T11:27:12.727Z] go: downloading github.com/go-playground/validator/v10 v10.15.5 [2024-08-21T11:27:12.727Z] go: downloading github.com/fxamacker/cbor/v2 v2.5.0 [2024-08-21T11:27:12.727Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2024-08-21T11:27:12.993Z] go: downloading github.com/gorilla/websocket v1.5.0 [2024-08-21T11:27:12.993Z] go: downloading golang.org/x/sync v0.7.0 [2024-08-21T11:27:12.993Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0 [2024-08-21T11:27:12.993Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0 [2024-08-21T11:27:13.266Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2024-08-21T11:27:13.533Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2024-08-21T11:27:13.533Z] go: downloading github.com/mattn/go-isatty v0.0.19 [2024-08-21T11:27:13.533Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2024-08-21T11:27:13.533Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2024-08-21T11:27:13.533Z] go: downloading github.com/x448/float16 v0.8.4 [2024-08-21T11:27:13.533Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2024-08-21T11:27:13.533Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2024-08-21T11:27:13.533Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2024-08-21T11:27:13.533Z] go: downloading github.com/leodido/go-urn v1.2.4 [2024-08-21T11:27:13.533Z] go: downloading golang.org/x/text v0.15.0 [2024-08-21T11:27:14.493Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2024-08-21T11:27:14.493Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2024-08-21T11:27:14.493Z] go: downloading github.com/go-playground/locales v0.14.1 [2024-08-21T11:27:17.851Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2024-08-21T11:27:17.851Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.2.0 [2024-08-21T11:27:18.118Z] go: downloading github.com/hashicorp/consul/api v1.25.1 [2024-08-21T11:27:18.388Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2024-08-21T11:27:18.388Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2024-08-21T11:27:18.388Z] go: downloading golang.org/x/sys v0.20.0 [2024-08-21T11:27:18.388Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2024-08-21T11:27:18.388Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2024-08-21T11:27:18.388Z] go: downloading golang.org/x/time v0.5.0 [2024-08-21T11:27:18.388Z] go: downloading github.com/kr/pretty v0.1.0 [2024-08-21T11:27:18.388Z] go: downloading github.com/nats-io/nats.go v1.31.0 [2024-08-21T11:27:18.388Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2024-08-21T11:27:18.657Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2024-08-21T11:27:18.657Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2024-08-21T11:27:18.657Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2024-08-21T11:27:18.657Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2024-08-21T11:27:18.657Z] go: downloading github.com/hashicorp/serf v0.10.1 [2024-08-21T11:27:18.657Z] go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 [2024-08-21T11:27:19.240Z] go: downloading github.com/google/go-cmp v0.6.0 [2024-08-21T11:27:19.240Z] go: downloading github.com/hashicorp/consul/sdk v0.14.1 [2024-08-21T11:27:19.240Z] go: downloading github.com/hashicorp/go-uuid v1.0.3 [2024-08-21T11:27:19.505Z] go: downloading github.com/Microsoft/go-winio v0.6.1 [2024-08-21T11:27:19.506Z] go: downloading github.com/zeebo/errs v1.3.0 [2024-08-21T11:27:19.506Z] go: downloading google.golang.org/grpc v1.63.2 [2024-08-21T11:27:20.908Z] go: downloading github.com/kr/text v0.2.0 [2024-08-21T11:27:20.908Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2024-08-21T11:27:20.908Z] go: downloading github.com/onsi/gomega v1.7.0 [2024-08-21T11:27:20.908Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2024-08-21T11:27:20.908Z] go: downloading github.com/fatih/color v1.14.1 [2024-08-21T11:27:20.908Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2024-08-21T11:27:20.908Z] go: downloading github.com/klauspost/compress v1.17.1 [2024-08-21T11:27:20.908Z] go: downloading github.com/nats-io/nkeys v0.4.6 [2024-08-21T11:27:21.181Z] go: downloading github.com/nats-io/nuid v1.0.1 [2024-08-21T11:27:21.181Z] go: downloading github.com/armon/go-metrics v0.4.1 [2024-08-21T11:27:21.181Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2024-08-21T11:27:21.181Z] go: downloading github.com/pkg/errors v0.9.1 [2024-08-21T11:27:21.181Z] go: downloading github.com/hashicorp/go-msgpack v0.5.5 [2024-08-21T11:27:21.181Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2024-08-21T11:27:21.181Z] go: downloading github.com/go-jose/go-jose/v4 v4.0.1 [2024-08-21T11:27:21.450Z] go: downloading google.golang.org/protobuf v1.34.1 [2024-08-21T11:27:22.855Z] go: downloading golang.org/x/tools v0.21.0 [2024-08-21T11:27:22.855Z] go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240509183442-62759503f434 [2024-08-21T11:27:22.855Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2024-08-21T11:27:22.855Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2024-08-21T11:27:22.855Z] go: downloading github.com/google/btree v1.0.1 [2024-08-21T11:27:22.855Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2024-08-21T11:27:22.855Z] go: downloading github.com/miekg/dns v1.1.41 [2024-08-21T11:27:23.120Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2024-08-21T11:27:23.120Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2024-08-21T11:27:23.120Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2024-08-21T11:27:23.120Z] go: downloading github.com/hpcloud/tail v1.0.0 [2024-08-21T11:27:23.120Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2024-08-21T11:27:23.120Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2024-08-21T11:27:25.060Z] go: downloading golang.org/x/mod v0.17.0 [2024-08-21T11:27:25.643Z] 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 [2024-08-21T11:29:32.286Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' [2024-08-21T11:29:32.286Z] make -C ./app-service-template test [2024-08-21T11:29:32.286Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' [2024-08-21T11:29:32.286Z] go test -race -coverprofile=coverage.out ./... [2024-08-21T11:32:23.977Z] ? app-new-service/config [no test files] [2024-08-21T11:32:23.977Z] ok app-new-service 1.271s coverage: 45.9% of statements [2024-08-21T11:32:23.977Z] ok app-new-service/functions 1.253s coverage: 85.3% of statements [2024-08-21T11:32:23.977Z] go vet ./... [2024-08-21T11:34:45.721Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-21T11:34:45.721Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-21T11:34:45.721Z] ./bin/test-attribution-txt.sh [2024-08-21T11:34:45.721Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' [2024-08-21T11:34:45.721Z] go test -race -coverprofile=coverage.out ./... [2024-08-21T11:34:56.224Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] [2024-08-21T11:36:17.854Z] level=ERROR ts=2024-08-21T11:36:07.388814708Z app=test source=configurable.go:718 msg="Could not find 'profilenames' parameter for FilterByProfileName" [2024-08-21T11:36:17.854Z] 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" [2024-08-21T11:36:17.854Z] level=ERROR ts=2024-08-21T11:36:07.39289591Z app=test source=configurable.go:718 msg="Could not find 'devicenames' parameter for FilterByDeviceName" [2024-08-21T11:36:17.854Z] 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" [2024-08-21T11:36:17.854Z] level=ERROR ts=2024-08-21T11:36:07.397540225Z app=test source=configurable.go:718 msg="Could not find 'sourcenames' parameter for FilterBySourceName" [2024-08-21T11:36:17.854Z] 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" [2024-08-21T11:36:17.854Z] level=ERROR ts=2024-08-21T11:36:07.400449338Z app=test source=configurable.go:718 msg="Could not find 'resourcenames' parameter for FilterByResourceName" [2024-08-21T11:36:17.854Z] 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" [2024-08-21T11:36:17.854Z] 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'" [2024-08-21T11:36:17.854Z] level=ERROR ts=2024-08-21T11:36:07.410340464Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.411434788Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.413697992Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.414624657Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.41551556Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.416487198Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.420586641Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.421618272Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.425400846Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.426332591Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.427752085Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.428752084Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] 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`" [2024-08-21T11:36:17.855Z] 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`" [2024-08-21T11:36:17.855Z] 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`" [2024-08-21T11:36:17.855Z] 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 `:,:,:`" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.448984533Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.452540683Z app=test source=configurable.go:207 msg="Could not find profilename" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.453413535Z app=test source=configurable.go:212 msg="Could not find devicename" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.454279286Z app=test source=configurable.go:217 msg="Could not find resourcename" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.455082164Z app=test source=configurable.go:222 msg="Could not find valuetype" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.456093104Z app=test source=configurable.go:236 msg="unable to normalize the unknown value type bogus" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.457447624Z app=test source=configurable.go:251 msg="MediaType can not be empty when ValueType=Binary" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.458550739Z app=test source=configurable.go:244 msg="Could not find mediatype" [2024-08-21T11:36:17.855Z] level=ERROR ts=2024-08-21T11:36:07.461230628Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" [2024-08-21T11:36:17.855Z] 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`" [2024-08-21T11:36:17.855Z] level=INFO ts=2024-08-21T11:36:07.46395327Z app=test source=server.go:57 msg="Registering standard routes..." [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.464487401Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" [2024-08-21T11:36:17.855Z] level=INFO ts=2024-08-21T11:36:07.46582499Z app=test source=server.go:57 msg="Registering standard routes..." [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.466233385Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" [2024-08-21T11:36:17.855Z] level=INFO ts=2024-08-21T11:36:07.467552283Z app=test source=server.go:57 msg="Registering standard routes..." [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.468024351Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] level=INFO ts=2024-08-21T11:36:07.476004763Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] level=INFO ts=2024-08-21T11:36:07.478462169Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" [2024-08-21T11:36:17.855Z] --- FAIL: TestSetupHTTPTrigger (0.01s) [2024-08-21T11:36:17.855Z] service_test.go:289: [2024-08-21T11:36:17.855Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/service_test.go:289 [2024-08-21T11:36:17.855Z] Error: Should be true [2024-08-21T11:36:17.855Z] Test: TestSetupHTTPTrigger [2024-08-21T11:36:17.855Z] Messages: Expected Instance of HTTP Trigger [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] level=INFO ts=2024-08-21T11:36:07.483693659Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] level=INFO ts=2024-08-21T11:36:07.486192767Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" [2024-08-21T11:36:17.855Z] --- FAIL: TestSetupMessageBusTrigger (0.01s) [2024-08-21T11:36:17.855Z] service_test.go:309: [2024-08-21T11:36:17.855Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/service_test.go:309 [2024-08-21T11:36:17.855Z] Error: Should be true [2024-08-21T11:36:17.855Z] Test: TestSetupMessageBusTrigger [2024-08-21T11:36:17.855Z] Messages: Expected Instance of Message Bus Trigger [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] level=INFO ts=2024-08-21T11:36:07.492082656Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.49249029Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] level=INFO ts=2024-08-21T11:36:07.49704509Z app=test source=runtime.go:121 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.497299135Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] 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)" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.519974668Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.520863721Z app=test source=service.go:329 msg="'bogus' Function Pipeline Execution Order: [Bogus]" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.52186822Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.524119604Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" [2024-08-21T11:36:17.855Z] 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']" [2024-08-21T11:36:17.855Z] 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']" [2024-08-21T11:36:17.855Z] 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: []" [2024-08-21T11:36:17.855Z] 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]" [2024-08-21T11:36:17.855Z] 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']" [2024-08-21T11:36:17.855Z] 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']" [2024-08-21T11:36:17.855Z] 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: []" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.530780528Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:36:17.855Z] 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']" [2024-08-21T11:36:17.855Z] 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: []" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.53351589Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:36:17.855Z] 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']" [2024-08-21T11:36:17.855Z] 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: []" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.535304936Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:36:17.855Z] 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']" [2024-08-21T11:36:17.855Z] 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: []" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.537193348Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:36:17.855Z] 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']" [2024-08-21T11:36:17.855Z] 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: []" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.539268171Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:36:17.855Z] 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']" [2024-08-21T11:36:17.855Z] 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: []" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.541237718Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:36:17.855Z] 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']" [2024-08-21T11:36:17.855Z] 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: []" [2024-08-21T11:36:17.855Z] level=DEBUG ts=2024-08-21T11:36:07.543181793Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T11:36:17.855Z] 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']" [2024-08-21T11:36:17.855Z] 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: []" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] 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" [2024-08-21T11:36:17.855Z] --- FAIL: TestSetupTrigger_HTTP (0.00s) [2024-08-21T11:36:17.855Z] triggerfactory_test.go:112: [2024-08-21T11:36:17.855Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/triggerfactory_test.go:112 [2024-08-21T11:36:17.855Z] Error: Object expected to be of type *http.Trigger, but was *mqtt.Trigger [2024-08-21T11:36:17.855Z] Test: TestSetupTrigger_HTTP [2024-08-21T11:36:17.855Z] Messages: should be an http trigger [2024-08-21T11:36:17.855Z] --- FAIL: TestSetupTrigger_EdgeXMessageBus (0.00s) [2024-08-21T11:36:17.855Z] triggerfactory_test.go:129: [2024-08-21T11:36:17.856Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/triggerfactory_test.go:129 [2024-08-21T11:36:17.856Z] Error: Object expected to be of type *messagebus.Trigger, but was *mqtt.Trigger [2024-08-21T11:36:17.856Z] Test: TestSetupTrigger_EdgeXMessageBus [2024-08-21T11:36:17.856Z] Messages: should be an edgex-messagebus trigger [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] level=INFO ts=2024-08-21T11:36:07.586287806Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" [2024-08-21T11:36:17.856Z] --- FAIL: Test_Service_setupTrigger_CustomType (0.00s) [2024-08-21T11:36:17.856Z] triggerfactory_test.go:185: [2024-08-21T11:36:17.856Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/triggerfactory_test.go:185 [2024-08-21T11:36:17.856Z] Error: Object expected to be of type *app.mockCustomTrigger, but was *mqtt.Trigger [2024-08-21T11:36:17.856Z] Test: Test_Service_setupTrigger_CustomType [2024-08-21T11:36:17.856Z] Messages: should be a custom trigger [2024-08-21T11:36:17.856Z] --- FAIL: Test_Service_SetupTrigger_CustomTypeError (0.00s) [2024-08-21T11:36:17.856Z] triggerfactory_test.go:208: [2024-08-21T11:36:17.856Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/triggerfactory_test.go:208 [2024-08-21T11:36:17.856Z] Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc0001eea20), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc00004c120), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} [2024-08-21T11:36:17.856Z] Test: Test_Service_SetupTrigger_CustomTypeError [2024-08-21T11:36:17.856Z] Messages: should be nil [2024-08-21T11:36:17.856Z] --- FAIL: Test_Service_SetupTrigger_CustomTypeNotFound (0.00s) [2024-08-21T11:36:17.856Z] triggerfactory_test.go:226: [2024-08-21T11:36:17.856Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/app/triggerfactory_test.go:226 [2024-08-21T11:36:17.856Z] Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc0001eed80), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc00004c710), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} [2024-08-21T11:36:17.856Z] Test: Test_Service_SetupTrigger_CustomTypeNotFound [2024-08-21T11:36:17.856Z] Messages: should be nil [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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'" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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'" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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'" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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'" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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'" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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'" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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)" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] 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" [2024-08-21T11:36:17.856Z] FAIL [2024-08-21T11:36:17.856Z] coverage: 66.4% of statements [2024-08-21T11:36:17.856Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.555s [2024-08-21T11:36:17.856Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] [2024-08-21T11:36:17.856Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.274s coverage: 92.6% of statements [2024-08-21T11:36:17.856Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] [2024-08-21T11:36:17.856Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.304s coverage: 85.1% of statements [2024-08-21T11:36:17.856Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.139s coverage: 100.0% of statements [2024-08-21T11:36:17.856Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] [2024-08-21T11:36:17.856Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] [2024-08-21T11:36:17.856Z] --- FAIL: TestProcessMessageBusRequest (0.02s) [2024-08-21T11:36:17.856Z] runtime_test.go:80: [2024-08-21T11:36:17.856Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:80 [2024-08-21T11:36:17.856Z] Error: Expected value not to be nil. [2024-08-21T11:36:17.856Z] Test: TestProcessMessageBusRequest [2024-08-21T11:36:17.856Z] --- FAIL: TestProcessMessageOneCustomTransform (0.00s) [2024-08-21T11:36:17.856Z] runtime_test.go:283: [2024-08-21T11:36:17.856Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 [2024-08-21T11:36:17.856Z] /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:141 [2024-08-21T11:36:17.856Z] Error: Should be true [2024-08-21T11:36:17.856Z] Test: TestProcessMessageOneCustomTransform [2024-08-21T11:36:17.856Z] --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) [2024-08-21T11:36:17.856Z] runtime_test.go:283: [2024-08-21T11:36:17.856Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 [2024-08-21T11:36:17.856Z] /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:187 [2024-08-21T11:36:17.856Z] Error: Should be true [2024-08-21T11:36:17.856Z] Test: TestProcessMessageTwoCustomTransforms [2024-08-21T11:36:17.856Z] --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) [2024-08-21T11:36:17.856Z] runtime_test.go:283: [2024-08-21T11:36:17.856Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 [2024-08-21T11:36:17.856Z] /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:240 [2024-08-21T11:36:17.856Z] Error: Should be true [2024-08-21T11:36:17.856Z] Test: TestProcessMessageThreeCustomTransformsOneFail [2024-08-21T11:36:17.856Z] --- FAIL: TestDecode_Process_MessageTargetType (0.06s) [2024-08-21T11:36:17.856Z] --- FAIL: TestDecode_Process_MessageTargetType/JSON_default_Target_Type (0.01s) [2024-08-21T11:36:17.856Z] runtime_test.go:462: [2024-08-21T11:36:17.856Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:462 [2024-08-21T11:36:17.856Z] Error: Not equal: [2024-08-21T11:36:17.856Z] 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} [2024-08-21T11:36:17.856Z] 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} [2024-08-21T11:36:17.856Z] [2024-08-21T11:36:17.856Z] Diff: [2024-08-21T11:36:17.856Z] --- Expected [2024-08-21T11:36:17.856Z] +++ Actual [2024-08-21T11:36:17.856Z] @@ -1,27 +1,32 @@ [2024-08-21T11:36:17.856Z] -([]uint8) (len=395) { [2024-08-21T11:36:17.856Z] +([]uint8) (len=474) { [2024-08-21T11:36:17.856Z] 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2024-08-21T11:36:17.856Z] - 00000010 33 22 2c 22 69 64 22 3a 22 62 63 63 64 66 61 65 |3","id":"bccdfae| [2024-08-21T11:36:17.856Z] - 00000020 64 2d 64 36 32 63 2d 34 34 66 34 2d 38 39 31 38 |d-d62c-44f4-8918| [2024-08-21T11:36:17.856Z] - 00000030 2d 38 34 30 64 37 33 64 62 62 64 38 32 22 2c 22 |-840d73dbbd82","| [2024-08-21T11:36:17.856Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2024-08-21T11:36:17.856Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2024-08-21T11:36:17.856Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2024-08-21T11:36:17.856Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 |:"Thermostat","s| [2024-08-21T11:36:17.856Z] - 00000080 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 |ourceName":"Temp| [2024-08-21T11:36:17.856Z] - 00000090 65 72 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e |erature","origin| [2024-08-21T11:36:17.856Z] - 000000a0 22 3a 31 37 32 34 32 34 30 31 37 36 36 37 39 30 |":17242401766790| [2024-08-21T11:36:17.856Z] - 000000b0 33 31 32 32 36 2c 22 72 65 61 64 69 6e 67 73 22 |31226,"readings"| [2024-08-21T11:36:17.856Z] - 000000c0 3a 5b 7b 22 69 64 22 3a 22 64 32 61 36 64 36 37 |:[{"id":"d2a6d67| [2024-08-21T11:36:17.856Z] - 000000d0 36 2d 39 63 31 61 2d 34 37 33 30 2d 38 63 61 65 |6-9c1a-4730-8cae| [2024-08-21T11:36:17.857Z] - 000000e0 2d 66 31 62 63 34 31 63 61 63 65 66 31 22 2c 22 |-f1bc41cacef1","| [2024-08-21T11:36:17.857Z] - 000000f0 6f 72 69 67 69 6e 22 3a 31 37 32 34 32 34 30 31 |origin":17242401| [2024-08-21T11:36:17.857Z] - 00000100 37 36 36 37 39 30 38 30 38 30 39 2c 22 64 65 76 |76679080809,"dev| [2024-08-21T11:36:17.857Z] - 00000110 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 |iceName":"Family| [2024-08-21T11:36:17.857Z] - 00000120 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c |RoomThermostat",| [2024-08-21T11:36:17.857Z] - 00000130 22 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 |"resourceName":"| [2024-08-21T11:36:17.857Z] - 00000140 54 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 |Temperature","pr| [2024-08-21T11:36:17.857Z] - 00000150 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 |ofileName":"Ther| [2024-08-21T11:36:17.857Z] - 00000160 6d 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 |mostat","valueTy| [2024-08-21T11:36:17.857Z] - 00000170 70 65 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c |pe":"Int64","val| [2024-08-21T11:36:17.857Z] - 00000180 75 65 22 3a 22 37 32 22 7d 5d 7d |ue":"72"}]}| [2024-08-21T11:36:17.857Z] + 00000010 33 22 2c 22 72 65 71 75 65 73 74 49 64 22 3a 22 |3","requestId":"| [2024-08-21T11:36:17.857Z] + 00000020 33 61 65 65 36 37 37 30 2d 63 35 33 63 2d 34 35 |3aee6770-c53c-45| [2024-08-21T11:36:17.857Z] + 00000030 64 65 2d 61 62 62 37 2d 61 36 31 65 35 34 61 61 |de-abb7-a61e54aa| [2024-08-21T11:36:17.857Z] + 00000040 34 30 38 33 22 2c 22 65 76 65 6e 74 22 3a 7b 22 |4083","event":{"| [2024-08-21T11:36:17.857Z] + 00000050 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 33 22 |apiVersion":"v3"| [2024-08-21T11:36:17.857Z] + 00000060 2c 22 69 64 22 3a 22 62 63 63 64 66 61 65 64 2d |,"id":"bccdfaed-| [2024-08-21T11:36:17.857Z] + 00000070 64 36 32 63 2d 34 34 66 34 2d 38 39 31 38 2d 38 |d62c-44f4-8918-8| [2024-08-21T11:36:17.857Z] + 00000080 34 30 64 37 33 64 62 62 64 38 32 22 2c 22 64 65 |40d73dbbd82","de| [2024-08-21T11:36:17.857Z] + 00000090 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c |viceName":"Famil| [2024-08-21T11:36:17.857Z] + 000000a0 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 |yRoomThermostat"| [2024-08-21T11:36:17.857Z] + 000000b0 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 |,"profileName":"| [2024-08-21T11:36:17.857Z] + 000000c0 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 6f 75 |Thermostat","sou| [2024-08-21T11:36:17.857Z] + 000000d0 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 65 72 |rceName":"Temper| [2024-08-21T11:36:17.857Z] + 000000e0 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e 22 3a |ature","origin":| [2024-08-21T11:36:17.857Z] + 000000f0 31 37 32 34 32 34 30 31 37 36 36 37 39 30 33 31 |1724240176679031| [2024-08-21T11:36:17.857Z] + 00000100 32 32 36 2c 22 72 65 61 64 69 6e 67 73 22 3a 5b |226,"readings":[| [2024-08-21T11:36:17.857Z] + 00000110 7b 22 69 64 22 3a 22 64 32 61 36 64 36 37 36 2d |{"id":"d2a6d676-| [2024-08-21T11:36:17.857Z] + 00000120 39 63 31 61 2d 34 37 33 30 2d 38 63 61 65 2d 66 |9c1a-4730-8cae-f| [2024-08-21T11:36:17.857Z] + 00000130 31 62 63 34 31 63 61 63 65 66 31 22 2c 22 6f 72 |1bc41cacef1","or| [2024-08-21T11:36:17.857Z] + 00000140 69 67 69 6e 22 3a 31 37 32 34 32 34 30 31 37 36 |igin":1724240176| [2024-08-21T11:36:17.857Z] + 00000150 36 37 39 30 38 30 38 30 39 2c 22 64 65 76 69 63 |679080809,"devic| [2024-08-21T11:36:17.857Z] + 00000160 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 6f |eName":"FamilyRo| [2024-08-21T11:36:17.857Z] + 00000170 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 72 |omThermostat","r| [2024-08-21T11:36:17.857Z] + 00000180 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 |esourceName":"Te| [2024-08-21T11:36:17.857Z] + 00000190 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f 66 |mperature","prof| [2024-08-21T11:36:17.857Z] + 000001a0 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d 6f |ileName":"Thermo| [2024-08-21T11:36:17.857Z] + 000001b0 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 65 |stat","valueType| [2024-08-21T11:36:17.857Z] + 000001c0 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c 75 65 |":"Int64","value| [2024-08-21T11:36:17.857Z] + 000001d0 22 3a 22 37 32 22 7d 5d 7d 7d |":"72"}]}}| [2024-08-21T11:36:17.857Z] } [2024-08-21T11:36:17.857Z] Test: TestDecode_Process_MessageTargetType/JSON_default_Target_Type [2024-08-21T11:36:17.857Z] Messages: 'JSON default Target Type' test failed [2024-08-21T11:36:17.857Z] runtime_test.go:283: [2024-08-21T11:36:17.857Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 [2024-08-21T11:36:17.857Z] /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:466 [2024-08-21T11:36:17.857Z] Error: Should be true [2024-08-21T11:36:17.857Z] Test: TestDecode_Process_MessageTargetType/JSON_default_Target_Type [2024-08-21T11:36:17.857Z] --- FAIL: TestDecode_Process_MessageTargetType/CBOR_default_Target_Type (0.01s) [2024-08-21T11:36:17.857Z] runtime_test.go:462: [2024-08-21T11:36:17.857Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:462 [2024-08-21T11:36:17.857Z] Error: Not equal: [2024-08-21T11:36:17.857Z] 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} [2024-08-21T11:36:17.857Z] 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} [2024-08-21T11:36:17.857Z] [2024-08-21T11:36:17.857Z] Diff: [2024-08-21T11:36:17.857Z] --- Expected [2024-08-21T11:36:17.857Z] +++ Actual [2024-08-21T11:36:17.857Z] @@ -1,27 +1,27 @@ [2024-08-21T11:36:17.857Z] -([]uint8) (len=395) { [2024-08-21T11:36:17.857Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2024-08-21T11:36:17.857Z] - 00000010 33 22 2c 22 69 64 22 3a 22 62 63 63 64 66 61 65 |3","id":"bccdfae| [2024-08-21T11:36:17.857Z] - 00000020 64 2d 64 36 32 63 2d 34 34 66 34 2d 38 39 31 38 |d-d62c-44f4-8918| [2024-08-21T11:36:17.857Z] - 00000030 2d 38 34 30 64 37 33 64 62 62 64 38 32 22 2c 22 |-840d73dbbd82","| [2024-08-21T11:36:17.857Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2024-08-21T11:36:17.857Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2024-08-21T11:36:17.857Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2024-08-21T11:36:17.857Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 |:"Thermostat","s| [2024-08-21T11:36:17.857Z] - 00000080 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 |ourceName":"Temp| [2024-08-21T11:36:17.857Z] - 00000090 65 72 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e |erature","origin| [2024-08-21T11:36:17.857Z] - 000000a0 22 3a 31 37 32 34 32 34 30 31 37 36 36 37 39 30 |":17242401766790| [2024-08-21T11:36:17.857Z] - 000000b0 33 31 32 32 36 2c 22 72 65 61 64 69 6e 67 73 22 |31226,"readings"| [2024-08-21T11:36:17.857Z] - 000000c0 3a 5b 7b 22 69 64 22 3a 22 64 32 61 36 64 36 37 |:[{"id":"d2a6d67| [2024-08-21T11:36:17.857Z] - 000000d0 36 2d 39 63 31 61 2d 34 37 33 30 2d 38 63 61 65 |6-9c1a-4730-8cae| [2024-08-21T11:36:17.857Z] - 000000e0 2d 66 31 62 63 34 31 63 61 63 65 66 31 22 2c 22 |-f1bc41cacef1","| [2024-08-21T11:36:17.857Z] - 000000f0 6f 72 69 67 69 6e 22 3a 31 37 32 34 32 34 30 31 |origin":17242401| [2024-08-21T11:36:17.857Z] - 00000100 37 36 36 37 39 30 38 30 38 30 39 2c 22 64 65 76 |76679080809,"dev| [2024-08-21T11:36:17.857Z] - 00000110 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 |iceName":"Family| [2024-08-21T11:36:17.857Z] - 00000120 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c |RoomThermostat",| [2024-08-21T11:36:17.857Z] - 00000130 22 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 |"resourceName":"| [2024-08-21T11:36:17.857Z] - 00000140 54 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 |Temperature","pr| [2024-08-21T11:36:17.857Z] - 00000150 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 |ofileName":"Ther| [2024-08-21T11:36:17.857Z] - 00000160 6d 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 |mostat","valueTy| [2024-08-21T11:36:17.857Z] - 00000170 70 65 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c |pe":"Int64","val| [2024-08-21T11:36:17.857Z] - 00000180 75 65 22 3a 22 37 32 22 7d 5d 7d |ue":"72"}]}| [2024-08-21T11:36:17.857Z] +([]uint8) (len=392) { [2024-08-21T11:36:17.857Z] + 00000000 a3 6a 61 70 69 56 65 72 73 69 6f 6e 62 76 33 69 |.japiVersionbv3i| [2024-08-21T11:36:17.857Z] + 00000010 72 65 71 75 65 73 74 49 64 78 24 33 61 65 65 36 |requestIdx$3aee6| [2024-08-21T11:36:17.857Z] + 00000020 37 37 30 2d 63 35 33 63 2d 34 35 64 65 2d 61 62 |770-c53c-45de-ab| [2024-08-21T11:36:17.857Z] + 00000030 62 37 2d 61 36 31 65 35 34 61 61 34 30 38 33 65 |b7-a61e54aa4083e| [2024-08-21T11:36:17.857Z] + 00000040 65 76 65 6e 74 a7 6a 61 70 69 56 65 72 73 69 6f |event.japiVersio| [2024-08-21T11:36:17.857Z] + 00000050 6e 62 76 33 62 69 64 78 24 62 63 63 64 66 61 65 |nbv3bidx$bccdfae| [2024-08-21T11:36:17.857Z] + 00000060 64 2d 64 36 32 63 2d 34 34 66 34 2d 38 39 31 38 |d-d62c-44f4-8918| [2024-08-21T11:36:17.857Z] + 00000070 2d 38 34 30 64 37 33 64 62 62 64 38 32 6a 64 65 |-840d73dbbd82jde| [2024-08-21T11:36:17.857Z] + 00000080 76 69 63 65 4e 61 6d 65 74 46 61 6d 69 6c 79 52 |viceNametFamilyR| [2024-08-21T11:36:17.857Z] + 00000090 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 6b 70 72 |oomThermostatkpr| [2024-08-21T11:36:17.857Z] + 000000a0 6f 66 69 6c 65 4e 61 6d 65 6a 54 68 65 72 6d 6f |ofileNamejThermo| [2024-08-21T11:36:17.857Z] + 000000b0 73 74 61 74 6a 73 6f 75 72 63 65 4e 61 6d 65 6b |statjsourceNamek| [2024-08-21T11:36:17.857Z] + 000000c0 54 65 6d 70 65 72 61 74 75 72 65 66 6f 72 69 67 |Temperatureforig| [2024-08-21T11:36:17.857Z] + 000000d0 69 6e 1b 17 ed bb 4e 26 69 11 ba 68 72 65 61 64 |in....N&i..hread| [2024-08-21T11:36:17.857Z] + 000000e0 69 6e 67 73 81 a7 62 69 64 78 24 64 32 61 36 64 |ings..bidx$d2a6d| [2024-08-21T11:36:17.857Z] + 000000f0 36 37 36 2d 39 63 31 61 2d 34 37 33 30 2d 38 63 |676-9c1a-4730-8c| [2024-08-21T11:36:17.857Z] + 00000100 61 65 2d 66 31 62 63 34 31 63 61 63 65 66 31 66 |ae-f1bc41cacef1f| [2024-08-21T11:36:17.857Z] + 00000110 6f 72 69 67 69 6e 1b 17 ed bb 4e 26 69 d3 69 6a |origin....N&i.ij| [2024-08-21T11:36:17.857Z] + 00000120 64 65 76 69 63 65 4e 61 6d 65 74 46 61 6d 69 6c |deviceNametFamil| [2024-08-21T11:36:17.857Z] + 00000130 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 6c |yRoomThermostatl| [2024-08-21T11:36:17.857Z] + 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 6b 54 65 6d |resourceNamekTem| [2024-08-21T11:36:17.857Z] + 00000150 70 65 72 61 74 75 72 65 6b 70 72 6f 66 69 6c 65 |peraturekprofile| [2024-08-21T11:36:17.857Z] + 00000160 4e 61 6d 65 6a 54 68 65 72 6d 6f 73 74 61 74 69 |NamejThermostati| [2024-08-21T11:36:17.857Z] + 00000170 76 61 6c 75 65 54 79 70 65 65 49 6e 74 36 34 65 |valueTypeeInt64e| [2024-08-21T11:36:17.857Z] + 00000180 76 61 6c 75 65 62 37 32 |valueb72| [2024-08-21T11:36:17.857Z] } [2024-08-21T11:36:17.857Z] Test: TestDecode_Process_MessageTargetType/CBOR_default_Target_Type [2024-08-21T11:36:17.857Z] Messages: 'CBOR default Target Type' test failed [2024-08-21T11:36:17.857Z] runtime_test.go:283: [2024-08-21T11:36:17.857Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 [2024-08-21T11:36:17.857Z] /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:466 [2024-08-21T11:36:17.857Z] Error: Should be true [2024-08-21T11:36:17.857Z] Test: TestDecode_Process_MessageTargetType/CBOR_default_Target_Type [2024-08-21T11:36:17.857Z] --- FAIL: TestDecode_Process_MessageTargetType/JSON_Event_Event_DTO (0.00s) [2024-08-21T11:36:17.857Z] runtime_test.go:283: [2024-08-21T11:36:17.857Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 [2024-08-21T11:36:17.857Z] /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:468 [2024-08-21T11:36:17.857Z] Error: Should be true [2024-08-21T11:36:17.857Z] Test: TestDecode_Process_MessageTargetType/JSON_Event_Event_DTO [2024-08-21T11:36:17.858Z] --- FAIL: TestDecode_Process_MessageTargetType/CBOR_Event_Event_DTO (0.02s) [2024-08-21T11:36:17.858Z] runtime_test.go:462: [2024-08-21T11:36:17.858Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:462 [2024-08-21T11:36:17.858Z] Error: Not equal: [2024-08-21T11:36:17.858Z] 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} [2024-08-21T11:36:17.858Z] 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} [2024-08-21T11:36:17.858Z] [2024-08-21T11:36:17.858Z] Diff: [2024-08-21T11:36:17.858Z] --- Expected [2024-08-21T11:36:17.858Z] +++ Actual [2024-08-21T11:36:17.858Z] @@ -1,27 +1,23 @@ [2024-08-21T11:36:17.858Z] -([]uint8) (len=395) { [2024-08-21T11:36:17.858Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2024-08-21T11:36:17.858Z] - 00000010 33 22 2c 22 69 64 22 3a 22 62 63 63 64 66 61 65 |3","id":"bccdfae| [2024-08-21T11:36:17.858Z] - 00000020 64 2d 64 36 32 63 2d 34 34 66 34 2d 38 39 31 38 |d-d62c-44f4-8918| [2024-08-21T11:36:17.858Z] - 00000030 2d 38 34 30 64 37 33 64 62 62 64 38 32 22 2c 22 |-840d73dbbd82","| [2024-08-21T11:36:17.858Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2024-08-21T11:36:17.858Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2024-08-21T11:36:17.858Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2024-08-21T11:36:17.858Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 73 |:"Thermostat","s| [2024-08-21T11:36:17.858Z] - 00000080 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 65 6d 70 |ourceName":"Temp| [2024-08-21T11:36:17.858Z] - 00000090 65 72 61 74 75 72 65 22 2c 22 6f 72 69 67 69 6e |erature","origin| [2024-08-21T11:36:17.858Z] - 000000a0 22 3a 31 37 32 34 32 34 30 31 37 36 36 37 39 30 |":17242401766790| [2024-08-21T11:36:17.858Z] - 000000b0 33 31 32 32 36 2c 22 72 65 61 64 69 6e 67 73 22 |31226,"readings"| [2024-08-21T11:36:17.858Z] - 000000c0 3a 5b 7b 22 69 64 22 3a 22 64 32 61 36 64 36 37 |:[{"id":"d2a6d67| [2024-08-21T11:36:17.858Z] - 000000d0 36 2d 39 63 31 61 2d 34 37 33 30 2d 38 63 61 65 |6-9c1a-4730-8cae| [2024-08-21T11:36:17.858Z] - 000000e0 2d 66 31 62 63 34 31 63 61 63 65 66 31 22 2c 22 |-f1bc41cacef1","| [2024-08-21T11:36:17.858Z] - 000000f0 6f 72 69 67 69 6e 22 3a 31 37 32 34 32 34 30 31 |origin":17242401| [2024-08-21T11:36:17.858Z] - 00000100 37 36 36 37 39 30 38 30 38 30 39 2c 22 64 65 76 |76679080809,"dev| [2024-08-21T11:36:17.858Z] - 00000110 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 |iceName":"Family| [2024-08-21T11:36:17.858Z] - 00000120 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c |RoomThermostat",| [2024-08-21T11:36:17.858Z] - 00000130 22 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 |"resourceName":"| [2024-08-21T11:36:17.858Z] - 00000140 54 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 |Temperature","pr| [2024-08-21T11:36:17.858Z] - 00000150 6f 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 |ofileName":"Ther| [2024-08-21T11:36:17.858Z] - 00000160 6d 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 |mostat","valueTy| [2024-08-21T11:36:17.858Z] - 00000170 70 65 22 3a 22 49 6e 74 36 34 22 2c 22 76 61 6c |pe":"Int64","val| [2024-08-21T11:36:17.858Z] - 00000180 75 65 22 3a 22 37 32 22 7d 5d 7d |ue":"72"}]}| [2024-08-21T11:36:17.858Z] +([]uint8) (len=323) { [2024-08-21T11:36:17.858Z] + 00000000 a7 6a 61 70 69 56 65 72 73 69 6f 6e 62 76 33 62 |.japiVersionbv3b| [2024-08-21T11:36:17.858Z] + 00000010 69 64 78 24 62 63 63 64 66 61 65 64 2d 64 36 32 |idx$bccdfaed-d62| [2024-08-21T11:36:17.858Z] + 00000020 63 2d 34 34 66 34 2d 38 39 31 38 2d 38 34 30 64 |c-44f4-8918-840d| [2024-08-21T11:36:17.858Z] + 00000030 37 33 64 62 62 64 38 32 6a 64 65 76 69 63 65 4e |73dbbd82jdeviceN| [2024-08-21T11:36:17.858Z] + 00000040 61 6d 65 74 46 61 6d 69 6c 79 52 6f 6f 6d 54 68 |ametFamilyRoomTh| [2024-08-21T11:36:17.858Z] + 00000050 65 72 6d 6f 73 74 61 74 6b 70 72 6f 66 69 6c 65 |ermostatkprofile| [2024-08-21T11:36:17.858Z] + 00000060 4e 61 6d 65 6a 54 68 65 72 6d 6f 73 74 61 74 6a |NamejThermostatj| [2024-08-21T11:36:17.858Z] + 00000070 73 6f 75 72 63 65 4e 61 6d 65 6b 54 65 6d 70 65 |sourceNamekTempe| [2024-08-21T11:36:17.858Z] + 00000080 72 61 74 75 72 65 66 6f 72 69 67 69 6e 1b 17 ed |ratureforigin...| [2024-08-21T11:36:17.858Z] + 00000090 bb 4e 26 69 11 ba 68 72 65 61 64 69 6e 67 73 81 |.N&i..hreadings.| [2024-08-21T11:36:17.858Z] + 000000a0 a7 62 69 64 78 24 64 32 61 36 64 36 37 36 2d 39 |.bidx$d2a6d676-9| [2024-08-21T11:36:17.858Z] + 000000b0 63 31 61 2d 34 37 33 30 2d 38 63 61 65 2d 66 31 |c1a-4730-8cae-f1| [2024-08-21T11:36:17.858Z] + 000000c0 62 63 34 31 63 61 63 65 66 31 66 6f 72 69 67 69 |bc41cacef1forigi| [2024-08-21T11:36:17.858Z] + 000000d0 6e 1b 17 ed bb 4e 26 69 d3 69 6a 64 65 76 69 63 |n....N&i.ijdevic| [2024-08-21T11:36:17.858Z] + 000000e0 65 4e 61 6d 65 74 46 61 6d 69 6c 79 52 6f 6f 6d |eNametFamilyRoom| [2024-08-21T11:36:17.858Z] + 000000f0 54 68 65 72 6d 6f 73 74 61 74 6c 72 65 73 6f 75 |Thermostatlresou| [2024-08-21T11:36:17.858Z] + 00000100 72 63 65 4e 61 6d 65 6b 54 65 6d 70 65 72 61 74 |rceNamekTemperat| [2024-08-21T11:36:17.858Z] + 00000110 75 72 65 6b 70 72 6f 66 69 6c 65 4e 61 6d 65 6a |urekprofileNamej| [2024-08-21T11:36:17.858Z] + 00000120 54 68 65 72 6d 6f 73 74 61 74 69 76 61 6c 75 65 |Thermostativalue| [2024-08-21T11:36:17.858Z] + 00000130 54 79 70 65 65 49 6e 74 36 34 65 76 61 6c 75 65 |TypeeInt64evalue| [2024-08-21T11:36:17.858Z] + 00000140 62 37 32 |b72| [2024-08-21T11:36:17.858Z] } [2024-08-21T11:36:17.858Z] Test: TestDecode_Process_MessageTargetType/CBOR_Event_Event_DTO [2024-08-21T11:36:17.858Z] Messages: 'CBOR Event Event DTO' test failed [2024-08-21T11:36:17.858Z] runtime_test.go:283: [2024-08-21T11:36:17.858Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:283 [2024-08-21T11:36:17.858Z] /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:468 [2024-08-21T11:36:17.858Z] Error: Should be true [2024-08-21T11:36:17.858Z] Test: TestDecode_Process_MessageTargetType/CBOR_Event_Event_DTO [2024-08-21T11:36:17.858Z] --- FAIL: TestGolangRuntime_processEventPayload (0.02s) [2024-08-21T11:36:17.858Z] --- FAIL: TestGolangRuntime_processEventPayload/invalid_JSON (0.00s) [2024-08-21T11:36:17.858Z] runtime_test.go:543: [2024-08-21T11:36:17.858Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:543 [2024-08-21T11:36:17.858Z] Error: An error is expected but got nil. [2024-08-21T11:36:17.858Z] Test: TestGolangRuntime_processEventPayload/invalid_JSON [2024-08-21T11:36:17.858Z] --- FAIL: TestGolangRuntime_processEventPayload/invalid_CBOR (0.00s) [2024-08-21T11:36:17.858Z] runtime_test.go:543: [2024-08-21T11:36:17.858Z] Error Trace: /w/workspace/app-functions-sdk-go/5/internal/runtime/runtime_test.go:543 [2024-08-21T11:36:17.858Z] Error: An error is expected but got nil. [2024-08-21T11:36:17.858Z] Test: TestGolangRuntime_processEventPayload/invalid_CBOR [2024-08-21T11:36:17.858Z] FAIL [2024-08-21T11:36:17.858Z] coverage: 76.9% of statements [2024-08-21T11:36:17.858Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.542s [2024-08-21T11:36:18.124Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] [2024-08-21T11:36:19.537Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.252s coverage: 97.3% of statements [2024-08-21T11:36:21.487Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] [2024-08-21T11:36:21.754Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] [2024-08-21T11:36:22.337Z] # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt.test] [2024-08-21T11:36:22.337Z] internal/trigger/mqtt/mqtt_test.go:120:5: unknown field mqttClient in struct literal of type Trigger [2024-08-21T11:36:22.603Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] [2024-08-21T11:36:22.871Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.285s coverage: 82.8% of statements [2024-08-21T11:36:23.138Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.277s coverage: 65.1% of statements [2024-08-21T11:36:23.138Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [build failed] [2024-08-21T11:36:27.394Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] [2024-08-21T11:36:27.394Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-21T11:36:27.394Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.217s coverage: 17.2% of statements [2024-08-21T11:36:27.975Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.227s coverage: 27.3% of statements [2024-08-21T11:36:32.215Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.271s coverage: 52.8% of statements [2024-08-21T11:37:04.410Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.546s coverage: 75.5% of statements [2024-08-21T11:37:04.410Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.188s coverage: 94.4% of statements [2024-08-21T11:37:04.410Z] FAIL [2024-08-21T11:37:04.410Z] make: *** [Makefile:43: test-sdk] Error 1 [Pipeline] } [2024-08-21T11:37:04.426Z] $ docker stop --time=1 532467a1ff19bf48dde30c15ffd9043fac6043f76c58e768ca8fe0bef06c34f4 [2024-08-21T11:37:06.244Z] $ 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 [2024-08-21T11:37:10.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-21T11:37:10.850Z] [2024-08-21T11:37:10.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-21T11:37:11.192Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-21T11:37:11.458Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-21T11:37:11.458Z] 8998bd30e6a1: Pulling fs layer [2024-08-21T11:37:11.458Z] 04944245beec: Pulling fs layer [2024-08-21T11:37:11.458Z] 699f458cf7ca: Pulling fs layer [2024-08-21T11:37:11.458Z] 765212b225bb: Pulling fs layer [2024-08-21T11:37:11.458Z] f23df028b6ca: Pulling fs layer [2024-08-21T11:37:11.458Z] d65c8cfc05b1: Pulling fs layer [2024-08-21T11:37:11.458Z] 2437ff75d9bd: Pulling fs layer [2024-08-21T11:37:11.458Z] f23df028b6ca: Waiting [2024-08-21T11:37:11.458Z] d65c8cfc05b1: Waiting [2024-08-21T11:37:11.458Z] 2437ff75d9bd: Waiting [2024-08-21T11:37:11.458Z] 765212b225bb: Waiting [2024-08-21T11:37:11.458Z] 04944245beec: Verifying Checksum [2024-08-21T11:37:11.458Z] 04944245beec: Download complete [2024-08-21T11:37:11.458Z] 765212b225bb: Verifying Checksum [2024-08-21T11:37:11.458Z] 765212b225bb: Download complete [2024-08-21T11:37:11.722Z] f23df028b6ca: Verifying Checksum [2024-08-21T11:37:11.722Z] f23df028b6ca: Download complete [2024-08-21T11:37:11.722Z] d65c8cfc05b1: Verifying Checksum [2024-08-21T11:37:11.722Z] d65c8cfc05b1: Download complete [2024-08-21T11:37:11.722Z] 699f458cf7ca: Verifying Checksum [2024-08-21T11:37:11.722Z] 699f458cf7ca: Download complete [2024-08-21T11:37:12.302Z] 8998bd30e6a1: Verifying Checksum [2024-08-21T11:37:12.302Z] 8998bd30e6a1: Download complete [2024-08-21T11:37:14.870Z] 2437ff75d9bd: Verifying Checksum [2024-08-21T11:37:14.870Z] 2437ff75d9bd: Download complete [2024-08-21T11:37:16.807Z] 8998bd30e6a1: Pull complete [2024-08-21T11:37:17.388Z] 04944245beec: Pull complete [2024-08-21T11:37:18.792Z] 699f458cf7ca: Pull complete [2024-08-21T11:37:19.056Z] 765212b225bb: Pull complete [2024-08-21T11:37:20.008Z] f23df028b6ca: Pull complete [2024-08-21T11:37:20.272Z] d65c8cfc05b1: Pull complete [2024-08-21T11:37:38.458Z] 2437ff75d9bd: Pull complete [2024-08-21T11:37:38.458Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-21T11:37:38.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-21T11:37:38.458Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T11:37:38.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-8101 does not seem to be running inside a container [2024-08-21T11:37:38.731Z] $ 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 [2024-08-21T11:37:40.237Z] $ docker top 35bf7c118b6a212a139e5112392ecbfd5fbe6eb82c2aa1b27bc7c9b16e8310d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-21T11:37:41.076Z] ---> job-cost.sh [2024-08-21T11:37:41.076Z] lf-activate-venv: SKIPPING [2024-08-21T11:37:41.076Z] INFO: No Stack... [2024-08-21T11:37:41.655Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-21T11:37:42.235Z] INFO: Archiving Costs [Pipeline] sh [2024-08-21T11:37:42.868Z] + cat /w/workspace/app-functions-sdk-go/5/archives/cost.csv [2024-08-21T11:37:42.868Z] + cut -d, -f6 [Pipeline] lock [2024-08-21T11:37:42.890Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] [2024-08-21T11:37:42.899Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] did not exist. Created. [2024-08-21T11:37:42.906Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-21T11:37:43.568Z] /w/workspace/app-functions-sdk-go/5@tmp/durable-9f4fe147/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-21T11:37:44.204Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-21T11:37:44.233Z] Warning: overwriting stash ‘stack-cost’ [2024-08-21T11:37:45.442Z] Stashed 1 file(s) [Pipeline] } [2024-08-21T11:37:45.459Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-21T11:37:45.492Z] $ docker stop --time=1 35bf7c118b6a212a139e5112392ecbfd5fbe6eb82c2aa1b27bc7c9b16e8310d1 [2024-08-21T11:37:46.974Z] $ 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] } [2024-08-21T11:37:47.278Z] 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 [2024-08-21T11:37:48.203Z] + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1601/archives ] [2024-08-21T11:37:48.203Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1601/archives [2024-08-21T11:37:48.203Z] total 16 [2024-08-21T11:37:48.203Z] drwxr-xr-x 3 root root 4096 Aug 21 11:26 . [2024-08-21T11:37:48.203Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 21 11:26 .. [2024-08-21T11:37:48.203Z] drwxr-xr-x 2 root root 4096 Aug 21 11:26 cost [2024-08-21T11:37:48.203Z] -rw-r--r-- 1 root root 93 Aug 21 11:26 cost.csv [2024-08-21T11:37:48.203Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1601/archives [2024-08-21T11:37:48.203Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1601/archives [2024-08-21T11:37:48.203Z] total 16 [2024-08-21T11:37:48.203Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 21 11:26 . [2024-08-21T11:37:48.203Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 21 11:26 .. [2024-08-21T11:37:48.203Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 21 11:26 cost [2024-08-21T11:37:48.203Z] -rw-r--r-- 1 jenkins jenkins 93 Aug 21 11:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-21T11:37:48.496Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-21T11:37:49.361Z] ---> package-listing.sh [2024-08-21T11:37:49.361Z] ++ facter osfamily [2024-08-21T11:37:49.361Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-21T11:37:49.620Z] + OS_FAMILY=debian [2024-08-21T11:37:49.620Z] + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1601 [2024-08-21T11:37:49.620Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-21T11:37:49.620Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-21T11:37:49.620Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-21T11:37:49.620Z] + PACKAGES=/tmp/packages_start.txt [2024-08-21T11:37:49.620Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1601 ']' [2024-08-21T11:37:49.620Z] + PACKAGES=/tmp/packages_end.txt [2024-08-21T11:37:49.620Z] + case "${OS_FAMILY}" in [2024-08-21T11:37:49.620Z] + dpkg -l [2024-08-21T11:37:49.620Z] + grep '^ii' [2024-08-21T11:37:49.620Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-21T11:37:49.620Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-21T11:37:49.620Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-21T11:37:49.620Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1601 ']' [2024-08-21T11:37:49.620Z] + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1601/archives/ [2024-08-21T11:37:49.620Z] + 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 [2024-08-21T11:37:49.630Z] 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 [2024-08-21T11:37:49.906Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-21T11:37:50.474Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-21T11:37:50.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T11:37:50.550Z] prd-ubuntu20.04-docker-8c-8g-8100 does not seem to be running inside a container [2024-08-21T11:37:50.570Z] $ 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 [2024-08-21T11:37:52.887Z] $ docker top 42ce508746a911f3430e65d259835fc0799651d1c268b6e7afe455e5659f1e2f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-21T11:37:53.253Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-21T11:37:53.542Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-21T11:37:53.830Z] + ls /var/log/sa-host [2024-08-21T11:37:53.830Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-21T11:37:53.996Z] provisioning config files... [2024-08-21T11:37:54.008Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/config8299769051092021053tmp [Pipeline] { [Pipeline] echo [2024-08-21T11:37:54.027Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-21T11:37:54.333Z] ---> create-netrc.sh [Pipeline] } [2024-08-21T11:37:54.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-21T11:37:54.680Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-21T11:37:54.689Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-21T11:37:54.985Z] ---> sudo-logs.sh [2024-08-21T11:37:54.985Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-21T11:37:55.018Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-21T11:37:55.301Z] ---> job-cost.sh [2024-08-21T11:37:55.301Z] lf-activate-venv: SKIPPING [2024-08-21T11:37:55.301Z] DEBUG: total: 0.2199999988079071 [2024-08-21T11:37:55.301Z] INFO: Retrieving Stack Cost... [2024-08-21T11:37:55.560Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-21T11:37:56.145Z] INFO: Archiving Costs [Pipeline] echo [2024-08-21T11:37:56.158Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-21T11:37:56.438Z] ---> logs-deploy.sh [2024-08-21T11:37:56.438Z] lf-activate-venv: SKIPPING [2024-08-21T11:37:56.438Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1601/5 [2024-08-21T11:37:56.438Z] INFO: archiving workspace using pattern(s): [2024-08-21T11:37:57.376Z] Archives upload complete. [2024-08-21T11:37:57.376Z] INFO: archiving logs to Nexus