Cloning into '/home/prow/go/src/github.com/google/licenseclassifier'... Activated service account credentials for: [prow-account@tekton-releases.iam.gserviceaccount.com] == Running ./runner.sh backward compatibility test runner === + [[ 11 -ne 0 ]] + case $1 in + shift + [[ 10 -ne 0 ]] + case $1 in + shift + [[ 9 -ne 0 ]] + case $1 in + shift + [[ 8 -ne 0 ]] + case $1 in + shift + [[ 7 -ne 0 ]] + case $1 in + shift + [[ 6 -ne 0 ]] + case $1 in ++ cut -d = -f2 + gcloud auth activate-service-account --key-file=/etc/test-account/service-account.json Activated service account credentials for: [prow-account@tekton-releases.iam.gserviceaccount.com] + shift + [[ 5 -ne 0 ]] + case $1 in + shift + [[ 4 -ne 0 ]] + case $1 in + shift + [[ -- == \-\- ]] + shift + break + ./test/presubmit-tests.sh --unit-tests + export DISABLE_MD_LINTING=1 + DISABLE_MD_LINTING=1 + export DISABLE_MD_LINK_CHECK=1 + DISABLE_MD_LINK_CHECK=1 ++ dirname ./test/presubmit-tests.sh + source ./test/../vendor/github.com/tektoncd/plumbing/scripts/presubmit-tests.sh +++ dirname ./test/../vendor/github.com/tektoncd/plumbing/scripts/presubmit-tests.sh ++ source ./test/../vendor/github.com/tektoncd/plumbing/scripts/library.sh +++ readonly SERVING_GKE_VERSION=gke-channel-regular +++ SERVING_GKE_VERSION=gke-channel-regular +++ readonly SERVING_GKE_IMAGE=cos_containerd +++ SERVING_GKE_IMAGE=cos_containerd +++ [[ -z /home/prow/go ]] +++ [[ -n 37f8b42f-58c7-11f0-8a6f-2e2a2b9b2228 ]] +++ IS_PROW=1 +++ readonly IS_PROW ++++ git rev-parse --show-toplevel +++ readonly REPO_ROOT_DIR=/home/prow/go/src/github.com/tektoncd/triggers +++ REPO_ROOT_DIR=/home/prow/go/src/github.com/tektoncd/triggers +++ readonly REPO_NAME=triggers +++ REPO_NAME=triggers +++ [[ -z /logs/artifacts ]] +++ (( IS_PROW )) +++ exec +++++ get_canonical_path ./test/../vendor/github.com/tektoncd/plumbing/scripts/library.sh +++++ local path=./test/../vendor/github.com/tektoncd/plumbing/scripts/library.sh +++++ local pwd=. +++++ [[ ./test/../vendor/github.com/tektoncd/plumbing/scripts/library.sh == /* ]] +++++ path=././test/../vendor/github.com/tektoncd/plumbing/scripts/library.sh ++++++ cd ././test/../vendor/github.com/tektoncd/plumbing/scripts ++++++ echo /home/prow/go/src/github.com/tektoncd/triggers/vendor/github.com/tektoncd/plumbing/scripts/library.sh +++++ echo /home/prow/go/src/github.com/tektoncd/triggers/vendor/github.com/tektoncd/plumbing/scripts/library.sh ++++ dirname /home/prow/go/src/github.com/tektoncd/triggers/vendor/github.com/tektoncd/plumbing/scripts/library.sh +++ readonly _PLUMBING_SCRIPTS_DIR=/home/prow/go/src/github.com/tektoncd/triggers/vendor/github.com/tektoncd/plumbing/scripts +++ _PLUMBING_SCRIPTS_DIR=/home/prow/go/src/github.com/tektoncd/triggers/vendor/github.com/tektoncd/plumbing/scripts ++++ capitalize triggers ++++ capitalized=() ++++ local capitalized ++++ for word in $@ +++++ tr a-z A-Z +++++ echo t ++++ local initial=T ++++ capitalized+=("${initial}${word:1}") ++++ echo Triggers +++ readonly 'REPO_NAME_FORMATTED=Tekton Triggers' +++ REPO_NAME_FORMATTED='Tekton Triggers' ++ readonly DISABLE_MD_LINTING=1 ++ DISABLE_MD_LINTING=1 ++ readonly DISABLE_YAML_LINTING=0 ++ DISABLE_YAML_LINTING=0 ++ readonly DISABLE_MD_LINK_CHECK=1 ++ DISABLE_MD_LINK_CHECK=1 ++ readonly PRESUBMIT_TEST_FAIL_FAST=0 ++ PRESUBMIT_TEST_FAIL_FAST=0 ++ NO_PRESUBMIT_FILES=('.png' '.gitignore' '.gitattributes' '^OWNERS' '^OWNERS_ALIASES' '^AUTHORS') ++ readonly NO_PRESUBMIT_FILES ++ [[ -n IS_PROW ]] ++ [[ -n 3dec4848c9e60461aeefa59ced1db98055752be6 ]] ++ IS_PRESUBMIT=1 ++ readonly IS_PRESUBMIT ++ CHANGED_FILES= ++ IS_PRESUBMIT_EXEMPT_PR=0 ++ IS_DOCUMENTATION_PR=0 ++ WORK_DIR= ++ YAML_LINT_CONFIG= ++ GOFLAGS= ++ RUN_BUILD_TESTS=0 ++ RUN_UNIT_TESTS=0 ++ RUN_INTEGRATION_TESTS=0 ++ RUN_CONFORMANCE_TESTS=0 ++ EMIT_METRICS=0 + main --unit-tests + initialize_environment + CHANGED_FILES= + IS_PRESUBMIT_EXEMPT_PR=0 + IS_DOCUMENTATION_PR=0 + (( ! IS_PRESUBMIT )) + trap teardown_environment EXIT ++ mktemp -d + WORK_DIR=/tmp/tmp.iXz4Bnhat9 ++ list_changed_files ++ local file=/tmp/tmp.iXz4Bnhat9/changed_files ++ [[ ! -f /tmp/tmp.iXz4Bnhat9/changed_files ]] ++ git --no-pager diff --name-only 77fceadba4f817d8118c7676f353bd7d4ec3c98e..3dec4848c9e60461aeefa59ced1db98055752be6 ++ echo /tmp/tmp.iXz4Bnhat9/changed_files + CHANGED_FILES=/tmp/tmp.iXz4Bnhat9/changed_files ++ cat /tmp/tmp.iXz4Bnhat9/changed_files + [[ -n .github/workflows/microshift.yaml test/e2e-tests-examples.sh test/e2e-tests.sh test/presubmit-tests.sh ]] ++ cat /tmp/tmp.iXz4Bnhat9/changed_files + echo -e 'Changed files in commit 3dec4848c9e60461aeefa59ced1db98055752be6:\n.github/workflows/microshift.yaml test/e2e-tests-examples.sh test/e2e-tests.sh test/presubmit-tests.sh' Changed files in commit 3dec4848c9e60461aeefa59ced1db98055752be6: .github/workflows/microshift.yaml test/e2e-tests-examples.sh test/e2e-tests.sh test/presubmit-tests.sh + local 'no_presubmit_files=.png .gitignore .gitattributes ^OWNERS ^OWNERS_ALIASES ^AUTHORS' + pr_only_contains '.png .gitignore .gitattributes ^OWNERS ^OWNERS_ALIASES ^AUTHORS' ++ cat /tmp/tmp.iXz4Bnhat9/changed_files ++ grep -v '"(.png\|.gitignore\|.gitattributes\|^OWNERS\|^OWNERS_ALIASES\|^AUTHORS)$"' + [[ -z .github/workflows/microshift.yaml test/e2e-tests-examples.sh test/e2e-tests.sh test/presubmit-tests.sh ]] + pr_only_contains '\.md .png .gitignore .gitattributes ^OWNERS ^OWNERS_ALIASES ^AUTHORS' ++ cat /tmp/tmp.iXz4Bnhat9/changed_files ++ grep -v '"(\.md\|.png\|.gitignore\|.gitattributes\|^OWNERS\|^OWNERS_ALIASES\|^AUTHORS)$"' + [[ -z .github/workflows/microshift.yaml test/e2e-tests-examples.sh test/e2e-tests.sh test/presubmit-tests.sh ]] + readonly CHANGED_FILES + readonly IS_DOCUMENTATION_PR + readonly IS_PRESUBMIT_EXEMPT_PR + (( IS_PRESUBMIT_EXEMPT_PR )) + (( IS_PROW )) + gcloud config set component_manager/disable_update_check true Updated property [component_manager/disable_update_check]. + header 'Current test setup' ++ tr a-z A-Z ++ echo Current test setup + local 'upper=CURRENT TEST SETUP' + make_banner = 'CURRENT TEST SETUP' + local 'msg===== CURRENT TEST SETUP ====' + local border============================= + echo -e '============================\n==== CURRENT TEST SETUP ====\n============================' ============================ ==== CURRENT TEST SETUP ==== ============================ + echo '>> gcloud SDK version' >> gcloud SDK version + gcloud version Google Cloud SDK 506.0.0 alpha 2025.01.10 beta 2025.01.10 bq 2.1.11 bundled-python3-unix 3.11.9 core 2025.01.10 docker-credential-gcr 1.5.0 gcloud-crc32c 1.0.0 gke-gcloud-auth-plugin 0.5.9 gsutil 5.33 kubectl 1.30.5 + echo '>> kubectl version' >> kubectl version + kubectl version --client Client Version: v1.32.0-alpha.0 Kustomize Version: v5.4.2 + echo '>> go version' >> go version + go version go: downloading go1.23.8 (linux/amd64) go version go1.23.8 linux/amd64 + echo '>> git version' >> git version + git version git version 2.43.0 + [[ false == \t\r\u\e ]] + function_exists extra_initialization ++ type -t extra_initialization + [[ '' == \f\u\n\c\t\i\o\n ]] + [[ -z '' ]] + [[ -e go.mod ]] + [[ -d vendor/ ]] + export GOFLAGS=-mod=vendor + GOFLAGS=-mod=vendor + [[ -z --unit-tests ]] + local TEST_TO_RUN= + [[ 1 -ne 0 ]] + local parameter=--unit-tests + case ${parameter} in + RUN_UNIT_TESTS=1 + shift + [[ 0 -ne 0 ]] + readonly RUN_BUILD_TESTS + readonly RUN_UNIT_TESTS + readonly RUN_INTEGRATION_TESTS + readonly RUN_CONFORMANCE_TESTS + readonly EMIT_METRICS + readonly TEST_TO_RUN + cd /home/prow/go/src/github.com/tektoncd/triggers + local failed=0 + [[ -n '' ]] + run_build_tests + (( ! RUN_BUILD_TESTS )) + return 0 + (( ! PRESUBMIT_TEST_FAIL_FAST )) + run_unit_tests + (( ! RUN_UNIT_TESTS )) + header 'Running unit tests' ++ tr a-z A-Z ++ echo Running unit tests + local 'upper=RUNNING UNIT TESTS' + make_banner = 'RUNNING UNIT TESTS' + local 'msg===== RUNNING UNIT TESTS ====' + local border============================= + echo -e '============================\n==== RUNNING UNIT TESTS ====\n============================' ============================ ==== RUNNING UNIT TESTS ==== ============================ + local failed=0 + function_exists pre_unit_tests ++ type -t pre_unit_tests + [[ '' == \f\u\n\c\t\i\o\n ]] + (( ! failed )) + function_exists unit_tests ++ type -t unit_tests + [[ '' == \f\u\n\c\t\i\o\n ]] + default_unit_test_runner + report_go_test ./... + local 'args= ./... ' + local 'go_test=go test -race -v ./... ' + echo 'Running tests with '\''go test -race -v ./... '\''' Running tests with 'go test -race -v ./... ' ++ mktemp + local report=/tmp/tmp.bhKO4AVkyu + go test -race -v ./... + tee /tmp/tmp.bhKO4AVkyu ? github.com/tektoncd/triggers/cmd/binding-eval [no test files] ? github.com/tektoncd/triggers/cmd/cel-eval [no test files] === RUN TestEvalBinding --- PASS: TestEvalBinding (0.08s) PASS ok github.com/tektoncd/triggers/cmd/binding-eval/cmd 3.363s === RUN TestEvalCEL --- PASS: TestEvalCEL (0.14s) PASS ok github.com/tektoncd/triggers/cmd/cel-eval/cmd 3.498s ? github.com/tektoncd/triggers/cmd/controller [no test files] ? github.com/tektoncd/triggers/cmd/eventlistenersink [no test files] ? github.com/tektoncd/triggers/cmd/interceptors [no test files] ? github.com/tektoncd/triggers/cmd/triggerrun [no test files] ? github.com/tektoncd/triggers/cmd/webhook [no test files] ? github.com/tektoncd/triggers/examples/v1alpha1/webhook-interceptors [no test files] ? github.com/tektoncd/triggers/hack/reference-docs-template [no test files] ? github.com/tektoncd/triggers/hack/spec-gen [no test files] ? github.com/tektoncd/triggers/pkg/apis [no test files] === RUN TestTrigger_Error --- PASS: TestTrigger_Error (0.01s) === RUN TestReadTrigger --- PASS: TestReadTrigger (0.01s) === RUN TestReadHTTP --- PASS: TestReadHTTP (0.00s) === RUN Test_processTriggerSpec === RUN Test_processTriggerSpec/testing-name logger.go:146: 2025-07-04T11:22:37.842Z INFO ResolvedParams : [{Name:foo Value:bar}] {"/trigger": ""} --- PASS: Test_processTriggerSpec (0.20s) --- PASS: Test_processTriggerSpec/testing-name (0.18s) PASS ok github.com/tektoncd/triggers/cmd/triggerrun/cmd 1.669s ? github.com/tektoncd/triggers/pkg/apis/triggers/contexts [no test files] === RUN TestGetHTTPClientEmptyCaBundle --- PASS: TestGetHTTPClientEmptyCaBundle (0.07s) === RUN TestGetHTTPClient --- PASS: TestGetHTTPClient (0.08s) PASS ok github.com/tektoncd/triggers/pkg/adapter 1.547s === RUN TestNewDefaultsFromConfigMap --- PASS: TestNewDefaultsFromConfigMap (0.02s) === RUN TestNewDefaultsFromEmptyConfigMap --- PASS: TestNewDefaultsFromEmptyConfigMap (0.00s) === RUN TestNewDefaultsFromConfigMapWithEmptyVal --- PASS: TestNewDefaultsFromConfigMapWithEmptyVal (0.01s) === RUN TestEquals === RUN TestEquals/left_and_right_nil === RUN TestEquals/left_nil === RUN TestEquals/right_nil === RUN TestEquals/right_and_right_default --- PASS: TestEquals (0.00s) --- PASS: TestEquals/left_and_right_nil (0.00s) --- PASS: TestEquals/left_nil (0.00s) --- PASS: TestEquals/right_nil (0.00s) --- PASS: TestEquals/right_and_right_default (0.00s) === RUN TestNewFeatureFlagsFromConfigMap === RUN TestNewFeatureFlagsFromConfigMap/feature-flags-triggers === RUN TestNewFeatureFlagsFromConfigMap/feature-flags-all-flags-set === RUN TestNewFeatureFlagsFromConfigMap/feature-flags-upper-case --- PASS: TestNewFeatureFlagsFromConfigMap (0.05s) --- PASS: TestNewFeatureFlagsFromConfigMap/feature-flags-triggers (0.01s) --- PASS: TestNewFeatureFlagsFromConfigMap/feature-flags-all-flags-set (0.00s) --- PASS: TestNewFeatureFlagsFromConfigMap/feature-flags-upper-case (0.00s) === RUN TestNewFeatureFlagsFromEmptyConfigMap --- PASS: TestNewFeatureFlagsFromEmptyConfigMap (0.00s) === RUN TestGetFeatureFlagsConfigName === RUN TestGetFeatureFlagsConfigName/Feature_flags_config_value_not_set === RUN TestGetFeatureFlagsConfigName/Feature_flags_config_value_set --- PASS: TestGetFeatureFlagsConfigName (0.01s) --- PASS: TestGetFeatureFlagsConfigName/Feature_flags_config_value_not_set (0.00s) --- PASS: TestGetFeatureFlagsConfigName/Feature_flags_config_value_set (0.00s) === RUN TestNewFeatureFlagsConfigMapErrors === RUN TestNewFeatureFlagsConfigMapErrors/feature-flags-invalid-enable-api-fields === RUN TestNewFeatureFlagsConfigMapErrors/feature-flags-invalid-exclusion-pattern-fields --- PASS: TestNewFeatureFlagsConfigMapErrors (0.03s) --- PASS: TestNewFeatureFlagsConfigMapErrors/feature-flags-invalid-enable-api-fields (0.00s) --- PASS: TestNewFeatureFlagsConfigMapErrors/feature-flags-invalid-exclusion-pattern-fields (0.03s) === RUN TestStoreLoadWithContext logger.go:146: 2025-07-04T11:22:40.298Z DEBUG configmap/store.go:155 defaults/features/artifacts config "config-defaults-triggers" config was added or updated: &config.Defaults{DefaultServiceAccount:"default", DefaultRunAsUser:65532, DefaultRunAsGroup:65532, DefaultFSGroup:65532, DefaultRunAsNonRoot:true, IsDefaultRunAsUserEmpty:false, IsDefaultRunAsGroupEmpty:false, IsDefaultFsGroupEmpty:false} --- PASS: TestStoreLoadWithContext (0.01s) === RUN TestFromContextOrDefaults --- PASS: TestFromContextOrDefaults (0.00s) PASS ok github.com/tektoncd/triggers/pkg/apis/config 1.722s === RUN Test_PayloadValidationAnnotation_Valid --- PASS: Test_PayloadValidationAnnotation_Valid (0.00s) === RUN Test_PayloadValidationAnnotation_InvalidValue --- PASS: Test_PayloadValidationAnnotation_InvalidValue (0.00s) PASS ok github.com/tektoncd/triggers/pkg/apis/triggers 1.111s === RUN TestSetGetCondition === RUN TestSetGetCondition/No_conditions === RUN TestSetGetCondition/One_condition === RUN TestSetGetCondition/Two_conditions === RUN TestSetGetCondition/Two_conditions_repeated --- PASS: TestSetGetCondition (0.00s) --- PASS: TestSetGetCondition/No_conditions (0.00s) --- PASS: TestSetGetCondition/One_condition (0.00s) --- PASS: TestSetGetCondition/Two_conditions (0.00s) --- PASS: TestSetGetCondition/Two_conditions_repeated (0.00s) === RUN TestInitializeConditions --- PASS: TestInitializeConditions (0.00s) === RUN TestSetExistsCondition === RUN TestSetExistsCondition/Condition_with_error === RUN TestSetExistsCondition/Condition_without_error --- PASS: TestSetExistsCondition (0.00s) --- PASS: TestSetExistsCondition/Condition_with_error (0.00s) --- PASS: TestSetExistsCondition/Condition_without_error (0.00s) === RUN TestSetDeploymentConditions === RUN TestSetDeploymentConditions/No_Deployment_Conditions === RUN TestSetDeploymentConditions/One_Deployment_Condition === RUN TestSetDeploymentConditions/Two_Deployment_Conditions === RUN TestSetDeploymentConditions/Update_Replica_Condition --- PASS: TestSetDeploymentConditions (0.00s) --- PASS: TestSetDeploymentConditions/No_Deployment_Conditions (0.00s) --- PASS: TestSetDeploymentConditions/One_Deployment_Condition (0.00s) --- PASS: TestSetDeploymentConditions/Two_Deployment_Conditions (0.00s) --- PASS: TestSetDeploymentConditions/Update_Replica_Condition (0.00s) === RUN TestSetConditionsForDynamicObjects --- PASS: TestSetConditionsForDynamicObjects (0.00s) === RUN TestEventListenerStatus_SetReadyCondition === RUN TestEventListenerStatus_SetReadyCondition/set_Ready_to_true_when_all_dependent_conditions_are_true === RUN TestEventListenerStatus_SetReadyCondition/set_Ready_to_false_when_at_least_one_dependent_condition_is_false --- PASS: TestEventListenerStatus_SetReadyCondition (0.01s) --- PASS: TestEventListenerStatus_SetReadyCondition/set_Ready_to_true_when_all_dependent_conditions_are_true (0.01s) --- PASS: TestEventListenerStatus_SetReadyCondition/set_Ready_to_false_when_at_least_one_dependent_condition_is_false (0.00s) === RUN TestToEventListenerTrigger === RUN TestToEventListenerTrigger/Convert_Empty_Object === RUN TestToEventListenerTrigger/Convert_Partial_Object === RUN TestToEventListenerTrigger/Convert_Full_Object --- PASS: TestToEventListenerTrigger (0.00s) --- PASS: TestToEventListenerTrigger/Convert_Empty_Object (0.00s) --- PASS: TestToEventListenerTrigger/Convert_Partial_Object (0.00s) --- PASS: TestToEventListenerTrigger/Convert_Full_Object (0.00s) === RUN TestGetName === RUN TestGetName/cel === RUN TestGetName/gitlab === RUN TestGetName/github === RUN TestGetName/bitbucket === RUN TestGetName/#00 === RUN TestGetName/pluggable-interceptor --- PASS: TestGetName (0.00s) --- PASS: TestGetName/cel (0.00s) --- PASS: TestGetName/gitlab (0.00s) --- PASS: TestGetName/github (0.00s) --- PASS: TestGetName/bitbucket (0.00s) --- PASS: TestGetName/#00 (0.00s) --- PASS: TestGetName/pluggable-interceptor (0.00s) === RUN TestUpdateCoreInterceptors_Error --- PASS: TestUpdateCoreInterceptors_Error (0.00s) === RUN TestResolveAddress === RUN TestResolveAddress/clientConfig.url_is_specified === RUN TestResolveAddress/clientConfig.service_with_namespace === RUN TestResolveAddress/clientConfig.service_without_port_and_scheme_so_it_uses_defaultHTTPPort === RUN TestResolveAddress/clientConfig_with_provided_caBundle === RUN TestResolveAddress/clientConfig_with_nil_url --- PASS: TestResolveAddress (0.00s) --- PASS: TestResolveAddress/clientConfig.url_is_specified (0.00s) --- PASS: TestResolveAddress/clientConfig.service_with_namespace (0.00s) --- PASS: TestResolveAddress/clientConfig.service_without_port_and_scheme_so_it_uses_defaultHTTPPort (0.00s) --- PASS: TestResolveAddress/clientConfig_with_provided_caBundle (0.00s) --- PASS: TestResolveAddress/clientConfig_with_nil_url (0.00s) === RUN TestClusterInterceptorValidate_OnDelete --- PASS: TestClusterInterceptorValidate_OnDelete (0.00s) === RUN TestClusterInterceptorValidate === RUN TestClusterInterceptorValidate/both_URL_and_Service_specified === RUN TestClusterInterceptorValidate/service_missing_namespace === RUN TestClusterInterceptorValidate/service_missing_name --- PASS: TestClusterInterceptorValidate (0.00s) --- PASS: TestClusterInterceptorValidate/both_URL_and_Service_specified (0.00s) --- PASS: TestClusterInterceptorValidate/service_missing_namespace (0.00s) --- PASS: TestClusterInterceptorValidate/service_missing_name (0.00s) === RUN Test_ClusterTriggerBindingValidate_OnDelete --- PASS: Test_ClusterTriggerBindingValidate_OnDelete (0.00s) === RUN Test_ClusterTriggerBindingValidate === RUN Test_ClusterTriggerBindingValidate/multiple_params === RUN Test_ClusterTriggerBindingValidate/multiple_params_case_sensitive --- PASS: Test_ClusterTriggerBindingValidate (0.00s) --- PASS: Test_ClusterTriggerBindingValidate/multiple_params (0.00s) --- PASS: Test_ClusterTriggerBindingValidate/multiple_params_case_sensitive (0.00s) === RUN Test_ClusterTriggerBindingValidate_error === RUN Test_ClusterTriggerBindingValidate_error/empty === RUN Test_ClusterTriggerBindingValidate_error/duplicate_params --- PASS: Test_ClusterTriggerBindingValidate_error (0.00s) --- PASS: Test_ClusterTriggerBindingValidate_error/empty (0.00s) --- PASS: Test_ClusterTriggerBindingValidate_error/duplicate_params (0.00s) === RUN TestEventListenerSetDefaults === RUN TestEventListenerSetDefaults/default_binding === RUN TestEventListenerSetDefaults/set_replicas_to_1_if_provided_replicas_is_0_as_part_of_eventlistener_kubernetesResources === RUN TestEventListenerSetDefaults/different_value_for_replicas_other_than_0 === RUN TestEventListenerSetDefaults/adds_interceptorkind_when_not_specified === RUN TestEventListenerSetDefaults/EventListener_default_config_context_with_sa === NAME TestEventListenerSetDefaults logger.go:146: 2025-07-04T11:22:52.534Z DEBUG configmap/store.go:155 defaults/features/artifacts config "config-defaults-triggers" config was added or updated: &config.Defaults{DefaultServiceAccount:"tekton", DefaultRunAsUser:65532, DefaultRunAsGroup:65532, DefaultFSGroup:65532, DefaultRunAsNonRoot:true, IsDefaultRunAsUserEmpty:false, IsDefaultRunAsGroupEmpty:false, IsDefaultFsGroupEmpty:false} --- PASS: TestEventListenerSetDefaults (0.01s) --- PASS: TestEventListenerSetDefaults/default_binding (0.00s) --- PASS: TestEventListenerSetDefaults/set_replicas_to_1_if_provided_replicas_is_0_as_part_of_eventlistener_kubernetesResources (0.00s) --- PASS: TestEventListenerSetDefaults/different_value_for_replicas_other_than_0 (0.00s) --- PASS: TestEventListenerSetDefaults/adds_interceptorkind_when_not_specified (0.00s) --- PASS: TestEventListenerSetDefaults/EventListener_default_config_context_with_sa (0.00s) === RUN Test_EventListenerValidate_OnDelete --- PASS: Test_EventListenerValidate_OnDelete (0.00s) === RUN Test_EventListenerValidate === RUN Test_EventListenerValidate/TriggerTemplate_Does_Not_Exist === RUN Test_EventListenerValidate/Valid_EventListener_No_TriggerBinding === RUN Test_EventListenerValidate/Valid_EventListener_with_TriggerRef === RUN Test_EventListenerValidate/Valid_EventListener_with_Annotation === RUN Test_EventListenerValidate/Valid_EventListener_with_TriggerBinding === RUN Test_EventListenerValidate/Valid_EventListener_with_ClusterTriggerBinding === RUN Test_EventListenerValidate/Valid_EventListener_with_multiple_TriggerBindings === RUN Test_EventListenerValidate/Valid_EventListener_Webhook_Interceptor === RUN Test_EventListenerValidate/Valid_EventListener_Interceptor_With_Header === RUN Test_EventListenerValidate/Valid_EventListener_Two_Triggers === RUN Test_EventListenerValidate/Valid_EventListener_with_CEL_interceptor === RUN Test_EventListenerValidate/Valid_EventListener_with_no_trigger_name === RUN Test_EventListenerValidate/Namespace_selector_with_label_selector === RUN Test_EventListenerValidate/Valid_EventListener_with_kubernetes_env_for_podspec === RUN Test_EventListenerValidate/Valid_Replicas_for_EventListener === RUN Test_EventListenerValidate/Valid_EventListener_with_env_for_TLS_connection === RUN Test_EventListenerValidate/Valid_EventListener_with_probes === RUN Test_EventListenerValidate/Valid_EventListener_with_custom_resources === RUN Test_EventListenerValidate/valid_EventListener_with_embedded_TriggerTemplate --- PASS: Test_EventListenerValidate (0.02s) --- PASS: Test_EventListenerValidate/TriggerTemplate_Does_Not_Exist (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_No_TriggerBinding (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_TriggerRef (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_Annotation (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_TriggerBinding (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_ClusterTriggerBinding (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_multiple_TriggerBindings (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_Webhook_Interceptor (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_Interceptor_With_Header (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_Two_Triggers (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_CEL_interceptor (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_no_trigger_name (0.00s) --- PASS: Test_EventListenerValidate/Namespace_selector_with_label_selector (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_kubernetes_env_for_podspec (0.00s) --- PASS: Test_EventListenerValidate/Valid_Replicas_for_EventListener (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_env_for_TLS_connection (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_probes (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_custom_resources (0.00s) --- PASS: Test_EventListenerValidate/valid_EventListener_with_embedded_TriggerTemplate (0.00s) === RUN TestEventListenerValidate_error === RUN TestEventListenerValidate_error/Invalid_EventListener_name === RUN TestEventListenerValidate_error/Valid_EventListener_with_empty_TriggerTemplate_name === RUN TestEventListenerValidate_error/Invalid_Annotation_value === RUN TestEventListenerValidate_error/TriggerBinding_with_no_ref_or_spec === RUN TestEventListenerValidate_error/Bindings_invalid_ref === RUN TestEventListenerValidate_error/Bindings_missing_kind === RUN TestEventListenerValidate_error/Template_with_wrong_apiVersion === RUN TestEventListenerValidate_error/Template_with_missing_name === RUN TestEventListenerValidate_error/Interceptor_Name_only === RUN TestEventListenerValidate_error/Interceptor_Missing_ObjectRef === RUN TestEventListenerValidate_error/Interceptor_Empty_ObjectRef === RUN TestEventListenerValidate_error/Valid_EventListener_with_invalid_TriggerBinding === RUN TestEventListenerValidate_error/Interceptor_Wrong_APIVersion === RUN TestEventListenerValidate_error/Interceptor_Wrong_Kind === RUN TestEventListenerValidate_error/Interceptor_Non-Canonical_Header === RUN TestEventListenerValidate_error/Interceptor_Empty_Header_Name === RUN TestEventListenerValidate_error/Interceptor_Empty_Header_Value === RUN TestEventListenerValidate_error/Multiple_interceptors_set === RUN TestEventListenerValidate_error/CEL_interceptor_with_no_filter_or_overlays === RUN TestEventListenerValidate_error/CEL_interceptor_with_bad_filter_expression === RUN TestEventListenerValidate_error/CEL_interceptor_with_bad_overlay_expression === RUN TestEventListenerValidate_error/Triggers_name_has_invalid_label_characters === RUN TestEventListenerValidate_error/Triggers_name_is_longer_than_the_allowable_label_value_(63_characters) === RUN TestEventListenerValidate_error/user_specify_invalid_replicas === RUN TestEventListenerValidate_error/user_specify_multiple_containers === RUN TestEventListenerValidate_error/user_specifies_an_unsupported_podspec_field === RUN TestEventListenerValidate_error/user_specifies_an_unsupported_container_fields === RUN TestEventListenerValidate_error/user_specifies_an_invalid_env_for_TLS_connection === RUN TestEventListenerValidate_error/user_specify_both_kubernetes_and_custom_resources === RUN TestEventListenerValidate_error/user_specify_multiple_containers,_unsupported_podspec_and_container_field_in_custom_resources === RUN TestEventListenerValidate_error/specify_TriggerTemplate_along_with_TriggerRef === RUN TestEventListenerValidate_error/custom_resource_with_probe_data === RUN TestEventListenerValidate_error/empty_spec_for_eventlistener === RUN TestEventListenerValidate_error/invalid_interceptor_for_eventlistener --- PASS: TestEventListenerValidate_error (0.08s) --- PASS: TestEventListenerValidate_error/Invalid_EventListener_name (0.00s) --- PASS: TestEventListenerValidate_error/Valid_EventListener_with_empty_TriggerTemplate_name (0.00s) --- PASS: TestEventListenerValidate_error/Invalid_Annotation_value (0.00s) --- PASS: TestEventListenerValidate_error/TriggerBinding_with_no_ref_or_spec (0.00s) --- PASS: TestEventListenerValidate_error/Bindings_invalid_ref (0.00s) --- PASS: TestEventListenerValidate_error/Bindings_missing_kind (0.00s) --- PASS: TestEventListenerValidate_error/Template_with_wrong_apiVersion (0.00s) --- PASS: TestEventListenerValidate_error/Template_with_missing_name (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Name_only (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Missing_ObjectRef (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Empty_ObjectRef (0.00s) --- PASS: TestEventListenerValidate_error/Valid_EventListener_with_invalid_TriggerBinding (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Wrong_APIVersion (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Wrong_Kind (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Non-Canonical_Header (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Empty_Header_Name (0.01s) --- PASS: TestEventListenerValidate_error/Interceptor_Empty_Header_Value (0.00s) --- PASS: TestEventListenerValidate_error/Multiple_interceptors_set (0.00s) --- PASS: TestEventListenerValidate_error/CEL_interceptor_with_no_filter_or_overlays (0.01s) --- PASS: TestEventListenerValidate_error/CEL_interceptor_with_bad_filter_expression (0.02s) --- PASS: TestEventListenerValidate_error/CEL_interceptor_with_bad_overlay_expression (0.00s) --- PASS: TestEventListenerValidate_error/Triggers_name_has_invalid_label_characters (0.00s) --- PASS: TestEventListenerValidate_error/Triggers_name_is_longer_than_the_allowable_label_value_(63_characters) (0.00s) --- PASS: TestEventListenerValidate_error/user_specify_invalid_replicas (0.00s) --- PASS: TestEventListenerValidate_error/user_specify_multiple_containers (0.00s) --- PASS: TestEventListenerValidate_error/user_specifies_an_unsupported_podspec_field (0.00s) --- PASS: TestEventListenerValidate_error/user_specifies_an_unsupported_container_fields (0.00s) --- PASS: TestEventListenerValidate_error/user_specifies_an_invalid_env_for_TLS_connection (0.00s) --- PASS: TestEventListenerValidate_error/user_specify_both_kubernetes_and_custom_resources (0.00s) --- PASS: TestEventListenerValidate_error/user_specify_multiple_containers,_unsupported_podspec_and_container_field_in_custom_resources (0.00s) --- PASS: TestEventListenerValidate_error/specify_TriggerTemplate_along_with_TriggerRef (0.00s) --- PASS: TestEventListenerValidate_error/custom_resource_with_probe_data (0.00s) --- PASS: TestEventListenerValidate_error/empty_spec_for_eventlistener (0.00s) --- PASS: TestEventListenerValidate_error/invalid_interceptor_for_eventlistener (0.00s) === RUN TestParseTriggerID === RUN TestParseTriggerID/namespaces/default/triggers/my-trigger === RUN TestParseTriggerID/#00 --- PASS: TestParseTriggerID (0.00s) --- PASS: TestParseTriggerID/namespaces/default/triggers/my-trigger (0.00s) --- PASS: TestParseTriggerID/#00 (0.00s) === RUN TestNSResolveAddress === RUN TestNSResolveAddress/clientConfig.url_is_specified === RUN TestNSResolveAddress/clientConfig.service_with_namespace === RUN TestNSResolveAddress/clientConfig.service_without_port_and_scheme_so_it_uses_defaultHTTPPort === RUN TestNSResolveAddress/clientConfig_with_provided_caBundle === RUN TestNSResolveAddress/clientConfig_with_nil_url --- PASS: TestNSResolveAddress (0.00s) --- PASS: TestNSResolveAddress/clientConfig.url_is_specified (0.00s) --- PASS: TestNSResolveAddress/clientConfig.service_with_namespace (0.00s) --- PASS: TestNSResolveAddress/clientConfig.service_without_port_and_scheme_so_it_uses_defaultHTTPPort (0.00s) --- PASS: TestNSResolveAddress/clientConfig_with_provided_caBundle (0.00s) --- PASS: TestNSResolveAddress/clientConfig_with_nil_url (0.00s) === RUN TestInterceptorValidate_OnDelete --- PASS: TestInterceptorValidate_OnDelete (0.00s) === RUN TestInterceptorValidate === RUN TestInterceptorValidate/both_URL_and_Service_specified === RUN TestInterceptorValidate/service_missing_namespace === RUN TestInterceptorValidate/service_missing_name --- PASS: TestInterceptorValidate (0.00s) --- PASS: TestInterceptorValidate/both_URL_and_Service_specified (0.00s) --- PASS: TestInterceptorValidate/service_missing_namespace (0.00s) --- PASS: TestInterceptorValidate/service_missing_name (0.00s) === RUN Test_TriggerBindingValidate_OnDelete --- PASS: Test_TriggerBindingValidate_OnDelete (0.00s) === RUN Test_TriggerBindingValidate === RUN Test_TriggerBindingValidate/multiple_params === RUN Test_TriggerBindingValidate/multiple_params_case_sensitive === RUN Test_TriggerBindingValidate/multiple_expressions_in_one_body --- PASS: Test_TriggerBindingValidate (0.00s) --- PASS: Test_TriggerBindingValidate/multiple_params (0.00s) --- PASS: Test_TriggerBindingValidate/multiple_params_case_sensitive (0.00s) --- PASS: Test_TriggerBindingValidate/multiple_expressions_in_one_body (0.00s) === RUN Test_TriggerBindingValidate_error === RUN Test_TriggerBindingValidate_error/empty === RUN Test_TriggerBindingValidate_error/duplicate_params === RUN Test_TriggerBindingValidate_error/invalid_parameter === RUN Test_TriggerBindingValidate_error/invalid_parameter_further_nested === RUN Test_TriggerBindingValidate_error/invalid_parameter_triple_nested --- PASS: Test_TriggerBindingValidate_error (0.00s) --- PASS: Test_TriggerBindingValidate_error/empty (0.00s) --- PASS: Test_TriggerBindingValidate_error/duplicate_params (0.00s) --- PASS: Test_TriggerBindingValidate_error/invalid_parameter (0.00s) --- PASS: Test_TriggerBindingValidate_error/invalid_parameter_further_nested (0.00s) --- PASS: Test_TriggerBindingValidate_error/invalid_parameter_triple_nested (0.00s) === RUN TestTriggerSetDefaults === RUN TestTriggerSetDefaults/default_binding_kind === RUN TestTriggerSetDefaults/upgrade_context_not_set === RUN TestTriggerSetDefaults/defaults_interceptor_ref === RUN TestTriggerSetDefaults/default_deprecatedGithub_to_new_ref/params === RUN TestTriggerSetDefaults/default_deprecatedGitlab_to_new_ref/params === RUN TestTriggerSetDefaults/default_deprecatedBitbucket_to_new_ref/params === RUN TestTriggerSetDefaults/default_deprecatedCEL_to_new_ref/params --- PASS: TestTriggerSetDefaults (0.02s) --- PASS: TestTriggerSetDefaults/default_binding_kind (0.00s) --- PASS: TestTriggerSetDefaults/upgrade_context_not_set (0.00s) --- PASS: TestTriggerSetDefaults/defaults_interceptor_ref (0.00s) --- PASS: TestTriggerSetDefaults/default_deprecatedGithub_to_new_ref/params (0.00s) --- PASS: TestTriggerSetDefaults/default_deprecatedGitlab_to_new_ref/params (0.00s) --- PASS: TestTriggerSetDefaults/default_deprecatedBitbucket_to_new_ref/params (0.00s) --- PASS: TestTriggerSetDefaults/default_deprecatedCEL_to_new_ref/params (0.00s) === RUN TestTriggerTemplate_Validate_OnDelete --- PASS: TestTriggerTemplate_Validate_OnDelete (0.00s) === RUN TestTriggerTemplate_Validate === RUN TestTriggerTemplate_Validate/invalid_objectmetadata,_name_too_long === RUN TestTriggerTemplate_Validate/valid_template === RUN TestTriggerTemplate_Validate/valid_v1alpha1_template === RUN TestTriggerTemplate_Validate/missing_resource_template === RUN TestTriggerTemplate_Validate/resource_template_missing_kind === RUN TestTriggerTemplate_Validate/resource_template_missing_apiVersion === RUN TestTriggerTemplate_Validate/resource_template_other_kind_then_tekton_resource === RUN TestTriggerTemplate_Validate/tt.params_used_in_resource_template_are_declared === RUN TestTriggerTemplate_Validate/tt.params_used_in_resource_template_are_not_declared === RUN TestTriggerTemplate_Validate/invalid_params_used_in_resource_template_are_not_declared === RUN TestTriggerTemplate_Validate/invalid_params_used_in_resource_template_are_declared === RUN TestTriggerTemplate_Validate/no_spec_to_triggertemplate --- PASS: TestTriggerTemplate_Validate (0.02s) --- PASS: TestTriggerTemplate_Validate/invalid_objectmetadata,_name_too_long (0.00s) --- PASS: TestTriggerTemplate_Validate/valid_template (0.00s) --- PASS: TestTriggerTemplate_Validate/valid_v1alpha1_template (0.01s) --- PASS: TestTriggerTemplate_Validate/missing_resource_template (0.00s) --- PASS: TestTriggerTemplate_Validate/resource_template_missing_kind (0.00s) --- PASS: TestTriggerTemplate_Validate/resource_template_missing_apiVersion (0.00s) --- PASS: TestTriggerTemplate_Validate/resource_template_other_kind_then_tekton_resource (0.00s) --- PASS: TestTriggerTemplate_Validate/tt.params_used_in_resource_template_are_declared (0.00s) --- PASS: TestTriggerTemplate_Validate/tt.params_used_in_resource_template_are_not_declared (0.00s) --- PASS: TestTriggerTemplate_Validate/invalid_params_used_in_resource_template_are_not_declared (0.00s) --- PASS: TestTriggerTemplate_Validate/invalid_params_used_in_resource_template_are_declared (0.00s) --- PASS: TestTriggerTemplate_Validate/no_spec_to_triggertemplate (0.00s) === RUN Test_TriggerValidate_OnDelete --- PASS: Test_TriggerValidate_OnDelete (0.00s) === RUN Test_TriggerValidate === RUN Test_TriggerValidate/Valid_Trigger_No_TriggerBinding === RUN Test_TriggerValidate/Valid_Trigger_with_TriggerBinding === RUN Test_TriggerValidate/Valid_Trigger_with_ClusterTriggerBinding === RUN Test_TriggerValidate/Valid_Trigger_with_multiple_TriggerBindings === RUN Test_TriggerValidate/Trigger_with_new_embedded_TriggerBindings === RUN Test_TriggerValidate/Valid_Trigger_Interceptor === RUN Test_TriggerValidate/Valid_Trigger_with_no_trigger_name === RUN Test_TriggerValidate/Trigger_with_embedded_Template === RUN Test_TriggerValidate/Trigger_referenced_with_deprecated_name_field --- PASS: Test_TriggerValidate (0.01s) --- PASS: Test_TriggerValidate/Valid_Trigger_No_TriggerBinding (0.00s) --- PASS: Test_TriggerValidate/Valid_Trigger_with_TriggerBinding (0.00s) --- PASS: Test_TriggerValidate/Valid_Trigger_with_ClusterTriggerBinding (0.00s) --- PASS: Test_TriggerValidate/Valid_Trigger_with_multiple_TriggerBindings (0.00s) --- PASS: Test_TriggerValidate/Trigger_with_new_embedded_TriggerBindings (0.00s) --- PASS: Test_TriggerValidate/Valid_Trigger_Interceptor (0.00s) --- PASS: Test_TriggerValidate/Valid_Trigger_with_no_trigger_name (0.00s) --- PASS: Test_TriggerValidate/Trigger_with_embedded_Template (0.00s) --- PASS: Test_TriggerValidate/Trigger_referenced_with_deprecated_name_field (0.00s) === RUN TestTriggerValidate_error === RUN TestTriggerValidate_error/TriggerBinding_with_no_spec === RUN TestTriggerValidate_error/Bindings_missing_ref === RUN TestTriggerValidate_error/Bindings_with_ref_missing_kind === RUN TestTriggerValidate_error/Bindings_with_ref_wrong_kind === RUN TestTriggerValidate_error/Bindings_with_name_but_no_value === RUN TestTriggerValidate_error/Template_with_wrong_apiVersion === RUN TestTriggerValidate_error/Template_with_nil_Ref === RUN TestTriggerValidate_error/Template_with_empty_Ref === RUN TestTriggerValidate_error/Valid_Trigger_with_invalid_TriggerBinding === RUN TestTriggerValidate_error/Trigger_template_with_both_ref_and_spec === RUN TestTriggerValidate_error/Trigger_template_with_both_name_and_spec === RUN TestTriggerValidate_error/Trigger_template_missing_both_ref_and_spec === RUN TestTriggerValidate_error/Trigger_template_with_invalid_spec --- PASS: TestTriggerValidate_error (0.01s) --- PASS: TestTriggerValidate_error/TriggerBinding_with_no_spec (0.00s) --- PASS: TestTriggerValidate_error/Bindings_missing_ref (0.00s) --- PASS: TestTriggerValidate_error/Bindings_with_ref_missing_kind (0.00s) --- PASS: TestTriggerValidate_error/Bindings_with_ref_wrong_kind (0.00s) --- PASS: TestTriggerValidate_error/Bindings_with_name_but_no_value (0.00s) --- PASS: TestTriggerValidate_error/Template_with_wrong_apiVersion (0.00s) --- PASS: TestTriggerValidate_error/Template_with_nil_Ref (0.00s) --- PASS: TestTriggerValidate_error/Template_with_empty_Ref (0.00s) --- PASS: TestTriggerValidate_error/Valid_Trigger_with_invalid_TriggerBinding (0.00s) --- PASS: TestTriggerValidate_error/Trigger_template_with_both_ref_and_spec (0.00s) --- PASS: TestTriggerValidate_error/Trigger_template_with_both_name_and_spec (0.00s) --- PASS: TestTriggerValidate_error/Trigger_template_missing_both_ref_and_spec (0.00s) --- PASS: TestTriggerValidate_error/Trigger_template_with_invalid_spec (0.00s) PASS ok github.com/tektoncd/triggers/pkg/apis/triggers/v1alpha1 1.387s ? github.com/tektoncd/triggers/pkg/client/clientset/versioned [no test files] ? github.com/tektoncd/triggers/pkg/client/clientset/versioned/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/clientset/versioned/scheme [no test files] ? github.com/tektoncd/triggers/pkg/client/clientset/versioned/typed/triggers/v1alpha1 [no test files] ? github.com/tektoncd/triggers/pkg/client/clientset/versioned/typed/triggers/v1alpha1/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/clientset/versioned/typed/triggers/v1beta1 [no test files] ? github.com/tektoncd/triggers/pkg/client/clientset/versioned/typed/triggers/v1beta1/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/dynamic/clientset [no test files] ? github.com/tektoncd/triggers/pkg/client/informers/externalversions [no test files] ? github.com/tektoncd/triggers/pkg/client/informers/externalversions/internalinterfaces [no test files] ? github.com/tektoncd/triggers/pkg/client/informers/externalversions/triggers [no test files] ? github.com/tektoncd/triggers/pkg/client/informers/externalversions/triggers/v1alpha1 [no test files] ? github.com/tektoncd/triggers/pkg/client/informers/externalversions/triggers/v1beta1 [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/client [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/client/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/factory [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/factory/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/factory/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/factory/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/clusterinterceptor [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/clusterinterceptor/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/clusterinterceptor/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/clusterinterceptor/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/clustertriggerbinding [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/clustertriggerbinding/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/clustertriggerbinding/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/clustertriggerbinding/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/eventlistener [no test files] === RUN TestSetGetCondition === RUN TestSetGetCondition/No_conditions === RUN TestSetGetCondition/One_condition === RUN TestSetGetCondition/Two_conditions === RUN TestSetGetCondition/Two_conditions_repeated --- PASS: TestSetGetCondition (0.00s) --- PASS: TestSetGetCondition/No_conditions (0.00s) --- PASS: TestSetGetCondition/One_condition (0.00s) --- PASS: TestSetGetCondition/Two_conditions (0.00s) --- PASS: TestSetGetCondition/Two_conditions_repeated (0.00s) === RUN TestInitializeConditions --- PASS: TestInitializeConditions (0.00s) === RUN TestSetExistsCondition === RUN TestSetExistsCondition/Condition_with_error === RUN TestSetExistsCondition/Condition_without_error --- PASS: TestSetExistsCondition (0.00s) --- PASS: TestSetExistsCondition/Condition_with_error (0.00s) --- PASS: TestSetExistsCondition/Condition_without_error (0.00s) === RUN TestSetDeploymentConditions === RUN TestSetDeploymentConditions/No_Deployment_Conditions === RUN TestSetDeploymentConditions/One_Deployment_Condition === RUN TestSetDeploymentConditions/Two_Deployment_Conditions === RUN TestSetDeploymentConditions/Update_Replica_Condition --- PASS: TestSetDeploymentConditions (0.00s) --- PASS: TestSetDeploymentConditions/No_Deployment_Conditions (0.00s) --- PASS: TestSetDeploymentConditions/One_Deployment_Condition (0.00s) --- PASS: TestSetDeploymentConditions/Two_Deployment_Conditions (0.00s) --- PASS: TestSetDeploymentConditions/Update_Replica_Condition (0.00s) === RUN TestSetConditionsForDynamicObjects --- PASS: TestSetConditionsForDynamicObjects (0.00s) === RUN TestEventListenerStatus_SetReadyCondition === RUN TestEventListenerStatus_SetReadyCondition/set_Ready_to_true_when_all_dependent_conditions_are_true === RUN TestEventListenerStatus_SetReadyCondition/set_Ready_to_false_when_at_least_one_dependent_condition_is_false --- PASS: TestEventListenerStatus_SetReadyCondition (0.01s) --- PASS: TestEventListenerStatus_SetReadyCondition/set_Ready_to_true_when_all_dependent_conditions_are_true (0.01s) --- PASS: TestEventListenerStatus_SetReadyCondition/set_Ready_to_false_when_at_least_one_dependent_condition_is_false (0.00s) === RUN TestToEventListenerTrigger === RUN TestToEventListenerTrigger/Convert_Empty_Object === RUN TestToEventListenerTrigger/Convert_Partial_Object === RUN TestToEventListenerTrigger/Convert_Full_Object --- PASS: TestToEventListenerTrigger (0.00s) --- PASS: TestToEventListenerTrigger/Convert_Empty_Object (0.00s) --- PASS: TestToEventListenerTrigger/Convert_Partial_Object (0.00s) --- PASS: TestToEventListenerTrigger/Convert_Full_Object (0.00s) === RUN TestGetName === RUN TestGetName/#00 === RUN TestGetName/pluggable-interceptor --- PASS: TestGetName (0.00s) --- PASS: TestGetName/#00 (0.00s) --- PASS: TestGetName/pluggable-interceptor (0.00s) === RUN TestValidateEnabledAPIFields --- PASS: TestValidateEnabledAPIFields (0.00s) === RUN TestValidateEnabledAPIFieldsError --- PASS: TestValidateEnabledAPIFieldsError (0.00s) === RUN TestValidateEnabledAPIFields_OnDelete --- PASS: TestValidateEnabledAPIFields_OnDelete (0.00s) === RUN Test_ClusterTriggerBindingValidate === RUN Test_ClusterTriggerBindingValidate/multiple_params === RUN Test_ClusterTriggerBindingValidate/multiple_params_case_sensitive --- PASS: Test_ClusterTriggerBindingValidate (0.00s) --- PASS: Test_ClusterTriggerBindingValidate/multiple_params (0.00s) --- PASS: Test_ClusterTriggerBindingValidate/multiple_params_case_sensitive (0.00s) === RUN Test_ClusterTriggerBindingValidate_error === RUN Test_ClusterTriggerBindingValidate_error/empty === RUN Test_ClusterTriggerBindingValidate_error/duplicate_params --- PASS: Test_ClusterTriggerBindingValidate_error (0.00s) --- PASS: Test_ClusterTriggerBindingValidate_error/empty (0.00s) --- PASS: Test_ClusterTriggerBindingValidate_error/duplicate_params (0.00s) === RUN TestEventListenerSetDefaults === RUN TestEventListenerSetDefaults/default_binding === RUN TestEventListenerSetDefaults/set_replicas_to_1_if_provided_replicas_is_0_as_part_of_eventlistener_kubernetesResources === RUN TestEventListenerSetDefaults/different_value_for_replicas_other_than_0 === RUN TestEventListenerSetDefaults/adds_interceptorkind_when_not_specified === RUN TestEventListenerSetDefaults/EventListener_default_config_context_with_sa === NAME TestEventListenerSetDefaults logger.go:146: 2025-07-04T11:23:00.515Z DEBUG configmap/store.go:155 defaults/features/artifacts config "config-defaults-triggers" config was added or updated: &config.Defaults{DefaultServiceAccount:"tekton", DefaultRunAsUser:65532, DefaultRunAsGroup:65532, DefaultFSGroup:65532, DefaultRunAsNonRoot:true, IsDefaultRunAsUserEmpty:false, IsDefaultRunAsGroupEmpty:false, IsDefaultFsGroupEmpty:false} === RUN TestEventListenerSetDefaults/adds_TriggerGroup_interceptorkind_when_not_specified --- PASS: TestEventListenerSetDefaults (0.01s) --- PASS: TestEventListenerSetDefaults/default_binding (0.00s) --- PASS: TestEventListenerSetDefaults/set_replicas_to_1_if_provided_replicas_is_0_as_part_of_eventlistener_kubernetesResources (0.00s) --- PASS: TestEventListenerSetDefaults/different_value_for_replicas_other_than_0 (0.00s) --- PASS: TestEventListenerSetDefaults/adds_interceptorkind_when_not_specified (0.00s) --- PASS: TestEventListenerSetDefaults/EventListener_default_config_context_with_sa (0.00s) --- PASS: TestEventListenerSetDefaults/adds_TriggerGroup_interceptorkind_when_not_specified (0.00s) === RUN Test_EventListenerValidate === RUN Test_EventListenerValidate/TriggerTemplate_Does_Not_Exist === RUN Test_EventListenerValidate/Valid_EventListener_No_TriggerBinding === RUN Test_EventListenerValidate/Valid_EventListener_with_TriggerRef === RUN Test_EventListenerValidate/Valid_EventListener_with_Annotation === RUN Test_EventListenerValidate/Valid_EventListener_with_TriggerBinding === RUN Test_EventListenerValidate/Valid_EventListener_with_ClusterTriggerBinding === RUN Test_EventListenerValidate/Valid_EventListener_with_multiple_TriggerBindings === RUN Test_EventListenerValidate/Valid_EventListener_Webhook_Interceptor === RUN Test_EventListenerValidate/Valid_EventListener_Interceptor_With_Header === RUN Test_EventListenerValidate/Valid_EventListener_Two_Triggers === RUN Test_EventListenerValidate/Valid_EventListener_with_CEL_interceptor === RUN Test_EventListenerValidate/Valid_EventListener_with_no_trigger_name === RUN Test_EventListenerValidate/Namespace_selector_with_label_selector === RUN Test_EventListenerValidate/Valid_EventListener_with_kubernetes_env_for_podspec === RUN Test_EventListenerValidate/Valid_Replicas_for_EventListener === RUN Test_EventListenerValidate/Valid_EventListener_with_env_for_TLS_connection === RUN Test_EventListenerValidate/Valid_EventListener_with_custom_resources === RUN Test_EventListenerValidate/Valid_EventListener_with_loadBalancerClass === RUN Test_EventListenerValidate/valid_EventListener_with_embedded_TriggerTemplate === RUN Test_EventListenerValidate/Valid_event_listener_with_TriggerGroup_and_namespaceSelector === RUN Test_EventListenerValidate/Valid_EventListener_with_node_affinity === RUN Test_EventListenerValidate/Valid_EventListener_with_probes === RUN Test_EventListenerValidate/Valid_EventListener_with_kubernetes_resources_for_securityContext --- PASS: Test_EventListenerValidate (0.03s) --- PASS: Test_EventListenerValidate/TriggerTemplate_Does_Not_Exist (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_No_TriggerBinding (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_TriggerRef (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_Annotation (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_TriggerBinding (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_ClusterTriggerBinding (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_multiple_TriggerBindings (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_Webhook_Interceptor (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_Interceptor_With_Header (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_Two_Triggers (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_CEL_interceptor (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_no_trigger_name (0.00s) --- PASS: Test_EventListenerValidate/Namespace_selector_with_label_selector (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_kubernetes_env_for_podspec (0.00s) --- PASS: Test_EventListenerValidate/Valid_Replicas_for_EventListener (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_env_for_TLS_connection (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_custom_resources (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_loadBalancerClass (0.00s) --- PASS: Test_EventListenerValidate/valid_EventListener_with_embedded_TriggerTemplate (0.00s) --- PASS: Test_EventListenerValidate/Valid_event_listener_with_TriggerGroup_and_namespaceSelector (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_node_affinity (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_probes (0.00s) --- PASS: Test_EventListenerValidate/Valid_EventListener_with_kubernetes_resources_for_securityContext (0.00s) === RUN TestEventListenerValidate_error === RUN TestEventListenerValidate_error/Invalid_EventListener_name === RUN TestEventListenerValidate_error/Valid_EventListener_with_empty_TriggerTemplate_name === RUN TestEventListenerValidate_error/Invalid_Annotation_value === RUN TestEventListenerValidate_error/TriggerBinding_with_no_ref_or_spec_or_name === RUN TestEventListenerValidate_error/Bindings_invalid_ref === RUN TestEventListenerValidate_error/Bindings_missing_kind === RUN TestEventListenerValidate_error/Template_with_wrong_apiVersion === RUN TestEventListenerValidate_error/Template_with_both_ref_and_name === RUN TestEventListenerValidate_error/Interceptor_Name_and_APIVersion_only === RUN TestEventListenerValidate_error/Interceptor_Name_and_Kind_only === RUN TestEventListenerValidate_error/Interceptor_Missing_Interceptor === RUN TestEventListenerValidate_error/Interceptor_Missing_ObjectRef === RUN TestEventListenerValidate_error/Interceptor_Empty_ObjectRef === RUN TestEventListenerValidate_error/Valid_EventListener_with_invalid_TriggerBinding === RUN TestEventListenerValidate_error/Interceptor_Wrong_APIVersion === RUN TestEventListenerValidate_error/Interceptor_Wrong_Kind === RUN TestEventListenerValidate_error/Interceptor_Non-Canonical_Header === RUN TestEventListenerValidate_error/Interceptor_Empty_Header_Name === RUN TestEventListenerValidate_error/Interceptor_Empty_Header_Value === RUN TestEventListenerValidate_error/Triggers_name_has_invalid_label_characters === RUN TestEventListenerValidate_error/Triggers_name_is_longer_than_the_allowable_label_value_(63_characters) === RUN TestEventListenerValidate_error/user_specify_invalid_replicas === RUN TestEventListenerValidate_error/user_specify_multiple_containers === RUN TestEventListenerValidate_error/user_specifies_an_unsupported_podspec_field === RUN TestEventListenerValidate_error/user_specifies_an_unsupported_container_fields === RUN TestEventListenerValidate_error/user_specifies_an_invalid_env_for_TLS_connection === RUN TestEventListenerValidate_error/user_specify_both_kubernetes_and_custom_resources === RUN TestEventListenerValidate_error/user_specify_a_loadbalancerclass_for_a_non-lb_service_type === RUN TestEventListenerValidate_error/user_specify_multiple_containers,_unsupported_podspec_and_container_field_in_custom_resources === RUN TestEventListenerValidate_error/specify_TriggerTemplate_along_with_TriggerRef === RUN TestEventListenerValidate_error/custom_resource_with_probe_data === RUN TestEventListenerValidate_error/missing_label_and_namespace_selector === RUN TestEventListenerValidate_error/triggerGroup_requires_interceptor === RUN TestEventListenerValidate_error/empty_spec_for_eventlistener === RUN TestEventListenerValidate_error/invalid_interceptor_for_eventlistener --- PASS: TestEventListenerValidate_error (0.04s) --- PASS: TestEventListenerValidate_error/Invalid_EventListener_name (0.00s) --- PASS: TestEventListenerValidate_error/Valid_EventListener_with_empty_TriggerTemplate_name (0.00s) --- PASS: TestEventListenerValidate_error/Invalid_Annotation_value (0.00s) --- PASS: TestEventListenerValidate_error/TriggerBinding_with_no_ref_or_spec_or_name (0.00s) --- PASS: TestEventListenerValidate_error/Bindings_invalid_ref (0.00s) --- PASS: TestEventListenerValidate_error/Bindings_missing_kind (0.00s) --- PASS: TestEventListenerValidate_error/Template_with_wrong_apiVersion (0.00s) --- PASS: TestEventListenerValidate_error/Template_with_both_ref_and_name (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Name_and_APIVersion_only (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Name_and_Kind_only (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Missing_Interceptor (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Missing_ObjectRef (0.01s) --- PASS: TestEventListenerValidate_error/Interceptor_Empty_ObjectRef (0.00s) --- PASS: TestEventListenerValidate_error/Valid_EventListener_with_invalid_TriggerBinding (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Wrong_APIVersion (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Wrong_Kind (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Non-Canonical_Header (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Empty_Header_Name (0.00s) --- PASS: TestEventListenerValidate_error/Interceptor_Empty_Header_Value (0.00s) --- PASS: TestEventListenerValidate_error/Triggers_name_has_invalid_label_characters (0.00s) --- PASS: TestEventListenerValidate_error/Triggers_name_is_longer_than_the_allowable_label_value_(63_characters) (0.01s) --- PASS: TestEventListenerValidate_error/user_specify_invalid_replicas (0.00s) --- PASS: TestEventListenerValidate_error/user_specify_multiple_containers (0.00s) --- PASS: TestEventListenerValidate_error/user_specifies_an_unsupported_podspec_field (0.00s) --- PASS: TestEventListenerValidate_error/user_specifies_an_unsupported_container_fields (0.00s) --- PASS: TestEventListenerValidate_error/user_specifies_an_invalid_env_for_TLS_connection (0.00s) --- PASS: TestEventListenerValidate_error/user_specify_both_kubernetes_and_custom_resources (0.00s) --- PASS: TestEventListenerValidate_error/user_specify_a_loadbalancerclass_for_a_non-lb_service_type (0.00s) --- PASS: TestEventListenerValidate_error/user_specify_multiple_containers,_unsupported_podspec_and_container_field_in_custom_resources (0.00s) --- PASS: TestEventListenerValidate_error/specify_TriggerTemplate_along_with_TriggerRef (0.00s) --- PASS: TestEventListenerValidate_error/custom_resource_with_probe_data (0.00s) --- PASS: TestEventListenerValidate_error/missing_label_and_namespace_selector (0.00s) --- PASS: TestEventListenerValidate_error/triggerGroup_requires_interceptor (0.00s) --- PASS: TestEventListenerValidate_error/empty_spec_for_eventlistener (0.00s) --- PASS: TestEventListenerValidate_error/invalid_interceptor_for_eventlistener (0.00s) === RUN TestParseTriggerID === RUN TestParseTriggerID/namespaces/default/triggers/my-trigger === RUN TestParseTriggerID/#00 --- PASS: TestParseTriggerID (0.00s) --- PASS: TestParseTriggerID/namespaces/default/triggers/my-trigger (0.00s) --- PASS: TestParseTriggerID/#00 (0.00s) === RUN Test_TriggerBindingValidate === RUN Test_TriggerBindingValidate/multiple_params === RUN Test_TriggerBindingValidate/multiple_params_case_sensitive === RUN Test_TriggerBindingValidate/multiple_expressions_in_one_body --- PASS: Test_TriggerBindingValidate (0.00s) --- PASS: Test_TriggerBindingValidate/multiple_params (0.00s) --- PASS: Test_TriggerBindingValidate/multiple_params_case_sensitive (0.00s) --- PASS: Test_TriggerBindingValidate/multiple_expressions_in_one_body (0.00s) === RUN Test_TriggerBindingValidate_error === RUN Test_TriggerBindingValidate_error/empty === RUN Test_TriggerBindingValidate_error/duplicate_params === RUN Test_TriggerBindingValidate_error/invalid_parameter === RUN Test_TriggerBindingValidate_error/invalid_parameter_further_nested === RUN Test_TriggerBindingValidate_error/invalid_parameter_triple_nested --- PASS: Test_TriggerBindingValidate_error (0.00s) --- PASS: Test_TriggerBindingValidate_error/empty (0.00s) --- PASS: Test_TriggerBindingValidate_error/duplicate_params (0.00s) --- PASS: Test_TriggerBindingValidate_error/invalid_parameter (0.00s) --- PASS: Test_TriggerBindingValidate_error/invalid_parameter_further_nested (0.00s) --- PASS: Test_TriggerBindingValidate_error/invalid_parameter_triple_nested (0.00s) === RUN TestTriggerSetDefaults === RUN TestTriggerSetDefaults/default_binding_kind === RUN TestTriggerSetDefaults/upgrade_context_not_set === RUN TestTriggerSetDefaults/defaults_interceptor_ref --- PASS: TestTriggerSetDefaults (0.00s) --- PASS: TestTriggerSetDefaults/default_binding_kind (0.00s) --- PASS: TestTriggerSetDefaults/upgrade_context_not_set (0.00s) --- PASS: TestTriggerSetDefaults/defaults_interceptor_ref (0.00s) === RUN TestTriggerTemplate_Validate === RUN TestTriggerTemplate_Validate/invalid_objectmetadata,_name_too_long === RUN TestTriggerTemplate_Validate/valid_template === RUN TestTriggerTemplate_Validate/valid_v1beta1_template === RUN TestTriggerTemplate_Validate/missing_resource_template === RUN TestTriggerTemplate_Validate/resource_template_missing_kind === RUN TestTriggerTemplate_Validate/resource_template_missing_apiVersion === RUN TestTriggerTemplate_Validate/resource_template_other_kind_then_tekton_resource === RUN TestTriggerTemplate_Validate/tt.params_used_in_resource_template_are_declared === RUN TestTriggerTemplate_Validate/tt.params_used_in_resource_template_are_not_declared === RUN TestTriggerTemplate_Validate/invalid_params_used_in_resource_template_are_not_declared === RUN TestTriggerTemplate_Validate/invalid_params_used_in_resource_template_are_declared === RUN TestTriggerTemplate_Validate/no_spec_to_triggertemplate --- PASS: TestTriggerTemplate_Validate (0.01s) --- PASS: TestTriggerTemplate_Validate/invalid_objectmetadata,_name_too_long (0.00s) --- PASS: TestTriggerTemplate_Validate/valid_template (0.00s) --- PASS: TestTriggerTemplate_Validate/valid_v1beta1_template (0.00s) --- PASS: TestTriggerTemplate_Validate/missing_resource_template (0.00s) --- PASS: TestTriggerTemplate_Validate/resource_template_missing_kind (0.00s) --- PASS: TestTriggerTemplate_Validate/resource_template_missing_apiVersion (0.00s) --- PASS: TestTriggerTemplate_Validate/resource_template_other_kind_then_tekton_resource (0.00s) --- PASS: TestTriggerTemplate_Validate/tt.params_used_in_resource_template_are_declared (0.00s) --- PASS: TestTriggerTemplate_Validate/tt.params_used_in_resource_template_are_not_declared (0.00s) --- PASS: TestTriggerTemplate_Validate/invalid_params_used_in_resource_template_are_not_declared (0.00s) --- PASS: TestTriggerTemplate_Validate/invalid_params_used_in_resource_template_are_declared (0.00s) --- PASS: TestTriggerTemplate_Validate/no_spec_to_triggertemplate (0.00s) === RUN Test_TriggerValidate === RUN Test_TriggerValidate/Valid_Trigger_No_TriggerBinding === RUN Test_TriggerValidate/Valid_Trigger_with_TriggerBinding === RUN Test_TriggerValidate/Valid_Trigger_with_ClusterTriggerBinding === RUN Test_TriggerValidate/Valid_Trigger_with_multiple_TriggerBindings === RUN Test_TriggerValidate/Trigger_with_new_embedded_TriggerBindings === RUN Test_TriggerValidate/Valid_Trigger_Interceptor === RUN Test_TriggerValidate/Valid_Trigger_with_no_trigger_name === RUN Test_TriggerValidate/Trigger_with_embedded_Template === RUN Test_TriggerValidate/Trigger_referenced_with_deprecated_name_field --- PASS: Test_TriggerValidate (0.00s) --- PASS: Test_TriggerValidate/Valid_Trigger_No_TriggerBinding (0.00s) --- PASS: Test_TriggerValidate/Valid_Trigger_with_TriggerBinding (0.00s) --- PASS: Test_TriggerValidate/Valid_Trigger_with_ClusterTriggerBinding (0.00s) --- PASS: Test_TriggerValidate/Valid_Trigger_with_multiple_TriggerBindings (0.00s) --- PASS: Test_TriggerValidate/Trigger_with_new_embedded_TriggerBindings (0.00s) --- PASS: Test_TriggerValidate/Valid_Trigger_Interceptor (0.00s) --- PASS: Test_TriggerValidate/Valid_Trigger_with_no_trigger_name (0.00s) --- PASS: Test_TriggerValidate/Trigger_with_embedded_Template (0.00s) --- PASS: Test_TriggerValidate/Trigger_referenced_with_deprecated_name_field (0.00s) === RUN TestTriggerValidate_error === RUN TestTriggerValidate_error/TriggerBinding_with_no_spec === RUN TestTriggerValidate_error/Bindings_missing_ref === RUN TestTriggerValidate_error/Bindings_with_ref_missing_kind === RUN TestTriggerValidate_error/Bindings_with_ref_wrong_kind === RUN TestTriggerValidate_error/Bindings_with_name_but_no_value === RUN TestTriggerValidate_error/Template_with_wrong_apiVersion === RUN TestTriggerValidate_error/Template_with_nil_Ref === RUN TestTriggerValidate_error/Template_with_empty_Ref === RUN TestTriggerValidate_error/Valid_Trigger_with_invalid_TriggerBinding === RUN TestTriggerValidate_error/Trigger_template_with_both_ref_and_spec === RUN TestTriggerValidate_error/Trigger_template_with_both_name_and_spec === RUN TestTriggerValidate_error/Trigger_template_missing_both_ref_and_spec === RUN TestTriggerValidate_error/Trigger_template_with_invalid_spec --- PASS: TestTriggerValidate_error (0.00s) --- PASS: TestTriggerValidate_error/TriggerBinding_with_no_spec (0.00s) --- PASS: TestTriggerValidate_error/Bindings_missing_ref (0.00s) --- PASS: TestTriggerValidate_error/Bindings_with_ref_missing_kind (0.00s) --- PASS: TestTriggerValidate_error/Bindings_with_ref_wrong_kind (0.00s) --- PASS: TestTriggerValidate_error/Bindings_with_name_but_no_value (0.00s) --- PASS: TestTriggerValidate_error/Template_with_wrong_apiVersion (0.00s) --- PASS: TestTriggerValidate_error/Template_with_nil_Ref (0.00s) --- PASS: TestTriggerValidate_error/Template_with_empty_Ref (0.00s) --- PASS: TestTriggerValidate_error/Valid_Trigger_with_invalid_TriggerBinding (0.00s) --- PASS: TestTriggerValidate_error/Trigger_template_with_both_ref_and_spec (0.00s) --- PASS: TestTriggerValidate_error/Trigger_template_with_both_name_and_spec (0.00s) --- PASS: TestTriggerValidate_error/Trigger_template_missing_both_ref_and_spec (0.00s) --- PASS: TestTriggerValidate_error/Trigger_template_with_invalid_spec (0.00s) PASS ok github.com/tektoncd/triggers/pkg/apis/triggers/v1beta1 1.427s ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/eventlistener/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/eventlistener/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/eventlistener/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/interceptor [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/interceptor/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/interceptor/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/trigger [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/trigger/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/interceptor/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/trigger/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/trigger/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/triggerbinding [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/triggerbinding/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/triggerbinding/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/triggerbinding/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/triggertemplate [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/triggertemplate/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/triggertemplate/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1alpha1/triggertemplate/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/clustertriggerbinding [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/clustertriggerbinding/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/clustertriggerbinding/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/clustertriggerbinding/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/eventlistener [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/eventlistener/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/eventlistener/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/eventlistener/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/trigger [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/trigger/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/trigger/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/trigger/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/triggerbinding [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/triggerbinding/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/triggerbinding/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/triggerbinding/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/triggertemplate [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/triggertemplate/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/triggertemplate/filtered [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/reconciler/triggers/v1alpha1/clusterinterceptor [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/informers/triggers/v1beta1/triggertemplate/filtered/fake [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/reconciler/triggers/v1alpha1/eventlistener [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/reconciler/triggers/v1alpha1/interceptor [no test files] ? github.com/tektoncd/triggers/pkg/client/injection/reconciler/triggers/v1beta1/eventlistener [no test files] ? github.com/tektoncd/triggers/pkg/client/listers/triggers/v1alpha1 [no test files] ? github.com/tektoncd/triggers/pkg/client/listers/triggers/v1beta1 [no test files] === RUN TestGetConditions === RUN TestGetConditions/No_status time="2025-07-04T11:23:16Z" level=warning msg="empty status conditions for the created custom object" === RUN TestGetConditions/Status_but_no_conditions time="2025-07-04T11:23:16Z" level=warning msg="empty status conditions for the created custom object" === RUN TestGetConditions/Status_with_conditions --- PASS: TestGetConditions (0.02s) --- PASS: TestGetConditions/No_status (0.02s) --- PASS: TestGetConditions/Status_but_no_conditions (0.00s) --- PASS: TestGetConditions/Status_with_conditions (0.00s) === RUN TestGetConditionsInvalidObj time="2025-07-04T11:23:16Z" level=warning msg="empty status for the created custom object" --- PASS: TestGetConditionsInvalidObj (0.00s) PASS ok github.com/tektoncd/triggers/pkg/dynamic 1.735s === RUN TestGetInterceptorParams === RUN TestGetInterceptorParams/cel === RUN TestGetInterceptorParams/gitlab === RUN TestGetInterceptorParams/github === RUN TestGetInterceptorParams/bitbucket === RUN TestGetInterceptorParams/webhook === RUN TestGetInterceptorParams/interceptor_using_ref --- PASS: TestGetInterceptorParams (0.01s) --- PASS: TestGetInterceptorParams/cel (0.00s) --- PASS: TestGetInterceptorParams/gitlab (0.00s) --- PASS: TestGetInterceptorParams/github (0.00s) --- PASS: TestGetInterceptorParams/bitbucket (0.00s) --- PASS: TestGetInterceptorParams/webhook (0.00s) --- PASS: TestGetInterceptorParams/interceptor_using_ref (0.00s) === RUN TestCanonical === RUN TestCanonical/all_uppercase === RUN TestCanonical/all_lowercase --- PASS: TestCanonical (0.00s) --- PASS: TestCanonical/all_uppercase (0.00s) --- PASS: TestCanonical/all_lowercase (0.00s) === RUN TestUnmarshalParam --- PASS: TestUnmarshalParam (0.00s) === RUN TestGetInterceptorParams_Error === RUN TestGetInterceptorParams_Error/failed_to_marshal_json --- PASS: TestGetInterceptorParams_Error (0.00s) --- PASS: TestGetInterceptorParams_Error/failed_to_marshal_json (0.00s) === RUN TestResolveToURL === RUN TestResolveToURL/ClusterInterceptor_has_status.address.url === RUN TestResolveToURL/ClusterInterceptor_does_not_have_a_status === RUN TestResolveToURL/interceptor_has_no_URL --- PASS: TestResolveToURL (0.00s) --- PASS: TestResolveToURL/ClusterInterceptor_has_status.address.url (0.00s) --- PASS: TestResolveToURL/ClusterInterceptor_does_not_have_a_status (0.00s) --- PASS: TestResolveToURL/interceptor_has_no_URL (0.00s) === RUN TestExecute === RUN TestExecute/cel_filter_pass logger.go:146: 2025-07-04T11:23:36.838Z DEBUG Interceptor Request is: {Body: Header:map[Content-Type:[application/json]] Extensions:map[] InterceptorParams:map[filter:header.match("Content-Type", "application/json")] Context:0xc0004b4e70} logger.go:146: 2025-07-04T11:23:36.955Z INFO Interceptor response is: &{Extensions:map[] Continue:true Status:{Code:OK Message:}} === RUN TestExecute/cel_filter_fail logger.go:146: 2025-07-04T11:23:37.036Z DEBUG Interceptor Request is: {Body: Header:map[Content-Type:[application/json]] Extensions:map[] InterceptorParams:map[filter:header.match("Content-Type", "application/xml")] Context:0xc00071e0c0} logger.go:146: 2025-07-04T11:23:37.045Z INFO Interceptor response is: &{Extensions:map[] Continue:false Status:{Code:FailedPrecondition Message:expression header.match("Content-Type", "application/xml") did not return true}} --- PASS: TestExecute (0.25s) --- PASS: TestExecute/cel_filter_pass (0.19s) --- PASS: TestExecute/cel_filter_fail (0.03s) === RUN TestExecute_Error === RUN TestExecute_Error/bad_URL === RUN TestExecute_Error/non_200_response === RUN TestExecute_Error/incorrect_response_format === RUN TestExecute_Error/HTTPS_URL --- PASS: TestExecute_Error (0.11s) --- PASS: TestExecute_Error/bad_URL (0.00s) --- PASS: TestExecute_Error/non_200_response (0.00s) --- PASS: TestExecute_Error/incorrect_response_format (0.00s) --- PASS: TestExecute_Error/HTTPS_URL (0.11s) === RUN TestCacheSecrets --- PASS: TestCacheSecrets (0.27s) PASS ok github.com/tektoncd/triggers/pkg/interceptors 3.171s === RUN TestInterceptor_Process_ShouldContinue === RUN TestInterceptor_Process_ShouldContinue/no_secret === RUN TestInterceptor_Process_ShouldContinue/valid_header_for_secret === RUN TestInterceptor_Process_ShouldContinue/matching_event === RUN TestInterceptor_Process_ShouldContinue/valid_header_for_secret_and_matching_event === RUN TestInterceptor_Process_ShouldContinue/nil_body_does_not_panic --- PASS: TestInterceptor_Process_ShouldContinue (1.78s) --- PASS: TestInterceptor_Process_ShouldContinue/no_secret (0.89s) --- PASS: TestInterceptor_Process_ShouldContinue/valid_header_for_secret (0.16s) --- PASS: TestInterceptor_Process_ShouldContinue/matching_event (0.25s) --- PASS: TestInterceptor_Process_ShouldContinue/valid_header_for_secret_and_matching_event (0.22s) --- PASS: TestInterceptor_Process_ShouldContinue/nil_body_does_not_panic (0.26s) === RUN TestInterceptor_Process_ShouldNotContinue === RUN TestInterceptor_Process_ShouldNotContinue/invalid_header_for_secret === RUN TestInterceptor_Process_ShouldNotContinue/no_X-Hub-Signature_header_for_secret === RUN TestInterceptor_Process_ShouldNotContinue/no_matching_event === RUN TestInterceptor_Process_ShouldNotContinue/invalid_header_for_secret,_but_matching_event === RUN TestInterceptor_Process_ShouldNotContinue/valid_header_for_secret,_but_no_matching_event === RUN TestInterceptor_Process_ShouldNotContinue/empty_secret --- PASS: TestInterceptor_Process_ShouldNotContinue (1.92s) --- PASS: TestInterceptor_Process_ShouldNotContinue/invalid_header_for_secret (0.22s) --- PASS: TestInterceptor_Process_ShouldNotContinue/no_X-Hub-Signature_header_for_secret (0.30s) --- PASS: TestInterceptor_Process_ShouldNotContinue/no_matching_event (0.30s) --- PASS: TestInterceptor_Process_ShouldNotContinue/invalid_header_for_secret,_but_matching_event (0.35s) --- PASS: TestInterceptor_Process_ShouldNotContinue/valid_header_for_secret,_but_no_matching_event (0.21s) --- PASS: TestInterceptor_Process_ShouldNotContinue/empty_secret (0.54s) === RUN TestInterceptor_Process_InvalidParams --- PASS: TestInterceptor_Process_InvalidParams (0.30s) PASS ok github.com/tektoncd/triggers/pkg/interceptors/bitbucket 5.998s === RUN TestInterceptor_Process === RUN TestInterceptor_Process/simple_body_check_with_matching_body === RUN TestInterceptor_Process/simple_header_check_with_matching_header === RUN TestInterceptor_Process/overloaded_header_check_with_case_insensitive_matching === RUN TestInterceptor_Process/body_and_header_check === RUN TestInterceptor_Process/body_and_header_canonical_check === RUN TestInterceptor_Process/single_overlay === RUN TestInterceptor_Process/single_overlay_with_no_filter === RUN TestInterceptor_Process/overlay_with_string_library_functions === RUN TestInterceptor_Process/multiple_overlays === RUN TestInterceptor_Process/nil_body_does_not_panic === RUN TestInterceptor_Process/incrementing_an_integer_value === RUN TestInterceptor_Process/validating_a_secret === RUN TestInterceptor_Process/validating_a_secret_with_a_namespace_and_name === RUN TestInterceptor_Process/validating_a_secret_in_the_default_namespace === RUN TestInterceptor_Process/handling_a_list_response === RUN TestInterceptor_Process/return_different_types_of_expression === RUN TestInterceptor_Process/demonstrate_defaulting_logic_within_cel_interceptor === RUN TestInterceptor_Process/string_replacement_with_regexp === RUN TestInterceptor_Process/filters_and_overlays_can_access_passed_in_extensions === RUN TestInterceptor_Process/decode_with_cel_extension_to_a_field --- PASS: TestInterceptor_Process (10.24s) --- PASS: TestInterceptor_Process/simple_body_check_with_matching_body (0.29s) --- PASS: TestInterceptor_Process/simple_header_check_with_matching_header (0.23s) --- PASS: TestInterceptor_Process/overloaded_header_check_with_case_insensitive_matching (0.35s) --- PASS: TestInterceptor_Process/body_and_header_check (0.75s) --- PASS: TestInterceptor_Process/body_and_header_canonical_check (0.80s) --- PASS: TestInterceptor_Process/single_overlay (0.71s) --- PASS: TestInterceptor_Process/single_overlay_with_no_filter (0.62s) --- PASS: TestInterceptor_Process/overlay_with_string_library_functions (0.78s) --- PASS: TestInterceptor_Process/multiple_overlays (1.03s) --- PASS: TestInterceptor_Process/nil_body_does_not_panic (0.31s) --- PASS: TestInterceptor_Process/incrementing_an_integer_value (0.62s) --- PASS: TestInterceptor_Process/validating_a_secret (0.50s) --- PASS: TestInterceptor_Process/validating_a_secret_with_a_namespace_and_name (0.59s) --- PASS: TestInterceptor_Process/validating_a_secret_in_the_default_namespace (0.31s) --- PASS: TestInterceptor_Process/handling_a_list_response (0.38s) --- PASS: TestInterceptor_Process/return_different_types_of_expression (0.40s) --- PASS: TestInterceptor_Process/demonstrate_defaulting_logic_within_cel_interceptor (0.19s) --- PASS: TestInterceptor_Process/string_replacement_with_regexp (0.19s) --- PASS: TestInterceptor_Process/filters_and_overlays_can_access_passed_in_extensions (0.43s) --- PASS: TestInterceptor_Process/decode_with_cel_extension_to_a_field (0.70s) === RUN TestInterceptor_Process_Error === RUN TestInterceptor_Process_Error/simple_body_check_with_non-matching_body === RUN TestInterceptor_Process_Error/simple_header_check_with_non_matching_header === RUN TestInterceptor_Process_Error/overloaded_header_check_with_case_insensitive_failed_match === RUN TestInterceptor_Process_Error/unable_to_parse_the_expression === RUN TestInterceptor_Process_Error/unable_to_parse_the_JSON_body === RUN TestInterceptor_Process_Error/bad_overlay === RUN TestInterceptor_Process_Error/unable_to_parse_regexp_in_translate --- PASS: TestInterceptor_Process_Error (0.29s) --- PASS: TestInterceptor_Process_Error/simple_body_check_with_non-matching_body (0.00s) --- PASS: TestInterceptor_Process_Error/simple_header_check_with_non_matching_header (0.03s) --- PASS: TestInterceptor_Process_Error/overloaded_header_check_with_case_insensitive_failed_match (0.01s) --- PASS: TestInterceptor_Process_Error/unable_to_parse_the_expression (0.00s) --- PASS: TestInterceptor_Process_Error/unable_to_parse_the_JSON_body (0.04s) --- PASS: TestInterceptor_Process_Error/bad_overlay (0.09s) --- PASS: TestInterceptor_Process_Error/unable_to_parse_regexp_in_translate (0.02s) === RUN TestInterceptor_Process_InvalidParams --- PASS: TestInterceptor_Process_InvalidParams (0.00s) === RUN TestExpressionEvaluation === RUN TestExpressionEvaluation/simple_body_value === RUN TestExpressionEvaluation/boolean_body_value === RUN TestExpressionEvaluation/truncate_a_long_string === RUN TestExpressionEvaluation/truncate_a_string_to_its_own_length === RUN TestExpressionEvaluation/truncate_a_string_to_fewer_characters_than_it_has === RUN TestExpressionEvaluation/split_a_string_on_a_character === RUN TestExpressionEvaluation/extract_a_branch_from_a_non_refs_string === RUN TestExpressionEvaluation/combine_split_and_truncate === RUN TestExpressionEvaluation/exact_header_lookup === RUN TestExpressionEvaluation/canonical_header_lookup === RUN TestExpressionEvaluation/increment_an_integer === RUN TestExpressionEvaluation/compare_string_against_secret === RUN TestExpressionEvaluation/compare_string_against_secret_with_no_match === RUN TestExpressionEvaluation/compare_string_against_secret_in_the_default_namespace === RUN TestExpressionEvaluation/parse_JSON_body_in_a_string === RUN TestExpressionEvaluation/compare_a_JSON_number_to_an_integer_variable === RUN TestExpressionEvaluation/compare_a_JSON_number_to_an_int_literal === RUN TestExpressionEvaluation/compare_a_JSON_number_to_a_uint_literal === RUN TestExpressionEvaluation/compare_a_JSON_number_to_a_double_literal === RUN TestExpressionEvaluation/compare_a_JSON_field_to_null === RUN TestExpressionEvaluation/parse_YAML_body_in_a_string === RUN TestExpressionEvaluation/parse_URL === RUN TestExpressionEvaluation/parse_URL_and_extract_single_string === RUN TestExpressionEvaluation/parse_URL_and_extract_multiple_strings === RUN TestExpressionEvaluation/parse_request_url === RUN TestExpressionEvaluation/lower_casing_a_string === RUN TestExpressionEvaluation/marshal_JSON_object_to_string === RUN TestExpressionEvaluation/marshal_JSON_array_to_string === RUN TestExpressionEvaluation/marshal_JSON_objects_to_string === RUN TestExpressionEvaluation/extension_base64_decoding === RUN TestExpressionEvaluation/extension_base64_encoding === RUN TestExpressionEvaluation/extension_string_join === RUN TestExpressionEvaluation/extension_string_join#01 === RUN TestExpressionEvaluation/last_element_in_array === RUN TestExpressionEvaluation/last_element_in_empty_array === RUN TestExpressionEvaluation/last_element_in_numeric_array === RUN TestExpressionEvaluation/last_element_in_literal_array === RUN TestExpressionEvaluation/first_element_in_literal_array === RUN TestExpressionEvaluation/first_element_in_array === RUN TestExpressionEvaluation/first_element_in_empty_array === RUN TestExpressionEvaluation/first_element_in_numeric_array === RUN TestExpressionEvaluation/sets_extension_sets.contains === RUN TestExpressionEvaluation/slicing_arrays === RUN TestExpressionEvaluation/cel_maths --- PASS: TestExpressionEvaluation (15.21s) --- PASS: TestExpressionEvaluation/simple_body_value (0.32s) --- PASS: TestExpressionEvaluation/boolean_body_value (0.44s) --- PASS: TestExpressionEvaluation/truncate_a_long_string (0.62s) --- PASS: TestExpressionEvaluation/truncate_a_string_to_its_own_length (0.12s) --- PASS: TestExpressionEvaluation/truncate_a_string_to_fewer_characters_than_it_has (0.09s) --- PASS: TestExpressionEvaluation/split_a_string_on_a_character (0.57s) --- PASS: TestExpressionEvaluation/extract_a_branch_from_a_non_refs_string (0.60s) --- PASS: TestExpressionEvaluation/combine_split_and_truncate (0.13s) --- PASS: TestExpressionEvaluation/exact_header_lookup (0.54s) --- PASS: TestExpressionEvaluation/canonical_header_lookup (0.45s) --- PASS: TestExpressionEvaluation/increment_an_integer (0.40s) --- PASS: TestExpressionEvaluation/compare_string_against_secret (0.53s) --- PASS: TestExpressionEvaluation/compare_string_against_secret_with_no_match (0.57s) --- PASS: TestExpressionEvaluation/compare_string_against_secret_in_the_default_namespace (0.20s) --- PASS: TestExpressionEvaluation/parse_JSON_body_in_a_string (0.19s) --- PASS: TestExpressionEvaluation/compare_a_JSON_number_to_an_integer_variable (0.41s) --- PASS: TestExpressionEvaluation/compare_a_JSON_number_to_an_int_literal (0.29s) --- PASS: TestExpressionEvaluation/compare_a_JSON_number_to_a_uint_literal (0.37s) --- PASS: TestExpressionEvaluation/compare_a_JSON_number_to_a_double_literal (0.44s) --- PASS: TestExpressionEvaluation/compare_a_JSON_field_to_null (0.34s) --- PASS: TestExpressionEvaluation/parse_YAML_body_in_a_string (0.13s) --- PASS: TestExpressionEvaluation/parse_URL (0.22s) --- PASS: TestExpressionEvaluation/parse_URL_and_extract_single_string (0.26s) --- PASS: TestExpressionEvaluation/parse_URL_and_extract_multiple_strings (0.19s) --- PASS: TestExpressionEvaluation/parse_request_url (0.25s) --- PASS: TestExpressionEvaluation/lower_casing_a_string (0.20s) --- PASS: TestExpressionEvaluation/marshal_JSON_object_to_string (0.33s) --- PASS: TestExpressionEvaluation/marshal_JSON_array_to_string (0.26s) --- PASS: TestExpressionEvaluation/marshal_JSON_objects_to_string (0.56s) --- PASS: TestExpressionEvaluation/extension_base64_decoding (0.34s) --- PASS: TestExpressionEvaluation/extension_base64_encoding (0.39s) --- PASS: TestExpressionEvaluation/extension_string_join (0.40s) --- PASS: TestExpressionEvaluation/extension_string_join#01 (0.50s) --- PASS: TestExpressionEvaluation/last_element_in_array (0.60s) --- PASS: TestExpressionEvaluation/last_element_in_empty_array (0.29s) --- PASS: TestExpressionEvaluation/last_element_in_numeric_array (0.31s) --- PASS: TestExpressionEvaluation/last_element_in_literal_array (0.52s) --- PASS: TestExpressionEvaluation/first_element_in_literal_array (0.23s) --- PASS: TestExpressionEvaluation/first_element_in_array (0.25s) --- PASS: TestExpressionEvaluation/first_element_in_empty_array (0.15s) --- PASS: TestExpressionEvaluation/first_element_in_numeric_array (0.18s) --- PASS: TestExpressionEvaluation/sets_extension_sets.contains (0.43s) --- PASS: TestExpressionEvaluation/slicing_arrays (0.27s) --- PASS: TestExpressionEvaluation/cel_maths (0.21s) === RUN TestExpressionEvaluation_Error === RUN TestExpressionEvaluation_Error/unknown_value === RUN TestExpressionEvaluation_Error/invalid_syntax === RUN TestExpressionEvaluation_Error/unknown_function === RUN TestExpressionEvaluation_Error/invalid_function_overloading_with_match === RUN TestExpressionEvaluation_Error/invalid_function_overloading_with_canonical === RUN TestExpressionEvaluation_Error/missing_secret === RUN TestExpressionEvaluation_Error/invalid_parseJSON_body === RUN TestExpressionEvaluation_Error/parseJSON_decoding_non-string === RUN TestExpressionEvaluation_Error/parseYAML_decoding_non-string === RUN TestExpressionEvaluation_Error/unknown_key === RUN TestExpressionEvaluation_Error/invalid_YAML_body === RUN TestExpressionEvaluation_Error/marshalJSON_marshalling_string === RUN TestExpressionEvaluation_Error/has_function_missing_nested_key === RUN TestExpressionEvaluation_Error/truncate_json --- PASS: TestExpressionEvaluation_Error (3.19s) --- PASS: TestExpressionEvaluation_Error/unknown_value (0.21s) --- PASS: TestExpressionEvaluation_Error/invalid_syntax (0.21s) --- PASS: TestExpressionEvaluation_Error/unknown_function (0.27s) --- PASS: TestExpressionEvaluation_Error/invalid_function_overloading_with_match (0.20s) --- PASS: TestExpressionEvaluation_Error/invalid_function_overloading_with_canonical (0.21s) --- PASS: TestExpressionEvaluation_Error/missing_secret (0.31s) --- PASS: TestExpressionEvaluation_Error/invalid_parseJSON_body (0.29s) --- PASS: TestExpressionEvaluation_Error/parseJSON_decoding_non-string (0.28s) --- PASS: TestExpressionEvaluation_Error/parseYAML_decoding_non-string (0.11s) --- PASS: TestExpressionEvaluation_Error/unknown_key (0.20s) --- PASS: TestExpressionEvaluation_Error/invalid_YAML_body (0.18s) --- PASS: TestExpressionEvaluation_Error/marshalJSON_marshalling_string (0.22s) --- PASS: TestExpressionEvaluation_Error/has_function_missing_nested_key (0.26s) --- PASS: TestExpressionEvaluation_Error/truncate_json (0.23s) === RUN TestURLToMap --- PASS: TestURLToMap (0.00s) === RUN TestMakeEvalContextWithError --- PASS: TestMakeEvalContextWithError (0.00s) PASS ok github.com/tektoncd/triggers/pkg/interceptors/cel 30.536s === RUN TestInterceptor_ExecuteTrigger_Signature === RUN TestInterceptor_ExecuteTrigger_Signature/no_secret === RUN TestInterceptor_ExecuteTrigger_Signature/valid_header_for_secret === RUN TestInterceptor_ExecuteTrigger_Signature/valid_sha-256_header_for_secret === RUN TestInterceptor_ExecuteTrigger_Signature/no_secret,_matching_event === RUN TestInterceptor_ExecuteTrigger_Signature/valid_header_for_secret_and_matching_event === RUN TestInterceptor_ExecuteTrigger_Signature/nil_body_does_not_panic --- PASS: TestInterceptor_ExecuteTrigger_Signature (1.99s) --- PASS: TestInterceptor_ExecuteTrigger_Signature/no_secret (0.15s) --- PASS: TestInterceptor_ExecuteTrigger_Signature/valid_header_for_secret (0.35s) --- PASS: TestInterceptor_ExecuteTrigger_Signature/valid_sha-256_header_for_secret (0.27s) --- PASS: TestInterceptor_ExecuteTrigger_Signature/no_secret,_matching_event (0.38s) --- PASS: TestInterceptor_ExecuteTrigger_Signature/valid_header_for_secret_and_matching_event (0.53s) --- PASS: TestInterceptor_ExecuteTrigger_Signature/nil_body_does_not_panic (0.30s) === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/invalid_signature_header === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/missing_signature_header === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/no_secret,_failing_event === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/valid_header_for_secret,_failing_event === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/invalid_header_for_secret,_matching_event === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/empty_secret --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue (2.99s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/invalid_signature_header (0.64s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/missing_signature_header (0.15s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/no_secret,_failing_event (0.63s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/valid_header_for_secret,_failing_event (0.50s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/invalid_header_for_secret,_matching_event (0.89s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/empty_secret (0.15s) === RUN TestInterceptor_ExecuteTrigger_with_invalid_content_type --- PASS: TestInterceptor_ExecuteTrigger_with_invalid_content_type (0.41s) === RUN TestInterceptor_Process_InvalidParams --- PASS: TestInterceptor_Process_InvalidParams (0.30s) === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/changed_files === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/empty_body,_failure === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/non_json_body,_failure === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/pull_request,_missing_'number'_json_field === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/missing_repository_json_field,_failure === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/missing_full_name_json_field,_failure === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/event_type_not_push_or_pull_request,_failure --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request (3.02s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/changed_files (0.80s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/empty_body,_failure (0.47s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/non_json_body,_failure (0.30s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/pull_request,_missing_'number'_json_field (0.20s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/missing_repository_json_field,_failure (0.35s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/missing_full_name_json_field,_failure (0.46s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Pull_Request/event_type_not_push_or_pull_request,_failure (0.40s) === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Push === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Push/changed_files === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Push/missing_commits_added_json_field,_failure === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Push/missing_commits_removed_json_field,_failure === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Push/missing_commits_modified_json_field,_failure === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Push/no_context_with_secretRef === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Push/no_context === RUN TestInterceptor_ExecuteTrigger_Changed_Files_Push/invalid_secret --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Push (2.63s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Push/changed_files (0.38s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Push/missing_commits_added_json_field,_failure (0.38s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Push/missing_commits_removed_json_field,_failure (0.39s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Push/missing_commits_modified_json_field,_failure (0.30s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Push/no_context_with_secretRef (0.44s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Push/no_context (0.29s) --- PASS: TestInterceptor_ExecuteTrigger_Changed_Files_Push/invalid_secret (0.41s) === RUN Test_getGithubTokenSecret === RUN Test_getGithubTokenSecret/valid_secret === RUN Test_getGithubTokenSecret/nil_secret_reference === RUN Test_getGithubTokenSecret/missing_secret_key,_failure --- PASS: Test_getGithubTokenSecret (0.41s) --- PASS: Test_getGithubTokenSecret/valid_secret (0.00s) --- PASS: Test_getGithubTokenSecret/nil_secret_reference (0.00s) --- PASS: Test_getGithubTokenSecret/missing_secret_key,_failure (0.00s) === RUN Test_makeClient === RUN Test_makeClient/public_github === RUN Test_makeClient/enterprise_github --- PASS: Test_makeClient (0.90s) --- PASS: Test_makeClient/public_github (0.00s) --- PASS: Test_makeClient/enterprise_github (0.00s) === RUN Test_getPersonalAccessTokenSecret === RUN Test_getPersonalAccessTokenSecret/valid_secret === RUN Test_getPersonalAccessTokenSecret/nil_secret_reference === RUN Test_getPersonalAccessTokenSecret/missing_secret_key,_failure --- PASS: Test_getPersonalAccessTokenSecret (0.25s) --- PASS: Test_getPersonalAccessTokenSecret/valid_secret (0.00s) --- PASS: Test_getPersonalAccessTokenSecret/nil_secret_reference (0.00s) --- PASS: Test_getPersonalAccessTokenSecret/missing_secret_key,_failure (0.00s) === RUN TestInterceptor_ExecuteTrigger_owners === RUN TestInterceptor_ExecuteTrigger_owners/owners_file_have_sender === RUN TestInterceptor_ExecuteTrigger_owners/sender_is_a_collaborator_but_PersonalAccessToken_not_supplied github_test.go:1681: Interceptor.Process() = checkType is set to check org or repo members but no personalAccessToken was supplied, want checkType is set to check org or repo members but no personalAccessToken was supplied === RUN TestInterceptor_ExecuteTrigger_owners/sender_is_a_repository_member === RUN TestInterceptor_ExecuteTrigger_owners/sender_is_a_organization_member === RUN TestInterceptor_ExecuteTrigger_owners/owners_file_does_not_have_sender github_test.go:1681: Interceptor.Process() = owners check requirements not met, want owners check requirements not met === RUN TestInterceptor_ExecuteTrigger_owners/owners_file_have_sender_and_sender_commented_/ok-to-test === RUN TestInterceptor_ExecuteTrigger_owners/owners_file_have_sender_and_owner_commented_/random github_test.go:1681: Interceptor.Process() = owners check requirements not met, want owners check requirements not met === RUN TestInterceptor_ExecuteTrigger_owners/owners_file_does_not_have_sender_and_nonowner_commented_/ok-to-test github_test.go:1681: Interceptor.Process() = owners check requirements not met, want owners check requirements not met === RUN TestInterceptor_ExecuteTrigger_owners/pull_request_submitted_by_owner === RUN TestInterceptor_ExecuteTrigger_owners/sender_is_not_a_repository_member github_test.go:1681: Interceptor.Process() = owners check requirements not met, want owners check requirements not met === RUN TestInterceptor_ExecuteTrigger_owners/sender_is_not_a_organization_member github_test.go:1681: Interceptor.Process() = owners check requirements not met, want owners check requirements not met --- PASS: TestInterceptor_ExecuteTrigger_owners (3.91s) --- PASS: TestInterceptor_ExecuteTrigger_owners/owners_file_have_sender (0.11s) --- PASS: TestInterceptor_ExecuteTrigger_owners/sender_is_a_collaborator_but_PersonalAccessToken_not_supplied (0.14s) --- PASS: TestInterceptor_ExecuteTrigger_owners/sender_is_a_repository_member (0.35s) --- PASS: TestInterceptor_ExecuteTrigger_owners/sender_is_a_organization_member (0.26s) --- PASS: TestInterceptor_ExecuteTrigger_owners/owners_file_does_not_have_sender (0.21s) --- PASS: TestInterceptor_ExecuteTrigger_owners/owners_file_have_sender_and_sender_commented_/ok-to-test (0.34s) --- PASS: TestInterceptor_ExecuteTrigger_owners/owners_file_have_sender_and_owner_commented_/random (0.50s) --- PASS: TestInterceptor_ExecuteTrigger_owners/owners_file_does_not_have_sender_and_nonowner_commented_/ok-to-test (0.27s) --- PASS: TestInterceptor_ExecuteTrigger_owners/pull_request_submitted_by_owner (0.74s) --- PASS: TestInterceptor_ExecuteTrigger_owners/sender_is_not_a_repository_member (0.48s) --- PASS: TestInterceptor_ExecuteTrigger_owners/sender_is_not_a_organization_member (0.51s) === RUN TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners === RUN TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/No_payload_supplied === RUN TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/PR_number_missing_on_the_payload === RUN TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Issue_comment_missing_issue_on_the_payload === RUN TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Issue_comment_missing_issue_on_the_payload#01 === RUN TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Payload_body_missing_repository_field === RUN TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Payload_body_missing_full_name_in_repository_field === RUN TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Payload_body_missing_sender_field === RUN TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Issue_comment_missing_'comment'_section === RUN TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Issue_comment_missing_body_field_in_comment_section === RUN TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Payload_return_with_all_details_issue_comment --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners (0.00s) --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/No_payload_supplied (0.00s) --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/PR_number_missing_on_the_payload (0.00s) --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Issue_comment_missing_issue_on_the_payload (0.00s) --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Issue_comment_missing_issue_on_the_payload#01 (0.00s) --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Payload_body_missing_repository_field (0.00s) --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Payload_body_missing_full_name_in_repository_field (0.00s) --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Payload_body_missing_sender_field (0.00s) --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Issue_comment_missing_'comment'_section (0.00s) --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Issue_comment_missing_body_field_in_comment_section (0.00s) --- PASS: TestInterceptor_ExecuteTrigger_owners_parseBodyForOwners/Payload_return_with_all_details_issue_comment (0.00s) === RUN TestInterceptor_ExecuteTrigger_owners_data_validation === RUN TestInterceptor_ExecuteTrigger_owners_data_validation/personalAccessToken_secretKey_is_empty github_test.go:2034: Interceptor.Process() = error getting github token: github interceptor personalAccessToken.secretKey is empty, want error getting github token: github interceptor personalAccessToken.secretKey is empty === RUN TestInterceptor_ExecuteTrigger_owners_data_validation/error_parsing_payload_body github_test.go:2034: Interceptor.Process() = error parsing body: pull_request body missing 'number' field, want error parsing body: pull_request body missing 'number' field === RUN TestInterceptor_ExecuteTrigger_owners_data_validation/no_owners_file github_test.go:2034: Interceptor.Process() = owners check requirements not met, want owners check requirements not met === RUN TestInterceptor_ExecuteTrigger_owners_data_validation/error_checking_owner_file_validation github_test.go:2034: Interceptor.Process() = error checking owner verification: GET http://127.0.0.1:36841/api/v3/repos/owner/repo/contents/OWNERS: 500 [], want === RUN TestInterceptor_ExecuteTrigger_owners_data_validation/no_context github_test.go:2034: Interceptor.Process() = error getting github token: no request context passed, want error getting github token: no request context passed --- PASS: TestInterceptor_ExecuteTrigger_owners_data_validation (1.76s) --- PASS: TestInterceptor_ExecuteTrigger_owners_data_validation/personalAccessToken_secretKey_is_empty (0.29s) --- PASS: TestInterceptor_ExecuteTrigger_owners_data_validation/error_parsing_payload_body (0.36s) --- PASS: TestInterceptor_ExecuteTrigger_owners_data_validation/no_owners_file (0.35s) --- PASS: TestInterceptor_ExecuteTrigger_owners_data_validation/error_checking_owner_file_validation (0.49s) --- PASS: TestInterceptor_ExecuteTrigger_owners_data_validation/no_context (0.27s) PASS ok github.com/tektoncd/triggers/pkg/interceptors/github 20.161s === RUN TestInterceptor_ExecuteTrigger_ShouldContinue === RUN TestInterceptor_ExecuteTrigger_ShouldContinue/no_secret === RUN TestInterceptor_ExecuteTrigger_ShouldContinue/valid_header_for_secret === RUN TestInterceptor_ExecuteTrigger_ShouldContinue/valid_event === RUN TestInterceptor_ExecuteTrigger_ShouldContinue/valid_event,_valid_secret --- PASS: TestInterceptor_ExecuteTrigger_ShouldContinue (1.55s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldContinue/no_secret (0.45s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldContinue/valid_header_for_secret (0.22s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldContinue/valid_event (0.49s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldContinue/valid_event,_valid_secret (0.38s) === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/invalid_header_for_secret === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/missing_header_for_secret === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/invalid_event === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/valid_event,_invalid_secret === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/invalid_event,_valid_secret === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/empty_secret --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue (4.13s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/invalid_header_for_secret (0.43s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/missing_header_for_secret (0.80s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/invalid_event (0.58s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/valid_event,_invalid_secret (0.81s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/invalid_event,_valid_secret (0.36s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/empty_secret (1.08s) === RUN TestInterceptor_Process_InvalidParams --- PASS: TestInterceptor_Process_InvalidParams (0.67s) PASS ok github.com/tektoncd/triggers/pkg/interceptors/gitlab 8.373s === RUN TestServer_ServeHTTP === RUN TestServer_ServeHTTP/valid_request_that_should_continue logger.go:146: 2025-07-04T11:23:42.450Z DEBUG Interceptor Request is: {Body:{} Header:map[X-Event-Type:[push]] Extensions:map[] InterceptorParams:map[filter:header.canonical("X-Event-Type") == "push"] Context:0xc0004fcf60} logger.go:146: 2025-07-04T11:23:42.651Z INFO Interceptor response is: &{Extensions:map[] Continue:true Status:{Code:OK Message:}} === RUN TestServer_ServeHTTP/valid_request_that_should_not_continue logger.go:146: 2025-07-04T11:23:43.277Z DEBUG Interceptor Request is: {Body:{} Header:map[X-Event-Type:[push]] Extensions:map[] InterceptorParams:map[filter:header.canonical("X-Event-Type") == "pull"] Context:0xc00075b9e0} logger.go:146: 2025-07-04T11:23:43.353Z INFO Interceptor response is: &{Extensions:map[] Continue:false Status:{Code:FailedPrecondition Message:expression header.canonical("X-Event-Type") == "pull" did not return true}} --- PASS: TestServer_ServeHTTP (2.05s) --- PASS: TestServer_ServeHTTP/valid_request_that_should_continue (1.34s) --- PASS: TestServer_ServeHTTP/valid_request_that_should_not_continue (0.71s) === RUN TestServer_ServeHTTP_Error === RUN TestServer_ServeHTTP_Error/bad_path logger.go:146: 2025-07-04T11:23:44.252Z INFO HTTP 400 - path did not match any interceptors === RUN TestServer_ServeHTTP_Error/invalid_body logger.go:146: 2025-07-04T11:23:44.756Z INFO HTTP 400 - failed to parse body as InterceptorRequest: json: cannot unmarshal string into Go value of type v1beta1.InterceptorRequest --- PASS: TestServer_ServeHTTP_Error (1.45s) --- PASS: TestServer_ServeHTTP_Error/bad_path (0.88s) --- PASS: TestServer_ServeHTTP_Error/invalid_body (0.56s) === RUN TestServer_RegisterInterceptor --- PASS: TestServer_RegisterInterceptor (0.00s) === RUN Test_SecretNotExist logger.go:146: 2025-07-04T11:23:45.339Z INFO secret is missing --- PASS: Test_SecretNotExist (0.49s) === RUN Test_CreateSecret --- PASS: Test_CreateSecret (0.28s) === RUN Test_CheckCertValidity logger.go:146: 2025-07-04T11:23:52.505Z ERROR failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-07-04T11:23:52Z is after 2025-07-04T11:23:52Z --- PASS: Test_CheckCertValidity (10.84s) === RUN Test_CreateAndValidateCerts --- PASS: Test_CreateAndValidateCerts (0.37s) === RUN Test_GetTLSData === RUN Test_GetTLSData/Invalid_secret === NAME Test_GetTLSData logger.go:146: 2025-07-04T11:23:57.254Z ERROR failed to fetch secret secret "test111" not found === RUN Test_GetTLSData/missing_key === NAME Test_GetTLSData logger.go:146: 2025-07-04T11:23:57.254Z WARN server key missing === RUN Test_GetTLSData/missing_cert === NAME Test_GetTLSData logger.go:146: 2025-07-04T11:23:57.255Z WARN server cert missing === RUN Test_GetTLSData/Invalid_certs === NAME Test_GetTLSData logger.go:146: 2025-07-04T11:23:57.256Z WARN server key missing === RUN Test_GetTLSData/Valid_certs --- PASS: Test_GetTLSData (0.45s) --- PASS: Test_GetTLSData/Invalid_secret (0.00s) --- PASS: Test_GetTLSData/missing_key (0.00s) --- PASS: Test_GetTLSData/missing_cert (0.00s) --- PASS: Test_GetTLSData/Invalid_certs (0.00s) --- PASS: Test_GetTLSData/Valid_certs (0.00s) === RUN Test_UpdateCACertToClusterInterceptorCRD --- PASS: Test_UpdateCACertToClusterInterceptorCRD (10.27s) PASS panic: Log in goroutine after Test_UpdateCACertToClusterInterceptorCRD has completed: 2025-07-04T11:24:07.554Z ERROR failed to fetch secret secret "testsecrets" not found goroutine 82 [running]: testing.(*common).logDepth(0xc0004ff6c0, {0xc00014d920, 0x54}, 0x3) /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1029 +0x6d4 testing.(*common).log(...) /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1011 testing.(*common).Logf(0xc0004ff6c0, {0x45d1b75, 0x2}, {0xc0001143a0, 0x1, 0x1}) /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.8.linux-amd64/src/testing/testing.go:1062 +0xa5 go.uber.org/zap/zaptest.TestingWriter.Write({{0x4c14d10?, 0xc0004ff6c0?}, 0x50?}, {0xc0009d8800, 0x55, 0x400}) /home/prow/go/src/github.com/tektoncd/triggers/vendor/go.uber.org/zap/zaptest/logger.go:146 +0x11e go.uber.org/zap/zapcore.(*ioCore).Write(0xc00050d710, {0x2, {0xc2120c55e10cd538, 0x66755b482, 0x6a0f9e0}, {0x0, 0x0}, {0xc0001302c0, 0x35}, {0x0, ...}, ...}, ...) /home/prow/go/src/github.com/tektoncd/triggers/vendor/go.uber.org/zap/zapcore/core.go:99 +0x193 go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc00057a410, {0x0, 0x0, 0x0}) /home/prow/go/src/github.com/tektoncd/triggers/vendor/go.uber.org/zap/zapcore/entry.go:253 +0x1f0 go.uber.org/zap.(*SugaredLogger).log(0xc000439c20, 0x2, {0x45f57b7, 0x19}, {0xc000ac3fc0, 0x1, 0x1}, {0x0, 0x0, 0x0}) /home/prow/go/src/github.com/tektoncd/triggers/vendor/go.uber.org/zap/sugar.go:355 +0x130 go.uber.org/zap.(*SugaredLogger).Errorf(...) /home/prow/go/src/github.com/tektoncd/triggers/vendor/go.uber.org/zap/sugar.go:216 github.com/tektoncd/triggers/pkg/interceptors/server.UpdateCACertToClusterInterceptorCRD.func1() /home/prow/go/src/github.com/tektoncd/triggers/pkg/interceptors/server/server.go:335 +0x2da created by github.com/tektoncd/triggers/pkg/interceptors/server.UpdateCACertToClusterInterceptorCRD in goroutine 67 /home/prow/go/src/github.com/tektoncd/triggers/pkg/interceptors/server/server.go:330 +0x228 FAIL github.com/tektoncd/triggers/pkg/interceptors/server 27.921s === RUN TestInterceptor_ExecuteTrigger_ShouldContinue === RUN TestInterceptor_ExecuteTrigger_ShouldContinue/valid_case --- PASS: TestInterceptor_ExecuteTrigger_ShouldContinue (0.42s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldContinue/valid_case (0.41s) === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/bad_payload === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/skip_params_-_no_content_type === RUN TestInterceptor_ExecuteTrigger_ShouldNotContinue/skip_params_-_no_slack_signature --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue (1.24s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/bad_payload (0.26s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/skip_params_-_no_content_type (0.58s) --- PASS: TestInterceptor_ExecuteTrigger_ShouldNotContinue/skip_params_-_no_slack_signature (0.38s) PASS ok github.com/tektoncd/triggers/pkg/interceptors/slack 5.335s === RUN TestWebHookInterceptor --- PASS: TestWebHookInterceptor (0.10s) === RUN TestWebHookInterceptor_NotOK --- PASS: TestWebHookInterceptor_NotOK (0.01s) === RUN TestGetURI === RUN TestGetURI/namespace_specified === RUN TestGetURI/no_namespace === RUN TestGetURI/non_services === RUN TestGetURI/webhook_interceptor_with_url --- PASS: TestGetURI (0.01s) --- PASS: TestGetURI/namespace_specified (0.00s) --- PASS: TestGetURI/no_namespace (0.00s) --- PASS: TestGetURI/non_services (0.00s) --- PASS: TestGetURI/webhook_interceptor_with_url (0.00s) === RUN Test_addInterceptorHeaders === RUN Test_addInterceptorHeaders/Empty_params === RUN Test_addInterceptorHeaders/One_string_param === RUN Test_addInterceptorHeaders/One_array_param === RUN Test_addInterceptorHeaders/Clobber_param --- PASS: Test_addInterceptorHeaders (0.00s) --- PASS: Test_addInterceptorHeaders/Empty_params (0.00s) --- PASS: Test_addInterceptorHeaders/One_string_param (0.00s) --- PASS: Test_addInterceptorHeaders/One_array_param (0.00s) --- PASS: Test_addInterceptorHeaders/Clobber_param (0.00s) PASS ok github.com/tektoncd/triggers/pkg/interceptors/webhook 2.335s === RUN TestReconcileKind logger.go:146: 2025-07-04T11:23:40.821Z DEBUG clusterinterceptor/clusterinterceptor.go:50 Resolved Address is http://my-svc.default.svc:80/path logger.go:146: 2025-07-04T11:23:40.823Z DEBUG clusterinterceptor/clusterinterceptor.go:50 Resolved Address is http://my-svc.default.svc:80/path logger.go:146: 2025-07-04T11:23:40.824Z DEBUG clusterinterceptor/clusterinterceptor.go:50 Resolved Address is https://my-svc.default.svc:8443/path --- PASS: TestReconcileKind (0.18s) PASS ok github.com/tektoncd/triggers/pkg/reconciler/clusterinterceptor 2.567s === RUN TestReconcile === RUN TestReconcile/eventlistener_creation {"level":"info","ts":1751628232.3346608,"logger":"fallback","caller":"eventlistener/eventlistener.go:244","msg":"Created EventListener Deployment el-my-eventlistener in Namespace test-pipelines"} {"level":"info","ts":1751628232.3350968,"logger":"fallback","caller":"eventlistener/eventlistener.go:181","msg":"Created EventListener Service el-my-eventlistener in Namespace test-pipelines"} === RUN TestReconcile/eventlistener_with_additional_label === RUN TestReconcile/eventlistener_with_additional_annotation === RUN TestReconcile/eventlistener_with_updated_service_account === RUN TestReconcile/eventlistener_with_added_tolerations === RUN TestReconcile/eventlistener_with_added_NodeSelector === RUN TestReconcile/eventlistener_with_NodePort_service === RUN TestReconcile/eventlistener_with_labels_added_to_service === RUN TestReconcile/eventlistener_with_annotations_added_to_service === RUN TestReconcile/eventlistener_with_updated_NodePort_service === RUN TestReconcile/eventlistener_with_labels_applied_to_deployment === RUN TestReconcile/eventlistener_with_annotations_applied_to_deployment === RUN TestReconcile/eventlistener_with_updated_replicas_on_deployment === RUN TestReconcile/eventlistener_with_failed_update_to_deployment_replicas === RUN TestReconcile/eventlistener_with_updated_config_volumes {"level":"info","ts":1751628241.450737,"logger":"fallback","caller":"eventlistener/eventlistener.go:181","msg":"Created EventListener Service el-my-eventlistener in Namespace test-pipelines"} === RUN TestReconcile/eventlistener_with_updated_replicas === RUN TestReconcile/eventlistener_with_kubernetes_resource {"level":"info","ts":1751628242.842649,"logger":"fallback","caller":"eventlistener/eventlistener.go:244","msg":"Created EventListener Deployment el-my-eventlistener in Namespace test-pipelines"} {"level":"info","ts":1751628242.8454528,"logger":"fallback","caller":"eventlistener/eventlistener.go:181","msg":"Created EventListener Service el-my-eventlistener in Namespace test-pipelines"} === RUN TestReconcile/eventlistener_with_kubernetes_resource_for_podtemplate_objectmeta {"level":"info","ts":1751628243.516928,"logger":"fallback","caller":"eventlistener/eventlistener.go:244","msg":"Created EventListener Deployment el-my-eventlistener in Namespace test-pipelines"} {"level":"info","ts":1751628243.51735,"logger":"fallback","caller":"eventlistener/eventlistener.go:181","msg":"Created EventListener Service el-my-eventlistener in Namespace test-pipelines"} === RUN TestReconcile/eventlistener_with_TLS_connection {"level":"info","ts":1751628244.4667659,"logger":"fallback","caller":"eventlistener/eventlistener.go:244","msg":"Created EventListener Deployment el-my-eventlistener in Namespace test-pipelines"} {"level":"info","ts":1751628244.468014,"logger":"fallback","caller":"eventlistener/eventlistener.go:181","msg":"Created EventListener Service el-my-eventlistener in Namespace test-pipelines"} === RUN TestReconcile/eventlistener_with_security_context {"level":"info","ts":1751628244.9908454,"logger":"fallback","caller":"eventlistener/eventlistener.go:181","msg":"Created EventListener Service el-my-eventlistener in Namespace test-pipelines"} === RUN TestReconcile/eventlistener_with_SetReadOnlyRootFilesystem_false {"level":"info","ts":1751628245.3561447,"logger":"fallback","caller":"eventlistener/eventlistener.go:181","msg":"Created EventListener Service el-my-eventlistener in Namespace test-pipelines"} === RUN TestReconcile/eventlistener_with_SetSecurityContext_false {"level":"info","ts":1751628245.7287974,"logger":"fallback","caller":"eventlistener/eventlistener.go:181","msg":"Created EventListener Service el-my-eventlistener in Namespace test-pipelines"} === RUN TestReconcile/eventlistener_with_SetEventListenerEvent_enable {"level":"info","ts":1751628246.1967025,"logger":"fallback","caller":"eventlistener/eventlistener.go:181","msg":"Created EventListener Service el-my-eventlistener in Namespace test-pipelines"} === RUN TestReconcile/eventlistener_with_port_set_in_config {"level":"info","ts":1751628246.5702815,"logger":"fallback","caller":"eventlistener/eventlistener.go:181","msg":"Created EventListener Service el-my-eventlistener in Namespace test-pipelines"} === RUN TestReconcile/eventlistener_with_added_env_for_custom_resource time="2025-07-04T11:24:07Z" level=warning msg="empty status for the created custom object" {"level":"warn","ts":1751628247.1253994,"logger":"fallback","caller":"eventlistener/eventlistener.go:339","msg":"empty status for the created custom object"} logger.go:146: 2025-07-04T11:24:07.131Z DEBUG controller/controller.go:418 Adding to queue test-pipelines/my-eventlistener (depth: 1) {"knative.dev/controller": "github.com.tektoncd.triggers.pkg.reconciler.eventlistener.Reconciler", "knative.dev/kind": "triggers.tekton.dev.EventListener", "knative.dev/key": "test-pipelines/my-eventlistener"} === RUN TestReconcile/eventlistener_with_added_NodeSelector_for_custom_resource time="2025-07-04T11:24:07Z" level=warning msg="empty status for the created custom object" {"level":"warn","ts":1751628247.6328652,"logger":"fallback","caller":"eventlistener/eventlistener.go:339","msg":"empty status for the created custom object"} logger.go:146: 2025-07-04T11:24:07.640Z DEBUG controller/controller.go:418 Adding to queue test-pipelines/my-eventlistener (depth: 1) {"knative.dev/controller": "github.com.tektoncd.triggers.pkg.reconciler.eventlistener.Reconciler", "knative.dev/kind": "triggers.tekton.dev.EventListener", "knative.dev/key": "test-pipelines/my-eventlistener"} logger.go:146: 2025-07-04T11:24:07.641Z DEBUG controller/controller.go:418 Adding to queue test-pipelines/my-eventlistener (depth: 2) {"knative.dev/controller": "github.com.tektoncd.triggers.pkg.reconciler.eventlistener.Reconciler", "knative.dev/kind": "triggers.tekton.dev.EventListener", "knative.dev/key": "test-pipelines/my-eventlistener"} === RUN TestReconcile/CustomResource_EventListener_with_user_provided_custom_args {"level":"info","ts":1751628248.160164,"logger":"fallback","caller":"eventlistener/eventlistener.go:364","msg":"Created EventListener Deployment el-my-eventlistener in Namespace test-pipelines"} logger.go:146: 2025-07-04T11:24:08.203Z DEBUG controller/controller.go:418 Adding to queue test-pipelines/my-eventlistener (depth: 1) {"knative.dev/controller": "github.com.tektoncd.triggers.pkg.reconciler.eventlistener.Reconciler", "knative.dev/kind": "triggers.tekton.dev.EventListener", "knative.dev/key": "test-pipelines/my-eventlistener"} === RUN TestReconcile/eventlistener_with_added_Image_for_custom_resource logger.go:146: 2025-07-04T11:24:08.649Z DEBUG controller/controller.go:418 Adding to queue test-pipelines/my-eventlistener (depth: 1) {"knative.dev/controller": "github.com.tektoncd.triggers.pkg.reconciler.eventlistener.Reconciler", "knative.dev/kind": "triggers.tekton.dev.EventListener", "knative.dev/key": "test-pipelines/my-eventlistener"} time="2025-07-04T11:24:08Z" level=warning msg="empty status for the created custom object" {"level":"warn","ts":1751628248.6503348,"logger":"fallback","caller":"eventlistener/eventlistener.go:339","msg":"empty status for the created custom object"} === RUN TestReconcile/eventlistener_with_annotation_for_custom_resource {"level":"info","ts":1751628249.3057578,"logger":"fallback","caller":"eventlistener/eventlistener.go:364","msg":"Created EventListener Deployment el-my-eventlistener in Namespace test-pipelines"} logger.go:146: 2025-07-04T11:24:09.308Z DEBUG controller/controller.go:418 Adding to queue test-pipelines/my-eventlistener (depth: 1) {"knative.dev/controller": "github.com.tektoncd.triggers.pkg.reconciler.eventlistener.Reconciler", "knative.dev/kind": "triggers.tekton.dev.EventListener", "knative.dev/key": "test-pipelines/my-eventlistener"} === RUN TestReconcile/eventlistener_with_cleanup_test_to_ensure_no_k8s_resource_exist_after_upgrading_to_customresource time="2025-07-04T11:24:09Z" level=warning msg="empty status for the created custom object" {"level":"warn","ts":1751628249.9426215,"logger":"fallback","caller":"eventlistener/eventlistener.go:339","msg":"empty status for the created custom object"} logger.go:146: 2025-07-04T11:24:09.945Z DEBUG controller/controller.go:418 Adding to queue test-pipelines/my-eventlistener (depth: 1) {"knative.dev/controller": "github.com.tektoncd.triggers.pkg.reconciler.eventlistener.Reconciler", "knative.dev/kind": "triggers.tekton.dev.EventListener", "knative.dev/key": "test-pipelines/my-eventlistener"} === RUN TestReconcile/reconcile_removes_old_finalizers {"level":"info","ts":1751628250.5317888,"logger":"fallback","caller":"eventlistener/eventlistener.go:244","msg":"Created EventListener Deployment el-my-eventlistener in Namespace test-pipelines"} {"level":"info","ts":1751628250.5324745,"logger":"fallback","caller":"eventlistener/eventlistener.go:181","msg":"Created EventListener Service el-my-eventlistener in Namespace test-pipelines"} --- PASS: TestReconcile (19.15s) --- PASS: TestReconcile/eventlistener_creation (0.98s) --- PASS: TestReconcile/eventlistener_with_additional_label (0.98s) --- PASS: TestReconcile/eventlistener_with_additional_annotation (0.80s) --- PASS: TestReconcile/eventlistener_with_updated_service_account (0.55s) --- PASS: TestReconcile/eventlistener_with_added_tolerations (0.74s) --- PASS: TestReconcile/eventlistener_with_added_NodeSelector (0.63s) --- PASS: TestReconcile/eventlistener_with_NodePort_service (0.74s) --- PASS: TestReconcile/eventlistener_with_labels_added_to_service (0.45s) --- PASS: TestReconcile/eventlistener_with_annotations_added_to_service (0.50s) --- PASS: TestReconcile/eventlistener_with_updated_NodePort_service (0.50s) --- PASS: TestReconcile/eventlistener_with_labels_applied_to_deployment (0.74s) --- PASS: TestReconcile/eventlistener_with_annotations_applied_to_deployment (0.69s) --- PASS: TestReconcile/eventlistener_with_updated_replicas_on_deployment (0.48s) --- PASS: TestReconcile/eventlistener_with_failed_update_to_deployment_replicas (0.67s) --- PASS: TestReconcile/eventlistener_with_updated_config_volumes (0.49s) --- PASS: TestReconcile/eventlistener_with_updated_replicas (0.82s) --- PASS: TestReconcile/eventlistener_with_kubernetes_resource (0.59s) --- PASS: TestReconcile/eventlistener_with_kubernetes_resource_for_podtemplate_objectmeta (0.86s) --- PASS: TestReconcile/eventlistener_with_TLS_connection (0.74s) --- PASS: TestReconcile/eventlistener_with_security_context (0.40s) --- PASS: TestReconcile/eventlistener_with_SetReadOnlyRootFilesystem_false (0.39s) --- PASS: TestReconcile/eventlistener_with_SetSecurityContext_false (0.35s) --- PASS: TestReconcile/eventlistener_with_SetEventListenerEvent_enable (0.44s) --- PASS: TestReconcile/eventlistener_with_port_set_in_config (0.40s) --- PASS: TestReconcile/eventlistener_with_added_env_for_custom_resource (0.61s) --- PASS: TestReconcile/eventlistener_with_added_NodeSelector_for_custom_resource (0.56s) --- PASS: TestReconcile/CustomResource_EventListener_with_user_provided_custom_args (0.46s) --- PASS: TestReconcile/eventlistener_with_added_Image_for_custom_resource (0.58s) --- PASS: TestReconcile/eventlistener_with_annotation_for_custom_resource (0.55s) --- PASS: TestReconcile/eventlistener_with_cleanup_test_to_ensure_no_k8s_resource_exist_after_upgrading_to_customresource (0.75s) --- PASS: TestReconcile/reconcile_removes_old_finalizers (0.50s) === RUN TestReconcile_InvalidForCustomResource === RUN TestReconcile_InvalidForCustomResource/eventlistener_with_custome_resource {"level":"info","ts":1751628251.0525346,"logger":"fallback","caller":"eventlistener/eventlistener.go:330","msg":"Updated EventListener Custom Object el-my-eventlistener in Namespace test-pipelines"} time="2025-07-04T11:24:11Z" level=warning msg="empty status for the created custom object" {"level":"warn","ts":1751628251.0528197,"logger":"fallback","caller":"eventlistener/eventlistener.go:339","msg":"empty status for the created custom object"} --- PASS: TestReconcile_InvalidForCustomResource (0.67s) --- PASS: TestReconcile_InvalidForCustomResource/eventlistener_with_custome_resource (0.67s) === RUN TestReconcile_Delete === RUN TestReconcile_Delete/delete_eventlistener_with_remaining_eventlisteners === RUN TestReconcile_Delete/delete_last_eventlistener_in_reconciler_namespace === RUN TestReconcile_Delete/delete_last_eventlistener_in_namespace === RUN TestReconcile_Delete/delete_last_eventlistener_in_namespace_with_no_logging_config --- PASS: TestReconcile_Delete (0.84s) --- PASS: TestReconcile_Delete/delete_eventlistener_with_remaining_eventlisteners (0.24s) --- PASS: TestReconcile_Delete/delete_last_eventlistener_in_reconciler_namespace (0.28s) --- PASS: TestReconcile_Delete/delete_last_eventlistener_in_namespace (0.12s) --- PASS: TestReconcile_Delete/delete_last_eventlistener_in_namespace_with_no_logging_config (0.15s) === RUN Test_wrapError === RUN Test_wrapError/Both_error_empty === RUN Test_wrapError/Error_one_empty === RUN Test_wrapError/Error_two_empty === RUN Test_wrapError/Both_errors --- PASS: Test_wrapError (0.01s) --- PASS: Test_wrapError/Both_error_empty (0.00s) --- PASS: Test_wrapError/Error_one_empty (0.00s) --- PASS: Test_wrapError/Error_two_empty (0.00s) --- PASS: Test_wrapError/Both_errors (0.00s) PASS ok github.com/tektoncd/triggers/pkg/reconciler/eventlistener 23.378s === RUN TestMakeConfig --- PASS: TestMakeConfig (0.00s) === RUN TestContainer === RUN TestContainer/vanilla === RUN TestContainer/with_resources_option === RUN TestContainer/with_env_option === RUN TestContainer/with_namespace_selector === RUN TestContainer/with_namespace_selector_on_triggergroup === RUN TestContainer/with_namespace_selector_on_any_triggergroup_of_multiple === RUN TestContainer/without_payload_validation === RUN TestContainer/passing_securityContext_from_EL --- PASS: TestContainer (0.03s) --- PASS: TestContainer/vanilla (0.01s) --- PASS: TestContainer/with_resources_option (0.00s) --- PASS: TestContainer/with_env_option (0.00s) --- PASS: TestContainer/with_namespace_selector (0.00s) --- PASS: TestContainer/with_namespace_selector_on_triggergroup (0.00s) --- PASS: TestContainer/with_namespace_selector_on_any_triggergroup_of_multiple (0.01s) --- PASS: TestContainer/without_payload_validation (0.00s) --- PASS: TestContainer/passing_securityContext_from_EL (0.00s) === RUN TestCustomObject === RUN TestCustomObject/vanilla === RUN TestCustomObject/with_env_vars === RUN TestCustomObject/with_resources === RUN TestCustomObject/with_Affinity_and_TopologySpreadConstraints --- PASS: TestCustomObject (0.24s) --- PASS: TestCustomObject/vanilla (0.17s) --- PASS: TestCustomObject/with_env_vars (0.05s) --- PASS: TestCustomObject/with_resources (0.01s) --- PASS: TestCustomObject/with_Affinity_and_TopologySpreadConstraints (0.01s) === RUN TestCustomObjectError --- PASS: TestCustomObjectError (0.00s) === RUN TestUpdateCustomObject === RUN TestUpdateCustomObject/entire_object_update_with_single_container === RUN TestUpdateCustomObject/entire_object_update_without_container --- PASS: TestUpdateCustomObject (0.13s) --- PASS: TestUpdateCustomObject/entire_object_update_with_single_container (0.01s) --- PASS: TestUpdateCustomObject/entire_object_update_without_container (0.12s) === RUN TestDeployment === RUN TestDeployment/vanilla === RUN TestDeployment/with_replicas === RUN TestDeployment/with_tolerations === RUN TestDeployment/with_node_selector === RUN TestDeployment/with_service_account === RUN TestDeployment/with_TLS === RUN TestDeployment/with_Affinity_and_TopologySpreadConstraints === RUN TestDeployment/with_container_probes === RUN TestDeployment/with_overridden_runAsGroup,_runAsUser,_fsGroup === RUN TestDeployment/support_empty_defaults_runAsGroup,_runAsUser,_fsGroup_for_distributions_such_as_OpenShift === RUN TestDeployment/Set_securityContext_from_EL --- PASS: TestDeployment (0.21s) --- PASS: TestDeployment/vanilla (0.07s) --- PASS: TestDeployment/with_replicas (0.02s) --- PASS: TestDeployment/with_tolerations (0.05s) --- PASS: TestDeployment/with_node_selector (0.00s) --- PASS: TestDeployment/with_service_account (0.00s) --- PASS: TestDeployment/with_TLS (0.01s) --- PASS: TestDeployment/with_Affinity_and_TopologySpreadConstraints (0.00s) --- PASS: TestDeployment/with_container_probes (0.00s) --- PASS: TestDeployment/with_overridden_runAsGroup,_runAsUser,_fsGroup (0.00s) --- PASS: TestDeployment/support_empty_defaults_runAsGroup,_runAsUser,_fsGroup_for_distributions_such_as_OpenShift (0.00s) --- PASS: TestDeployment/Set_securityContext_from_EL (0.00s) === RUN TestDeploymentError --- PASS: TestDeploymentError (0.00s) === RUN TestGenerateLabels --- PASS: TestGenerateLabels (0.00s) === RUN TestObjectMeta === RUN TestObjectMeta/Empty_EventListener === RUN TestObjectMeta/EventListener_with_Configuration === RUN TestObjectMeta/EventListener_with_Labels === RUN TestObjectMeta/EventListener_with_Annotation --- PASS: TestObjectMeta (0.00s) --- PASS: TestObjectMeta/Empty_EventListener (0.00s) --- PASS: TestObjectMeta/EventListener_with_Configuration (0.00s) --- PASS: TestObjectMeta/EventListener_with_Labels (0.00s) --- PASS: TestObjectMeta/EventListener_with_Annotation (0.00s) === RUN TestFilterLabels === RUN TestFilterLabels/exclusion_pattern_not_defined === RUN TestFilterLabels/exclusion_pattern_defined --- PASS: TestFilterLabels (0.00s) --- PASS: TestFilterLabels/exclusion_pattern_not_defined (0.00s) --- PASS: TestFilterLabels/exclusion_pattern_defined (0.00s) === RUN TestService === RUN TestService/EventListener_with_status === RUN TestService/EventListener_with_type:_LoadBalancer === RUN TestService/EventListener_with_node_port:_30300 === RUN TestService/EventListener_with_LoadBalancerClass === RUN TestService/EventListener_with_service_port:_80 --- PASS: TestService (0.01s) --- PASS: TestService/EventListener_with_status (0.00s) --- PASS: TestService/EventListener_with_type:_LoadBalancer (0.00s) --- PASS: TestService/EventListener_with_node_port:_30300 (0.00s) --- PASS: TestService/EventListener_with_LoadBalancerClass (0.00s) --- PASS: TestService/EventListener_with_service_port:_80 (0.00s) === RUN TestServicePort === RUN TestServicePort/EventListener_with_status === RUN TestServicePort/EventListener_with_TLS_configuration === RUN TestServicePort/EventListener_with_ServicePort_80_in_KubernetesResource === RUN TestServicePort/EventListener_with_ServicePort:_80 --- PASS: TestServicePort (0.00s) --- PASS: TestServicePort/EventListener_with_status (0.00s) --- PASS: TestServicePort/EventListener_with_TLS_configuration (0.00s) --- PASS: TestServicePort/EventListener_with_ServicePort_80_in_KubernetesResource (0.00s) --- PASS: TestServicePort/EventListener_with_ServicePort:_80 (0.00s) PASS ok github.com/tektoncd/triggers/pkg/reconciler/eventlistener/resources 3.309s === RUN TestEmit --- PASS: TestEmit (0.00s) PASS ok github.com/tektoncd/triggers/pkg/reconciler/events 2.879s === RUN TestReconcileKind logger.go:146: 2025-07-04T11:23:51.050Z DEBUG interceptor/interceptor.go:50 Resolved Address is http://my-svc.default.svc:80/path logger.go:146: 2025-07-04T11:23:51.051Z DEBUG interceptor/interceptor.go:50 Resolved Address is http://my-svc.default.svc:80/path logger.go:146: 2025-07-04T11:23:51.052Z DEBUG interceptor/interceptor.go:50 Resolved Address is https://my-svc.default.svc:8443/path --- PASS: TestReconcileKind (0.38s) PASS ok github.com/tektoncd/triggers/pkg/reconciler/interceptor 2.590s === RUN TestUninitializedMetrics logger.go:146: 2025-07-04T11:23:52.930Z ERROR metrics/metrics.go:210 ignoring the metrics recording for number of eventlistener, failed to initialize the metrics recorder logger.go:146: 2025-07-04T11:23:52.941Z ERROR metrics/metrics.go:210 ignoring the metrics recording for number of clustertriggerbinding, failed to initialize the metrics recorder logger.go:146: 2025-07-04T11:23:52.942Z ERROR metrics/metrics.go:210 ignoring the metrics recording for number of triggerbinding, failed to initialize the metrics recorder logger.go:146: 2025-07-04T11:23:52.943Z ERROR metrics/metrics.go:210 ignoring the metrics recording for number of triggertemplate, failed to initialize the metrics recorder logger.go:146: 2025-07-04T11:23:52.943Z ERROR metrics/metrics.go:210 ignoring the metrics recording for number of clusterinterceptor, failed to initialize the metrics recorder --- PASS: TestUninitializedMetrics (0.41s) === RUN TestCountMetrics --- PASS: TestCountMetrics (0.45s) === RUN TestELCount --- PASS: TestELCount (0.44s) === RUN TestTTCount --- PASS: TestTTCount (0.42s) === RUN TestTBCount --- PASS: TestTBCount (0.30s) === RUN TestCTBCount --- PASS: TestCTBCount (0.35s) === RUN TestCICount --- PASS: TestCICount (0.50s) PASS ok github.com/tektoncd/triggers/pkg/reconciler/metrics 6.575s === RUN Test_FindAPIResource_error --- PASS: Test_FindAPIResource_error (0.00s) === RUN TestFindAPIResource === RUN TestFindAPIResource/v1_Pod === RUN TestFindAPIResource/v1_Namespace === RUN TestFindAPIResource/tekton.dev/v1alpha1_TriggerTemplate === RUN TestFindAPIResource/tekton.dev/v1alpha1_PipelineRun --- PASS: TestFindAPIResource (0.00s) --- PASS: TestFindAPIResource/v1_Pod (0.00s) --- PASS: TestFindAPIResource/v1_Namespace (0.00s) --- PASS: TestFindAPIResource/tekton.dev/v1alpha1_TriggerTemplate (0.00s) --- PASS: TestFindAPIResource/tekton.dev/v1alpha1_PipelineRun (0.00s) === RUN TestCreateResource === RUN TestCreateResource/TaskRun_without_namespace === NAME TestCreateResource logger.go:146: 2025-07-04T11:24:04.533Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1beta1,StorageVersionHash:,}, name: my-taskrun logger.go:146: 2025-07-04T11:24:04.533Z INFO For event ID "12345" creating resource tekton.dev/v1beta1, Resource=taskruns === RUN TestCreateResource/TaskRun_with_namespace === NAME TestCreateResource logger.go:146: 2025-07-04T11:24:04.608Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1beta1,StorageVersionHash:,}, name: my-taskrun logger.go:146: 2025-07-04T11:24:04.608Z INFO For event ID "12345" creating resource tekton.dev/v1beta1, Resource=taskruns --- PASS: TestCreateResource (0.08s) --- PASS: TestCreateResource/TaskRun_without_namespace (0.07s) --- PASS: TestCreateResource/TaskRun_with_namespace (0.00s) === RUN Test_AddLabels === RUN Test_AddLabels/add_to_empty_labels === RUN Test_AddLabels/overwrite_label === RUN Test_AddLabels/add_and_overwrite_labels === RUN Test_AddLabels/non-string_label --- PASS: Test_AddLabels (0.00s) --- PASS: Test_AddLabels/add_to_empty_labels (0.00s) --- PASS: Test_AddLabels/overwrite_label (0.00s) --- PASS: Test_AddLabels/add_and_overwrite_labels (0.00s) --- PASS: Test_AddLabels/non-string_label (0.00s) PASS ok github.com/tektoncd/triggers/pkg/resources 2.039s ? github.com/tektoncd/triggers/pkg/system [no test files] === RUN Test_GetArgs --- PASS: Test_GetArgs (0.00s) === RUN Test_GetArgs_error === RUN Test_GetArgs_error/no_eventlistener_name === RUN Test_GetArgs_error/no_eventlistener_namespace === RUN Test_GetArgs_error/no_eventlistener_namespace#01 --- PASS: Test_GetArgs_error (0.01s) --- PASS: Test_GetArgs_error/no_eventlistener_name (0.00s) --- PASS: Test_GetArgs_error/no_eventlistener_namespace (0.00s) --- PASS: Test_GetArgs_error/no_eventlistener_namespace#01 (0.00s) === RUN TestRecorderMetricsRegistered --- PASS: TestRecorderMetricsRegistered (0.00s) === RUN TestRecordResourceCreation === RUN TestRecordResourceCreation/single_pipelinerun === RUN TestRecordResourceCreation/pipelinerun_and_taskrun --- PASS: TestRecordResourceCreation (0.00s) --- PASS: TestRecordResourceCreation/single_pipelinerun (0.00s) --- PASS: TestRecordResourceCreation/pipelinerun_and_taskrun (0.00s) === RUN TestRecordRecordDurationMetrics === RUN TestRecordRecordDurationMetrics/Record_Metrics logger.go:146: 2025-07-04T11:24:17.870Z DEBUG event listener request completed {"status": 200, "duration": 0.000000007} --- PASS: TestRecordRecordDurationMetrics (0.00s) --- PASS: TestRecordRecordDurationMetrics/Record_Metrics (0.00s) === RUN TestRecordRecordCountMetrics === RUN TestRecordRecordCountMetrics/Record_Metrics logger.go:146: 2025-07-04T11:24:17.871Z DEBUG event listener request {"status": "failed"} --- PASS: TestRecordRecordCountMetrics (0.00s) --- PASS: TestRecordRecordCountMetrics/Record_Metrics (0.00s) === RUN TestHandleEvent === RUN TestHandleEvent/single_trigger_embedded_within_EventListener logger.go:146: 2025-07-04T11:24:18.015Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:18.016Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:18.017Z INFO ResolvedParams : [{Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision} {Name:name Value:git-clone-run} {Name:app Value:bar\t\r\nbaz昨}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:18.017Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run logger.go:146: 2025-07-04T11:24:18.018Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:18.025Z DEBUG event listener request completed {"status": 202, "duration": 0.009548593} === RUN TestHandleEvent/namespace_selector_match_names logger.go:146: 2025-07-04T11:24:18.241Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:18.241Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:18.242Z DEBUG event listener request completed {"status": 202, "duration": 0.001967326} logger.go:146: 2025-07-04T11:24:18.243Z INFO ResolvedParams : [{Name:name Value:git-clone-run} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:18.243Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run logger.go:146: 2025-07-04T11:24:18.243Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns === RUN TestHandleEvent/label_selector_match_expressions logger.go:146: 2025-07-04T11:24:18.428Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:18.429Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:18.429Z DEBUG event listener request completed {"status": 202, "duration": 0.001033868} logger.go:146: 2025-07-04T11:24:18.430Z INFO ResolvedParams : [{Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision} {Name:name Value:git-clone-run} {Name:app Value:bar\t\r\nbaz昨}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:18.431Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run logger.go:146: 2025-07-04T11:24:18.431Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns === RUN TestHandleEvent/label_selector_match_expressions_without_namespace_selector logger.go:146: 2025-07-04T11:24:18.553Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:18.553Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:18.554Z DEBUG event listener request completed {"status": 202, "duration": 0.001194668} logger.go:146: 2025-07-04T11:24:18.554Z INFO ResolvedParams : [{Name:url Value:testurl} {Name:revision Value:testrevision} {Name:name Value:git-clone-run} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:18.555Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run logger.go:146: 2025-07-04T11:24:18.555Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns === RUN TestHandleEvent/eventlistener_with_a_trigger_ref logger.go:146: 2025-07-04T11:24:18.737Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:18.738Z INFO ResolvedParams : [{Name:name Value:git-clone-run} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:18.739Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run logger.go:146: 2025-07-04T11:24:18.739Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:18.737Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:18.742Z DEBUG event listener request completed {"status": 202, "duration": 0.003513336} === RUN TestHandleEvent/eventlistener_with_ref_to_trigger_with_embedded_spec logger.go:146: 2025-07-04T11:24:18.859Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:18.880Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:18.881Z INFO ResolvedParams : [{Name:name Value:git-clone-run} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:18.882Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run logger.go:146: 2025-07-04T11:24:18.882Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:18.903Z DEBUG event listener request completed {"status": 202, "duration": 0.044936411} === RUN TestHandleEvent/with_GitHub_and_CEL_interceptors logger.go:146: 2025-07-04T11:24:19.050Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Github-Event:[pull_request] X-Hub-Signature:[sha1=c0f3a2bbd1cdb062ba4f54b2a1cad3d171b7a129]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:19.050Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:19.051Z DEBUG event listener request completed {"status": 202, "duration": 0.001367659} logger.go:146: 2025-07-04T11:24:19.052Z DEBUG Interceptor Request is: {Body:{"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} Header:map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Github-Event:[pull_request] X-Hub-Signature:[sha1=c0f3a2bbd1cdb062ba4f54b2a1cad3d171b7a129]] Extensions:map[] InterceptorParams:map[eventTypes:[pull_request] secretRef:map[secretKey:secretKey secretName:secret]] Context:0xc000981710} logger.go:146: 2025-07-04T11:24:19.052Z INFO Interceptor response is: &{Extensions:map[] Continue:true Status:{Code:OK Message:}} logger.go:146: 2025-07-04T11:24:19.054Z INFO ResolvedParams : [{Name:url Value:testurl} {Name:revision Value:testrevision} {Name:name Value:git-clone-run} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:19.054Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run logger.go:146: 2025-07-04T11:24:19.054Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns === RUN TestHandleEvent/with_BitBucket_interceptor logger.go:146: 2025-07-04T11:24:19.245Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Event-Key:[repo:refs_changed] X-Hub-Signature:[sha1=c0f3a2bbd1cdb062ba4f54b2a1cad3d171b7a129]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:19.245Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:19.246Z DEBUG event listener request completed {"status": 202, "duration": 0.00095605} logger.go:146: 2025-07-04T11:24:19.247Z DEBUG Interceptor Request is: {Body:{"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} Header:map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Event-Key:[repo:refs_changed] X-Hub-Signature:[sha1=c0f3a2bbd1cdb062ba4f54b2a1cad3d171b7a129]] Extensions:map[] InterceptorParams:map[eventTypes:[repo:refs_changed] secretRef:map[secretKey:secretKey secretName:secret]] Context:0xc0007891d0} logger.go:146: 2025-07-04T11:24:19.248Z INFO Interceptor response is: &{Extensions:map[] Continue:true Status:{Code:OK Message:}} logger.go:146: 2025-07-04T11:24:19.249Z INFO ResolvedParams : [{Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision} {Name:name Value:git-clone-run} {Name:app Value:bar\t\r\nbaz昨}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:19.249Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run logger.go:146: 2025-07-04T11:24:19.249Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns === RUN TestHandleEvent/with_namespaced_interceptor logger.go:146: 2025-07-04T11:24:19.392Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Event-Key:[repo:refs_changed] X-Hub-Signature:[sha1=c0f3a2bbd1cdb062ba4f54b2a1cad3d171b7a129]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:19.392Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:19.394Z DEBUG event listener request completed {"status": 202, "duration": 0.001869617} logger.go:146: 2025-07-04T11:24:19.396Z DEBUG Interceptor Request is: {Body:{"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} Header:map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Event-Key:[repo:refs_changed] X-Hub-Signature:[sha1=c0f3a2bbd1cdb062ba4f54b2a1cad3d171b7a129]] Extensions:map[] InterceptorParams:map[eventTypes:[repo:refs_changed] secretRef:map[secretKey:secretKey secretName:secret]] Context:0xc00030e120} logger.go:146: 2025-07-04T11:24:19.397Z INFO Interceptor response is: &{Extensions:map[] Continue:true Status:{Code:OK Message:}} logger.go:146: 2025-07-04T11:24:19.398Z INFO ResolvedParams : [{Name:revision Value:testrevision} {Name:name Value:git-clone-run} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json} {Name:url Value:testurl}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:19.399Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run logger.go:146: 2025-07-04T11:24:19.399Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns === RUN TestHandleEvent/eventListener_with_multiple_triggers logger.go:146: 2025-07-04T11:24:19.509Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:19.509Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:19.510Z INFO ResolvedParams : [{Name:name Value:git-clone-run-0} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger-0"} logger.go:146: 2025-07-04T11:24:19.511Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run-0 logger.go:146: 2025-07-04T11:24:19.511Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:19.517Z INFO ResolvedParams : [{Name:name Value:git-clone-run-9} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger-9"} logger.go:146: 2025-07-04T11:24:19.517Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run-9 logger.go:146: 2025-07-04T11:24:19.517Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:19.518Z INFO ResolvedParams : [{Name:revision Value:testrevision} {Name:name Value:git-clone-run-5} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json} {Name:url Value:testurl}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger-5"} logger.go:146: 2025-07-04T11:24:19.519Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run-5 logger.go:146: 2025-07-04T11:24:19.519Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:19.520Z INFO ResolvedParams : [{Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision} {Name:name Value:git-clone-run-6} {Name:app Value:bar\t\r\nbaz昨}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger-6"} logger.go:146: 2025-07-04T11:24:19.521Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run-6 logger.go:146: 2025-07-04T11:24:19.521Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:19.521Z INFO ResolvedParams : [{Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision} {Name:name Value:git-clone-run-8} {Name:app Value:bar\t\r\nbaz昨}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger-8"} logger.go:146: 2025-07-04T11:24:19.522Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run-8 logger.go:146: 2025-07-04T11:24:19.522Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:19.522Z INFO ResolvedParams : [{Name:url Value:testurl} {Name:revision Value:testrevision} {Name:name Value:git-clone-run-7} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger-7"} logger.go:146: 2025-07-04T11:24:19.520Z INFO ResolvedParams : [{Name:revision Value:testrevision} {Name:name Value:git-clone-run-4} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json} {Name:url Value:testurl}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger-4"} logger.go:146: 2025-07-04T11:24:19.523Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run-7 logger.go:146: 2025-07-04T11:24:19.523Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run-4 logger.go:146: 2025-07-04T11:24:19.524Z INFO ResolvedParams : [{Name:name Value:git-clone-run-1} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger-1"} logger.go:146: 2025-07-04T11:24:19.524Z DEBUG event listener request completed {"status": 202, "duration": 0.000980605} logger.go:146: 2025-07-04T11:24:19.525Z INFO ResolvedParams : [{Name:name Value:git-clone-run-2} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger-2"} logger.go:146: 2025-07-04T11:24:19.529Z INFO ResolvedParams : [{Name:name Value:git-clone-run-3} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger-3"} logger.go:146: 2025-07-04T11:24:19.539Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:19.539Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:19.541Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run-3 logger.go:146: 2025-07-04T11:24:19.541Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:19.541Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run-2 logger.go:146: 2025-07-04T11:24:19.541Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:19.541Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run-1 logger.go:146: 2025-07-04T11:24:19.542Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns === RUN TestHandleEvent/with_webhook_interceptors logger.go:146: 2025-07-04T11:24:19.841Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:19.844Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:19.845Z DEBUG event listener request completed {"status": 202, "duration": 0.005416387} logger.go:146: 2025-07-04T11:24:19.847Z INFO ResolvedParams : [{Name:name Value:name-from-webhook} {Name:app Value:triggers} {Name:type Value:bar} {Name:url Value:https://github.com/tektoncd/triggers} {Name:revision Value:master}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:19.848Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: name-from-webhook logger.go:146: 2025-07-04T11:24:19.848Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns === RUN TestHandleEvent/with_interceptors_overlays_race logger.go:146: 2025-07-04T11:24:20.050Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:20.050Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:20.050Z DEBUG event listener request completed {"status": 202, "duration": 0.000824686} logger.go:146: 2025-07-04T11:24:20.052Z DEBUG Interceptor Request is: {Body:{"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} Header:map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] Extensions:map[] InterceptorParams:map[filter:has(body.head_commit) overlays:[map[expression:has(body.head_commit) key:foo]]] Context:0xc0003568a0} logger.go:146: 2025-07-04T11:24:20.052Z DEBUG Interceptor Request is: {Body:{"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} Header:map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] Extensions:map[] InterceptorParams:map[filter:has(body.head_commit) overlays:[map[expression:has(body.head_commit) key:foo]]] Context:0xc0009fe600} logger.go:146: 2025-07-04T11:24:20.149Z INFO Interceptor response is: &{Extensions:map[foo:true] Continue:true Status:{Code:OK Message:}} logger.go:146: 2025-07-04T11:24:20.150Z INFO Interceptor response is: &{Extensions:map[foo:true] Continue:true Status:{Code:OK Message:}} logger.go:146: 2025-07-04T11:24:20.150Z INFO ResolvedParams : [{Name:url Value:https://github.com/tektoncd/triggers} {Name:revision Value:master} {Name:name Value:git-clone-trigger} {Name:app Value:triggers} {Name:type Value:bar}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:20.150Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-trigger logger.go:146: 2025-07-04T11:24:20.151Z INFO ResolvedParams : [{Name:name Value:git-clone-trigger-2} {Name:app Value:triggers} {Name:type Value:bar} {Name:url Value:https://github.com/tektoncd/triggers} {Name:revision Value:master}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger-2"} logger.go:146: 2025-07-04T11:24:20.151Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns logger.go:146: 2025-07-04T11:24:20.151Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-trigger-2 logger.go:146: 2025-07-04T11:24:20.151Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns === RUN TestHandleEvent/single_trigger_within_EventListener_triggerGroup logger.go:146: 2025-07-04T11:24:20.339Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} and header: map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:20.340Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:20.341Z DEBUG event listener request completed {"status": 202, "duration": 0.002614252} logger.go:146: 2025-07-04T11:24:20.343Z DEBUG Interceptor Request is: {Body:{"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}, "foo": "bar\t\r\nbaz昨"} Header:map[Accept-Encoding:[gzip] Content-Length:[99] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] Extensions:map[] InterceptorParams:map[filter:has(body.head_commit)] Context:0xc000ad88a0} logger.go:146: 2025-07-04T11:24:20.348Z INFO Interceptor response is: &{Extensions:map[] Continue:true Status:{Code:OK Message:}} logger.go:146: 2025-07-04T11:24:20.350Z INFO ResolvedParams : [{Name:url Value:testurl} {Name:revision Value:testrevision} {Name:name Value:git-clone-run} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json}] {"eventlistener": "my-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/triggergroup": "filter-event", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:20.350Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run logger.go:146: 2025-07-04T11:24:20.350Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns --- PASS: TestHandleEvent (2.48s) --- PASS: TestHandleEvent/single_trigger_embedded_within_EventListener (0.14s) --- PASS: TestHandleEvent/namespace_selector_match_names (0.20s) --- PASS: TestHandleEvent/label_selector_match_expressions (0.19s) --- PASS: TestHandleEvent/label_selector_match_expressions_without_namespace_selector (0.13s) --- PASS: TestHandleEvent/eventlistener_with_a_trigger_ref (0.18s) --- PASS: TestHandleEvent/eventlistener_with_ref_to_trigger_with_embedded_spec (0.19s) --- PASS: TestHandleEvent/with_GitHub_and_CEL_interceptors (0.12s) --- PASS: TestHandleEvent/with_BitBucket_interceptor (0.19s) --- PASS: TestHandleEvent/with_namespaced_interceptor (0.16s) --- PASS: TestHandleEvent/eventListener_with_multiple_triggers (0.24s) --- PASS: TestHandleEvent/with_webhook_interceptors (0.20s) --- PASS: TestHandleEvent/with_interceptors_overlays_race (0.33s) --- PASS: TestHandleEvent/single_trigger_within_EventListener_triggerGroup (0.16s) === RUN TestHandleEvent_Error === RUN TestHandleEvent_Error/missing_eventListener === RUN TestHandleEvent_Error/eventlistener_with_unknown_triggers --- PASS: TestHandleEvent_Error (0.28s) --- PASS: TestHandleEvent_Error/missing_eventListener (0.13s) --- PASS: TestHandleEvent_Error/eventlistener_with_unknown_triggers (0.15s) === RUN TestExecuteInterceptor_Sequential === RUN TestExecuteInterceptor_Sequential/GET === RUN TestExecuteInterceptor_Sequential/HEAD === RUN TestExecuteInterceptor_Sequential/POST === RUN TestExecuteInterceptor_Sequential/PUT === RUN TestExecuteInterceptor_Sequential/PATCH === RUN TestExecuteInterceptor_Sequential/DELETE === RUN TestExecuteInterceptor_Sequential/CONNECT === RUN TestExecuteInterceptor_Sequential/OPTIONS === RUN TestExecuteInterceptor_Sequential/TRACE --- PASS: TestExecuteInterceptor_Sequential (0.22s) --- PASS: TestExecuteInterceptor_Sequential/GET (0.01s) --- PASS: TestExecuteInterceptor_Sequential/HEAD (0.01s) --- PASS: TestExecuteInterceptor_Sequential/POST (0.00s) --- PASS: TestExecuteInterceptor_Sequential/PUT (0.01s) --- PASS: TestExecuteInterceptor_Sequential/PATCH (0.02s) --- PASS: TestExecuteInterceptor_Sequential/DELETE (0.00s) --- PASS: TestExecuteInterceptor_Sequential/CONNECT (0.00s) --- PASS: TestExecuteInterceptor_Sequential/OPTIONS (0.00s) --- PASS: TestExecuteInterceptor_Sequential/TRACE (0.00s) === RUN TestExecuteInterceptor_error --- PASS: TestExecuteInterceptor_error (0.15s) === RUN TestExecuteInterceptor_NotContinue logger.go:146: 2025-07-04T11:24:21.108Z DEBUG Interceptor Request is: {Body:{"head": "blah"} Header:map[] Extensions:map[] InterceptorParams:map[filter:body.head == "abcde"] Context:0xc000b8e2d0} logger.go:146: 2025-07-04T11:24:21.115Z INFO Interceptor response is: &{Extensions:map[] Continue:false Status:{Code:FailedPrecondition Message:expression body.head == "abcde" did not return true}} --- PASS: TestExecuteInterceptor_NotContinue (0.11s) === RUN TestExecuteInterceptor_ExtensionChaining logger.go:146: 2025-07-04T11:24:21.241Z DEBUG Interceptor Request is: {Body:{"sha": "abcdefghi"} Header:map[] Extensions:map[] InterceptorParams:map[overlays:[map[expression:body.sha.truncate(5) key:truncated_sha]]] Context:0xc000aba270} logger.go:146: 2025-07-04T11:24:21.250Z INFO Interceptor response is: &{Extensions:map[truncated_sha:abcde] Continue:true Status:{Code:OK Message:}} logger.go:146: 2025-07-04T11:24:21.253Z DEBUG Interceptor Request is: {Body:{"extensions":{"truncated_sha":"abcde"},"sha":"abcdefghi"} Header:map[Content-Length:[59] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 04 Jul 2025 11:24:21 GMT]] Extensions:map[truncated_sha:abcde] InterceptorParams:map[filter:body.extensions.truncated_sha == "abcde" && extensions.truncated_sha == "abcde"] Context:0xc0009f0480} logger.go:146: 2025-07-04T11:24:21.258Z INFO Interceptor response is: &{Extensions:map[] Continue:true Status:{Code:OK Message:}} --- PASS: TestExecuteInterceptor_ExtensionChaining (0.15s) === RUN TestExtendBodyWithExtensions === RUN TestExtendBodyWithExtensions/merges_all_extensions_to_an_extension_field === RUN TestExtendBodyWithExtensions/body_contains_an_extension_already === RUN TestExtendBodyWithExtensions/no_extensions --- PASS: TestExtendBodyWithExtensions (0.00s) --- PASS: TestExtendBodyWithExtensions/merges_all_extensions_to_an_extension_field (0.00s) --- PASS: TestExtendBodyWithExtensions/body_contains_an_extension_already (0.00s) --- PASS: TestExtendBodyWithExtensions/no_extensions (0.00s) === RUN TestCloudEventHandling logger.go:146: 2025-07-04T11:24:21.425Z DEBUG handling event with path /, payload: {"foo":"bar\t\r\nbaz昨","head_commit":{"id":"testrevision"},"repository":{"url":"testurl"}} and header: map[Accept-Encoding:[gzip] Ce-Id:[f771880d-e745-490a-b718-e7e7086d2947] Ce-Source:[testing] Ce-Specversion:[1.0] Ce-Time:[2025-07-04T11:24:21.424374716Z] Ce-Type:[testing.cloudevent] Content-Length:[92] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "test-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:21.426Z DEBUG event listener request {"status": "succeeded"} logger.go:146: 2025-07-04T11:24:21.427Z INFO ResolvedParams : [{Name:name Value:git-clone-run} {Name:app Value:bar\t\r\nbaz昨} {Name:type Value:application/json} {Name:url Value:testurl} {Name:revision Value:testrevision}] {"eventlistener": "test-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "el-uid", "/triggers-eventid": "12345", "/trigger": "git-clone-trigger"} logger.go:146: 2025-07-04T11:24:21.428Z INFO Generating resource: kind: &APIResource{Name:taskruns,Namespaced:true,Kind:TaskRun,Verbs:[],ShortNames:[],SingularName:,Categories:[],Group:tekton.dev,Version:v1,StorageVersionHash:,}, name: git-clone-run logger.go:146: 2025-07-04T11:24:21.428Z INFO For event ID "12345" creating resource tekton.dev/v1, Resource=taskruns --- PASS: TestCloudEventHandling (0.16s) === RUN TestSink_IsValidPayload === RUN TestSink_IsValidPayload/event_with_Json_Body logger.go:146: 2025-07-04T11:24:21.541Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}} and header: map[Accept-Encoding:[gzip] Content-Length:[73] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "test-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:21.541Z ERROR Error getting Trigger test in Namespace foo: trigger.triggers.tekton.dev "test" not found logger.go:146: 2025-07-04T11:24:21.542Z DEBUG event listener request {"status": "succeeded"} === RUN TestSink_IsValidPayload/event_with_non_Json_Body logger.go:146: 2025-07-04T11:24:21.738Z DEBUG event listener request {"status": "failed"} logger.go:146: 2025-07-04T11:24:21.738Z ERROR Invalid event body format : invalid character '<' looking for beginning of value --- PASS: TestSink_IsValidPayload (0.31s) --- PASS: TestSink_IsValidPayload/event_with_Json_Body (0.11s) --- PASS: TestSink_IsValidPayload/event_with_non_Json_Body (0.20s) === RUN TestSink_IsValidPayload_PayloadValidation === RUN TestSink_IsValidPayload_PayloadValidation/event_with_Json_Body logger.go:146: 2025-07-04T11:24:21.891Z DEBUG handling event with path /, payload: {"head_commit": {"id": "testrevision"}, "repository": {"url": "testurl"}} and header: map[Accept-Encoding:[gzip] Content-Length:[73] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "test-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:21.894Z ERROR Error getting Trigger test in Namespace foo: trigger.triggers.tekton.dev "test" not found logger.go:146: 2025-07-04T11:24:21.894Z DEBUG event listener request {"status": "succeeded"} === RUN TestSink_IsValidPayload_PayloadValidation/event_with_non_Json_Body logger.go:146: 2025-07-04T11:24:22.033Z DEBUG handling event with path /, payload: xml and header: map[Accept-Encoding:[gzip] Content-Length:[16] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] {"eventlistener": "test-el", "namespace": "foo", "/triggers-eventid": "12345", "eventlistenerUID": "", "/triggers-eventid": "12345"} logger.go:146: 2025-07-04T11:24:22.033Z ERROR Error getting Trigger test in Namespace foo: trigger.triggers.tekton.dev "test" not found logger.go:146: 2025-07-04T11:24:22.033Z DEBUG event listener request {"status": "succeeded"} --- PASS: TestSink_IsValidPayload_PayloadValidation (0.29s) --- PASS: TestSink_IsValidPayload_PayloadValidation/event_with_Json_Body (0.15s) --- PASS: TestSink_IsValidPayload_PayloadValidation/event_with_non_Json_Body (0.14s) PASS ok github.com/tektoncd/triggers/pkg/sink 5.685s === RUN TestSendCloudEvents --- PASS: TestSendCloudEvents (0.00s) PASS ok github.com/tektoncd/triggers/pkg/sink/cloudevent 1.448s === RUN TestApplyEventValuesMergeInDefaultParams === RUN TestApplyEventValuesMergeInDefaultParams/add_one_default_param === RUN TestApplyEventValuesMergeInDefaultParams/add_multiple_default_params === RUN TestApplyEventValuesMergeInDefaultParams/do_not_override_existing_value === RUN TestApplyEventValuesMergeInDefaultParams/add_no_default_params --- PASS: TestApplyEventValuesMergeInDefaultParams (0.01s) --- PASS: TestApplyEventValuesMergeInDefaultParams/add_one_default_param (0.00s) --- PASS: TestApplyEventValuesMergeInDefaultParams/add_multiple_default_params (0.00s) --- PASS: TestApplyEventValuesMergeInDefaultParams/do_not_override_existing_value (0.00s) --- PASS: TestApplyEventValuesMergeInDefaultParams/add_no_default_params (0.00s) === RUN TestApplyEventValuesToParams === RUN TestApplyEventValuesToParams/header_with_single_values === RUN TestApplyEventValuesToParams/header_keys_miss-match_case === RUN TestApplyEventValuesToParams/header_keys_match_case === RUN TestApplyEventValuesToParams/headers_-_multiple_values_joined_by_comma === RUN TestApplyEventValuesToParams/header_values === RUN TestApplyEventValuesToParams/no_body === RUN TestApplyEventValuesToParams/empty_body === RUN TestApplyEventValuesToParams/entire_body === RUN TestApplyEventValuesToParams/entire_array_body === RUN TestApplyEventValuesToParams/array_key === RUN TestApplyEventValuesToParams/array_last_key === RUN TestApplyEventValuesToParams/body_-_key_with_string_val === RUN TestApplyEventValuesToParams/body_-_key_with_object_val === RUN TestApplyEventValuesToParams/body_with_special_chars === RUN TestApplyEventValuesToParams/param_contains_multiple_JSONPath_expressions === RUN TestApplyEventValuesToParams/param_contains_both_static_values_and_JSONPath_expressions === RUN TestApplyEventValuesToParams/multiple_params === RUN TestApplyEventValuesToParams/Array_filters === RUN TestApplyEventValuesToParams/filters_+_multiple_JSONPath_expressions === RUN TestApplyEventValuesToParams/extensions === RUN TestApplyEventValuesToParams/extensions_-_extract_single_value_from_JSON_body === RUN TestApplyEventValuesToParams/extensions_-_extract_JSON_values --- PASS: TestApplyEventValuesToParams (0.02s) --- PASS: TestApplyEventValuesToParams/header_with_single_values (0.00s) --- PASS: TestApplyEventValuesToParams/header_keys_miss-match_case (0.00s) --- PASS: TestApplyEventValuesToParams/header_keys_match_case (0.00s) --- PASS: TestApplyEventValuesToParams/headers_-_multiple_values_joined_by_comma (0.00s) --- PASS: TestApplyEventValuesToParams/header_values (0.00s) --- PASS: TestApplyEventValuesToParams/no_body (0.00s) --- PASS: TestApplyEventValuesToParams/empty_body (0.00s) --- PASS: TestApplyEventValuesToParams/entire_body (0.00s) --- PASS: TestApplyEventValuesToParams/entire_array_body (0.00s) --- PASS: TestApplyEventValuesToParams/array_key (0.00s) --- PASS: TestApplyEventValuesToParams/array_last_key (0.00s) --- PASS: TestApplyEventValuesToParams/body_-_key_with_string_val (0.00s) --- PASS: TestApplyEventValuesToParams/body_-_key_with_object_val (0.00s) --- PASS: TestApplyEventValuesToParams/body_with_special_chars (0.00s) --- PASS: TestApplyEventValuesToParams/param_contains_multiple_JSONPath_expressions (0.00s) --- PASS: TestApplyEventValuesToParams/param_contains_both_static_values_and_JSONPath_expressions (0.00s) --- PASS: TestApplyEventValuesToParams/multiple_params (0.00s) --- PASS: TestApplyEventValuesToParams/Array_filters (0.00s) --- PASS: TestApplyEventValuesToParams/filters_+_multiple_JSONPath_expressions (0.00s) --- PASS: TestApplyEventValuesToParams/extensions (0.00s) --- PASS: TestApplyEventValuesToParams/extensions_-_extract_single_value_from_JSON_body (0.00s) --- PASS: TestApplyEventValuesToParams/extensions_-_extract_JSON_values (0.00s) === RUN TestApplyEventValuesToParams_Error === RUN TestApplyEventValuesToParams_Error/missing_key === RUN TestApplyEventValuesToParams_Error/non_JSON_body === RUN TestApplyEventValuesToParams_Error/invalid_expression(s) === RUN TestApplyEventValuesToParams_Error/invalid_extension --- PASS: TestApplyEventValuesToParams_Error (0.00s) --- PASS: TestApplyEventValuesToParams_Error/missing_key (0.00s) --- PASS: TestApplyEventValuesToParams_Error/non_JSON_body (0.00s) --- PASS: TestApplyEventValuesToParams_Error/invalid_expression(s) (0.00s) --- PASS: TestApplyEventValuesToParams_Error/invalid_extension (0.00s) === RUN TestResolveParams === RUN TestResolveParams/add_default_values_for_params_with_missing_values === RUN TestResolveParams/add_default_values_if_param_missing_from_body === RUN TestResolveParams/default_values_do_not_override_event_values === RUN TestResolveParams/combination_of_static_values_and_JSONPath_expressions === RUN TestResolveParams/values_with_newlines --- PASS: TestResolveParams (0.05s) --- PASS: TestResolveParams/add_default_values_for_params_with_missing_values (0.04s) --- PASS: TestResolveParams/add_default_values_if_param_missing_from_body (0.00s) --- PASS: TestResolveParams/default_values_do_not_override_event_values (0.00s) --- PASS: TestResolveParams/combination_of_static_values_and_JSONPath_expressions (0.00s) --- PASS: TestResolveParams/values_with_newlines (0.00s) === RUN TestResolveParams_Error === RUN TestResolveParams_Error/invalid_body === RUN TestResolveParams_Error/invalid_expression --- PASS: TestResolveParams_Error (0.00s) --- PASS: TestResolveParams_Error/invalid_body (0.00s) --- PASS: TestResolveParams_Error/invalid_expression (0.00s) === RUN TestResolveResources === RUN TestResolveResources/replace_single_values_in_templates === RUN TestResolveResources/replace_JSON_string_in_templates === RUN TestResolveResources/replace_JSON_string_with_special_chars_in_templates === RUN TestResolveResources/$(uid)_gets_replaced_with_a_string === RUN TestResolveResources/uid_replacement_is_consistent_across_multiple_templates --- PASS: TestResolveResources (0.01s) --- PASS: TestResolveResources/replace_single_values_in_templates (0.00s) --- PASS: TestResolveResources/replace_JSON_string_in_templates (0.00s) --- PASS: TestResolveResources/replace_JSON_string_with_special_chars_in_templates (0.00s) --- PASS: TestResolveResources/$(uid)_gets_replaced_with_a_string (0.00s) --- PASS: TestResolveResources/uid_replacement_is_consistent_across_multiple_templates (0.00s) === RUN TestParseJSONPath === RUN TestParseJSONPath/objects === RUN TestParseJSONPath/array_of_objects === RUN TestParseJSONPath/array_of_values === RUN TestParseJSONPath/string_values === RUN TestParseJSONPath/empty_string === RUN TestParseJSONPath/numbers === RUN TestParseJSONPath/booleans === RUN TestParseJSONPath/null_values === RUN TestParseJSONPath/multiple_results === RUN TestParseJSONPath/multiple_results_with_empty_string === RUN TestParseJSONPath/multiple_results_newlines/special_chars === RUN TestParseJSONPath/multiple_results_with_null === RUN TestParseJSONPath/Array_filters --- PASS: TestParseJSONPath (0.01s) --- PASS: TestParseJSONPath/objects (0.00s) --- PASS: TestParseJSONPath/array_of_objects (0.00s) --- PASS: TestParseJSONPath/array_of_values (0.00s) --- PASS: TestParseJSONPath/string_values (0.00s) --- PASS: TestParseJSONPath/empty_string (0.00s) --- PASS: TestParseJSONPath/numbers (0.00s) --- PASS: TestParseJSONPath/booleans (0.00s) --- PASS: TestParseJSONPath/null_values (0.00s) --- PASS: TestParseJSONPath/multiple_results (0.00s) --- PASS: TestParseJSONPath/multiple_results_with_empty_string (0.00s) --- PASS: TestParseJSONPath/multiple_results_newlines/special_chars (0.00s) --- PASS: TestParseJSONPath/multiple_results_with_null (0.00s) --- PASS: TestParseJSONPath/Array_filters (0.00s) === RUN TestParseJSONPath_Error === RUN TestParseJSONPath_Error/$({.hello) === RUN TestParseJSONPath_Error/$(+12.3.0) === RUN TestParseJSONPath_Error/$([1) === RUN TestParseJSONPath_Error/$(body === RUN TestParseJSONPath_Error/body) === RUN TestParseJSONPath_Error/body === RUN TestParseJSONPath_Error/$(body.missing) === RUN TestParseJSONPath_Error/$(body.key[0]) --- PASS: TestParseJSONPath_Error (0.00s) --- PASS: TestParseJSONPath_Error/$({.hello) (0.00s) --- PASS: TestParseJSONPath_Error/$(+12.3.0) (0.00s) --- PASS: TestParseJSONPath_Error/$([1) (0.00s) --- PASS: TestParseJSONPath_Error/$(body (0.00s) --- PASS: TestParseJSONPath_Error/body) (0.00s) --- PASS: TestParseJSONPath_Error/body (0.00s) --- PASS: TestParseJSONPath_Error/$(body.missing) (0.00s) --- PASS: TestParseJSONPath_Error/$(body.key[0]) (0.00s) === RUN TestTektonJSONPathExpression === RUN TestTektonJSONPathExpression/$(metadata.name) === RUN TestTektonJSONPathExpression/$(.metadata.name) === RUN TestTektonJSONPathExpression/$({.metadata.name}) === RUN TestTektonJSONPathExpression/$() --- PASS: TestTektonJSONPathExpression (0.00s) --- PASS: TestTektonJSONPathExpression/$(metadata.name) (0.00s) --- PASS: TestTektonJSONPathExpression/$(.metadata.name) (0.00s) --- PASS: TestTektonJSONPathExpression/$({.metadata.name}) (0.00s) --- PASS: TestTektonJSONPathExpression/$() (0.00s) === RUN TestTektonJSONPathExpression_Error === RUN TestTektonJSONPathExpression_Error/{.metadata.name} === RUN TestTektonJSONPathExpression_Error/#00 === RUN TestTektonJSONPathExpression_Error/$({asd) === RUN TestTektonJSONPathExpression_Error/$({) === RUN TestTektonJSONPathExpression_Error/$({foo.bar) === RUN TestTektonJSONPathExpression_Error/$(foo.bar}) === RUN TestTektonJSONPathExpression_Error/$({foo.bar}}) === RUN TestTektonJSONPathExpression_Error/$({{foo.bar) --- PASS: TestTektonJSONPathExpression_Error (0.00s) --- PASS: TestTektonJSONPathExpression_Error/{.metadata.name} (0.00s) --- PASS: TestTektonJSONPathExpression_Error/#00 (0.00s) --- PASS: TestTektonJSONPathExpression_Error/$({asd) (0.00s) --- PASS: TestTektonJSONPathExpression_Error/$({) (0.00s) --- PASS: TestTektonJSONPathExpression_Error/$({foo.bar) (0.00s) --- PASS: TestTektonJSONPathExpression_Error/$(foo.bar}) (0.00s) --- PASS: TestTektonJSONPathExpression_Error/$({foo.bar}}) (0.00s) --- PASS: TestTektonJSONPathExpression_Error/$({{foo.bar) (0.00s) === RUN TestRelaxedJSONPathExpression === RUN TestRelaxedJSONPathExpression/metadata.name === RUN TestRelaxedJSONPathExpression/.metadata.name === RUN TestRelaxedJSONPathExpression/{.metadata.name} === RUN TestRelaxedJSONPathExpression/#00 --- PASS: TestRelaxedJSONPathExpression (0.00s) --- PASS: TestRelaxedJSONPathExpression/metadata.name (0.00s) --- PASS: TestRelaxedJSONPathExpression/.metadata.name (0.00s) --- PASS: TestRelaxedJSONPathExpression/{.metadata.name} (0.00s) --- PASS: TestRelaxedJSONPathExpression/#00 (0.00s) === RUN TestRelaxedJSONPathExpression_Error === RUN TestRelaxedJSONPathExpression_Error/{foo.bar === RUN TestRelaxedJSONPathExpression_Error/foo.bar} === RUN TestRelaxedJSONPathExpression_Error/{foo.bar}} === RUN TestRelaxedJSONPathExpression_Error/{{foo.bar} --- PASS: TestRelaxedJSONPathExpression_Error (0.00s) --- PASS: TestRelaxedJSONPathExpression_Error/{foo.bar (0.00s) --- PASS: TestRelaxedJSONPathExpression_Error/foo.bar} (0.00s) --- PASS: TestRelaxedJSONPathExpression_Error/{foo.bar}} (0.00s) --- PASS: TestRelaxedJSONPathExpression_Error/{{foo.bar} (0.00s) === RUN TestFindTektonExpressions === RUN TestFindTektonExpressions/$(body.blah) === RUN TestFindTektonExpressions/$(body.blah)-$(header.*) === RUN TestFindTektonExpressions/start:$(body.blah)//middle//$(header.one)-end === RUN TestFindTektonExpressions/start:$(body.blah)//middle//$(header.One)-end === RUN TestFindTektonExpressions/start:$(body.blah)//middle//$(header.ONE-TWO)-end === RUN TestFindTektonExpressions/start:$(body.[?(@.a_==_'d')])-$(body.another-one) === RUN TestFindTektonExpressions/$(this)-$(not-this === RUN TestFindTektonExpressions/$body.) === RUN TestFindTektonExpressions/($(body.blah))-and-$(body.foo) === RUN TestFindTektonExpressions/(staticvalue)$(body.blah) === RUN TestFindTektonExpressions/asd)$(asd === RUN TestFindTektonExpressions/onlystatic === RUN TestFindTektonExpressions/#00 === RUN TestFindTektonExpressions/$()))) === RUN TestFindTektonExpressions/$($()) === RUN TestFindTektonExpressions/$($($(blahblah))) --- PASS: TestFindTektonExpressions (0.00s) --- PASS: TestFindTektonExpressions/$(body.blah) (0.00s) --- PASS: TestFindTektonExpressions/$(body.blah)-$(header.*) (0.00s) --- PASS: TestFindTektonExpressions/start:$(body.blah)//middle//$(header.one)-end (0.00s) --- PASS: TestFindTektonExpressions/start:$(body.blah)//middle//$(header.One)-end (0.00s) --- PASS: TestFindTektonExpressions/start:$(body.blah)//middle//$(header.ONE-TWO)-end (0.00s) --- PASS: TestFindTektonExpressions/start:$(body.[?(@.a_==_'d')])-$(body.another-one) (0.00s) --- PASS: TestFindTektonExpressions/$(this)-$(not-this (0.00s) --- PASS: TestFindTektonExpressions/$body.) (0.00s) --- PASS: TestFindTektonExpressions/($(body.blah))-and-$(body.foo) (0.00s) --- PASS: TestFindTektonExpressions/(staticvalue)$(body.blah) (0.00s) --- PASS: TestFindTektonExpressions/asd)$(asd (0.00s) --- PASS: TestFindTektonExpressions/onlystatic (0.00s) --- PASS: TestFindTektonExpressions/#00 (0.00s) --- PASS: TestFindTektonExpressions/$()))) (0.00s) --- PASS: TestFindTektonExpressions/$($()) (0.00s) --- PASS: TestFindTektonExpressions/$($($(blahblah))) (0.00s) === RUN Test_applyParamToResourceTemplate === RUN Test_applyParamToResourceTemplate/replace_no_param_vars === RUN Test_applyParamToResourceTemplate/replace_no_param_vars_with_non_match_present === RUN Test_applyParamToResourceTemplate/replace_one_param_var === RUN Test_applyParamToResourceTemplate/replace_multiple_param_vars === RUN Test_applyParamToResourceTemplate/escape_quotes_in_param_val === RUN Test_applyParamToResourceTemplate/escape_quotes_in_param_val_-_old_escaping === RUN Test_applyParamToResourceTemplate/escape_string_with_quoted_message_inside === RUN Test_applyParamToResourceTemplate/join_string_with_quoted_message === RUN Test_applyParamToResourceTemplate/escape_string_with_object_with_quoted_string --- PASS: Test_applyParamToResourceTemplate (0.00s) --- PASS: Test_applyParamToResourceTemplate/replace_no_param_vars (0.00s) --- PASS: Test_applyParamToResourceTemplate/replace_no_param_vars_with_non_match_present (0.00s) --- PASS: Test_applyParamToResourceTemplate/replace_one_param_var (0.00s) --- PASS: Test_applyParamToResourceTemplate/replace_multiple_param_vars (0.00s) --- PASS: Test_applyParamToResourceTemplate/escape_quotes_in_param_val (0.00s) --- PASS: Test_applyParamToResourceTemplate/escape_quotes_in_param_val_-_old_escaping (0.00s) --- PASS: Test_applyParamToResourceTemplate/escape_string_with_quoted_message_inside (0.00s) --- PASS: Test_applyParamToResourceTemplate/join_string_with_quoted_message (0.00s) --- PASS: Test_applyParamToResourceTemplate/escape_string_with_object_with_quoted_string (0.00s) === RUN Test_ApplyParamsToResourceTemplate === RUN Test_ApplyParamsToResourceTemplate/no_params === RUN Test_ApplyParamsToResourceTemplate/one_param === RUN Test_ApplyParamsToResourceTemplate/old_escape_behaviour === RUN Test_ApplyParamsToResourceTemplate/multiple_params === RUN Test_ApplyParamsToResourceTemplate/valid_and_invalid_params_together --- PASS: Test_ApplyParamsToResourceTemplate (0.02s) --- PASS: Test_ApplyParamsToResourceTemplate/no_params (0.00s) --- PASS: Test_ApplyParamsToResourceTemplate/one_param (0.00s) --- PASS: Test_ApplyParamsToResourceTemplate/old_escape_behaviour (0.00s) --- PASS: Test_ApplyParamsToResourceTemplate/multiple_params (0.00s) --- PASS: Test_ApplyParamsToResourceTemplate/valid_and_invalid_params_together (0.00s) === RUN Test_ResolveTrigger === RUN Test_ResolveTrigger/1_binding === RUN Test_ResolveTrigger/1_clustertype_binding === RUN Test_ResolveTrigger/1_embed_binding === RUN Test_ResolveTrigger/no_binding === RUN Test_ResolveTrigger/concise_bindings === RUN Test_ResolveTrigger/multiple_binding_params_are_merged === RUN Test_ResolveTrigger/missing_kind_implies_namespacedTriggerBinding === RUN Test_ResolveTrigger/embedded_trigger_template --- PASS: Test_ResolveTrigger (0.07s) --- PASS: Test_ResolveTrigger/1_binding (0.00s) --- PASS: Test_ResolveTrigger/1_clustertype_binding (0.00s) --- PASS: Test_ResolveTrigger/1_embed_binding (0.00s) --- PASS: Test_ResolveTrigger/no_binding (0.00s) --- PASS: Test_ResolveTrigger/concise_bindings (0.00s) --- PASS: Test_ResolveTrigger/multiple_binding_params_are_merged (0.00s) --- PASS: Test_ResolveTrigger/missing_kind_implies_namespacedTriggerBinding (0.00s) --- PASS: Test_ResolveTrigger/embedded_trigger_template (0.00s) === RUN Test_ResolveTrigger_error === RUN Test_ResolveTrigger_error/triggerbinding_not_found === RUN Test_ResolveTrigger_error/clustertriggerbinding_not_found === RUN Test_ResolveTrigger_error/triggertemplate_not_found === RUN Test_ResolveTrigger_error/triggerbinding_and_triggertemplate_not_found === RUN Test_ResolveTrigger_error/trigger_template_missing_ref === RUN Test_ResolveTrigger_error/invalid_trigger_binding === RUN Test_ResolveTrigger_error/same_param_name_across_multiple_bindings --- PASS: Test_ResolveTrigger_error (0.00s) --- PASS: Test_ResolveTrigger_error/triggerbinding_not_found (0.00s) --- PASS: Test_ResolveTrigger_error/clustertriggerbinding_not_found (0.00s) --- PASS: Test_ResolveTrigger_error/triggertemplate_not_found (0.00s) --- PASS: Test_ResolveTrigger_error/triggerbinding_and_triggertemplate_not_found (0.00s) --- PASS: Test_ResolveTrigger_error/trigger_template_missing_ref (0.00s) --- PASS: Test_ResolveTrigger_error/invalid_trigger_binding (0.00s) --- PASS: Test_ResolveTrigger_error/same_param_name_across_multiple_bindings (0.00s) === RUN Test_ApplyUIDToResourceTemplate === RUN Test_ApplyUIDToResourceTemplate/No_uid === RUN Test_ApplyUIDToResourceTemplate/One_uid === RUN Test_ApplyUIDToResourceTemplate/Three_uid --- PASS: Test_ApplyUIDToResourceTemplate (0.00s) --- PASS: Test_ApplyUIDToResourceTemplate/No_uid (0.00s) --- PASS: Test_ApplyUIDToResourceTemplate/One_uid (0.00s) --- PASS: Test_ApplyUIDToResourceTemplate/Three_uid (0.00s) === RUN TestMergeBindingParams === RUN TestMergeBindingParams/empty_bindings === RUN TestMergeBindingParams/single_binding_with_multiple_params === RUN TestMergeBindingParams/single_cluster_type_binding_with_multiple_params === RUN TestMergeBindingParams/multiple_bindings_each_with_multiple_params === RUN TestMergeBindingParams/multiple_bindings_with_duplicate_params === RUN TestMergeBindingParams/single_binding_with_duplicate_params --- PASS: TestMergeBindingParams (0.00s) --- PASS: TestMergeBindingParams/empty_bindings (0.00s) --- PASS: TestMergeBindingParams/single_binding_with_multiple_params (0.00s) --- PASS: TestMergeBindingParams/single_cluster_type_binding_with_multiple_params (0.00s) --- PASS: TestMergeBindingParams/multiple_bindings_each_with_multiple_params (0.00s) --- PASS: TestMergeBindingParams/multiple_bindings_with_duplicate_params (0.00s) --- PASS: TestMergeBindingParams/single_binding_with_duplicate_params (0.00s) PASS ok github.com/tektoncd/triggers/pkg/template 1.997s === RUN TestGetResourcesFromClients === RUN TestGetResourcesFromClients/empty === RUN TestGetResourcesFromClients/one_resource_each === RUN TestGetResourcesFromClients/two_resources_each === RUN TestGetResourcesFromClients/only_namespaces === RUN TestGetResourcesFromClients/only_clustertriggerbindings === RUN TestGetResourcesFromClients/only_eventlisteners_(and_namespaces) === RUN TestGetResourcesFromClients/only_triggerBindings_(and_namespaces) === RUN TestGetResourcesFromClients/only_triggerTemplates_(and_namespaces) === RUN TestGetResourcesFromClients/only_Deployments_(and_namespaces) === RUN TestGetResourcesFromClients/only_Services_(and_namespaces) === RUN TestGetResourcesFromClients/only_secrets_(and_namespaces) === RUN TestGetResourcesFromClients/only_pods_(and_namespaces) --- PASS: TestGetResourcesFromClients (2.28s) --- PASS: TestGetResourcesFromClients/empty (0.20s) --- PASS: TestGetResourcesFromClients/one_resource_each (0.31s) --- PASS: TestGetResourcesFromClients/two_resources_each (0.29s) --- PASS: TestGetResourcesFromClients/only_namespaces (0.17s) --- PASS: TestGetResourcesFromClients/only_clustertriggerbindings (0.14s) --- PASS: TestGetResourcesFromClients/only_eventlisteners_(and_namespaces) (0.20s) --- PASS: TestGetResourcesFromClients/only_triggerBindings_(and_namespaces) (0.19s) --- PASS: TestGetResourcesFromClients/only_triggerTemplates_(and_namespaces) (0.19s) --- PASS: TestGetResourcesFromClients/only_Deployments_(and_namespaces) (0.11s) --- PASS: TestGetResourcesFromClients/only_Services_(and_namespaces) (0.18s) --- PASS: TestGetResourcesFromClients/only_secrets_(and_namespaces) (0.14s) --- PASS: TestGetResourcesFromClients/only_pods_(and_namespaces) (0.15s) === RUN TestHMACHeader --- PASS: TestHMACHeader (0.00s) PASS ok github.com/tektoncd/triggers/test 3.830s FAIL + failed=('1' '0') + local failed + [[ 1 -eq 0 ]] + failed=1 + echo 'Finished run, return code is 1' Finished run, return code is 1 + run_go_tool github.com/jstemmer/go-junit-report go-junit-report --help ++ mktemp /logs/artifacts/junit_XXXXXXXX + local xml=/logs/artifacts/junit_u4iXz0sU.xml + cat /tmp/tmp.bhKO4AVkyu + sed -e 's#"github.com/tektoncd/triggers/#"#g' + go-junit-report + echo 'XML report written to /logs/artifacts/junit_u4iXz0sU.xml' XML report written to /logs/artifacts/junit_u4iXz0sU.xml + (( ! IS_PROW )) + return 1 + failed=1 + (( ! failed )) + results_banner Unit 1 + local result + [[ 1 -eq 0 ]] + result=FAILED + header 'Unit tests FAILED' ++ echo Unit tests FAILED ++ tr a-z A-Z + local 'upper=UNIT TESTS FAILED' + make_banner = 'UNIT TESTS FAILED' + local 'msg===== UNIT TESTS FAILED ====' + local border============================ + echo -e '===========================\n==== UNIT TESTS FAILED ====\n===========================' =========================== ==== UNIT TESTS FAILED ==== =========================== + return 1 + failed=1 + (( ! PRESUBMIT_TEST_FAIL_FAST )) + run_integration_tests + (( ! RUN_INTEGRATION_TESTS )) + return 0 + (( ! PRESUBMIT_TEST_FAIL_FAST )) + run_conformance_tests + (( ! RUN_CONFORMANCE_TESTS )) + return 0 + exit 1 + teardown_environment + rm -rf /tmp/tmp.iXz4Bnhat9 + EXIT_VALUE=1 + set +o xtrace