Pull request #1601 opened 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 f3184e3a93a5cb4e8557ce8489b47d5f3abd642d 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-ssh13874168692599949729.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-ssh16634717698870031173.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1601/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh1023656320712581338.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh9705792716518527521.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh14615007206459796558.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1601/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh14284099206484974176.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 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-7853 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 f3184e3a93a5cb4e8557ce8489b47d5f3abd642d Merge succeeded, producing f3184e3a93a5cb4e8557ce8489b47d5f3abd642d Checking out Revision f3184e3a93a5cb4e8557ce8489b47d5f3abd642d (PR-1601) > git config core.sparsecheckout # timeout=10 > git checkout -f f3184e3a93a5cb4e8557ce8489b47d5f3abd642d # 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 f3184e3a93a5cb4e8557ce8489b47d5f3abd642d # timeout=10 Commit message: "feat(interfaces/service.go app/service.go): add TriggerMqttClient() (*pahoMqtt.Client, error)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:21:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:21:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:21:03 ========================================================= 05:21:03 EdgeX Global Pipelines Version Info 05:21:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:21:04 ------------------- 05:21:04 stable info: 05:21:04 ------------------- 05:21:04 Commited By: Ginny Guan ginny@iotechsys.com 05:21:04 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:21:04 Message: update stable to v1.0.260 05:21:05 ------------------- 05:21:05 experimental info: 05:21:05 ------------------- 05:21:05 Commited By: Ginny Guan ginny@iotechsys.com 05:21:05 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:21:05 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 05:21:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1601 [Pipeline] echo 05:21:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1601 [Pipeline] echo 05:21:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1601 [Pipeline] echo 05:21:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f3184e3a93a5cb4e8557ce8489b47d5f3abd642d [Pipeline] echo 05:21:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f3184e3 [Pipeline] echo 05:21:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:21:07 + git rev-list -1 --merges f3184e3a93a5cb4e8557ce8489b47d5f3abd642d~1..f3184e3a93a5cb4e8557ce8489b47d5f3abd642d [Pipeline] echo 05:21:07 -----------> git rev-list -1 --merges f3184e3a93a5cb4e8557ce8489b47d5f3abd642d~1..f3184e3a93a5cb4e8557ce8489b47d5f3abd642d f3184e3a93a5cb4e8557ce8489b47d5f3abd642d [false] [Pipeline] sh 05:21:08 + git log --format=format:%s -1 f3184e3a93a5cb4e8557ce8489b47d5f3abd642d [Pipeline] echo 05:21:08 ========================================================= 05:21:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:21:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:21:08 + git log --format=format:%s -1 f3184e3a93a5cb4e8557ce8489b47d5f3abd642d [Pipeline] echo 05:21:08 [semverPrep] GIT_COMMIT: f3184e3a93a5cb4e8557ce8489b47d5f3abd642d, Commit Message: feat(interfaces/service.go app/service.go): add TriggerMqttClient() (*pahoMqtt.Client, error) [Pipeline] echo 05:21:08 [semverPrep] This is not a build commit. [Pipeline] sh 05:21:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:21:09 + grep -v github /etc/ssh/ssh_known_hosts 05:21:09 + [ -e /tmp/ssh_known_hosts ] 05:21:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:21:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:21:09 + sudo tee -a /etc/ssh/ssh_known_hosts 05:21:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:21:09 05:21:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:21:10 0.1.4: Pulling from edgex-devops/py-git-semver 05:21:10 b85a868b505f: Pulling fs layer 05:21:10 e2be974225ed: Pulling fs layer 05:21:10 339a4e72a1f5: Pulling fs layer 05:21:10 988bab9f4d93: Pulling fs layer 05:21:10 1469e6f7b9e6: Pulling fs layer 05:21:10 eaf3925da568: Pulling fs layer 05:21:10 bab4dde63d76: Pulling fs layer 05:21:10 988bab9f4d93: Waiting 05:21:10 bde34c3a00c8: Pulling fs layer 05:21:10 b352a97aabf1: Pulling fs layer 05:21:10 1469e6f7b9e6: Waiting 05:21:10 eaf3925da568: Waiting 05:21:10 4872d77fe225: Pulling fs layer 05:21:10 5851b861e8e6: Pulling fs layer 05:21:10 bab4dde63d76: Waiting 05:21:10 b352a97aabf1: Waiting 05:21:10 4872d77fe225: Waiting 05:21:10 5851b861e8e6: Waiting 05:21:10 e2be974225ed: Verifying Checksum 05:21:10 e2be974225ed: Download complete 05:21:10 988bab9f4d93: Verifying Checksum 05:21:10 988bab9f4d93: Download complete 05:21:10 1469e6f7b9e6: Verifying Checksum 05:21:10 1469e6f7b9e6: Download complete 05:21:10 eaf3925da568: Download complete 05:21:10 339a4e72a1f5: Verifying Checksum 05:21:10 339a4e72a1f5: Download complete 05:21:10 bde34c3a00c8: Verifying Checksum 05:21:10 bde34c3a00c8: Download complete 05:21:10 b352a97aabf1: Download complete 05:21:10 4872d77fe225: Download complete 05:21:10 5851b861e8e6: Verifying Checksum 05:21:10 5851b861e8e6: Download complete 05:21:10 b85a868b505f: Download complete 05:21:10 bab4dde63d76: Verifying Checksum 05:21:10 bab4dde63d76: Download complete 05:21:12 b85a868b505f: Pull complete 05:21:12 e2be974225ed: Pull complete 05:21:12 339a4e72a1f5: Pull complete 05:21:12 988bab9f4d93: Pull complete 05:21:13 1469e6f7b9e6: Pull complete 05:21:13 eaf3925da568: Pull complete 05:21:15 bab4dde63d76: Pull complete 05:21:15 bde34c3a00c8: Pull complete 05:21:15 b352a97aabf1: Pull complete 05:21:15 4872d77fe225: Pull complete 05:21:15 5851b861e8e6: Pull complete 05:21:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:21:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:21:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:15 prd-ubuntu20.04-docker-8c-8g-7853 does not seem to be running inside a container 05:21:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:21:19 $ docker top 25067e36b03234531bbe50b7521e7246dbf2723410117fc17072a3feb24c1243 -eo pid,comm 05:21:19 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). 05:21:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:21:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:21:19 [ssh-agent] Looking for ssh-agent implementation... 05:21:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:21:20 $ docker exec 25067e36b03234531bbe50b7521e7246dbf2723410117fc17072a3feb24c1243 ssh-agent 05:21:20 SSH_AUTH_SOCK=/tmp/ssh-PPMR5eescxx7/agent.32 05:21:20 SSH_AGENT_PID=38 05:21:20 Running ssh-add (command line suppressed) 05:21:20 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/private_key_10380195878353075958.key (/w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/private_key_10380195878353075958.key) 05:21:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:21:20 + git tag --points-at HEAD [Pipeline] } 05:21:20 $ docker exec --env ******** --env ******** 25067e36b03234531bbe50b7521e7246dbf2723410117fc17072a3feb24c1243 ssh-agent -k 05:21:20 unset SSH_AUTH_SOCK; 05:21:20 unset SSH_AGENT_PID; 05:21:20 echo Agent pid 38 killed; 05:21:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:21:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:21:20 [ssh-agent] Looking for ssh-agent implementation... 05:21:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:21:21 $ docker exec 25067e36b03234531bbe50b7521e7246dbf2723410117fc17072a3feb24c1243 ssh-agent 05:21:21 SSH_AUTH_SOCK=/tmp/ssh-RMAnS3F148Bx/agent.72 05:21:21 SSH_AGENT_PID=78 05:21:21 Running ssh-add (command line suppressed) 05:21:21 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/private_key_3301844950195313919.key (/w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/private_key_3301844950195313919.key) 05:21:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:21:21 + git semver init 05:21:21 2024-08-17 05:21:21,791 [run_init] DEBUG init version:0.0.0 force:False 05:21:21 2024-08-17 05:21:21,792 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1601/.semver 05:21:21 2024-08-17 05:21:21,793 [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 05:21:21 2024-08-17 05:21:21,793 [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) 05:21:23 2024-08-17 05:21:23,686 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1601/.git/info/exclude 05:21:23 2024-08-17 05:21:23,687 [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 05:21:23 2024-08-17 05:21:23,687 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1601/.semver/PR-1601 05:21:23 2024-08-17 05:21:23,692 [execute] INFO git cat-file --batch-check 05:21:23 2024-08-17 05:21:23,692 [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=) 05:21:23 2024-08-17 05:21:23,700 [execute] INFO git cat-file --batch 05:21:23 2024-08-17 05:21:23,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1601/.semver, universal_newlines=False, shell=None, istream=) 05:21:23 2024-08-17 05:21:23,706 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1601/.semver/PR-1601 05:21:23 0.0.0 [Pipeline] } 05:21:23 $ docker exec --env ******** --env ******** 25067e36b03234531bbe50b7521e7246dbf2723410117fc17072a3feb24c1243 ssh-agent -k 05:21:23 unset SSH_AUTH_SOCK; 05:21:23 unset SSH_AGENT_PID; 05:21:23 echo Agent pid 78 killed; 05:21:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:21:24 + git semver [Pipeline] } 05:21:24 $ docker stop --time=1 25067e36b03234531bbe50b7521e7246dbf2723410117fc17072a3feb24c1243 05:21:25 $ docker rm -f --volumes 25067e36b03234531bbe50b7521e7246dbf2723410117fc17072a3feb24c1243 [Pipeline] // withDockerContainer [Pipeline] sh 05:21:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:21:26 Stashed 1 file(s) [Pipeline] echo 05:21:26 [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 05:21:27 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 05:21:27 + + cutgrep -d ^go [0-9].[0-9]* -f go.mod 2 05:21:27 [Pipeline] echo 05:21:27 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:21:27 ========================================================= 05:21:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 05:21:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:21:28 + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 05:21:28 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 05:21:28 619be1103602: Pulling fs layer 05:21:28 7862e08f4a3e: Pulling fs layer 05:21:28 5df492c9dc93: Pulling fs layer 05:21:28 7629e6793208: Pulling fs layer 05:21:28 4f4fb700ef54: Pulling fs layer 05:21:28 8de7f028bff5: Pulling fs layer 05:21:28 44042ff1420b: Pulling fs layer 05:21:28 5cdaf54b7214: Pulling fs layer 05:21:28 38f3e5a9071a: Pulling fs layer 05:21:28 8de7f028bff5: Waiting 05:21:28 38f3e5a9071a: Waiting 05:21:28 44042ff1420b: Waiting 05:21:28 5cdaf54b7214: Waiting 05:21:28 7629e6793208: Waiting 05:21:28 4f4fb700ef54: Waiting 05:21:28 7862e08f4a3e: Download complete 05:21:28 7629e6793208: Verifying Checksum 05:21:28 7629e6793208: Download complete 05:21:28 4f4fb700ef54: Download complete 05:21:28 619be1103602: Verifying Checksum 05:21:28 619be1103602: Download complete 05:21:28 8de7f028bff5: Verifying Checksum 05:21:28 8de7f028bff5: Download complete 05:21:28 44042ff1420b: Verifying Checksum 05:21:28 44042ff1420b: Download complete 05:21:28 619be1103602: Pull complete 05:21:28 7862e08f4a3e: Pull complete 05:21:28 38f3e5a9071a: Verifying Checksum 05:21:28 5df492c9dc93: Verifying Checksum 05:21:28 5df492c9dc93: Download complete 05:21:29 5cdaf54b7214: Verifying Checksum 05:21:29 5cdaf54b7214: Download complete 05:21:32 5df492c9dc93: Pull complete 05:21:32 7629e6793208: Pull complete 05:21:32 4f4fb700ef54: Pull complete 05:21:32 8de7f028bff5: Pull complete 05:21:32 44042ff1420b: Pull complete 05:21:34 5cdaf54b7214: Pull complete 05:21:35 38f3e5a9071a: Pull complete 05:21:35 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 05:21:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 05:21:35 nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [Pipeline] sh 05:21:35 + 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 05:21:36 + docker inspect -f . ci-base-image-x86_64 05:21:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:36 prd-ubuntu20.04-docker-8c-8g-7853 does not seem to be running inside a container 05:21:36 $ 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 ******** ci-base-image-x86_64 cat 05:21:41 $ docker top a89628b9dc425e07bf8579c11d01950b2ad5a1dc10585f43af584e3b691b8343 -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:42 + go version 05:21:42 go version go1.21.9 linux/amd64 [Pipeline] } 05:21:42 $ docker stop --time=1 a89628b9dc425e07bf8579c11d01950b2ad5a1dc10585f43af584e3b691b8343 05:21:42 Still waiting to schedule task 05:21:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:21:43 $ docker rm -f --volumes a89628b9dc425e07bf8579c11d01950b2ad5a1dc10585f43af584e3b691b8343 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:44 + docker inspect -f . ci-base-image-x86_64 05:21:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:44 prd-ubuntu20.04-docker-8c-8g-7853 does not seem to be running inside a container 05:21:44 $ 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 ******** ci-base-image-x86_64 cat 05:21:44 $ docker top 4e8a16e1b18fe2dc8919cfda394c6970ec7e5ca394d2402acdfc32aa3b939d02 -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:45 + git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1601 [Pipeline] fileExists [Pipeline] sh 05:21:45 + make test 05:21:45 make -C ./app-service-template build 05:21:45 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' 05:21:45 go mod tidy 05:21:45 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0 05:21:45 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 05:21:45 go: downloading github.com/google/uuid v1.6.0 05:21:45 go: downloading github.com/stretchr/testify v1.9.0 05:21:45 go: downloading github.com/labstack/echo/v4 v4.11.2 05:21:45 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0 05:21:46 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 05:21:46 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0 05:21:46 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0 05:21:46 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 05:21:46 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 05:21:46 go: downloading gopkg.in/yaml.v3 v3.0.1 05:21:46 go: downloading github.com/stretchr/objx v0.5.2 05:21:46 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.2 05:21:46 go: downloading github.com/hashicorp/go-multierror v1.1.1 05:21:46 go: downloading github.com/go-playground/validator/v10 v10.15.5 05:21:46 go: downloading github.com/go-kit/log v0.2.1 05:21:46 go: downloading github.com/fxamacker/cbor/v2 v2.5.0 05:21:46 go: downloading github.com/labstack/gommon v0.4.0 05:21:46 go: downloading golang.org/x/crypto v0.23.0 05:21:46 go: downloading golang.org/x/net v0.25.0 05:21:46 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0 05:21:46 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0 05:21:46 go: downloading github.com/gorilla/websocket v1.5.0 05:21:46 go: downloading golang.org/x/sync v0.7.0 05:21:46 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 05:21:46 go: downloading github.com/mitchellh/copystructure v1.2.0 05:21:46 go: downloading github.com/hashicorp/errwrap v1.1.0 05:21:46 go: downloading github.com/go-logfmt/logfmt v0.5.1 05:21:46 go: downloading github.com/mattn/go-colorable v0.1.13 05:21:46 go: downloading github.com/mattn/go-isatty v0.0.19 05:21:46 go: downloading github.com/valyala/fasttemplate v1.2.2 05:21:46 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 05:21:46 go: downloading github.com/go-playground/universal-translator v0.18.1 05:21:46 go: downloading github.com/leodido/go-urn v1.2.4 05:21:46 go: downloading golang.org/x/text v0.15.0 05:21:46 go: downloading github.com/go-playground/locales v0.14.1 05:21:47 go: downloading github.com/x448/float16 v0.8.4 05:21:47 go: downloading github.com/hashicorp/consul/api v1.25.1 05:21:47 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 05:21:47 go: downloading golang.org/x/time v0.5.0 05:21:47 go: downloading github.com/mitchellh/mapstructure v1.5.0 05:21:47 go: downloading github.com/spiffe/go-spiffe/v2 v2.2.0 05:21:47 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 05:21:47 go: downloading github.com/go-playground/assert/v2 v2.2.0 05:21:47 go: downloading github.com/nats-io/nats.go v1.31.0 05:21:47 go: downloading github.com/go-redis/redis/v7 v7.3.0 05:21:47 go: downloading github.com/mitchellh/reflectwalk v1.0.2 05:21:47 go: downloading golang.org/x/sys v0.20.0 05:21:47 go: downloading github.com/valyala/bytebufferpool v1.0.0 05:21:47 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:21:47 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 05:21:47 go: downloading github.com/hashicorp/go-hclog v1.5.0 05:21:47 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 05:21:47 go: downloading github.com/hashicorp/serf v0.10.1 05:21:47 go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 05:21:47 go: downloading github.com/google/go-cmp v0.6.0 05:21:47 go: downloading github.com/hashicorp/consul/sdk v0.14.1 05:21:47 go: downloading github.com/hashicorp/go-uuid v1.0.3 05:21:47 go: downloading github.com/kr/pretty v0.1.0 05:21:47 go: downloading github.com/Microsoft/go-winio v0.6.1 05:21:48 go: downloading github.com/zeebo/errs v1.3.0 05:21:48 go: downloading google.golang.org/grpc v1.63.2 05:21:48 go: downloading github.com/onsi/ginkgo v1.10.1 05:21:48 go: downloading github.com/onsi/gomega v1.7.0 05:21:48 go: downloading github.com/klauspost/compress v1.17.1 05:21:48 go: downloading github.com/nats-io/nkeys v0.4.6 05:21:48 go: downloading github.com/nats-io/nuid v1.0.1 05:21:48 go: downloading github.com/fatih/color v1.14.1 05:21:48 go: downloading github.com/mitchellh/go-homedir v1.1.0 05:21:48 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 05:21:48 go: downloading github.com/kr/text v0.2.0 05:21:48 go: downloading github.com/go-jose/go-jose/v4 v4.0.1 05:21:48 go: downloading github.com/armon/go-metrics v0.4.1 05:21:48 go: downloading google.golang.org/protobuf v1.34.1 05:21:48 go: downloading github.com/hashicorp/go-msgpack v0.5.5 05:21:48 go: downloading github.com/hashicorp/memberlist v0.5.0 05:21:48 go: downloading github.com/hashicorp/go-version v1.2.1 05:21:48 go: downloading github.com/pkg/errors v0.9.1 05:21:48 go: downloading golang.org/x/tools v0.21.0 05:21:48 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240509183442-62759503f434 05:21:48 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 05:21:48 go: downloading github.com/pascaldekloe/goe v0.1.0 05:21:48 go: downloading github.com/google/btree v1.0.1 05:21:48 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 05:21:48 go: downloading github.com/miekg/dns v1.1.41 05:21:48 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:21:48 go: downloading gopkg.in/yaml.v2 v2.4.0 05:21:48 go: downloading github.com/hpcloud/tail v1.0.0 05:21:48 go: downloading github.com/hashicorp/golang-lru v0.5.4 05:21:48 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 05:21:48 go: downloading gopkg.in/fsnotify.v1 v1.4.7 05:21:48 go: downloading golang.org/x/mod v0.17.0 05:21:49 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 05:22:04 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' 05:22:04 make -C ./app-service-template test 05:22:04 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' 05:22:04 go test -race -coverprofile=coverage.out ./... 05:22:22 ? app-new-service/config [no test files] 05:22:22 ok app-new-service 1.048s coverage: 45.9% of statements 05:22:22 ok app-new-service/functions 1.055s coverage: 85.3% of statements 05:22:23 go vet ./... 05:22:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:22:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:22:41 ./bin/test-attribution-txt.sh 05:22:41 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1601/app-service-template' 05:22:41 go test -race -coverprofile=coverage.out ./... 05:22:42 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 05:22:53 level=ERROR ts=2024-08-17T05:22:51.931998847Z app=test source=configurable.go:718 msg="Could not find 'profilenames' parameter for FilterByProfileName" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.932282528Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByProfileName" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.932516409Z app=test source=configurable.go:718 msg="Could not find 'devicenames' parameter for FilterByDeviceName" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.93273849Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByDeviceName" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.932951051Z app=test source=configurable.go:718 msg="Could not find 'sourcenames' parameter for FilterBySourceName" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.933199223Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterBySourceName" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.933401564Z app=test source=configurable.go:718 msg="Could not find 'resourcenames' parameter for FilterByResourceName" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.933622695Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByResourceName" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.933963807Z app=test source=configurable.go:192 msg="Invalid transform type 'baDType'. Must be 'xml' or 'json'" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.93464033Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.93474476Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.934856321Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'persistonerror' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.934970862Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.935068912Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.935174183Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.935278143Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.935745615Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.935846126Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.935942776Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'persistonerror' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.936050517Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'continueonsenderror' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.936151147Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'returninputdata' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.936240018Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.936338308Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.936441179Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.93656785Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.937579805Z app=test source=configurable.go:457 msg="Could not parse 'junk' to a bool for 'willenabled' parameter: strconv.ParseBool: parsing \"junk\": invalid syntax" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.937688205Z app=test source=configurable.go:494 msg="Could not parse 'junk' to a bool for 'willretained' parameter: strconv.ParseBool: parsing \"junk\": invalid syntax" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.937780176Z app=test source=configurable.go:483 msg="Could not parse 'junk' to a int for 'willqos' parameter: strconv.Atoi: parsing \"junk\": invalid syntax" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.937876826Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.937974427Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.938082797Z app=test source=configurable.go:467 msg="WillPayload must be present and non-empty when WillEnabled set to true" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.938175288Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.938441669Z 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`" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.938565959Z 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`" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.93866776Z 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`" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.938789971Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `:,:,:`" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.938875161Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.939042802Z app=test source=configurable.go:312 msg="Could not find 'key' or 'secretname' and 'secretvaluekey' in configuration" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.939330153Z app=test source=configurable.go:207 msg="Could not find profilename" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.939421144Z app=test source=configurable.go:212 msg="Could not find devicename" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.939624355Z app=test source=configurable.go:217 msg="Could not find resourcename" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.939939356Z app=test source=configurable.go:222 msg="Could not find valuetype" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.940125997Z app=test source=configurable.go:236 msg="unable to normalize the unknown value type bogus" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.940325078Z app=test source=configurable.go:251 msg="MediaType can not be empty when ValueType=Binary" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.940452879Z app=test source=configurable.go:244 msg="Could not find mediatype" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.940940361Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.941067342Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `tag1 = value1, tag2 =value2`" 05:22:53 level=INFO ts=2024-08-17T05:22:51.941474364Z app=test source=server.go:57 msg="Registering standard routes..." 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.941548924Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" 05:22:53 level=INFO ts=2024-08-17T05:22:51.941766995Z app=test source=server.go:57 msg="Registering standard routes..." 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.941823205Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" 05:22:53 level=INFO ts=2024-08-17T05:22:51.942058157Z app=test source=server.go:57 msg="Registering standard routes..." 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.942132747Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" 05:22:53 level=INFO ts=2024-08-17T05:22:51.943062202Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.943383253Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.943569804Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.943619044Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" 05:22:53 level=INFO ts=2024-08-17T05:22:51.943871386Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:22:53 level=INFO ts=2024-08-17T05:22:51.944028776Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.944068997Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" 05:22:53 --- FAIL: TestSetupHTTPTrigger (0.00s) 05:22:53 service_test.go:289: 05:22:53 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/service_test.go:289 05:22:53 Error: Should be true 05:22:53 Test: TestSetupHTTPTrigger 05:22:53 Messages: Expected Instance of HTTP Trigger 05:22:53 level=INFO ts=2024-08-17T05:22:51.944527059Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.94475864Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.944953771Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.944999301Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" 05:22:53 level=INFO ts=2024-08-17T05:22:51.945181162Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:22:53 level=INFO ts=2024-08-17T05:22:51.945335393Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.945375303Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" 05:22:53 --- FAIL: TestSetupMessageBusTrigger (0.00s) 05:22:53 service_test.go:309: 05:22:53 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/service_test.go:309 05:22:53 Error: Should be true 05:22:53 Test: TestSetupMessageBusTrigger 05:22:53 Messages: Expected Instance of Message Bus Trigger 05:22:53 level=INFO ts=2024-08-17T05:22:51.946050956Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.946278788Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.946470829Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.946525459Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.946563019Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.946891711Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.947140912Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.947272922Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.947302853Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.947327573Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.947589264Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-123 metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.947822515Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-123 metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.947968996Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-123 metric has been registered and will be reported (if enabled)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.948002836Z app=test source=service.go:455 msg="Pipeline '123' added for topics '[edgex/#]' with 1 transform(s)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.948313278Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-124 metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.948477028Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-124 metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.948612749Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-124 metric has been registered and will be reported (if enabled)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.948646919Z app=test source=service.go:455 msg="Pipeline '124' added for topics '[edgex/#]' with 1 transform(s)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.949087681Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-121 metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.949249932Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-121 metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.949378703Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-121 metric has been registered and will be reported (if enabled)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.949425623Z app=test source=service.go:455 msg="Pipeline '121' added for topics '[edgex/#]' with 2 transform(s)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.951607534Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.951956476Z app=test source=service.go:329 msg="'bogus' Function Pipeline Execution Order: [Bogus]" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.952270947Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.953002391Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.953231482Z app=test source=service.go:405 msg="FilterByDeviceName function added to 'default-pipeline' configurable pipeline with parameters: [devicenames='Random-Float-Device, Random-Integer-Device']" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.953369113Z app=test source=service.go:405 msg="Transform function added to 'default-pipeline' configurable pipeline with parameters: [type='xml']" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.953534654Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.953607884Z app=test source=service.go:329 msg="'pre-topic' Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.953736035Z app=test source=service.go:405 msg="FilterByDeviceName function added to 'pre-topic' configurable pipeline with parameters: [devicenames='Random-Float-Device, Random-Integer-Device']" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.953860005Z app=test source=service.go:405 msg="Transform function added to 'pre-topic' configurable pipeline with parameters: [type='xml']" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.954009706Z app=test source=service.go:405 msg="SetResponseData function added to 'pre-topic' configurable pipeline with parameters: []" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.954323867Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.954468158Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.954568279Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.95481101Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.95494289Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.955029911Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.955189162Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.955280452Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.955347902Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.955507313Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.955584134Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.955663634Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.955819705Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.955912785Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.955983255Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.956188516Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.956269907Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.956341947Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.956500168Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.956580978Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.956652849Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:22:53 level=INFO ts=2024-08-17T05:22:51.958046746Z app=test source=service.go:750 msg="Environment profileOverride of '-n/--serviceName' by environment variable: EDGEX_SERVICE_KEY=MyCustomAppService" 05:22:53 level=INFO ts=2024-08-17T05:22:51.958213016Z app=test source=service.go:750 msg="Environment profileOverride of '-n/--serviceName' by environment variable: EDGEX_SERVICE_KEY=AppService--MyCloud" 05:22:53 --- FAIL: TestSetupTrigger_HTTP (0.00s) 05:22:53 triggerfactory_test.go:112: 05:22:53 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:112 05:22:53 Error: Object expected to be of type *http.Trigger, but was *mqtt.Trigger 05:22:53 Test: TestSetupTrigger_HTTP 05:22:53 Messages: should be an http trigger 05:22:53 --- FAIL: TestSetupTrigger_EdgeXMessageBus (0.00s) 05:22:53 triggerfactory_test.go:129: 05:22:53 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:129 05:22:53 Error: Object expected to be of type *messagebus.Trigger, but was *mqtt.Trigger 05:22:53 Test: TestSetupTrigger_EdgeXMessageBus 05:22:53 Messages: should be an edgex-messagebus trigger 05:22:53 level=INFO ts=2024-08-17T05:22:51.965182881Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:22:53 level=INFO ts=2024-08-17T05:22:51.965368062Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:22:53 level=INFO ts=2024-08-17T05:22:51.965428913Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" 05:22:53 --- FAIL: Test_Service_setupTrigger_CustomType (0.00s) 05:22:53 triggerfactory_test.go:185: 05:22:53 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:185 05:22:53 Error: Object expected to be of type *app.mockCustomTrigger, but was *mqtt.Trigger 05:22:53 Test: Test_Service_setupTrigger_CustomType 05:22:53 Messages: should be a custom trigger 05:22:53 --- FAIL: Test_Service_SetupTrigger_CustomTypeError (0.00s) 05:22:53 triggerfactory_test.go:208: 05:22:53 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:208 05:22:53 Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc00024a1b0), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc00060b4a0), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} 05:22:53 Test: Test_Service_SetupTrigger_CustomTypeError 05:22:53 Messages: should be nil 05:22:53 --- FAIL: Test_Service_SetupTrigger_CustomTypeNotFound (0.00s) 05:22:53 triggerfactory_test.go:226: 05:22:53 Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1601/internal/app/triggerfactory_test.go:226 05:22:53 Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc00024a690), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc00060b780), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} 05:22:53 Test: Test_Service_SetupTrigger_CustomTypeNotFound 05:22:53 Messages: should be nil 05:22:53 level=INFO ts=2024-08-17T05:22:51.967769584Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:22:53 level=INFO ts=2024-08-17T05:22:51.967921785Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.968010925Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 69e3e6a1-246d-49e2-b100-b99c68af9a65" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.968107606Z app=test source=triggermessageprocessor.go:115 msg="trigger found 0 pipeline(s) that match the incoming topic '69e3e6a1-246d-49e2-b100-b99c68af9a65'" 05:22:53 level=INFO ts=2024-08-17T05:22:51.968538288Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:22:53 level=INFO ts=2024-08-17T05:22:51.968658138Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.968733489Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic ab011e44-c2af-47d1-98d8-de485b059680" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.968834639Z app=test source=triggermessageprocessor.go:115 msg="trigger found 1 pipeline(s) that match the incoming topic 'ab011e44-c2af-47d1-98d8-de485b059680'" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.96899092Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (c44308b2-882e-41c3-b2a1-0c98e437faee)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.969192531Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline c44308b2-882e-41c3-b2a1-0c98e437faee" 05:22:53 level=INFO ts=2024-08-17T05:22:51.969555143Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:22:53 level=INFO ts=2024-08-17T05:22:51.969674733Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.969750904Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic d670d444-1623-44e8-b899-51a377d81bb1" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.969846764Z app=test source=triggermessageprocessor.go:115 msg="trigger found 1 pipeline(s) that match the incoming topic 'd670d444-1623-44e8-b899-51a377d81bb1'" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.970008595Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (853743d4-c5a2-4a7e-978a-96799ca8dfd8)" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.970156156Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (853743d4-c5a2-4a7e-978a-96799ca8dfd8): some error" 05:22:53 level=INFO ts=2024-08-17T05:22:51.970515338Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:22:53 level=INFO ts=2024-08-17T05:22:51.970637118Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.970741589Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 7489d40b-4ba0-44ec-97c9-6d6cb480a2b8" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.970835259Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic '7489d40b-4ba0-44ec-97c9-6d6cb480a2b8'" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.97098365Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (049da9aa-e975-41bb-b550-c2a7c0802724)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.97102748Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (049da9aa-e975-41bb-b550-c2a7c0802724)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.971112431Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (049da9aa-e975-41bb-b550-c2a7c0802724)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.971211321Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 049da9aa-e975-41bb-b550-c2a7c0802724" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.971381932Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 049da9aa-e975-41bb-b550-c2a7c0802724" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.972557488Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 049da9aa-e975-41bb-b550-c2a7c0802724" 05:22:53 level=INFO ts=2024-08-17T05:22:51.973157371Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:22:53 level=INFO ts=2024-08-17T05:22:51.973333492Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.973499753Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 6560c393-5542-4df8-b514-1571e996666c" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.973657863Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic '6560c393-5542-4df8-b514-1571e996666c'" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.973919995Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (93599d05-93e4-4ab6-9d55-9b00f2391179)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.973950285Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline errorid (93599d05-93e4-4ab6-9d55-9b00f2391179)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.973982245Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (93599d05-93e4-4ab6-9d55-9b00f2391179)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.974168326Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 93599d05-93e4-4ab6-9d55-9b00f2391179" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.974362717Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline errorid (93599d05-93e4-4ab6-9d55-9b00f2391179): new error" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.974543728Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 93599d05-93e4-4ab6-9d55-9b00f2391179" 05:22:53 level=INFO ts=2024-08-17T05:22:51.974893429Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:22:53 level=INFO ts=2024-08-17T05:22:51.97501583Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.97508672Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic c2bdae52-e7d8-4101-a37e-209ec29c5e2a" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.975168981Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic 'c2bdae52-e7d8-4101-a37e-209ec29c5e2a'" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.975337152Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (80d75bf7-b549-4ebe-86fa-643935006f75)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.975360782Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (80d75bf7-b549-4ebe-86fa-643935006f75)" 05:22:53 level=DEBUG ts=2024-08-17T05:22:51.975382722Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (80d75bf7-b549-4ebe-86fa-643935006f75)" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.975482742Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (80d75bf7-b549-4ebe-86fa-643935006f75): new error" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.975639403Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (80d75bf7-b549-4ebe-86fa-643935006f75): new error" 05:22:53 level=ERROR ts=2024-08-17T05:22:51.975756534Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (80d75bf7-b549-4ebe-86fa-643935006f75): new error" 05:22:53 FAIL 05:22:53 coverage: 66.4% of statements 05:22:53 FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.093s 05:22:53 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 05:22:53 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 05:22:53 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.051s coverage: 92.6% of statements 05:22:54 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.060s coverage: 85.1% of statements 05:22:54 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.034s coverage: 100.0% of statements 05:22:54 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 05:22:54 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 05:22:54 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 05:22:55 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 05:22:55 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 05:22:55 # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt.test] 05:22:55 internal/trigger/mqtt/mqtt_test.go:120:5: unknown field mqttClient in struct literal of type Trigger 05:22:55 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 05:22:55 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 1.115s coverage: 77.9% of statements 05:22:56 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.047s coverage: 97.3% of statements 05:22:56 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 05:22:56 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:22:56 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.049s coverage: 82.8% of statements 05:22:56 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.054s coverage: 65.1% of statements 05:22:56 FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [build failed] 05:22:57 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.057s coverage: 17.2% of statements 05:22:57 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.040s coverage: 27.3% of statements 05:22:57 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.062s coverage: 52.8% of statements 05:23:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7854 in /w/workspace/dry_app-functions-sdk-go_PR-1601 [Pipeline] { [Pipeline] ws 05:23:22 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:23:22 The recommended git tool is: git 05:23:24 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.121s coverage: 75.5% of statements 05:23:24 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.067s coverage: 94.4% of statements 05:23:24 FAIL 05:23:24 make: *** [Makefile:43: test-sdk] Error 1 [Pipeline] } 05:23:24 $ docker stop --time=1 4e8a16e1b18fe2dc8919cfda394c6970ec7e5ca394d2402acdfc32aa3b939d02 05:23:25 $ docker rm -f --volumes 4e8a16e1b18fe2dc8919cfda394c6970ec7e5ca394d2402acdfc32aa3b939d02 [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 05:23:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:23:28 05:23:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:23:28 latest: Pulling from edgex-lftools-log-publisher 05:23:28 5eb5b503b376: Pulling fs layer 05:23:28 5c69ac0246d0: Pulling fs layer 05:23:28 ec43610c2a17: Pulling fs layer 05:23:28 3a2ae6a8a46f: Pulling fs layer 05:23:28 33b1e0a273af: Pulling fs layer 05:23:28 5d3b04190fa2: Pulling fs layer 05:23:28 2f39f015ded8: Pulling fs layer 05:23:28 3a2ae6a8a46f: Waiting 05:23:28 33b1e0a273af: Waiting 05:23:28 5d3b04190fa2: Waiting 05:23:28 2f39f015ded8: Waiting 05:23:28 5c69ac0246d0: Download complete 05:23:28 3a2ae6a8a46f: Verifying Checksum 05:23:28 3a2ae6a8a46f: Download complete 05:23:28 ec43610c2a17: Verifying Checksum 05:23:28 ec43610c2a17: Download complete 05:23:28 33b1e0a273af: Verifying Checksum 05:23:28 33b1e0a273af: Download complete 05:23:28 5d3b04190fa2: Download complete 05:23:28 5eb5b503b376: Verifying Checksum 05:23:28 5eb5b503b376: Download complete 05:23:29 2f39f015ded8: Download complete 05:23:29 5eb5b503b376: Pull complete 05:23:29 5c69ac0246d0: Pull complete 05:23:30 ec43610c2a17: Pull complete 05:23:30 3a2ae6a8a46f: Pull complete 05:23:30 33b1e0a273af: Pull complete 05:23:30 5d3b04190fa2: Pull complete 05:23:31 using credential edgex-jenkins-ssh 05:23:31 Cloning the remote Git repository 05:23:31 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 05:23:31 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 05:23:31 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 05:23:31 > git --version # timeout=10 05:23:31 > git --version # 'git version 2.25.1' 05:23:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:23:34 2f39f015ded8: Pull complete 05:23:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:23:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:23:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:35 prd-ubuntu20.04-docker-8c-8g-7853 does not seem to be running inside a container 05:23:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:23:38 $ docker top ff511d4a9ba7537f6ce111a4b304727d34b6997c38e84baccc3f2fec314977f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:23:38 ---> job-cost.sh 05:23:38 lf-activate-venv: SKIPPING 05:23:38 INFO: No Stack... 05:23:37 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 05:23:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:23:38 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 05:23:38 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 05:23:38 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23:38 > 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 05:23:38 INFO: Retrieving Pricing Info for: v3-standard-8 05:23:39 INFO: Archiving Costs [Pipeline] sh 05:23:39 Merging remotes/origin/napa commit 2d559bfd24087982bdd8bbb47fa03227def45c27 into PR head commit f3184e3a93a5cb4e8557ce8489b47d5f3abd642d 05:23:39 + cat /w/workspace/dry_app-functions-sdk-go_PR-1601/archives/cost.csv 05:23:39 + cut -d, -f6 [Pipeline] lock 05:23:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-1-stack-cost] 05:23:39 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-1-stack-cost] did not exist. Created. 05:23:39 Lock acquired on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:23:40 + echo total: 0.2199999988079071 [Pipeline] stash 05:23:40 Stashed 1 file(s) [Pipeline] } 05:23:40 Lock released on resource [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:23:40 $ docker stop --time=1 ff511d4a9ba7537f6ce111a4b304727d34b6997c38e84baccc3f2fec314977f5 05:23:39 > git config core.sparsecheckout # timeout=10 05:23:39 > git checkout -f f3184e3a93a5cb4e8557ce8489b47d5f3abd642d # timeout=10 05:23:40 Merge succeeded, producing f3184e3a93a5cb4e8557ce8489b47d5f3abd642d 05:23:40 Checking out Revision f3184e3a93a5cb4e8557ce8489b47d5f3abd642d (PR-1601) 05:23:41 $ docker rm -f --volumes ff511d4a9ba7537f6ce111a4b304727d34b6997c38e84baccc3f2fec314977f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:23:41 Failed in branch amd64 05:23:40 > git remote # timeout=10 05:23:40 > git config --get remote.origin.url # timeout=10 05:23:40 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23:40 > git merge 2d559bfd24087982bdd8bbb47fa03227def45c27 # timeout=10 05:23:40 > git rev-parse HEAD^{commit} # timeout=10 05:23:40 > git config core.sparsecheckout # timeout=10 05:23:40 > git checkout -f f3184e3a93a5cb4e8557ce8489b47d5f3abd642d # timeout=10 05:23:45 Commit message: "feat(interfaces/service.go app/service.go): add TriggerMqttClient() (*pahoMqtt.Client, error)" 05:23:45 > git --version # timeout=10 05:23:45 > git --version # 'git version 2.25.1' 05:23:45 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:23:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:23:47 % Total % Received % Xferd Average Speed Time Time Time Current 05:23:47 Dload Upload Total Spent Left Speed 05:23:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 120k 0 --:--:-- --:--:-- --:--:-- 120k [Pipeline] sh 05:23:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:23:48 + sudo tee /etc/docker/daemon.new 05:23:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:23:48 { 05:23:48 "registry-mirrors": [ 05:23:48 "https://nexus3.edgexfoundry.org:10001" 05:23:48 ], 05:23:48 "bip": "10.250.0.254/24", 05:23:48 "hosts": [ 05:23:48 "tcp://0.0.0.0:5555", 05:23:48 "unix:///var/run/docker.sock" 05:23:48 ], 05:23:48 "mtu": 1458, 05:23:48 "selinux-enabled": true, 05:23:48 "seccomp-profile": "/etc/docker/seccomp.json" 05:23:48 } [Pipeline] sh 05:23:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:23:49 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 05:24:07 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 05:24:08 + grep ^go [0-9].[0-9]* go.mod+ 05:24:08 cut -d -f 2 [Pipeline] echo 05:24:08 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:24:08 ========================================================= 05:24:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 05:24:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:24:08 + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 05:24:09 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 05:24:09 c6b39de5b339: Pulling fs layer 05:24:09 a69c41024577: Pulling fs layer 05:24:09 d6de4b400683: Pulling fs layer 05:24:09 35cb2a7552d0: Pulling fs layer 05:24:09 4f4fb700ef54: Pulling fs layer 05:24:09 9e011611b7f5: Pulling fs layer 05:24:09 3bd174042beb: Pulling fs layer 05:24:09 4476f39b5e91: Pulling fs layer 05:24:09 3bd174042beb: Waiting 05:24:09 4476f39b5e91: Waiting 05:24:09 4f4fb700ef54: Waiting 05:24:09 35cb2a7552d0: Waiting 05:24:09 a69c41024577: Verifying Checksum 05:24:09 a69c41024577: Download complete 05:24:09 35cb2a7552d0: Verifying Checksum 05:24:09 35cb2a7552d0: Download complete 05:24:09 4f4fb700ef54: Verifying Checksum 05:24:09 4f4fb700ef54: Download complete 05:24:09 c6b39de5b339: Download complete 05:24:09 9e011611b7f5: Verifying Checksum 05:24:09 9e011611b7f5: Download complete 05:24:09 4476f39b5e91: Verifying Checksum 05:24:09 4476f39b5e91: Download complete 05:24:10 c6b39de5b339: Pull complete 05:24:10 a69c41024577: Pull complete 05:24:11 d6de4b400683: Verifying Checksum 05:24:11 d6de4b400683: Download complete 05:24:12 3bd174042beb: Verifying Checksum 05:24:12 3bd174042beb: Download complete 05:24:24 d6de4b400683: Pull complete 05:24:24 35cb2a7552d0: Pull complete 05:24:24 4f4fb700ef54: Pull complete 05:24:24 9e011611b7f5: Pull complete 05:24:32 3bd174042beb: Pull complete 05:24:33 4476f39b5e91: Pull complete 05:24:33 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 05:24:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 05:24:34 nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [Pipeline] sh 05:24:34 + 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 05:24:35 + docker inspect -f . ci-base-image-arm64 05:24:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:35 prd-ubuntu20.04-docker-arm64-4c-16g-7854 does not seem to be running inside a container 05:24:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:24:38 $ docker top 447663807a15bd293af32882d8cd48eafdf0066557ef183fa870d6030e736f40 -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:39 + go version 05:24:39 go version go1.21.9 linux/arm64 [Pipeline] } 05:24:39 $ docker stop --time=1 447663807a15bd293af32882d8cd48eafdf0066557ef183fa870d6030e736f40 05:24:41 $ docker rm -f --volumes 447663807a15bd293af32882d8cd48eafdf0066557ef183fa870d6030e736f40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:41 + docker inspect -f . ci-base-image-arm64 05:24:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:42 prd-ubuntu20.04-docker-arm64-4c-16g-7854 does not seem to be running inside a container 05:24:42 $ 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:24:43 $ docker top 8218eaf32283588d7401d5703c4edcf78ecca5cabe0ca12780b725f6904b4570 -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:44 + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 05:24:45 + make test 05:24:45 make -C ./app-service-template build 05:24:45 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 05:24:45 go mod tidy 05:24:45 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0 05:24:45 go: downloading github.com/labstack/echo/v4 v4.11.2 05:24:45 go: downloading github.com/stretchr/testify v1.9.0 05:24:45 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 05:24:45 go: downloading github.com/google/uuid v1.6.0 05:24:45 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0 05:24:45 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 05:24:46 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0 05:24:46 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0 05:24:46 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.2 05:24:46 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 05:24:46 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 05:24:46 go: downloading github.com/stretchr/objx v0.5.2 05:24:46 go: downloading gopkg.in/yaml.v3 v3.0.1 05:24:46 go: downloading github.com/labstack/gommon v0.4.0 05:24:46 go: downloading golang.org/x/crypto v0.23.0 05:24:46 go: downloading golang.org/x/net v0.25.0 05:24:47 go: downloading github.com/fxamacker/cbor/v2 v2.5.0 05:24:47 go: downloading github.com/go-playground/validator/v10 v10.15.5 05:24:47 go: downloading github.com/go-kit/log v0.2.1 05:24:47 go: downloading github.com/hashicorp/go-multierror v1.1.1 05:24:47 go: downloading github.com/gorilla/websocket v1.5.0 05:24:47 go: downloading golang.org/x/sync v0.7.0 05:24:47 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0 05:24:47 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0 05:24:47 go: downloading github.com/mitchellh/copystructure v1.2.0 05:24:48 go: downloading github.com/mattn/go-colorable v0.1.13 05:24:48 go: downloading github.com/mattn/go-isatty v0.0.19 05:24:48 go: downloading github.com/valyala/fasttemplate v1.2.2 05:24:48 go: downloading github.com/x448/float16 v0.8.4 05:24:48 go: downloading github.com/go-logfmt/logfmt v0.5.1 05:24:48 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 05:24:48 go: downloading github.com/go-playground/universal-translator v0.18.1 05:24:48 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 05:24:48 go: downloading github.com/leodido/go-urn v1.2.4 05:24:48 go: downloading golang.org/x/text v0.15.0 05:24:49 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 05:24:49 go: downloading github.com/go-playground/assert/v2 v2.2.0 05:24:49 go: downloading github.com/go-playground/locales v0.14.1 05:24:52 go: downloading github.com/hashicorp/errwrap v1.1.0 05:24:52 go: downloading github.com/spiffe/go-spiffe/v2 v2.2.0 05:24:52 go: downloading github.com/hashicorp/consul/api v1.25.1 05:24:52 go: downloading github.com/mitchellh/reflectwalk v1.0.2 05:24:52 go: downloading github.com/valyala/bytebufferpool v1.0.0 05:24:52 go: downloading golang.org/x/sys v0.20.0 05:24:52 go: downloading github.com/mitchellh/mapstructure v1.5.0 05:24:52 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 05:24:52 go: downloading golang.org/x/time v0.5.0 05:24:52 go: downloading github.com/kr/pretty v0.1.0 05:24:53 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:24:53 go: downloading github.com/nats-io/nats.go v1.31.0 05:24:53 go: downloading github.com/go-redis/redis/v7 v7.3.0 05:24:53 go: downloading github.com/Microsoft/go-winio v0.6.1 05:24:53 go: downloading github.com/zeebo/errs v1.3.0 05:24:53 go: downloading google.golang.org/grpc v1.63.2 05:24:54 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 05:24:54 go: downloading github.com/hashicorp/go-hclog v1.5.0 05:24:54 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 05:24:54 go: downloading github.com/hashicorp/serf v0.10.1 05:24:54 go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 05:24:54 go: downloading github.com/google/go-cmp v0.6.0 05:24:54 go: downloading github.com/hashicorp/consul/sdk v0.14.1 05:24:54 go: downloading github.com/hashicorp/go-uuid v1.0.3 05:24:54 go: downloading github.com/kr/text v0.2.0 05:24:55 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 05:24:55 go: downloading github.com/onsi/ginkgo v1.10.1 05:24:55 go: downloading github.com/onsi/gomega v1.7.0 05:24:55 go: downloading github.com/go-jose/go-jose/v4 v4.0.1 05:24:55 go: downloading golang.org/x/tools v0.21.0 05:24:55 go: downloading google.golang.org/protobuf v1.34.1 05:24:56 go: downloading github.com/klauspost/compress v1.17.1 05:24:56 go: downloading github.com/nats-io/nkeys v0.4.6 05:24:56 go: downloading github.com/nats-io/nuid v1.0.1 05:24:56 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240509183442-62759503f434 05:24:56 go: downloading github.com/mitchellh/go-homedir v1.1.0 05:24:56 go: downloading github.com/fatih/color v1.14.1 05:24:56 go: downloading github.com/hashicorp/go-version v1.2.1 05:24:56 go: downloading github.com/pkg/errors v0.9.1 05:24:56 go: downloading github.com/armon/go-metrics v0.4.1 05:24:56 go: downloading github.com/hashicorp/go-msgpack v0.5.5 05:24:56 go: downloading github.com/hashicorp/memberlist v0.5.0 05:24:56 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 05:24:56 go: downloading github.com/pascaldekloe/goe v0.1.0 05:24:56 go: downloading gopkg.in/yaml.v2 v2.4.0 05:24:56 go: downloading github.com/hpcloud/tail v1.0.0 05:24:57 go: downloading github.com/hashicorp/golang-lru v0.5.4 05:24:57 go: downloading github.com/google/btree v1.0.1 05:24:57 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 05:24:57 go: downloading github.com/miekg/dns v1.1.41 05:24:57 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:24:57 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 05:24:57 go: downloading gopkg.in/fsnotify.v1 v1.4.7 05:24:58 go: downloading golang.org/x/mod v0.17.0 05:25:01 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 05:27:08 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 05:27:08 make -C ./app-service-template test 05:27:08 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 05:27:08 go test -race -coverprofile=coverage.out ./... 05:29:29 ? app-new-service/config [no test files] 05:29:29 ok app-new-service 1.260s coverage: 45.9% of statements 05:29:30 ok app-new-service/functions 1.234s coverage: 85.3% of statements 05:29:30 go vet ./... 05:31:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:31:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:31:52 ./bin/test-attribution-txt.sh 05:31:52 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 05:31:52 go test -race -coverprofile=coverage.out ./... 05:32:07 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 05:33:28 level=ERROR ts=2024-08-17T05:33:18.082062157Z app=test source=configurable.go:718 msg="Could not find 'profilenames' parameter for FilterByProfileName" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.083951239Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByProfileName" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.085734296Z app=test source=configurable.go:718 msg="Could not find 'devicenames' parameter for FilterByDeviceName" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.087345222Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByDeviceName" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.089027402Z app=test source=configurable.go:718 msg="Could not find 'sourcenames' parameter for FilterBySourceName" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.090675671Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterBySourceName" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.092380482Z app=test source=configurable.go:718 msg="Could not find 'resourcenames' parameter for FilterByResourceName" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.094069273Z app=test source=configurable.go:728 msg="Could not convert filterOut value `` to bool for FilterByResourceName" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.096617725Z app=test source=configurable.go:192 msg="Invalid transform type 'baDType'. Must be 'xml' or 'json'" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.10104892Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.101808885Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.102580661Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'persistonerror' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.103354627Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.104094391Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.104898639Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.105704447Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.109680335Z app=test source=configurable.go:349 msg="HTTPExport Could not find url" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.110508844Z app=test source=configurable.go:349 msg="HTTPExport Could not find mimetype" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.111316692Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'persistonerror' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.112168803Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'continueonsenderror' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.113004843Z app=test source=configurable.go:349 msg="HTTPExport Could not parse 'bogus' to a bool for 'returninputdata' parameter: strconv.ParseBool: parsing \"bogus\": invalid syntax" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.113837923Z app=test source=configurable.go:349 msg="HTTPExport missing headername since secretname & secretvaluekey are specified" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.114613449Z app=test source=configurable.go:349 msg="HTTPExport missing secretname since headername & secretvaluekey are specified" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.115365034Z app=test source=configurable.go:349 msg="HTTPExport missing secretvaluekey since secretname & headername are specified" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.116264808Z app=test source=configurable.go:359 unexpectedendofJSONinput= msg="Unable to unmarshal http request headers : %s" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.123690811Z app=test source=configurable.go:457 msg="Could not parse 'junk' to a bool for 'willenabled' parameter: strconv.ParseBool: parsing \"junk\": invalid syntax" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.124386322Z app=test source=configurable.go:494 msg="Could not parse 'junk' to a bool for 'willretained' parameter: strconv.ParseBool: parsing \"junk\": invalid syntax" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.125149848Z app=test source=configurable.go:483 msg="Could not parse 'junk' to a int for 'willqos' parameter: strconv.Atoi: parsing \"junk\": invalid syntax" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.125800266Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.126449105Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.12720047Z app=test source=configurable.go:467 msg="WillPayload must be present and non-empty when WillEnabled set to true" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.127911342Z app=test source=configurable.go:474 msg="WillTopic must be present and non-empty when WillEnabled set to true" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.129907472Z 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`" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.130580242Z 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`" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.131239151Z 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`" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.131922982Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `:,:,:`" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.132617703Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.133768242Z app=test source=configurable.go:312 msg="Could not find 'key' or 'secretname' and 'secretvaluekey' in configuration" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.135693077Z app=test source=configurable.go:207 msg="Could not find profilename" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.136294253Z app=test source=configurable.go:212 msg="Could not find devicename" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.137028326Z app=test source=configurable.go:217 msg="Could not find resourcename" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.137786222Z app=test source=configurable.go:222 msg="Could not find valuetype" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.138731788Z app=test source=configurable.go:236 msg="unable to normalize the unknown value type bogus" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.139787371Z app=test source=configurable.go:251 msg="MediaType can not be empty when ValueType=Binary" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.140467072Z app=test source=configurable.go:244 msg="Could not find mediatype" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.143021514Z app=test source=configurable.go:684 msg="Could not find 'tags' parameter" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.143732316Z app=test source=configurable.go:694 msg="Bad Tags specification format. Expect comma separated list of 'key:value'. Got `tag1 = value1, tag2 =value2`" 05:33:28 level=INFO ts=2024-08-17T05:33:18.145262488Z app=test source=server.go:57 msg="Registering standard routes..." 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.145648951Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" 05:33:28 level=INFO ts=2024-08-17T05:33:18.146782178Z app=test source=server.go:57 msg="Registering standard routes..." 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.147072376Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" 05:33:28 level=INFO ts=2024-08-17T05:33:18.148474799Z app=test source=server.go:57 msg="Registering standard routes..." 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.148901455Z app=test source=server.go:87 route=/test methods=[GET] msg="Route added" 05:33:28 level=INFO ts=2024-08-17T05:33:18.153795317Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.154974127Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.156090064Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.156311027Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" 05:33:28 level=INFO ts=2024-08-17T05:33:18.157282175Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:33:28 level=INFO ts=2024-08-17T05:33:18.157982257Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.158179209Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" 05:33:28 --- FAIL: TestSetupHTTPTrigger (0.01s) 05:33:28 service_test.go:289: 05:33:28 Error Trace: /w/workspace/app-functions-sdk-go/1/internal/app/service_test.go:289 05:33:28 Error: Should be true 05:33:28 Test: TestSetupHTTPTrigger 05:33:28 Messages: Expected Instance of HTTP Trigger 05:33:28 level=INFO ts=2024-08-17T05:33:18.160325887Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.161480635Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.162420802Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.162666786Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" 05:33:28 level=INFO ts=2024-08-17T05:33:18.163494846Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:33:28 level=INFO ts=2024-08-17T05:33:18.164318365Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.164518637Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" 05:33:28 --- FAIL: TestSetupMessageBusTrigger (0.01s) 05:33:28 service_test.go:309: 05:33:28 Error Trace: /w/workspace/app-functions-sdk-go/1/internal/app/service_test.go:309 05:33:28 Error: Should be true 05:33:28 Test: TestSetupMessageBusTrigger 05:33:28 Messages: Expected Instance of Message Bus Trigger 05:33:28 level=INFO ts=2024-08-17T05:33:18.167075699Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.168108871Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.169385427Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.169637972Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.169875416Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.17144574Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-default-pipeline metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.172464001Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-default-pipeline metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.173553986Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-default-pipeline metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.17379551Z app=test source=runtime.go:122 msg="Transforms set for `default-pipeline` pipeline" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.174015893Z app=test source=service.go:423 msg="Default pipeline added with 1 transform(s)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.175442799Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-123 metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.176289789Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-123 metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.17713705Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-123 metric has been registered and will be reported (if enabled)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.177405196Z app=test source=service.go:455 msg="Pipeline '123' added for topics '[edgex/#]' with 1 transform(s)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.179499521Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-124 metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.180422026Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-124 metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.181480579Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-124 metric has been registered and will be reported (if enabled)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.181750495Z app=test source=service.go:455 msg="Pipeline '124' added for topics '[edgex/#]' with 1 transform(s)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.184703871Z app=test source=runtime.go:197 msg="PipelineMessagesProcessed-121 metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.185656558Z app=test source=runtime.go:197 msg="PipelineMessageProcessingTime-121 metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.186627426Z app=test source=runtime.go:197 msg="PipelineProcessingErrors-121 metric has been registered and will be reported (if enabled)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.186875211Z app=test source=service.go:455 msg="Pipeline '121' added for topics '[edgex/#]' with 2 transform(s)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.191945723Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.192691758Z app=test source=service.go:329 msg="'bogus' Function Pipeline Execution Order: [Bogus]" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.193636564Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Bogus]" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.195773452Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.196295943Z app=test source=service.go:405 msg="FilterByDeviceName function added to 'default-pipeline' configurable pipeline with parameters: [devicenames='Random-Float-Device, Random-Integer-Device']" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.196787522Z app=test source=service.go:405 msg="Transform function added to 'default-pipeline' configurable pipeline with parameters: [type='xml']" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.197215308Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.197496214Z app=test source=service.go:329 msg="'pre-topic' Function Pipeline Execution Order: [FilterByDeviceName, Transform, SetResponseData]" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.19792171Z app=test source=service.go:405 msg="FilterByDeviceName function added to 'pre-topic' configurable pipeline with parameters: [devicenames='Random-Float-Device, Random-Integer-Device']" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.198351066Z app=test source=service.go:405 msg="Transform function added to 'pre-topic' configurable pipeline with parameters: [type='xml']" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.198771151Z app=test source=service.go:405 msg="SetResponseData function added to 'pre-topic' configurable pipeline with parameters: []" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.199744039Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.200177945Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.200562327Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.201411838Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.201844424Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.202192215Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.202871065Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.203376685Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.203704435Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.204438529Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.204899556Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.20530581Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.206080767Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.206486951Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.207038814Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.208425227Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.208876944Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.209300399Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.210090026Z app=test source=service.go:312 msg="Default Function Pipeline Execution Order: [Compress, SetResponseData]" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.210564284Z app=test source=service.go:405 msg="Compress function added to 'default-pipeline' configurable pipeline with parameters: [algorithm='gzip']" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.210929056Z app=test source=service.go:405 msg="SetResponseData function added to 'default-pipeline' configurable pipeline with parameters: []" 05:33:28 level=INFO ts=2024-08-17T05:33:18.21686414Z app=test source=service.go:750 msg="Environment profileOverride of '-n/--serviceName' by environment variable: EDGEX_SERVICE_KEY=MyCustomAppService" 05:33:28 level=INFO ts=2024-08-17T05:33:18.217727712Z app=test source=service.go:750 msg="Environment profileOverride of '-n/--serviceName' by environment variable: EDGEX_SERVICE_KEY=AppService--MyCloud" 05:33:28 --- FAIL: TestSetupTrigger_HTTP (0.00s) 05:33:28 triggerfactory_test.go:112: 05:33:28 Error Trace: /w/workspace/app-functions-sdk-go/1/internal/app/triggerfactory_test.go:112 05:33:28 Error: Object expected to be of type *http.Trigger, but was *mqtt.Trigger 05:33:28 Test: TestSetupTrigger_HTTP 05:33:28 Messages: should be an http trigger 05:33:28 --- FAIL: TestSetupTrigger_EdgeXMessageBus (0.00s) 05:33:28 triggerfactory_test.go:129: 05:33:28 Error Trace: /w/workspace/app-functions-sdk-go/1/internal/app/triggerfactory_test.go:129 05:33:28 Error: Object expected to be of type *messagebus.Trigger, but was *mqtt.Trigger 05:33:28 Test: TestSetupTrigger_EdgeXMessageBus 05:33:28 Messages: should be an edgex-messagebus trigger 05:33:28 level=INFO ts=2024-08-17T05:33:18.255962153Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:33:28 level=INFO ts=2024-08-17T05:33:18.256922Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:33:28 level=INFO ts=2024-08-17T05:33:18.257147374Z app=test source=triggerfactory.go:72 msg="External MQTT trigger selected" 05:33:28 --- FAIL: Test_Service_setupTrigger_CustomType (0.00s) 05:33:28 triggerfactory_test.go:185: 05:33:28 Error Trace: /w/workspace/app-functions-sdk-go/1/internal/app/triggerfactory_test.go:185 05:33:28 Error: Object expected to be of type *app.mockCustomTrigger, but was *mqtt.Trigger 05:33:28 Test: Test_Service_setupTrigger_CustomType 05:33:28 Messages: should be a custom trigger 05:33:28 --- FAIL: Test_Service_SetupTrigger_CustomTypeError (0.00s) 05:33:28 triggerfactory_test.go:208: 05:33:28 Error Trace: /w/workspace/app-functions-sdk-go/1/internal/app/triggerfactory_test.go:208 05:33:28 Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc000525620), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc000379450), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} 05:33:28 Test: Test_Service_SetupTrigger_CustomTypeError 05:33:28 Messages: should be nil 05:33:28 --- FAIL: Test_Service_SetupTrigger_CustomTypeNotFound (0.00s) 05:33:28 triggerfactory_test.go:226: 05:33:28 Error Trace: /w/workspace/app-functions-sdk-go/1/internal/app/triggerfactory_test.go:226 05:33:28 Error: Expected nil, but got: &mqtt.Trigger{messageProcessor:(*app.triggerMessageProcessor)(0xc000525980), serviceBinding:(*app.simpleTriggerServiceBinding)(0xc000379730), MqttClient:mqtt.Client(nil), qos:0x0, retain:false, publishTopic:""} 05:33:28 Test: Test_Service_SetupTrigger_CustomTypeNotFound 05:33:28 Messages: should be nil 05:33:28 level=INFO ts=2024-08-17T05:33:18.269516772Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:33:28 level=INFO ts=2024-08-17T05:33:18.270266467Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.270790508Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic ed482be5-66ef-4ac2-9ce6-598830abd595" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.271340691Z app=test source=triggermessageprocessor.go:115 msg="trigger found 0 pipeline(s) that match the incoming topic 'ed482be5-66ef-4ac2-9ce6-598830abd595'" 05:33:28 level=INFO ts=2024-08-17T05:33:18.274099755Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:33:28 level=INFO ts=2024-08-17T05:33:18.274860171Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.275417814Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic f96d9e3b-f9e3-493a-bfc9-7f0de723378a" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.276007009Z app=test source=triggermessageprocessor.go:115 msg="trigger found 1 pipeline(s) that match the incoming topic 'f96d9e3b-f9e3-493a-bfc9-7f0de723378a'" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.277144007Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (1cf34b77-339b-4d3f-9ffa-774be7e7e4f0)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.278125386Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 1cf34b77-339b-4d3f-9ffa-774be7e7e4f0" 05:33:28 level=INFO ts=2024-08-17T05:33:18.280958985Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:33:28 level=INFO ts=2024-08-17T05:33:18.281937883Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.282600303Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 4b89772a-32ea-4a90-8cf7-f5e2a50bd426" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.283304705Z app=test source=triggermessageprocessor.go:115 msg="trigger found 1 pipeline(s) that match the incoming topic '4b89772a-32ea-4a90-8cf7-f5e2a50bd426'" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.284560389Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (e398bd4c-fd74-478b-b781-07734745a046)" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.285825085Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (e398bd4c-fd74-478b-b781-07734745a046): some error" 05:33:28 level=INFO ts=2024-08-17T05:33:18.288280641Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:33:28 level=INFO ts=2024-08-17T05:33:18.289360066Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.290006144Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 5f9a8721-a3c1-48fc-a679-7a8412b57a06" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.290715637Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic '5f9a8721-a3c1-48fc-a679-7a8412b57a06'" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.292021555Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (085506af-8710-4b24-be66-e7b77db7c24b)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.293468281Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (085506af-8710-4b24-be66-e7b77db7c24b)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.293723766Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (085506af-8710-4b24-be66-e7b77db7c24b)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.29428378Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 085506af-8710-4b24-be66-e7b77db7c24b" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.295394946Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 085506af-8710-4b24-be66-e7b77db7c24b" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.29730529Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 085506af-8710-4b24-be66-e7b77db7c24b" 05:33:28 level=INFO ts=2024-08-17T05:33:18.29965829Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:33:28 level=INFO ts=2024-08-17T05:33:18.300430166Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.301002991Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic f3758bcd-5d8f-43c0-91f2-eac87e90f164" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.301608877Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic 'f3758bcd-5d8f-43c0-91f2-eac87e90f164'" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.302708102Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline errorid (1d9da607-8475-48f4-90c6-8194bd31cff5)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.302813099Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (1d9da607-8475-48f4-90c6-8194bd31cff5)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.30300186Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (1d9da607-8475-48f4-90c6-8194bd31cff5)" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.303777686Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline errorid (1d9da607-8475-48f4-90c6-8194bd31cff5): new error" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.304919594Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 1d9da607-8475-48f4-90c6-8194bd31cff5" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.305596645Z app=test source=triggermessageprocessor.go:164 msg="trigger successfully processed message '' in pipeline 1d9da607-8475-48f4-90c6-8194bd31cff5" 05:33:28 level=INFO ts=2024-08-17T05:33:18.307660218Z app=test source=triggermessageprocessor.go:90 msg="MessagesReceived metric has been registered and will be reported" 05:33:28 level=INFO ts=2024-08-17T05:33:18.308412233Z app=test source=triggermessageprocessor.go:96 msg="InvalidMessagesReceived metric has been registered and will be reported (if enabled)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.309017229Z app=test source=triggermessageprocessor.go:106 msg="trigger attempting to find pipeline(s) for topic 57ad7c51-3607-4f49-8fda-7c45f6c5af7e" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.309629595Z app=test source=triggermessageprocessor.go:115 msg="trigger found 3 pipeline(s) that match the incoming topic '57ad7c51-3607-4f49-8fda-7c45f6c5af7e'" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.31070984Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (a62e0b24-3ff8-416b-999a-d4a3b55dcbf5)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.310667477Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (a62e0b24-3ff8-416b-999a-d4a3b55dcbf5)" 05:33:28 level=DEBUG ts=2024-08-17T05:33:18.310815356Z app=test source=triggermessageprocessor.go:144 msg="trigger sending message to pipeline (a62e0b24-3ff8-416b-999a-d4a3b55dcbf5)" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.312098593Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (a62e0b24-3ff8-416b-999a-d4a3b55dcbf5): new error" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.313084712Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (a62e0b24-3ff8-416b-999a-d4a3b55dcbf5): new error" 05:33:28 level=ERROR ts=2024-08-17T05:33:18.313938042Z app=test source=triggermessageprocessor.go:154 msg="message error in pipeline (a62e0b24-3ff8-416b-999a-d4a3b55dcbf5): new error" 05:33:28 FAIL 05:33:28 coverage: 66.4% of statements 05:33:28 FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.543s 05:33:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 05:33:28 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 1.269s coverage: 92.6% of statements 05:33:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 05:33:28 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 1.348s coverage: 85.1% of statements 05:33:28 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 1.135s coverage: 100.0% of statements 05:33:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 05:33:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 05:33:28 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 05:33:28 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 1.674s coverage: 77.9% of statements 05:33:28 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 1.289s coverage: 97.3% of statements 05:33:31 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 05:33:32 # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt.test] 05:33:32 internal/trigger/mqtt/mqtt_test.go:120:5: unknown field mqttClient in struct literal of type Trigger 05:33:32 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 05:33:32 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 05:33:32 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 1.251s coverage: 82.8% of statements 05:33:33 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 1.287s coverage: 65.1% of statements 05:33:33 FAIL github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt [build failed] 05:33:37 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 05:33:37 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:33:38 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 1.265s coverage: 17.2% of statements 05:33:38 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 1.264s coverage: 27.3% of statements 05:33:42 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 1.270s coverage: 52.8% of statements 05:34:14 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 26.553s coverage: 75.5% of statements 05:34:14 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 1.194s coverage: 94.4% of statements 05:34:14 FAIL 05:34:14 make: *** [Makefile:43: test-sdk] Error 1 [Pipeline] } 05:34:14 $ docker stop --time=1 8218eaf32283588d7401d5703c4edcf78ecca5cabe0ca12780b725f6904b4570 05:34:16 $ docker rm -f --volumes 8218eaf32283588d7401d5703c4edcf78ecca5cabe0ca12780b725f6904b4570 [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 05:34:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:34:22 05:34:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:34:22 arm64: Pulling from edgex-lftools-log-publisher 05:34:22 8998bd30e6a1: Pulling fs layer 05:34:22 04944245beec: Pulling fs layer 05:34:22 699f458cf7ca: Pulling fs layer 05:34:22 765212b225bb: Pulling fs layer 05:34:22 f23df028b6ca: Pulling fs layer 05:34:22 d65c8cfc05b1: Pulling fs layer 05:34:22 2437ff75d9bd: Pulling fs layer 05:34:22 765212b225bb: Waiting 05:34:22 f23df028b6ca: Waiting 05:34:22 d65c8cfc05b1: Waiting 05:34:22 2437ff75d9bd: Waiting 05:34:22 04944245beec: Verifying Checksum 05:34:22 04944245beec: Download complete 05:34:22 765212b225bb: Verifying Checksum 05:34:22 765212b225bb: Download complete 05:34:22 f23df028b6ca: Verifying Checksum 05:34:22 f23df028b6ca: Download complete 05:34:22 d65c8cfc05b1: Download complete 05:34:23 699f458cf7ca: Verifying Checksum 05:34:23 699f458cf7ca: Download complete 05:34:23 8998bd30e6a1: Verifying Checksum 05:34:23 8998bd30e6a1: Download complete 05:34:26 2437ff75d9bd: Verifying Checksum 05:34:26 2437ff75d9bd: Download complete 05:34:27 8998bd30e6a1: Pull complete 05:34:28 04944245beec: Pull complete 05:34:29 699f458cf7ca: Pull complete 05:34:30 765212b225bb: Pull complete 05:34:31 f23df028b6ca: Pull complete 05:34:31 d65c8cfc05b1: Pull complete 05:34:49 2437ff75d9bd: Pull complete 05:34:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:34:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:34:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:49 prd-ubuntu20.04-docker-arm64-4c-16g-7854 does not seem to be running inside a container 05:34:49 $ 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:34:50 $ docker top a4a82e099e55e64ca5723c34816e4ccb749e35359b0eff8e062d439add985233 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:34:51 ---> job-cost.sh 05:34:51 lf-activate-venv: SKIPPING 05:34:51 INFO: No Stack... 05:34:52 INFO: Retrieving Pricing Info for: v3-standard-4 05:34:53 INFO: Archiving Costs [Pipeline] sh 05:34:53 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 05:34:53 + cut -d, -f6 [Pipeline] lock 05:34:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-1-stack-cost] 05:34:53 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-1-stack-cost] did not exist. Created. 05:34:53 Lock acquired on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:34:54 /w/workspace/app-functions-sdk-go/1@tmp/durable-9f36fc11/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:34:54 + echo total: 0.10999999940395355 [Pipeline] stash 05:34:54 Warning: overwriting stash ‘stack-cost’ 05:34:55 Stashed 1 file(s) [Pipeline] } 05:35:15 Lock released on resource [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1601-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:35:15 $ docker stop --time=1 a4a82e099e55e64ca5723c34816e4ccb749e35359b0eff8e062d439add985233 05:35:17 $ docker rm -f --volumes a4a82e099e55e64ca5723c34816e4ccb749e35359b0eff8e062d439add985233 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:35:18 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 05:35:20 + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1601/archives ] 05:35:20 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1601/archives 05:35:20 total 16 05:35:20 drwxr-xr-x 3 root root 4096 Aug 17 05:23 . 05:35:20 drwxrwxr-x 11 jenkins jenkins 4096 Aug 17 05:23 .. 05:35:20 drwxr-xr-x 2 root root 4096 Aug 17 05:23 cost 05:35:20 -rw-r--r-- 1 root root 93 Aug 17 05:23 cost.csv 05:35:20 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1601/archives 05:35:20 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1601/archives 05:35:20 total 16 05:35:20 drwxr-xr-x 3 jenkins jenkins 4096 Aug 17 05:23 . 05:35:20 drwxrwxr-x 11 jenkins jenkins 4096 Aug 17 05:23 .. 05:35:20 drwxr-xr-x 2 jenkins jenkins 4096 Aug 17 05:23 cost 05:35:20 -rw-r--r-- 1 jenkins jenkins 93 Aug 17 05:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:35:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:35:22 ---> package-listing.sh 05:35:22 ++ facter osfamily 05:35:22 ++ tr '[:upper:]' '[:lower:]' 05:35:22 + OS_FAMILY=debian 05:35:22 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1601 05:35:22 + START_PACKAGES=/tmp/packages_start.txt 05:35:22 + END_PACKAGES=/tmp/packages_end.txt 05:35:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:35:22 + PACKAGES=/tmp/packages_start.txt 05:35:22 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1601 ']' 05:35:22 + PACKAGES=/tmp/packages_end.txt 05:35:22 + case "${OS_FAMILY}" in 05:35:22 + dpkg -l 05:35:22 + grep '^ii' 05:35:22 + '[' -f /tmp/packages_start.txt ']' 05:35:22 + '[' -f /tmp/packages_end.txt ']' 05:35:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:35:22 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1601 ']' 05:35:22 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1601/archives/ 05:35:22 + 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 05:35:22 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 05:35:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:35:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:35:23 prd-ubuntu20.04-docker-8c-8g-7853 does not seem to be running inside a container 05:35:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:35:23 $ docker top a3677d74269318736d2469ddc99058feab9fc456cf697d17c5c2846483d216be -eo pid,comm [Pipeline] { [Pipeline] sh 05:35:24 + touch /tmp/pre-build-complete [Pipeline] sh 05:35:24 + mkdir -p /var/log/sysstat [Pipeline] sh 05:35:25 + ls /var/log/sa-host 05:35:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:35:25 provisioning config files... 05:35:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1601@tmp/config6942261795631289892tmp [Pipeline] { [Pipeline] echo 05:35:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:35:25 ---> create-netrc.sh [Pipeline] } 05:35:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:35:26 ---> python-tools-install.sh [Pipeline] echo 05:35:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:35:26 ---> sudo-logs.sh 05:35:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:35:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:35:27 ---> job-cost.sh 05:35:27 lf-activate-venv: SKIPPING 05:35:27 DEBUG: total: 0.2199999988079071 05:35:27 INFO: Retrieving Stack Cost... 05:35:27 INFO: Retrieving Pricing Info for: v3-standard-8 05:35:28 INFO: Archiving Costs [Pipeline] echo 05:35:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:35:28 ---> logs-deploy.sh 05:35:28 lf-activate-venv: SKIPPING 05:35:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1601/1 05:35:28 INFO: archiving workspace using pattern(s): 05:35:29 Archives upload complete. 05:35:29 INFO: archiving logs to Nexus