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 Changed files in commit 33f40b8cc00ac7593e8df57b6d09dfea9c0d0f75: go.mod go.sum vendor/github.com/go-viper/mapstructure/v2/.golangci.yaml vendor/github.com/go-viper/mapstructure/v2/README.md vendor/github.com/go-viper/mapstructure/v2/decode_hooks.go vendor/github.com/go-viper/mapstructure/v2/errors.go vendor/github.com/go-viper/mapstructure/v2/mapstructure.go vendor/modules.txt Updated property [component_manager/disable_update_check]. ============================ ==== CURRENT TEST SETUP ==== ============================ >> gcloud SDK 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 >> kubectl version Client Version: v1.32.0-alpha.0 Kustomize Version: v5.4.2 >> go version go: downloading go1.24.0 (linux/amd64) go version go1.24.0 linux/amd64 >> git version git version 2.43.0 ============================ ==== RUNNING UNIT TESTS ==== ============================ /home/prow/go/src/github.com/tektoncd/results /home/prow/go/src/github.com/tektoncd/results Using overridden unit_tests 2025/08/25 18:18:56 maxprocs: Leaving GOMAXPROCS=16: CPU quota undefined === RUN Test_determineAuth === RUN Test_determineAuth/missing_token === RUN Test_determineAuth/invalid_token === RUN Test_determineAuth/valid_token --- PASS: Test_determineAuth (0.00s) --- PASS: Test_determineAuth/missing_token (0.00s) --- PASS: Test_determineAuth/invalid_token (0.00s) --- PASS: Test_determineAuth/valid_token (0.00s) PASS ok github.com/tektoncd/results/cmd/api 1.371s ? github.com/tektoncd/results/cmd/cli-docs [no test files] ? github.com/tektoncd/results/cmd/retention-policy-agent [no test files] ? github.com/tektoncd/results/cmd/tkn-results [no test files] ? github.com/tektoncd/results/cmd/watcher [no test files] === RUN TestFieldMask_Build --- PASS: TestFieldMask_Build (0.00s) === RUN TestFieldMask_Paths --- PASS: TestFieldMask_Paths (0.00s) === RUN TestFieldMask_Filter --- PASS: TestFieldMask_Filter (0.02s) === RUN TestFieldMask_FilterJSON --- PASS: TestFieldMask_FilterJSON (0.00s) === RUN TestFromMetadata --- PASS: TestFromMetadata (0.00s) === RUN TestMetadataAnnotator --- PASS: TestMetadataAnnotator (0.00s) PASS ok github.com/tektoncd/results/internal/fieldmask 1.142s ? github.com/tektoncd/results/internal/fieldmask/test [no test files] === RUN TestParseFilter === RUN TestParseFilter/success === RUN TestParseFilter/success/#00 === RUN TestParseFilter/success/result === RUN TestParseFilter/success/result.id === RUN TestParseFilter/success/result.id_==_"1" === RUN TestParseFilter/success/result.id_==_"1"_||_result.name_==_"2" === RUN TestParseFilter/success/result.id.startsWith("tacocat") === RUN TestParseFilter/error === RUN TestParseFilter/error/asdf === RUN TestParseFilter/error/result.id_==_1 === RUN TestParseFilter/error/result.ID --- PASS: TestParseFilter (0.05s) --- PASS: TestParseFilter/success (0.03s) --- PASS: TestParseFilter/success/#00 (0.00s) --- PASS: TestParseFilter/success/result (0.01s) --- PASS: TestParseFilter/success/result.id (0.00s) --- PASS: TestParseFilter/success/result.id_==_"1" (0.00s) --- PASS: TestParseFilter/success/result.id_==_"1"_||_result.name_==_"2" (0.00s) --- PASS: TestParseFilter/success/result.id.startsWith("tacocat") (0.00s) --- PASS: TestParseFilter/error (0.01s) --- PASS: TestParseFilter/error/asdf (0.00s) --- PASS: TestParseFilter/error/result.id_==_1 (0.00s) --- PASS: TestParseFilter/error/result.ID (0.01s) PASS ok github.com/tektoncd/results/pkg/api/server/cel 1.183s === RUN TestConvertRecordExpressions === RUN TestConvertRecordExpressions/simple_expression convert_test.go:170: want: (name = 'foo') convert_test.go:171: got: (name = 'foo') === RUN TestConvertRecordExpressions/select_expression convert_test.go:170: want: ((data->'metadata'->>'namespace') = 'default') convert_test.go:171: got: ((data->'metadata'->>'namespace') = 'default') === RUN TestConvertRecordExpressions/type_coercion_with_a_dyn_expression_in_the_left_hand_side convert_test.go:170: want: ((data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE > '2022/10/30T21:45:00.000Z'::TIMESTAMP WITH TIME ZONE) convert_test.go:171: got: ((data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE > '2022/10/30T21:45:00.000Z'::TIMESTAMP WITH TIME ZONE) === RUN TestConvertRecordExpressions/type_coercion_with_a_dyn_expression_in_the_right_hand_side convert_test.go:170: want: ('2022/10/30T21:45:00.000Z'::TIMESTAMP WITH TIME ZONE < (data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE) convert_test.go:171: got: ('2022/10/30T21:45:00.000Z'::TIMESTAMP WITH TIME ZONE < (data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE) === RUN TestConvertRecordExpressions/in_operator convert_test.go:170: want: ((data->'metadata'->>'namespace') IN ('foo', 'bar')) convert_test.go:171: got: ((data->'metadata'->>'namespace') IN ('foo', 'bar')) === RUN TestConvertRecordExpressions/index_operator convert_test.go:170: want: ((data->'metadata'->'labels'->>'foo') = 'bar') convert_test.go:171: got: ((data->'metadata'->'labels'->>'foo') = 'bar') === RUN TestConvertRecordExpressions/concatenate_strings convert_test.go:170: want: (CONCAT(name, 'bar') = 'foobar') convert_test.go:171: got: (CONCAT(name, 'bar') = 'foobar') === RUN TestConvertRecordExpressions/multiple_concatenate_strings convert_test.go:170: want: (CONCAT(name, 'bar', 'baz') = 'foobarbaz') convert_test.go:171: got: (CONCAT(name, 'bar', 'baz') = 'foobarbaz') === RUN TestConvertRecordExpressions/contains_string_function convert_test.go:170: want: POSITION('foo' IN (data->'metadata'->>'name')) <> 0 convert_test.go:171: got: POSITION('foo' IN (data->'metadata'->>'name')) <> 0 === RUN TestConvertRecordExpressions/not_contains_string_function convert_test.go:170: want: NOT (POSITION('foo' IN (data->'metadata'->>'annotations')) <> 0) convert_test.go:171: got: NOT (POSITION('foo' IN (data->'metadata'->>'annotations')) <> 0) === RUN TestConvertRecordExpressions/complex_not_expressions convert_test.go:170: want: (NOT (POSITION('foo' IN (data->'metadata'->>'annotations')) <> 0) AND (data->'metadata'->>'name') LIKE '%' || 'bar') convert_test.go:171: got: (NOT (POSITION('foo' IN (data->'metadata'->>'annotations')) <> 0) AND (data->'metadata'->>'name') LIKE '%' || 'bar') === RUN TestConvertRecordExpressions/endsWith_string_function convert_test.go:170: want: (data->'metadata'->>'name') LIKE '%' || 'bar' convert_test.go:171: got: (data->'metadata'->>'name') LIKE '%' || 'bar' === RUN TestConvertRecordExpressions/getDate_function convert_test.go:170: want: (EXTRACT(DAY FROM (data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE) = 2) convert_test.go:171: got: (EXTRACT(DAY FROM (data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE) = 2) === RUN TestConvertRecordExpressions/getDayOfMonth_function convert_test.go:170: want: ((EXTRACT(DAY FROM (data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE) - 1) = 2) convert_test.go:171: got: ((EXTRACT(DAY FROM (data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE) - 1) = 2) === RUN TestConvertRecordExpressions/getDayOfWeek_function convert_test.go:170: want: (EXTRACT(DOW FROM (data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE) > 0) convert_test.go:171: got: (EXTRACT(DOW FROM (data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE) > 0) === RUN TestConvertRecordExpressions/getDayOfYear_function convert_test.go:170: want: ((EXTRACT(DOY FROM (data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE) - 1) > 15) convert_test.go:171: got: ((EXTRACT(DOY FROM (data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE) - 1) > 15) === RUN TestConvertRecordExpressions/getFullYear_function convert_test.go:170: want: (EXTRACT(YEAR FROM (data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE) >= 2022) convert_test.go:171: got: (EXTRACT(YEAR FROM (data->'status'->>'completionTime')::TIMESTAMP WITH TIME ZONE) >= 2022) === RUN TestConvertRecordExpressions/matches_function convert_test.go:170: want: (data->'metadata'->>'name') ~ '^foo.*$' convert_test.go:171: got: (data->'metadata'->>'name') ~ '^foo.*$' === RUN TestConvertRecordExpressions/startsWith_string_function convert_test.go:170: want: (data->'metadata'->>'name') LIKE 'bar' || '%' convert_test.go:171: got: (data->'metadata'->>'name') LIKE 'bar' || '%' === RUN TestConvertRecordExpressions/data_type_field convert_test.go:170: want: (type = 'tekton.dev/v1.PipelineRun') convert_test.go:171: got: (type = 'tekton.dev/v1.PipelineRun') === RUN TestConvertRecordExpressions/index_operator_with_numeric_argument_in_JSON_arrays convert_test.go:170: want: ((type = 'tekton.dev/v1.TaskRun') AND ((data->'status'->'conditions'->0->>'status') = 'True')) convert_test.go:171: got: ((type = 'tekton.dev/v1.TaskRun') AND ((data->'status'->'conditions'->0->>'status') = 'True')) === RUN TestConvertRecordExpressions/index_operator_as_first_operation_in_JSON_object convert_test.go:170: want: ((type = 'tekton.dev/v1.TaskRun') AND ((data->'status'->'conditions'->0->>'status') = 'True')) convert_test.go:171: got: ((type = 'tekton.dev/v1.TaskRun') AND ((data->'status'->'conditions'->0->>'status') = 'True')) === RUN TestConvertRecordExpressions/index_operator_with_string_argument_in_JSON_object convert_test.go:170: want: ((type = 'tekton.dev/v1.TaskRun') AND ((data->'status'->'conditions'->0->>'status') = 'True')) convert_test.go:171: got: ((type = 'tekton.dev/v1.TaskRun') AND ((data->'status'->'conditions'->0->>'status') = 'True')) === RUN TestConvertRecordExpressions/complex_expression_with_subgroups convert_test.go:170: want: (((data->'metadata'->'annotations'->>'foo') = 'bar') AND NOT (((data->'metadata'->>'name') LIKE '%' || 'baz' OR (data->'metadata'->>'name') LIKE 'foo' || '%'))) convert_test.go:171: got: (((data->'metadata'->'annotations'->>'foo') = 'bar') AND NOT (((data->'metadata'->>'name') LIKE '%' || 'baz' OR (data->'metadata'->>'name') LIKE 'foo' || '%'))) === RUN TestConvertRecordExpressions/complex_expression_involving_multiple_subgroups_and_operators convert_test.go:170: want: ((((data->'metadata'->'annotations'->>'foo') = 'bar') AND NOT ((data->'metadata'->>'name') LIKE '%' || 'baz')) OR ((data->'metadata'->>'name') LIKE 'foo' || '%' AND POSITION('bar' IN (data->'metadata'->>'name')) <> 0)) convert_test.go:171: got: ((((data->'metadata'->'annotations'->>'foo') = 'bar') AND NOT ((data->'metadata'->>'name') LIKE '%' || 'baz')) OR ((data->'metadata'->>'name') LIKE 'foo' || '%' AND POSITION('bar' IN (data->'metadata'->>'name')) <> 0)) --- PASS: TestConvertRecordExpressions (0.19s) --- PASS: TestConvertRecordExpressions/simple_expression (0.02s) --- PASS: TestConvertRecordExpressions/select_expression (0.02s) --- PASS: TestConvertRecordExpressions/type_coercion_with_a_dyn_expression_in_the_left_hand_side (0.02s) --- PASS: TestConvertRecordExpressions/type_coercion_with_a_dyn_expression_in_the_right_hand_side (0.01s) --- PASS: TestConvertRecordExpressions/in_operator (0.02s) --- PASS: TestConvertRecordExpressions/index_operator (0.01s) --- PASS: TestConvertRecordExpressions/concatenate_strings (0.01s) --- PASS: TestConvertRecordExpressions/multiple_concatenate_strings (0.01s) --- PASS: TestConvertRecordExpressions/contains_string_function (0.01s) --- PASS: TestConvertRecordExpressions/not_contains_string_function (0.00s) --- PASS: TestConvertRecordExpressions/complex_not_expressions (0.00s) --- PASS: TestConvertRecordExpressions/endsWith_string_function (0.00s) --- PASS: TestConvertRecordExpressions/getDate_function (0.00s) --- PASS: TestConvertRecordExpressions/getDayOfMonth_function (0.00s) --- PASS: TestConvertRecordExpressions/getDayOfWeek_function (0.00s) --- PASS: TestConvertRecordExpressions/getDayOfYear_function (0.00s) --- PASS: TestConvertRecordExpressions/getFullYear_function (0.00s) --- PASS: TestConvertRecordExpressions/matches_function (0.00s) --- PASS: TestConvertRecordExpressions/startsWith_string_function (0.00s) --- PASS: TestConvertRecordExpressions/data_type_field (0.00s) --- PASS: TestConvertRecordExpressions/index_operator_with_numeric_argument_in_JSON_arrays (0.00s) --- PASS: TestConvertRecordExpressions/index_operator_as_first_operation_in_JSON_object (0.00s) --- PASS: TestConvertRecordExpressions/index_operator_with_string_argument_in_JSON_object (0.00s) --- PASS: TestConvertRecordExpressions/complex_expression_with_subgroups (0.01s) --- PASS: TestConvertRecordExpressions/complex_expression_involving_multiple_subgroups_and_operators (0.01s) === RUN TestConvertResultExpressions === RUN TestConvertResultExpressions/Result.Parent_field === RUN TestConvertResultExpressions/Result.Uid_field === RUN TestConvertResultExpressions/Result.Annotations_field === RUN TestConvertResultExpressions/Result.Annotations_field#01 === RUN TestConvertResultExpressions/other_operators_involving_the_Result.Annotations_field === RUN TestConvertResultExpressions/Result.CreateTime_field === RUN TestConvertResultExpressions/Result.UpdateTime_field === RUN TestConvertResultExpressions/Result.Summary.Record_field === RUN TestConvertResultExpressions/Result.Summary.StartTime_field === RUN TestConvertResultExpressions/comparison_with_the_PIPELINE_RUN_const_value === RUN TestConvertResultExpressions/comparison_with_the_TASK_RUN_const_value === RUN TestConvertResultExpressions/RecordSummary_Status_constants === RUN TestConvertResultExpressions/Result.Summary.Annotations === RUN TestConvertResultExpressions/not_Result.Summary.Annotations === RUN TestConvertResultExpressions/Result.Summary.Annotations#01 === RUN TestConvertResultExpressions/more_complex_expression --- PASS: TestConvertResultExpressions (0.05s) --- PASS: TestConvertResultExpressions/Result.Parent_field (0.00s) --- PASS: TestConvertResultExpressions/Result.Uid_field (0.00s) --- PASS: TestConvertResultExpressions/Result.Annotations_field (0.00s) --- PASS: TestConvertResultExpressions/Result.Annotations_field#01 (0.00s) --- PASS: TestConvertResultExpressions/other_operators_involving_the_Result.Annotations_field (0.00s) --- PASS: TestConvertResultExpressions/Result.CreateTime_field (0.00s) --- PASS: TestConvertResultExpressions/Result.UpdateTime_field (0.00s) --- PASS: TestConvertResultExpressions/Result.Summary.Record_field (0.00s) --- PASS: TestConvertResultExpressions/Result.Summary.StartTime_field (0.00s) --- PASS: TestConvertResultExpressions/comparison_with_the_PIPELINE_RUN_const_value (0.00s) --- PASS: TestConvertResultExpressions/comparison_with_the_TASK_RUN_const_value (0.00s) --- PASS: TestConvertResultExpressions/RecordSummary_Status_constants (0.00s) --- PASS: TestConvertResultExpressions/Result.Summary.Annotations (0.00s) --- PASS: TestConvertResultExpressions/not_Result.Summary.Annotations (0.00s) --- PASS: TestConvertResultExpressions/Result.Summary.Annotations#01 (0.00s) --- PASS: TestConvertResultExpressions/more_complex_expression (0.00s) === RUN TestConversionErrors === RUN TestConversionErrors/non-boolean_expression --- PASS: TestConversionErrors (0.00s) --- PASS: TestConversionErrors/non-boolean_expression (0.00s) PASS ok github.com/tektoncd/results/pkg/api/server/cel2sql 1.392s ? github.com/tektoncd/results/pkg/api/server/config [no test files] === RUN TestAnnotationsScan --- PASS: TestAnnotationsScan (0.00s) === RUN TestAnnotationsValue --- PASS: TestAnnotationsValue (0.00s) PASS ok github.com/tektoncd/results/pkg/api/server/db 1.102s ? github.com/tektoncd/results/pkg/api/server/db/errors [no test files] ? github.com/tektoncd/results/pkg/api/server/db/errors/sqlite [no test files] === RUN TestEncodeDecodeToken --- PASS: TestEncodeDecodeToken (0.00s) === RUN TestBatcher === RUN TestBatcher/100 === RUN TestBatcher/100#01 === RUN TestBatcher/1 --- PASS: TestBatcher (0.00s) --- PASS: TestBatcher/100 (0.00s) --- PASS: TestBatcher/100#01 (0.00s) --- PASS: TestBatcher/1 (0.00s) PASS ok github.com/tektoncd/results/pkg/api/server/db/pagination 1.043s ? github.com/tektoncd/results/pkg/api/server/db/pagination/proto [no test files] ? github.com/tektoncd/results/pkg/api/server/db/pagination/proto/internal_go_proto [no test files] === RUN TestNewFeatureGate --- PASS: TestNewFeatureGate (0.00s) === RUN TestFeatureGate_Get --- PASS: TestFeatureGate_Get (0.00s) === RUN TestFeatureGate_Set --- PASS: TestFeatureGate_Set (0.00s) === RUN TestFeatureGate_Enable --- PASS: TestFeatureGate_Enable (0.00s) === RUN TestFeatureGate_Disable --- PASS: TestFeatureGate_Disable (0.00s) PASS ok github.com/tektoncd/results/pkg/api/server/features 1.053s ? github.com/tektoncd/results/pkg/api/server/logger [no test files] ? github.com/tektoncd/results/pkg/api/server/test [no test files] === RUN TestGetLog logs_test.go:93: test database: /tmp/testdb1547994782 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.045ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.194ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [620.094ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [755.384ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.177ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [695.440ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [429.945ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146049.7957249,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [496.623ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","null","","",NULL,NULL,0,"null","1-1756146047265494561","2025-08-25 18:20:47.265","2025-08-25 18:20:47.265") RETURNING `created_time`,`updated_time` logs_test.go:113: test log file: /tmp/test-log-taskrun-992626713.log db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [56.487ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [417.507ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","2","baz","results.tekton.dev/v1alpha2.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":""foo"",""name"":""baz""},""type"":""File""},""status"":{""path"":""/tmp/test-log-taskrun-992626713.log"",""size"":1024,""isStored"":true,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","2-1756146047265494561","2025-08-25 18:20:47.265","2025-08-25 18:20:47.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [21.157ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestGetLog (3.54s) === RUN TestGetLogV2 logs_test.go:171: test database: /tmp/testdb3562911036 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.178ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.132ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [427.166ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [54.471ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.159ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [192.374ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [164.904ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146051.886417,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [332.730ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","3","bar","null","","",NULL,NULL,0,"null","3-1756146047265494561","2025-08-25 18:20:47.265","2025-08-25 18:20:47.265") RETURNING `created_time`,`updated_time` logs_test.go:191: test log file: /tmp/test-log-taskrun-1933170537.log db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [7.697ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [166.173ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","3","bar","4","baz","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":""foo"",""name"":""baz""},""type"":""File""},""status"":{""path"":""/tmp/test-log-taskrun-1933170537.log"",""size"":1024,""isStored"":true,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","4-1756146047265494561","2025-08-25 18:20:47.265","2025-08-25 18:20:47.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [2.904ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestGetLogV2 (1.63s) === RUN TestUpdateLog logs_test.go:254: test database: /tmp/testdb1561944121 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.059ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.214ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [5.360ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [10.368ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.236ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [21.955ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [16.524ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146052.5450757,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [18.268ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","5","bar","null","","",NULL,NULL,0,"null","5-1756146047265494561","2025-08-25 18:20:47.265","2025-08-25 18:20:47.265") RETURNING `created_time`,`updated_time` logs_test.go:268: test storage directory: /tmp/test-logs-1652344639 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [7.486ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [9.626ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","5","bar","6","baz-log","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""test-name"",""uid"":""test-uid"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":""foo"",""name"":""baz""},""type"":""File""},""status"":{""path"":""/tmp/test-logs-1652344639/test-uid/task-run.log"",""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","6-1756146047265494561","2025-08-25 18:20:47.265","2025-08-25 18:20:47.265") RETURNING `created_time`,`updated_time` logs_test.go:300: Record name: foo/results/bar/records/baz-log db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.621ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz-log" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.748ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz-log" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [15.404ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="baz-log",`type`="results.tekton.dev/v1alpha3.Log",`data`="{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""test-name"",""uid"":""test-uid"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":""foo"",""name"":""baz""},""type"":""File""},""status"":{""path"":""/tmp/test-logs-1652344639/test-uid/task-run.log"",""size"":36,""isStored"":true,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}",`created_time`="2025-08-25 18:20:47.265",`updated_time`="2025-08-25 18:20:47.265",`etag`="6-1756146047265494561" WHERE `parent` = "foo" AND `result_id` = "5" AND `id` = "6" --- PASS: TestUpdateLog (0.19s) === RUN TestListLogs logs_test.go:333: test database: /tmp/testdb1980132250 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.038ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.172ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [15.196ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [13.527ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.306ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [15.832ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [15.569ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146052.7597647,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [8.651ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","7","bar","null","","",NULL,NULL,0,"null","7-1756146047265494561","2025-08-25 18:20:47.265","2025-08-25 18:20:47.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [5.913ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [22.658ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","7","bar","8","0","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""0"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","8-1756146048265494561","2025-08-25 18:20:48.265","2025-08-25 18:20:48.265") RETURNING `created_time`,`updated_time` logs_test.go:370: Created record: name:"foo/results/bar/records/0" id:"8" uid:"8" data:{type:"results.tekton.dev/v1alpha3.Log" value:"{\"kind\":\"Log\",\"apiVersion\":\"results.tekton.dev/v1alpha3\",\"metadata\":{\"name\":\"0\",\"creationTimestamp\":null},\"spec\":{\"resource\":{\"namespace\":\"\",\"name\":\"\"},\"type\":\"File\"},\"status\":{\"size\":0,\"isStored\":false,\"errorOnStoreMsg\":\"\",\"isRetryableErr\":false}}"} etag:"8-1756146048265494561" created_time:{seconds:1756146048 nanos:265494561} create_time:{seconds:1756146048 nanos:265494561} updated_time:{seconds:1756146048 nanos:265494561} update_time:{seconds:1756146048 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.528ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [9.239ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","7","bar","9","1","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""1"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","9-1756146049265494561","2025-08-25 18:20:49.265","2025-08-25 18:20:49.265") RETURNING `created_time`,`updated_time` logs_test.go:370: Created record: name:"foo/results/bar/records/1" id:"9" uid:"9" data:{type:"results.tekton.dev/v1alpha3.Log" value:"{\"kind\":\"Log\",\"apiVersion\":\"results.tekton.dev/v1alpha3\",\"metadata\":{\"name\":\"1\",\"creationTimestamp\":null},\"spec\":{\"resource\":{\"namespace\":\"\",\"name\":\"\"},\"type\":\"File\"},\"status\":{\"size\":0,\"isStored\":false,\"errorOnStoreMsg\":\"\",\"isRetryableErr\":false}}"} etag:"9-1756146049265494561" created_time:{seconds:1756146049 nanos:265494561} create_time:{seconds:1756146049 nanos:265494561} updated_time:{seconds:1756146049 nanos:265494561} update_time:{seconds:1756146049 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.413ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [15.464ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","7","bar","10","2","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""2"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","10-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` logs_test.go:370: Created record: name:"foo/results/bar/records/2" id:"10" uid:"10" data:{type:"results.tekton.dev/v1alpha3.Log" value:"{\"kind\":\"Log\",\"apiVersion\":\"results.tekton.dev/v1alpha3\",\"metadata\":{\"name\":\"2\",\"creationTimestamp\":null},\"spec\":{\"resource\":{\"namespace\":\"\",\"name\":\"\"},\"type\":\"File\"},\"status\":{\"size\":0,\"isStored\":false,\"errorOnStoreMsg\":\"\",\"isRetryableErr\":false}}"} etag:"10-1756146050265494561" created_time:{seconds:1756146050 nanos:265494561} create_time:{seconds:1756146050 nanos:265494561} updated_time:{seconds:1756146050 nanos:265494561} update_time:{seconds:1756146050 nanos:265494561} === RUN TestListLogs/all === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [1.018ms] [rows:3] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" AND result_name = "bar" LIMIT 51 === RUN TestListLogs/list_all_records_without_knowing_the_result_name === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [1.199ms] [rows:3] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" LIMIT 51 === RUN TestListLogs/list_all_records_without_knowing_the_parent_and_the_result_name === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [1.076ms] [rows:3] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" LIMIT 51 === RUN TestListLogs/missing_parent === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [0.676ms] [rows:0] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" AND result_name = "baz" LIMIT 51 === RUN TestListLogs/filter_by_record_property === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [2.688ms] [rows:3] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" AND result_name = "bar" LIMIT 51 === RUN TestListLogs/filter_by_record_data === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [1.168ms] [rows:3] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" AND result_name = "bar" LIMIT 51 === RUN TestListLogs/filter_by_parent === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [2.299ms] [rows:3] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" AND result_name = "bar" LIMIT 51 === RUN TestListLogs/filter_and_page_size === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [0.640ms] [rows:2] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" AND result_name = "bar" LIMIT 2 === RUN TestListLogs/only_page_size === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [4.498ms] [rows:2] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" AND result_name = "bar" LIMIT 2 === RUN TestListLogs/with_order_asc === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [2.602ms] [rows:3] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" AND result_name = "bar" ORDER BY created_time ASC LIMIT 51 === RUN TestListLogs/with_order_desc === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [1.190ms] [rows:3] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" AND result_name = "bar" ORDER BY created_time DESC LIMIT 51 === RUN TestListLogs/with_missing_order === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [1.476ms] [rows:3] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" AND result_name = "bar" LIMIT 51 === RUN TestListLogs/with_default_order === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [8.623ms] [rows:3] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" AND result_name = "bar" ORDER BY created_time LIMIT 51 === RUN TestListLogs/unknown_type === RUN TestListLogs/unknown_any_field === RUN TestListLogs/invalid_page_size === RUN TestListLogs/malformed_parent {"level":"error","ts":1756146054.7130888,"caller":"v1alpha2/logs.go:268","msg":"rpc error: code = InvalidArgument desc = name must match (^[a-z0-9_-]{1,63})/results/([a-z0-9_-]{1,63}$)","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2.(*Server).ListLogs\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:268\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestListLogs.func1\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs_test.go:569\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1792"} === RUN TestListLogs/invalid_order_by_clause === RUN TestListLogs/invalid_sort_direction --- PASS: TestListLogs (2.09s) --- PASS: TestListLogs/all (0.08s) --- PASS: TestListLogs/list_all_records_without_knowing_the_result_name (0.09s) --- PASS: TestListLogs/list_all_records_without_knowing_the_parent_and_the_result_name (0.13s) --- PASS: TestListLogs/missing_parent (0.02s) --- PASS: TestListLogs/filter_by_record_property (0.13s) --- PASS: TestListLogs/filter_by_record_data (0.14s) --- PASS: TestListLogs/filter_by_parent (0.37s) --- PASS: TestListLogs/filter_and_page_size (0.09s) --- PASS: TestListLogs/only_page_size (0.09s) --- PASS: TestListLogs/with_order_asc (0.22s) --- PASS: TestListLogs/with_order_desc (0.11s) --- PASS: TestListLogs/with_missing_order (0.18s) --- PASS: TestListLogs/with_default_order (0.20s) --- PASS: TestListLogs/unknown_type (0.01s) --- PASS: TestListLogs/unknown_any_field (0.01s) --- PASS: TestListLogs/invalid_page_size (0.00s) --- PASS: TestListLogs/malformed_parent (0.00s) --- PASS: TestListLogs/invalid_order_by_clause (0.00s) --- PASS: TestListLogs/invalid_sort_direction (0.00s) === RUN TestListLogs_multiresult logs_test.go:591: test database: /tmp/testdb543904174 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.072ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.253ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [12.642ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [7.405ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.173ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [14.925ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [13.755ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146054.8156796,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [11.781ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("0","11","0","null","","",NULL,NULL,0,"null","11-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [2.857ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "0" AND `results`.`name` = "0" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [12.321ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("0","11","0","12","0","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""0"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","12-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.590ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "0" AND `results`.`name` = "0" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [16.350ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("0","11","0","13","1","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""1"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","13-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [9.061ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("0","14","1","null","","",NULL,NULL,0,"null","14-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.555ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "0" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [9.255ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("0","14","1","15","0","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""0"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","15-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.611ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "0" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [13.359ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("0","14","1","16","1","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""1"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","16-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [14.021ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("1","17","0","null","","",NULL,NULL,0,"null","17-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.542ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "1" AND `results`.`name` = "0" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [16.743ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("1","17","0","18","0","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""0"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","18-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.502ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "1" AND `results`.`name` = "0" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [17.057ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("1","17","0","19","1","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""1"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","19-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [18.410ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("1","20","1","null","","",NULL,NULL,0,"null","20-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.573ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "1" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [17.853ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("1","20","1","21","0","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""0"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","21-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.489ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "1" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [11.023ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("1","20","1","22","1","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""1"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","22-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [0.905ms] [rows:4] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "0" LIMIT 51 --- PASS: TestListLogs_multiresult (0.55s) === RUN TestDeleteLog logs_test.go:652: test database: /tmp/testdb184959637 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.065ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [1.721ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [34.913ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [16.256ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.135ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [16.528ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [10.688ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146055.400576,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [23.391ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","23","bar","null","","",NULL,NULL,0,"null","23-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` logs_test.go:672: test log file: /tmp/test-log-taskrun-1136338192.log db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [8.485ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [54.778ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","23","bar","24","baz","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":""foo"",""name"":""baz""},""type"":""File""},""status"":{""path"":""/tmp/test-log-taskrun-1136338192.log"",""size"":1024,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","24-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` === RUN TestDeleteLog/success === NAME TestDeleteLog db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [13.984ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:425 [66.105ms] [rows:1] DELETE FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_id` = "23" AND `records`.`result_name` = "bar" AND `records`.`id` = "24" AND `records`.`name` = "baz" AND `records`.`type` = "results.tekton.dev/v1alpha3.Log" AND `records`.`data` = "{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":""foo"",""name"":""baz""},""type"":""File""},""status"":{""path"":""/tmp/test-log-taskrun-1136338192.log"",""size"":1024,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}" AND `records`.`created_time` = "2025-08-25 18:20:50.265" AND `records`.`updated_time` = "2025-08-25 18:20:50.265" AND `records`.`etag` = "24-1756146050265494561" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.470ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 === RUN TestDeleteLog/already_deleted === NAME TestDeleteLog db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.244ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestDeleteLog (0.32s) --- PASS: TestDeleteLog/success (0.08s) --- PASS: TestDeleteLog/already_deleted (0.00s) === RUN TestOrderBy --- PASS: TestOrderBy (0.02s) === RUN TestOrderByInvalidArguments --- PASS: TestOrderByInvalidArguments (0.00s) === RUN TestNormalizeOrderByField --- PASS: TestNormalizeOrderByField (0.00s) === RUN TestIsAllowedField --- PASS: TestIsAllowedField (0.00s) === RUN TestOrderByDirection --- PASS: TestOrderByDirection (0.00s) === RUN TestPageSize === RUN TestPageSize/1 === RUN TestPageSize/-1 === RUN TestPageSize/2147483647 --- PASS: TestPageSize (0.00s) --- PASS: TestPageSize/1 (0.00s) --- PASS: TestPageSize/-1 (0.00s) --- PASS: TestPageSize/2147483647 (0.00s) === RUN TestPageStart === RUN TestPageStart/success === RUN TestPageStart/wrong_filter === RUN TestPageStart/invalid_token --- PASS: TestPageStart (0.00s) --- PASS: TestPageStart/success (0.00s) --- PASS: TestPageStart/wrong_filter (0.00s) --- PASS: TestPageStart/invalid_token (0.00s) === RUN TestCreateRecord records_test.go:48: test database: /tmp/testdb118808023 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.053ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.174ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [72.495ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [39.041ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.161ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [17.791ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [61.297ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146055.8835378,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [21.403ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","25","bar","null","","",NULL,NULL,0,"null","25-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` === RUN TestCreateRecord/success === NAME TestCreateRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [2.319ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [30.742ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","25","bar","26","baz","TaskRun","{""metadata"":{""name"":""tacocat"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","26-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` === RUN TestCreateRecord/mismatched_parent === RUN TestCreateRecord/parent_does_not_exist === NAME TestCreateRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 record not found [0.642ms] [rows:0] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "doesnotexist" ORDER BY `results`.`id` LIMIT 1 === RUN TestCreateRecord/missing_name === RUN TestCreateRecord/result_used_as_name === RUN TestCreateRecord/already_exists === NAME TestCreateRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.421ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 UNIQUE constraint failed: records.parent, records.result_name, records.name [0.704ms] [rows:0] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","25","bar","27","baz","TaskRun","{""metadata"":{""name"":""tacocat"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","27-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` --- PASS: TestCreateRecord (0.39s) --- PASS: TestCreateRecord/success (0.04s) --- PASS: TestCreateRecord/mismatched_parent (0.00s) --- PASS: TestCreateRecord/parent_does_not_exist (0.00s) --- PASS: TestCreateRecord/missing_name (0.00s) --- PASS: TestCreateRecord/result_used_as_name (0.00s) --- PASS: TestCreateRecord/already_exists (0.00s) === RUN TestCreateRecord_ConcurrentDelete records_test.go:162: test database: /tmp/testdb591516397 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.054ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.166ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [103.693ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [61.248ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.186ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [36.705ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [86.686ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146056.3147979,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 FOREIGN KEY constraint failed [1.484ms] [rows:0] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","deleted","deleted","28","baz","","","28-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` --- PASS: TestCreateRecord_ConcurrentDelete (0.32s) === RUN TestGetRecord records_test.go:185: test database: /tmp/testdb1812042241 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.039ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.237ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [128.042ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [54.042ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.137ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [76.890ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [68.910ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146056.715259,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [83.600ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","29","bar","null","","",NULL,NULL,0,"null","29-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [10.101ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [51.258ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","29","bar","30","baz","","","30-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` === RUN TestGetRecord/success === NAME TestGetRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [1.841ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 === RUN TestGetRecord/no_name === RUN TestGetRecord/invalid_name === RUN TestGetRecord/not_found === NAME TestGetRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [5.570ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "doesnotexist" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestGetRecord (0.57s) --- PASS: TestGetRecord/success (0.01s) --- PASS: TestGetRecord/no_name (0.00s) --- PASS: TestGetRecord/invalid_name (0.00s) --- PASS: TestGetRecord/not_found (0.01s) === RUN TestListRecords records_test.go:253: test database: /tmp/testdb77632825 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.067ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.137ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [119.982ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [52.670ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.161ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [9.784ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [14.144ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146057.1551528,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [81.056ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","null","","",NULL,NULL,0,"null","1-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [1.701ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [148.737ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","2","0","TaskRun","{""metadata"":{""name"":""0"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","2-1756146051265494561","2025-08-25 18:20:51.265","2025-08-25 18:20:51.265") RETURNING `created_time`,`updated_time` records_test.go:288: Created record: name:"foo/results/bar/records/0" id:"2" uid:"2" data:{type:"TaskRun" value:"{\"metadata\":{\"name\":\"0\",\"creationTimestamp\":null},\"spec\":{\"serviceAccountName\":\"\"},\"status\":{\"podName\":\"\"}}"} etag:"2-1756146051265494561" created_time:{seconds:1756146051 nanos:265494561} create_time:{seconds:1756146051 nanos:265494561} updated_time:{seconds:1756146051 nanos:265494561} update_time:{seconds:1756146051 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.458ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [179.036ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","3","1","TaskRun","{""metadata"":{""name"":""1"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","3-1756146052265494561","2025-08-25 18:20:52.265","2025-08-25 18:20:52.265") RETURNING `created_time`,`updated_time` records_test.go:288: Created record: name:"foo/results/bar/records/1" id:"3" uid:"3" data:{type:"TaskRun" value:"{\"metadata\":{\"name\":\"1\",\"creationTimestamp\":null},\"spec\":{\"serviceAccountName\":\"\"},\"status\":{\"podName\":\"\"}}"} etag:"3-1756146052265494561" created_time:{seconds:1756146052 nanos:265494561} create_time:{seconds:1756146052 nanos:265494561} updated_time:{seconds:1756146052 nanos:265494561} update_time:{seconds:1756146052 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.489ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [132.441ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","4","2","TaskRun","{""metadata"":{""name"":""2"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","4-1756146053265494561","2025-08-25 18:20:53.265","2025-08-25 18:20:53.265") RETURNING `created_time`,`updated_time` records_test.go:288: Created record: name:"foo/results/bar/records/2" id:"4" uid:"4" data:{type:"TaskRun" value:"{\"metadata\":{\"name\":\"2\",\"creationTimestamp\":null},\"spec\":{\"serviceAccountName\":\"\"},\"status\":{\"podName\":\"\"}}"} etag:"4-1756146053265494561" created_time:{seconds:1756146053 nanos:265494561} create_time:{seconds:1756146053 nanos:265494561} updated_time:{seconds:1756146053 nanos:265494561} update_time:{seconds:1756146053 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.588ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [59.947ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","5","3","TaskRun","{""metadata"":{""name"":""3"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","5-1756146054265494561","2025-08-25 18:20:54.265","2025-08-25 18:20:54.265") RETURNING `created_time`,`updated_time` records_test.go:288: Created record: name:"foo/results/bar/records/3" id:"5" uid:"5" data:{type:"TaskRun" value:"{\"metadata\":{\"name\":\"3\",\"creationTimestamp\":null},\"spec\":{\"serviceAccountName\":\"\"},\"status\":{\"podName\":\"\"}}"} etag:"5-1756146054265494561" created_time:{seconds:1756146054 nanos:265494561} create_time:{seconds:1756146054 nanos:265494561} updated_time:{seconds:1756146054 nanos:265494561} update_time:{seconds:1756146054 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [26.052ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [34.565ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","6","4","TaskRun","{""metadata"":{""name"":""4"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","6-1756146055265494561","2025-08-25 18:20:55.265","2025-08-25 18:20:55.265") RETURNING `created_time`,`updated_time` records_test.go:288: Created record: name:"foo/results/bar/records/4" id:"6" uid:"6" data:{type:"TaskRun" value:"{\"metadata\":{\"name\":\"4\",\"creationTimestamp\":null},\"spec\":{\"serviceAccountName\":\"\"},\"status\":{\"podName\":\"\"}}"} etag:"6-1756146055265494561" created_time:{seconds:1756146055 nanos:265494561} create_time:{seconds:1756146055 nanos:265494561} updated_time:{seconds:1756146055 nanos:265494561} update_time:{seconds:1756146055 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.503ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [48.242ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","7","5","TaskRun","{""metadata"":{""name"":""5"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","7-1756146056265494561","2025-08-25 18:20:56.265","2025-08-25 18:20:56.265") RETURNING `created_time`,`updated_time` records_test.go:288: Created record: name:"foo/results/bar/records/5" id:"7" uid:"7" data:{type:"TaskRun" value:"{\"metadata\":{\"name\":\"5\",\"creationTimestamp\":null},\"spec\":{\"serviceAccountName\":\"\"},\"status\":{\"podName\":\"\"}}"} etag:"7-1756146056265494561" created_time:{seconds:1756146056 nanos:265494561} create_time:{seconds:1756146056 nanos:265494561} updated_time:{seconds:1756146056 nanos:265494561} update_time:{seconds:1756146056 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.504ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [64.081ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","8","6","TaskRun","{""metadata"":{""name"":""6"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","8-1756146057265494561","2025-08-25 18:20:57.265","2025-08-25 18:20:57.265") RETURNING `created_time`,`updated_time` records_test.go:288: Created record: name:"foo/results/bar/records/6" id:"8" uid:"8" data:{type:"TaskRun" value:"{\"metadata\":{\"name\":\"6\",\"creationTimestamp\":null},\"spec\":{\"serviceAccountName\":\"\"},\"status\":{\"podName\":\"\"}}"} etag:"8-1756146057265494561" created_time:{seconds:1756146057 nanos:265494561} create_time:{seconds:1756146057 nanos:265494561} updated_time:{seconds:1756146057 nanos:265494561} update_time:{seconds:1756146057 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.573ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [109.660ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","9","7","TaskRun","{""metadata"":{""name"":""7"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","9-1756146058265494561","2025-08-25 18:20:58.265","2025-08-25 18:20:58.265") RETURNING `created_time`,`updated_time` records_test.go:288: Created record: name:"foo/results/bar/records/7" id:"9" uid:"9" data:{type:"TaskRun" value:"{\"metadata\":{\"name\":\"7\",\"creationTimestamp\":null},\"spec\":{\"serviceAccountName\":\"\"},\"status\":{\"podName\":\"\"}}"} etag:"9-1756146058265494561" created_time:{seconds:1756146058 nanos:265494561} create_time:{seconds:1756146058 nanos:265494561} updated_time:{seconds:1756146058 nanos:265494561} update_time:{seconds:1756146058 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [5.660ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [230.579ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","10","8","TaskRun","{""metadata"":{""name"":""8"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","10-1756146059265494561","2025-08-25 18:20:59.265","2025-08-25 18:20:59.265") RETURNING `created_time`,`updated_time` records_test.go:288: Created record: name:"foo/results/bar/records/8" id:"10" uid:"10" data:{type:"TaskRun" value:"{\"metadata\":{\"name\":\"8\",\"creationTimestamp\":null},\"spec\":{\"serviceAccountName\":\"\"},\"status\":{\"podName\":\"\"}}"} etag:"10-1756146059265494561" created_time:{seconds:1756146059 nanos:265494561} create_time:{seconds:1756146059 nanos:265494561} updated_time:{seconds:1756146059 nanos:265494561} update_time:{seconds:1756146059 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.750ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [29.545ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","11","9","TaskRun","{""metadata"":{""name"":""9"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","11-1756146060265494561","2025-08-25 18:21:00.265","2025-08-25 18:21:00.265") RETURNING `created_time`,`updated_time` records_test.go:288: Created record: name:"foo/results/bar/records/9" id:"11" uid:"11" data:{type:"TaskRun" value:"{\"metadata\":{\"name\":\"9\",\"creationTimestamp\":null},\"spec\":{\"serviceAccountName\":\"\"},\"status\":{\"podName\":\"\"}}"} etag:"11-1756146060265494561" created_time:{seconds:1756146060 nanos:265494561} create_time:{seconds:1756146060 nanos:265494561} updated_time:{seconds:1756146060 nanos:265494561} update_time:{seconds:1756146060 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [2.643ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [71.468ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","12","10","PipelineRun","{""metadata"":{""name"":""10"",""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{}}","12-1756146061265494561","2025-08-25 18:21:01.265","2025-08-25 18:21:01.265") RETURNING `created_time`,`updated_time` records_test.go:310: Created record: name:"foo/results/bar/records/10" id:"12" uid:"12" data:{type:"PipelineRun" value:"{\"metadata\":{\"name\":\"10\",\"creationTimestamp\":null},\"spec\":{\"taskRunTemplate\":{}},\"status\":{}}"} etag:"12-1756146061265494561" created_time:{seconds:1756146061 nanos:265494561} create_time:{seconds:1756146061 nanos:265494561} updated_time:{seconds:1756146061 nanos:265494561} update_time:{seconds:1756146061 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.691ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [50.183ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","13","11","PipelineRun","{""metadata"":{""name"":""11"",""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{}}","13-1756146062265494561","2025-08-25 18:21:02.265","2025-08-25 18:21:02.265") RETURNING `created_time`,`updated_time` records_test.go:310: Created record: name:"foo/results/bar/records/11" id:"13" uid:"13" data:{type:"PipelineRun" value:"{\"metadata\":{\"name\":\"11\",\"creationTimestamp\":null},\"spec\":{\"taskRunTemplate\":{}},\"status\":{}}"} etag:"13-1756146062265494561" created_time:{seconds:1756146062 nanos:265494561} create_time:{seconds:1756146062 nanos:265494561} updated_time:{seconds:1756146062 nanos:265494561} update_time:{seconds:1756146062 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.560ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [42.211ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","14","12","PipelineRun","{""metadata"":{""name"":""12"",""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{}}","14-1756146063265494561","2025-08-25 18:21:03.265","2025-08-25 18:21:03.265") RETURNING `created_time`,`updated_time` records_test.go:310: Created record: name:"foo/results/bar/records/12" id:"14" uid:"14" data:{type:"PipelineRun" value:"{\"metadata\":{\"name\":\"12\",\"creationTimestamp\":null},\"spec\":{\"taskRunTemplate\":{}},\"status\":{}}"} etag:"14-1756146063265494561" created_time:{seconds:1756146063 nanos:265494561} create_time:{seconds:1756146063 nanos:265494561} updated_time:{seconds:1756146063 nanos:265494561} update_time:{seconds:1756146063 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.659ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [53.544ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","15","13","PipelineRun","{""metadata"":{""name"":""13"",""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{}}","15-1756146064265494561","2025-08-25 18:21:04.265","2025-08-25 18:21:04.265") RETURNING `created_time`,`updated_time` records_test.go:310: Created record: name:"foo/results/bar/records/13" id:"15" uid:"15" data:{type:"PipelineRun" value:"{\"metadata\":{\"name\":\"13\",\"creationTimestamp\":null},\"spec\":{\"taskRunTemplate\":{}},\"status\":{}}"} etag:"15-1756146064265494561" created_time:{seconds:1756146064 nanos:265494561} create_time:{seconds:1756146064 nanos:265494561} updated_time:{seconds:1756146064 nanos:265494561} update_time:{seconds:1756146064 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.678ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [140.052ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","16","14","PipelineRun","{""metadata"":{""name"":""14"",""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{}}","16-1756146065265494561","2025-08-25 18:21:05.265","2025-08-25 18:21:05.265") RETURNING `created_time`,`updated_time` records_test.go:310: Created record: name:"foo/results/bar/records/14" id:"16" uid:"16" data:{type:"PipelineRun" value:"{\"metadata\":{\"name\":\"14\",\"creationTimestamp\":null},\"spec\":{\"taskRunTemplate\":{}},\"status\":{}}"} etag:"16-1756146065265494561" created_time:{seconds:1756146065 nanos:265494561} create_time:{seconds:1756146065 nanos:265494561} updated_time:{seconds:1756146065 nanos:265494561} update_time:{seconds:1756146065 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.526ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [616.254ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","17","15","PipelineRun","{""metadata"":{""name"":""15"",""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{}}","17-1756146066265494561","2025-08-25 18:21:06.265","2025-08-25 18:21:06.265") RETURNING `created_time`,`updated_time` records_test.go:310: Created record: name:"foo/results/bar/records/15" id:"17" uid:"17" data:{type:"PipelineRun" value:"{\"metadata\":{\"name\":\"15\",\"creationTimestamp\":null},\"spec\":{\"taskRunTemplate\":{}},\"status\":{}}"} etag:"17-1756146066265494561" created_time:{seconds:1756146066 nanos:265494561} create_time:{seconds:1756146066 nanos:265494561} updated_time:{seconds:1756146066 nanos:265494561} update_time:{seconds:1756146066 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.539ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [41.210ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","18","16","PipelineRun","{""metadata"":{""name"":""16"",""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{}}","18-1756146067265494561","2025-08-25 18:21:07.265","2025-08-25 18:21:07.265") RETURNING `created_time`,`updated_time` records_test.go:310: Created record: name:"foo/results/bar/records/16" id:"18" uid:"18" data:{type:"PipelineRun" value:"{\"metadata\":{\"name\":\"16\",\"creationTimestamp\":null},\"spec\":{\"taskRunTemplate\":{}},\"status\":{}}"} etag:"18-1756146067265494561" created_time:{seconds:1756146067 nanos:265494561} create_time:{seconds:1756146067 nanos:265494561} updated_time:{seconds:1756146067 nanos:265494561} update_time:{seconds:1756146067 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.625ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [42.507ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","19","17","PipelineRun","{""metadata"":{""name"":""17"",""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{}}","19-1756146068265494561","2025-08-25 18:21:08.265","2025-08-25 18:21:08.265") RETURNING `created_time`,`updated_time` records_test.go:310: Created record: name:"foo/results/bar/records/17" id:"19" uid:"19" data:{type:"PipelineRun" value:"{\"metadata\":{\"name\":\"17\",\"creationTimestamp\":null},\"spec\":{\"taskRunTemplate\":{}},\"status\":{}}"} etag:"19-1756146068265494561" created_time:{seconds:1756146068 nanos:265494561} create_time:{seconds:1756146068 nanos:265494561} updated_time:{seconds:1756146068 nanos:265494561} update_time:{seconds:1756146068 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.560ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [31.733ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","20","18","PipelineRun","{""metadata"":{""name"":""18"",""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{}}","20-1756146069265494561","2025-08-25 18:21:09.265","2025-08-25 18:21:09.265") RETURNING `created_time`,`updated_time` records_test.go:310: Created record: name:"foo/results/bar/records/18" id:"20" uid:"20" data:{type:"PipelineRun" value:"{\"metadata\":{\"name\":\"18\",\"creationTimestamp\":null},\"spec\":{\"taskRunTemplate\":{}},\"status\":{}}"} etag:"20-1756146069265494561" created_time:{seconds:1756146069 nanos:265494561} create_time:{seconds:1756146069 nanos:265494561} updated_time:{seconds:1756146069 nanos:265494561} update_time:{seconds:1756146069 nanos:265494561} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.434ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [28.457ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","21","19","PipelineRun","{""metadata"":{""name"":""19"",""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{}}","21-1756146070265494561","2025-08-25 18:21:10.265","2025-08-25 18:21:10.265") RETURNING `created_time`,`updated_time` records_test.go:310: Created record: name:"foo/results/bar/records/19" id:"21" uid:"21" data:{type:"PipelineRun" value:"{\"metadata\":{\"name\":\"19\",\"creationTimestamp\":null},\"spec\":{\"taskRunTemplate\":{}},\"status\":{}}"} etag:"21-1756146070265494561" created_time:{seconds:1756146070 nanos:265494561} create_time:{seconds:1756146070 nanos:265494561} updated_time:{seconds:1756146070 nanos:265494561} update_time:{seconds:1756146070 nanos:265494561} === RUN TestListRecords/all records_test.go:475: Parent: "foo/results/bar" === NAME TestListRecords db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [13.805ms] [rows:20] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" ORDER BY id ASC LIMIT 51 === RUN TestListRecords/list_all_records_without_knowing_the_result_name records_test.go:475: Parent: "foo/results/-" === NAME TestListRecords db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [3.023ms] [rows:20] SELECT * FROM `records` WHERE parent = "foo" ORDER BY id ASC LIMIT 51 === RUN TestListRecords/list_all_records_without_knowing_the_parent_and_the_result_name records_test.go:475: Parent: "-/results/-" === NAME TestListRecords db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [3.213ms] [rows:20] SELECT * FROM `records` ORDER BY id ASC LIMIT 51 === RUN TestListRecords/filter_by_record_property records_test.go:475: Parent: "foo/results/bar" === NAME TestListRecords db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [0.849ms] [rows:1] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" AND (name = '0') ORDER BY id ASC LIMIT 51 === RUN TestListRecords/filter_by_record_data records_test.go:475: Parent: "foo/results/bar" === NAME TestListRecords db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [0.958ms] [rows:1] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" AND ((data->'metadata'->>'name') = '0') ORDER BY id ASC LIMIT 51 === RUN TestListRecords/filter_by_record_type records_test.go:475: Parent: "foo/results/bar" === NAME TestListRecords db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [3.972ms] [rows:10] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" AND (type = 'TaskRun') ORDER BY id ASC LIMIT 51 === RUN TestListRecords/filter_doesn't_match_any_records records_test.go:475: Parent: "foo/results/-" === NAME TestListRecords db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [0.442ms] [rows:0] SELECT * FROM `records` WHERE parent = "foo" AND ((data->'metadata'->>'name') = 'unknown') ORDER BY id ASC LIMIT 51 === RUN TestListRecords/unknown_type records_test.go:475: Parent: "foo/results/bar" === RUN TestListRecords/unknown_any_field records_test.go:475: Parent: "foo/results/bar" === RUN TestListRecords/malformed_parent records_test.go:475: Parent: "unknown" === RUN TestListRecords/invalid_order_by_clause records_test.go:475: Parent: "foo/results/bar" === RUN TestListRecords/invalid_sort_direction records_test.go:475: Parent: "foo/results/bar" === RUN TestListRecords/paginate_records_using_default_order === NAME TestListRecords db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.519ms] [rows:6] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" ORDER BY id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.677ms] [rows:6] SELECT * FROM `records` WHERE id > "14" AND parent = "foo" AND result_name = "bar" ORDER BY id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.867ms] [rows:6] SELECT * FROM `records` WHERE id > "19" AND parent = "foo" AND result_name = "bar" ORDER BY id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.517ms] [rows:5] SELECT * FROM `records` WHERE id > "4" AND parent = "foo" AND result_name = "bar" ORDER BY id ASC LIMIT 6 === RUN TestListRecords/paginate_records_sorting_by_create_time_asc === NAME TestListRecords db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.305ms] [rows:6] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" ORDER BY created_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.589ms] [rows:6] SELECT * FROM `records` WHERE (created_time, id) > ("2025-08-25 18:20:55.265", "6") AND parent = "foo" AND result_name = "bar" ORDER BY created_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.237ms] [rows:6] SELECT * FROM `records` WHERE (created_time, id) > ("2025-08-25 18:21:00.265", "11") AND parent = "foo" AND result_name = "bar" ORDER BY created_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.506ms] [rows:5] SELECT * FROM `records` WHERE (created_time, id) > ("2025-08-25 18:21:05.265", "16") AND parent = "foo" AND result_name = "bar" ORDER BY created_time ASC,id ASC LIMIT 6 === RUN TestListRecords/paginate_records_sorting_by_create_time_desc === NAME TestListRecords db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.761ms] [rows:6] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" ORDER BY created_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.666ms] [rows:6] SELECT * FROM `records` WHERE (created_time, id) < ("2025-08-25 18:21:06.265", "17") AND parent = "foo" AND result_name = "bar" ORDER BY created_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.567ms] [rows:6] SELECT * FROM `records` WHERE (created_time, id) < ("2025-08-25 18:21:01.265", "12") AND parent = "foo" AND result_name = "bar" ORDER BY created_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.148ms] [rows:5] SELECT * FROM `records` WHERE (created_time, id) < ("2025-08-25 18:20:56.265", "7") AND parent = "foo" AND result_name = "bar" ORDER BY created_time DESC,id DESC LIMIT 6 === RUN TestListRecords/paginate_records_sorting_by_update_time_asc === NAME TestListRecords db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [0.921ms] [rows:6] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" ORDER BY updated_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.694ms] [rows:6] SELECT * FROM `records` WHERE (updated_time, id) > ("2025-08-25 18:20:55.265", "6") AND parent = "foo" AND result_name = "bar" ORDER BY updated_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.569ms] [rows:6] SELECT * FROM `records` WHERE (updated_time, id) > ("2025-08-25 18:21:00.265", "11") AND parent = "foo" AND result_name = "bar" ORDER BY updated_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.404ms] [rows:5] SELECT * FROM `records` WHERE (updated_time, id) > ("2025-08-25 18:21:05.265", "16") AND parent = "foo" AND result_name = "bar" ORDER BY updated_time ASC,id ASC LIMIT 6 === RUN TestListRecords/paginate_records_sorting_by_update_time_desc === NAME TestListRecords db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.779ms] [rows:6] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" ORDER BY updated_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.352ms] [rows:6] SELECT * FROM `records` WHERE (updated_time, id) < ("2025-08-25 18:21:06.265", "17") AND parent = "foo" AND result_name = "bar" ORDER BY updated_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.845ms] [rows:6] SELECT * FROM `records` WHERE (updated_time, id) < ("2025-08-25 18:21:01.265", "12") AND parent = "foo" AND result_name = "bar" ORDER BY updated_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.272ms] [rows:5] SELECT * FROM `records` WHERE (updated_time, id) < ("2025-08-25 18:20:56.265", "7") AND parent = "foo" AND result_name = "bar" ORDER BY updated_time DESC,id DESC LIMIT 6 --- PASS: TestListRecords (4.85s) --- PASS: TestListRecords/all (0.26s) --- PASS: TestListRecords/list_all_records_without_knowing_the_result_name (0.22s) --- PASS: TestListRecords/list_all_records_without_knowing_the_parent_and_the_result_name (0.25s) --- PASS: TestListRecords/filter_by_record_property (0.02s) --- PASS: TestListRecords/filter_by_record_data (0.03s) --- PASS: TestListRecords/filter_by_record_type (0.11s) --- PASS: TestListRecords/filter_doesn't_match_any_records (0.00s) --- PASS: TestListRecords/unknown_type (0.00s) --- PASS: TestListRecords/unknown_any_field (0.00s) --- PASS: TestListRecords/malformed_parent (0.00s) --- PASS: TestListRecords/invalid_order_by_clause (0.00s) --- PASS: TestListRecords/invalid_sort_direction (0.00s) --- PASS: TestListRecords/paginate_records_using_default_order (0.33s) --- PASS: TestListRecords/paginate_records_sorting_by_create_time_asc (0.29s) --- PASS: TestListRecords/paginate_records_sorting_by_create_time_desc (0.21s) --- PASS: TestListRecords/paginate_records_sorting_by_update_time_asc (0.21s) --- PASS: TestListRecords/paginate_records_sorting_by_update_time_desc (0.25s) === RUN TestUpdateRecord records_test.go:542: test database: /tmp/testdb572947014 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.099ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.186ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [9.762ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [13.775ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.156ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [12.577ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [20.509ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146061.8215756,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [9.101ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","22","bar","null","","",NULL,NULL,0,"null","22-1756146070265494561","2025-08-25 18:21:10.265","2025-08-25 18:21:10.265") RETURNING `created_time`,`updated_time` === RUN TestUpdateRecord/success === NAME TestUpdateRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [2.801ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [10.590ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","22","bar","23","a","","","23-1756146070265494561","2025-08-25 18:21:10.265","2025-08-25 18:21:10.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.595ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "a" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [0.916ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="a",`type`="",`data`="{""metadata"":{""name"":""taskrun""}}",`created_time`="2025-08-25 18:21:10.265",`updated_time`="2025-08-25 18:21:11.265",`etag`="23-1756146071265494561" WHERE `parent` = "foo" AND `result_id` = "22" AND `id` = "23" === RUN TestUpdateRecord/ignored_fields === NAME TestUpdateRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.634ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [28.722ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","22","bar","24","b","","","24-1756146071265494561","2025-08-25 18:21:11.265","2025-08-25 18:21:11.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.776ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "b" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [0.884ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="b",`type`="",`data`="",`created_time`="2025-08-25 18:21:11.265",`updated_time`="2025-08-25 18:21:12.265",`etag`="24-1756146072265494561" WHERE `parent` = "foo" AND `result_id` = "22" AND `id` = "24" === RUN TestUpdateRecord/rename === NAME TestUpdateRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.584ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "doesnotexist" ORDER BY `records`.`id` LIMIT 1 === RUN TestUpdateRecord/bad_name === RUN TestUpdateRecord/etag_mismatch === NAME TestUpdateRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.732ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "a" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestUpdateRecord (0.20s) --- PASS: TestUpdateRecord/success (0.03s) --- PASS: TestUpdateRecord/ignored_fields (0.06s) --- PASS: TestUpdateRecord/rename (0.00s) --- PASS: TestUpdateRecord/bad_name (0.00s) --- PASS: TestUpdateRecord/etag_mismatch (0.00s) === RUN TestDeleteRecord records_test.go:684: test database: /tmp/testdb539365658 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.064ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.200ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [12.536ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [13.065ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.167ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [14.689ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [13.123ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146062.0274658,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [15.026ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","25","bar","null","","",NULL,NULL,0,"null","25-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [4.539ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [22.044ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","25","bar","26","baz","","","26-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` === RUN TestDeleteRecord/success === NAME TestDeleteRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.863ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:246 [16.016ms] [rows:1] DELETE FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_id` = "25" AND `records`.`result_name` = "bar" AND `records`.`id` = "26" AND `records`.`name` = "baz" AND `records`.`created_time` = "2025-08-25 18:21:15.265" AND `records`.`updated_time` = "2025-08-25 18:21:15.265" AND `records`.`etag` = "26-1756146075265494561" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.473ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 === RUN TestDeleteRecord/already_deleted === NAME TestDeleteRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.369ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestDeleteRecord (0.16s) --- PASS: TestDeleteRecord/success (0.02s) --- PASS: TestDeleteRecord/already_deleted (0.00s) === RUN TestListRecords_multiresult records_test.go:731: test database: /tmp/testdb3192048989 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.068ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.177ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [9.398ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [9.379ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.058ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [59.570ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [8.925ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146062.2308156,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [10.476ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("0","27","0","null","","",NULL,NULL,0,"null","27-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [2.106ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "0" AND `results`.`name` = "0" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [8.224ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("0","27","0","28","0","","","28-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.422ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "0" AND `results`.`name` = "0" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [8.076ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("0","27","0","29","1","","","29-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [21.349ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("0","30","1","null","","",NULL,NULL,0,"null","30-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.640ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "0" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [10.107ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("0","30","1","31","0","","","31-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.578ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "0" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [13.015ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("0","30","1","32","1","","","32-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [12.769ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("1","33","0","null","","",NULL,NULL,0,"null","33-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.601ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "1" AND `results`.`name` = "0" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [14.976ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("1","33","0","34","0","","","34-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.584ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "1" AND `results`.`name` = "0" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [12.480ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("1","33","0","35","1","","","35-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [18.718ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("1","36","1","null","","",NULL,NULL,0,"null","36-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.571ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "1" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [42.940ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("1","36","1","37","0","","","37-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.621ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "1" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [14.164ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("1","36","1","38","1","","","38-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.133ms] [rows:4] SELECT * FROM `records` WHERE parent = "0" ORDER BY id ASC LIMIT 51 --- PASS: TestListRecords_multiresult (0.37s) === RUN TestCreateResult results_test.go:43: test database: /tmp/testdb4248438615 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.052ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.172ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [16.901ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [10.468ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.190ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [11.225ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [10.887ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146062.5412571,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} === RUN TestCreateResult/success === NAME TestCreateResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [15.219ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","39","bar","{""foo"":""bar""}","","",NULL,NULL,0,"null","39-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [3.418ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 === RUN TestCreateResult/mismatched_parent === RUN TestCreateResult/missing_name === RUN TestCreateResult/already_exists === NAME TestCreateResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 UNIQUE constraint failed: results.parent, results.name [1.393ms] [rows:0] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","40","bar","{""foo"":""bar""}","","",NULL,NULL,0,"null","40-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` === RUN TestCreateResult/large_name === RUN TestCreateResult/large_result_summary_type --- PASS: TestCreateResult (0.11s) --- PASS: TestCreateResult/success (0.03s) --- PASS: TestCreateResult/mismatched_parent (0.00s) --- PASS: TestCreateResult/missing_name (0.00s) --- PASS: TestCreateResult/already_exists (0.00s) --- PASS: TestCreateResult/large_name (0.00s) --- PASS: TestCreateResult/large_result_summary_type (0.00s) === RUN TestUpdateResult results_test.go:139: test database: /tmp/testdb2123286793 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.069ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.197ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [20.510ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [23.546ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.196ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [16.718ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [11.300ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146062.6860752,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} === RUN TestUpdateResult/success === NAME TestUpdateResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [9.308ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","42","bar-0","null","","",NULL,NULL,0,"null","42-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.894ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar-0" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:140 [0.891ms] [rows:1] UPDATE `results` SET `name`="bar-0",`annotations`="{""foo"":""bar""}",`created_time`="2025-08-25 18:21:15.265",`updated_time`="2025-08-25 18:21:16.265",`recordsummary_record`="foo/results/bar/records/baz",`recordsummary_type`="bar",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="42-1756146076265494561" WHERE `parent` = "foo" AND `id` = "42" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.774ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar-0" ORDER BY `results`.`id` LIMIT 1 === RUN TestUpdateResult/test_update_with_empty_result === NAME TestUpdateResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [8.398ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","43","bar-1","null","","",NULL,NULL,0,"null","43-1756146076265494561","2025-08-25 18:21:16.265","2025-08-25 18:21:16.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.708ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar-1" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:140 [1.142ms] [rows:1] UPDATE `results` SET `name`="bar-1",`annotations`="null",`created_time`="2025-08-25 18:21:16.265",`updated_time`="2025-08-25 18:21:17.265",`recordsummary_record`="",`recordsummary_type`="",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="43-1756146077265494561" WHERE `parent` = "foo" AND `id` = "43" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [1.163ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar-1" ORDER BY `results`.`id` LIMIT 1 === RUN TestUpdateResult/test_update_with_invalid_name === NAME TestUpdateResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [40.173ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","44","bar-2","null","","",NULL,NULL,0,"null","44-1756146077265494561","2025-08-25 18:21:17.265","2025-08-25 18:21:17.265") RETURNING `created_time`,`updated_time` === RUN TestUpdateResult/test_update_a_non-existent_result === NAME TestUpdateResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [17.825ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","45","bar-3","null","","",NULL,NULL,0,"null","45-1756146078265494561","2025-08-25 18:21:18.265","2025-08-25 18:21:18.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.623ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar-non-existent" ORDER BY `results`.`id` LIMIT 1 === RUN TestUpdateResult/test_update_with_invalid_etag === NAME TestUpdateResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [21.055ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","46","bar-4","null","","",NULL,NULL,0,"null","46-1756146079265494561","2025-08-25 18:21:19.265","2025-08-25 18:21:19.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [1.023ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar-4" ORDER BY `results`.`id` LIMIT 1 === RUN TestUpdateResult/result_summary_with_no_record/type === NAME TestUpdateResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [23.433ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","47","bar-5","null","","",NULL,NULL,0,"null","47-1756146080265494561","2025-08-25 18:21:20.265","2025-08-25 18:21:20.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.965ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar-5" ORDER BY `results`.`id` LIMIT 1 --- PASS: TestUpdateResult (0.29s) --- PASS: TestUpdateResult/success (0.03s) --- PASS: TestUpdateResult/test_update_with_empty_result (0.04s) --- PASS: TestUpdateResult/test_update_with_invalid_name (0.04s) --- PASS: TestUpdateResult/test_update_a_non-existent_result (0.02s) --- PASS: TestUpdateResult/test_update_with_invalid_etag (0.02s) --- PASS: TestUpdateResult/result_summary_with_no_record/type (0.03s) === RUN TestGetResult results_test.go:246: test database: /tmp/testdb2985026201 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.124ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.116ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [31.551ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [12.543ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.157ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [45.405ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [10.450ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146062.9975522,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [13.571ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","48","bar","null","","",NULL,NULL,0,"null","48-1756146081265494561","2025-08-25 18:21:21.265","2025-08-25 18:21:21.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.516ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 === RUN TestGetResult/no_name === RUN TestGetResult/not_found === NAME TestGetResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [3.575ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "a" AND `results`.`name` = "doesnotexist" ORDER BY `results`.`id` LIMIT 1 --- PASS: TestGetResult (0.16s) --- PASS: TestGetResult/no_name (0.00s) --- PASS: TestGetResult/not_found (0.00s) === RUN TestDeleteResult results_test.go:296: test database: /tmp/testdb3890303871 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.059ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.183ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [52.916ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [30.810ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.184ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [30.305ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [16.262ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146063.2336624,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [26.524ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","49","bar","null","","",NULL,NULL,0,"null","49-1756146081265494561","2025-08-25 18:21:21.265","2025-08-25 18:21:21.265") RETURNING `created_time`,`updated_time` === RUN TestDeleteResult/success === NAME TestDeleteResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [0.992ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:174 [26.562ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "49" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-08-25 18:21:21.265" AND `results`.`updated_time` = "2025-08-25 18:21:21.265" AND `results`.`etag` = "49-1756146081265494561" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.571ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 === RUN TestDeleteResult/already_deleted === NAME TestDeleteResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 record not found [0.357ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 --- PASS: TestDeleteResult (0.28s) --- PASS: TestDeleteResult/success (0.03s) --- PASS: TestDeleteResult/already_deleted (0.00s) === RUN TestCascadeDelete results_test.go:332: test database: /tmp/testdb3751835426 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.071ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.190ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [11.468ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [12.198ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.184ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [8.258ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [6.261ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146063.3947775,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [23.912ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","50","bar","null","","",NULL,NULL,0,"null","50-1756146081265494561","2025-08-25 18:21:21.265","2025-08-25 18:21:21.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [5.695ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [40.238ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","50","bar","51","baz","","","51-1756146081265494561","2025-08-25 18:21:21.265","2025-08-25 18:21:21.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [4.635ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:174 [23.606ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "50" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-08-25 18:21:21.265" AND `results`.`updated_time` = "2025-08-25 18:21:21.265" AND `results`.`etag` = "50-1756146081265494561" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.556ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestCascadeDelete (0.20s) === RUN TestListResults results_test.go:366: test database: /tmp/testdb4226552598 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.061ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [1.503ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [12.579ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [10.162ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.160ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [11.735ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [11.656ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146063.569743,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [10.348ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","eb0f57e5-18bc-444a-8c80-b6341b96d0d7","{""foo"":""bar-1""}","foo/results/eb0f57e5-18bc-444a-8c80-b6341b96d0d7/records/d55452b8-a4b5-458b-b5d1-43ad547f5cfe","resource_type","2025-08-25 18:21:22.265","2025-08-25 18:22:22.265",0,"null","1-1756146082265494561","2025-08-25 18:21:22.265","2025-08-25 18:21:22.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [10.152ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","2","48bd41f0-8be5-4b4a-8b0f-641cec22740e","{""foo"":""bar-2""}","foo/results/48bd41f0-8be5-4b4a-8b0f-641cec22740e/records/2f81e76b-2182-4275-abb7-d88d3fa12f5b","resource_type","2025-08-25 18:21:23.265","2025-08-25 18:22:23.265",0,"null","2-1756146083265494561","2025-08-25 18:21:23.265","2025-08-25 18:21:23.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [16.806ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","3","a86c7462-5711-4d21-a46a-7419db22c2b2","{""foo"":""bar-3""}","foo/results/a86c7462-5711-4d21-a46a-7419db22c2b2/records/4f356aed-b839-41e8-a20f-468410152ddd","resource_type","2025-08-25 18:21:24.265","2025-08-25 18:22:24.265",0,"null","3-1756146084265494561","2025-08-25 18:21:24.265","2025-08-25 18:21:24.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [13.080ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","4","96210c66-22f5-48cb-a326-2bdde758f28d","{""foo"":""bar-4""}","foo/results/96210c66-22f5-48cb-a326-2bdde758f28d/records/b2186ab5-bbb6-408d-8a3d-5d9c3e64228e","resource_type","2025-08-25 18:21:25.265","2025-08-25 18:22:25.265",0,"null","4-1756146085265494561","2025-08-25 18:21:25.265","2025-08-25 18:21:25.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [12.996ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","5","5192bdde-f9f5-47ef-8934-fbc5ac491e37","{""foo"":""bar-5""}","foo/results/5192bdde-f9f5-47ef-8934-fbc5ac491e37/records/00896182-0c10-41fd-99de-2ecba185e37a","resource_type","2025-08-25 18:21:26.265","2025-08-25 18:22:26.265",0,"null","5-1756146086265494561","2025-08-25 18:21:26.265","2025-08-25 18:21:26.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [49.473ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","6","15a66331-ca82-4fdb-9f42-125b0cca3e50","{""foo"":""bar-6""}","foo/results/15a66331-ca82-4fdb-9f42-125b0cca3e50/records/1402d121-1659-4af8-8822-fd7bb9011f8c","resource_type","2025-08-25 18:21:27.265","2025-08-25 18:22:27.265",0,"null","6-1756146087265494561","2025-08-25 18:21:27.265","2025-08-25 18:21:27.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [15.650ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","7","6b00b367-b442-4922-8769-2b6af9cb63c3","{""foo"":""bar-7""}","foo/results/6b00b367-b442-4922-8769-2b6af9cb63c3/records/d8456cf7-805f-407d-82b5-a1805405bd57","resource_type","2025-08-25 18:21:28.265","2025-08-25 18:22:28.265",0,"null","7-1756146088265494561","2025-08-25 18:21:28.265","2025-08-25 18:21:28.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [12.111ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","8","3acf62bc-7685-4be4-ab44-33189d5612d8","{""foo"":""bar-8""}","foo/results/3acf62bc-7685-4be4-ab44-33189d5612d8/records/3671353e-4845-49ba-be8b-542ed2fd3c20","resource_type","2025-08-25 18:21:29.265","2025-08-25 18:22:29.265",0,"null","8-1756146089265494561","2025-08-25 18:21:29.265","2025-08-25 18:21:29.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [22.608ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","9","b4e90ed3-b15c-4712-bdca-2a0f87821a9e","{""foo"":""bar-9""}","foo/results/b4e90ed3-b15c-4712-bdca-2a0f87821a9e/records/c5c5d34b-75a4-4187-82d8-9ea26bf330e2","resource_type","2025-08-25 18:21:30.265","2025-08-25 18:22:30.265",0,"null","9-1756146090265494561","2025-08-25 18:21:30.265","2025-08-25 18:21:30.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [32.469ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","10","4dbe4856-1afa-4084-9eda-8a614eecb49c","{""foo"":""bar-10""}","foo/results/4dbe4856-1afa-4084-9eda-8a614eecb49c/records/c49e9329-4a06-472a-9bec-a3550d89dc74","resource_type","2025-08-25 18:21:31.265","2025-08-25 18:22:31.265",0,"null","10-1756146091265494561","2025-08-25 18:21:31.265","2025-08-25 18:21:31.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [45.686ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","11","dc595f82-f70c-4eab-8ef6-c9bd9d69779b","{""foo"":""bar-11""}","foo/results/dc595f82-f70c-4eab-8ef6-c9bd9d69779b/records/00366541-b9de-40cb-8f8d-88ada0430640","resource_type","2025-08-25 18:21:32.265","2025-08-25 18:22:32.265",0,"null","11-1756146092265494561","2025-08-25 18:21:32.265","2025-08-25 18:21:32.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [26.194ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","12","d82af8de-e10f-468c-affc-73928165c302","{""foo"":""bar-12""}","foo/results/d82af8de-e10f-468c-affc-73928165c302/records/3234b387-9af3-4227-8db3-30bcfc0b641d","resource_type","2025-08-25 18:21:33.265","2025-08-25 18:22:33.265",0,"null","12-1756146093265494561","2025-08-25 18:21:33.265","2025-08-25 18:21:33.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [17.624ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","13","34e7888e-3957-4ab2-a7b7-46c2e0f3f709","{""foo"":""bar-13""}","foo/results/34e7888e-3957-4ab2-a7b7-46c2e0f3f709/records/f81b6fef-2eab-4360-a5ff-d08351bc1e42","resource_type","2025-08-25 18:21:34.265","2025-08-25 18:22:34.265",0,"null","13-1756146094265494561","2025-08-25 18:21:34.265","2025-08-25 18:21:34.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [22.347ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","14","355f287e-2623-4dc4-beb9-06f899b9d0b2","{""foo"":""bar-14""}","foo/results/355f287e-2623-4dc4-beb9-06f899b9d0b2/records/e9ddc9ae-9ea4-4267-8415-0226bf817356","resource_type","2025-08-25 18:21:35.265","2025-08-25 18:22:35.265",0,"null","14-1756146095265494561","2025-08-25 18:21:35.265","2025-08-25 18:21:35.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [8.815ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","15","96428790-e475-4369-9384-b58b1c06d594","{""foo"":""bar-15""}","foo/results/96428790-e475-4369-9384-b58b1c06d594/records/d5b3eae9-13c0-4695-b8fc-23f01baf3bba","resource_type","2025-08-25 18:21:36.265","2025-08-25 18:22:36.265",0,"null","15-1756146096265494561","2025-08-25 18:21:36.265","2025-08-25 18:21:36.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [17.267ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","16","a7b4542a-ace4-4411-ad9f-8500a98809d5","{""foo"":""bar-16""}","foo/results/a7b4542a-ace4-4411-ad9f-8500a98809d5/records/6fed0386-f382-4e96-a43d-a4008b632124","resource_type","2025-08-25 18:21:37.265","2025-08-25 18:22:37.265",0,"null","16-1756146097265494561","2025-08-25 18:21:37.265","2025-08-25 18:21:37.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [27.440ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","17","bcbe2ca1-328d-4472-a93c-088a67490274","{""foo"":""bar-17""}","foo/results/bcbe2ca1-328d-4472-a93c-088a67490274/records/314d4fef-0d14-4c6e-8b78-340f20737ace","resource_type","2025-08-25 18:21:38.265","2025-08-25 18:22:38.265",0,"null","17-1756146098265494561","2025-08-25 18:21:38.265","2025-08-25 18:21:38.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [18.987ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","18","80a44e03-5323-4a7c-9c07-7e61ed50327f","{""foo"":""bar-18""}","foo/results/80a44e03-5323-4a7c-9c07-7e61ed50327f/records/b654d14d-eabb-410b-aa37-0280436d0c4c","resource_type","2025-08-25 18:21:39.265","2025-08-25 18:22:39.265",0,"null","18-1756146099265494561","2025-08-25 18:21:39.265","2025-08-25 18:21:39.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [41.344ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","19","a2236979-9f32-4da0-8b2f-0f33bf381555","{""foo"":""bar-19""}","foo/results/a2236979-9f32-4da0-8b2f-0f33bf381555/records/8ef2a7a6-4c07-498a-953e-5dfa227aec3c","resource_type","2025-08-25 18:21:40.265","2025-08-25 18:22:40.265",0,"null","19-1756146100265494561","2025-08-25 18:21:40.265","2025-08-25 18:21:40.265") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [28.667ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","20","f5e0eb96-6ac5-426e-a2c5-148298bcbd17","{""foo"":""bar-20""}","foo/results/f5e0eb96-6ac5-426e-a2c5-148298bcbd17/records/59ef93f0-8426-47f4-9224-b92a3a290de4","resource_type","2025-08-25 18:21:41.265","2025-08-25 18:22:41.265",0,"null","20-1756146101265494561","2025-08-25 18:21:41.265","2025-08-25 18:21:41.265") RETURNING `created_time`,`updated_time` === RUN TestListResults/list_all_results === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [24.983ms] [rows:20] SELECT * FROM `results` WHERE parent = "foo" ORDER BY id ASC LIMIT 51 === RUN TestListResults/list_all_results_without_knowing_the_parent_name === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [4.950ms] [rows:20] SELECT * FROM `results` ORDER BY id ASC LIMIT 51 === RUN TestListResults/no_results === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [0.758ms] [rows:0] SELECT * FROM `results` WHERE parent = "foo-doesnotexist" ORDER BY id ASC LIMIT 51 === RUN TestListResults/missing_parent === RUN TestListResults/simple_query === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.015ms] [rows:1] SELECT * FROM `results` WHERE parent = "foo" AND (id = '1') ORDER BY id ASC LIMIT 51 === RUN TestListResults/complex_query === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.905ms] [rows:2] SELECT * FROM `results` WHERE parent = "foo" AND (((id = '1') OR (id = '10'))) ORDER BY id ASC LIMIT 51 === RUN TestListResults/filter_all === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [0.553ms] [rows:0] SELECT * FROM `results` WHERE parent = "foo" AND (id = 'doesnotexist') ORDER BY id ASC LIMIT 51 === RUN TestListResults/filter_by_annotations === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [3.618ms] [rows:1] SELECT * FROM `results` WHERE parent = "foo" AND annotations->>'foo' LIKE '%' || '-1' ORDER BY id ASC LIMIT 51 === RUN TestListResults/non-boolean_expression === RUN TestListResults/non-existing_field === RUN TestListResults/invalid_page_size === RUN TestListResults/invalid_order_field_name === RUN TestListResults/invalid_order_clause === RUN TestListResults/invalid_order_direction === RUN TestListResults/paginate_results_using_default_order === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [5.762ms] [rows:6] SELECT * FROM `results` WHERE parent = "foo" ORDER BY id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [4.014ms] [rows:6] SELECT * FROM `results` WHERE id > "13" AND parent = "foo" ORDER BY id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [24.590ms] [rows:6] SELECT * FROM `results` WHERE id > "18" AND parent = "foo" ORDER BY id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [5.378ms] [rows:5] SELECT * FROM `results` WHERE id > "4" AND parent = "foo" ORDER BY id ASC LIMIT 6 === RUN TestListResults/paginate_results_sorting_by_create_time_asc === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [3.505ms] [rows:6] SELECT * FROM `results` WHERE parent = "foo" ORDER BY created_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [7.401ms] [rows:6] SELECT * FROM `results` WHERE (created_time, id) > ("2025-08-25 18:21:26.265", "5") AND parent = "foo" ORDER BY created_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [3.039ms] [rows:6] SELECT * FROM `results` WHERE (created_time, id) > ("2025-08-25 18:21:31.265", "10") AND parent = "foo" ORDER BY created_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.174ms] [rows:5] SELECT * FROM `results` WHERE (created_time, id) > ("2025-08-25 18:21:36.265", "15") AND parent = "foo" ORDER BY created_time ASC,id ASC LIMIT 6 === RUN TestListResults/paginate_results_sorting_by_create_time_desc === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.292ms] [rows:6] SELECT * FROM `results` WHERE parent = "foo" ORDER BY created_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.060ms] [rows:6] SELECT * FROM `results` WHERE (created_time, id) < ("2025-08-25 18:21:37.265", "16") AND parent = "foo" ORDER BY created_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.492ms] [rows:6] SELECT * FROM `results` WHERE (created_time, id) < ("2025-08-25 18:21:32.265", "11") AND parent = "foo" ORDER BY created_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.214ms] [rows:5] SELECT * FROM `results` WHERE (created_time, id) < ("2025-08-25 18:21:27.265", "6") AND parent = "foo" ORDER BY created_time DESC,id DESC LIMIT 6 === RUN TestListResults/paginate_results_sorting_by_update_time_asc === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.904ms] [rows:6] SELECT * FROM `results` WHERE parent = "foo" ORDER BY updated_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.166ms] [rows:6] SELECT * FROM `results` WHERE (updated_time, id) > ("2025-08-25 18:21:26.265", "5") AND parent = "foo" ORDER BY updated_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.279ms] [rows:6] SELECT * FROM `results` WHERE (updated_time, id) > ("2025-08-25 18:21:31.265", "10") AND parent = "foo" ORDER BY updated_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.030ms] [rows:5] SELECT * FROM `results` WHERE (updated_time, id) > ("2025-08-25 18:21:36.265", "15") AND parent = "foo" ORDER BY updated_time ASC,id ASC LIMIT 6 === RUN TestListResults/paginate_results_sorting_by_update_time_desc === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.764ms] [rows:6] SELECT * FROM `results` WHERE parent = "foo" ORDER BY updated_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.209ms] [rows:6] SELECT * FROM `results` WHERE (updated_time, id) < ("2025-08-25 18:21:37.265", "16") AND parent = "foo" ORDER BY updated_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.156ms] [rows:6] SELECT * FROM `results` WHERE (updated_time, id) < ("2025-08-25 18:21:32.265", "11") AND parent = "foo" ORDER BY updated_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.561ms] [rows:5] SELECT * FROM `results` WHERE (updated_time, id) < ("2025-08-25 18:21:27.265", "6") AND parent = "foo" ORDER BY updated_time DESC,id DESC LIMIT 6 === RUN TestListResults/paginate_results_sorting_by_summary.start_time_asc === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [3.005ms] [rows:6] SELECT * FROM `results` WHERE parent = "foo" ORDER BY recordsummary_start_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.230ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_start_time, id) > ("2025-08-25 18:21:26.265", "5") AND parent = "foo" ORDER BY recordsummary_start_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.004ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_start_time, id) > ("2025-08-25 18:21:31.265", "10") AND parent = "foo" ORDER BY recordsummary_start_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.961ms] [rows:5] SELECT * FROM `results` WHERE (recordsummary_start_time, id) > ("2025-08-25 18:21:36.265", "15") AND parent = "foo" ORDER BY recordsummary_start_time ASC,id ASC LIMIT 6 === RUN TestListResults/paginate_results_sorting_by_summary.start_time_desc === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.242ms] [rows:6] SELECT * FROM `results` WHERE parent = "foo" ORDER BY recordsummary_start_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.640ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_start_time, id) < ("2025-08-25 18:21:37.265", "16") AND parent = "foo" ORDER BY recordsummary_start_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [3.201ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_start_time, id) < ("2025-08-25 18:21:32.265", "11") AND parent = "foo" ORDER BY recordsummary_start_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.729ms] [rows:5] SELECT * FROM `results` WHERE (recordsummary_start_time, id) < ("2025-08-25 18:21:27.265", "6") AND parent = "foo" ORDER BY recordsummary_start_time DESC,id DESC LIMIT 6 === RUN TestListResults/paginate_results_sorting_by_summary.end_time_asc === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.147ms] [rows:6] SELECT * FROM `results` WHERE parent = "foo" ORDER BY recordsummary_end_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.244ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_end_time, id) > ("2025-08-25 18:22:26.265", "5") AND parent = "foo" ORDER BY recordsummary_end_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.180ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_end_time, id) > ("2025-08-25 18:22:31.265", "10") AND parent = "foo" ORDER BY recordsummary_end_time ASC,id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.909ms] [rows:5] SELECT * FROM `results` WHERE (recordsummary_end_time, id) > ("2025-08-25 18:22:36.265", "15") AND parent = "foo" ORDER BY recordsummary_end_time ASC,id ASC LIMIT 6 === RUN TestListResults/paginate_results_sorting_by_summary.end_time_desc === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.021ms] [rows:6] SELECT * FROM `results` WHERE parent = "foo" ORDER BY recordsummary_end_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.296ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_end_time, id) < ("2025-08-25 18:22:37.265", "16") AND parent = "foo" ORDER BY recordsummary_end_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.970ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_end_time, id) < ("2025-08-25 18:22:32.265", "11") AND parent = "foo" ORDER BY recordsummary_end_time DESC,id DESC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [3.935ms] [rows:5] SELECT * FROM `results` WHERE (recordsummary_end_time, id) < ("2025-08-25 18:22:27.265", "6") AND parent = "foo" ORDER BY recordsummary_end_time DESC,id DESC LIMIT 6 === RUN TestListResults/paginate_results_using_filter === NAME TestListResults db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.173ms] [rows:6] SELECT * FROM `results` WHERE parent = "foo" AND (((annotations->>'foo' <> 'bar-1') AND (annotations->>'foo' <> 'bar-10'))) ORDER BY id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.950ms] [rows:6] SELECT * FROM `results` WHERE id > "15" AND parent = "foo" AND (((annotations->>'foo' <> 'bar-1') AND (annotations->>'foo' <> 'bar-10'))) ORDER BY id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.016ms] [rows:6] SELECT * FROM `results` WHERE id > "2" AND parent = "foo" AND (((annotations->>'foo' <> 'bar-1') AND (annotations->>'foo' <> 'bar-10'))) ORDER BY id ASC LIMIT 6 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.675ms] [rows:3] SELECT * FROM `results` WHERE id > "6" AND parent = "foo" AND (((annotations->>'foo' <> 'bar-1') AND (annotations->>'foo' <> 'bar-10'))) ORDER BY id ASC LIMIT 6 --- PASS: TestListResults (2.58s) --- PASS: TestListResults/list_all_results (0.31s) --- PASS: TestListResults/list_all_results_without_knowing_the_parent_name (0.08s) --- PASS: TestListResults/no_results (0.00s) --- PASS: TestListResults/missing_parent (0.00s) --- PASS: TestListResults/simple_query (0.01s) --- PASS: TestListResults/complex_query (0.02s) --- PASS: TestListResults/filter_all (0.00s) --- PASS: TestListResults/filter_by_annotations (0.02s) --- PASS: TestListResults/non-boolean_expression (0.00s) --- PASS: TestListResults/non-existing_field (0.00s) --- PASS: TestListResults/invalid_page_size (0.00s) --- PASS: TestListResults/invalid_order_field_name (0.00s) --- PASS: TestListResults/invalid_order_clause (0.00s) --- PASS: TestListResults/invalid_order_direction (0.00s) --- PASS: TestListResults/paginate_results_using_default_order (0.29s) --- PASS: TestListResults/paginate_results_sorting_by_create_time_asc (0.23s) --- PASS: TestListResults/paginate_results_sorting_by_create_time_desc (0.12s) --- PASS: TestListResults/paginate_results_sorting_by_update_time_asc (0.10s) --- PASS: TestListResults/paginate_results_sorting_by_update_time_desc (0.13s) --- PASS: TestListResults/paginate_results_sorting_by_summary.start_time_asc (0.17s) --- PASS: TestListResults/paginate_results_sorting_by_summary.start_time_desc (0.12s) --- PASS: TestListResults/paginate_results_sorting_by_summary.end_time_asc (0.13s) --- PASS: TestListResults/paginate_results_sorting_by_summary.end_time_desc (0.12s) --- PASS: TestListResults/paginate_results_using_filter (0.13s) PASS ok github.com/tektoncd/results/pkg/api/server/v1alpha2 20.184s === RUN TestRBAC rbac_test.go:93: test database: /tmp/testdb2093646375 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.037ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.204ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [558.156ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [503.665ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.168ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [405.708ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [486.114ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146051.433583,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} === RUN TestRBAC/authorized_user === NAME TestRBAC db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [298.616ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","2e79ab14-93b2-45d7-9e91-5221c62e78e8","bar","null","","",NULL,NULL,0,"null","2e79ab14-93b2-45d7-9e91-5221c62e78e8-1756146051525451685","2025-08-25 18:20:51.525","2025-08-25 18:20:51.525") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [34.377ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [6.197ms] [rows:1] SELECT * FROM `results` WHERE parent = "foo" ORDER BY id ASC LIMIT 51 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.789ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:140 [27.983ms] [rows:1] UPDATE `results` SET `name`="bar",`annotations`="null",`created_time`="2025-08-25 18:20:51.525",`updated_time`="2025-08-25 18:20:51.91",`recordsummary_record`="",`recordsummary_type`="",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="2e79ab14-93b2-45d7-9e91-5221c62e78e8-1756146051910412739" WHERE `parent` = "foo" AND `id` = "2e79ab14-93b2-45d7-9e91-5221c62e78e8" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [25.721ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [270.536ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","2e79ab14-93b2-45d7-9e91-5221c62e78e8","bar","3cdab827-5e00-46c2-ac0a-4c9ae0596da1","baz","","","3cdab827-5e00-46c2-ac0a-4c9ae0596da1-1756146052081006746","2025-08-25 18:20:52.081","2025-08-25 18:20:52.081") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [22.637ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [9.760ms] [rows:1] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" ORDER BY id ASC LIMIT 51 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.729ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [7.185ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="baz",`type`="",`data`="",`created_time`="2025-08-25 18:20:52.081",`updated_time`="2025-08-25 18:20:52.42",`etag`="3cdab827-5e00-46c2-ac0a-4c9ae0596da1-1756146052420517529" WHERE `parent` = "foo" AND `result_id` = "2e79ab14-93b2-45d7-9e91-5221c62e78e8" AND `id` = "3cdab827-5e00-46c2-ac0a-4c9ae0596da1" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [1.356ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:246 [10.255ms] [rows:1] DELETE FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_id` = "2e79ab14-93b2-45d7-9e91-5221c62e78e8" AND `records`.`result_name` = "bar" AND `records`.`id` = "3cdab827-5e00-46c2-ac0a-4c9ae0596da1" AND `records`.`name` = "baz" AND `records`.`created_time` = "2025-08-25 18:20:52.081" AND `records`.`updated_time` = "2025-08-25 18:20:52.42" AND `records`.`etag` = "3cdab827-5e00-46c2-ac0a-4c9ae0596da1-1756146052420517529" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [7.388ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:174 [10.821ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "2e79ab14-93b2-45d7-9e91-5221c62e78e8" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-08-25 18:20:51.525" AND `results`.`updated_time` = "2025-08-25 18:20:51.91" AND `results`.`etag` = "2e79ab14-93b2-45d7-9e91-5221c62e78e8-1756146051910412739" === RUN TestRBAC/unauthorized_user === RUN TestRBAC/authorized_group === NAME TestRBAC db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [26.235ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","dd4c438b-a500-4c26-9928-87649d93bcf9","bar","null","","",NULL,NULL,0,"null","dd4c438b-a500-4c26-9928-87649d93bcf9-1756146052515593743","2025-08-25 18:20:52.515","2025-08-25 18:20:52.515") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [3.162ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [3.968ms] [rows:1] SELECT * FROM `results` WHERE parent = "foo" ORDER BY id ASC LIMIT 51 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [8.985ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:140 [8.064ms] [rows:1] UPDATE `results` SET `name`="bar",`annotations`="null",`created_time`="2025-08-25 18:20:52.515",`updated_time`="2025-08-25 18:20:52.588",`recordsummary_record`="",`recordsummary_type`="",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="dd4c438b-a500-4c26-9928-87649d93bcf9-1756146052588392866" WHERE `parent` = "foo" AND `id` = "dd4c438b-a500-4c26-9928-87649d93bcf9" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.766ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [31.381ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","dd4c438b-a500-4c26-9928-87649d93bcf9","bar","f476e372-4eff-4116-a5dc-ab890cc7723f","baz","","","f476e372-4eff-4116-a5dc-ab890cc7723f-1756146052623443697","2025-08-25 18:20:52.623","2025-08-25 18:20:52.623") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [2.409ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.191ms] [rows:1] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" ORDER BY id ASC LIMIT 51 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.675ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [0.906ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="baz",`type`="",`data`="",`created_time`="2025-08-25 18:20:52.623",`updated_time`="2025-08-25 18:20:52.668",`etag`="f476e372-4eff-4116-a5dc-ab890cc7723f-1756146052668836679" WHERE `parent` = "foo" AND `result_id` = "dd4c438b-a500-4c26-9928-87649d93bcf9" AND `id` = "f476e372-4eff-4116-a5dc-ab890cc7723f" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.809ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:246 [15.858ms] [rows:1] DELETE FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_id` = "dd4c438b-a500-4c26-9928-87649d93bcf9" AND `records`.`result_name` = "bar" AND `records`.`id` = "f476e372-4eff-4116-a5dc-ab890cc7723f" AND `records`.`name` = "baz" AND `records`.`created_time` = "2025-08-25 18:20:52.623" AND `records`.`updated_time` = "2025-08-25 18:20:52.668" AND `records`.`etag` = "f476e372-4eff-4116-a5dc-ab890cc7723f-1756146052668836679" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [2.933ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:174 [14.270ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "dd4c438b-a500-4c26-9928-87649d93bcf9" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-08-25 18:20:52.515" AND `results`.`updated_time` = "2025-08-25 18:20:52.588" AND `results`.`etag` = "dd4c438b-a500-4c26-9928-87649d93bcf9-1756146052588392866" === RUN TestRBAC/unauthorized_group === RUN TestRBAC/authorized_extra === NAME TestRBAC db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [22.210ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","e0294c2a-a2e1-495e-a93a-fa0011fe924d","bar","null","","",NULL,NULL,0,"null","e0294c2a-a2e1-495e-a93a-fa0011fe924d-1756146052779348433","2025-08-25 18:20:52.779","2025-08-25 18:20:52.779") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.808ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [0.847ms] [rows:1] SELECT * FROM `results` WHERE parent = "foo" ORDER BY id ASC LIMIT 51 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [8.019ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:140 [0.881ms] [rows:1] UPDATE `results` SET `name`="bar",`annotations`="null",`created_time`="2025-08-25 18:20:52.779",`updated_time`="2025-08-25 18:20:52.827",`recordsummary_record`="",`recordsummary_type`="",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="e0294c2a-a2e1-495e-a93a-fa0011fe924d-1756146052827412535" WHERE `parent` = "foo" AND `id` = "e0294c2a-a2e1-495e-a93a-fa0011fe924d" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.742ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [22.465ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","e0294c2a-a2e1-495e-a93a-fa0011fe924d","bar","81d7877e-fe09-4576-a16d-e4d13b7cf8a5","baz","","","81d7877e-fe09-4576-a16d-e4d13b7cf8a5-1756146052857882816","2025-08-25 18:20:52.857","2025-08-25 18:20:52.857") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [1.039ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [0.947ms] [rows:1] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" ORDER BY id ASC LIMIT 51 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [4.430ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [6.171ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="baz",`type`="",`data`="",`created_time`="2025-08-25 18:20:52.857",`updated_time`="2025-08-25 18:20:52.912",`etag`="81d7877e-fe09-4576-a16d-e4d13b7cf8a5-1756146052912124838" WHERE `parent` = "foo" AND `result_id` = "e0294c2a-a2e1-495e-a93a-fa0011fe924d" AND `id` = "81d7877e-fe09-4576-a16d-e4d13b7cf8a5" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.734ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:246 [29.549ms] [rows:1] DELETE FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_id` = "e0294c2a-a2e1-495e-a93a-fa0011fe924d" AND `records`.`result_name` = "bar" AND `records`.`id` = "81d7877e-fe09-4576-a16d-e4d13b7cf8a5" AND `records`.`name` = "baz" AND `records`.`created_time` = "2025-08-25 18:20:52.857" AND `records`.`updated_time` = "2025-08-25 18:20:52.912" AND `records`.`etag` = "81d7877e-fe09-4576-a16d-e4d13b7cf8a5-1756146052912124838" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [0.952ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:174 [18.178ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "e0294c2a-a2e1-495e-a93a-fa0011fe924d" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-08-25 18:20:52.779" AND `results`.`updated_time` = "2025-08-25 18:20:52.827" AND `results`.`etag` = "e0294c2a-a2e1-495e-a93a-fa0011fe924d-1756146052827412535" === RUN TestRBAC/unauthorized_extra === RUN TestRBAC/unauthenticated_user === RUN TestRBAC/authorized_impersonated_user === NAME TestRBAC db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [29.020ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","24963241-33a3-4cb9-b81d-06314f027048","bar","null","","",NULL,NULL,0,"null","24963241-33a3-4cb9-b81d-06314f027048-1756146053206465390","2025-08-25 18:20:53.206","2025-08-25 18:20:53.206") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.901ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [4.333ms] [rows:1] SELECT * FROM `results` WHERE parent = "foo" ORDER BY id ASC LIMIT 51 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [4.927ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:140 [9.405ms] [rows:1] UPDATE `results` SET `name`="bar",`annotations`="null",`created_time`="2025-08-25 18:20:53.206",`updated_time`="2025-08-25 18:20:53.267",`recordsummary_record`="",`recordsummary_type`="",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="24963241-33a3-4cb9-b81d-06314f027048-1756146053267543552" WHERE `parent` = "foo" AND `id` = "24963241-33a3-4cb9-b81d-06314f027048" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [6.860ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [11.452ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","24963241-33a3-4cb9-b81d-06314f027048","bar","0127c8be-af60-4141-afe6-3718a1f6976f","baz","","","0127c8be-af60-4141-afe6-3718a1f6976f-1756146053310730923","2025-08-25 18:20:53.31","2025-08-25 18:20:53.31") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [5.268ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [2.521ms] [rows:1] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" ORDER BY id ASC LIMIT 51 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.884ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [1.719ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="baz",`type`="",`data`="",`created_time`="2025-08-25 18:20:53.31",`updated_time`="2025-08-25 18:20:53.353",`etag`="0127c8be-af60-4141-afe6-3718a1f6976f-1756146053353223845" WHERE `parent` = "foo" AND `result_id` = "24963241-33a3-4cb9-b81d-06314f027048" AND `id` = "0127c8be-af60-4141-afe6-3718a1f6976f" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.474ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:246 [8.372ms] [rows:1] DELETE FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_id` = "24963241-33a3-4cb9-b81d-06314f027048" AND `records`.`result_name` = "bar" AND `records`.`id` = "0127c8be-af60-4141-afe6-3718a1f6976f" AND `records`.`name` = "baz" AND `records`.`created_time` = "2025-08-25 18:20:53.31" AND `records`.`updated_time` = "2025-08-25 18:20:53.353" AND `records`.`etag` = "0127c8be-af60-4141-afe6-3718a1f6976f-1756146053353223845" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [0.970ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:174 [9.039ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "24963241-33a3-4cb9-b81d-06314f027048" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-08-25 18:20:53.206" AND `results`.`updated_time` = "2025-08-25 18:20:53.267" AND `results`.`etag` = "24963241-33a3-4cb9-b81d-06314f027048-1756146053267543552" === RUN TestRBAC/unauthorized_impersonated_user === RUN TestRBAC/authorized_impersonated_group === NAME TestRBAC db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [46.254ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","c172fa72-c209-4968-bf21-6fa9e87ad520","bar","null","","",NULL,NULL,0,"null","c172fa72-c209-4968-bf21-6fa9e87ad520-1756146053437049088","2025-08-25 18:20:53.437","2025-08-25 18:20:53.437") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.925ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [1.020ms] [rows:1] SELECT * FROM `results` WHERE parent = "foo" ORDER BY id ASC LIMIT 51 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [3.983ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:140 [7.252ms] [rows:1] UPDATE `results` SET `name`="bar",`annotations`="null",`created_time`="2025-08-25 18:20:53.437",`updated_time`="2025-08-25 18:20:53.556",`recordsummary_record`="",`recordsummary_type`="",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="c172fa72-c209-4968-bf21-6fa9e87ad520-1756146053556707163" WHERE `parent` = "foo" AND `id` = "c172fa72-c209-4968-bf21-6fa9e87ad520" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [4.066ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [33.084ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","c172fa72-c209-4968-bf21-6fa9e87ad520","bar","d43a96e9-87e4-48e1-ad8f-c3cb89d0ff86","baz","","","d43a96e9-87e4-48e1-ad8f-c3cb89d0ff86-1756146053608519035","2025-08-25 18:20:53.608","2025-08-25 18:20:53.608") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [8.775ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [6.456ms] [rows:1] SELECT * FROM `records` WHERE parent = "foo" AND result_name = "bar" ORDER BY id ASC LIMIT 51 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.918ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [9.967ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="baz",`type`="",`data`="",`created_time`="2025-08-25 18:20:53.608",`updated_time`="2025-08-25 18:20:53.674",`etag`="d43a96e9-87e4-48e1-ad8f-c3cb89d0ff86-1756146053674353117" WHERE `parent` = "foo" AND `result_id` = "c172fa72-c209-4968-bf21-6fa9e87ad520" AND `id` = "d43a96e9-87e4-48e1-ad8f-c3cb89d0ff86" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [8.822ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:246 [13.366ms] [rows:1] DELETE FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_id` = "c172fa72-c209-4968-bf21-6fa9e87ad520" AND `records`.`result_name` = "bar" AND `records`.`id` = "d43a96e9-87e4-48e1-ad8f-c3cb89d0ff86" AND `records`.`name` = "baz" AND `records`.`created_time` = "2025-08-25 18:20:53.608" AND `records`.`updated_time` = "2025-08-25 18:20:53.674" AND `records`.`etag` = "d43a96e9-87e4-48e1-ad8f-c3cb89d0ff86-1756146053674353117" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [0.770ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:174 [18.710ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "c172fa72-c209-4968-bf21-6fa9e87ad520" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-08-25 18:20:53.437" AND `results`.`updated_time` = "2025-08-25 18:20:53.556" AND `results`.`etag` = "c172fa72-c209-4968-bf21-6fa9e87ad520-1756146053556707163" === RUN TestRBAC/unauthorized_impersonated_group --- PASS: TestRBAC (4.34s) --- PASS: TestRBAC/authorized_user (1.02s) --- PASS: TestRBAC/unauthorized_user (0.03s) --- PASS: TestRBAC/authorized_group (0.22s) --- PASS: TestRBAC/unauthorized_group (0.05s) --- PASS: TestRBAC/authorized_extra (0.36s) --- PASS: TestRBAC/unauthorized_extra (0.03s) --- PASS: TestRBAC/unauthenticated_user (0.04s) --- PASS: TestRBAC/authorized_impersonated_user (0.19s) --- PASS: TestRBAC/unauthorized_impersonated_user (0.04s) --- PASS: TestRBAC/authorized_impersonated_group (0.32s) --- PASS: TestRBAC/unauthorized_impersonated_group (0.02s) PASS ok github.com/tektoncd/results/pkg/api/server/v1alpha2/auth 5.931s === RUN TestHeaderMatcher === RUN TestHeaderMatcher/impersonation_header === RUN TestHeaderMatcher/impersonate_extra_header === RUN TestHeaderMatcher/grpc_metadata_header === RUN TestHeaderMatcher/unknown_header --- PASS: TestHeaderMatcher (0.00s) --- PASS: TestHeaderMatcher/impersonation_header (0.00s) --- PASS: TestHeaderMatcher/impersonate_extra_header (0.00s) --- PASS: TestHeaderMatcher/grpc_metadata_header (0.00s) --- PASS: TestHeaderMatcher/unknown_header (0.00s) === RUN TestNewImpersonation === RUN TestNewImpersonation/missing_all_impersonation_header === RUN TestNewImpersonation/missing_impersonate_user_header_only === RUN TestNewImpersonation/parse_impersonation_headers --- PASS: TestNewImpersonation (0.00s) --- PASS: TestNewImpersonation/missing_all_impersonation_header (0.00s) --- PASS: TestNewImpersonation/missing_impersonate_user_header_only (0.00s) --- PASS: TestNewImpersonation/parse_impersonation_headers (0.00s) === RUN TestImpersonation_Check === RUN TestImpersonation_Check/authorized_user === RUN TestImpersonation_Check/unauthorized_user --- PASS: TestImpersonation_Check (0.00s) --- PASS: TestImpersonation_Check/authorized_user (0.00s) --- PASS: TestImpersonation_Check/unauthorized_user (0.00s) PASS ok github.com/tektoncd/results/pkg/api/server/v1alpha2/auth/impersonation 1.380s === RUN TestCheckAndBuildGroupQuery === RUN TestCheckAndBuildGroupQuery/valid_time_query_with_one_part === RUN TestCheckAndBuildGroupQuery/valid_time_query_with_two_parts_and_startTime === RUN TestCheckAndBuildGroupQuery/valid_time_query_with_two_parts_and_completionTime === RUN TestCheckAndBuildGroupQuery/valid_non-time_query_with_parent === RUN TestCheckAndBuildGroupQuery/valid_non-time_query_with_pipeline === RUN TestCheckAndBuildGroupQuery/valid_non-time_query_with_repository === RUN TestCheckAndBuildGroupQuery/invalid_query --- PASS: TestCheckAndBuildGroupQuery (0.00s) --- PASS: TestCheckAndBuildGroupQuery/valid_time_query_with_one_part (0.00s) --- PASS: TestCheckAndBuildGroupQuery/valid_time_query_with_two_parts_and_startTime (0.00s) --- PASS: TestCheckAndBuildGroupQuery/valid_time_query_with_two_parts_and_completionTime (0.00s) --- PASS: TestCheckAndBuildGroupQuery/valid_non-time_query_with_parent (0.00s) --- PASS: TestCheckAndBuildGroupQuery/valid_non-time_query_with_pipeline (0.00s) --- PASS: TestCheckAndBuildGroupQuery/valid_non-time_query_with_repository (0.00s) --- PASS: TestCheckAndBuildGroupQuery/invalid_query (0.00s) === RUN TestCheckAndBuildOrderBy === RUN TestCheckAndBuildOrderBy/valid_query_with_ascending_order === RUN TestCheckAndBuildOrderBy/valid_query_with_descending_order === RUN TestCheckAndBuildOrderBy/invalid_query_with_no_order === RUN TestCheckAndBuildOrderBy/invalid_query_with_wrong_field === RUN TestCheckAndBuildOrderBy/invalid_query_with_wrong_order --- PASS: TestCheckAndBuildOrderBy (0.00s) --- PASS: TestCheckAndBuildOrderBy/valid_query_with_ascending_order (0.00s) --- PASS: TestCheckAndBuildOrderBy/valid_query_with_descending_order (0.00s) --- PASS: TestCheckAndBuildOrderBy/invalid_query_with_no_order (0.00s) --- PASS: TestCheckAndBuildOrderBy/invalid_query_with_wrong_field (0.00s) --- PASS: TestCheckAndBuildOrderBy/invalid_query_with_wrong_order (0.00s) === RUN TestFilterValidateToken === RUN TestFilterValidateToken/valid_token === RUN TestFilterValidateToken/invalid_token --- PASS: TestFilterValidateToken (0.00s) --- PASS: TestFilterValidateToken/valid_token (0.00s) --- PASS: TestFilterValidateToken/invalid_token (0.00s) === RUN TestFilterBuild === RUN TestFilterBuild/no_where_clause === RUN TestFilterBuild/do_not_add_WHERE_clauses_if_the_user_sends_-_as_the_value === RUN TestFilterBuild/where_clause_with_parent_and_id === RUN TestFilterBuild/where_clause_with_cel2sql_filters === RUN TestFilterBuild/more_complex_filter --- PASS: TestFilterBuild (0.03s) --- PASS: TestFilterBuild/no_where_clause (0.00s) --- PASS: TestFilterBuild/do_not_add_WHERE_clauses_if_the_user_sends_-_as_the_value (0.00s) --- PASS: TestFilterBuild/where_clause_with_parent_and_id (0.00s) --- PASS: TestFilterBuild/where_clause_with_cel2sql_filters (0.02s) --- PASS: TestFilterBuild/more_complex_filter (0.00s) === RUN TestLimitBuild === RUN TestLimitBuild/limit_clause === RUN TestLimitBuild/invalid_page_size_-_negative_value === RUN TestLimitBuild/invalid_page_size_-_too_large_value --- PASS: TestLimitBuild (0.00s) --- PASS: TestLimitBuild/limit_clause (0.00s) --- PASS: TestLimitBuild/invalid_page_size_-_negative_value (0.00s) --- PASS: TestLimitBuild/invalid_page_size_-_too_large_value (0.00s) === RUN TestBuildQuery === RUN TestBuildQuery/complex_query === RUN TestBuildQuery/return_an_error_if_the_provided_page_token_is_invalid --- PASS: TestBuildQuery (0.01s) --- PASS: TestBuildQuery/complex_query (0.00s) --- PASS: TestBuildQuery/return_an_error_if_the_provided_page_token_is_invalid (0.00s) === RUN TestOffsetValidateToken === RUN TestOffsetValidateToken/valid === RUN TestOffsetValidateToken/missing_LastItem_field === RUN TestOffsetValidateToken/missing_LastItem.Uid_field --- PASS: TestOffsetValidateToken (0.00s) --- PASS: TestOffsetValidateToken/valid (0.00s) --- PASS: TestOffsetValidateToken/missing_LastItem_field (0.00s) --- PASS: TestOffsetValidateToken/missing_LastItem.Uid_field (0.00s) === RUN TestOffsetBuild === RUN TestOffsetBuild/no_clauses === RUN TestOffsetBuild/use_only_the_id_to_determine_the_page_offset === RUN TestOffsetBuild/use_more_than_one_field_to_determine_the_page_offset === RUN TestOffsetBuild/paginating_results_using_descending_order --- PASS: TestOffsetBuild (0.00s) --- PASS: TestOffsetBuild/no_clauses (0.00s) --- PASS: TestOffsetBuild/use_only_the_id_to_determine_the_page_offset (0.00s) --- PASS: TestOffsetBuild/use_more_than_one_field_to_determine_the_page_offset (0.00s) --- PASS: TestOffsetBuild/paginating_results_using_descending_order (0.00s) === RUN TestOrderByValidateToken === RUN TestOrderByValidateToken/valid_token === RUN TestOrderByValidateToken/the_provided_ordering_values_match_the_ordering_values_in_the_token === RUN TestOrderByValidateToken/missing_LastItem.OrderBy_field === RUN TestOrderByValidateToken/the_provided_field_name_differs_from_the_field_name_in_the_token === RUN TestOrderByValidateToken/the_provided_direction_differs_from_the_direction_in_the_token --- PASS: TestOrderByValidateToken (0.00s) --- PASS: TestOrderByValidateToken/valid_token (0.00s) --- PASS: TestOrderByValidateToken/the_provided_ordering_values_match_the_ordering_values_in_the_token (0.00s) --- PASS: TestOrderByValidateToken/missing_LastItem.OrderBy_field (0.00s) --- PASS: TestOrderByValidateToken/the_provided_field_name_differs_from_the_field_name_in_the_token (0.00s) --- PASS: TestOrderByValidateToken/the_provided_direction_differs_from_the_direction_in_the_token (0.00s) === RUN TestOrderByBuild === RUN TestOrderByBuild/no_order_by_clause === RUN TestOrderByBuild/order_by_a_given_column --- PASS: TestOrderByBuild (0.00s) --- PASS: TestOrderByBuild/no_order_by_clause (0.00s) --- PASS: TestOrderByBuild/order_by_a_given_column (0.00s) === RUN TestParseOrderBy === RUN TestParseOrderBy/valid_order_by_statement === RUN TestParseOrderBy/sort_in_ascending_order === RUN TestParseOrderBy/update_time_field_omitting_the_direction === RUN TestParseOrderBy/summary.start_time_field === RUN TestParseOrderBy/summary.end_time_field === RUN TestParseOrderBy/trailing_and_leading_spaces === RUN TestParseOrderBy/trailing_and_leading_spaces_with_no_direction --- PASS: TestParseOrderBy (0.00s) --- PASS: TestParseOrderBy/valid_order_by_statement (0.00s) --- PASS: TestParseOrderBy/sort_in_ascending_order (0.00s) --- PASS: TestParseOrderBy/update_time_field_omitting_the_direction (0.00s) --- PASS: TestParseOrderBy/summary.start_time_field (0.00s) --- PASS: TestParseOrderBy/summary.end_time_field (0.00s) --- PASS: TestParseOrderBy/trailing_and_leading_spaces (0.00s) --- PASS: TestParseOrderBy/trailing_and_leading_spaces_with_no_direction (0.00s) === RUN TestParseOrderByErrors === RUN TestParseOrderByErrors/disallowed_field_in_the_order_by_clause === RUN TestParseOrderByErrors/invalid_order_by === RUN TestParseOrderByErrors/invalid_direction --- PASS: TestParseOrderByErrors (0.00s) --- PASS: TestParseOrderByErrors/disallowed_field_in_the_order_by_clause (0.00s) --- PASS: TestParseOrderByErrors/invalid_order_by (0.00s) --- PASS: TestParseOrderByErrors/invalid_direction (0.00s) === RUN TestEncodeAndDecodePageToken --- PASS: TestEncodeAndDecodePageToken (0.00s) PASS ok github.com/tektoncd/results/pkg/api/server/v1alpha2/lister 1.842s ? github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/proto [no test files] ? github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/proto/pagetoken_go_proto [no test files] === RUN TestFileStream_WriteTo --- PASS: TestFileStream_WriteTo (0.00s) === RUN TestFileStream_ReadFrom --- PASS: TestFileStream_ReadFrom (0.00s) === RUN TestFileStream_Delete --- PASS: TestFileStream_Delete (0.00s) === RUN TestGCSReadFrom gcs_test.go:77: Replaying GCS API responses from replay file testdata/TestGCSReadFrom.replay --- PASS: TestGCSReadFrom (1.52s) === RUN TestGCSWriteTo gcs_test.go:77: Replaying GCS API responses from replay file testdata/TestGCSWriteTo.replay --- PASS: TestGCSWriteTo (0.13s) === RUN TestGCSDelete gcs_test.go:77: Replaying GCS API responses from replay file testdata/TestGCSDelete.replay --- PASS: TestGCSDelete (0.08s) === RUN TestFilePath --- PASS: TestFilePath (0.00s) === RUN TestFormatName --- PASS: TestFormatName (0.00s) === RUN TestParseName === RUN TestParseName/simple === RUN TestParseName/resource_name_reuse === RUN TestParseName/missing_name === RUN TestParseName/missing_name,_no_slash === RUN TestParseName/missing_parent === RUN TestParseName/missing_parent,_no_slash === RUN TestParseName/wrong_resource === RUN TestParseName/result_resource === RUN TestParseName/invalid_parent === RUN TestParseName/invalid_name --- PASS: TestParseName (0.01s) --- PASS: TestParseName/simple (0.00s) --- PASS: TestParseName/resource_name_reuse (0.00s) --- PASS: TestParseName/missing_name (0.00s) --- PASS: TestParseName/missing_name,_no_slash (0.00s) --- PASS: TestParseName/missing_parent (0.00s) --- PASS: TestParseName/missing_parent,_no_slash (0.00s) --- PASS: TestParseName/wrong_resource (0.00s) --- PASS: TestParseName/result_resource (0.00s) --- PASS: TestParseName/invalid_parent (0.00s) --- PASS: TestParseName/invalid_name (0.00s) === RUN TestToStorage --- PASS: TestToStorage (0.00s) === RUN TestToStream === RUN TestToStream/Log_Filesystem_Type === RUN TestToStream/TaskRun_Record === RUN TestToStream/PipelineRun_Record --- PASS: TestToStream (0.00s) --- PASS: TestToStream/Log_Filesystem_Type (0.00s) --- PASS: TestToStream/TaskRun_Record (0.00s) --- PASS: TestToStream/PipelineRun_Record (0.00s) === RUN TestS3Stream_WriteTo --- PASS: TestS3Stream_WriteTo (0.00s) === RUN TestS3Stream_ReadFrom --- PASS: TestS3Stream_ReadFrom (0.00s) === RUN TestS3Stream_Delete --- PASS: TestS3Stream_Delete (0.00s) PASS ok github.com/tektoncd/results/pkg/api/server/v1alpha2/log 3.164s === RUN TestLogPluginServer_GetLog plugin_logs_test.go:108: test database: /tmp/testdb3915500205 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.107ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.192ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [532.548ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [301.113ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.173ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [354.428ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [508.295ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"info","ts":1756146051.4676847,"caller":"plugin/server.go:65","msg":"Setting up LogPluginServer"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [122.194ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","6c493590-9367-4db3-8704-c64e3de04e6e","bar","null","","",NULL,NULL,0,"null","6c493590-9367-4db3-8704-c64e3de04e6e-1756146051483926763","2025-08-25 18:20:51.483","2025-08-25 18:20:51.483") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [34.348ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [170.587ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","6c493590-9367-4db3-8704-c64e3de04e6e","bar","2d60de70-d8b2-4e7b-afba-5266f3a666f0","baz","tekton.dev/v1.PipelineRun","{""metadata"":{""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{""startTime"":""2025-08-25T18:20:51Z"",""completionTime"":""2025-08-25T18:20:51Z""}}","2d60de70-d8b2-4e7b-afba-5266f3a666f0-1756146051670502770","2025-08-25 18:20:51.67","2025-08-25 18:20:51.67") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:768 [53.286ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 plugin_logs_test.go:55: Received request: GET /app/loki/api/v1/query_range?direction=forward&end=1756146051&limit=1500&query=%7B+namespace%3D%22%22foo%22%22%2Cnamespace%3D%22foo%22+%7D%7Cjson+uid%3D%22kubernetes.labels.tekton_dev_pipelineRunUID%22%2C+container%3D%22kubernetes.container_name%22%2C+message%3D%22message%22+%7Cuid%3D%22baz%22%7C+line_format+%22container-%7B%7B.container%7D%7D%3A+message%3D%7B%7B.message%7D%7D%22&start=1756146051 plugin_logs_test.go:56: Received headers: map[Accept-Encoding:[gzip] Authorization:[Bearer dummytoken] User-Agent:[Go-http-client/1.1]] --- PASS: TestLogPluginServer_GetLog (2.40s) === RUN TestMergeLogParts === RUN TestMergeLogParts/Test_with_matching_regexp === RUN TestMergeLogParts/Test_with_empty_regexp === RUN TestMergeLogParts/Test_with_not_matching_regexp --- PASS: TestMergeLogParts (0.05s) --- PASS: TestMergeLogParts/Test_with_matching_regexp (0.00s) --- PASS: TestMergeLogParts/Test_with_empty_regexp (0.05s) --- PASS: TestMergeLogParts/Test_with_not_matching_regexp (0.00s) === RUN TestSplunkLogs plugin_logs_test.go:319: test database: /tmp/testdb3954218598 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.067ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.156ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [294.878ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [24.520ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [4.109ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [20.588ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [15.072ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"info","ts":1756146052.460062,"caller":"plugin/server.go:65","msg":"Setting up LogPluginServer"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [12.226ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("rh-acs-tenant","52e02ec6-218f-49f7-aa5d-59f7c3b97d1c","test-result","null","","",NULL,NULL,0,"null","52e02ec6-218f-49f7-aa5d-59f7c3b97d1c-1756146052460461221","2025-08-25 18:20:52.46","2025-08-25 18:20:52.46") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [5.550ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "rh-acs-tenant" AND `results`.`name` = "test-result" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [13.952ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("rh-acs-tenant","52e02ec6-218f-49f7-aa5d-59f7c3b97d1c","test-result","8ee6a7a7-8178-49c6-b18d-70183a1d5d64","25274ae9-d521-4a9c-b254-122c17f64941","tekton.dev/v1.TaskRun","{""metadata"":{""uid"":""25274ae9-d521-4a9c-b254-122c17f64941"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":"""",""startTime"":""2025-08-25T17:20:52Z"",""completionTime"":""2025-08-25T18:20:52Z""}}","8ee6a7a7-8178-49c6-b18d-70183a1d5d64-1756146052485685612","2025-08-25 18:20:52.485","2025-08-25 18:20:52.485") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:768 [0.894ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "rh-acs-tenant" AND `records`.`result_name` = "test-result" AND `records`.`name` = "25274ae9-d521-4a9c-b254-122c17f64941" ORDER BY `records`.`id` LIMIT 1 plugin_logs_test.go:259: Received request: POST /services/search/v2/jobs?output_mode=json plugin_logs_test.go:260: Received headers: map[Accept-Encoding:[gzip] Authorization:[Bearer eyJraWQiOiJzcGx1bmsuc2VjcmV0IiwiYWxnIjoiSFM1MTIiLCJ2ZXIiOiJ2MiIsInR0eXAiOiJzdGF0aWMifQ.eyJpc3MiOiJzY19hZG1pbiBmcm9tIGZlZG9yYSIsInN1YiI6InNjX2FkbWluIiwiYXVkIjoia3ViZXJuZXRlcyIsImlkcCI6IlNwbHVuayIsImp0aSI6IjI0MGM1MDY3NGJkNDgxYjU5ZWE5MTY5ZDJjN2MyZjM5NDVmZDFhOTM3MWU0Yzg0MTQ0N2NkYTYzYmQ4NmZjMGQiLCJpYXQiOjE3NDYzODA1NDgsImV4cCI6MTc3MjM4OTc1NSwibmJyIjoxNzQ2MzgwNTQ4fQ.WnMJE6Dd0Fmn5AipZtl_bpfwIpfGR6feW63Xs1890XPh1o1CrBTNbslTeIH1b9ewluOfrY7rxToAQMoCO3ZJQA] Content-Length:[221] Content-Type:[application/x-www-form-urlencoded] User-Agent:[Go-http-client/1.1]] plugin_logs_test.go:259: Received request: GET /services/search/v2/jobs/1234567?output_mode=json plugin_logs_test.go:260: Received headers: map[Accept-Encoding:[gzip] Authorization:[Bearer eyJraWQiOiJzcGx1bmsuc2VjcmV0IiwiYWxnIjoiSFM1MTIiLCJ2ZXIiOiJ2MiIsInR0eXAiOiJzdGF0aWMifQ.eyJpc3MiOiJzY19hZG1pbiBmcm9tIGZlZG9yYSIsInN1YiI6InNjX2FkbWluIiwiYXVkIjoia3ViZXJuZXRlcyIsImlkcCI6IlNwbHVuayIsImp0aSI6IjI0MGM1MDY3NGJkNDgxYjU5ZWE5MTY5ZDJjN2MyZjM5NDVmZDFhOTM3MWU0Yzg0MTQ0N2NkYTYzYmQ4NmZjMGQiLCJpYXQiOjE3NDYzODA1NDgsImV4cCI6MTc3MjM4OTc1NSwibmJyIjoxNzQ2MzgwNTQ4fQ.WnMJE6Dd0Fmn5AipZtl_bpfwIpfGR6feW63Xs1890XPh1o1CrBTNbslTeIH1b9ewluOfrY7rxToAQMoCO3ZJQA] User-Agent:[Go-http-client/1.1]] plugin_logs_test.go:259: Received request: GET /services/search/v2/jobs/1234567/results?output_mode=json_rows&count=0 plugin_logs_test.go:260: Received headers: map[Accept-Encoding:[gzip] Authorization:[Bearer eyJraWQiOiJzcGx1bmsuc2VjcmV0IiwiYWxnIjoiSFM1MTIiLCJ2ZXIiOiJ2MiIsInR0eXAiOiJzdGF0aWMifQ.eyJpc3MiOiJzY19hZG1pbiBmcm9tIGZlZG9yYSIsInN1YiI6InNjX2FkbWluIiwiYXVkIjoia3ViZXJuZXRlcyIsImlkcCI6IlNwbHVuayIsImp0aSI6IjI0MGM1MDY3NGJkNDgxYjU5ZWE5MTY5ZDJjN2MyZjM5NDVmZDFhOTM3MWU0Yzg0MTQ0N2NkYTYzYmQ4NmZjMGQiLCJpYXQiOjE3NDYzODA1NDgsImV4cCI6MTc3MjM4OTc1NSwibmJyIjoxNzQ2MzgwNTQ4fQ.WnMJE6Dd0Fmn5AipZtl_bpfwIpfGR6feW63Xs1890XPh1o1CrBTNbslTeIH1b9ewluOfrY7rxToAQMoCO3ZJQA] User-Agent:[Go-http-client/1.1]] plugin_logs_test.go:375: recv error: --- PASS: TestSplunkLogs (5.56s) PASS ok github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin 9.633s === RUN TestParseName === RUN TestParseName/simple === RUN TestParseName/resource_name_reuse === RUN TestParseName/missing_name === RUN TestParseName/missing_name,_no_slash === RUN TestParseName/missing_parent === RUN TestParseName/missing_parent,_no_slash === RUN TestParseName/wrong_resource === RUN TestParseName/result_resource === RUN TestParseName/invalid_parent === RUN TestParseName/invalid_name --- PASS: TestParseName (0.01s) --- PASS: TestParseName/simple (0.00s) --- PASS: TestParseName/resource_name_reuse (0.00s) --- PASS: TestParseName/missing_name (0.00s) --- PASS: TestParseName/missing_name,_no_slash (0.00s) --- PASS: TestParseName/missing_parent (0.00s) --- PASS: TestParseName/missing_parent,_no_slash (0.00s) --- PASS: TestParseName/wrong_resource (0.00s) --- PASS: TestParseName/result_resource (0.00s) --- PASS: TestParseName/invalid_parent (0.00s) --- PASS: TestParseName/invalid_name (0.00s) === RUN TestToStorage === RUN TestToStorage/full === RUN TestToStorage/missing_data === RUN TestToStorage/deprecated_fields === RUN TestToStorage/invalid_type === RUN TestToStorage/invalid_data --- PASS: TestToStorage (0.02s) --- PASS: TestToStorage/full (0.00s) --- PASS: TestToStorage/missing_data (0.00s) --- PASS: TestToStorage/deprecated_fields (0.00s) --- PASS: TestToStorage/invalid_type (0.00s) --- PASS: TestToStorage/invalid_data (0.00s) === RUN TestToAPI === RUN TestToAPI/full === RUN TestToAPI/partial --- PASS: TestToAPI (0.03s) --- PASS: TestToAPI/full (0.01s) --- PASS: TestToAPI/partial (0.00s) === RUN TestFormatName --- PASS: TestFormatName (0.00s) === RUN TestValidateType === RUN TestValidateType/success === RUN TestValidateType/failure --- PASS: TestValidateType (0.00s) --- PASS: TestValidateType/success (0.00s) --- PASS: TestValidateType/failure (0.00s) PASS ok github.com/tektoncd/results/pkg/api/server/v1alpha2/record 1.708s === RUN TestParseName === RUN TestParseName/simple === RUN TestParseName/resource_name_reuse === RUN TestParseName/missing_name === RUN TestParseName/missing_name,_no_slash === RUN TestParseName/missing_parent === RUN TestParseName/missing_parent,_no_slash === RUN TestParseName/wrong_resource === RUN TestParseName/invalid_parent === RUN TestParseName/invalid_name --- PASS: TestParseName (0.00s) --- PASS: TestParseName/simple (0.00s) --- PASS: TestParseName/resource_name_reuse (0.00s) --- PASS: TestParseName/missing_name (0.00s) --- PASS: TestParseName/missing_name,_no_slash (0.00s) --- PASS: TestParseName/missing_parent (0.00s) --- PASS: TestParseName/missing_parent,_no_slash (0.00s) --- PASS: TestParseName/wrong_resource (0.00s) --- PASS: TestParseName/invalid_parent (0.00s) --- PASS: TestParseName/invalid_name (0.00s) === RUN TestToStorage === RUN TestToStorage/all === RUN TestToStorage/deprecated_fields === RUN TestToStorage/invalid_summary_record_name === RUN TestToStorage/invalid_summary_type --- PASS: TestToStorage (0.00s) --- PASS: TestToStorage/all (0.00s) --- PASS: TestToStorage/deprecated_fields (0.00s) --- PASS: TestToStorage/invalid_summary_record_name (0.00s) --- PASS: TestToStorage/invalid_summary_type (0.00s) === RUN TestToAPI --- PASS: TestToAPI (0.01s) === RUN TestMatch === RUN TestMatch/no_filter === RUN TestMatch/matching_condition === RUN TestMatch/non-matching_condition === RUN TestMatch/nil_result === RUN TestMatch/non-bool_output === RUN TestMatch/wrong_resource_type 2025/08/25 18:20:49 failed to evaluate the expression: no such attribute(s): record --- PASS: TestMatch (0.05s) --- PASS: TestMatch/no_filter (0.00s) --- PASS: TestMatch/matching_condition (0.02s) --- PASS: TestMatch/non-matching_condition (0.00s) --- PASS: TestMatch/nil_result (0.01s) --- PASS: TestMatch/non-bool_output (0.00s) --- PASS: TestMatch/wrong_resource_type (0.00s) === RUN TestFormatName --- PASS: TestFormatName (0.00s) PASS ok github.com/tektoncd/results/pkg/api/server/v1alpha2/result 1.706s === RUN TestNewRetentionPolicyFromConfigMap === RUN TestNewRetentionPolicyFromConfigMap/empty_config === RUN TestNewRetentionPolicyFromConfigMap/defaultRetention_with_d_suffix === RUN TestNewRetentionPolicyFromConfigMap/defaultRetention_without_suffix === RUN TestNewRetentionPolicyFromConfigMap/maxRetention(deprecated)_without_suffix 2025/08/25 18:20:49 WARNING: configuration key 'maxRetention' is deprecated; please use 'defaultRetention' instead. === RUN TestNewRetentionPolicyFromConfigMap/with_policies === RUN TestNewRetentionPolicyFromConfigMap/invalid_policies_yaml --- PASS: TestNewRetentionPolicyFromConfigMap (0.01s) --- PASS: TestNewRetentionPolicyFromConfigMap/empty_config (0.00s) --- PASS: TestNewRetentionPolicyFromConfigMap/defaultRetention_with_d_suffix (0.00s) --- PASS: TestNewRetentionPolicyFromConfigMap/defaultRetention_without_suffix (0.00s) --- PASS: TestNewRetentionPolicyFromConfigMap/maxRetention(deprecated)_without_suffix (0.00s) --- PASS: TestNewRetentionPolicyFromConfigMap/with_policies (0.00s) --- PASS: TestNewRetentionPolicyFromConfigMap/invalid_policies_yaml (0.00s) === RUN TestStoreLoadWithContext logger.go:146: 2025-08-25T18:20:49.566Z DEBUG configmap/store.go:155 results config "config-observability" config was added or updated: &config.Metrics{TaskrunLevel:"task", PipelinerunLevel:"pipeline", DurationTaskrunType:"histogram", DurationPipelinerunType:"histogram"} --- PASS: TestStoreLoadWithContext (0.01s) === RUN TestStoreLoadWithContext_Empty --- PASS: TestStoreLoadWithContext_Empty (0.00s) PASS ok github.com/tektoncd/results/pkg/apis/config 1.631s ? github.com/tektoncd/results/pkg/apis/v1alpha3 [no test files] === RUN TestNewRESTClient === RUN TestNewRESTClient/valid_config === RUN TestNewRESTClient/nil_config === RUN TestNewRESTClient/nil_transport --- PASS: TestNewRESTClient (0.00s) --- PASS: TestNewRESTClient/valid_config (0.00s) --- PASS: TestNewRESTClient/nil_config (0.00s) --- PASS: TestNewRESTClient/nil_transport (0.00s) === RUN TestBuildURL === RUN TestBuildURL/no_params === RUN TestBuildURL/with_params --- PASS: TestBuildURL (0.00s) --- PASS: TestBuildURL/no_params (0.00s) --- PASS: TestBuildURL/with_params (0.00s) === RUN TestSend === RUN TestSend/successful_request --- PASS: TestSend (0.02s) --- PASS: TestSend/successful_request (0.01s) PASS ok github.com/tektoncd/results/pkg/cli/client 1.083s ? github.com/tektoncd/results/pkg/cli/client/logs [no test files] === RUN TestListRecords === RUN TestListRecords/successful_list === RUN TestListRecords/error_response 2025/08/25 18:20:49 RoundTripper returned a response & error; ignoring response --- PASS: TestListRecords (0.05s) --- PASS: TestListRecords/successful_list (0.05s) --- PASS: TestListRecords/error_response (0.00s) PASS ok github.com/tektoncd/results/pkg/cli/client/records 1.277s === RUN TestPrintProto === RUN TestPrintProto/*results_go_proto.Result_textproto === RUN TestPrintProto/*results_go_proto.Record_textproto === RUN TestPrintProto/*results_go_proto.Result_json === RUN TestPrintProto/*results_go_proto.Record_json --- PASS: TestPrintProto (0.01s) --- PASS: TestPrintProto/*results_go_proto.Result_textproto (0.00s) --- PASS: TestPrintProto/*results_go_proto.Record_textproto (0.00s) --- PASS: TestPrintProto/*results_go_proto.Result_json (0.00s) --- PASS: TestPrintProto/*results_go_proto.Record_json (0.00s) === RUN TestPrintProto_Tab === RUN TestPrintProto_Tab/*results_go_proto.ListResultsResponse [Name Start Update] [a 2025-08-25 18:20:50 +0000 UTC 2025-08-25 18:20:50 +0000 UTC] === RUN TestPrintProto_Tab/*results_go_proto.ListRecordsResponse [Name Type Start Update] [a tacocat 2025-08-25 18:20:50 +0000 UTC 2025-08-25 18:20:50 +0000 UTC] --- PASS: TestPrintProto_Tab (0.00s) --- PASS: TestPrintProto_Tab/*results_go_proto.ListResultsResponse (0.00s) --- PASS: TestPrintProto_Tab/*results_go_proto.ListRecordsResponse (0.00s) PASS ok github.com/tektoncd/results/pkg/cli/cmd 1.417s === RUN TestCommand === RUN TestCommand/valid_params === RUN TestCommand/nil_params --- PASS: TestCommand (0.00s) --- PASS: TestCommand/valid_params (0.00s) --- PASS: TestCommand/nil_params (0.00s) === RUN TestCommandPersistentPreRunE --- PASS: TestCommandPersistentPreRunE (0.00s) === RUN TestResetCommand === RUN TestResetCommand/valid_params === RUN TestResetCommand/nil_params --- PASS: TestResetCommand (0.00s) --- PASS: TestResetCommand/valid_params (0.00s) --- PASS: TestResetCommand/nil_params (0.00s) === RUN TestResetCommandExecution === RUN TestResetCommandExecution/reset_existing_configuration === RUN TestResetCommandExecution/reset_non-existent_configuration --- PASS: TestResetCommandExecution (0.31s) --- PASS: TestResetCommandExecution/reset_existing_configuration (0.23s) --- PASS: TestResetCommandExecution/reset_non-existent_configuration (0.08s) === RUN TestSetCommandPromptBehavior === RUN TestSetCommandPromptBehavior/no_flags_should_prompt_for_host ? Host : [?25l[?25l78[?25h[?25h=== RUN TestSetCommandPromptBehavior/host_provided_should_not_prompt === RUN TestSetCommandPromptBehavior/token_provided_should_not_prompt --- PASS: TestSetCommandPromptBehavior (0.26s) --- PASS: TestSetCommandPromptBehavior/no_flags_should_prompt_for_host (0.10s) --- PASS: TestSetCommandPromptBehavior/host_provided_should_not_prompt (0.06s) --- PASS: TestSetCommandPromptBehavior/token_provided_should_not_prompt (0.10s) === RUN TestSetCommandExecution === RUN TestSetCommandExecution/set_with_host_and_token === RUN TestSetCommandExecution/set_with_all_flags --- PASS: TestSetCommandExecution (0.07s) --- PASS: TestSetCommandExecution/set_with_host_and_token (0.05s) --- PASS: TestSetCommandExecution/set_with_all_flags (0.02s) === RUN TestSetCommandConfigOverwrite --- PASS: TestSetCommandConfigOverwrite (0.10s) === RUN TestViewCommand === RUN TestViewCommand/valid_params === RUN TestViewCommand/nil_params --- PASS: TestViewCommand (0.00s) --- PASS: TestViewCommand/valid_params (0.00s) --- PASS: TestViewCommand/nil_params (0.00s) === RUN TestViewCommandExecution === RUN TestViewCommandExecution/view_existing_configuration view_test.go:112: View command output: api-path: /api/v1 apiVersion: results.tekton.dev/v1alpha2 host: https://test-view.com kind: Client token: view-token === RUN TestViewCommandExecution/view_empty_configuration view_test.go:112: View command output: api-path: "" apiVersion: results.tekton.dev/v1alpha2 host: "" kind: Client token: "" --- PASS: TestViewCommandExecution (0.19s) --- PASS: TestViewCommandExecution/view_existing_configuration (0.09s) --- PASS: TestViewCommandExecution/view_empty_configuration (0.09s) PASS ok github.com/tektoncd/results/pkg/cli/cmd/config 2.266s === RUN TestDescribeCommand === RUN TestDescribeCommand/success === RUN TestDescribeCommand/not_found === RUN TestDescribeCommand/multiple_found === RUN TestDescribeCommand/error_from_client === RUN TestDescribeCommand/invalid_arguments === RUN TestDescribeCommand/UID_lookup === RUN TestDescribeCommand/complex_output === RUN TestDescribeCommand/output_yaml === RUN TestDescribeCommand/output_json --- PASS: TestDescribeCommand (0.10s) --- PASS: TestDescribeCommand/success (0.09s) --- PASS: TestDescribeCommand/not_found (0.00s) --- PASS: TestDescribeCommand/multiple_found (0.00s) --- PASS: TestDescribeCommand/error_from_client (0.00s) --- PASS: TestDescribeCommand/invalid_arguments (0.00s) --- PASS: TestDescribeCommand/UID_lookup (0.00s) --- PASS: TestDescribeCommand/complex_output (0.00s) --- PASS: TestDescribeCommand/output_yaml (0.00s) --- PASS: TestDescribeCommand/output_json (0.00s) === RUN TestListCommand === RUN TestListCommand/successful_list_with_default_options === RUN TestListCommand/list_with_pipeline_name_filter === RUN TestListCommand/list_with_partial_pipeline_name_match === RUN TestListCommand/list_with_namespace_filter === RUN TestListCommand/list_with_error === RUN TestListCommand/empty_list === RUN TestListCommand/list_with_pipeline_name_and_namespace --- PASS: TestListCommand (0.03s) --- PASS: TestListCommand/successful_list_with_default_options (0.00s) --- PASS: TestListCommand/list_with_pipeline_name_filter (0.00s) --- PASS: TestListCommand/list_with_partial_pipeline_name_match (0.00s) --- PASS: TestListCommand/list_with_namespace_filter (0.00s) --- PASS: TestListCommand/list_with_error (0.00s) --- PASS: TestListCommand/empty_list (0.00s) --- PASS: TestListCommand/list_with_pipeline_name_and_namespace (0.00s) === RUN TestBuildFilterString === RUN TestBuildFilterString/single_label === RUN TestBuildFilterString/multiple_labels === RUN TestBuildFilterString/with_pipeline_name === RUN TestBuildFilterString/empty_label --- PASS: TestBuildFilterString (0.00s) --- PASS: TestBuildFilterString/single_label (0.00s) --- PASS: TestBuildFilterString/multiple_labels (0.00s) --- PASS: TestBuildFilterString/with_pipeline_name (0.00s) --- PASS: TestBuildFilterString/empty_label (0.00s) === RUN TestValidateLabels === RUN TestValidateLabels/valid_single_label === RUN TestValidateLabels/valid_multiple_labels === RUN TestValidateLabels/missing_equals_sign === RUN TestValidateLabels/missing_value === RUN TestValidateLabels/missing_key === RUN TestValidateLabels/empty_pair === RUN TestValidateLabels/malformed_pair === RUN TestValidateLabels/whitespace_in_key --- PASS: TestValidateLabels (0.00s) --- PASS: TestValidateLabels/valid_single_label (0.00s) --- PASS: TestValidateLabels/valid_multiple_labels (0.00s) --- PASS: TestValidateLabels/missing_equals_sign (0.00s) --- PASS: TestValidateLabels/missing_value (0.00s) --- PASS: TestValidateLabels/missing_key (0.00s) --- PASS: TestValidateLabels/empty_pair (0.00s) --- PASS: TestValidateLabels/malformed_pair (0.00s) --- PASS: TestValidateLabels/whitespace_in_key (0.00s) === RUN TestLogsCommand === RUN TestLogsCommand/successful_log_retrieval_by_name === RUN TestLogsCommand/successful_log_retrieval_by_UID === RUN TestLogsCommand/no_PipelineRun_found Error: no PipelineRun found with name non-existent === RUN TestLogsCommand/multiple_PipelineRuns_found Error: multiple PipelineRuns found === RUN TestLogsCommand/error_getting_logs Error: rpc error: code = Internal desc = failed to get logs === RUN TestLogsCommand/invalid_arguments Error: requires exactly one argument when --uid is not provided --- PASS: TestLogsCommand (0.01s) --- PASS: TestLogsCommand/successful_log_retrieval_by_name (0.00s) --- PASS: TestLogsCommand/successful_log_retrieval_by_UID (0.00s) --- PASS: TestLogsCommand/no_PipelineRun_found (0.00s) --- PASS: TestLogsCommand/multiple_PipelineRuns_found (0.00s) --- PASS: TestLogsCommand/error_getting_logs (0.00s) --- PASS: TestLogsCommand/invalid_arguments (0.00s) === RUN TestCommand === RUN TestCommand/command_configuration === RUN TestCommand/subcommands --- PASS: TestCommand (0.00s) --- PASS: TestCommand/command_configuration (0.00s) --- PASS: TestCommand/subcommands (0.00s) PASS ok github.com/tektoncd/results/pkg/cli/cmd/pipelinerun 1.609s === RUN TestDescribeTaskRun === RUN TestDescribeTaskRun/success === RUN TestDescribeTaskRun/not_found === RUN TestDescribeTaskRun/multiple_found === RUN TestDescribeTaskRun/error_from_client === RUN TestDescribeTaskRun/invalid_arguments === RUN TestDescribeTaskRun/UID_lookup === RUN TestDescribeTaskRun/complex_output === RUN TestDescribeTaskRun/output_yaml === RUN TestDescribeTaskRun/output_json --- PASS: TestDescribeTaskRun (0.12s) --- PASS: TestDescribeTaskRun/success (0.10s) --- PASS: TestDescribeTaskRun/not_found (0.00s) --- PASS: TestDescribeTaskRun/multiple_found (0.00s) --- PASS: TestDescribeTaskRun/error_from_client (0.00s) --- PASS: TestDescribeTaskRun/invalid_arguments (0.00s) --- PASS: TestDescribeTaskRun/UID_lookup (0.00s) --- PASS: TestDescribeTaskRun/complex_output (0.00s) --- PASS: TestDescribeTaskRun/output_yaml (0.00s) --- PASS: TestDescribeTaskRun/output_json (0.00s) === RUN TestListCommand === RUN TestListCommand/successful_list_with_default_options === RUN TestListCommand/list_with_task_name_filter === RUN TestListCommand/list_with_single_label_filter === RUN TestListCommand/list_with_multiple_label_filters === RUN TestListCommand/list_with_invalid_label_format === RUN TestListCommand/list_with_empty_label_value === RUN TestListCommand/list_with_empty_label_key === RUN TestListCommand/list_with_task_name_and_label_filter === RUN TestListCommand/list_with_pipelinerun_filter === RUN TestListCommand/list_with_pipelinerun_and_label_filters === RUN TestListCommand/list_with_pipelinerun_and_name_filters --- PASS: TestListCommand (0.03s) --- PASS: TestListCommand/successful_list_with_default_options (0.00s) --- PASS: TestListCommand/list_with_task_name_filter (0.00s) --- PASS: TestListCommand/list_with_single_label_filter (0.00s) --- PASS: TestListCommand/list_with_multiple_label_filters (0.00s) --- PASS: TestListCommand/list_with_invalid_label_format (0.00s) --- PASS: TestListCommand/list_with_empty_label_value (0.00s) --- PASS: TestListCommand/list_with_empty_label_key (0.00s) --- PASS: TestListCommand/list_with_task_name_and_label_filter (0.00s) --- PASS: TestListCommand/list_with_pipelinerun_filter (0.00s) --- PASS: TestListCommand/list_with_pipelinerun_and_label_filters (0.00s) --- PASS: TestListCommand/list_with_pipelinerun_and_name_filters (0.00s) === RUN TestParseRecordsToTr === RUN TestParseRecordsToTr/valid_taskrun_records === RUN TestParseRecordsToTr/invalid_taskrun_data --- PASS: TestParseRecordsToTr (0.00s) --- PASS: TestParseRecordsToTr/valid_taskrun_records (0.00s) --- PASS: TestParseRecordsToTr/invalid_taskrun_data (0.00s) === RUN TestBuildFilterString === RUN TestBuildFilterString/pipelinerun_filter_only === RUN TestBuildFilterString/pipelinerun_and_label_filters === RUN TestBuildFilterString/pipelinerun_and_name_filters --- PASS: TestBuildFilterString (0.00s) --- PASS: TestBuildFilterString/pipelinerun_filter_only (0.00s) --- PASS: TestBuildFilterString/pipelinerun_and_label_filters (0.00s) --- PASS: TestBuildFilterString/pipelinerun_and_name_filters (0.00s) === RUN TestLogsCommand === RUN TestLogsCommand/successful_log_retrieval_by_name === RUN TestLogsCommand/successful_log_retrieval_by_UID === RUN TestLogsCommand/no_TaskRun_found Error: no TaskRun found with name non-existent === RUN TestLogsCommand/multiple_TaskRuns_found Error: multiple TaskRuns found === RUN TestLogsCommand/error_getting_logs Error: rpc error: code = Internal desc = failed to get logs === RUN TestLogsCommand/invalid_arguments Error: requires exactly one argument when --uid is not provided --- PASS: TestLogsCommand (0.00s) --- PASS: TestLogsCommand/successful_log_retrieval_by_name (0.00s) --- PASS: TestLogsCommand/successful_log_retrieval_by_UID (0.00s) --- PASS: TestLogsCommand/no_TaskRun_found (0.00s) --- PASS: TestLogsCommand/multiple_TaskRuns_found (0.00s) --- PASS: TestLogsCommand/error_getting_logs (0.00s) --- PASS: TestLogsCommand/invalid_arguments (0.00s) === RUN TestCommand === RUN TestCommand/command_configuration === RUN TestCommand/subcommands --- PASS: TestCommand (0.00s) --- PASS: TestCommand/command_configuration (0.00s) --- PASS: TestCommand/subcommands (0.00s) PASS ok github.com/tektoncd/results/pkg/cli/cmd/taskrun 1.825s ? github.com/tektoncd/results/pkg/cli/common [no test files] ? github.com/tektoncd/results/pkg/cli/common/prerun [no test files] === RUN TestNewConfig === RUN TestNewConfig/nil_params === RUN TestNewConfig/invalid_kubeconfig_path === RUN TestNewConfig/invalid_context === RUN TestNewConfig/empty_context === RUN TestNewConfig/valid_config --- PASS: TestNewConfig (0.10s) --- PASS: TestNewConfig/nil_params (0.00s) --- PASS: TestNewConfig/invalid_kubeconfig_path (0.00s) --- PASS: TestNewConfig/invalid_context (0.01s) --- PASS: TestNewConfig/empty_context (0.06s) --- PASS: TestNewConfig/valid_config (0.02s) === RUN TestSet --- PASS: TestSet (0.04s) === RUN TestReset --- PASS: TestReset (0.12s) === RUN TestLoadClientConfig --- PASS: TestLoadClientConfig (0.03s) === RUN TestSetWithPrompt ? Host : [?25l[?25l78[?25h[?25h config_test.go:373: Received expected error when prompting for user input in test environment --- PASS: TestSetWithPrompt (0.04s) === RUN TestPersist --- PASS: TestPersist (0.14s) === RUN TestSetVersion --- PASS: TestSetVersion (0.02s) === RUN TestHost === RUN TestHost/basic_host_detection config_test.go:534: should attempt auto-detection and return empty string in test env: Host() returned empty string as expected in test env === RUN TestHost/invalid_config config_test.go:552: Host() with invalid config returned empty string as expected --- PASS: TestHost (0.10s) --- PASS: TestHost/basic_host_detection (0.07s) --- PASS: TestHost/invalid_config (0.02s) === RUN TestToken === RUN TestToken/config_with_bearer_token === RUN TestToken/config_without_bearer_token === RUN TestToken/config_with_nil_RESTConfig config_test.go:642: should return error when RESTConfig is nil: Token() returned expected error: REST configuration is not initialized --- PASS: TestToken (0.02s) --- PASS: TestToken/config_with_bearer_token (0.02s) --- PASS: TestToken/config_without_bearer_token (0.00s) --- PASS: TestToken/config_with_nil_RESTConfig (0.00s) === RUN TestExtensionDeepCopy --- PASS: TestExtensionDeepCopy (0.00s) === RUN TestExtensionEmpty --- PASS: TestExtensionEmpty (0.00s) === RUN TestHostMethod host_test.go:19: Host method called successfully and returned empty string as expected --- PASS: TestHostMethod (0.00s) === RUN TestDetectPlatform === RUN TestDetectPlatform/nil_config === RUN TestDetectPlatform/invalid_host_config === RUN TestDetectPlatform/empty_host_config === RUN TestDetectPlatform/unreachable_host_config === RUN TestDetectPlatform/valid_config_but_no_cluster --- PASS: TestDetectPlatform (0.12s) --- PASS: TestDetectPlatform/nil_config (0.00s) --- PASS: TestDetectPlatform/invalid_host_config (0.02s) --- PASS: TestDetectPlatform/empty_host_config (0.00s) --- PASS: TestDetectPlatform/unreachable_host_config (0.06s) --- PASS: TestDetectPlatform/valid_config_but_no_cluster (0.03s) === RUN TestPlatformTypeConstants === RUN TestPlatformTypeConstants/PlatformUnknown_constant === RUN TestPlatformTypeConstants/PlatformOpenShift_constant === RUN TestPlatformTypeConstants/PlatformKubernetes_constant --- PASS: TestPlatformTypeConstants (0.00s) --- PASS: TestPlatformTypeConstants/PlatformUnknown_constant (0.00s) --- PASS: TestPlatformTypeConstants/PlatformOpenShift_constant (0.00s) --- PASS: TestPlatformTypeConstants/PlatformKubernetes_constant (0.00s) PASS ok github.com/tektoncd/results/pkg/cli/config 2.161s === RUN TestToken === RUN TestToken/default === RUN TestToken/token === RUN TestToken/serviceaccount === RUN TestToken/token#01 === RUN TestToken/token_over_serviceaccount --- PASS: TestToken (0.01s) --- PASS: TestToken/default (0.00s) --- PASS: TestToken/token (0.00s) --- PASS: TestToken/serviceaccount (0.00s) --- PASS: TestToken/token#01 (0.00s) --- PASS: TestToken/token_over_serviceaccount (0.00s) === RUN TestCerts --- PASS: TestCerts (0.49s) PASS ok github.com/tektoncd/results/pkg/cli/dev/client 1.830s ? github.com/tektoncd/results/pkg/cli/dev/cmd/logs [no test files] ? github.com/tektoncd/results/pkg/cli/dev/cmd/records [no test files] === RUN TestDescribeResult --- PASS: TestDescribeResult (0.01s) PASS ok github.com/tektoncd/results/pkg/cli/dev/cmd/result 1.170s === RUN TestParseFileConfig --- PASS: TestParseFileConfig (0.01s) === RUN TestEnvVarConfig --- PASS: TestEnvVarConfig (0.00s) === RUN TestFlagConfig --- PASS: TestFlagConfig (0.00s) PASS ok github.com/tektoncd/results/pkg/cli/dev/config 1.139s ? github.com/tektoncd/results/pkg/cli/dev/flags [no test files] ? github.com/tektoncd/results/pkg/cli/dev/format [no test files] ? github.com/tektoncd/results/pkg/cli/dev/portforward [no test files] === RUN TestAddResultsOptions === RUN TestAddResultsOptions/add_all_flags --- PASS: TestAddResultsOptions (0.00s) --- PASS: TestAddResultsOptions/add_all_flags (0.00s) === RUN TestGetResultsOptions --- PASS: TestGetResultsOptions (0.00s) === RUN TestInitParams --- PASS: TestInitParams (0.00s) === RUN TestInitParamsWithEmptyFlags --- PASS: TestInitParamsWithEmptyFlags (0.00s) PASS ok github.com/tektoncd/results/pkg/cli/flags 1.273s ? github.com/tektoncd/results/pkg/cli/options [no test files] ? github.com/tektoncd/results/pkg/cli/testutils [no test files] ? github.com/tektoncd/results/pkg/converter [no test files] ? github.com/tektoncd/results/pkg/internal/jsonutil [no test files] === RUN TestClearOutputOnly --- PASS: TestClearOutputOnly (0.01s) PASS ok github.com/tektoncd/results/pkg/internal/protoutil 1.131s ? github.com/tektoncd/results/pkg/internal/test [no test files] === RUN TestBufferedLog_Write --- PASS: TestBufferedLog_Write (0.00s) === RUN TestBufferedLog_Flush === RUN TestBufferedLog_Flush/when_content_is_longer_than_chunk === RUN TestBufferedLog_Flush/when_content_is_smaller_than_chunk === RUN TestBufferedLog_Flush/when_content_is_equal_to_chunk === RUN TestBufferedLog_Flush/when_content_is_equal_to_few_chunks === RUN TestBufferedLog_Flush/when_content_is_more_than_few_chunks --- PASS: TestBufferedLog_Flush (0.00s) --- PASS: TestBufferedLog_Flush/when_content_is_longer_than_chunk (0.00s) --- PASS: TestBufferedLog_Flush/when_content_is_smaller_than_chunk (0.00s) --- PASS: TestBufferedLog_Flush/when_content_is_equal_to_chunk (0.00s) --- PASS: TestBufferedLog_Flush/when_content_is_equal_to_few_chunks (0.00s) --- PASS: TestBufferedLog_Flush/when_content_is_more_than_few_chunks (0.00s) PASS ok github.com/tektoncd/results/pkg/logs 1.221s === RUN TestRecorder_DurationAndCountDeleted === RUN TestRecorder_DurationAndCountDeleted/for_succeed_pipeline logger.go:146: 2025-08-25T18:21:13.745Z DEBUG pipelinerunmetrics/metrics.go:78 unregistering pipelinerun metrics view logger.go:146: 2025-08-25T18:21:13.745Z DEBUG pipelinerunmetrics/metrics.go:73 registering pipelinerun metrics view === RUN TestRecorder_DurationAndCountDeleted/for_canceled_pipeline_(without_completion_time) logger.go:146: 2025-08-25T18:21:13.746Z DEBUG pipelinerunmetrics/metrics.go:78 unregistering pipelinerun metrics view logger.go:146: 2025-08-25T18:21:13.747Z DEBUG pipelinerunmetrics/metrics.go:73 registering pipelinerun metrics view === RUN TestRecorder_DurationAndCountDeleted/for_failed_pipeline_(without_completion_time) logger.go:146: 2025-08-25T18:21:13.748Z DEBUG pipelinerunmetrics/metrics.go:78 unregistering pipelinerun metrics view logger.go:146: 2025-08-25T18:21:13.748Z DEBUG pipelinerunmetrics/metrics.go:73 registering pipelinerun metrics view --- PASS: TestRecorder_DurationAndCountDeleted (0.01s) --- PASS: TestRecorder_DurationAndCountDeleted/for_succeed_pipeline (0.00s) --- PASS: TestRecorder_DurationAndCountDeleted/for_canceled_pipeline_(without_completion_time) (0.00s) --- PASS: TestRecorder_DurationAndCountDeleted/for_failed_pipeline_(without_completion_time) (0.00s) PASS ok github.com/tektoncd/results/pkg/pipelinerunmetrics 1.379s === RUN Test_buildCaseStatement === RUN Test_buildCaseStatement/no_policies === RUN Test_buildCaseStatement/with_policies === RUN Test_buildCaseStatement/with_policies_without_suffix --- PASS: Test_buildCaseStatement (0.00s) --- PASS: Test_buildCaseStatement/no_policies (0.00s) --- PASS: Test_buildCaseStatement/with_policies (0.00s) --- PASS: Test_buildCaseStatement/with_policies_without_suffix (0.00s) === RUN Test_buildWhereClause === RUN Test_buildWhereClause/empty_selector === RUN Test_buildWhereClause/with_labels === RUN Test_buildWhereClause/with_annotations === RUN Test_buildWhereClause/with_status === RUN Test_buildWhereClause/with_namespace === RUN Test_buildWhereClause/with_multiple_conditions --- PASS: Test_buildWhereClause (0.00s) --- PASS: Test_buildWhereClause/empty_selector (0.00s) --- PASS: Test_buildWhereClause/with_labels (0.00s) --- PASS: Test_buildWhereClause/with_annotations (0.00s) --- PASS: Test_buildWhereClause/with_status (0.00s) --- PASS: Test_buildWhereClause/with_namespace (0.00s) --- PASS: Test_buildWhereClause/with_multiple_conditions (0.00s) PASS ok github.com/tektoncd/results/pkg/retention 1.356s === RUN TestRecorder_DurationAndCountDeleted === RUN TestRecorder_DurationAndCountDeleted/for_succeeded_taskrun logger.go:146: 2025-08-25T18:21:19.907Z DEBUG taskrunmetrics/metrics.go:89 unregistering taskrun metrics view logger.go:146: 2025-08-25T18:21:19.907Z DEBUG taskrunmetrics/metrics.go:84 registering taskrun metrics view === RUN TestRecorder_DurationAndCountDeleted/for_failed_taskrun logger.go:146: 2025-08-25T18:21:19.910Z DEBUG taskrunmetrics/metrics.go:89 unregistering taskrun metrics view logger.go:146: 2025-08-25T18:21:19.910Z DEBUG taskrunmetrics/metrics.go:84 registering taskrun metrics view === RUN TestRecorder_DurationAndCountDeleted/for_succeeded_taskrun_in_pipelinerun logger.go:146: 2025-08-25T18:21:19.911Z DEBUG taskrunmetrics/metrics.go:89 unregistering taskrun metrics view logger.go:146: 2025-08-25T18:21:19.911Z DEBUG taskrunmetrics/metrics.go:84 registering taskrun metrics view === RUN TestRecorder_DurationAndCountDeleted/for_failed_taskrun_in_pipelinerun logger.go:146: 2025-08-25T18:21:19.912Z DEBUG taskrunmetrics/metrics.go:89 unregistering taskrun metrics view logger.go:146: 2025-08-25T18:21:19.913Z DEBUG taskrunmetrics/metrics.go:84 registering taskrun metrics view --- PASS: TestRecorder_DurationAndCountDeleted (0.02s) --- PASS: TestRecorder_DurationAndCountDeleted/for_succeeded_taskrun (0.00s) --- PASS: TestRecorder_DurationAndCountDeleted/for_failed_taskrun (0.00s) --- PASS: TestRecorder_DurationAndCountDeleted/for_succeeded_taskrun_in_pipelinerun (0.00s) --- PASS: TestRecorder_DurationAndCountDeleted/for_failed_taskrun_in_pipelinerun (0.01s) PASS ok github.com/tektoncd/results/pkg/taskrunmetrics 1.358s ? github.com/tektoncd/results/pkg/test [no test files] ? github.com/tektoncd/results/pkg/test/fake [no test files] === RUN TestToProto === RUN TestToProto/string === RUN TestToProto/string/*v1.TaskRun === RUN TestToProto/string/*unstructured.Unstructured === RUN TestToProto/string#01 === RUN TestToProto/string#01/*v1.PipelineRun === RUN TestToProto/string#01/*unstructured.Unstructured === RUN TestToProto/nil --- PASS: TestToProto (1.24s) --- PASS: TestToProto/string (0.79s) --- PASS: TestToProto/string/*v1.TaskRun (0.28s) --- PASS: TestToProto/string/*unstructured.Unstructured (0.34s) --- PASS: TestToProto/string#01 (0.46s) --- PASS: TestToProto/string#01/*v1.PipelineRun (0.21s) --- PASS: TestToProto/string#01/*unstructured.Unstructured (0.14s) --- PASS: TestToProto/nil (0.00s) === RUN TestToLogProto === RUN TestToLogProto/TaskRun_Log === RUN TestToLogProto/PipelineRun_Log --- PASS: TestToLogProto (0.06s) --- PASS: TestToLogProto/TaskRun_Log (0.04s) --- PASS: TestToLogProto/PipelineRun_Log (0.02s) === RUN TestTypeName === RUN TestTypeName/tekton.dev/v1.TaskRun === RUN TestTypeName/tekton.dev/v1.PipelineRun === RUN TestTypeName/foo.bar --- PASS: TestTypeName (0.00s) --- PASS: TestTypeName/tekton.dev/v1.TaskRun (0.00s) --- PASS: TestTypeName/tekton.dev/v1.PipelineRun (0.00s) --- PASS: TestTypeName/foo.bar (0.00s) === RUN TestInferGVK --- PASS: TestInferGVK (0.00s) === RUN TestStatus === RUN TestStatus/TaskRun_Success === RUN TestStatus/PipelineRun_Timeout === RUN TestStatus/Pod_Failure === RUN TestStatus/Ready_Condition === RUN TestStatus/Unknown_reason === RUN TestStatus/#00 --- PASS: TestStatus (0.00s) --- PASS: TestStatus/TaskRun_Success (0.00s) --- PASS: TestStatus/PipelineRun_Timeout (0.00s) --- PASS: TestStatus/Pod_Failure (0.00s) --- PASS: TestStatus/Ready_Condition (0.00s) --- PASS: TestStatus/Unknown_reason (0.00s) --- PASS: TestStatus/#00 (0.00s) PASS ok github.com/tektoncd/results/pkg/watcher/convert 3.107s ? github.com/tektoncd/results/pkg/watcher/grpc [no test files] ? github.com/tektoncd/results/pkg/watcher/logs [no test files] === RUN TestGetDisableAnnotationUpdate --- PASS: TestGetDisableAnnotationUpdate (0.00s) === RUN TestCompletedResourceGracePeriod --- PASS: TestCompletedResourceGracePeriod (0.00s) === RUN TestController logger.go:146: 2025-08-25T18:21:44.042Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000d18380 evictedKeys:[] evictedVals:[] onEvictedCB: lock:{w:{_:{} mu:{state:0 sema:0}} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}} reconciler_test.go:54: test database: /tmp/testdb4129268285 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.076ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.260ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [49.796ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [28.349ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.214ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [18.032ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [21.613ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146104.2088392,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} logger.go:146: 2025-08-25T18:21:44.233Z INFO TestController logs/client.go:52 Unable to fetch Logs Client from context, either disabled from config or disabled from server side logger.go:146: 2025-08-25T18:21:44.234Z INFO TestController logs/client.go:52 Unable to fetch Logs Client from context, either disabled from config or disabled from server side === RUN TestController/taskrun === NAME TestController logger.go:146: 2025-08-25T18:21:44.237Z DEBUG TestController controller/controller.go:418 Adding to queue ns/taskrun (depth: 1) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/key": "ns/taskrun"} logger.go:146: 2025-08-25T18:21:44.235Z INFO TestController controller/controller.go:484 Starting controller and workers {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun"} logger.go:146: 2025-08-25T18:21:44.238Z INFO TestController controller/controller.go:494 Started workers {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun"} logger.go:146: 2025-08-25T18:21:44.239Z INFO TestController controller/controller.go:484 Starting controller and workers {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun"} logger.go:146: 2025-08-25T18:21:44.239Z INFO TestController controller/controller.go:494 Started workers {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun"} logger.go:146: 2025-08-25T18:21:44.240Z DEBUG TestController controller/controller.go:511 Processing from queue ns/taskrun (depth: 0) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun"} logger.go:146: 2025-08-25T18:21:44.338Z DEBUG TestController controller/controller.go:418 Adding to queue ns/taskrun (depth: 1) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/key": "ns/taskrun"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.543ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "pr-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:44.348Z DEBUG TestController results/results.go:188 Result doesn't exist yet - creating {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "5f99c1ee-e5aa-4551-a3f2-ecbcdb3a0248", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/result": "ns/results/pr-id", "results.tekton.dev/record": "ns/results/pr-id/records/tr-id", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [43.804ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("ns","bbf7a930-143e-4169-a64e-c04028567b37","pr-id","null","","",NULL,NULL,0,"null","bbf7a930-143e-4169-a64e-c04028567b37-1756146104353878267","2025-08-25 18:21:44.353","2025-08-25 18:21:44.353") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.575ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "pr-id" AND `records`.`name` = "tr-id" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:44.402Z DEBUG TestController results/results.go:334 Record doesn't exist yet - creating {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "5f99c1ee-e5aa-4551-a3f2-ecbcdb3a0248", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/record": "ns/results/pr-id/records/tr-id"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [3.922ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "pr-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [16.355ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","bbf7a930-143e-4169-a64e-c04028567b37","pr-id","5ba2dd48-c4f3-455c-847f-ca5a5fbc5215","tr-id","tekton.dev/v1.TaskRun","{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""tr-id"",""creationTimestamp"":null,""annotations"":{""demo"":""demo"",""tekton.dev/pipelineRun"":""pr""},""ownerReferences"":[{""apiVersion"":""tekton.dev/v1"",""kind"":""PipelineRun"",""name"":"""",""uid"":""pr-id""}],""finalizers"":[""results.tekton.dev/taskrun""]},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","5ba2dd48-c4f3-455c-847f-ca5a5fbc5215-1756146104410995929","2025-08-25 18:21:44.41","2025-08-25 18:21:44.41") RETURNING `created_time`,`updated_time` logger.go:146: 2025-08-25T18:21:44.429Z DEBUG TestController dynamic/dynamic.go:224 Record has been successfully upserted into API server {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "5f99c1ee-e5aa-4551-a3f2-ecbcdb3a0248", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/result": "ns/results/pr-id", "results.tekton.dev/record": "ns/results/pr-id/records/tr-id", "results.tekton.dev/time-taken-ms": 91} logger.go:146: 2025-08-25T18:21:44.431Z DEBUG TestController dynamic/dynamic.go:717 Skipping ChildReadyForDeletion annotation patch: object is not done yet {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "5f99c1ee-e5aa-4551-a3f2-ecbcdb3a0248", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun"} logger.go:146: 2025-08-25T18:21:44.431Z INFO TestController dynamic/dynamic.go:285 Skipping resource deletion: deletion is disabled {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "5f99c1ee-e5aa-4551-a3f2-ecbcdb3a0248", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/gracePeriod": "0s"} logger.go:146: 2025-08-25T18:21:44.433Z WARN TestController dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "5f99c1ee-e5aa-4551-a3f2-ecbcdb3a0248", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/result": "ns/results/pr-id", "results.tekton.dev/record": "ns/results/pr-id/records/tr-id"} logger.go:146: 2025-08-25T18:21:44.433Z INFO TestController controller/controller.go:548 Reconcile succeeded {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "5f99c1ee-e5aa-4551-a3f2-ecbcdb3a0248", "knative.dev/key": "ns/taskrun", "duration": "193.004047ms"} logger.go:146: 2025-08-25T18:21:44.434Z DEBUG TestController controller/controller.go:418 Adding to queue ns/taskrun (depth: 1) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/key": "ns/taskrun"} logger.go:146: 2025-08-25T18:21:44.435Z DEBUG TestController controller/controller.go:511 Processing from queue ns/taskrun (depth: 0) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun"} logger.go:146: 2025-08-25T18:21:44.437Z DEBUG TestController controller/controller.go:418 Adding to queue ns/taskrun (depth: 0) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/key": "ns/taskrun"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.977ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "pr-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:44.438Z DEBUG TestController results/results.go:202 No further actions to be done on the Result: the object is not a top level record {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "a36ccb64-7caf-42ee-87a8-c92273bd6f2e", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/result": "ns/results/pr-id", "results.tekton.dev/record": "ns/results/pr-id/records/tr-id", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.719ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "pr-id" AND `records`.`name` = "tr-id" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:44.454Z DEBUG TestController results/results.go:326 Updating Record {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "a36ccb64-7caf-42ee-87a8-c92273bd6f2e", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/record": "ns/results/pr-id/records/tr-id"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.457ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "pr-id" AND `records`.`name` = "tr-id" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [0.690ms] [rows:1] UPDATE `records` SET `result_name`="pr-id",`name`="tr-id",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""tr-id"",""creationTimestamp"":null,""annotations"":{""demo"":""demo"",""results.tekton.dev/record"":""ns/results/pr-id/records/tr-id"",""results.tekton.dev/result"":""ns/results/pr-id"",""results.tekton.dev/stored"":""false"",""tekton.dev/pipelineRun"":""pr""},""ownerReferences"":[{""apiVersion"":""tekton.dev/v1"",""kind"":""PipelineRun"",""name"":"""",""uid"":""pr-id""}],""finalizers"":[""results.tekton.dev/taskrun""]},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}",`created_time`="2025-08-25 18:21:44.41",`updated_time`="2025-08-25 18:21:44.457",`etag`="5ba2dd48-c4f3-455c-847f-ca5a5fbc5215-1756146104457114221" WHERE `parent` = "ns" AND `result_id` = "bbf7a930-143e-4169-a64e-c04028567b37" AND `id` = "5ba2dd48-c4f3-455c-847f-ca5a5fbc5215" logger.go:146: 2025-08-25T18:21:44.678Z DEBUG TestController dynamic/dynamic.go:224 Record has been successfully upserted into API server {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "a36ccb64-7caf-42ee-87a8-c92273bd6f2e", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/result": "ns/results/pr-id", "results.tekton.dev/record": "ns/results/pr-id/records/tr-id", "results.tekton.dev/time-taken-ms": 242} logger.go:146: 2025-08-25T18:21:44.678Z DEBUG TestController annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "a36ccb64-7caf-42ee-87a8-c92273bd6f2e", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun"} logger.go:146: 2025-08-25T18:21:44.678Z DEBUG TestController dynamic/dynamic.go:717 Skipping ChildReadyForDeletion annotation patch: object is not done yet {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "a36ccb64-7caf-42ee-87a8-c92273bd6f2e", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun"} logger.go:146: 2025-08-25T18:21:44.679Z INFO TestController dynamic/dynamic.go:285 Skipping resource deletion: deletion is disabled {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "a36ccb64-7caf-42ee-87a8-c92273bd6f2e", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/gracePeriod": "0s"} logger.go:146: 2025-08-25T18:21:44.679Z DEBUG TestController annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "a36ccb64-7caf-42ee-87a8-c92273bd6f2e", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun"} logger.go:146: 2025-08-25T18:21:44.679Z WARN TestController dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "a36ccb64-7caf-42ee-87a8-c92273bd6f2e", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/result": "ns/results/pr-id", "results.tekton.dev/record": "ns/results/pr-id/records/tr-id"} logger.go:146: 2025-08-25T18:21:44.679Z INFO TestController controller/controller.go:548 Reconcile succeeded {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "a36ccb64-7caf-42ee-87a8-c92273bd6f2e", "knative.dev/key": "ns/taskrun", "duration": "244.243619ms"} logger.go:146: 2025-08-25T18:21:44.680Z DEBUG TestController controller/controller.go:511 Processing from queue ns/taskrun (depth: 0) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.800ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "pr-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:44.684Z DEBUG TestController results/results.go:202 No further actions to be done on the Result: the object is not a top level record {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "06591fae-ede9-47e5-a97a-d9f001b845da", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/result": "ns/results/pr-id", "results.tekton.dev/record": "ns/results/pr-id/records/tr-id", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.483ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "pr-id" AND `records`.`name` = "tr-id" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:44.698Z DEBUG TestController results/results.go:322 No further actions to be done on the Record: no changes found {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "06591fae-ede9-47e5-a97a-d9f001b845da", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/record": "ns/results/pr-id/records/tr-id"} logger.go:146: 2025-08-25T18:21:44.698Z DEBUG TestController dynamic/dynamic.go:224 Record has been successfully upserted into API server {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "06591fae-ede9-47e5-a97a-d9f001b845da", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/result": "ns/results/pr-id", "results.tekton.dev/record": "ns/results/pr-id/records/tr-id", "results.tekton.dev/time-taken-ms": 17} logger.go:146: 2025-08-25T18:21:44.698Z DEBUG TestController annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "06591fae-ede9-47e5-a97a-d9f001b845da", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun"} logger.go:146: 2025-08-25T18:21:44.698Z DEBUG TestController dynamic/dynamic.go:717 Skipping ChildReadyForDeletion annotation patch: object is not done yet {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "06591fae-ede9-47e5-a97a-d9f001b845da", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun"} logger.go:146: 2025-08-25T18:21:44.698Z INFO TestController dynamic/dynamic.go:285 Skipping resource deletion: deletion is disabled {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "06591fae-ede9-47e5-a97a-d9f001b845da", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/gracePeriod": "0s"} logger.go:146: 2025-08-25T18:21:44.698Z DEBUG TestController annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "06591fae-ede9-47e5-a97a-d9f001b845da", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun"} logger.go:146: 2025-08-25T18:21:44.698Z WARN TestController dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "06591fae-ede9-47e5-a97a-d9f001b845da", "knative.dev/key": "ns/taskrun", "results.tekton.dev/kind": "TaskRun", "results.tekton.dev/result": "ns/results/pr-id", "results.tekton.dev/record": "ns/results/pr-id/records/tr-id"} logger.go:146: 2025-08-25T18:21:44.699Z INFO TestController controller/controller.go:548 Reconcile succeeded {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "06591fae-ede9-47e5-a97a-d9f001b845da", "knative.dev/key": "ns/taskrun", "duration": "18.803631ms"} === NAME TestController/taskrun reconciler_test.go:135: Get (&{{TaskRun tekton.dev/v1} {taskrun ns tr-id 0 0001-01-01 00:00:00 +0000 UTC map[] map[demo:demo results.tekton.dev/record:ns/results/pr-id/records/tr-id results.tekton.dev/result:ns/results/pr-id results.tekton.dev/stored:false tekton.dev/pipelineRun:pr] [{tekton.dev/v1 PipelineRun pr-id }] [results.tekton.dev/taskrun] []} { [] 0 nil [] [] [] nil} {{0 [] map[]} { [] [] [] [] map[]}}}, ) === RUN TestController/pipelinerun === NAME TestController logger.go:146: 2025-08-25T18:21:45.237Z DEBUG TestController controller/controller.go:418 Adding to queue ns/pr (depth: 1) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/key": "ns/pr"} logger.go:146: 2025-08-25T18:21:45.237Z DEBUG TestController controller/controller.go:511 Processing from queue ns/pr (depth: 0) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun"} logger.go:146: 2025-08-25T18:21:45.243Z INFO TestController pipelinerun/reconciler.go:67 Initiating reconciliation for PipelineRun 'ns/pr' {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "14b42235-c67f-4cba-b679-ece44ba3d7d0", "knative.dev/key": "ns/pr", "results.tekton.dev/kind": "PipelineRun"} logger.go:146: 2025-08-25T18:21:45.244Z DEBUG TestController controller/controller.go:418 Adding to queue ns/pr (depth: 1) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/key": "ns/pr"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.633ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "pr-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.712ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "pr-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:140 [23.982ms] [rows:1] UPDATE `results` SET `name`="pr-id",`annotations`="{""object.metadata.name"":""pr""}",`created_time`="2025-08-25 18:21:44.353",`updated_time`="2025-08-25 18:21:45.251",`recordsummary_record`="ns/results/pr-id/records/pr-id",`recordsummary_type`="tekton.dev/v1.PipelineRun",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="bbf7a930-143e-4169-a64e-c04028567b37-1756146105251500241" WHERE `parent` = "ns" AND `id` = "bbf7a930-143e-4169-a64e-c04028567b37" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.460ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "pr-id" AND `records`.`name` = "pr-id" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:45.578Z DEBUG TestController results/results.go:334 Record doesn't exist yet - creating {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "14b42235-c67f-4cba-b679-ece44ba3d7d0", "knative.dev/key": "ns/pr", "results.tekton.dev/kind": "PipelineRun", "results.tekton.dev/record": "ns/results/pr-id/records/pr-id"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.313ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "pr-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [620.627ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","bbf7a930-143e-4169-a64e-c04028567b37","pr-id","ab0ba628-4a1e-4199-aa29-0a634d4013f5","pr-id","tekton.dev/v1.PipelineRun","{""kind"":""PipelineRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""pr"",""namespace"":""ns"",""uid"":""pr-id"",""creationTimestamp"":null,""annotations"":{""demo"":""demo""},""finalizers"":[""results.tekton.dev/pipelinerun""]},""spec"":{""taskRunTemplate"":{}},""status"":{}}","ab0ba628-4a1e-4199-aa29-0a634d4013f5-1756146105579642764","2025-08-25 18:21:45.579","2025-08-25 18:21:45.579") RETURNING `created_time`,`updated_time` logger.go:146: 2025-08-25T18:21:46.202Z DEBUG TestController dynamic/dynamic.go:224 Record has been successfully upserted into API server {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "14b42235-c67f-4cba-b679-ece44ba3d7d0", "knative.dev/key": "ns/pr", "results.tekton.dev/kind": "PipelineRun", "results.tekton.dev/result": "ns/results/pr-id", "results.tekton.dev/record": "ns/results/pr-id/records/pr-id", "results.tekton.dev/time-taken-ms": 957} logger.go:146: 2025-08-25T18:21:46.206Z INFO TestController dynamic/dynamic.go:285 Skipping resource deletion: deletion is disabled {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "14b42235-c67f-4cba-b679-ece44ba3d7d0", "knative.dev/key": "ns/pr", "results.tekton.dev/kind": "PipelineRun", "results.tekton.dev/gracePeriod": "0s"} logger.go:146: 2025-08-25T18:21:46.206Z DEBUG TestController controller/controller.go:418 Adding to queue ns/pr (depth: 0) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/key": "ns/pr"} logger.go:146: 2025-08-25T18:21:46.210Z WARN TestController dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "14b42235-c67f-4cba-b679-ece44ba3d7d0", "knative.dev/key": "ns/pr", "results.tekton.dev/kind": "PipelineRun", "results.tekton.dev/result": "ns/results/pr-id", "results.tekton.dev/record": "ns/results/pr-id/records/pr-id"} logger.go:146: 2025-08-25T18:21:46.210Z INFO TestController controller/controller.go:548 Reconcile succeeded {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "14b42235-c67f-4cba-b679-ece44ba3d7d0", "knative.dev/key": "ns/pr", "duration": "972.655697ms"} logger.go:146: 2025-08-25T18:21:46.210Z DEBUG TestController controller/controller.go:418 Adding to queue ns/pr (depth: 1) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/key": "ns/pr"} logger.go:146: 2025-08-25T18:21:46.211Z DEBUG TestController controller/controller.go:511 Processing from queue ns/pr (depth: 0) {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun"} logger.go:146: 2025-08-25T18:21:46.212Z INFO TestController pipelinerun/reconciler.go:67 Initiating reconciliation for PipelineRun 'ns/pr' {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "d5717d2f-27e9-4f68-aff0-bd71fd315159", "knative.dev/key": "ns/pr", "results.tekton.dev/kind": "PipelineRun"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.698ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "pr-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:46.217Z DEBUG TestController results/results.go:210 No further actions to be done on the Result: no differences found {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "d5717d2f-27e9-4f68-aff0-bd71fd315159", "knative.dev/key": "ns/pr", "results.tekton.dev/kind": "PipelineRun", "results.tekton.dev/result": "ns/results/pr-id", "results.tekton.dev/record": "ns/results/pr-id/records/pr-id", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.709ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "pr-id" AND `records`.`name` = "pr-id" ORDER BY `records`.`id` LIMIT 1 === NAME TestController/pipelinerun reconciler_test.go:135: Get (&{{PipelineRun tekton.dev/v1} {pr ns pr-id 0 0001-01-01 00:00:00 +0000 UTC map[] map[demo:demo results.tekton.dev/record:ns/results/pr-id/records/pr-id results.tekton.dev/result:ns/results/pr-id results.tekton.dev/stored:false] [] [results.tekton.dev/pipelinerun] []} { [] { } [] []} {{0 [] map[]} { [] [] [] map[]}}}, ) === NAME TestController logger.go:146: 2025-08-25T18:21:46.240Z INFO TestController controller/controller.go:496 Shutting down workers {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun"} logger.go:146: 2025-08-25T18:21:46.240Z INFO TestController controller/controller.go:496 Shutting down workers {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun"} --- PASS: TestController (2.20s) --- PASS: TestController/taskrun (1.00s) --- PASS: TestController/pipelinerun (1.00s) PASS ================== WARNING: DATA RACE Read at 0x00c000d34903 by goroutine 80: testing.(*common).logDepth() /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1053 +0xca testing.(*common).log() /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1046 +0x9e testing.(*common).Logf() /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1097 +0x66 go.uber.org/zap/zaptest.TestingWriter.Write() /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zaptest/logger.go:146 +0x11c go.uber.org/zap/zaptest.(*TestingWriter).Write() :1 +0x74 go.uber.org/zap/zapcore.(*ioCore).Write() /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zapcore/core.go:99 +0x18d go.uber.org/zap/zapcore.(*CheckedEntry).Write() /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zapcore/entry.go:253 +0x1ec go.uber.org/zap.(*SugaredLogger).log() /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/sugar.go:355 +0x12c go.uber.org/zap.(*SugaredLogger).Debug() /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/sugar.go:149 +0x477 github.com/tektoncd/results/pkg/watcher/results.(*Client).upsertRecord() /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results.go:326 +0x40d github.com/tektoncd/results/proto/v1alpha2/results_go_proto.(*resultsClient).GetRecord() /home/prow/go/src/github.com/tektoncd/results/proto/v1alpha2/results_go_proto/api_grpc.pb.go:149 +0x1b3 github.com/tektoncd/results/pkg/watcher/results.(*Client).upsertRecord() /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results.go:315 +0x301 github.com/tektoncd/results/pkg/watcher/results.(*Client).Put() /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results.go:95 +0x12c github.com/tektoncd/results/pkg/watcher/results.(*Client).ensureResult() /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results.go:107 +0x1a5 github.com/tektoncd/results/pkg/watcher/results.(*Client).Put() /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results.go:89 +0xa4 github.com/tektoncd/results/pkg/watcher/reconciler/dynamic.(*Reconciler).Reconcile() /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/dynamic/dynamic.go:148 +0x44b github.com/tektoncd/results/pkg/watcher/reconciler/pipelinerun.(*Reconciler).ReconcileKind() /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/pipelinerun/reconciler.go:98 +0x9cb github.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1/pipelinerun.Interface.ReconcileKind-fm() :1 +0x6b github.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1/pipelinerun.(*reconcilerImpl).Reconcile() /home/prow/go/src/github.com/tektoncd/results/vendor/github.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1/pipelinerun/reconciler.go:236 +0x6db knative.dev/pkg/controller.(*Impl).processNextWorkItem() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:540 +0x6c6 knative.dev/pkg/controller.(*Impl).RunContext.func3() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:489 +0x94 github.com/tektoncd/results/pkg/watcher/results.(*Client).Put() /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results.go:89 +0xa4 github.com/tektoncd/results/pkg/watcher/reconciler/dynamic.(*Reconciler).Reconcile() /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/dynamic/dynamic.go:148 +0x44b github.com/tektoncd/results/pkg/watcher/reconciler/pipelinerun.(*Reconciler).ReconcileKind() /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/pipelinerun/reconciler.go:98 +0x9cb github.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1/pipelinerun.Interface.ReconcileKind-fm() :1 +0x6b github.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1/pipelinerun.(*reconcilerImpl).Reconcile() /home/prow/go/src/github.com/tektoncd/results/vendor/github.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1/pipelinerun/reconciler.go:236 +0x6db knative.dev/pkg/controller.(*Impl).processNextWorkItem() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:540 +0x6c6 knative.dev/pkg/controller.(*Impl).RunContext.func3() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:489 +0x94 Previous write at 0x00c000d34903 by goroutine 30: testing.tRunner.func1() /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1779 +0x8b9 runtime.deferreturn() /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/panic.go:605 +0x5d testing.(*T).Run.gowrap1() /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1851 +0x44 Goroutine 80 (running) created at: knative.dev/pkg/controller.(*Impl).RunContext() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:487 +0x531 knative.dev/pkg/controller.(*Impl).Run() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:444 +0x5c knative.dev/pkg/controller.StartAll.func1() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:781 +0x67 golang.org/x/sync/errgroup.(*Group).Go.func1() /home/prow/go/src/github.com/tektoncd/results/vendor/golang.org/x/sync/errgroup/errgroup.go:93 +0x91 Goroutine 30 (finished) created at: testing.(*T).Run() /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1851 +0x8f2 testing.runTests.func1() /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:2279 +0x85 testing.tRunner() /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1792 +0x225 testing.runTests() /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:2277 +0x96c testing.(*M).Run() /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:2142 +0xeea main.main() _testmain.go:51 +0x164 ================== panic: Log in goroutine after TestController has completed: 2025-08-25T18:21:46.243Z DEBUG TestController results/results.go:326 Updating Record {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "d5717d2f-27e9-4f68-aff0-bd71fd315159", "knative.dev/key": "ns/pr", "results.tekton.dev/kind": "PipelineRun", "results.tekton.dev/record": "ns/results/pr-id/records/pr-id"} panic: Log in goroutine after TestController has completed: 2025-08-25T18:21:46.252Z WARN TestController dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "d5717d2f-27e9-4f68-aff0-bd71fd315159", "knative.dev/key": "ns/pr", "results.tekton.dev/kind": "PipelineRun"} goroutine 123 [running]: testing.(*common).logDepth(0xc000d348c0, {0xc00142a8c0, 0x1a7}, 0x3) /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1064 +0x69f testing.(*common).log(...) /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1046 testing.(*common).Logf(0xc000d348c0, {0x64e3e26, 0x2}, {0xc00106bd30, 0x1, 0x1}) /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1097 +0x9f go.uber.org/zap/zaptest.TestingWriter.Write({{0x6fed6c0?, 0xc000d348c0?}, 0x20?}, {0xc001443800, 0x1a8, 0x400}) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zaptest/logger.go:146 +0x11d go.uber.org/zap/zapcore.(*ioCore).Write(0xc0013190b0, {0x1, {0xc223484e8f0f3e62, 0xaf88506c, 0x9b90460}, {0x64f8a4d, 0xe}, {0x65c5970, 0x48}, {0x1, ...}, ...}, ...) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zapcore/core.go:99 +0x18e go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc000b53d40, {0x0, 0x0, 0x0}) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zapcore/entry.go:253 +0x1ed go.uber.org/zap.(*SugaredLogger).log(0xc00121a358, 0x1, {0x0, 0x0}, {0xc0014068b8, 0x1, 0x1}, {0x0, 0x0, 0x0}) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/sugar.go:355 +0x12d go.uber.org/zap.(*SugaredLogger).Warn(...) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/sugar.go:161 github.com/tektoncd/results/pkg/watcher/reconciler/dynamic.(*Reconciler).Reconcile.func1() /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/dynamic/dynamic.go:120 +0x405 panic({0x5ab3380?, 0xc00106bce0?}) /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/panic.go:787 +0x132 testing.(*common).logDepth(0xc000d348c0, {0xc00142a540, 0x1ae}, 0x3) /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1064 +0x69f testing.(*common).log(...) /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1046 testing.(*common).Logf(0xc000d348c0, {0x64e3e26, 0x2}, {0xc00106bcc0, 0x1, 0x1}) /home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1097 +0x9f go.uber.org/zap/zaptest.TestingWriter.Write({{0x6fed6c0?, 0xc000d348c0?}, 0xb0?}, {0xc001328c00, 0x1af, 0x400}) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zaptest/logger.go:146 +0x11d go.uber.org/zap/zapcore.(*ioCore).Write(0xc001440060, {0xff, {0xc223484e8e7c6560, 0xaef5777e, 0x9b90460}, {0x64f8a4d, 0xe}, {0x64fba82, 0xf}, {0x1, ...}, ...}, ...) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zapcore/core.go:99 +0x18e go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc00127ec30, {0x0, 0x0, 0x0}) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zapcore/entry.go:253 +0x1ed go.uber.org/zap.(*SugaredLogger).log(0xc000b26810, 0xff, {0x0, 0x0}, {0xc001407090, 0x1, 0x1}, {0x0, 0x0, 0x0}) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/sugar.go:355 +0x12d go.uber.org/zap.(*SugaredLogger).Debug(...) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/sugar.go:149 github.com/tektoncd/results/pkg/watcher/results.(*Client).upsertRecord(0xc00122cc60, {0x6fe13a8, 0xc001319110}, {0xc001422ff0, 0x10}, {0x703bca0, 0xc001228d88}, {0x0, 0x0, 0x0}) /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results.go:326 +0x478 github.com/tektoncd/results/pkg/watcher/results.(*Client).Put(0xc00122cc60, {0x6fe13a8, 0xc001319110}, {0x703bca0, 0xc001228d88}, {0x0, 0x0, 0x0}) /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results.go:95 +0x12d github.com/tektoncd/results/pkg/watcher/reconciler/dynamic.(*Reconciler).Reconcile(0xc00131ce40, {0x6fe13a8, 0xc001319110}, {0x703bca0, 0xc001228d88}) /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/dynamic/dynamic.go:148 +0x44c github.com/tektoncd/results/pkg/watcher/reconciler/pipelinerun.(*Reconciler).ReconcileKind(0xc000d0f380, {0x6fe13a8, 0xc001318ff0}, 0xc001228d88) /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/pipelinerun/reconciler.go:98 +0x9cc github.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1/pipelinerun.(*reconcilerImpl).Reconcile(0xc000d13680, {0x6fe13a8, 0xc001318f90}, {0xc000ca597b, 0x5}) /home/prow/go/src/github.com/tektoncd/results/vendor/github.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1/pipelinerun/reconciler.go:236 +0x6dc knative.dev/pkg/controller.(*Impl).processNextWorkItem(0xc000b21b00) /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:540 +0x6c7 knative.dev/pkg/controller.(*Impl).RunContext.func3() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:489 +0x95 created by knative.dev/pkg/controller.(*Impl).RunContext in goroutine 120 /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:487 +0x532 FAIL github.com/tektoncd/results/pkg/watcher/reconciler 3.011s === RUN TestPatch === RUN TestPatch/successful_patch_for_PipelineRun === RUN TestPatch/successful_patch_for_TaskRun === RUN TestPatch/preserve_existing_managed_annotations_only === RUN TestPatch/skip_patching_when_already_patched === RUN TestPatch/error_when_GVK_is_empty {"level":"error","ts":1756146103.505965,"logger":"fallback","caller":"annotation/annotation.go:108","msg":"could not determine apiVersion and kind from object test-ns/test-pr","stacktrace":"github.com/tektoncd/results/pkg/watcher/reconciler/annotation.Patch\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/annotation/annotation.go:108\ngithub.com/tektoncd/results/pkg/watcher/reconciler/annotation.TestPatch.func9\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/annotation/annotation_test.go:358\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1792"} === RUN TestPatch/error_from_client === RUN TestPatch/skip_empty_annotation_values === RUN TestPatch/conflict_handling_-_successful_retry_with_force {"level":"warn","ts":1756146103.5103965,"logger":"fallback","caller":"annotation/annotation.go:158","msg":"failed to patch object test-pr with annotations map[results.tekton.dev/record:foo/results/bar/records/baz results.tekton.dev/result:foo/results/bar] due to Server-Side Apply patch conflict, using force patch."} === RUN TestPatch/only_managed_annotations_included_in_patch --- PASS: TestPatch (0.01s) --- PASS: TestPatch/successful_patch_for_PipelineRun (0.00s) --- PASS: TestPatch/successful_patch_for_TaskRun (0.00s) --- PASS: TestPatch/preserve_existing_managed_annotations_only (0.00s) --- PASS: TestPatch/skip_patching_when_already_patched (0.00s) --- PASS: TestPatch/error_when_GVK_is_empty (0.00s) --- PASS: TestPatch/error_from_client (0.00s) --- PASS: TestPatch/skip_empty_annotation_values (0.00s) --- PASS: TestPatch/conflict_handling_-_successful_retry_with_force (0.00s) --- PASS: TestPatch/only_managed_annotations_included_in_patch (0.00s) === RUN TestPatchConflictHandling === RUN TestPatchConflictHandling/successful_retry_after_conflict {"level":"warn","ts":1756146103.512571,"logger":"fallback","caller":"annotation/annotation.go:158","msg":"failed to patch object test-pr-conflict with annotations map[results.tekton.dev/record:foo/results/bar/records/baz results.tekton.dev/result:foo/results/bar] due to Server-Side Apply patch conflict, using force patch."} === RUN TestPatchConflictHandling/persistent_error_after_conflict_retry {"level":"warn","ts":1756146103.5130174,"logger":"fallback","caller":"annotation/annotation.go:158","msg":"failed to patch object test-pr-error with annotations map[results.tekton.dev/record:foo/results/bar/records/baz results.tekton.dev/result:foo/results/bar] due to Server-Side Apply patch conflict, using force patch."} --- PASS: TestPatchConflictHandling (0.00s) --- PASS: TestPatchConflictHandling/successful_retry_after_conflict (0.00s) --- PASS: TestPatchConflictHandling/persistent_error_after_conflict_retry (0.00s) === RUN TestIsPatched === RUN TestIsPatched/no_annotations_present === RUN TestIsPatched/partial_annotations_present === RUN TestIsPatched/all_annotations_present === RUN TestIsPatched/all_annotations_present_with_extras === RUN TestIsPatched/annotation_value_mismatch === RUN TestIsPatched/nil_annotations_map === RUN TestIsPatched/empty_annotations_list --- PASS: TestIsPatched (0.00s) --- PASS: TestIsPatched/no_annotations_present (0.00s) --- PASS: TestIsPatched/partial_annotations_present (0.00s) --- PASS: TestIsPatched/all_annotations_present (0.00s) --- PASS: TestIsPatched/all_annotations_present_with_extras (0.00s) --- PASS: TestIsPatched/annotation_value_mismatch (0.00s) --- PASS: TestIsPatched/nil_annotations_map (0.00s) --- PASS: TestIsPatched/empty_annotations_list (0.00s) PASS ok github.com/tektoncd/results/pkg/watcher/reconciler/annotation 1.244s ? github.com/tektoncd/results/pkg/watcher/reconciler/client [no test files] === RUN TestReconcile_TaskRun logger.go:146: 2025-08-25T18:21:53.899Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0009b5360 evictedKeys:[] evictedVals:[] onEvictedCB: lock:{w:{_:{} mu:{state:0 sema:0}} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}} dynamic_test.go:130: test database: /tmp/testdb2538220903 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.094ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.149ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [664.993ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [229.857ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.121ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [273.511ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [175.903ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146115.3021877,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [39.793ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:55.359Z DEBUG TestReconcile_TaskRun results/results.go:188 Result doesn't exist yet - creating {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [238.587ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("ns","dc9d8b53-de99-4522-b110-9ae624b1cf5f","12345","{""object.metadata.name"":""taskrun""}","ns/results/12345/records/12345","tekton.dev/v1.TaskRun",NULL,"0000-00-00 00:00:00",1,"null","dc9d8b53-de99-4522-b110-9ae624b1cf5f-1756146115362301970","2025-08-25 18:21:55.362","2025-08-25 18:21:55.362") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.501ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:55.617Z DEBUG TestReconcile_TaskRun results/results.go:334 Record doesn't exist yet - creating {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [2.001ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [260.778ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","dc9d8b53-de99-4522-b110-9ae624b1cf5f","12345","aeb71bdb-7e92-4b82-957e-8c0e6a2f31db","12345","tekton.dev/v1.TaskRun","{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""annotations"":{""demo"":""demo""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""True"",""lastTransitionTime"":null,""reason"":""Succeeded""}],""podName"":""""}}","aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146115621894820","2025-08-25 18:21:55.621","2025-08-25 18:21:55.621") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [1.073ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:55.890Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.432ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.531ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:55.896Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.398ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.359ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [242.873ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","dc9d8b53-de99-4522-b110-9ae624b1cf5f","12345","8a00b6e5-a7c5-4a09-b7f7-33eb5a35fff2","615f568b-1717-3481-ab11-7788981ce7e1","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""615f568b-1717-3481-ab11-7788981ce7e1"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","8a00b6e5-a7c5-4a09-b7f7-33eb5a35fff2-1756146115900622821","2025-08-25 18:21:55.9","2025-08-25 18:21:55.9") RETURNING `created_time`,`updated_time` logger.go:146: 2025-08-25T18:21:56.145Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:261 Skipping CRD annotation patch: annotation update is disabled logger.go:146: 2025-08-25T18:21:56.145Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:438 Streaming log started logger.go:146: 2025-08-25T18:21:56.146Z ERROR TestReconcile_TaskRun dynamic/dynamic.go:442 Error streaming log {"error": "failed to create tkn reader: Parsing kubeconfig failed: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"} logger.go:146: 2025-08-25T18:21:56.146Z INFO TestReconcile_TaskRun dynamic/dynamic.go:445 Streaming log completed db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [7.027ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.156Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.360ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.577ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.162Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.434ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.355ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [398.390ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","dc9d8b53-de99-4522-b110-9ae624b1cf5f","12345","9257cc6a-36c6-4210-aa1c-4347b7aef785","f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7","results.tekton.dev/v1.EventList","{""metadata"":{},""items"":null}","9257cc6a-36c6-4210-aa1c-4347b7aef785-1756146116166478031","2025-08-25 18:21:56.166","2025-08-25 18:21:56.166") RETURNING `created_time`,`updated_time` logger.go:146: 2025-08-25T18:21:56.566Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:261 Skipping CRD annotation patch: annotation update is disabled logger.go:146: 2025-08-25T18:21:56.566Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:56.566Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 568} logger.go:146: 2025-08-25T18:21:56.566Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:261 Skipping CRD annotation patch: annotation update is disabled logger.go:146: 2025-08-25T18:21:56.566Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:703 Skipping CRD ChildReadyForDeletion annotation patch: annotation update is disabled logger.go:146: 2025-08-25T18:21:56.566Z INFO TestReconcile_TaskRun dynamic/dynamic.go:285 Skipping resource deletion: deletion is disabled {"results.tekton.dev/gracePeriod": "0s"} logger.go:146: 2025-08-25T18:21:56.566Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} === RUN TestReconcile_TaskRun/disabled_annotations === NAME TestReconcile_TaskRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.613ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.417ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.775ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.847ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 === RUN TestReconcile_TaskRun/enabled_annotations === NAME TestReconcile_TaskRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.724ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.584Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.454ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.610Z DEBUG TestReconcile_TaskRun results/results.go:322 No further actions to be done on the Record: no changes found {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.492ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.613Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.784ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.461ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.640Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.412ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.643Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:56.643Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 30} logger.go:146: 2025-08-25T18:21:56.644Z INFO TestReconcile_TaskRun dynamic/dynamic.go:285 Skipping resource deletion: deletion is disabled {"results.tekton.dev/gracePeriod": "0s"} logger.go:146: 2025-08-25T18:21:56.644Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.472ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.398ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.315ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.590ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 === RUN TestReconcile_TaskRun/delete_object_once_grace_period_elapses === NAME TestReconcile_TaskRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.550ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.655Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.383ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.670Z DEBUG TestReconcile_TaskRun results/results.go:326 Updating Record {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.398ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [34.931ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""annotations"":{""demo"":""demo"",""results.tekton.dev/eventlist"":""ns/results/12345/records/f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7"",""results.tekton.dev/log"":""ns/results/12345/logs/615f568b-1717-3481-ab11-7788981ce7e1"",""results.tekton.dev/record"":""ns/results/12345/records/12345"",""results.tekton.dev/result"":""ns/results/12345""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""True"",""lastTransitionTime"":null,""reason"":""Succeeded""}],""podName"":"""",""completionTime"":""2025-08-25T18:21:55Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:56.672",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146116672266640" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [27.577ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.967Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.537ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.969Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.807ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.972Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.713ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.975Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:56.976Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:56.976Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 284} logger.go:146: 2025-08-25T18:21:56.976Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:56.976Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:325 Object is not ready for deletion yet - requeuing to process later {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/requeueAfter": "1s"} logger.go:146: 2025-08-25T18:21:56.976Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.567ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:56.983Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.459ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.004Z DEBUG TestReconcile_TaskRun results/results.go:322 No further actions to be done on the Record: no changes found {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.541ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.008Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.590ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.010Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.603ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.013Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.515ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.015Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.015Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:57.016Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 28} logger.go:146: 2025-08-25T18:21:57.016Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.016Z INFO TestReconcile_TaskRun dynamic/dynamic.go:341 Deleting object {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/uid": "12345", "results.tekton.dev/time-taken-seconds": 1} logger.go:146: 2025-08-25T18:21:57.016Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:351 Object has been successfully deleted {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/time-taken-seconds": 1} logger.go:146: 2025-08-25T18:21:57.016Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} === RUN TestReconcile_TaskRun/delete_failed_runs === NAME TestReconcile_TaskRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.465ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.797ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:140 [0.783ms] [rows:1] UPDATE `results` SET `name`="12345",`annotations`="{""object.metadata.name"":""taskrun""}",`created_time`="2025-08-25 18:21:55.362",`updated_time`="2025-08-25 18:21:57.022",`recordsummary_record`="ns/results/12345/records/12345",`recordsummary_type`="tekton.dev/v1.TaskRun",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=2,`recordsummary_annotations`="null",`etag`="dc9d8b53-de99-4522-b110-9ae624b1cf5f-1756146117022895254" WHERE `parent` = "ns" AND `id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [30.852ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.165Z DEBUG TestReconcile_TaskRun results/results.go:326 Updating Record {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.407ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [0.582ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""annotations"":{""demo"":""demo"",""results.tekton.dev/eventlist"":""ns/results/12345/records/f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7"",""results.tekton.dev/log"":""ns/results/12345/logs/615f568b-1717-3481-ab11-7788981ce7e1"",""results.tekton.dev/record"":""ns/results/12345/records/12345"",""results.tekton.dev/result"":""ns/results/12345""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-25T18:21:57Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-25T18:21:57Z"",""completionTime"":""2025-08-25T18:21:57Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:57.167",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146117167847069" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.510ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.195Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.445ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.197Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.560ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.201Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.458ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.203Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.203Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:57.203Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 176} logger.go:146: 2025-08-25T18:21:57.203Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.203Z INFO TestReconcile_TaskRun dynamic/dynamic.go:341 Deleting object {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/uid": "12345", "results.tekton.dev/time-taken-seconds": 0} logger.go:146: 2025-08-25T18:21:57.203Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:351 Object has been successfully deleted {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/time-taken-seconds": 0} logger.go:146: 2025-08-25T18:21:57.204Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} === RUN TestReconcile_TaskRun/wait_until_the_object_has_the_desired_labels_to_delete_it === NAME TestReconcile_TaskRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.596ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.207Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.466ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.227Z DEBUG TestReconcile_TaskRun results/results.go:322 No further actions to be done on the Record: no changes found {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [1.298ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.231Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.488ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.233Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.588ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.236Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.640ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.239Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.239Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:57.239Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 22} logger.go:146: 2025-08-25T18:21:57.239Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.239Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:331 Object doesn't match the required label selectors - requeuing to process later {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/label-selectors": "x=foo"} logger.go:146: 2025-08-25T18:21:57.239Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.398ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.242Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.371ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.260Z DEBUG TestReconcile_TaskRun results/results.go:326 Updating Record {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.500ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [0.439ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""demo"":""demo"",""results.tekton.dev/eventlist"":""ns/results/12345/records/f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7"",""results.tekton.dev/log"":""ns/results/12345/logs/615f568b-1717-3481-ab11-7788981ce7e1"",""results.tekton.dev/record"":""ns/results/12345/records/12345"",""results.tekton.dev/result"":""ns/results/12345""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-25T18:21:57Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-25T18:21:57Z"",""completionTime"":""2025-08-25T18:21:57Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:57.262",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146117262966783" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.634ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.272Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.483ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.275Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.309ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.277Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.479ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.279Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.279Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:57.279Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 29} logger.go:146: 2025-08-25T18:21:57.279Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.279Z INFO TestReconcile_TaskRun dynamic/dynamic.go:341 Deleting object {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/uid": "12345", "results.tekton.dev/time-taken-seconds": 0} logger.go:146: 2025-08-25T18:21:57.279Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:351 Object has been successfully deleted {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/time-taken-seconds": 0} logger.go:146: 2025-08-25T18:21:57.280Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} === RUN TestReconcile_TaskRun/wait_until_the_IsReadyForDeletion_function_returns_true_to_delete_the_object === NAME TestReconcile_TaskRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.484ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.283Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.475ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.299Z DEBUG TestReconcile_TaskRun results/results.go:322 No further actions to be done on the Record: no changes found {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.470ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.302Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.683ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.305Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.420ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.308Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.472ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.310Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.310Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:57.310Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 19} logger.go:146: 2025-08-25T18:21:57.310Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.310Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.612ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.313Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.459ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.332Z DEBUG TestReconcile_TaskRun results/results.go:322 No further actions to be done on the Record: no changes found {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.409ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.335Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.473ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.338Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.591ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.342Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.544ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.344Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.345Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:57.345Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 21} logger.go:146: 2025-08-25T18:21:57.345Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.345Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.465ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.349Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.629ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.368Z DEBUG TestReconcile_TaskRun results/results.go:326 Updating Record {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.672ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [1.012ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""x"":""foo""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-25T18:21:57Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-25T18:21:57Z"",""completionTime"":""2025-08-25T18:21:57Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:57.371",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146117371924747" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.551ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.381Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.406ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.567ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.389Z DEBUG TestReconcile_TaskRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.507ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.395Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:57.395Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 32} logger.go:146: 2025-08-25T18:21:57.398Z INFO TestReconcile_TaskRun dynamic/dynamic.go:341 Deleting object {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/uid": "12345", "results.tekton.dev/time-taken-seconds": 0} logger.go:146: 2025-08-25T18:21:57.398Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:351 Object has been successfully deleted {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/time-taken-seconds": 0} logger.go:146: 2025-08-25T18:21:57.398Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} === RUN TestReconcile_TaskRun/delete_object_with_owner_references_when_owner_check_is_disabled === NAME TestReconcile_TaskRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.320ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.401Z DEBUG TestReconcile_TaskRun results/results.go:202 No further actions to be done on the Result: the object is not a top level record {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.781ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.417Z DEBUG TestReconcile_TaskRun results/results.go:326 Updating Record {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.458ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [8.769ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""results.tekton.dev/eventlist"":""ns/results/12345/records/f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7"",""results.tekton.dev/log"":""ns/results/12345/logs/615f568b-1717-3481-ab11-7788981ce7e1"",""results.tekton.dev/record"":""ns/results/12345/records/12345"",""results.tekton.dev/result"":""ns/results/12345"",""x"":""foo""},""ownerReferences"":[{""apiVersion"":""v1"",""kind"":""test"",""name"":""test-owner"",""uid"":""""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-25T18:21:57Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-25T18:21:57Z"",""completionTime"":""2025-08-25T18:21:57Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:57.419",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146117419994369" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.590ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.437Z DEBUG TestReconcile_TaskRun results/results.go:202 No further actions to be done on the Result: the object is not a top level record {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.363ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.439Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.609ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.442Z DEBUG TestReconcile_TaskRun results/results.go:202 No further actions to be done on the Result: the object is not a top level record {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.474ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.444Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.444Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:57.445Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 35} logger.go:146: 2025-08-25T18:21:57.445Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.448Z INFO TestReconcile_TaskRun dynamic/dynamic.go:341 Deleting object {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/uid": "12345", "results.tekton.dev/time-taken-seconds": 0} logger.go:146: 2025-08-25T18:21:57.448Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:351 Object has been successfully deleted {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/time-taken-seconds": 0} logger.go:146: 2025-08-25T18:21:57.449Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} === RUN TestReconcile_TaskRun/do_not_delete_object_with_owner_references_has_PipelineRun_object_and_owner_check_is_disabled === NAME TestReconcile_TaskRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.627ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.452Z DEBUG TestReconcile_TaskRun results/results.go:202 No further actions to be done on the Result: the object is not a top level record {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.685ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.483Z DEBUG TestReconcile_TaskRun results/results.go:326 Updating Record {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.460ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [0.333ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""results.tekton.dev/childReadyForDeletion"":""true"",""results.tekton.dev/eventlist"":""ns/results/12345/records/f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7"",""results.tekton.dev/log"":""ns/results/12345/logs/615f568b-1717-3481-ab11-7788981ce7e1"",""results.tekton.dev/record"":""ns/results/12345/records/12345"",""results.tekton.dev/result"":""ns/results/12345"",""x"":""foo""},""ownerReferences"":[{""apiVersion"":""tekton.dev/v1"",""kind"":""PipelineRun"",""name"":""test-pipelinerun"",""uid"":""e39b68d5-9c60-4bcb-9194-0f1e116038f4""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-25T18:21:57Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-25T18:21:57Z"",""completionTime"":""2025-08-25T18:21:57Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:57.485",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146117485214861" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.549ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.493Z DEBUG TestReconcile_TaskRun results/results.go:202 No further actions to be done on the Result: the object is not a top level record {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.507ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.496Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.583ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.499Z DEBUG TestReconcile_TaskRun results/results.go:202 No further actions to be done on the Result: the object is not a top level record {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.473ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.501Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.501Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:57.501Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 40} logger.go:146: 2025-08-25T18:21:57.502Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.502Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.502Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:300 Resource is owned by a PipelineRun, deferring deletion to parent PipelineRun {"results.tekton.dev/gracePeriod": "1s", "tekton.dev/PipelineRun": "test-pipelinerun"} logger.go:146: 2025-08-25T18:21:57.502Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} === RUN TestReconcile_TaskRun/do_not_delete_object_with_owner_references_when_owner_check_is_enabled === NAME TestReconcile_TaskRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.491ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.506Z DEBUG TestReconcile_TaskRun results/results.go:202 No further actions to be done on the Result: the object is not a top level record {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.743ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.528Z DEBUG TestReconcile_TaskRun results/results.go:326 Updating Record {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.523ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [0.400ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""results.tekton.dev/childReadyForDeletion"":""true"",""results.tekton.dev/eventlist"":""ns/results/12345/records/f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7"",""results.tekton.dev/log"":""ns/results/12345/logs/615f568b-1717-3481-ab11-7788981ce7e1"",""results.tekton.dev/record"":""ns/results/12345/records/12345"",""results.tekton.dev/result"":""ns/results/12345"",""x"":""foo""},""ownerReferences"":[{""apiVersion"":""v1"",""kind"":""test"",""name"":""test-owner"",""uid"":""252e9f97-b176-43f0-83d8-635d7c7f0526""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-25T18:21:57Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-25T18:21:57Z"",""completionTime"":""2025-08-25T18:21:57Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:57.531",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146117531344303" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.469ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.553Z DEBUG TestReconcile_TaskRun results/results.go:202 No further actions to be done on the Result: the object is not a top level record {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.785ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.557Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.603ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.560Z DEBUG TestReconcile_TaskRun results/results.go:202 No further actions to be done on the Result: the object is not a top level record {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.702ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.563Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.563Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:57.563Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 48} logger.go:146: 2025-08-25T18:21:57.563Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.564Z DEBUG TestReconcile_TaskRun annotation/annotation.go:113 Skipping CRD annotation patch: annotations are already set ObjectName: taskrun logger.go:146: 2025-08-25T18:21:57.564Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:306 Resource is owned by another object, deferring deletion to parent resource(s) {"results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/ownerReferences": [{"apiVersion":"v1","kind":"test","name":"test-owner","uid":"252e9f97-b176-43f0-83d8-635d7c7f0526"}]} logger.go:146: 2025-08-25T18:21:57.564Z WARN TestReconcile_TaskRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} --- PASS: TestReconcile_TaskRun (3.67s) --- PASS: TestReconcile_TaskRun/disabled_annotations (0.01s) --- PASS: TestReconcile_TaskRun/enabled_annotations (0.07s) --- PASS: TestReconcile_TaskRun/delete_object_once_grace_period_elapses (0.36s) --- PASS: TestReconcile_TaskRun/delete_failed_runs (0.19s) --- PASS: TestReconcile_TaskRun/wait_until_the_object_has_the_desired_labels_to_delete_it (0.08s) --- PASS: TestReconcile_TaskRun/wait_until_the_IsReadyForDeletion_function_returns_true_to_delete_the_object (0.12s) --- PASS: TestReconcile_TaskRun/delete_object_with_owner_references_when_owner_check_is_disabled (0.05s) --- PASS: TestReconcile_TaskRun/do_not_delete_object_with_owner_references_has_PipelineRun_object_and_owner_check_is_disabled (0.05s) --- PASS: TestReconcile_TaskRun/do_not_delete_object_with_owner_references_when_owner_check_is_enabled (0.06s) === RUN TestReconcile_PipelineRun logger.go:146: 2025-08-25T18:21:57.566Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0014b7180 evictedKeys:[] evictedVals:[] onEvictedCB: lock:{w:{_:{} mu:{state:0 sema:0}} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}} dynamic_test.go:439: test database: /tmp/testdb3088553173 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.055ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.117ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [7.015ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [5.075ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.098ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [4.917ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [4.802ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146117.653031,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.399ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.658Z DEBUG TestReconcile_PipelineRun results/results.go:188 Result doesn't exist yet - creating {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [6.418ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("ns","4f89a6d2-f231-46e1-8c81-b136e0a66e9b","12345","{""object.metadata.name"":""pipelinerun""}","ns/results/12345/records/12345","tekton.dev/v1.PipelineRun",NULL,"0000-00-00 00:00:00",1,"null","4f89a6d2-f231-46e1-8c81-b136e0a66e9b-1756146117659693868","2025-08-25 18:21:57.659","2025-08-25 18:21:57.659") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.594ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.671Z DEBUG TestReconcile_PipelineRun results/results.go:334 Record doesn't exist yet - creating {"results.tekton.dev/record": "ns/results/12345/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [1.338ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [26.047ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","4f89a6d2-f231-46e1-8c81-b136e0a66e9b","12345","f53de095-ec6c-41b4-8ac9-a8e80af125e9","12345","tekton.dev/v1.PipelineRun","{""kind"":""PipelineRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""pipelinerun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""annotations"":{""demo"":""demo""}},""spec"":{""pipelineSpec"":{""tasks"":[{""name"":""task"",""taskSpec"":{""spec"":null,""metadata"":{},""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}}]},""taskRunTemplate"":{}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""True"",""lastTransitionTime"":null,""reason"":""Succeeded""}]}}","f53de095-ec6c-41b4-8ac9-a8e80af125e9-1756146117673891169","2025-08-25 18:21:57.673","2025-08-25 18:21:57.673") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [3.159ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.707Z DEBUG TestReconcile_PipelineRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.354ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "15ef4b5f-416d-3c32-bb1e-3a0dd98fd2b4" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.314ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.710Z DEBUG TestReconcile_PipelineRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.364ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "15ef4b5f-416d-3c32-bb1e-3a0dd98fd2b4" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.375ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [5.480ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","4f89a6d2-f231-46e1-8c81-b136e0a66e9b","12345","0de5c8ad-d971-4d10-8fa2-9117cbd8d51a","15ef4b5f-416d-3c32-bb1e-3a0dd98fd2b4","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""pipelinerun-log"",""namespace"":""ns"",""uid"":""15ef4b5f-416d-3c32-bb1e-3a0dd98fd2b4"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""PipelineRun"",""namespace"":""ns"",""name"":""pipelinerun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","0de5c8ad-d971-4d10-8fa2-9117cbd8d51a-1756146117714308170","2025-08-25 18:21:57.714","2025-08-25 18:21:57.714") RETURNING `created_time`,`updated_time` logger.go:146: 2025-08-25T18:21:57.723Z DEBUG TestReconcile_PipelineRun dynamic/dynamic.go:438 Streaming log started logger.go:146: 2025-08-25T18:21:57.724Z ERROR TestReconcile_PipelineRun dynamic/dynamic.go:442 Error streaming log {"error": "failed to create tkn reader: Parsing kubeconfig failed: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"} logger.go:146: 2025-08-25T18:21:57.724Z INFO TestReconcile_PipelineRun dynamic/dynamic.go:445 Streaming log completed db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.837ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.728Z DEBUG TestReconcile_PipelineRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.350ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "be51c9ba-6bbb-335c-8d9c-629afad810fa" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.542ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.733Z DEBUG TestReconcile_PipelineRun results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.249ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "be51c9ba-6bbb-335c-8d9c-629afad810fa" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.480ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [11.437ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","4f89a6d2-f231-46e1-8c81-b136e0a66e9b","12345","e3995d4f-44bc-4cb7-8db7-5fce02a0127f","be51c9ba-6bbb-335c-8d9c-629afad810fa","results.tekton.dev/v1.EventList","{""metadata"":{},""items"":null}","e3995d4f-44bc-4cb7-8db7-5fce02a0127f-1756146117736713581","2025-08-25 18:21:57.736","2025-08-25 18:21:57.736") RETURNING `created_time`,`updated_time` logger.go:146: 2025-08-25T18:21:57.751Z DEBUG TestReconcile_PipelineRun dynamic/dynamic.go:220 Successfully store eventlist logger.go:146: 2025-08-25T18:21:57.751Z DEBUG TestReconcile_PipelineRun dynamic/dynamic.go:224 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/time-taken-ms": 44} logger.go:146: 2025-08-25T18:21:57.753Z INFO TestReconcile_PipelineRun dynamic/dynamic.go:285 Skipping resource deletion: deletion is disabled {"results.tekton.dev/gracePeriod": "0s"} logger.go:146: 2025-08-25T18:21:57.753Z WARN TestReconcile_PipelineRun dynamic/dynamic.go:120 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} === RUN TestReconcile_PipelineRun/Result === NAME TestReconcile_PipelineRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.525ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 === RUN TestReconcile_PipelineRun/Record === NAME TestReconcile_PipelineRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.711ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 === RUN TestReconcile_PipelineRun/Log === NAME TestReconcile_PipelineRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.400ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "15ef4b5f-416d-3c32-bb1e-3a0dd98fd2b4" ORDER BY `records`.`id` LIMIT 1 === RUN TestReconcile_PipelineRun/EventList === NAME TestReconcile_PipelineRun db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.465ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "be51c9ba-6bbb-335c-8d9c-629afad810fa" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestReconcile_PipelineRun (0.20s) --- PASS: TestReconcile_PipelineRun/Result (0.00s) --- PASS: TestReconcile_PipelineRun/Record (0.00s) --- PASS: TestReconcile_PipelineRun/Log (0.00s) --- PASS: TestReconcile_PipelineRun/EventList (0.00s) PASS ok github.com/tektoncd/results/pkg/watcher/reconciler/dynamic 5.776s ? github.com/tektoncd/results/pkg/watcher/reconciler/leaderelection [no test files] === RUN TestReconcile === RUN TestReconcile/incomplete_run_with_disable_storing_-_skip logger.go:146: 2025-08-25T18:21:53.723Z INFO Initiating reconciliation for PipelineRun 'test-ns/test-pr' {"results.tekton.dev/kind": "PipelineRun"} logger.go:146: 2025-08-25T18:21:53.723Z DEBUG pipelinerun test-ns/test-pr is not done and incomplete runs are disabled, skipping storing {"results.tekton.dev/kind": "PipelineRun"} === RUN TestReconcile/already_stored_-_skip logger.go:146: 2025-08-25T18:21:53.724Z INFO Initiating reconciliation for PipelineRun 'test-ns/test-pr' {"results.tekton.dev/kind": "PipelineRun"} logger.go:146: 2025-08-25T18:21:53.724Z DEBUG pipelinerun test-ns/test-pr is already stored, skipping {"results.tekton.dev/kind": "PipelineRun"} --- PASS: TestReconcile (0.00s) --- PASS: TestReconcile/incomplete_run_with_disable_storing_-_skip (0.00s) --- PASS: TestReconcile/already_stored_-_skip (0.00s) === RUN TestAreAllUnderlyingTaskRunsReadyForDeletion === RUN TestAreAllUnderlyingTaskRunsReadyForDeletion/all_underlying_TaskRuns_are_ready_to_be_deleted === RUN TestAreAllUnderlyingTaskRunsReadyForDeletion/one_TaskRun_is_ready_to_be_deleted_whereas_the_other_is_not logger.go:146: 2025-08-25T18:21:53.726Z DEBUG TaskRun default/bar associated with PipelineRun isn't yet ready to be deleted - the annotation results.tekton.dev/childReadyForDeletion is missing === RUN TestAreAllUnderlyingTaskRunsReadyForDeletion/consider_that_missing_TaskRuns_can_be_deleted logger.go:146: 2025-08-25T18:21:53.727Z DEBUG TaskRun default/baz associated with PipelineRun is no longer available. Skipping. --- PASS: TestAreAllUnderlyingTaskRunsReadyForDeletion (0.00s) --- PASS: TestAreAllUnderlyingTaskRunsReadyForDeletion/all_underlying_TaskRuns_are_ready_to_be_deleted (0.00s) --- PASS: TestAreAllUnderlyingTaskRunsReadyForDeletion/one_TaskRun_is_ready_to_be_deleted_whereas_the_other_is_not (0.00s) --- PASS: TestAreAllUnderlyingTaskRunsReadyForDeletion/consider_that_missing_TaskRuns_can_be_deleted (0.00s) === RUN TestFinalize === RUN TestFinalize/pipelinerun_still_running_-_skip_finalization logger.go:146: 2025-08-25T18:21:53.728Z DEBUG pipelinerun test-ns/test-pr is still running === RUN TestFinalize/store_deadline_passed_-_proceed_with_deletion logger.go:146: 2025-08-25T18:21:53.728Z DEBUG store deadline: 2025-08-25 17:21:53.727972417 +0000 UTC now: 2025-08-25 18:21:53.728634227 +0000 UTC, completion time: 2025-08-25 16:21:53.727972417 +0000 UTC logger.go:146: 2025-08-25T18:21:53.728Z DEBUG store deadline has passed for pipelinerun test-ns/test-pr logger.go:146: 2025-08-25T18:21:53.729Z ERROR pipelinerun not stored: test-ns/test-pr, uid: , === RUN TestFinalize/missing_annotations_-_requeue logger.go:146: 2025-08-25T18:21:53.729Z DEBUG pipelinerun test-ns/test-pr annotations are missing, now: 2025-08-25 18:21:53.729486157 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.727973107 +0000 UTC === RUN TestFinalize/stored_annotation_missing_-_requeue logger.go:146: 2025-08-25T18:21:53.730Z DEBUG stored annotation is missing on pipelinerun test-ns/test-pr, now: 2025-08-25 18:21:53.729947617 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.727973427 +0000 UTC === RUN TestFinalize/stored_annotation_not_true_-_requeue logger.go:146: 2025-08-25T18:21:53.730Z DEBUG stored annotation is not true on pipelinerun test-ns/test-pr, now: 2025-08-25 18:21:53.730399477 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.727973637 +0000 UTC === RUN TestFinalize/reconcile_error_-_requeue logger.go:146: 2025-08-25T18:21:53.730Z DEBUG stored annotation is not true on pipelinerun test-ns/test-pr, now: 2025-08-25 18:21:53.730860467 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.727973897 +0000 UTC === RUN TestFinalize/successful_finalization === RUN TestFinalize/verify_finalizer_requeue_interval logger.go:146: 2025-08-25T18:21:53.731Z DEBUG pipelinerun test-ns/test-pr annotations are missing, now: 0001-01-01 00:00:00 +0000 UTC, storeDeadline: 0001-01-01 00:00:00 +0000 UTC --- PASS: TestFinalize (0.00s) --- PASS: TestFinalize/pipelinerun_still_running_-_skip_finalization (0.00s) --- PASS: TestFinalize/store_deadline_passed_-_proceed_with_deletion (0.00s) --- PASS: TestFinalize/missing_annotations_-_requeue (0.00s) --- PASS: TestFinalize/stored_annotation_missing_-_requeue (0.00s) --- PASS: TestFinalize/stored_annotation_not_true_-_requeue (0.00s) --- PASS: TestFinalize/reconcile_error_-_requeue (0.00s) --- PASS: TestFinalize/successful_finalization (0.00s) --- PASS: TestFinalize/verify_finalizer_requeue_interval (0.00s) PASS ok github.com/tektoncd/results/pkg/watcher/reconciler/pipelinerun 1.721s === RUN TestReconcile === RUN TestReconcile/incomplete_run_with_disable_storing_-_skip logger.go:146: 2025-08-25T18:21:53.624Z DEBUG taskrun test-ns/test-tr is not done and incomplete runs are disabled, skipping storing {"results.tekton.dev/kind": "TaskRun"} === RUN TestReconcile/already_stored_-_skip logger.go:146: 2025-08-25T18:21:53.625Z DEBUG taskrun test-ns/test-tr is already stored, skipping {"results.tekton.dev/kind": "TaskRun"} --- PASS: TestReconcile (0.00s) --- PASS: TestReconcile/incomplete_run_with_disable_storing_-_skip (0.00s) --- PASS: TestReconcile/already_stored_-_skip (0.00s) === RUN TestFinalize === RUN TestFinalize/taskrun_still_running_-_skip_finalization logger.go:146: 2025-08-25T18:21:53.626Z DEBUG taskrun test-ns/test-pr is still running === RUN TestFinalize/store_deadline_passed_-_proceed_with_deletion logger.go:146: 2025-08-25T18:21:53.626Z DEBUG store deadline: 2025-08-25 17:21:53.625836153 +0000 UTC now: 2025-08-25 18:21:53.626758273 +0000 UTC, completion time: 2025-08-25 16:21:53.625836153 +0000 UTC logger.go:146: 2025-08-25T18:21:53.626Z DEBUG store deadline has passed for taskrun test-ns/test-pr logger.go:146: 2025-08-25T18:21:53.627Z ERROR taskrun not stored: test-ns/test-pr, uid: , === RUN TestFinalize/missing_annotations_-_requeue logger.go:146: 2025-08-25T18:21:53.627Z DEBUG taskrun test-ns/test-pr annotations are missing, now: 2025-08-25 18:21:53.627238283 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.625836703 +0000 UTC === RUN TestFinalize/stored_annotation_missing_-_requeue logger.go:146: 2025-08-25T18:21:53.627Z DEBUG stored annotation is missing on taskrun test-ns/test-pr, now: 2025-08-25 18:21:53.627866773 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.625837013 +0000 UTC === RUN TestFinalize/stored_annotation_not_true_-_requeue logger.go:146: 2025-08-25T18:21:53.628Z DEBUG stored annotation is not true on taskrun test-ns/test-pr, now: 2025-08-25 18:21:53.628143503 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.625837233 +0000 UTC === RUN TestFinalize/reconcile_error_-_requeue logger.go:146: 2025-08-25T18:21:53.628Z DEBUG stored annotation is not true on taskrun test-ns/test-pr, now: 2025-08-25 18:21:53.628515103 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.625837393 +0000 UTC === RUN TestFinalize/successful_finalization === RUN TestFinalize/verify_finalizer_requeue_interval logger.go:146: 2025-08-25T18:21:53.629Z DEBUG taskrun test-ns/test-pr annotations are missing, now: 2025-08-25 18:21:53.629085643 +0000 UTC, storeDeadline: 0001-01-01 00:00:00 +0000 UTC --- PASS: TestFinalize (0.00s) --- PASS: TestFinalize/taskrun_still_running_-_skip_finalization (0.00s) --- PASS: TestFinalize/store_deadline_passed_-_proceed_with_deletion (0.00s) --- PASS: TestFinalize/missing_annotations_-_requeue (0.00s) --- PASS: TestFinalize/stored_annotation_missing_-_requeue (0.00s) --- PASS: TestFinalize/stored_annotation_not_true_-_requeue (0.00s) --- PASS: TestFinalize/reconcile_error_-_requeue (0.00s) --- PASS: TestFinalize/successful_finalization (0.00s) --- PASS: TestFinalize/verify_finalizer_requeue_interval (0.00s) PASS ok github.com/tektoncd/results/pkg/watcher/reconciler/taskrun 1.625s === RUN TestClient_PutLog logs_test.go:15: test database: /tmp/testdb1504981024 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.054ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.155ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [777.880ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [640.861ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.156ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [188.069ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [240.683ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146115.2273576,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} === RUN TestClient_PutLog/taskrun === RUN TestClient_PutLog/taskrun/create === NAME TestClient_PutLog db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [27.314ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [184.728ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("test","695712a6-33ea-4ca9-aaf1-3e8f282f5877","taskrun-id","{""object.metadata.name"":""taskrun""}","test/results/taskrun-id/records/taskrun-id","tekton.dev/v1.TaskRun",NULL,NULL,0,"null","695712a6-33ea-4ca9-aaf1-3e8f282f5877-1756146115272786106","2025-08-25 18:21:55.272","2025-08-25 18:21:55.272") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.466ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "e669e793-6a12-3d23-8422-07eccfe616f8" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [8.662ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [334.736ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("test","695712a6-33ea-4ca9-aaf1-3e8f282f5877","taskrun-id","6fbbd26c-3d21-4520-a5f1-2ed2c24abbf3","e669e793-6a12-3d23-8422-07eccfe616f8","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""test"",""uid"":""e669e793-6a12-3d23-8422-07eccfe616f8"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""test"",""name"":""taskrun"",""uid"":""taskrun-id""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","6fbbd26c-3d21-4520-a5f1-2ed2c24abbf3-1756146115473122534","2025-08-25 18:21:55.473","2025-08-25 18:21:55.473") RETURNING `created_time`,`updated_time` === RUN TestClient_PutLog/taskrun/update === NAME TestClient_PutLog db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.606ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.411ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "e669e793-6a12-3d23-8422-07eccfe616f8" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.408ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.635ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "e669e793-6a12-3d23-8422-07eccfe616f8" ORDER BY `records`.`id` LIMIT 1 === RUN TestClient_PutLog/pipelinerun === RUN TestClient_PutLog/pipelinerun/create === NAME TestClient_PutLog db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.379ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [272.192ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("test","fc468306-bf6e-4aac-9788-685a9f0da85b","pipelinerun-id","{""object.metadata.name"":""pipelinerun""}","test/results/pipelinerun-id/records/pipelinerun-id","tekton.dev/v1.PipelineRun",NULL,NULL,0,"null","fc468306-bf6e-4aac-9788-685a9f0da85b-1756146115825361238","2025-08-25 18:21:55.825","2025-08-25 18:21:55.825") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [10.447ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "d3af9750-c36f-3d46-b37f-318fe526cffb" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.534ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [69.827ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("test","fc468306-bf6e-4aac-9788-685a9f0da85b","pipelinerun-id","bfbece51-51a1-4290-b144-e41a0b580918","d3af9750-c36f-3d46-b37f-318fe526cffb","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""pipelinerun-log"",""namespace"":""test"",""uid"":""d3af9750-c36f-3d46-b37f-318fe526cffb"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""PipelineRun"",""namespace"":""test"",""name"":""pipelinerun"",""uid"":""pipelinerun-id""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","bfbece51-51a1-4290-b144-e41a0b580918-1756146116115652409","2025-08-25 18:21:56.115","2025-08-25 18:21:56.115") RETURNING `created_time`,`updated_time` === RUN TestClient_PutLog/pipelinerun/update === NAME TestClient_PutLog db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.494ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.649ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "d3af9750-c36f-3d46-b37f-318fe526cffb" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.576ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.542ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "d3af9750-c36f-3d46-b37f-318fe526cffb" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestClient_PutLog (2.85s) --- PASS: TestClient_PutLog/taskrun (0.58s) --- PASS: TestClient_PutLog/taskrun/create (0.57s) --- PASS: TestClient_PutLog/taskrun/update (0.01s) --- PASS: TestClient_PutLog/pipelinerun (0.38s) --- PASS: TestClient_PutLog/pipelinerun/create (0.37s) --- PASS: TestClient_PutLog/pipelinerun/update (0.01s) === RUN TestDefaultName === RUN TestDefaultName/*v1.TaskRun === RUN TestDefaultName/*v1.PipelineRun --- PASS: TestDefaultName (0.00s) --- PASS: TestDefaultName/*v1.TaskRun (0.00s) --- PASS: TestDefaultName/*v1.PipelineRun (0.00s) === RUN TestResultName === RUN TestResultName/object_name === RUN TestResultName/pipeline_run === RUN TestResultName/trigger_event === RUN TestResultName/result --- PASS: TestResultName (0.00s) --- PASS: TestResultName/object_name (0.00s) --- PASS: TestResultName/pipeline_run (0.00s) --- PASS: TestResultName/trigger_event (0.00s) --- PASS: TestResultName/result (0.00s) === RUN TestRecordName === RUN TestRecordName/derive_the_record_name_from_the_parent_name_and_the_record's_default_name === RUN TestRecordName/read_the_record_name_from_the_record_annotation === RUN TestRecordName/do_not_read_the_record_annotation_if_the_object_is_owned_by_another_object --- PASS: TestRecordName (0.00s) --- PASS: TestRecordName/derive_the_record_name_from_the_parent_name_and_the_record's_default_name (0.00s) --- PASS: TestRecordName/read_the_record_name_from_the_record_annotation (0.00s) --- PASS: TestRecordName/do_not_read_the_record_annotation_if_the_object_is_owned_by_another_object (0.00s) === RUN TestParentName === RUN TestParentName/default_to_the_object's_namespace_when_the_results_annotation_is_unset === RUN TestParentName/extract_the_parent_name_from_the_result_annotation --- PASS: TestParentName (0.00s) --- PASS: TestParentName/default_to_the_object's_namespace_when_the_results_annotation_is_unset (0.00s) --- PASS: TestParentName/extract_the_parent_name_from_the_result_annotation (0.00s) === RUN TestEnsureResult results_test.go:236: test database: /tmp/testdb2476573142 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.041ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.119ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [337.395ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [249.184ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.169ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [229.080ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [89.007ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146117.1350906,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.382ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 === RUN TestEnsureResult/foo === NAME TestEnsureResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.478ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.141Z DEBUG results/results.go:188 Result doesn't exist yet - creating {"results.tekton.dev/result": "test/results/taskrun-id", "results.tekton.dev/record": "test/results/taskrun-id/records/taskrun-id", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [11.191ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("test","091c1c89-a344-4063-be4c-b919426b55e4","taskrun-id","{""object.metadata.name"":""foo""}","test/results/taskrun-id/records/taskrun-id","tekton.dev/v1.TaskRun",NULL,NULL,0,"null","091c1c89-a344-4063-be4c-b919426b55e4-1756146117143166158","2025-08-25 18:21:57.143","2025-08-25 18:21:57.143") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.547ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.159Z DEBUG results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "test/results/taskrun-id", "results.tekton.dev/record": "test/results/taskrun-id/records/taskrun-id", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.367ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 === RUN TestEnsureResult/foo#01 === NAME TestEnsureResult db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.328ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.165Z DEBUG results/results.go:188 Result doesn't exist yet - creating {"results.tekton.dev/result": "test/results/pipelinerun-id", "results.tekton.dev/record": "test/results/pipelinerun-id/records/pipelinerun-id", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [25.604ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("test","dbcf2e4a-3885-4696-b1e0-00a2864428f4","pipelinerun-id","{""object.metadata.name"":""foo""}","test/results/pipelinerun-id/records/pipelinerun-id","tekton.dev/v1.PipelineRun",NULL,NULL,0,"null","dbcf2e4a-3885-4696-b1e0-00a2864428f4-1756146117166073989","2025-08-25 18:21:57.166","2025-08-25 18:21:57.166") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [9.412ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.205Z DEBUG results/results.go:210 No further actions to be done on the Result: no differences found {"results.tekton.dev/result": "test/results/pipelinerun-id", "results.tekton.dev/record": "test/results/pipelinerun-id/records/pipelinerun-id", "results.tekton.dev/top-level-record": true} --- PASS: TestEnsureResult (1.01s) --- PASS: TestEnsureResult/foo (0.02s) --- PASS: TestEnsureResult/foo#01 (0.04s) === RUN TestEnsureResult_RecordSummaryUpdate results_test.go:305: test database: /tmp/testdb1951606927 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.040ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.145ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [26.577ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [6.353ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.061ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [3.549ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [4.969ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146117.2761667,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [19.248ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "default" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.300Z DEBUG results/results.go:188 Result doesn't exist yet - creating {"results.tekton.dev/result": "default/results/1", "results.tekton.dev/record": "default/results/1/records/2", "results.tekton.dev/top-level-record": false} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [6.806ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("default","3286ccc9-d3b5-4a90-93b8-8139c248b27e","1","null","","",NULL,NULL,0,"null","3286ccc9-d3b5-4a90-93b8-8139c248b27e-1756146117301501084","2025-08-25 18:21:57.301","2025-08-25 18:21:57.301") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.445ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "default" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.646ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "default" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:140 [0.606ms] [rows:1] UPDATE `results` SET `name`="1",`annotations`="{""object.metadata.name"":""foo""}",`created_time`="2025-08-25 18:21:57.301",`updated_time`="2025-08-25 18:21:57.315",`recordsummary_record`="default/results/1/records/1",`recordsummary_type`="tekton.dev/v1.PipelineRun",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="3286ccc9-d3b5-4a90-93b8-8139c248b27e-1756146117315308915" WHERE `parent` = "default" AND `id` = "3286ccc9-d3b5-4a90-93b8-8139c248b27e" --- PASS: TestEnsureResult_RecordSummaryUpdate (0.11s) === RUN TestAnnotations results_test.go:353: test database: /tmp/testdb1456892921 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.019ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.055ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [11.098ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [9.088ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.088ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [5.416ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [3.670ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146117.3626509,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.382ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "default" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-08-25T18:21:57.368Z DEBUG results/results.go:188 Result doesn't exist yet - creating {"results.tekton.dev/result": "default/results/1", "results.tekton.dev/record": "default/results/1/records/1", "results.tekton.dev/top-level-record": true} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [5.607ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("default","b7d53e1b-4ca0-4500-9eea-91e28caf91eb","1","{""i"":""7"",""object.metadata.name"":""foo"",""x"":""y""}","default/results/1/records/1","tekton.dev/v1.PipelineRun",NULL,NULL,0,"{""foo"":""bar"",""test"":""1""}","b7d53e1b-4ca0-4500-9eea-91e28caf91eb-1756146117369857037","2025-08-25 18:21:57.369","2025-08-25 18:21:57.369") RETURNING `created_time`,`updated_time` --- PASS: TestAnnotations (0.05s) === RUN TestUpsertRecord results_test.go:387: test database: /tmp/testdb3345732335 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.085ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.087ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [6.125ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [4.311ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.059ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [4.763ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [3.578ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146117.4513447,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} === RUN TestUpsertRecord/taskrun === NAME TestUpsertRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.384ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [7.632ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("test","32bae91f-7e62-450a-adf5-278a8a5ee57a","taskrun-id","{""object.metadata.name"":""taskrun""}","test/results/taskrun-id/records/taskrun-id","tekton.dev/v1.TaskRun",NULL,NULL,0,"null","32bae91f-7e62-450a-adf5-278a8a5ee57a-1756146117458370980","2025-08-25 18:21:57.458","2025-08-25 18:21:57.458") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.449ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "taskrun-id" ORDER BY `records`.`id` LIMIT 1 === RUN TestUpsertRecord/taskrun/create === NAME TestUpsertRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.443ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "taskrun-id" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [2.032ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [4.234ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("test","32bae91f-7e62-450a-adf5-278a8a5ee57a","taskrun-id","e89bb94d-605f-4279-8b7f-a31fba5f03b2","taskrun-id","tekton.dev/v1.TaskRun","{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""test"",""uid"":""taskrun-id"",""generation"":1,""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":"""",""results"":[{""name"":""result1"",""value"":""value1""}]}}","e89bb94d-605f-4279-8b7f-a31fba5f03b2-1756146117495696822","2025-08-25 18:21:57.495","2025-08-25 18:21:57.495") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.745ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "taskrun-id" ORDER BY `records`.`id` LIMIT 1 === RUN TestUpsertRecord/taskrun/no-op === NAME TestUpsertRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [2.167ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "taskrun-id" ORDER BY `records`.`id` LIMIT 1 === RUN TestUpsertRecord/taskrun/update === NAME TestUpsertRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.501ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "taskrun-id" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.482ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "taskrun-id" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [0.520ms] [rows:1] UPDATE `records` SET `result_name`="taskrun-id",`name`="taskrun-id",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""test"",""uid"":""taskrun-id"",""generation"":1,""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":"""",""results"":[{""name"":""result1"",""value"":""value1-updated""}]}}",`created_time`="2025-08-25 18:21:57.495",`updated_time`="2025-08-25 18:21:57.548",`etag`="e89bb94d-605f-4279-8b7f-a31fba5f03b2-1756146117548014034" WHERE `parent` = "test" AND `result_id` = "32bae91f-7e62-450a-adf5-278a8a5ee57a" AND `id` = "e89bb94d-605f-4279-8b7f-a31fba5f03b2" === RUN TestUpsertRecord/pipelinerun === NAME TestUpsertRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.553ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [32.067ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("test","09987812-45ac-40f9-9896-f00c177760c0","pipelinerun-id","{""object.metadata.name"":""pipelinerun""}","test/results/pipelinerun-id/records/pipelinerun-id","tekton.dev/v1.PipelineRun",NULL,NULL,0,"null","09987812-45ac-40f9-9896-f00c177760c0-1756146117565123404","2025-08-25 18:21:57.565","2025-08-25 18:21:57.565") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.494ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "pipelinerun-id" ORDER BY `records`.`id` LIMIT 1 === RUN TestUpsertRecord/pipelinerun/create === NAME TestUpsertRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.351ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "pipelinerun-id" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.401ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [8.563ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("test","09987812-45ac-40f9-9896-f00c177760c0","pipelinerun-id","318ba39b-f517-4a6d-a6f6-a97d46ae75e4","pipelinerun-id","tekton.dev/v1.PipelineRun","{""kind"":""PipelineRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""pipelinerun"",""namespace"":""test"",""uid"":""pipelinerun-id"",""generation"":1,""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{""results"":[{""name"":""result1"",""value"":""value1""}]}}","318ba39b-f517-4a6d-a6f6-a97d46ae75e4-1756146117606215276","2025-08-25 18:21:57.606","2025-08-25 18:21:57.606") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [1.200ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "pipelinerun-id" ORDER BY `records`.`id` LIMIT 1 === RUN TestUpsertRecord/pipelinerun/no-op === NAME TestUpsertRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.620ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "pipelinerun-id" ORDER BY `records`.`id` LIMIT 1 === RUN TestUpsertRecord/pipelinerun/update === NAME TestUpsertRecord db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.453ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "pipelinerun-id" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.505ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "pipelinerun-id" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [0.520ms] [rows:1] UPDATE `records` SET `result_name`="pipelinerun-id",`name`="pipelinerun-id",`type`="tekton.dev/v1.PipelineRun",`data`="{""kind"":""PipelineRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""pipelinerun"",""namespace"":""test"",""uid"":""pipelinerun-id"",""generation"":1,""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{""results"":[{""name"":""result1"",""value"":""value1-update""}]}}",`created_time`="2025-08-25 18:21:57.606",`updated_time`="2025-08-25 18:21:57.661",`etag`="318ba39b-f517-4a6d-a6f6-a97d46ae75e4-1756146117661348608" WHERE `parent` = "test" AND `result_id` = "09987812-45ac-40f9-9896-f00c177760c0" AND `id` = "318ba39b-f517-4a6d-a6f6-a97d46ae75e4" --- PASS: TestUpsertRecord (0.29s) --- PASS: TestUpsertRecord/taskrun (0.11s) --- PASS: TestUpsertRecord/taskrun/create (0.05s) --- PASS: TestUpsertRecord/taskrun/no-op (0.02s) --- PASS: TestUpsertRecord/taskrun/update (0.02s) --- PASS: TestUpsertRecord/pipelinerun (0.11s) --- PASS: TestUpsertRecord/pipelinerun/create (0.04s) --- PASS: TestUpsertRecord/pipelinerun/no-op (0.01s) --- PASS: TestUpsertRecord/pipelinerun/update (0.02s) === RUN TestPut results_test.go:557: test database: /tmp/testdb3207775467 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.037ms] [rows:0] PRAGMA foreign_keys = ON; db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.097ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [8.771ms] [rows:0] CREATE TABLE `results` (`parent` text,`id` text,`name` text,`annotations` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`recordsummary_record` text,`recordsummary_type` text,`recordsummary_start_time` datetime,`recordsummary_end_time` datetime,`recordsummary_status` integer,`recordsummary_annotations` jsonb,`etag` text,PRIMARY KEY (`parent`,`id`)) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [4.189ms] [rows:0] CREATE UNIQUE INDEX `results_by_name` ON `results`(`parent`,`name`) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [0.099ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [5.647ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE) db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96 [5.803ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1756146117.726299,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"} === RUN TestPut/taskrun === RUN TestPut/taskrun/create === NAME TestPut db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.348ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [12.960ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("test","e927f5d4-d098-4981-8efb-125f1d7a931c","taskrun-id","{""object.metadata.name"":""taskrun""}","test/results/taskrun-id/records/taskrun-id","tekton.dev/v1.TaskRun",NULL,NULL,0,"null","e927f5d4-d098-4981-8efb-125f1d7a931c-1756146117732535191","2025-08-25 18:21:57.732","2025-08-25 18:21:57.732") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.510ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "taskrun-id" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [1.218ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [8.759ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("test","e927f5d4-d098-4981-8efb-125f1d7a931c","taskrun-id","99796330-9199-4f3f-ada5-74b5209c463d","taskrun-id","tekton.dev/v1.TaskRun","{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""test"",""uid"":""taskrun-id"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","99796330-9199-4f3f-ada5-74b5209c463d-1756146117751105821","2025-08-25 18:21:57.751","2025-08-25 18:21:57.751") RETURNING `created_time`,`updated_time` === RUN TestPut/taskrun/update === NAME TestPut db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.614ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.365ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "taskrun-id" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.381ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.487ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "taskrun-id" ORDER BY `records`.`id` LIMIT 1 === RUN TestPut/pipelinerun === RUN TestPut/pipelinerun/create === NAME TestPut db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.283ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [20.813ms] [rows:1] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("test","8e9d3989-7252-4386-a6b6-c00047a4662a","pipelinerun-id","{""object.metadata.name"":""pipelinerun""}","test/results/pipelinerun-id/records/pipelinerun-id","tekton.dev/v1.PipelineRun",NULL,NULL,0,"null","8e9d3989-7252-4386-a6b6-c00047a4662a-1756146117776650493","2025-08-25 18:21:57.776","2025-08-25 18:21:57.776") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.625ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "pipelinerun-id" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.259ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [6.953ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("test","8e9d3989-7252-4386-a6b6-c00047a4662a","pipelinerun-id","f8263927-1d80-4bf2-be4a-0634474a0225","pipelinerun-id","tekton.dev/v1.PipelineRun","{""kind"":""PipelineRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""pipelinerun"",""namespace"":""test"",""uid"":""pipelinerun-id"",""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{}}","f8263927-1d80-4bf2-be4a-0634474a0225-1756146117802148154","2025-08-25 18:21:57.802","2025-08-25 18:21:57.802") RETURNING `created_time`,`updated_time` === RUN TestPut/pipelinerun/update === NAME TestPut db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.556ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.342ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "pipelinerun-id" ORDER BY `records`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.419ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.308ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "pipelinerun-id" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestPut (0.15s) --- PASS: TestPut/taskrun (0.04s) --- PASS: TestPut/taskrun/create (0.03s) --- PASS: TestPut/taskrun/update (0.01s) --- PASS: TestPut/pipelinerun (0.05s) --- PASS: TestPut/pipelinerun/create (0.04s) --- PASS: TestPut/pipelinerun/update (0.01s) PASS ok github.com/tektoncd/results/pkg/watcher/results 5.836s ? github.com/tektoncd/results/proto/pipeline/v1 [no test files] ? github.com/tektoncd/results/proto/pipeline/v1/pipeline_go_proto [no test files] ? github.com/tektoncd/results/proto/v1alpha2 [no test files] ? github.com/tektoncd/results/proto/v1alpha2/results_go_proto [no test files] ? github.com/tektoncd/results/proto/v1alpha3 [no test files] ? github.com/tektoncd/results/proto/v1alpha3/results_go_proto [no test files] ? github.com/tektoncd/results/test/e2e/client [no test files] testing: warning: no tests to run PASS ok github.com/tektoncd/results/tools/postgres-migrate 1.204s [no tests to run] ? github.com/tektoncd/results/tools/simpleui [no test files] FAIL unit_tests returning =========================== ==== UNIT TESTS FAILED ==== =========================== + EXIT_VALUE=1 + set +o xtrace