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 a43ca6bf-5762-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 $@ +++++ echo t +++++ tr a-z A-Z ++++ 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 b19951ff2760678d3b5cc20a62d5f34318c92406 ]] ++ 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 + go install github.com/jstemmer/go-junit-report/v2@latest go: downloading github.com/jstemmer/go-junit-report/v2 v2.1.0 go: downloading github.com/jstemmer/go-junit-report v1.0.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.eYd83CYwHD ++ list_changed_files ++ local file=/tmp/tmp.eYd83CYwHD/changed_files ++ [[ ! -f /tmp/tmp.eYd83CYwHD/changed_files ]] ++ git --no-pager diff --name-only 293c81686f044fc890b644026a8521e8ce6ad4ea..b19951ff2760678d3b5cc20a62d5f34318c92406 ++ echo /tmp/tmp.eYd83CYwHD/changed_files + CHANGED_FILES=/tmp/tmp.eYd83CYwHD/changed_files ++ cat /tmp/tmp.eYd83CYwHD/changed_files + [[ -n .github/workflows/microshift.yaml docs/getting-started/pipeline.yaml test/e2e-common.sh test/e2e-tests-examples.sh test/e2e-tests-yaml.sh test/e2e-tests.sh test/eventlistener_test.go test/presubmit-tests.sh tools/go.mod tools/go.sum ]] ++ cat /tmp/tmp.eYd83CYwHD/changed_files + echo -e 'Changed files in commit b19951ff2760678d3b5cc20a62d5f34318c92406:\n.github/workflows/microshift.yaml docs/getting-started/pipeline.yaml test/e2e-common.sh test/e2e-tests-examples.sh test/e2e-tests-yaml.sh test/e2e-tests.sh test/eventlistener_test.go test/presubmit-tests.sh tools/go.mod tools/go.sum' Changed files in commit b19951ff2760678d3b5cc20a62d5f34318c92406: .github/workflows/microshift.yaml docs/getting-started/pipeline.yaml test/e2e-common.sh test/e2e-tests-examples.sh test/e2e-tests-yaml.sh test/e2e-tests.sh test/eventlistener_test.go test/presubmit-tests.sh tools/go.mod tools/go.sum + local 'no_presubmit_files=.png .gitignore .gitattributes ^OWNERS ^OWNERS_ALIASES ^AUTHORS' + pr_only_contains '.png .gitignore .gitattributes ^OWNERS ^OWNERS_ALIASES ^AUTHORS' ++ grep -v '"(.png\|.gitignore\|.gitattributes\|^OWNERS\|^OWNERS_ALIASES\|^AUTHORS)$"' ++ cat /tmp/tmp.eYd83CYwHD/changed_files + [[ -z .github/workflows/microshift.yaml docs/getting-started/pipeline.yaml test/e2e-common.sh test/e2e-tests-examples.sh test/e2e-tests-yaml.sh test/e2e-tests.sh test/eventlistener_test.go test/presubmit-tests.sh tools/go.mod tools/go.sum ]] + pr_only_contains '\.md .png .gitignore .gitattributes ^OWNERS ^OWNERS_ALIASES ^AUTHORS' ++ cat /tmp/tmp.eYd83CYwHD/changed_files ++ grep -v '"(\.md\|.png\|.gitignore\|.gitattributes\|^OWNERS\|^OWNERS_ALIASES\|^AUTHORS)$"' + [[ -z .github/workflows/microshift.yaml docs/getting-started/pipeline.yaml test/e2e-common.sh test/e2e-tests-examples.sh test/e2e-tests-yaml.sh test/e2e-tests.sh test/eventlistener_test.go test/presubmit-tests.sh tools/go.mod tools/go.sum ]] + 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' ++ echo Running unit tests ++ tr a-z A-Z + 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.m5GUUM7Klg + go test -race -v ./... + tee /tmp/tmp.m5GUUM7Klg