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 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 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-ssh3443680259317337410.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-ssh13205754660651612266.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-ssh1310984647060292247.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-ssh3388683307654921318.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-ssh17117518012490944889.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8093 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 > 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 Merging remotes/origin/napa commit 2d559bfd24087982bdd8bbb47fa03227def45c27 into PR head commit 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 Merge succeeded, producing 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 Checking out Revision 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 (PR-1601) > git config core.sparsecheckout # timeout=10 > git checkout -f 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2d559bfd24087982bdd8bbb47fa03227def45c27 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 # timeout=10 Commit message: "feat(runtime.go): envelope doesn't validate" > git rev-list --no-walk f3184e3a93a5cb4e8557ce8489b47d5f3abd642d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-21T10:06:27.158Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-21T10:06:27.241Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-21T10:06:27.269Z] ========================================================= [2024-08-21T10:06:27.269Z] EdgeX Global Pipelines Version Info [2024-08-21T10:06:27.269Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-21T10:06:28.123Z] ------------------- [2024-08-21T10:06:28.123Z] stable info: [2024-08-21T10:06:28.123Z] ------------------- [2024-08-21T10:06:28.123Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-21T10:06:28.123Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-21T10:06:28.123Z] Message: update stable to v1.0.260 [2024-08-21T10:06:28.708Z] ------------------- [2024-08-21T10:06:28.708Z] experimental info: [2024-08-21T10:06:28.708Z] ------------------- [2024-08-21T10:06:28.708Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-21T10:06:28.708Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-21T10:06:28.708Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-21T10:06:28.800Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2024-08-21T10:06:28.818Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2024-08-21T10:06:28.839Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-21T10:06:28.857Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-21T10:06:28.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-21T10:06:28.909Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-21T10:06:28.930Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-21T10:06:28.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-21T10:06:28.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-21T10:06:28.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-21T10:06:29.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-21T10:06:29.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2024-08-21T10:06:29.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-21T10:06:29.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-21T10:06:29.140Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2024-08-21T10:06:29.167Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-08-21T10:06:29.193Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-21T10:06:29.216Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-21T10:06:29.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-21T10:06:29.267Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-21T10:06:29.291Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-21T10:06:29.315Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-08-21T10:06:29.339Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-21T10:06:29.362Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-21T10:06:29.381Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2024-08-21T10:06:29.407Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-21T10:06:29.432Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-21T10:06:29.455Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1601 [Pipeline] echo [2024-08-21T10:06:29.475Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1601 [Pipeline] echo [2024-08-21T10:06:29.501Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1601 [Pipeline] echo [2024-08-21T10:06:29.527Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 [Pipeline] echo [2024-08-21T10:06:29.548Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31e92e1 [Pipeline] echo [2024-08-21T10:06:29.573Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-21T10:06:29.958Z] + git rev-list -1 --merges 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9~1..31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 [Pipeline] echo [2024-08-21T10:06:29.996Z] -----------> git rev-list -1 --merges 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9~1..31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 [false] [Pipeline] sh [2024-08-21T10:06:30.295Z] + git log --format=format:%s -1 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 [Pipeline] echo [2024-08-21T10:06:30.316Z] ========================================================= [2024-08-21T10:06:30.316Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-21T10:06:30.316Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-21T10:06:30.669Z] + git log --format=format:%s -1 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 [Pipeline] echo [2024-08-21T10:06:30.681Z] [semverPrep] GIT_COMMIT: 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9, Commit Message: feat(runtime.go): envelope doesn't validate [Pipeline] echo [2024-08-21T10:06:30.703Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-21T10:06:31.094Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-21T10:06:31.094Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-21T10:06:31.094Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-21T10:06:31.094Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-21T10:06:31.094Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-21T10:06:31.094Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-21T10:06:31.094Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-21T10:06:31.551Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-21T10:06:31.551Z] [2024-08-21T10:06:31.551Z] 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-21T10:06:31.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-21T10:06:32.147Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-21T10:06:32.147Z] b85a868b505f: Pulling fs layer [2024-08-21T10:06:32.147Z] e2be974225ed: Pulling fs layer [2024-08-21T10:06:32.147Z] 339a4e72a1f5: Pulling fs layer [2024-08-21T10:06:32.147Z] 988bab9f4d93: Pulling fs layer [2024-08-21T10:06:32.147Z] 1469e6f7b9e6: Pulling fs layer [2024-08-21T10:06:32.147Z] eaf3925da568: Pulling fs layer [2024-08-21T10:06:32.147Z] bab4dde63d76: Pulling fs layer [2024-08-21T10:06:32.147Z] bde34c3a00c8: Pulling fs layer [2024-08-21T10:06:32.147Z] b352a97aabf1: Pulling fs layer [2024-08-21T10:06:32.147Z] 4872d77fe225: Pulling fs layer [2024-08-21T10:06:32.147Z] 5851b861e8e6: Pulling fs layer [2024-08-21T10:06:32.147Z] eaf3925da568: Waiting [2024-08-21T10:06:32.147Z] 988bab9f4d93: Waiting [2024-08-21T10:06:32.147Z] 1469e6f7b9e6: Waiting [2024-08-21T10:06:32.147Z] 5851b861e8e6: Waiting [2024-08-21T10:06:32.147Z] 4872d77fe225: Waiting [2024-08-21T10:06:32.147Z] bab4dde63d76: Waiting [2024-08-21T10:06:32.147Z] bde34c3a00c8: Waiting [2024-08-21T10:06:32.147Z] b352a97aabf1: Waiting [2024-08-21T10:06:32.147Z] e2be974225ed: Verifying Checksum [2024-08-21T10:06:32.147Z] e2be974225ed: Download complete [2024-08-21T10:06:32.147Z] 988bab9f4d93: Verifying Checksum [2024-08-21T10:06:32.147Z] 988bab9f4d93: Download complete [2024-08-21T10:06:32.147Z] 1469e6f7b9e6: Verifying Checksum [2024-08-21T10:06:32.147Z] 1469e6f7b9e6: Download complete [2024-08-21T10:06:32.147Z] eaf3925da568: Verifying Checksum [2024-08-21T10:06:32.147Z] eaf3925da568: Download complete [2024-08-21T10:06:32.407Z] 339a4e72a1f5: Verifying Checksum [2024-08-21T10:06:32.407Z] 339a4e72a1f5: Download complete [2024-08-21T10:06:32.407Z] bde34c3a00c8: Download complete [2024-08-21T10:06:32.407Z] b352a97aabf1: Verifying Checksum [2024-08-21T10:06:32.407Z] b352a97aabf1: Download complete [2024-08-21T10:06:32.407Z] 4872d77fe225: Verifying Checksum [2024-08-21T10:06:32.407Z] 4872d77fe225: Download complete [2024-08-21T10:06:32.407Z] 5851b861e8e6: Download complete [2024-08-21T10:06:32.407Z] b85a868b505f: Verifying Checksum [2024-08-21T10:06:32.407Z] b85a868b505f: Download complete [2024-08-21T10:06:32.665Z] bab4dde63d76: Verifying Checksum [2024-08-21T10:06:32.665Z] bab4dde63d76: Download complete [2024-08-21T10:06:33.601Z] b85a868b505f: Pull complete [2024-08-21T10:06:33.601Z] e2be974225ed: Pull complete [2024-08-21T10:06:34.170Z] 339a4e72a1f5: Pull complete [2024-08-21T10:06:34.170Z] 988bab9f4d93: Pull complete [2024-08-21T10:06:34.430Z] 1469e6f7b9e6: Pull complete [2024-08-21T10:06:34.692Z] eaf3925da568: Pull complete [2024-08-21T10:06:36.597Z] bab4dde63d76: Pull complete [2024-08-21T10:06:36.597Z] bde34c3a00c8: Pull complete [2024-08-21T10:06:36.597Z] b352a97aabf1: Pull complete [2024-08-21T10:06:36.859Z] 4872d77fe225: Pull complete [2024-08-21T10:06:36.859Z] 5851b861e8e6: Pull complete [2024-08-21T10:06:36.859Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-21T10:06:36.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-21T10:06:36.859Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T10:06:37.013Z] prd-ubuntu20.04-docker-8c-8g-8093 does not seem to be running inside a container [2024-08-21T10:06:37.050Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-21T10:06:41.488Z] $ docker top fc220257aae99396a2ea08cd706f535c6fd96a2f7357fd5298f33542d95daa67 -eo pid,comm [2024-08-21T10:06:41.542Z] 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-21T10:06:41.542Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-21T10:06:41.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-21T10:06:41.614Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-21T10:06:41.748Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-21T10:06:41.750Z] $ docker exec fc220257aae99396a2ea08cd706f535c6fd96a2f7357fd5298f33542d95daa67 ssh-agent [2024-08-21T10:06:41.867Z] SSH_AUTH_SOCK=/tmp/ssh-BN7UgOWYI0yN/agent.31 [2024-08-21T10:06:41.867Z] SSH_AGENT_PID=37 [2024-08-21T10:06:41.874Z] Running ssh-add (command line suppressed) [2024-08-21T10:06:41.985Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/private_key_2343917945395369142.key (/w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/private_key_2343917945395369142.key) [2024-08-21T10:06:42.000Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-21T10:06:42.298Z] + git tag --points-at HEAD [Pipeline] } [2024-08-21T10:06:42.308Z] $ docker exec --env ******** --env ******** fc220257aae99396a2ea08cd706f535c6fd96a2f7357fd5298f33542d95daa67 ssh-agent -k [2024-08-21T10:06:42.399Z] unset SSH_AUTH_SOCK; [2024-08-21T10:06:42.400Z] unset SSH_AGENT_PID; [2024-08-21T10:06:42.400Z] echo Agent pid 37 killed; [2024-08-21T10:06:42.411Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-21T10:06:42.454Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-21T10:06:42.455Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-21T10:06:42.572Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-21T10:06:42.574Z] $ docker exec fc220257aae99396a2ea08cd706f535c6fd96a2f7357fd5298f33542d95daa67 ssh-agent [2024-08-21T10:06:42.683Z] SSH_AUTH_SOCK=/tmp/ssh-FhGtoCy4TVvu/agent.69 [2024-08-21T10:06:42.683Z] SSH_AGENT_PID=75 [2024-08-21T10:06:42.688Z] Running ssh-add (command line suppressed) [2024-08-21T10:06:42.782Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/private_key_6351532508615796288.key (/w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/private_key_6351532508615796288.key) [2024-08-21T10:06:42.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-21T10:06:43.087Z] + git semver init [2024-08-21T10:06:43.349Z] 2024-08-21 10:06:43,312 [run_init] DEBUG init version:0.0.0 force:False [2024-08-21T10:06:43.349Z] 2024-08-21 10:06:43,313 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1601/.semver [2024-08-21T10:06:43.349Z] 2024-08-21 10:06:43,313 [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-21T10:06:43.349Z] 2024-08-21 10:06:43,314 [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-21T10:06:45.262Z] 2024-08-21 10:06:45,203 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1601/.git/info/exclude [2024-08-21T10:06:45.262Z] 2024-08-21 10:06:45,204 [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-21T10:06:45.262Z] 2024-08-21 10:06:45,204 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1601/.semver/PR-1601 [2024-08-21T10:06:45.262Z] 2024-08-21 10:06:45,209 [execute] INFO git cat-file --batch-check [2024-08-21T10:06:45.262Z] 2024-08-21 10:06:45,209 [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-21T10:06:45.262Z] 2024-08-21 10:06:45,214 [execute] INFO git cat-file --batch [2024-08-21T10:06:45.262Z] 2024-08-21 10:06:45,215 [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-21T10:06:45.262Z] 2024-08-21 10:06:45,220 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1601/.semver/PR-1601 [2024-08-21T10:06:45.262Z] 0.0.0 [Pipeline] } [2024-08-21T10:06:45.271Z] $ docker exec --env ******** --env ******** fc220257aae99396a2ea08cd706f535c6fd96a2f7357fd5298f33542d95daa67 ssh-agent -k [2024-08-21T10:06:45.374Z] unset SSH_AUTH_SOCK; [2024-08-21T10:06:45.374Z] unset SSH_AGENT_PID; [2024-08-21T10:06:45.375Z] echo Agent pid 75 killed; [2024-08-21T10:06:45.387Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-21T10:06:45.721Z] + git semver [Pipeline] } [2024-08-21T10:06:45.992Z] $ docker stop --time=1 fc220257aae99396a2ea08cd706f535c6fd96a2f7357fd5298f33542d95daa67 [2024-08-21T10:06:47.314Z] $ docker rm -f --volumes fc220257aae99396a2ea08cd706f535c6fd96a2f7357fd5298f33542d95daa67 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-21T10:06:47.674Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-21T10:06:47.924Z] Stashed 1 file(s) [Pipeline] echo [2024-08-21T10:06:47.927Z] [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-21T10:06:48.159Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-08-21T10:06:48.453Z] + grep ^go [0-9].[0-9]* go.mod [2024-08-21T10:06:48.453Z] + cut -d -f 2 [Pipeline] echo [2024-08-21T10:06:48.474Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-21T10:06:48.492Z] ========================================================= [2024-08-21T10:06:48.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-08-21T10:06:48.492Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2024-08-21T10:06:48.945Z] + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-08-21T10:06:48.945Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-08-21T10:06:48.945Z] 619be1103602: Pulling fs layer [2024-08-21T10:06:48.945Z] 7862e08f4a3e: Pulling fs layer [2024-08-21T10:06:48.945Z] 5df492c9dc93: Pulling fs layer [2024-08-21T10:06:48.945Z] 7629e6793208: Pulling fs layer [2024-08-21T10:06:48.945Z] 4f4fb700ef54: Pulling fs layer [2024-08-21T10:06:48.945Z] 8de7f028bff5: Pulling fs layer [2024-08-21T10:06:48.945Z] 44042ff1420b: Pulling fs layer [2024-08-21T10:06:48.945Z] 5cdaf54b7214: Pulling fs layer [2024-08-21T10:06:48.945Z] 38f3e5a9071a: Pulling fs layer [2024-08-21T10:06:48.945Z] 4f4fb700ef54: Waiting [2024-08-21T10:06:48.945Z] 8de7f028bff5: Waiting [2024-08-21T10:06:48.945Z] 38f3e5a9071a: Waiting [2024-08-21T10:06:48.945Z] 7629e6793208: Waiting [2024-08-21T10:06:48.945Z] 5cdaf54b7214: Waiting [2024-08-21T10:06:48.945Z] 7862e08f4a3e: Download complete [2024-08-21T10:06:48.945Z] 7629e6793208: Verifying Checksum [2024-08-21T10:06:48.945Z] 7629e6793208: Download complete [2024-08-21T10:06:48.945Z] 4f4fb700ef54: Verifying Checksum [2024-08-21T10:06:48.945Z] 4f4fb700ef54: Download complete [2024-08-21T10:06:48.945Z] 619be1103602: Download complete [2024-08-21T10:06:48.945Z] 8de7f028bff5: Verifying Checksum [2024-08-21T10:06:48.945Z] 8de7f028bff5: Download complete [2024-08-21T10:06:48.945Z] 44042ff1420b: Verifying Checksum [2024-08-21T10:06:48.945Z] 44042ff1420b: Download complete [2024-08-21T10:06:49.205Z] 619be1103602: Pull complete [2024-08-21T10:06:49.205Z] 38f3e5a9071a: Verifying Checksum [2024-08-21T10:06:49.205Z] 38f3e5a9071a: Download complete [2024-08-21T10:06:49.205Z] 7862e08f4a3e: Pull complete [2024-08-21T10:06:49.774Z] 5cdaf54b7214: Verifying Checksum [2024-08-21T10:06:56.354Z] 5df492c9dc93: Verifying Checksum [2024-08-21T10:06:56.354Z] 5df492c9dc93: Download complete [2024-08-21T10:06:59.650Z] 5df492c9dc93: Pull complete [2024-08-21T10:06:59.650Z] 7629e6793208: Pull complete [2024-08-21T10:06:59.650Z] 4f4fb700ef54: Pull complete [2024-08-21T10:06:59.650Z] 8de7f028bff5: Pull complete [2024-08-21T10:06:59.650Z] 44042ff1420b: Pull complete [2024-08-21T10:07:02.185Z] 5cdaf54b7214: Pull complete [2024-08-21T10:07:02.752Z] 38f3e5a9071a: Pull complete [2024-08-21T10:07:02.752Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-08-21T10:07:02.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-08-21T10:07:02.752Z] nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [Pipeline] sh [2024-08-21T10:07:03.038Z] + 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-21T10:07:03.073Z] Still waiting to schedule task [2024-08-21T10:07:03.073Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-21T10:07:03.337Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-21T10:07:03.338Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T10:07:03.417Z] prd-ubuntu20.04-docker-8c-8g-8093 does not seem to be running inside a container [2024-08-21T10:07:03.446Z] $ 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 ******** ci-base-image-x86_64 cat [2024-08-21T10:07:06.873Z] $ docker top 47844c70254eddd5ebf13e263087016e34ff279ef138496cf11da82609c949a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-21T10:07:07.232Z] + go version [2024-08-21T10:07:07.232Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-21T10:07:07.241Z] $ docker stop --time=1 47844c70254eddd5ebf13e263087016e34ff279ef138496cf11da82609c949a5 [2024-08-21T10:07:08.508Z] $ docker rm -f --volumes 47844c70254eddd5ebf13e263087016e34ff279ef138496cf11da82609c949a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-21T10:07:08.957Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-21T10:07:08.957Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T10:07:09.046Z] prd-ubuntu20.04-docker-8c-8g-8093 does not seem to be running inside a container [2024-08-21T10:07:09.072Z] $ 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 ******** ci-base-image-x86_64 cat [2024-08-21T10:07:09.448Z] $ docker top e7c0298a1a81d2eaaa3393d4ab45deabc06a5d557f635fa524d294910732d7ed -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-21T10:07:09.804Z] + git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1601 [Pipeline] fileExists [Pipeline] sh [2024-08-21T10:07:10.101Z] + make test [2024-08-21T10:07:10.101Z] make -C ./app-service-template build [2024-08-21T10:07:10.101Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' [2024-08-21T10:07:10.101Z] go mod tidy [2024-08-21T10:07:10.101Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0 [2024-08-21T10:07:10.101Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2024-08-21T10:07:10.101Z] go: downloading github.com/google/uuid v1.6.0 [2024-08-21T10:07:10.101Z] go: downloading github.com/stretchr/testify v1.9.0 [2024-08-21T10:07:10.359Z] go: downloading github.com/labstack/echo/v4 v4.11.2 [2024-08-21T10:07:10.359Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2024-08-21T10:07:10.359Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0 [2024-08-21T10:07:10.618Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0 [2024-08-21T10:07:10.618Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0 [2024-08-21T10:07:10.877Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2024-08-21T10:07:10.877Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2024-08-21T10:07:10.877Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2024-08-21T10:07:10.877Z] go: downloading github.com/stretchr/objx v0.5.2 [2024-08-21T10:07:10.877Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.2 [2024-08-21T10:07:10.878Z] go: downloading github.com/gorilla/websocket v1.5.0 [2024-08-21T10:07:10.878Z] go: downloading golang.org/x/net v0.25.0 [2024-08-21T10:07:10.878Z] go: downloading golang.org/x/sync v0.7.0 [2024-08-21T10:07:10.878Z] go: downloading github.com/go-playground/validator/v10 v10.15.5 [2024-08-21T10:07:10.878Z] go: downloading github.com/go-kit/log v0.2.1 [2024-08-21T10:07:10.878Z] go: downloading github.com/fxamacker/cbor/v2 v2.5.0 [2024-08-21T10:07:10.878Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2024-08-21T10:07:10.878Z] go: downloading github.com/labstack/gommon v0.4.0 [2024-08-21T10:07:10.878Z] go: downloading golang.org/x/crypto v0.23.0 [2024-08-21T10:07:11.446Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0 [2024-08-21T10:07:11.446Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0 [2024-08-21T10:07:11.446Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2024-08-21T10:07:11.446Z] go: downloading github.com/x448/float16 v0.8.4 [2024-08-21T10:07:11.446Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2024-08-21T10:07:11.446Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2024-08-21T10:07:11.704Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2024-08-21T10:07:11.704Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2024-08-21T10:07:11.704Z] go: downloading github.com/mattn/go-isatty v0.0.19 [2024-08-21T10:07:11.704Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2024-08-21T10:07:11.704Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2024-08-21T10:07:11.704Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2024-08-21T10:07:11.704Z] go: downloading github.com/leodido/go-urn v1.2.4 [2024-08-21T10:07:11.704Z] go: downloading golang.org/x/text v0.15.0 [2024-08-21T10:07:11.704Z] go: downloading github.com/go-playground/locales v0.14.1 [2024-08-21T10:07:11.704Z] go: downloading github.com/hashicorp/consul/api v1.25.1 [2024-08-21T10:07:11.963Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2024-08-21T10:07:11.963Z] go: downloading golang.org/x/time v0.5.0 [2024-08-21T10:07:11.963Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2024-08-21T10:07:11.963Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2024-08-21T10:07:11.963Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2024-08-21T10:07:11.963Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2024-08-21T10:07:11.963Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.2.0 [2024-08-21T10:07:12.222Z] go: downloading golang.org/x/sys v0.20.0 [2024-08-21T10:07:12.480Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2024-08-21T10:07:12.480Z] go: downloading github.com/nats-io/nats.go v1.31.0 [2024-08-21T10:07:12.480Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2024-08-21T10:07:12.480Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2024-08-21T10:07:12.480Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2024-08-21T10:07:12.480Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2024-08-21T10:07:12.480Z] go: downloading github.com/hashicorp/serf v0.10.1 [2024-08-21T10:07:12.480Z] go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 [2024-08-21T10:07:12.480Z] go: downloading github.com/google/go-cmp v0.6.0 [2024-08-21T10:07:12.480Z] go: downloading github.com/hashicorp/consul/sdk v0.14.1 [2024-08-21T10:07:12.739Z] go: downloading github.com/hashicorp/go-uuid v1.0.3 [2024-08-21T10:07:12.739Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2024-08-21T10:07:12.739Z] go: downloading github.com/kr/pretty v0.1.0 [2024-08-21T10:07:12.739Z] go: downloading github.com/Microsoft/go-winio v0.6.1 [2024-08-21T10:07:12.739Z] go: downloading github.com/zeebo/errs v1.3.0 [2024-08-21T10:07:12.739Z] go: downloading google.golang.org/grpc v1.63.2 [2024-08-21T10:07:12.739Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2024-08-21T10:07:12.739Z] go: downloading github.com/onsi/gomega v1.7.0 [2024-08-21T10:07:12.739Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2024-08-21T10:07:12.998Z] go: downloading github.com/fatih/color v1.14.1 [2024-08-21T10:07:12.998Z] go: downloading github.com/klauspost/compress v1.17.1 [2024-08-21T10:07:12.998Z] go: downloading github.com/nats-io/nkeys v0.4.6 [2024-08-21T10:07:12.998Z] go: downloading github.com/nats-io/nuid v1.0.1 [2024-08-21T10:07:12.998Z] go: downloading github.com/armon/go-metrics v0.4.1 [2024-08-21T10:07:12.998Z] go: downloading github.com/hashicorp/go-msgpack v0.5.5 [2024-08-21T10:07:12.998Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2024-08-21T10:07:12.998Z] go: downloading github.com/go-jose/go-jose/v4 v4.0.1 [2024-08-21T10:07:12.998Z] go: downloading google.golang.org/protobuf v1.34.1 [2024-08-21T10:07:12.998Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2024-08-21T10:07:13.257Z] go: downloading github.com/pkg/errors v0.9.1 [2024-08-21T10:07:13.257Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2024-08-21T10:07:13.257Z] go: downloading golang.org/x/tools v0.21.0 [2024-08-21T10:07:13.257Z] go: downloading github.com/kr/text v0.2.0 [2024-08-21T10:07:13.257Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2024-08-21T10:07:13.257Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2024-08-21T10:07:13.257Z] go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240509183442-62759503f434 [2024-08-21T10:07:13.257Z] go: downloading github.com/google/btree v1.0.1 [2024-08-21T10:07:13.257Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2024-08-21T10:07:13.257Z] go: downloading github.com/miekg/dns v1.1.41 [2024-08-21T10:07:13.257Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2024-08-21T10:07:13.257Z] go: downloading github.com/hpcloud/tail v1.0.0 [2024-08-21T10:07:13.257Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2024-08-21T10:07:13.257Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2024-08-21T10:07:13.516Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2024-08-21T10:07:13.516Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2024-08-21T10:07:13.516Z] go: downloading golang.org/x/mod v0.17.0 [2024-08-21T10:07:13.811Z] 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-21T10:07:31.907Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' [2024-08-21T10:07:31.907Z] make -C ./app-service-template test [2024-08-21T10:07:31.907Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' [2024-08-21T10:07:31.907Z] go test -race -coverprofile=coverage.out ./... [2024-08-21T10:07:53.891Z] ? app-new-service/config [no test files] [2024-08-21T10:07:53.891Z] ok app-new-service 1.050s coverage: 45.9% of statements [2024-08-21T10:07:53.891Z] ok app-new-service/functions 1.051s coverage: 85.3% of statements [2024-08-21T10:07:53.891Z] go vet ./... [2024-08-21T10:08:08.765Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-21T10:08:08.765Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-21T10:08:08.765Z] ./bin/test-attribution-txt.sh [2024-08-21T10:08:08.765Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' [2024-08-21T10:08:08.765Z] go test -race -coverprofile=coverage.out ./... [2024-08-21T10:08:12.042Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.408717745Z app=test source=configurable.go:718 msg="Could not find 'profilenames' parameter for FilterByProfileName" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.409020802Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByProfileName" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.409263407Z app=test source=configurable.go:718 msg="Could not find 'devicenames' parameter for FilterByDeviceName" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.409504682Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByDeviceName" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.409733017Z app=test source=configurable.go:718 msg="Could not find 'sourcenames' parameter for FilterBySourceName" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.409967842Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterBySourceName" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.410173486Z app=test source=configurable.go:718 msg="Could not find 'resourcenames' parameter for FilterByResourceName" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.410424251Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByResourceName" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.410767308Z app=test source=configurable.go:192 msg="Invalid transform type 'baDType'. Must be 'xml' or 'json'" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.411400912Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.411501994Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.411619046Z 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-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.4117399Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.411845122Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.411943384Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.412050196Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.412559107Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.412656739Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" [2024-08-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.412764311Z 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-21T10:08:22.020Z] level=ERROR ts=2024-08-21T10:08:20.412875243Z 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-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.412982635Z 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-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.413077997Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.41318319Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.413294272Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.413418564Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.414433196Z 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-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.414545209Z 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-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.414646171Z 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-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.414731213Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.414830385Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.414940077Z app=test source=configurable.go:467 msg="WillPayload must be present and non-empty when WillEnabled set to true" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.415027839Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.415322005Z 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-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.415434987Z 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-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.415529109Z 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-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.415622061Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `:,:,:`" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.415702923Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.415865396Z app=test source=configurable.go:312 msg="Could not find 'key' or 'secretname' and 'secretvaluekey' in configuration" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.416163782Z app=test source=configurable.go:207 msg="Could not find profilename" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.416254934Z app=test source=configurable.go:212 msg="Could not find devicename" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.416347976Z app=test source=configurable.go:217 msg="Could not find resourcename" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.416447718Z app=test source=configurable.go:222 msg="Could not find valuetype" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.416574391Z app=test source=configurable.go:236 msg="unable to normalize the unknown value type bogus" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.416717804Z app=test source=configurable.go:251 msg="MediaType can not be empty when ValueType=Binary" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.416828246Z app=test source=configurable.go:244 msg="Could not find mediatype" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.417159073Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" [2024-08-21T10:08:22.021Z] level=ERROR ts=2024-08-21T10:08:20.417268515Z 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-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.417597213Z app=test source=server.go:57 msg="Registering standard routes..." [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.417661634Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.417863789Z app=test source=server.go:57 msg="Registering standard routes..." [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.41791363Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.418092363Z app=test source=server.go:57 msg="Registering standard routes..." [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.418146055Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.418844169Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.419054743Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.419216497Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.419260928Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.419406211Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.419545014Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.419588514Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" [2024-08-21T10:08:22.021Z] --- FAIL: TestSetupHTTPTrigger (0.00s) [2024-08-21T10:08:22.021Z] service_test.go:289: [2024-08-21T10:08:22.021Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/service_test.go:289 [2024-08-21T10:08:22.021Z] Error: Should be true [2024-08-21T10:08:22.021Z] Test: TestSetupHTTPTrigger [2024-08-21T10:08:22.021Z] Messages: Expected Instance of HTTP Trigger [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.420023503Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.420205078Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.420391802Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.420429213Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.420568486Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.420730799Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.4207625Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" [2024-08-21T10:08:22.021Z] --- FAIL: TestSetupMessageBusTrigger (0.00s) [2024-08-21T10:08:22.021Z] service_test.go:309: [2024-08-21T10:08:22.021Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/service_test.go:309 [2024-08-21T10:08:22.021Z] Error: Should be true [2024-08-21T10:08:22.021Z] Test: TestSetupMessageBusTrigger [2024-08-21T10:08:22.021Z] Messages: Expected Instance of Message Bus Trigger [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.421180948Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.421338532Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.421499995Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.421537016Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.421568456Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.421808581Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.421992165Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.422168239Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.42220271Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.42222811Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.422473365Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-123 metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.422666109Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-123 metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.422814552Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-123 metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.422855823Z app=test source=service.go:455 msg="Pipeline '123' added for topics '[edgex/#]' with 1 transform(s)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.423185111Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-124 metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.423350344Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-124 metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.423492227Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-124 metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.423528708Z app=test source=service.go:455 msg="Pipeline '124' added for topics '[edgex/#]' with 1 transform(s)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.424427216Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-121 metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.424786824Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-121 metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.425117451Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-121 metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.425186982Z app=test source=service.go:455 msg="Pipeline '121' added for topics '[edgex/#]' with 2 transform(s)" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.426902339Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.427126233Z app=test source=service.go:329 msg="'bogus' Function Pipeline Execution Order: [Bogus]" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.427389769Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.427998031Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.428200716Z 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-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.428324588Z app=test source=service.go:405 msg="Transform function added to 'default-pipeline' configurable pipeline with parameters: [type='xml']" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.42842959Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.428501632Z app=test source=service.go:329 msg="'pre-topic' Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.428617515Z 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-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.428737538Z app=test source=service.go:405 msg="Transform function added to 'pre-topic' configurable pipeline with parameters: [type='xml']" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.428819899Z app=test source=service.go:405 msg="SetResponseData function added to 'pre-topic' configurable pipeline with parameters: []" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.429092175Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.429221568Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.42930943Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.429538634Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.429668517Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.429763409Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.429986054Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.430106856Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.430204178Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.430434933Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.430551935Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.430651327Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.430873742Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.430984534Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.431086086Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.431337023Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.431453645Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.431550897Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.431767512Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.431888434Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:08:22.021Z] level=DEBUG ts=2024-08-21T10:08:20.431987686Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.433682771Z app=test source=service.go:750 msg="Environment profileOverride of '-n/--serviceName' by environment variable: EDGEX_SERVICE_KEY=MyCustomAppService" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.433907006Z app=test source=service.go:750 msg="Environment profileOverride of '-n/--serviceName' by environment variable: EDGEX_SERVICE_KEY=AppService--MyCloud" [2024-08-21T10:08:22.021Z] --- FAIL: TestSetupTrigger_HTTP (0.00s) [2024-08-21T10:08:22.021Z] triggerfactory_test.go:112: [2024-08-21T10:08:22.021Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:112 [2024-08-21T10:08:22.021Z] Error: Object expected to be of type *http.Trigger, but was *mqtt.Trigger [2024-08-21T10:08:22.021Z] Test: TestSetupTrigger_HTTP [2024-08-21T10:08:22.021Z] Messages: should be an http trigger [2024-08-21T10:08:22.021Z] --- FAIL: TestSetupTrigger_EdgeXMessageBus (0.00s) [2024-08-21T10:08:22.021Z] triggerfactory_test.go:129: [2024-08-21T10:08:22.021Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:129 [2024-08-21T10:08:22.021Z] Error: Object expected to be of type *messagebus.Trigger, but was *mqtt.Trigger [2024-08-21T10:08:22.021Z] Test: TestSetupTrigger_EdgeXMessageBus [2024-08-21T10:08:22.021Z] Messages: should be an edgex-messagebus trigger [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.443982339Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.444297335Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.021Z] level=INFO ts=2024-08-21T10:08:20.444367057Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" [2024-08-21T10:08:22.021Z] --- FAIL: Test_Service_setupTrigger_CustomType (0.00s) [2024-08-21T10:08:22.021Z] triggerfactory_test.go:185: [2024-08-21T10:08:22.021Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:185 [2024-08-21T10:08:22.021Z] Error: Object expected to be of type *app.mockCustomTrigger, but was *mqtt.Trigger [2024-08-21T10:08:22.021Z] Test: Test_Service_setupTrigger_CustomType [2024-08-21T10:08:22.021Z] Messages: should be a custom trigger [2024-08-21T10:08:22.021Z] --- FAIL: Test_Service_SetupTrigger_CustomTypeError (0.00s) [2024-08-21T10:08:22.021Z] triggerfactory_test.go:208: [2024-08-21T10:08:22.021Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:208 [2024-08-21T10:08:22.021Z] Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc0006302d0), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc000400360), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} [2024-08-21T10:08:22.021Z] Test: Test_Service_SetupTrigger_CustomTypeError [2024-08-21T10:08:22.021Z] Messages: should be nil [2024-08-21T10:08:22.021Z] --- FAIL: Test_Service_SetupTrigger_CustomTypeNotFound (0.00s) [2024-08-21T10:08:22.022Z] triggerfactory_test.go:226: [2024-08-21T10:08:22.022Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:226 [2024-08-21T10:08:22.022Z] Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc000630630), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc000400710), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} [2024-08-21T10:08:22.022Z] Test: Test_Service_SetupTrigger_CustomTypeNotFound [2024-08-21T10:08:22.022Z] Messages: should be nil [2024-08-21T10:08:22.022Z] level=INFO ts=2024-08-21T10:08:20.448411102Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:08:22.022Z] level=INFO ts=2024-08-21T10:08:20.448716529Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.448902573Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 1738e602-f69e-46c6-8a57-152f27bb0226" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.449109357Z app=test source=triggermessageprocessor.go:115 msg="trigger found 0 pipeline(s) that match the incoming topic '1738e602-f69e-46c6-8a57-152f27bb0226'" [2024-08-21T10:08:22.022Z] level=INFO ts=2024-08-21T10:08:20.450075707Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:08:22.022Z] level=INFO ts=2024-08-21T10:08:20.450383603Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.450600208Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 02b087cc-09c7-4e45-998a-922d4bba4dac" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.450820062Z app=test source=triggermessageprocessor.go:115 msg="trigger found 1 pipeline(s) that match the incoming topic '02b087cc-09c7-4e45-998a-922d4bba4dac'" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.451242022Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (dfbccd36-ecea-4fc9-bf9f-33a2672981f2)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.45164471Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline dfbccd36-ecea-4fc9-bf9f-33a2672981f2" [2024-08-21T10:08:22.022Z] level=INFO ts=2024-08-21T10:08:20.452386026Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:08:22.022Z] level=INFO ts=2024-08-21T10:08:20.452699352Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.452909767Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 60df34de-07cb-4250-b16e-d5ed97846909" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.453126791Z app=test source=triggermessageprocessor.go:115 msg="trigger found 1 pipeline(s) that match the incoming topic '60df34de-07cb-4250-b16e-d5ed97846909'" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.45353016Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (82138ad1-70ed-43dc-a09c-42f8199ba300)" [2024-08-21T10:08:22.022Z] level=ERROR ts=2024-08-21T10:08:20.453898728Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (82138ad1-70ed-43dc-a09c-42f8199ba300): some error" [2024-08-21T10:08:22.022Z] level=INFO ts=2024-08-21T10:08:20.454776236Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:08:22.022Z] level=INFO ts=2024-08-21T10:08:20.455085523Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.455271677Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic bd2bb86f-147a-4bf4-a9f6-a90fb9cbffe2" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.455465691Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic 'bd2bb86f-147a-4bf4-a9f6-a90fb9cbffe2'" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.455877509Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (34725be5-efb6-4832-b988-60505e7380ad)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.455886519Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (34725be5-efb6-4832-b988-60505e7380ad)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.455940691Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (34725be5-efb6-4832-b988-60505e7380ad)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.456281608Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 34725be5-efb6-4832-b988-60505e7380ad" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.457129846Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 34725be5-efb6-4832-b988-60505e7380ad" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.458063356Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 34725be5-efb6-4832-b988-60505e7380ad" [2024-08-21T10:08:22.022Z] level=INFO ts=2024-08-21T10:08:20.458652898Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:08:22.022Z] level=INFO ts=2024-08-21T10:08:20.458857842Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.458959104Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic a11d08f9-25fb-48c4-8741-801f01e422f6" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.459057926Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic 'a11d08f9-25fb-48c4-8741-801f01e422f6'" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.45926635Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (c19674dd-2a59-46ef-ab6b-d515424e86db)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.459313101Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (c19674dd-2a59-46ef-ab6b-d515424e86db)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.459407814Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline errorid (c19674dd-2a59-46ef-ab6b-d515424e86db)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.459547267Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline c19674dd-2a59-46ef-ab6b-d515424e86db" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.459890264Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline c19674dd-2a59-46ef-ab6b-d515424e86db" [2024-08-21T10:08:22.022Z] level=ERROR ts=2024-08-21T10:08:20.460082118Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline errorid (c19674dd-2a59-46ef-ab6b-d515424e86db): new error" [2024-08-21T10:08:22.022Z] level=INFO ts=2024-08-21T10:08:20.460509617Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:08:22.022Z] level=INFO ts=2024-08-21T10:08:20.460679171Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.460781213Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic f5b5f070-59d6-4fde-a07c-e43c63427f39" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.460904525Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic 'f5b5f070-59d6-4fde-a07c-e43c63427f39'" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.461096679Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (93f01097-7056-43e7-91f3-f934df95209d)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.46113069Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (93f01097-7056-43e7-91f3-f934df95209d)" [2024-08-21T10:08:22.022Z] level=DEBUG ts=2024-08-21T10:08:20.461174691Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (93f01097-7056-43e7-91f3-f934df95209d)" [2024-08-21T10:08:22.022Z] level=ERROR ts=2024-08-21T10:08:20.461349245Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (93f01097-7056-43e7-91f3-f934df95209d): new error" [2024-08-21T10:08:22.022Z] level=ERROR ts=2024-08-21T10:08:20.461650041Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (93f01097-7056-43e7-91f3-f934df95209d): new error" [2024-08-21T10:08:22.022Z] level=ERROR ts=2024-08-21T10:08:20.461868775Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (93f01097-7056-43e7-91f3-f934df95209d): new error" [2024-08-21T10:08:22.022Z] FAIL [2024-08-21T10:08:22.022Z] coverage: 66.4% of statements [2024-08-21T10:08:22.022Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.112s [2024-08-21T10:08:22.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] [2024-08-21T10:08:22.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] [2024-08-21T10:08:22.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.052s coverage: 92.6% of statements [2024-08-21T10:08:22.590Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.068s coverage: 85.1% of statements [2024-08-21T10:08:22.591Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.033s coverage: 100.0% of statements [2024-08-21T10:08:22.850Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] [2024-08-21T10:08:22.850Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] [2024-08-21T10:08:23.109Z] --- FAIL: TestProcessMessageBusRequest (0.00s) [2024-08-21T10:08:23.109Z] runtime_test.go:80: [2024-08-21T10:08:23.109Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:80 [2024-08-21T10:08:23.109Z] Error: Expected value not to be nil. [2024-08-21T10:08:23.109Z] Test: TestProcessMessageBusRequest [2024-08-21T10:08:23.109Z] --- FAIL: TestGolangRuntime_processEventPayload (0.01s) [2024-08-21T10:08:23.109Z] --- FAIL: TestGolangRuntime_processEventPayload/invalid_JSON (0.00s) [2024-08-21T10:08:23.109Z] runtime_test.go:543: [2024-08-21T10:08:23.109Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:543 [2024-08-21T10:08:23.109Z] Error: An error is expected but got nil. [2024-08-21T10:08:23.109Z] Test: TestGolangRuntime_processEventPayload/invalid_JSON [2024-08-21T10:08:23.109Z] --- FAIL: TestGolangRuntime_processEventPayload/invalid_CBOR (0.00s) [2024-08-21T10:08:23.109Z] runtime_test.go:543: [2024-08-21T10:08:23.109Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/runtime/runtime_test.go:543 [2024-08-21T10:08:23.109Z] Error: An error is expected but got nil. [2024-08-21T10:08:23.109Z] Test: TestGolangRuntime_processEventPayload/invalid_CBOR [2024-08-21T10:08:23.109Z] FAIL [2024-08-21T10:08:23.109Z] coverage: 75.9% of statements [2024-08-21T10:08:23.109Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.138s [2024-08-21T10:08:23.367Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] [2024-08-21T10:08:23.367Z] # 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-21T10:08:23.367Z] internal/trigger/mqtt/mqtt_test.go:120:5: unknown field mqttClient in struct literal of type Trigger [2024-08-21T10:08:23.935Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] [2024-08-21T10:08:23.935Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] [2024-08-21T10:08:23.935Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] [2024-08-21T10:08:24.506Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.045s coverage: 97.3% of statements [2024-08-21T10:08:24.765Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] [2024-08-21T10:08:24.765Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-21T10:08:25.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.050s coverage: 82.8% of statements [2024-08-21T10:08:25.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.049s coverage: 65.1% of statements [2024-08-21T10:08:25.022Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [build failed] [2024-08-21T10:08:25.964Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.056s coverage: 17.2% of statements [2024-08-21T10:08:25.964Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.049s coverage: 27.3% of statements [2024-08-21T10:08:26.542Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.058s coverage: 52.8% of statements [2024-08-21T10:08:43.908Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8094 in /w/workspace/dry_app-functions-sdk-go_PR-1601 [Pipeline] { [Pipeline] ws [2024-08-21T10:08:43.926Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-08-21T10:08:43.969Z] The recommended git tool is: git [2024-08-21T10:08:51.891Z] using credential edgex-jenkins-ssh [2024-08-21T10:08:51.917Z] Cloning the remote Git repository [2024-08-21T10:08:53.115Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.133s coverage: 75.5% of statements [2024-08-21T10:08:53.115Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.041s coverage: 94.4% of statements [2024-08-21T10:08:53.115Z] FAIL [2024-08-21T10:08:53.115Z] make: *** [Makefile:43: test-sdk] Error 1 [Pipeline] } [2024-08-21T10:08:53.127Z] $ docker stop --time=1 e7c0298a1a81d2eaaa3393d4ab45deabc06a5d557f635fa524d294910732d7ed [2024-08-21T10:08:51.963Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2024-08-21T10:08:52.178Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2024-08-21T10:08:52.406Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2024-08-21T10:08:52.407Z] > git --version # timeout=10 [2024-08-21T10:08:52.450Z] > git --version # 'git version 2.25.1' [2024-08-21T10:08:52.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-21T10:08:52.676Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-21T10:08:54.582Z] $ docker rm -f --volumes e7c0298a1a81d2eaaa3393d4ab45deabc06a5d557f635fa524d294910732d7ed [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 [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-21T10:08:55.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-21T10:08:55.674Z] [2024-08-21T10:08:55.674Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-21T10:08:55.982Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-21T10:08:55.982Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-21T10:08:55.982Z] 5eb5b503b376: Pulling fs layer [2024-08-21T10:08:55.982Z] 5c69ac0246d0: Pulling fs layer [2024-08-21T10:08:55.982Z] ec43610c2a17: Pulling fs layer [2024-08-21T10:08:55.982Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-21T10:08:55.982Z] 33b1e0a273af: Pulling fs layer [2024-08-21T10:08:55.982Z] 5d3b04190fa2: Pulling fs layer [2024-08-21T10:08:55.982Z] 2f39f015ded8: Pulling fs layer [2024-08-21T10:08:55.982Z] 3a2ae6a8a46f: Waiting [2024-08-21T10:08:55.982Z] 33b1e0a273af: Waiting [2024-08-21T10:08:55.982Z] 5d3b04190fa2: Waiting [2024-08-21T10:08:55.982Z] 2f39f015ded8: Waiting [2024-08-21T10:08:56.265Z] 5c69ac0246d0: Verifying Checksum [2024-08-21T10:08:56.265Z] 5c69ac0246d0: Download complete [2024-08-21T10:08:56.265Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-21T10:08:56.265Z] 3a2ae6a8a46f: Download complete [2024-08-21T10:08:56.265Z] 33b1e0a273af: Verifying Checksum [2024-08-21T10:08:56.265Z] 33b1e0a273af: Download complete [2024-08-21T10:08:56.265Z] 5d3b04190fa2: Verifying Checksum [2024-08-21T10:08:56.265Z] 5d3b04190fa2: Download complete [2024-08-21T10:08:56.265Z] ec43610c2a17: Verifying Checksum [2024-08-21T10:08:56.265Z] ec43610c2a17: Download complete [2024-08-21T10:08:56.528Z] 5eb5b503b376: Verifying Checksum [2024-08-21T10:08:56.528Z] 5eb5b503b376: Download complete [2024-08-21T10:08:57.095Z] 2f39f015ded8: Verifying Checksum [2024-08-21T10:08:57.095Z] 2f39f015ded8: Download complete [2024-08-21T10:08:58.029Z] 5eb5b503b376: Pull complete [2024-08-21T10:08:58.029Z] 5c69ac0246d0: Pull complete [2024-08-21T10:08:58.287Z] ec43610c2a17: Pull complete [2024-08-21T10:08:58.545Z] 3a2ae6a8a46f: Pull complete [2024-08-21T10:08:58.802Z] 33b1e0a273af: Pull complete [2024-08-21T10:08:58.802Z] 5d3b04190fa2: Pull complete [2024-08-21T10:08:57.910Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2024-08-21T10:08:57.947Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-21T10:08:59.168Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2024-08-21T10:08:59.237Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2024-08-21T10:08:59.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-21T10:08:59.273Z] > 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-21T10:08:59.953Z] Merging remotes/origin/napa commit 2d559bfd24087982bdd8bbb47fa03227def45c27 into PR head commit 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 [2024-08-21T10:08:59.969Z] > git config core.sparsecheckout # timeout=10 [2024-08-21T10:09:00.042Z] > git checkout -f 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 # timeout=10 [2024-08-21T10:09:01.796Z] Merge succeeded, producing 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 [2024-08-21T10:09:01.796Z] Checking out Revision 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 (PR-1601) [2024-08-21T10:09:01.689Z] > git remote # timeout=10 [2024-08-21T10:09:01.708Z] > git config --get remote.origin.url # timeout=10 [2024-08-21T10:09:01.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-21T10:09:01.744Z] > git merge 2d559bfd24087982bdd8bbb47fa03227def45c27 # timeout=10 [2024-08-21T10:09:01.775Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-21T10:09:01.797Z] > git config core.sparsecheckout # timeout=10 [2024-08-21T10:09:01.808Z] > git checkout -f 31e92e1f7bac2f4a5d63dbc6dd3b48ae538489f9 # timeout=10 [2024-08-21T10:09:02.983Z] 2f39f015ded8: Pull complete [2024-08-21T10:09:02.983Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-21T10:09:02.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-21T10:09:02.983Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T10:09:03.089Z] prd-ubuntu20.04-docker-8c-8g-8093 does not seem to be running inside a container [2024-08-21T10:09:03.113Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-21T10:09:06.418Z] Commit message: "feat(runtime.go): envelope doesn't validate" [2024-08-21T10:09:07.351Z] [2024-08-21T10:09:07.351Z] GitHub has been notified of this commit’s build result [2024-08-21T10:09:07.351Z] [2024-08-21T10:09:09.700Z] $ docker top b930387491e10718f925b9a299e5a3eea70a2b5c9f095bfdad68fb6aa4f1322e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-21T10:09:10.120Z] ---> job-cost.sh [2024-08-21T10:09:10.120Z] lf-activate-venv: SKIPPING [2024-08-21T10:09:10.120Z] INFO: No Stack... [2024-08-21T10:09:10.379Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-21T10:09:10.474Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-21T10:09:10.474Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-21T10:09:10.474Z] Dload Upload Total Spent Left Speed [2024-08-21T10:09:10.474Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 67515 0 --:--:-- --:--:-- --:--:-- 67873 [Pipeline] sh [2024-08-21T10:09:10.637Z] INFO: Archiving Costs [Pipeline] sh [2024-08-21T10:09:10.809Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-21T10:09:10.927Z] + cat /w/workspace/dry_app-functions-sdk-go_PR-1601/archives/cost.csv [2024-08-21T10:09:10.927Z] + cut -d, -f6 [Pipeline] lock [2024-08-21T10:09:10.941Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-2-stack-cost] [2024-08-21T10:09:10.951Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-2-stack-cost] did not exist. Created. [2024-08-21T10:09:10.960Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-21T10:09:11.141Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-21T10:09:11.141Z] + sudo tee /etc/docker/daemon.new [2024-08-21T10:09:11.141Z] { [2024-08-21T10:09:11.141Z] "registry-mirrors": [ [2024-08-21T10:09:11.141Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-21T10:09:11.141Z] ], [2024-08-21T10:09:11.141Z] "bip": "10.250.0.254/24", [2024-08-21T10:09:11.141Z] "hosts": [ [2024-08-21T10:09:11.141Z] "tcp://0.0.0.0:5555", [2024-08-21T10:09:11.141Z] "unix:///var/run/docker.sock" [2024-08-21T10:09:11.141Z] ], [2024-08-21T10:09:11.141Z] "mtu": 1458, [2024-08-21T10:09:11.141Z] "selinux-enabled": true, [2024-08-21T10:09:11.141Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-21T10:09:11.141Z] } [Pipeline] sh [2024-08-21T10:09:11.266Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-21T10:09:11.391Z] Stashed 1 file(s) [Pipeline] } [2024-08-21T10:09:11.405Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-21T10:09:11.427Z] $ docker stop --time=1 b930387491e10718f925b9a299e5a3eea70a2b5c9f095bfdad68fb6aa4f1322e [2024-08-21T10:09:11.459Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2024-08-21T10:09:12.568Z] $ docker rm -f --volumes b930387491e10718f925b9a299e5a3eea70a2b5c9f095bfdad68fb6aa4f1322e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-21T10:09:12.745Z] Failed in branch amd64 [2024-08-21T10:09:12.924Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2024-08-21T10:09:31.416Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-08-21T10:09:31.733Z] + grep ^go [0-9].[0-9]* go.mod [2024-08-21T10:09:31.733Z] + cut -d -f 2 [Pipeline] echo [2024-08-21T10:09:31.787Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-21T10:09:31.807Z] ========================================================= [2024-08-21T10:09:31.807Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-08-21T10:09:31.807Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2024-08-21T10:09:32.166Z] + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-08-21T10:09:32.748Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-21T10:09:32.748Z] c6b39de5b339: Pulling fs layer [2024-08-21T10:09:32.748Z] a69c41024577: Pulling fs layer [2024-08-21T10:09:32.748Z] d6de4b400683: Pulling fs layer [2024-08-21T10:09:32.748Z] 35cb2a7552d0: Pulling fs layer [2024-08-21T10:09:32.748Z] 4f4fb700ef54: Pulling fs layer [2024-08-21T10:09:32.748Z] 9e011611b7f5: Pulling fs layer [2024-08-21T10:09:32.748Z] 3bd174042beb: Pulling fs layer [2024-08-21T10:09:32.748Z] 4476f39b5e91: Pulling fs layer [2024-08-21T10:09:32.748Z] 35cb2a7552d0: Waiting [2024-08-21T10:09:32.748Z] 9e011611b7f5: Waiting [2024-08-21T10:09:32.748Z] 4f4fb700ef54: Waiting [2024-08-21T10:09:32.748Z] 3bd174042beb: Waiting [2024-08-21T10:09:32.748Z] 4476f39b5e91: Waiting [2024-08-21T10:09:32.748Z] a69c41024577: Verifying Checksum [2024-08-21T10:09:32.748Z] a69c41024577: Download complete [2024-08-21T10:09:32.748Z] 35cb2a7552d0: Verifying Checksum [2024-08-21T10:09:32.748Z] 35cb2a7552d0: Download complete [2024-08-21T10:09:32.748Z] 4f4fb700ef54: Verifying Checksum [2024-08-21T10:09:32.748Z] 4f4fb700ef54: Download complete [2024-08-21T10:09:32.748Z] c6b39de5b339: Verifying Checksum [2024-08-21T10:09:32.748Z] c6b39de5b339: Download complete [2024-08-21T10:09:32.748Z] 9e011611b7f5: Download complete [2024-08-21T10:09:33.335Z] 4476f39b5e91: Download complete [2024-08-21T10:09:33.602Z] c6b39de5b339: Pull complete [2024-08-21T10:09:34.184Z] a69c41024577: Pull complete [2024-08-21T10:09:34.451Z] d6de4b400683: Verifying Checksum [2024-08-21T10:09:34.451Z] d6de4b400683: Download complete [2024-08-21T10:09:35.854Z] 3bd174042beb: Verifying Checksum [2024-08-21T10:09:35.854Z] 3bd174042beb: Download complete [2024-08-21T10:09:48.168Z] d6de4b400683: Pull complete [2024-08-21T10:09:48.168Z] 35cb2a7552d0: Pull complete [2024-08-21T10:09:48.168Z] 4f4fb700ef54: Pull complete [2024-08-21T10:09:48.168Z] 9e011611b7f5: Pull complete [2024-08-21T10:09:56.376Z] 3bd174042beb: Pull complete [2024-08-21T10:09:58.324Z] 4476f39b5e91: Pull complete [2024-08-21T10:09:58.324Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-08-21T10:09:58.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-08-21T10:09:58.324Z] nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [Pipeline] sh [2024-08-21T10:09:58.649Z] + 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-21T10:09:58.991Z] + docker inspect -f . ci-base-image-arm64 [2024-08-21T10:09:58.991Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T10:09:59.196Z] prd-ubuntu20.04-docker-arm64-4c-16g-8094 does not seem to be running inside a container [2024-08-21T10:09:59.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-21T10:10:02.383Z] $ docker top 900dad5712080fc99c12f935740148a4f62a43fcb83525c52dddc618f95df1fa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-21T10:10:03.243Z] + go version [2024-08-21T10:10:03.244Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-21T10:10:03.258Z] $ docker stop --time=1 900dad5712080fc99c12f935740148a4f62a43fcb83525c52dddc618f95df1fa [2024-08-21T10:10:04.879Z] $ docker rm -f --volumes 900dad5712080fc99c12f935740148a4f62a43fcb83525c52dddc618f95df1fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-21T10:10:05.445Z] + docker inspect -f . ci-base-image-arm64 [2024-08-21T10:10:05.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T10:10:05.640Z] prd-ubuntu20.04-docker-arm64-4c-16g-8094 does not seem to be running inside a container [2024-08-21T10:10:05.701Z] $ 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/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-21T10:10:06.858Z] $ docker top 7abda60932622eef77d940fd77e810ec720a9534d1ddb5e68a77918e527f2b87 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-21T10:10:07.703Z] + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-08-21T10:10:08.357Z] + make test [2024-08-21T10:10:08.357Z] make -C ./app-service-template build [2024-08-21T10:10:08.357Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2024-08-21T10:10:08.357Z] go mod tidy [2024-08-21T10:10:08.357Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0 [2024-08-21T10:10:08.357Z] go: downloading github.com/labstack/echo/v4 v4.11.2 [2024-08-21T10:10:08.357Z] go: downloading github.com/stretchr/testify v1.9.0 [2024-08-21T10:10:08.939Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2024-08-21T10:10:09.206Z] go: downloading github.com/google/uuid v1.6.0 [2024-08-21T10:10:09.206Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0 [2024-08-21T10:10:09.206Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2024-08-21T10:10:09.472Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0 [2024-08-21T10:10:09.472Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0 [2024-08-21T10:10:10.055Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.2 [2024-08-21T10:10:10.055Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2024-08-21T10:10:10.055Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2024-08-21T10:10:10.055Z] go: downloading github.com/stretchr/objx v0.5.2 [2024-08-21T10:10:10.055Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2024-08-21T10:10:10.055Z] go: downloading github.com/labstack/gommon v0.4.0 [2024-08-21T10:10:10.323Z] go: downloading golang.org/x/crypto v0.23.0 [2024-08-21T10:10:10.323Z] go: downloading golang.org/x/net v0.25.0 [2024-08-21T10:10:11.293Z] go: downloading github.com/go-kit/log v0.2.1 [2024-08-21T10:10:11.293Z] go: downloading github.com/fxamacker/cbor/v2 v2.5.0 [2024-08-21T10:10:11.293Z] go: downloading github.com/go-playground/validator/v10 v10.15.5 [2024-08-21T10:10:11.560Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2024-08-21T10:10:11.560Z] go: downloading github.com/gorilla/websocket v1.5.0 [2024-08-21T10:10:11.826Z] go: downloading golang.org/x/sync v0.7.0 [2024-08-21T10:10:11.826Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0 [2024-08-21T10:10:11.826Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0 [2024-08-21T10:10:12.413Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2024-08-21T10:10:12.413Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2024-08-21T10:10:12.413Z] go: downloading github.com/mattn/go-isatty v0.0.19 [2024-08-21T10:10:12.413Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2024-08-21T10:10:12.413Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2024-08-21T10:10:12.413Z] go: downloading github.com/x448/float16 v0.8.4 [2024-08-21T10:10:12.413Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2024-08-21T10:10:12.413Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2024-08-21T10:10:12.413Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2024-08-21T10:10:12.413Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2024-08-21T10:10:12.413Z] go: downloading github.com/leodido/go-urn v1.2.4 [2024-08-21T10:10:12.413Z] go: downloading golang.org/x/text v0.15.0 [2024-08-21T10:10:14.355Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2024-08-21T10:10:14.355Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2024-08-21T10:10:14.355Z] go: downloading github.com/go-playground/locales v0.14.1 [2024-08-21T10:10:16.954Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.2.0 [2024-08-21T10:10:17.227Z] go: downloading github.com/hashicorp/consul/api v1.25.1 [2024-08-21T10:10:17.493Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2024-08-21T10:10:17.493Z] go: downloading golang.org/x/sys v0.20.0 [2024-08-21T10:10:17.767Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2024-08-21T10:10:17.767Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2024-08-21T10:10:17.767Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2024-08-21T10:10:17.767Z] go: downloading golang.org/x/time v0.5.0 [2024-08-21T10:10:17.767Z] go: downloading github.com/kr/pretty v0.1.0 [2024-08-21T10:10:17.767Z] go: downloading github.com/nats-io/nats.go v1.31.0 [2024-08-21T10:10:18.034Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2024-08-21T10:10:18.034Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2024-08-21T10:10:18.034Z] go: downloading github.com/Microsoft/go-winio v0.6.1 [2024-08-21T10:10:18.302Z] go: downloading github.com/zeebo/errs v1.3.0 [2024-08-21T10:10:18.302Z] go: downloading google.golang.org/grpc v1.63.2 [2024-08-21T10:10:19.715Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2024-08-21T10:10:19.715Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2024-08-21T10:10:19.715Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2024-08-21T10:10:19.715Z] go: downloading github.com/hashicorp/serf v0.10.1 [2024-08-21T10:10:19.715Z] go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 [2024-08-21T10:10:19.715Z] go: downloading github.com/google/go-cmp v0.6.0 [2024-08-21T10:10:19.994Z] go: downloading github.com/hashicorp/consul/sdk v0.14.1 [2024-08-21T10:10:20.266Z] go: downloading github.com/hashicorp/go-uuid v1.0.3 [2024-08-21T10:10:20.266Z] go: downloading github.com/kr/text v0.2.0 [2024-08-21T10:10:20.266Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2024-08-21T10:10:20.266Z] go: downloading github.com/onsi/gomega v1.7.0 [2024-08-21T10:10:20.266Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2024-08-21T10:10:20.266Z] go: downloading github.com/go-jose/go-jose/v4 v4.0.1 [2024-08-21T10:10:20.534Z] go: downloading golang.org/x/tools v0.21.0 [2024-08-21T10:10:20.534Z] go: downloading google.golang.org/protobuf v1.34.1 [2024-08-21T10:10:21.951Z] go: downloading github.com/klauspost/compress v1.17.1 [2024-08-21T10:10:21.951Z] go: downloading github.com/nats-io/nkeys v0.4.6 [2024-08-21T10:10:21.951Z] go: downloading github.com/nats-io/nuid v1.0.1 [2024-08-21T10:10:21.951Z] go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240509183442-62759503f434 [2024-08-21T10:10:21.951Z] go: downloading github.com/fatih/color v1.14.1 [2024-08-21T10:10:21.951Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2024-08-21T10:10:22.225Z] go: downloading github.com/armon/go-metrics v0.4.1 [2024-08-21T10:10:22.225Z] go: downloading github.com/hashicorp/go-msgpack v0.5.5 [2024-08-21T10:10:22.225Z] go: downloading github.com/hashicorp/memberlist v0.5.0 [2024-08-21T10:10:22.225Z] go: downloading github.com/hashicorp/go-version v1.2.1 [2024-08-21T10:10:22.494Z] go: downloading github.com/pkg/errors v0.9.1 [2024-08-21T10:10:22.494Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2024-08-21T10:10:22.494Z] go: downloading github.com/pascaldekloe/goe v0.1.0 [2024-08-21T10:10:22.494Z] go: downloading github.com/google/btree v1.0.1 [2024-08-21T10:10:22.763Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.2 [2024-08-21T10:10:22.763Z] go: downloading github.com/miekg/dns v1.1.41 [2024-08-21T10:10:22.763Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2024-08-21T10:10:22.763Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2024-08-21T10:10:23.031Z] go: downloading github.com/hpcloud/tail v1.0.0 [2024-08-21T10:10:23.031Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2024-08-21T10:10:23.303Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2024-08-21T10:10:23.303Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2024-08-21T10:10:23.303Z] go: downloading golang.org/x/mod v0.17.0 [2024-08-21T10:10:26.654Z] 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-21T10:12:33.351Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2024-08-21T10:12:33.351Z] make -C ./app-service-template test [2024-08-21T10:12:33.351Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2024-08-21T10:12:33.351Z] go test -race -coverprofile=coverage.out ./... [2024-08-21T10:14:55.060Z] ? app-new-service/config [no test files] [2024-08-21T10:14:55.060Z] ok app-new-service 1.242s coverage: 45.9% of statements [2024-08-21T10:14:55.060Z] ok app-new-service/functions 1.230s coverage: 85.3% of statements [2024-08-21T10:14:55.060Z] go vet ./... [2024-08-21T10:17:17.007Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-21T10:17:17.007Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-21T10:17:17.007Z] ./bin/test-attribution-txt.sh [2024-08-21T10:17:17.007Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2024-08-21T10:17:17.007Z] go test -race -coverprofile=coverage.out ./... [2024-08-21T10:17:29.325Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.082020057Z app=test source=configurable.go:718 msg="Could not find 'profilenames' parameter for FilterByProfileName" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.084066488Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByProfileName" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.085895708Z app=test source=configurable.go:718 msg="Could not find 'devicenames' parameter for FilterByDeviceName" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.087738728Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByDeviceName" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.08942647Z app=test source=configurable.go:718 msg="Could not find 'sourcenames' parameter for FilterBySourceName" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.093926425Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterBySourceName" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.095745624Z app=test source=configurable.go:718 msg="Could not find 'resourcenames' parameter for FilterByResourceName" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.097646857Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByResourceName" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.100414838Z app=test source=configurable.go:192 msg="Invalid transform type 'baDType'. Must be 'xml' or 'json'" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.105148305Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.106108848Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.106977205Z 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-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.107874204Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.108685628Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.109594797Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.110525648Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.114521695Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.115322949Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.116183726Z 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-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.117133448Z 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-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.11809097Z 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-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.118908314Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.119765571Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.120750644Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.121807622Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.129560254Z 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-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.130450232Z 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-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.131431526Z 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-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.132174516Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.132949218Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.133767463Z app=test source=configurable.go:467 msg="WillPayload must be present and non-empty when WillEnabled set to true" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.134626259Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.136832029Z 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-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.137694686Z 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-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.138514671Z 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-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.139285413Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `:,:,:`" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.140093227Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.141215268Z app=test source=configurable.go:312 msg="Could not find 'key' or 'secretname' and 'secretvaluekey' in configuration" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.143319943Z app=test source=configurable.go:207 msg="Could not find profilename" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.143986739Z app=test source=configurable.go:212 msg="Could not find devicename" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.144785722Z app=test source=configurable.go:217 msg="Could not find resourcename" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.145622568Z app=test source=configurable.go:222 msg="Could not find valuetype" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.146597071Z app=test source=configurable.go:236 msg="unable to normalize the unknown value type bogus" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.147707441Z app=test source=configurable.go:251 msg="MediaType can not be empty when ValueType=Binary" [2024-08-21T10:18:50.954Z] level=ERROR ts=2024-08-21T10:18:42.148469173Z app=test source=configurable.go:244 msg="Could not find mediatype" [2024-08-21T10:18:50.955Z] level=ERROR ts=2024-08-21T10:18:42.151467786Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" [2024-08-21T10:18:50.955Z] level=ERROR ts=2024-08-21T10:18:42.152258919Z 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-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.153819294Z app=test source=server.go:57 msg="Registering standard routes..." [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.154317631Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.155530757Z app=test source=server.go:57 msg="Registering standard routes..." [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.155879746Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.157044019Z app=test source=server.go:57 msg="Registering standard routes..." [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.157459862Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.163576265Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.164786471Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.166120043Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.166328305Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.167503899Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.168434159Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.16863161Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" [2024-08-21T10:18:50.955Z] --- FAIL: TestSetupHTTPTrigger (0.01s) [2024-08-21T10:18:50.955Z] service_test.go:289: [2024-08-21T10:18:50.955Z] Error Trace: /w/workspace/app-functions-sdk-go/2/internal/app/service_test.go:289 [2024-08-21T10:18:50.955Z] Error: Should be true [2024-08-21T10:18:50.955Z] Test: TestSetupHTTPTrigger [2024-08-21T10:18:50.955Z] Messages: Expected Instance of HTTP Trigger [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.171338847Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.172535092Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.173699186Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.173984021Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.175056009Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.175958099Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.176147879Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" [2024-08-21T10:18:50.955Z] --- FAIL: TestSetupMessageBusTrigger (0.01s) [2024-08-21T10:18:50.955Z] service_test.go:309: [2024-08-21T10:18:50.955Z] Error Trace: /w/workspace/app-functions-sdk-go/2/internal/app/service_test.go:309 [2024-08-21T10:18:50.955Z] Error: Should be true [2024-08-21T10:18:50.955Z] Test: TestSetupMessageBusTrigger [2024-08-21T10:18:50.955Z] Messages: Expected Instance of Message Bus Trigger [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.179379735Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.180561559Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.181759784Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.182013858Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.182354697Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.184214778Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.185400482Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.18664307Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.186981488Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.187267444Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.189100494Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-123 metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.190161141Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-123 metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.191248651Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-123 metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.191533826Z app=test source=service.go:455 msg="Pipeline '123' added for topics '[edgex/#]' with 1 transform(s)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.193941947Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-124 metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.195081529Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-124 metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.196341178Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-124 metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.19656935Z app=test source=service.go:455 msg="Pipeline '124' added for topics '[edgex/#]' with 1 transform(s)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.199928453Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-121 metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.201132989Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-121 metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.202168555Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-121 metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.202401408Z app=test source=service.go:455 msg="Pipeline '121' added for topics '[edgex/#]' with 2 transform(s)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.207837803Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.208709731Z app=test source=service.go:329 msg="'bogus' Function Pipeline Execution Order: [Bogus]" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.209761118Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.212150238Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.212884338Z 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-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.213774796Z app=test source=service.go:405 msg="Transform function added to 'default-pipeline' configurable pipeline with parameters: [type='xml']" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.214309486Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.214626883Z app=test source=service.go:329 msg="'pre-topic' Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.215277848Z 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-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.215803747Z app=test source=service.go:405 msg="Transform function added to 'pre-topic' configurable pipeline with parameters: [type='xml']" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.216313455Z app=test source=service.go:405 msg="SetResponseData function added to 'pre-topic' configurable pipeline with parameters: []" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.217418295Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.218048179Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.218539076Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.219377611Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.21990677Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.220386446Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.221225042Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.221766291Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.222260448Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.223180998Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.223791282Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.224272938Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.225140005Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.225727937Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.226280177Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.227457061Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.228017321Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.228527919Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.22946227Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.230116786Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.230628354Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.237122977Z app=test source=service.go:750 msg="Environment profileOverride of '-n/--serviceName' by environment variable: EDGEX_SERVICE_KEY=MyCustomAppService" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.238076609Z app=test source=service.go:750 msg="Environment profileOverride of '-n/--serviceName' by environment variable: EDGEX_SERVICE_KEY=AppService--MyCloud" [2024-08-21T10:18:50.955Z] --- FAIL: TestSetupTrigger_HTTP (0.00s) [2024-08-21T10:18:50.955Z] triggerfactory_test.go:112: [2024-08-21T10:18:50.955Z] Error Trace: /w/workspace/app-functions-sdk-go/2/internal/app/triggerfactory_test.go:112 [2024-08-21T10:18:50.955Z] Error: Object expected to be of type *http.Trigger, but was *mqtt.Trigger [2024-08-21T10:18:50.955Z] Test: TestSetupTrigger_HTTP [2024-08-21T10:18:50.955Z] Messages: should be an http trigger [2024-08-21T10:18:50.955Z] --- FAIL: TestSetupTrigger_EdgeXMessageBus (0.00s) [2024-08-21T10:18:50.955Z] triggerfactory_test.go:129: [2024-08-21T10:18:50.955Z] Error Trace: /w/workspace/app-functions-sdk-go/2/internal/app/triggerfactory_test.go:129 [2024-08-21T10:18:50.955Z] Error: Object expected to be of type *messagebus.Trigger, but was *mqtt.Trigger [2024-08-21T10:18:50.955Z] Test: TestSetupTrigger_EdgeXMessageBus [2024-08-21T10:18:50.955Z] Messages: should be an edgex-messagebus trigger [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.275086593Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.276051385Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.276257737Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" [2024-08-21T10:18:50.955Z] --- FAIL: Test_Service_setupTrigger_CustomType (0.00s) [2024-08-21T10:18:50.955Z] triggerfactory_test.go:185: [2024-08-21T10:18:50.955Z] Error Trace: /w/workspace/app-functions-sdk-go/2/internal/app/triggerfactory_test.go:185 [2024-08-21T10:18:50.955Z] Error: Object expected to be of type *app.mockCustomTrigger, but was *mqtt.Trigger [2024-08-21T10:18:50.955Z] Test: Test_Service_setupTrigger_CustomType [2024-08-21T10:18:50.955Z] Messages: should be a custom trigger [2024-08-21T10:18:50.955Z] --- FAIL: Test_Service_SetupTrigger_CustomTypeError (0.00s) [2024-08-21T10:18:50.955Z] triggerfactory_test.go:208: [2024-08-21T10:18:50.955Z] Error Trace: /w/workspace/app-functions-sdk-go/2/internal/app/triggerfactory_test.go:208 [2024-08-21T10:18:50.955Z] Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc0005d86f0), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc00031fb60), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} [2024-08-21T10:18:50.955Z] Test: Test_Service_SetupTrigger_CustomTypeError [2024-08-21T10:18:50.955Z] Messages: should be nil [2024-08-21T10:18:50.955Z] --- FAIL: Test_Service_SetupTrigger_CustomTypeNotFound (0.00s) [2024-08-21T10:18:50.955Z] triggerfactory_test.go:226: [2024-08-21T10:18:50.955Z] Error Trace: /w/workspace/app-functions-sdk-go/2/internal/app/triggerfactory_test.go:226 [2024-08-21T10:18:50.955Z] Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc0005d8d80), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc00031fe40), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} [2024-08-21T10:18:50.955Z] Test: Test_Service_SetupTrigger_CustomTypeNotFound [2024-08-21T10:18:50.955Z] Messages: should be nil [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.289468785Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.290361024Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.290999899Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic e4eb327a-3017-4fa0-bb73-8ac05f335a85" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.29156583Z app=test source=triggermessageprocessor.go:115 msg="trigger found 0 pipeline(s) that match the incoming topic 'e4eb327a-3017-4fa0-bb73-8ac05f335a85'" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.294377553Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.295268161Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.29580772Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 5f867082-863d-4983-afbd-effbcbb4cde0" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.296386902Z app=test source=triggermessageprocessor.go:115 msg="trigger found 1 pipeline(s) that match the incoming topic '5f867082-863d-4983-afbd-effbcbb4cde0'" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.297499412Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (fd317160-ef20-4b8a-bd2c-988262340ee4)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.298578921Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline fd317160-ef20-4b8a-bd2c-988262340ee4" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.301376883Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.30241663Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.303022733Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic f601e149-ca47-49fc-a7da-466f8cf28bae" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.303813116Z app=test source=triggermessageprocessor.go:115 msg="trigger found 1 pipeline(s) that match the incoming topic 'f601e149-ca47-49fc-a7da-466f8cf28bae'" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.304976169Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (67be2bbd-df2f-4e54-a947-e62908ec3148)" [2024-08-21T10:18:50.955Z] level=ERROR ts=2024-08-21T10:18:42.306039517Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (67be2bbd-df2f-4e54-a947-e62908ec3148): some error" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.308033546Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.30885676Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.309409761Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 48712a26-535d-4876-b976-166fa7e49401" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.310152661Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic '48712a26-535d-4876-b976-166fa7e49401'" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.311257901Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (ad9b988c-07b7-45ad-9052-46a0d871bda9)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.312736742Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (ad9b988c-07b7-45ad-9052-46a0d871bda9)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.313911295Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline ad9b988c-07b7-45ad-9052-46a0d871bda9" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.315060068Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline ad9b988c-07b7-45ad-9052-46a0d871bda9" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.316398361Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (ad9b988c-07b7-45ad-9052-46a0d871bda9)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.318920338Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline ad9b988c-07b7-45ad-9052-46a0d871bda9" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.321217493Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.322193736Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.322910965Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic dce83ef6-f367-484c-aa27-8a64c9a3d6e7" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.323651556Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic 'dce83ef6-f367-484c-aa27-8a64c9a3d6e7'" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.324876962Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline errorid (00268f02-5a91-4665-9888-0c7ac7c1c32e)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.324812989Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (00268f02-5a91-4665-9888-0c7ac7c1c32e)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.324989998Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (00268f02-5a91-4665-9888-0c7ac7c1c32e)" [2024-08-21T10:18:50.955Z] level=ERROR ts=2024-08-21T10:18:42.326038135Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline errorid (00268f02-5a91-4665-9888-0c7ac7c1c32e): new error" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.32703916Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 00268f02-5a91-4665-9888-0c7ac7c1c32e" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.327848774Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 00268f02-5a91-4665-9888-0c7ac7c1c32e" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.330276026Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" [2024-08-21T10:18:50.955Z] level=INFO ts=2024-08-21T10:18:42.331057909Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.331571626Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 0ad9b83d-7407-4522-b874-310dfe324705" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.332161309Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic '0ad9b83d-7407-4522-b874-310dfe324705'" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.333215346Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (4cc083c6-dbfe-4c1c-af0c-d57242526c38)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.33328485Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (4cc083c6-dbfe-4c1c-af0c-d57242526c38)" [2024-08-21T10:18:50.955Z] level=DEBUG ts=2024-08-21T10:18:42.333250438Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (4cc083c6-dbfe-4c1c-af0c-d57242526c38)" [2024-08-21T10:18:50.955Z] level=ERROR ts=2024-08-21T10:18:42.334523917Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (4cc083c6-dbfe-4c1c-af0c-d57242526c38): new error" [2024-08-21T10:18:50.955Z] level=ERROR ts=2024-08-21T10:18:42.335538182Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (4cc083c6-dbfe-4c1c-af0c-d57242526c38): new error" [2024-08-21T10:18:50.955Z] level=ERROR ts=2024-08-21T10:18:42.336282863Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (4cc083c6-dbfe-4c1c-af0c-d57242526c38): new error" [2024-08-21T10:18:50.955Z] FAIL [2024-08-21T10:18:50.955Z] coverage: 66.4% of statements [2024-08-21T10:18:50.955Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.542s [2024-08-21T10:18:50.955Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] [2024-08-21T10:18:50.955Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.268s coverage: 92.6% of statements [2024-08-21T10:18:50.955Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] [2024-08-21T10:18:50.955Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.336s coverage: 85.1% of statements [2024-08-21T10:18:50.955Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.127s coverage: 100.0% of statements [2024-08-21T10:18:50.955Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] [2024-08-21T10:18:50.955Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] [2024-08-21T10:18:51.537Z] --- FAIL: TestProcessMessageBusRequest (0.02s) [2024-08-21T10:18:51.537Z] runtime_test.go:80: [2024-08-21T10:18:51.537Z] Error Trace: /w/workspace/app-functions-sdk-go/2/internal/runtime/runtime_test.go:80 [2024-08-21T10:18:51.537Z] Error: Expected value not to be nil. [2024-08-21T10:18:51.537Z] Test: TestProcessMessageBusRequest [2024-08-21T10:18:51.537Z] --- FAIL: TestGolangRuntime_processEventPayload (0.01s) [2024-08-21T10:18:51.537Z] --- FAIL: TestGolangRuntime_processEventPayload/invalid_JSON (0.00s) [2024-08-21T10:18:51.537Z] runtime_test.go:543: [2024-08-21T10:18:51.537Z] Error Trace: /w/workspace/app-functions-sdk-go/2/internal/runtime/runtime_test.go:543 [2024-08-21T10:18:51.537Z] Error: An error is expected but got nil. [2024-08-21T10:18:51.537Z] Test: TestGolangRuntime_processEventPayload/invalid_JSON [2024-08-21T10:18:51.537Z] --- FAIL: TestGolangRuntime_processEventPayload/invalid_CBOR (0.00s) [2024-08-21T10:18:51.537Z] runtime_test.go:543: [2024-08-21T10:18:51.537Z] Error Trace: /w/workspace/app-functions-sdk-go/2/internal/runtime/runtime_test.go:543 [2024-08-21T10:18:51.537Z] Error: An error is expected but got nil. [2024-08-21T10:18:51.537Z] Test: TestGolangRuntime_processEventPayload/invalid_CBOR [2024-08-21T10:18:51.537Z] FAIL [2024-08-21T10:18:51.537Z] coverage: 75.9% of statements [2024-08-21T10:18:51.537Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.534s [2024-08-21T10:18:52.946Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] [2024-08-21T10:18:53.901Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.268s coverage: 97.3% of statements [2024-08-21T10:18:55.845Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] [2024-08-21T10:18:56.426Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] [2024-08-21T10:18:56.702Z] # 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-21T10:18:56.702Z] internal/trigger/mqtt/mqtt_test.go:120:5: unknown field mqttClient in struct literal of type Trigger [2024-08-21T10:18:56.702Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] [2024-08-21T10:18:57.291Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.344s coverage: 82.8% of statements [2024-08-21T10:18:57.560Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.264s coverage: 65.1% of statements [2024-08-21T10:18:57.560Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [build failed] [2024-08-21T10:19:00.895Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] [2024-08-21T10:19:00.895Z] ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-21T10:19:01.857Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.270s coverage: 17.2% of statements [2024-08-21T10:19:02.125Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.219s coverage: 27.3% of statements [2024-08-21T10:19:06.366Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.261s coverage: 52.8% of statements [2024-08-21T10:19:38.553Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.969s coverage: 75.5% of statements [2024-08-21T10:19:38.553Z] ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.187s coverage: 94.4% of statements [2024-08-21T10:19:38.553Z] FAIL [2024-08-21T10:19:38.553Z] make: *** [Makefile:43: test-sdk] Error 1 [Pipeline] } [2024-08-21T10:19:38.568Z] $ docker stop --time=1 7abda60932622eef77d940fd77e810ec720a9534d1ddb5e68a77918e527f2b87 [2024-08-21T10:19:40.379Z] $ docker rm -f --volumes 7abda60932622eef77d940fd77e810ec720a9534d1ddb5e68a77918e527f2b87 [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-21T10:19:45.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-21T10:19:45.006Z] [2024-08-21T10:19:45.006Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-21T10:19:45.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-21T10:19:45.654Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-21T10:19:45.654Z] 8998bd30e6a1: Pulling fs layer [2024-08-21T10:19:45.654Z] 04944245beec: Pulling fs layer [2024-08-21T10:19:45.654Z] 699f458cf7ca: Pulling fs layer [2024-08-21T10:19:45.654Z] 765212b225bb: Pulling fs layer [2024-08-21T10:19:45.654Z] f23df028b6ca: Pulling fs layer [2024-08-21T10:19:45.654Z] d65c8cfc05b1: Pulling fs layer [2024-08-21T10:19:45.654Z] 2437ff75d9bd: Pulling fs layer [2024-08-21T10:19:45.654Z] 765212b225bb: Waiting [2024-08-21T10:19:45.654Z] f23df028b6ca: Waiting [2024-08-21T10:19:45.654Z] d65c8cfc05b1: Waiting [2024-08-21T10:19:45.654Z] 2437ff75d9bd: Waiting [2024-08-21T10:19:45.654Z] 04944245beec: Verifying Checksum [2024-08-21T10:19:45.654Z] 04944245beec: Download complete [2024-08-21T10:19:45.654Z] 765212b225bb: Download complete [2024-08-21T10:19:45.920Z] f23df028b6ca: Download complete [2024-08-21T10:19:45.920Z] d65c8cfc05b1: Download complete [2024-08-21T10:19:45.920Z] 699f458cf7ca: Verifying Checksum [2024-08-21T10:19:45.920Z] 699f458cf7ca: Download complete [2024-08-21T10:19:46.502Z] 8998bd30e6a1: Verifying Checksum [2024-08-21T10:19:46.502Z] 8998bd30e6a1: Download complete [2024-08-21T10:19:49.086Z] 2437ff75d9bd: Verifying Checksum [2024-08-21T10:19:49.086Z] 2437ff75d9bd: Download complete [2024-08-21T10:19:51.028Z] 8998bd30e6a1: Pull complete [2024-08-21T10:19:51.613Z] 04944245beec: Pull complete [2024-08-21T10:19:53.019Z] 699f458cf7ca: Pull complete [2024-08-21T10:19:53.284Z] 765212b225bb: Pull complete [2024-08-21T10:19:54.242Z] f23df028b6ca: Pull complete [2024-08-21T10:19:54.242Z] d65c8cfc05b1: Pull complete [2024-08-21T10:20:12.449Z] 2437ff75d9bd: Pull complete [2024-08-21T10:20:12.449Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-21T10:20:12.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-21T10:20:12.449Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T10:20:12.643Z] prd-ubuntu20.04-docker-arm64-4c-16g-8094 does not seem to be running inside a container [2024-08-21T10:20:12.693Z] $ 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/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-21T10:20:14.333Z] $ docker top 27e716e9a965703c44732db5146b02f3a08aa0c6f4e20bb56053bcbbf2c92ba0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-21T10:20:15.159Z] ---> job-cost.sh [2024-08-21T10:20:15.159Z] lf-activate-venv: SKIPPING [2024-08-21T10:20:15.159Z] INFO: No Stack... [2024-08-21T10:20:15.734Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-21T10:20:16.309Z] INFO: Archiving Costs [Pipeline] sh [2024-08-21T10:20:16.940Z] + + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csvcut [2024-08-21T10:20:16.940Z] -d, -f6 [Pipeline] lock [2024-08-21T10:20:16.961Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-2-stack-cost] [2024-08-21T10:20:16.970Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-2-stack-cost] did not exist. Created. [2024-08-21T10:20:16.980Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-21T10:20:17.631Z] /w/workspace/app-functions-sdk-go/2@tmp/durable-6977d95e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-21T10:20:18.262Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-21T10:20:18.290Z] Warning: overwriting stash ‘stack-cost’ [2024-08-21T10:20:19.573Z] Stashed 1 file(s) [Pipeline] } [2024-08-21T10:20:19.585Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-21T10:20:19.604Z] $ docker stop --time=1 27e716e9a965703c44732db5146b02f3a08aa0c6f4e20bb56053bcbbf2c92ba0 [2024-08-21T10:20:21.081Z] $ docker rm -f --volumes 27e716e9a965703c44732db5146b02f3a08aa0c6f4e20bb56053bcbbf2c92ba0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-21T10:20:21.402Z] 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-21T10:20:22.363Z] + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1601/archives ] [2024-08-21T10:20:22.363Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1601/archives [2024-08-21T10:20:22.363Z] total 16 [2024-08-21T10:20:22.363Z] drwxr-xr-x 3 root root 4096 Aug 21 10:09 . [2024-08-21T10:20:22.363Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 21 10:09 .. [2024-08-21T10:20:22.363Z] drwxr-xr-x 2 root root 4096 Aug 21 10:09 cost [2024-08-21T10:20:22.363Z] -rw-r--r-- 1 root root 93 Aug 21 10:09 cost.csv [2024-08-21T10:20:22.363Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1601/archives [2024-08-21T10:20:22.363Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1601/archives [2024-08-21T10:20:22.363Z] total 16 [2024-08-21T10:20:22.363Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 21 10:09 . [2024-08-21T10:20:22.363Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 21 10:09 .. [2024-08-21T10:20:22.363Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 21 10:09 cost [2024-08-21T10:20:22.363Z] -rw-r--r-- 1 jenkins jenkins 93 Aug 21 10:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-21T10:20:22.656Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-21T10:20:23.515Z] ---> package-listing.sh [2024-08-21T10:20:23.515Z] ++ facter osfamily [2024-08-21T10:20:23.515Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-21T10:20:23.775Z] + OS_FAMILY=debian [2024-08-21T10:20:23.775Z] + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1601 [2024-08-21T10:20:23.775Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-21T10:20:23.775Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-21T10:20:23.775Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-21T10:20:23.775Z] + PACKAGES=/tmp/packages_start.txt [2024-08-21T10:20:23.775Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1601 ']' [2024-08-21T10:20:23.775Z] + PACKAGES=/tmp/packages_end.txt [2024-08-21T10:20:23.775Z] + case "${OS_FAMILY}" in [2024-08-21T10:20:23.775Z] + dpkg -l [2024-08-21T10:20:23.775Z] + grep '^ii' [2024-08-21T10:20:23.775Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-21T10:20:23.775Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-21T10:20:23.775Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-21T10:20:23.775Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1601 ']' [2024-08-21T10:20:23.775Z] + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1601/archives/ [2024-08-21T10:20:23.775Z] + 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-21T10:20:23.788Z] 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-21T10:20:24.075Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-21T10:20:24.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-21T10:20:24.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-21T10:20:24.709Z] prd-ubuntu20.04-docker-8c-8g-8093 does not seem to be running inside a container [2024-08-21T10:20:24.734Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-21T10:20:24.911Z] $ docker top 796b80d0c0cf0f39d97112ec2a17ccc07eb0ff35d0cb4fe4776a24d274c4672b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-21T10:20:25.268Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-21T10:20:25.555Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-21T10:20:25.842Z] + ls /var/log/sa-host [2024-08-21T10:20:25.843Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-21T10:20:26.017Z] provisioning config files... [2024-08-21T10:20:26.106Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/config16408171793773840313tmp [Pipeline] { [Pipeline] echo [2024-08-21T10:20:26.144Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-21T10:20:26.533Z] ---> create-netrc.sh [Pipeline] } [2024-08-21T10:20:26.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-21T10:20:26.916Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-21T10:20:26.925Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-21T10:20:27.211Z] ---> sudo-logs.sh [2024-08-21T10:20:27.211Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-21T10:20:27.247Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-21T10:20:27.527Z] ---> job-cost.sh [2024-08-21T10:20:27.527Z] lf-activate-venv: SKIPPING [2024-08-21T10:20:27.527Z] DEBUG: total: 0.2199999988079071 [2024-08-21T10:20:27.527Z] INFO: Retrieving Stack Cost... [2024-08-21T10:20:27.786Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-21T10:20:28.045Z] INFO: Archiving Costs [Pipeline] echo [2024-08-21T10:20:28.058Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-21T10:20:28.339Z] ---> logs-deploy.sh [2024-08-21T10:20:28.339Z] lf-activate-venv: SKIPPING [2024-08-21T10:20:28.339Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1601/2 [2024-08-21T10:20:28.339Z] INFO: archiving workspace using pattern(s): [2024-08-21T10:20:29.278Z] Archives upload complete. [2024-08-21T10:20:29.278Z] INFO: archiving logs to Nexus