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 e22e87a5d4a332a93ddab6c7abedb57751f1f7fe: docs/metrics.md pkg/metrics/metrics.go pkg/metrics/metrics_test.go pkg/pipelinerunmetrics/metrics.go pkg/pipelinerunmetrics/metrics_test.go pkg/taskrunmetrics/metrics.go pkg/taskrunmetrics/metrics_test.go pkg/watcher/reconciler/dynamic/dynamic.go pkg/watcher/reconciler/pipelinerun/controller.go pkg/watcher/reconciler/pipelinerun/reconciler.go pkg/watcher/reconciler/taskrun/controller.go pkg/watcher/reconciler/taskrun/reconciler.go 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 version go1.23.4 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 ? github.com/tektoncd/results/cmd/cli-docs [no test files] 2025/07/11 09:32:44 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.202s ? 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] ? github.com/tektoncd/results/internal/fieldmask/test [no test files] ? github.com/tektoncd/results/pkg/api/server/config [no test files] ? github.com/tektoncd/results/pkg/api/server/db/errors [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.01s) === 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.048s === 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.04s) --- 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.00s) --- PASS: TestParseFilter/error/asdf (0.00s) --- PASS: TestParseFilter/error/result.id_==_1 (0.00s) --- PASS: TestParseFilter/error/result.ID (0.00s) PASS ok github.com/tektoncd/results/pkg/api/server/cel 1.081s === 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.08s) --- PASS: TestConvertRecordExpressions/simple_expression (0.01s) --- PASS: TestConvertRecordExpressions/select_expression (0.01s) --- PASS: TestConvertRecordExpressions/type_coercion_with_a_dyn_expression_in_the_left_hand_side (0.00s) --- PASS: TestConvertRecordExpressions/type_coercion_with_a_dyn_expression_in_the_right_hand_side (0.00s) --- PASS: TestConvertRecordExpressions/in_operator (0.00s) --- PASS: TestConvertRecordExpressions/index_operator (0.00s) --- PASS: TestConvertRecordExpressions/concatenate_strings (0.00s) --- PASS: TestConvertRecordExpressions/multiple_concatenate_strings (0.00s) --- PASS: TestConvertRecordExpressions/contains_string_function (0.00s) --- 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.00s) --- PASS: TestConvertRecordExpressions/complex_expression_involving_multiple_subgroups_and_operators (0.00s) === 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.03s) --- 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.166s === RUN TestAnnotationsScan --- PASS: TestAnnotationsScan (0.00s) === RUN TestAnnotationsValue --- PASS: TestAnnotationsValue (0.00s) PASS ok github.com/tektoncd/results/pkg/api/server/db 1.041s ? github.com/tektoncd/results/pkg/api/server/db/errors/sqlite [no test files] ? 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] ? github.com/tektoncd/results/pkg/api/server/logger [no test files] ? github.com/tektoncd/results/pkg/api/server/test [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.029s === 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.027s ? 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] ? github.com/tektoncd/results/pkg/apis/v1alpha3 [no test files] ? github.com/tektoncd/results/pkg/cli/client/logs [no test files] === RUN TestGetLog logs_test.go:93: test database: /tmp/testdb3340925011 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.100ms] [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 [48.391ms] [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.215ms] [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.085ms] [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.802ms] [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.776ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226412.4661257,"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 [4.274ms] [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-1752226412385438633","2025-07-11 09:33:32.385","2025-07-11 09:33:32.385") RETURNING `created_time`,`updated_time` logs_test.go:113: test log file: /tmp/test-log-taskrun-4089794391.log db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [1.855ms] [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 [4.280ms] [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-4089794391.log"",""size"":1024,""isStored"":true,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","2-1752226412385438633","2025-07-11 09:33:32.385","2025-07-11 09:33:32.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.357ms] [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 (0.10s) === RUN TestGetLogV2 logs_test.go:171: test database: /tmp/testdb4083750622 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.043ms] [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.071ms] [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 [4.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 [3.508ms] [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.052ms] [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.684ms] [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.292ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226412.51216,"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 [4.280ms] [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-1752226412385438633","2025-07-11 09:33:32.385","2025-07-11 09:33:32.385") RETURNING `created_time`,`updated_time` logs_test.go:191: test log file: /tmp/test-log-taskrun-597640727.log db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [2.105ms] [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 [4.239ms] [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-597640727.log"",""size"":1024,""isStored"":true,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","4-1752226412385438633","2025-07-11 09:33:32.385","2025-07-11 09:33:32.385") RETURNING `created_time`,`updated_time` 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` = "foo" AND `records`.`result_name` = "bar" AND `records`.`name` = "baz" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestGetLogV2 (0.04s) === RUN TestUpdateLog logs_test.go:254: test database: /tmp/testdb3531665990 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.043ms] [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.108ms] [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 [4.331ms] [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 [3.826ms] [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.070ms] [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.621ms] [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.625ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226412.560713,"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 [4.589ms] [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-1752226412385438633","2025-07-11 09:33:32.385","2025-07-11 09:33:32.385") RETURNING `created_time`,`updated_time` logs_test.go:268: test storage directory: /tmp/test-logs-4219584104 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [3.806ms] [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 [7.780ms] [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-4219584104/test-uid/task-run.log"",""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","6-1752226412385438633","2025-07-11 09:33:32.385","2025-07-11 09:33:32.385") 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.361ms] [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.308ms] [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 [0.359ms] [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-4219584104/test-uid/task-run.log"",""size"":36,""isStored"":true,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}",`created_time`="2025-07-11 09:33:32.385",`updated_time`="2025-07-11 09:33:32.385",`etag`="6-1752226412385438633" WHERE `parent` = "foo" AND `result_id` = "5" AND `id` = "6" --- PASS: TestUpdateLog (0.06s) === RUN TestListLogs logs_test.go:333: test database: /tmp/testdb1061449850 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.030ms] [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.108ms] [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 [4.423ms] [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 [3.458ms] [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.800ms] [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.812ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226412.6167655,"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 [4.221ms] [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-1752226412385438633","2025-07-11 09:33:32.385","2025-07-11 09:33:32.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [1.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 [3.982ms] [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-1752226413385438633","2025-07-11 09:33:33.385","2025-07-11 09:33:33.385") 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-1752226413385438633" created_time:{seconds:1752226413 nanos:385438633} create_time:{seconds:1752226413 nanos:385438633} updated_time:{seconds:1752226413 nanos:385438633} update_time:{seconds:1752226413 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.314ms] [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 [3.947ms] [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-1752226414385438633","2025-07-11 09:33:34.385","2025-07-11 09:33:34.385") 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-1752226414385438633" created_time:{seconds:1752226414 nanos:385438633} create_time:{seconds:1752226414 nanos:385438633} updated_time:{seconds:1752226414 nanos:385438633} update_time:{seconds:1752226414 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.269ms] [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 [4.192ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") 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-1752226415385438633" created_time:{seconds:1752226415 nanos:385438633} create_time:{seconds:1752226415 nanos:385438633} updated_time:{seconds:1752226415 nanos:385438633} update_time:{seconds:1752226415 nanos:385438633} === RUN TestListLogs/all === NAME TestListLogs db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [0.526ms] [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 [0.814ms] [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 [0.567ms] [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.317ms] [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 [0.768ms] [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 [0.555ms] [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 [0.760ms] [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.717ms] [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 [0.492ms] [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 [0.700ms] [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 [0.624ms] [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 [0.550ms] [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 [0.574ms] [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":1752226413.1060734,"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/usr/local/go/src/testing/testing.go:1690"} === RUN TestListLogs/invalid_order_by_clause === RUN TestListLogs/invalid_sort_direction --- PASS: TestListLogs (0.52s) --- PASS: TestListLogs/all (0.05s) --- PASS: TestListLogs/list_all_records_without_knowing_the_result_name (0.06s) --- PASS: TestListLogs/list_all_records_without_knowing_the_parent_and_the_result_name (0.04s) --- PASS: TestListLogs/missing_parent (0.00s) --- PASS: TestListLogs/filter_by_record_property (0.03s) --- PASS: TestListLogs/filter_by_record_data (0.02s) --- PASS: TestListLogs/filter_by_parent (0.06s) --- PASS: TestListLogs/filter_and_page_size (0.02s) --- PASS: TestListLogs/only_page_size (0.01s) --- PASS: TestListLogs/with_order_asc (0.05s) --- PASS: TestListLogs/with_order_desc (0.04s) --- PASS: TestListLogs/with_missing_order (0.04s) --- PASS: TestListLogs/with_default_order (0.04s) --- PASS: TestListLogs/unknown_type (0.00s) --- PASS: TestListLogs/unknown_any_field (0.00s) --- 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/testdb1704717222 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.027ms] [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.101ms] [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 [18.978ms] [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 [3.850ms] [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.076ms] [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.631ms] [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.606ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226413.1497364,"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 [4.138ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [1.342ms] [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 [3.869ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.233ms] [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 [3.707ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.994ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.288ms] [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 [3.989ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.269ms] [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 [3.722ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [6.553ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.239ms] [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 [4.381ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.266ms] [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 [4.289ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.333ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.246ms] [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 [5.137ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.267ms] [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 [3.931ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352 [0.585ms] [rows:4] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "0" LIMIT 51 --- PASS: TestListLogs_multiresult (0.16s) === RUN TestDeleteLog logs_test.go:652: test database: /tmp/testdb1126337888 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.026ms] [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.127ms] [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 [4.186ms] [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.434ms] [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.087ms] [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.011ms] [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.901ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226413.320627,"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 [4.592ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` logs_test.go:672: test log file: /tmp/test-log-taskrun-1784044241.log db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [1.480ms] [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 [4.119ms] [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-1784044241.log"",""size"":1024,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","24-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") 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 [0.545ms] [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 [3.788ms] [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-1784044241.log"",""size"":1024,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}" AND `records`.`created_time` = "2025-07-11 09:33:35.385" AND `records`.`updated_time` = "2025-07-11 09:33:35.385" AND `records`.`etag` = "24-1752226415385438633" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.275ms] [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.231ms] [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.07s) --- PASS: TestDeleteLog/success (0.01s) --- PASS: TestDeleteLog/already_deleted (0.00s) === RUN TestOrderBy --- PASS: TestOrderBy (0.00s) === 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/testdb3458159991 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.025ms] [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.064ms] [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 [4.399ms] [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.192ms] [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.055ms] [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.904ms] [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.880ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226413.3690221,"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 [4.445ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") 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 [1.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 [5.080ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") 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.263ms] [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.237ms] [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.487ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` --- PASS: TestCreateRecord (0.06s) --- PASS: TestCreateRecord/success (0.01s) --- 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/testdb2170417578 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.024ms] [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.135ms] [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.131ms] [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.030ms] [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.101ms] [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.279ms] [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.201ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226413.4391527,"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 [0.764ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` --- PASS: TestCreateRecord_ConcurrentDelete (0.04s) === RUN TestGetRecord records_test.go:185: test database: /tmp/testdb2685235785 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.029ms] [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.069ms] [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 [4.018ms] [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 [3.574ms] [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.053ms] [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.949ms] [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.509ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226413.4701915,"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 [4.738ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [1.472ms] [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 [3.872ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") 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 [0.348ms] [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 [0.198ms] [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.04s) --- PASS: TestGetRecord/success (0.00s) --- PASS: TestGetRecord/no_name (0.00s) --- PASS: TestGetRecord/invalid_name (0.00s) --- PASS: TestGetRecord/not_found (0.00s) === RUN TestListRecords records_test.go:253: test database: /tmp/testdb1265245569 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.027ms] [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.110ms] [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.684ms] [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.182ms] [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.111ms] [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 [13.660ms] [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.414ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226413.5466435,"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 [7.257ms] [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-1752226415385438633","2025-07-11 09:33:35.385","2025-07-11 09:33:35.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [2.040ms] [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.275ms] [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-1752226416385438633","2025-07-11 09:33:36.385","2025-07-11 09:33:36.385") 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-1752226416385438633" created_time:{seconds:1752226416 nanos:385438633} create_time:{seconds:1752226416 nanos:385438633} updated_time:{seconds:1752226416 nanos:385438633} update_time:{seconds:1752226416 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.431ms] [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 [5.876ms] [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-1752226417385438633","2025-07-11 09:33:37.385","2025-07-11 09:33:37.385") 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-1752226417385438633" created_time:{seconds:1752226417 nanos:385438633} create_time:{seconds:1752226417 nanos:385438633} updated_time:{seconds:1752226417 nanos:385438633} update_time:{seconds:1752226417 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.390ms] [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 [5.890ms] [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-1752226418385438633","2025-07-11 09:33:38.385","2025-07-11 09:33:38.385") 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-1752226418385438633" created_time:{seconds:1752226418 nanos:385438633} create_time:{seconds:1752226418 nanos:385438633} updated_time:{seconds:1752226418 nanos:385438633} update_time:{seconds:1752226418 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.389ms] [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.555ms] [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-1752226419385438633","2025-07-11 09:33:39.385","2025-07-11 09:33:39.385") 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-1752226419385438633" created_time:{seconds:1752226419 nanos:385438633} create_time:{seconds:1752226419 nanos:385438633} updated_time:{seconds:1752226419 nanos:385438633} update_time:{seconds:1752226419 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.407ms] [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.991ms] [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-1752226420385438633","2025-07-11 09:33:40.385","2025-07-11 09:33:40.385") 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-1752226420385438633" created_time:{seconds:1752226420 nanos:385438633} create_time:{seconds:1752226420 nanos:385438633} updated_time:{seconds:1752226420 nanos:385438633} update_time:{seconds:1752226420 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.420ms] [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 [7.619ms] [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-1752226421385438633","2025-07-11 09:33:41.385","2025-07-11 09:33:41.385") 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-1752226421385438633" created_time:{seconds:1752226421 nanos:385438633} create_time:{seconds:1752226421 nanos:385438633} updated_time:{seconds:1752226421 nanos:385438633} update_time:{seconds:1752226421 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.387ms] [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 [13.072ms] [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-1752226422385438633","2025-07-11 09:33:42.385","2025-07-11 09:33:42.385") 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-1752226422385438633" created_time:{seconds:1752226422 nanos:385438633} create_time:{seconds:1752226422 nanos:385438633} updated_time:{seconds:1752226422 nanos:385438633} update_time:{seconds:1752226422 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.470ms] [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 [5.718ms] [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-1752226423385438633","2025-07-11 09:33:43.385","2025-07-11 09:33:43.385") 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-1752226423385438633" created_time:{seconds:1752226423 nanos:385438633} create_time:{seconds:1752226423 nanos:385438633} updated_time:{seconds:1752226423 nanos:385438633} update_time:{seconds:1752226423 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.392ms] [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 [6.091ms] [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-1752226424385438633","2025-07-11 09:33:44.385","2025-07-11 09:33:44.385") 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-1752226424385438633" created_time:{seconds:1752226424 nanos:385438633} create_time:{seconds:1752226424 nanos:385438633} updated_time:{seconds:1752226424 nanos:385438633} update_time:{seconds:1752226424 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.483ms] [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 [5.360ms] [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-1752226425385438633","2025-07-11 09:33:45.385","2025-07-11 09:33:45.385") 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-1752226425385438633" created_time:{seconds:1752226425 nanos:385438633} create_time:{seconds:1752226425 nanos:385438633} updated_time:{seconds:1752226425 nanos:385438633} update_time:{seconds:1752226425 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.452ms] [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.980ms] [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-1752226426385438633","2025-07-11 09:33:46.385","2025-07-11 09:33:46.385") 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-1752226426385438633" created_time:{seconds:1752226426 nanos:385438633} create_time:{seconds:1752226426 nanos:385438633} updated_time:{seconds:1752226426 nanos:385438633} update_time:{seconds:1752226426 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.381ms] [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.243ms] [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-1752226427385438633","2025-07-11 09:33:47.385","2025-07-11 09:33:47.385") 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-1752226427385438633" created_time:{seconds:1752226427 nanos:385438633} create_time:{seconds:1752226427 nanos:385438633} updated_time:{seconds:1752226427 nanos:385438633} update_time:{seconds:1752226427 nanos:385438633} 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 [12.836ms] [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-1752226428385438633","2025-07-11 09:33:48.385","2025-07-11 09:33:48.385") 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-1752226428385438633" created_time:{seconds:1752226428 nanos:385438633} create_time:{seconds:1752226428 nanos:385438633} updated_time:{seconds:1752226428 nanos:385438633} update_time:{seconds:1752226428 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.377ms] [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 [5.030ms] [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-1752226429385438633","2025-07-11 09:33:49.385","2025-07-11 09:33:49.385") 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-1752226429385438633" created_time:{seconds:1752226429 nanos:385438633} create_time:{seconds:1752226429 nanos:385438633} updated_time:{seconds:1752226429 nanos:385438633} update_time:{seconds:1752226429 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.393ms] [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.112ms] [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-1752226430385438633","2025-07-11 09:33:50.385","2025-07-11 09:33:50.385") 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-1752226430385438633" created_time:{seconds:1752226430 nanos:385438633} create_time:{seconds:1752226430 nanos:385438633} updated_time:{seconds:1752226430 nanos:385438633} update_time:{seconds:1752226430 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.420ms] [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 [5.320ms] [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-1752226431385438633","2025-07-11 09:33:51.385","2025-07-11 09:33:51.385") 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-1752226431385438633" created_time:{seconds:1752226431 nanos:385438633} create_time:{seconds:1752226431 nanos:385438633} updated_time:{seconds:1752226431 nanos:385438633} update_time:{seconds:1752226431 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.370ms] [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 [5.810ms] [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-1752226432385438633","2025-07-11 09:33:52.385","2025-07-11 09:33:52.385") 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-1752226432385438633" created_time:{seconds:1752226432 nanos:385438633} create_time:{seconds:1752226432 nanos:385438633} updated_time:{seconds:1752226432 nanos:385438633} update_time:{seconds:1752226432 nanos:385438633} 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` = "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.376ms] [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-1752226433385438633","2025-07-11 09:33:53.385","2025-07-11 09:33:53.385") 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-1752226433385438633" created_time:{seconds:1752226433 nanos:385438633} create_time:{seconds:1752226433 nanos:385438633} updated_time:{seconds:1752226433 nanos:385438633} update_time:{seconds:1752226433 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.465ms] [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 [5.802ms] [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-1752226434385438633","2025-07-11 09:33:54.385","2025-07-11 09:33:54.385") 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-1752226434385438633" created_time:{seconds:1752226434 nanos:385438633} create_time:{seconds:1752226434 nanos:385438633} updated_time:{seconds:1752226434 nanos:385438633} update_time:{seconds:1752226434 nanos:385438633} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.410ms] [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 [7.028ms] [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-1752226435385438633","2025-07-11 09:33:55.385","2025-07-11 09:33:55.385") 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-1752226435385438633" created_time:{seconds:1752226435 nanos:385438633} create_time:{seconds:1752226435 nanos:385438633} updated_time:{seconds:1752226435 nanos:385438633} update_time:{seconds:1752226435 nanos:385438633} === 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 [2.917ms] [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 [2.934ms] [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 [2.889ms] [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.560ms] [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.691ms] [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 [1.662ms] [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.596ms] [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.262ms] [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.350ms] [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.223ms] [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.040ms] [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 [0.833ms] [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 [0.836ms] [rows:6] SELECT * FROM `records` WHERE (created_time, id) > ("2025-07-11 09:33:40.385", "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 [0.821ms] [rows:6] SELECT * FROM `records` WHERE (created_time, id) > ("2025-07-11 09:33:45.385", "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.062ms] [rows:5] SELECT * FROM `records` WHERE (created_time, id) > ("2025-07-11 09:33:50.385", "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 [0.831ms] [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 [0.887ms] [rows:6] SELECT * FROM `records` WHERE (created_time, id) < ("2025-07-11 09:33:51.385", "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 [0.845ms] [rows:6] SELECT * FROM `records` WHERE (created_time, id) < ("2025-07-11 09:33:46.385", "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 [0.814ms] [rows:5] SELECT * FROM `records` WHERE (created_time, id) < ("2025-07-11 09:33:41.385", "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 [1.198ms] [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 [0.821ms] [rows:6] SELECT * FROM `records` WHERE (updated_time, id) > ("2025-07-11 09:33:40.385", "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.271ms] [rows:6] SELECT * FROM `records` WHERE (updated_time, id) > ("2025-07-11 09:33:45.385", "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 [0.721ms] [rows:5] SELECT * FROM `records` WHERE (updated_time, id) > ("2025-07-11 09:33:50.385", "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.356ms] [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 [1.219ms] [rows:6] SELECT * FROM `records` WHERE (updated_time, id) < ("2025-07-11 09:33:51.385", "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.196ms] [rows:6] SELECT * FROM `records` WHERE (updated_time, id) < ("2025-07-11 09:33:46.385", "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 [0.806ms] [rows:5] SELECT * FROM `records` WHERE (updated_time, id) < ("2025-07-11 09:33:41.385", "7") AND parent = "foo" AND result_name = "bar" ORDER BY updated_time DESC,id DESC LIMIT 6 --- PASS: TestListRecords (1.52s) --- PASS: TestListRecords/all (0.12s) --- PASS: TestListRecords/list_all_records_without_knowing_the_result_name (0.14s) --- PASS: TestListRecords/list_all_records_without_knowing_the_parent_and_the_result_name (0.14s) --- PASS: TestListRecords/filter_by_record_property (0.02s) --- PASS: TestListRecords/filter_by_record_data (0.01s) --- PASS: TestListRecords/filter_by_record_type (0.08s) --- 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.16s) --- PASS: TestListRecords/paginate_records_sorting_by_create_time_asc (0.12s) --- PASS: TestListRecords/paginate_records_sorting_by_create_time_desc (0.12s) --- PASS: TestListRecords/paginate_records_sorting_by_update_time_asc (0.13s) --- PASS: TestListRecords/paginate_records_sorting_by_update_time_desc (0.15s) === RUN TestUpdateRecord records_test.go:542: test database: /tmp/testdb3047860843 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.035ms] [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.112ms] [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 [56.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 [7.719ms] [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.127ms] [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.138ms] [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.918ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226415.0937345,"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 [6.084ms] [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-1752226435385438633","2025-07-11 09:33:55.385","2025-07-11 09:33:55.385") 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 [1.986ms] [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 [8.220ms] [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-1752226435385438633","2025-07-11 09:33:55.385","2025-07-11 09:33:55.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.622ms] [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.551ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="a",`type`="",`data`="{""metadata"":{""name"":""taskrun""}}",`created_time`="2025-07-11 09:33:55.385",`updated_time`="2025-07-11 09:33:56.385",`etag`="23-1752226436385438633" 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.364ms] [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 [4.541ms] [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-1752226436385438633","2025-07-11 09:33:56.385","2025-07-11 09:33:56.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.495ms] [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.471ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="b",`type`="",`data`="",`created_time`="2025-07-11 09:33:56.385",`updated_time`="2025-07-11 09:33:57.385",`etag`="24-1752226437385438633" 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.357ms] [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.469ms] [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.13s) --- PASS: TestUpdateRecord/success (0.02s) --- PASS: TestUpdateRecord/ignored_fields (0.01s) --- 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/testdb1480810660 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.044ms] [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.109ms] [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.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 [3.739ms] [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.113ms] [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 [7.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 [4.515ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226415.1796405,"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 [4.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 ("foo","25","bar","null","","",NULL,NULL,0,"null","25-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [3.791ms] [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 [4.802ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") 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.501ms] [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 [4.036ms] [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-07-11 09:34:00.385" AND `records`.`updated_time` = "2025-07-11 09:34:00.385" AND `records`.`etag` = "26-1752226440385438633" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.286ms] [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.246ms] [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.06s) --- PASS: TestDeleteRecord/success (0.01s) --- PASS: TestDeleteRecord/already_deleted (0.00s) === RUN TestListRecords_multiresult records_test.go:731: test database: /tmp/testdb3543084402 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.060ms] [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.101ms] [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 [4.082ms] [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 [3.784ms] [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.079ms] [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.596ms] [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.104ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226415.233531,"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 [5.670ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [1.880ms] [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 [9.823ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.924ms] [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 [7.717ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [30.333ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.356ms] [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.990ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.367ms] [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 [5.361ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.871ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.324ms] [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 [9.718ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.309ms] [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 [3.717ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.009ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.224ms] [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 [5.795ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.253ms] [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 [4.266ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/lister.go:110 [0.597ms] [rows:4] SELECT * FROM `records` WHERE parent = "0" ORDER BY id ASC LIMIT 51 --- PASS: TestListRecords_multiresult (0.15s) === RUN TestCreateResult results_test.go:43: test database: /tmp/testdb1162354428 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.025ms] [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 [3.905ms] [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 [3.242ms] [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.064ms] [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 [7.263ms] [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.816ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226415.38471,"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 [4.741ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.519ms] [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 [0.588ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` === RUN TestCreateResult/large_name === RUN TestCreateResult/large_result_summary_type --- PASS: TestCreateResult (0.04s) --- PASS: TestCreateResult/success (0.01s) --- 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/testdb2163198649 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.030ms] [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.099ms] [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.834ms] [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.885ms] [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.115ms] [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.700ms] [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.332ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226415.4857025,"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 [3.878ms] [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-1752226440385438633","2025-07-11 09:34:00.385","2025-07-11 09:34:00.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.471ms] [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.444ms] [rows:1] UPDATE `results` SET `name`="bar-0",`annotations`="{""foo"":""bar""}",`created_time`="2025-07-11 09:34:00.385",`updated_time`="2025-07-11 09:34:01.385",`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-1752226441385438633" 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.604ms] [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 [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 ("foo","43","bar-1","null","","",NULL,NULL,0,"null","43-1752226441385438633","2025-07-11 09:34:01.385","2025-07-11 09:34:01.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.546ms] [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 [0.521ms] [rows:1] UPDATE `results` SET `name`="bar-1",`annotations`="null",`created_time`="2025-07-11 09:34:01.385",`updated_time`="2025-07-11 09:34:02.385",`recordsummary_record`="",`recordsummary_type`="",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="43-1752226442385438633" WHERE `parent` = "foo" AND `id` = "43" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.405ms] [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 [5.929ms] [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-1752226442385438633","2025-07-11 09:34:02.385","2025-07-11 09:34:02.385") 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 [5.654ms] [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-1752226443385438633","2025-07-11 09:34:03.385","2025-07-11 09:34:03.385") 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.322ms] [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 [6.376ms] [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-1752226444385438633","2025-07-11 09:34:04.385","2025-07-11 09:34:04.385") RETURNING `created_time`,`updated_time` 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` = "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 [6.293ms] [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-1752226445385438633","2025-07-11 09:34:05.385","2025-07-11 09:34:05.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.668ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar-5" ORDER BY `results`.`id` LIMIT 1 --- PASS: TestUpdateResult (0.15s) --- PASS: TestUpdateResult/success (0.02s) --- PASS: TestUpdateResult/test_update_with_empty_result (0.02s) --- PASS: TestUpdateResult/test_update_with_invalid_name (0.01s) --- PASS: TestUpdateResult/test_update_a_non-existent_result (0.01s) --- PASS: TestUpdateResult/test_update_with_invalid_etag (0.01s) --- PASS: TestUpdateResult/result_summary_with_no_record/type (0.01s) === RUN TestGetResult results_test.go:246: test database: /tmp/testdb737893883 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.103ms] [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.393ms] [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.020ms] [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.103ms] [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.038ms] [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.547ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226415.5888584,"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 [4.949ms] [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-1752226446385438633","2025-07-11 09:34:06.385","2025-07-11 09:34:06.385") RETURNING `created_time`,`updated_time` 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` = "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 [0.273ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "a" AND `results`.`name` = "doesnotexist" ORDER BY `results`.`id` LIMIT 1 --- PASS: TestGetResult (0.05s) --- PASS: TestGetResult/no_name (0.00s) --- PASS: TestGetResult/not_found (0.00s) === RUN TestDeleteResult results_test.go:296: test database: /tmp/testdb1856307132 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.042ms] [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.090ms] [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.113ms] [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 [3.998ms] [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.090ms] [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.116ms] [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.387ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226415.6355503,"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.461ms] [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-1752226446385438633","2025-07-11 09:34:06.385","2025-07-11 09:34:06.385") 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.710ms] [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 [6.758ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "49" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-07-11 09:34:06.385" AND `results`.`updated_time` = "2025-07-11 09:34:06.385" AND `results`.`etag` = "49-1752226446385438633" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found [0.372ms] [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.259ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1 --- PASS: TestDeleteResult (0.06s) --- PASS: TestDeleteResult/success (0.01s) --- PASS: TestDeleteResult/already_deleted (0.00s) === RUN TestCascadeDelete results_test.go:332: test database: /tmp/testdb2730500089 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.104ms] [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.818ms] [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.578ms] [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.124ms] [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.072ms] [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.913ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226415.6989841,"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.007ms] [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-1752226446385438633","2025-07-11 09:34:06.385","2025-07-11 09:34:06.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [2.443ms] [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 [7.872ms] [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-1752226446385438633","2025-07-11 09:34:06.385","2025-07-11 09:34:06.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [0.621ms] [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 [6.113ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "50" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-07-11 09:34:06.385" AND `results`.`updated_time` = "2025-07-11 09:34:06.385" AND `results`.`etag` = "50-1752226446385438633" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.315ms] [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.07s) === RUN TestListResults results_test.go:366: test database: /tmp/testdb2824432269 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.047ms] [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.090ms] [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 [4.934ms] [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.822ms] [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.086ms] [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.586ms] [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.945ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226415.7615016,"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 [5.355ms] [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","95568871-84d1-49e2-b5d3-7d46bdc1043e","{""foo"":""bar-1""}","foo/results/95568871-84d1-49e2-b5d3-7d46bdc1043e/records/af9bed27-61a4-4143-9361-47677f634090","resource_type","2025-07-11 09:34:07.385","2025-07-11 09:35:07.385",0,"null","1-1752226447385438633","2025-07-11 09:34:07.385","2025-07-11 09:34:07.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [9.443ms] [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","f08e833f-8b74-4fc6-8160-9ddea7ed8a10","{""foo"":""bar-2""}","foo/results/f08e833f-8b74-4fc6-8160-9ddea7ed8a10/records/5f6d8a47-5c63-4697-9661-2afdf6c3a1da","resource_type","2025-07-11 09:34:08.385","2025-07-11 09:35:08.385",0,"null","2-1752226448385438633","2025-07-11 09:34:08.385","2025-07-11 09:34:08.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.601ms] [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","8d37de0e-6e7d-456c-b38a-fe5e0e84d2f4","{""foo"":""bar-3""}","foo/results/8d37de0e-6e7d-456c-b38a-fe5e0e84d2f4/records/d34e3505-5f6e-4608-b6b4-c6356e66705a","resource_type","2025-07-11 09:34:09.385","2025-07-11 09:35:09.385",0,"null","3-1752226449385438633","2025-07-11 09:34:09.385","2025-07-11 09:34:09.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.981ms] [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","add6af4a-fc72-4141-b52a-6fb46665cd7f","{""foo"":""bar-4""}","foo/results/add6af4a-fc72-4141-b52a-6fb46665cd7f/records/04ef7251-858e-4c62-bf1e-6b156f42fe44","resource_type","2025-07-11 09:34:10.385","2025-07-11 09:35:10.385",0,"null","4-1752226450385438633","2025-07-11 09:34:10.385","2025-07-11 09:34:10.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [5.053ms] [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","194a1a91-af1b-4779-b279-72c6aec25d87","{""foo"":""bar-5""}","foo/results/194a1a91-af1b-4779-b279-72c6aec25d87/records/9686e878-3a42-4fcf-b346-dcba5cd17566","resource_type","2025-07-11 09:34:11.385","2025-07-11 09:35:11.385",0,"null","5-1752226451385438633","2025-07-11 09:34:11.385","2025-07-11 09:34:11.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.889ms] [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","279f668e-90c9-4bb3-a0ad-7d34099538e7","{""foo"":""bar-6""}","foo/results/279f668e-90c9-4bb3-a0ad-7d34099538e7/records/1fa6f9ae-1709-4035-b923-1eaa237923b6","resource_type","2025-07-11 09:34:12.385","2025-07-11 09:35:12.385",0,"null","6-1752226452385438633","2025-07-11 09:34:12.385","2025-07-11 09:34:12.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [8.127ms] [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","215d39b2-2641-4793-afb1-84176580a064","{""foo"":""bar-7""}","foo/results/215d39b2-2641-4793-afb1-84176580a064/records/393a071a-9bbf-4cb9-b964-9929392e7d85","resource_type","2025-07-11 09:34:13.385","2025-07-11 09:35:13.385",0,"null","7-1752226453385438633","2025-07-11 09:34:13.385","2025-07-11 09:34:13.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.523ms] [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","181b5792-50e8-4eb8-bc22-ed6f818871ed","{""foo"":""bar-8""}","foo/results/181b5792-50e8-4eb8-bc22-ed6f818871ed/records/e0bcdf70-7bb6-4d6e-8e24-35d11bf43bbc","resource_type","2025-07-11 09:34:14.385","2025-07-11 09:35:14.385",0,"null","8-1752226454385438633","2025-07-11 09:34:14.385","2025-07-11 09:34:14.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.265ms] [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","0a183d8a-4bb7-4135-a5b0-d0b5b10fb574","{""foo"":""bar-9""}","foo/results/0a183d8a-4bb7-4135-a5b0-d0b5b10fb574/records/e35b614c-2f67-46e4-a8f0-125c7853cfc0","resource_type","2025-07-11 09:34:15.385","2025-07-11 09:35:15.385",0,"null","9-1752226455385438633","2025-07-11 09:34:15.385","2025-07-11 09:34:15.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.484ms] [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","b9c102eb-6d41-4d56-9575-1cb3f6e408b0","{""foo"":""bar-10""}","foo/results/b9c102eb-6d41-4d56-9575-1cb3f6e408b0/records/33ac7b5c-fb5f-4df7-9a9e-6f4028616d6a","resource_type","2025-07-11 09:34:16.385","2025-07-11 09:35:16.385",0,"null","10-1752226456385438633","2025-07-11 09:34:16.385","2025-07-11 09:34:16.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [10.063ms] [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","5a5adeb7-82a0-4fa7-8c01-99ec7d9ba5f6","{""foo"":""bar-11""}","foo/results/5a5adeb7-82a0-4fa7-8c01-99ec7d9ba5f6/records/9cfc1fb7-0745-4b2c-9c8e-667763e7860c","resource_type","2025-07-11 09:34:17.385","2025-07-11 09:35:17.385",0,"null","11-1752226457385438633","2025-07-11 09:34:17.385","2025-07-11 09:34:17.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [7.768ms] [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","5c39bddb-43fe-493e-845c-fd1e16b44dfc","{""foo"":""bar-12""}","foo/results/5c39bddb-43fe-493e-845c-fd1e16b44dfc/records/7cb654dd-8855-42b3-b86b-9d39401367f6","resource_type","2025-07-11 09:34:18.385","2025-07-11 09:35:18.385",0,"null","12-1752226458385438633","2025-07-11 09:34:18.385","2025-07-11 09:34:18.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [10.282ms] [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","49953525-78e9-4fa7-afee-5f9eb69b6d79","{""foo"":""bar-13""}","foo/results/49953525-78e9-4fa7-afee-5f9eb69b6d79/records/864ac6d4-5bdd-4859-a6db-651cbc37a27b","resource_type","2025-07-11 09:34:19.385","2025-07-11 09:35:19.385",0,"null","13-1752226459385438633","2025-07-11 09:34:19.385","2025-07-11 09:34:19.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.922ms] [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","574835ac-a440-4303-8029-469134368175","{""foo"":""bar-14""}","foo/results/574835ac-a440-4303-8029-469134368175/records/453a3adf-ceb7-4611-b471-4c098134d641","resource_type","2025-07-11 09:34:20.385","2025-07-11 09:35:20.385",0,"null","14-1752226460385438633","2025-07-11 09:34:20.385","2025-07-11 09:34:20.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.384ms] [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","0d020b9c-0ca4-44d3-b0b7-2b43e20d24a1","{""foo"":""bar-15""}","foo/results/0d020b9c-0ca4-44d3-b0b7-2b43e20d24a1/records/26751b0e-cec2-4537-81ed-d0a77962fd35","resource_type","2025-07-11 09:34:21.385","2025-07-11 09:35:21.385",0,"null","15-1752226461385438633","2025-07-11 09:34:21.385","2025-07-11 09:34:21.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.684ms] [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","f33c9a6e-75fa-4841-a277-281c73fa0d4a","{""foo"":""bar-16""}","foo/results/f33c9a6e-75fa-4841-a277-281c73fa0d4a/records/817d5aae-8cb0-40af-827b-824c12fa4b2c","resource_type","2025-07-11 09:34:22.385","2025-07-11 09:35:22.385",0,"null","16-1752226462385438633","2025-07-11 09:34:22.385","2025-07-11 09:34:22.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.707ms] [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","f9581453-f57f-4e53-adcf-93b6b5c156aa","{""foo"":""bar-17""}","foo/results/f9581453-f57f-4e53-adcf-93b6b5c156aa/records/9ac74a62-1571-443e-802a-d5a19e801e1b","resource_type","2025-07-11 09:34:23.385","2025-07-11 09:35:23.385",0,"null","17-1752226463385438633","2025-07-11 09:34:23.385","2025-07-11 09:34:23.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [4.593ms] [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","9a2d11c6-173b-45ab-8842-7a2d2a648cd3","{""foo"":""bar-18""}","foo/results/9a2d11c6-173b-45ab-8842-7a2d2a648cd3/records/df62849e-0963-47f7-8f9d-e9dafe343013","resource_type","2025-07-11 09:34:24.385","2025-07-11 09:35:24.385",0,"null","18-1752226464385438633","2025-07-11 09:34:24.385","2025-07-11 09:34:24.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [7.620ms] [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","3e54524d-db75-4c02-b6a0-0bc9dcab26d1","{""foo"":""bar-19""}","foo/results/3e54524d-db75-4c02-b6a0-0bc9dcab26d1/records/10a1173d-2d23-4bd3-bb05-3500c6568d02","resource_type","2025-07-11 09:34:25.385","2025-07-11 09:35:25.385",0,"null","19-1752226465385438633","2025-07-11 09:34:25.385","2025-07-11 09:34:25.385") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [5.284ms] [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","cbb44918-a465-4f6e-bf9e-bb7ec69cec8c","{""foo"":""bar-20""}","foo/results/cbb44918-a465-4f6e-bf9e-bb7ec69cec8c/records/f8d77fb5-1032-48b0-a46b-206175deb240","resource_type","2025-07-11 09:34:26.385","2025-07-11 09:35:26.385",0,"null","20-1752226466385438633","2025-07-11 09:34:26.385","2025-07-11 09:34:26.385") 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 [6.829ms] [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 [3.924ms] [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.298ms] [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 [0.475ms] [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 [0.776ms] [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.277ms] [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 [0.451ms] [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 [0.945ms] [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 [1.405ms] [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 [1.478ms] [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 [1.318ms] [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 [1.550ms] [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 [1.394ms] [rows:6] SELECT * FROM `results` WHERE (created_time, id) > ("2025-07-11 09:34:11.385", "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 [1.296ms] [rows:6] SELECT * FROM `results` WHERE (created_time, id) > ("2025-07-11 09:34:16.385", "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 [1.220ms] [rows:5] SELECT * FROM `results` WHERE (created_time, id) > ("2025-07-11 09:34:21.385", "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 [1.426ms] [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 [1.567ms] [rows:6] SELECT * FROM `results` WHERE (created_time, id) < ("2025-07-11 09:34:22.385", "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 [1.438ms] [rows:6] SELECT * FROM `results` WHERE (created_time, id) < ("2025-07-11 09:34:17.385", "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 [0.986ms] [rows:5] SELECT * FROM `results` WHERE (created_time, id) < ("2025-07-11 09:34:12.385", "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.421ms] [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 [1.490ms] [rows:6] SELECT * FROM `results` WHERE (updated_time, id) > ("2025-07-11 09:34:11.385", "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 [1.150ms] [rows:6] SELECT * FROM `results` WHERE (updated_time, id) > ("2025-07-11 09:34:16.385", "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 [1.348ms] [rows:5] SELECT * FROM `results` WHERE (updated_time, id) > ("2025-07-11 09:34:21.385", "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.498ms] [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 [1.488ms] [rows:6] SELECT * FROM `results` WHERE (updated_time, id) < ("2025-07-11 09:34:22.385", "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 [1.561ms] [rows:6] SELECT * FROM `results` WHERE (updated_time, id) < ("2025-07-11 09:34:17.385", "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 [1.291ms] [rows:5] SELECT * FROM `results` WHERE (updated_time, id) < ("2025-07-11 09:34:12.385", "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 [1.032ms] [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 [1.609ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_start_time, id) > ("2025-07-11 09:34:11.385", "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 [1.860ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_start_time, id) > ("2025-07-11 09:34:16.385", "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 [0.988ms] [rows:5] SELECT * FROM `results` WHERE (recordsummary_start_time, id) > ("2025-07-11 09:34:21.385", "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 [1.655ms] [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 [1.707ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_start_time, id) < ("2025-07-11 09:34:22.385", "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 [1.450ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_start_time, id) < ("2025-07-11 09:34:17.385", "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.449ms] [rows:5] SELECT * FROM `results` WHERE (recordsummary_start_time, id) < ("2025-07-11 09:34:12.385", "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 [1.257ms] [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 [1.346ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_end_time, id) > ("2025-07-11 09:35:11.385", "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 [1.034ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_end_time, id) > ("2025-07-11 09:35:16.385", "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 [0.929ms] [rows:5] SELECT * FROM `results` WHERE (recordsummary_end_time, id) > ("2025-07-11 09:35:21.385", "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 [1.094ms] [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 [1.129ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_end_time, id) < ("2025-07-11 09:35:22.385", "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.114ms] [rows:6] SELECT * FROM `results` WHERE (recordsummary_end_time, id) < ("2025-07-11 09:35:17.385", "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 [0.949ms] [rows:5] SELECT * FROM `results` WHERE (recordsummary_end_time, id) < ("2025-07-11 09:35:12.385", "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 [1.628ms] [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.597ms] [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 [1.656ms] [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 [0.757ms] [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 (0.96s) --- PASS: TestListResults/list_all_results (0.05s) --- PASS: TestListResults/list_all_results_without_knowing_the_parent_name (0.06s) --- PASS: TestListResults/no_results (0.00s) --- PASS: TestListResults/missing_parent (0.00s) --- PASS: TestListResults/simple_query (0.00s) --- PASS: TestListResults/complex_query (0.01s) --- PASS: TestListResults/filter_all (0.00s) --- PASS: TestListResults/filter_by_annotations (0.00s) --- 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.07s) --- PASS: TestListResults/paginate_results_sorting_by_create_time_asc (0.06s) --- PASS: TestListResults/paginate_results_sorting_by_create_time_desc (0.07s) --- PASS: TestListResults/paginate_results_sorting_by_update_time_asc (0.06s) --- PASS: TestListResults/paginate_results_sorting_by_update_time_desc (0.06s) --- PASS: TestListResults/paginate_results_sorting_by_summary.start_time_asc (0.07s) --- PASS: TestListResults/paginate_results_sorting_by_summary.start_time_desc (0.08s) --- PASS: TestListResults/paginate_results_sorting_by_summary.end_time_asc (0.05s) --- PASS: TestListResults/paginate_results_sorting_by_summary.end_time_desc (0.06s) --- PASS: TestListResults/paginate_results_using_filter (0.07s) PASS ok github.com/tektoncd/results/pkg/api/server/v1alpha2 5.459s === RUN TestRBAC rbac_test.go:93: test database: /tmp/testdb3618318529 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.074ms] [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.164ms] [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.391ms] [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.812ms] [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.143ms] [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.027ms] [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 [26.314ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226413.8223438,"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 [65.845ms] [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","45fc19c7-e2f3-4459-8e80-b6a61399f0ff","bar","null","","",NULL,NULL,0,"null","45fc19c7-e2f3-4459-8e80-b6a61399f0ff-1752226413830931166","2025-07-11 09:33:33.83","2025-07-11 09:33:33.83") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.652ms] [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.695ms] [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.684ms] [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.912ms] [rows:1] UPDATE `results` SET `name`="bar",`annotations`="null",`created_time`="2025-07-11 09:33:33.83",`updated_time`="2025-07-11 09:33:33.905",`recordsummary_record`="",`recordsummary_type`="",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="45fc19c7-e2f3-4459-8e80-b6a61399f0ff-1752226413905475950" WHERE `parent` = "foo" AND `id` = "45fc19c7-e2f3-4459-8e80-b6a61399f0ff" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [3.831ms] [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 [13.099ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","45fc19c7-e2f3-4459-8e80-b6a61399f0ff","bar","22a1c8ba-1783-4d92-98bf-7e9807003169","baz","","","22a1c8ba-1783-4d92-98bf-7e9807003169-1752226413966442590","2025-07-11 09:33:33.966","2025-07-11 09:33:33.966") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.624ms] [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.679ms] [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.555ms] [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.522ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="baz",`type`="",`data`="",`created_time`="2025-07-11 09:33:33.966",`updated_time`="2025-07-11 09:33:33.987",`etag`="22a1c8ba-1783-4d92-98bf-7e9807003169-1752226413987439838" WHERE `parent` = "foo" AND `result_id` = "45fc19c7-e2f3-4459-8e80-b6a61399f0ff" AND `id` = "22a1c8ba-1783-4d92-98bf-7e9807003169" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.580ms] [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.779ms] [rows:1] DELETE FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_id` = "45fc19c7-e2f3-4459-8e80-b6a61399f0ff" AND `records`.`result_name` = "bar" AND `records`.`id` = "22a1c8ba-1783-4d92-98bf-7e9807003169" AND `records`.`name` = "baz" AND `records`.`created_time` = "2025-07-11 09:33:33.966" AND `records`.`updated_time` = "2025-07-11 09:33:33.987" AND `records`.`etag` = "22a1c8ba-1783-4d92-98bf-7e9807003169-1752226413987439838" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [0.924ms] [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 [5.360ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "45fc19c7-e2f3-4459-8e80-b6a61399f0ff" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-07-11 09:33:33.83" AND `results`.`updated_time` = "2025-07-11 09:33:33.905" AND `results`.`etag` = "45fc19c7-e2f3-4459-8e80-b6a61399f0ff-1752226413905475950" === 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 [8.296ms] [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","e91f3afb-3a59-425f-a6b8-5961af45d1f3","bar","null","","",NULL,NULL,0,"null","e91f3afb-3a59-425f-a6b8-5961af45d1f3-1752226414040148300","2025-07-11 09:33:34.04","2025-07-11 09:33:34.04") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.518ms] [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.592ms] [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.714ms] [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.590ms] [rows:1] UPDATE `results` SET `name`="bar",`annotations`="null",`created_time`="2025-07-11 09:33:34.04",`updated_time`="2025-07-11 09:33:34.063",`recordsummary_record`="",`recordsummary_type`="",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="e91f3afb-3a59-425f-a6b8-5961af45d1f3-1752226414063017357" WHERE `parent` = "foo" AND `id` = "e91f3afb-3a59-425f-a6b8-5961af45d1f3" 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` = "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 [4.481ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","e91f3afb-3a59-425f-a6b8-5961af45d1f3","bar","07e86348-1690-4211-ba8a-248bc8114593","baz","","","07e86348-1690-4211-ba8a-248bc8114593-1752226414070631425","2025-07-11 09:33:34.07","2025-07-11 09:33:34.07") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.671ms] [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.717ms] [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.536ms] [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.573ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="baz",`type`="",`data`="",`created_time`="2025-07-11 09:33:34.07",`updated_time`="2025-07-11 09:33:34.082",`etag`="07e86348-1690-4211-ba8a-248bc8114593-1752226414082480811" WHERE `parent` = "foo" AND `result_id` = "e91f3afb-3a59-425f-a6b8-5961af45d1f3" AND `id` = "07e86348-1690-4211-ba8a-248bc8114593" 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` = "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 [5.711ms] [rows:1] DELETE FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_id` = "e91f3afb-3a59-425f-a6b8-5961af45d1f3" AND `records`.`result_name` = "bar" AND `records`.`id` = "07e86348-1690-4211-ba8a-248bc8114593" AND `records`.`name` = "baz" AND `records`.`created_time` = "2025-07-11 09:33:34.07" AND `records`.`updated_time` = "2025-07-11 09:33:34.082" AND `records`.`etag` = "07e86348-1690-4211-ba8a-248bc8114593-1752226414082480811" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [0.765ms] [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 [5.310ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "e91f3afb-3a59-425f-a6b8-5961af45d1f3" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-07-11 09:33:34.04" AND `results`.`updated_time` = "2025-07-11 09:33:34.063" AND `results`.`etag` = "e91f3afb-3a59-425f-a6b8-5961af45d1f3-1752226414063017357" === 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 [9.014ms] [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","a6003c12-226b-4489-8d0a-d0aa0bc0b685","bar","null","","",NULL,NULL,0,"null","a6003c12-226b-4489-8d0a-d0aa0bc0b685-1752226414117035716","2025-07-11 09:33:34.117","2025-07-11 09:33:34.117") 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` = "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.844ms] [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 [1.313ms] [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.697ms] [rows:1] UPDATE `results` SET `name`="bar",`annotations`="null",`created_time`="2025-07-11 09:33:34.117",`updated_time`="2025-07-11 09:33:34.135",`recordsummary_record`="",`recordsummary_type`="",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="a6003c12-226b-4489-8d0a-d0aa0bc0b685-1752226414135764089" WHERE `parent` = "foo" AND `id` = "a6003c12-226b-4489-8d0a-d0aa0bc0b685" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.599ms] [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 [6.859ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","a6003c12-226b-4489-8d0a-d0aa0bc0b685","bar","98de6c93-19a8-4991-a63d-ee47ff54262d","baz","","","98de6c93-19a8-4991-a63d-ee47ff54262d-1752226414142933585","2025-07-11 09:33:34.142","2025-07-11 09:33:34.142") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.577ms] [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.621ms] [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.450ms] [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.546ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="baz",`type`="",`data`="",`created_time`="2025-07-11 09:33:34.142",`updated_time`="2025-07-11 09:33:34.156",`etag`="98de6c93-19a8-4991-a63d-ee47ff54262d-1752226414156798719" WHERE `parent` = "foo" AND `result_id` = "a6003c12-226b-4489-8d0a-d0aa0bc0b685" AND `id` = "98de6c93-19a8-4991-a63d-ee47ff54262d" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.394ms] [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 [4.116ms] [rows:1] DELETE FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_id` = "a6003c12-226b-4489-8d0a-d0aa0bc0b685" AND `records`.`result_name` = "bar" AND `records`.`id` = "98de6c93-19a8-4991-a63d-ee47ff54262d" AND `records`.`name` = "baz" AND `records`.`created_time` = "2025-07-11 09:33:34.142" AND `records`.`updated_time` = "2025-07-11 09:33:34.156" AND `records`.`etag` = "98de6c93-19a8-4991-a63d-ee47ff54262d-1752226414156798719" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [0.698ms] [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 [4.678ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "a6003c12-226b-4489-8d0a-d0aa0bc0b685" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-07-11 09:33:34.117" AND `results`.`updated_time` = "2025-07-11 09:33:34.135" AND `results`.`etag` = "a6003c12-226b-4489-8d0a-d0aa0bc0b685-1752226414135764089" === 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 [25.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","f05febf4-85fb-426d-b81b-c856018ec150","bar","null","","",NULL,NULL,0,"null","f05febf4-85fb-426d-b81b-c856018ec150-1752226414200453232","2025-07-11 09:33:34.2","2025-07-11 09:33:34.2") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.703ms] [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.711ms] [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.659ms] [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.771ms] [rows:1] UPDATE `results` SET `name`="bar",`annotations`="null",`created_time`="2025-07-11 09:33:34.2",`updated_time`="2025-07-11 09:33:34.234",`recordsummary_record`="",`recordsummary_type`="",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="f05febf4-85fb-426d-b81b-c856018ec150-1752226414234012353" WHERE `parent` = "foo" AND `id` = "f05febf4-85fb-426d-b81b-c856018ec150" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.511ms] [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 [8.131ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","f05febf4-85fb-426d-b81b-c856018ec150","bar","13565228-6d06-4a6c-a2c6-a4edb64e11b3","baz","","","13565228-6d06-4a6c-a2c6-a4edb64e11b3-1752226414243333696","2025-07-11 09:33:34.243","2025-07-11 09:33:34.243") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.492ms] [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.548ms] [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.435ms] [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.513ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="baz",`type`="",`data`="",`created_time`="2025-07-11 09:33:34.243",`updated_time`="2025-07-11 09:33:34.258",`etag`="13565228-6d06-4a6c-a2c6-a4edb64e11b3-1752226414258319597" WHERE `parent` = "foo" AND `result_id` = "f05febf4-85fb-426d-b81b-c856018ec150" AND `id` = "13565228-6d06-4a6c-a2c6-a4edb64e11b3" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.477ms] [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 [4.239ms] [rows:1] DELETE FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_id` = "f05febf4-85fb-426d-b81b-c856018ec150" AND `records`.`result_name` = "bar" AND `records`.`id` = "13565228-6d06-4a6c-a2c6-a4edb64e11b3" AND `records`.`name` = "baz" AND `records`.`created_time` = "2025-07-11 09:33:34.243" AND `records`.`updated_time` = "2025-07-11 09:33:34.258" AND `records`.`etag` = "13565228-6d06-4a6c-a2c6-a4edb64e11b3-1752226414258319597" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [0.542ms] [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 [3.998ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "f05febf4-85fb-426d-b81b-c856018ec150" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-07-11 09:33:34.2" AND `results`.`updated_time` = "2025-07-11 09:33:34.234" AND `results`.`etag` = "f05febf4-85fb-426d-b81b-c856018ec150-1752226414234012353" === 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 [6.014ms] [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","a3ae5377-f6ae-4eba-9d37-4c54dbe44ecb","bar","null","","",NULL,NULL,0,"null","a3ae5377-f6ae-4eba-9d37-4c54dbe44ecb-1752226414288817950","2025-07-11 09:33:34.288","2025-07-11 09:33:34.288") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.543ms] [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.604ms] [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.595ms] [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.598ms] [rows:1] UPDATE `results` SET `name`="bar",`annotations`="null",`created_time`="2025-07-11 09:33:34.288",`updated_time`="2025-07-11 09:33:34.301",`recordsummary_record`="",`recordsummary_type`="",`recordsummary_start_time`=NULL,`recordsummary_end_time`=NULL,`recordsummary_status`=0,`recordsummary_annotations`="null",`etag`="a3ae5377-f6ae-4eba-9d37-4c54dbe44ecb-1752226414301929836" WHERE `parent` = "foo" AND `id` = "a3ae5377-f6ae-4eba-9d37-4c54dbe44ecb" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.474ms] [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 [7.470ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","a3ae5377-f6ae-4eba-9d37-4c54dbe44ecb","bar","9992d060-ce1c-4f61-b998-c59bac3e4860","baz","","","9992d060-ce1c-4f61-b998-c59bac3e4860-1752226414309801843","2025-07-11 09:33:34.309","2025-07-11 09:33:34.309") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.655ms] [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.596ms] [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.496ms] [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.535ms] [rows:1] UPDATE `records` SET `result_name`="bar",`name`="baz",`type`="",`data`="",`created_time`="2025-07-11 09:33:34.309",`updated_time`="2025-07-11 09:33:34.324",`etag`="9992d060-ce1c-4f61-b998-c59bac3e4860-1752226414324636299" WHERE `parent` = "foo" AND `result_id` = "a3ae5377-f6ae-4eba-9d37-4c54dbe44ecb" AND `id` = "9992d060-ce1c-4f61-b998-c59bac3e4860" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.503ms] [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 [4.093ms] [rows:1] DELETE FROM `records` WHERE `records`.`parent` = "foo" AND `records`.`result_id` = "a3ae5377-f6ae-4eba-9d37-4c54dbe44ecb" AND `records`.`result_name` = "bar" AND `records`.`id` = "9992d060-ce1c-4f61-b998-c59bac3e4860" AND `records`.`name` = "baz" AND `records`.`created_time` = "2025-07-11 09:33:34.309" AND `records`.`updated_time` = "2025-07-11 09:33:34.324" AND `records`.`etag` = "9992d060-ce1c-4f61-b998-c59bac3e4860-1752226414324636299" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168 [0.831ms] [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 [4.762ms] [rows:1] DELETE FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`id` = "a3ae5377-f6ae-4eba-9d37-4c54dbe44ecb" AND `results`.`name` = "bar" AND `results`.`created_time` = "2025-07-11 09:33:34.288" AND `results`.`updated_time` = "2025-07-11 09:33:34.301" AND `results`.`etag` = "a3ae5377-f6ae-4eba-9d37-4c54dbe44ecb-1752226414301929836" === RUN TestRBAC/unauthorized_impersonated_group --- PASS: TestRBAC (0.61s) --- PASS: TestRBAC/authorized_user (0.18s) --- PASS: TestRBAC/unauthorized_user (0.03s) --- PASS: TestRBAC/authorized_group (0.07s) --- PASS: TestRBAC/unauthorized_group (0.01s) --- PASS: TestRBAC/authorized_extra (0.06s) --- PASS: TestRBAC/unauthorized_extra (0.01s) --- PASS: TestRBAC/unauthenticated_user (0.01s) --- PASS: TestRBAC/authorized_impersonated_user (0.08s) --- PASS: TestRBAC/unauthorized_impersonated_user (0.01s) --- PASS: TestRBAC/authorized_impersonated_group (0.06s) --- PASS: TestRBAC/unauthorized_impersonated_group (0.01s) PASS ok github.com/tektoncd/results/pkg/api/server/v1alpha2/auth 1.885s === 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.150s === 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.01s) --- 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.02s) --- 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.229s === 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 (0.76s) === RUN TestGCSWriteTo gcs_test.go:77: Replaying GCS API responses from replay file testdata/TestGCSWriteTo.replay --- PASS: TestGCSWriteTo (0.03s) === RUN TestGCSDelete gcs_test.go:77: Replaying GCS API responses from replay file testdata/TestGCSDelete.replay --- PASS: TestGCSDelete (0.03s) === 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.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/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 1.946s === RUN TestLogPluginServer_GetLog plugin_logs_test.go:108: test database: /tmp/testdb2307426891 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.057ms] [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.136ms] [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 [4.935ms] [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.618ms] [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.103ms] [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.658ms] [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.639ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"info","ts":1752226413.7719767,"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 [8.606ms] [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","e69bcc3a-d7aa-44d8-810c-8afdf2a675ae","bar","null","","",NULL,NULL,0,"null","e69bcc3a-d7aa-44d8-810c-8afdf2a675ae-1752226413773776830","2025-07-11 09:33:33.773","2025-07-11 09:33:33.773") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [20.355ms] [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 [49.109ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","e69bcc3a-d7aa-44d8-810c-8afdf2a675ae","bar","5633ee56-7682-4e2b-b6c9-d6339c7471e0","baz","tekton.dev/v1.PipelineRun","{""metadata"":{""creationTimestamp"":null},""spec"":{""taskRunTemplate"":{}},""status"":{""startTime"":""2025-07-11T09:33:33Z"",""completionTime"":""2025-07-11T09:33:33Z""}}","5633ee56-7682-4e2b-b6c9-d6339c7471e0-1752226413822211487","2025-07-11 09:33:33.822","2025-07-11 09:33:33.822") 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 [20.953ms] [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=1752226413&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=1752226413 plugin_logs_test.go:56: Received headers: map[Accept-Encoding:[gzip] Authorization:[Bearer dummytoken] User-Agent:[Go-http-client/1.1]] --- PASS: TestLogPluginServer_GetLog (0.22s) === RUN TestMergeLogParts === RUN TestMergeLogParts/Test_with_matching_regexp === RUN TestMergeLogParts/Test_with_empty_regexp === RUN TestMergeLogParts/Test_with_not_matching_regexp --- PASS: TestMergeLogParts (0.02s) --- PASS: TestMergeLogParts/Test_with_matching_regexp (0.00s) --- PASS: TestMergeLogParts/Test_with_empty_regexp (0.02s) --- PASS: TestMergeLogParts/Test_with_not_matching_regexp (0.00s) === RUN TestSplunkLogs plugin_logs_test.go:319: test database: /tmp/testdb928353905 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.032ms] [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.128ms] [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.944ms] [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.798ms] [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.077ms] [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.682ms] [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.178ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"info","ts":1752226413.991554,"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 [5.551ms] [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","4c26c70a-e9aa-49d1-a9ee-a2a12732a7ec","test-result","null","","",NULL,NULL,0,"null","4c26c70a-e9aa-49d1-a9ee-a2a12732a7ec-1752226413991777715","2025-07-11 09:33:33.991","2025-07-11 09:33:33.991") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [2.825ms] [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 [5.625ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("rh-acs-tenant","4c26c70a-e9aa-49d1-a9ee-a2a12732a7ec","test-result","6b67cb23-3cb1-4481-af9e-56c556142c39","25274ae9-d521-4a9c-b254-122c17f64941","tekton.dev/v1.TaskRun","{""metadata"":{""uid"":""25274ae9-d521-4a9c-b254-122c17f64941"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":"""",""startTime"":""2025-07-11T08:33:33Z"",""completionTime"":""2025-07-11T09:33:33Z""}}","6b67cb23-3cb1-4481-af9e-56c556142c39-1752226414003349987","2025-07-11 09:33:34.003","2025-07-11 09:33:34.003") 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.385ms] [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.11s) PASS ok github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin 6.581s === 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.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/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.01s) --- 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.228s === 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/07/11 09:33:33 failed to evaluate the expression: no such attribute(s): record --- PASS: TestMatch (0.03s) --- PASS: TestMatch/no_filter (0.00s) --- PASS: TestMatch/matching_condition (0.02s) --- PASS: TestMatch/non-matching_condition (0.00s) --- PASS: TestMatch/nil_result (0.00s) --- 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.201s === RUN TestStoreLoadWithContext logger.go:146: 2025-07-11T09:33:33.690Z 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.00s) === RUN TestStoreLoadWithContext_Empty --- PASS: TestStoreLoadWithContext_Empty (0.00s) PASS ok github.com/tektoncd/results/pkg/apis/config 1.207s === 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.00s) --- PASS: TestSend/successful_request (0.00s) PASS ok github.com/tektoncd/results/pkg/cli/client 1.102s === RUN TestListRecords === RUN TestListRecords/successful_list === RUN TestListRecords/error_response 2025/07/11 09:33:33 RoundTripper returned a response & error; ignoring response --- PASS: TestListRecords (0.00s) --- PASS: TestListRecords/successful_list (0.00s) --- PASS: TestListRecords/error_response (0.00s) PASS ok github.com/tektoncd/results/pkg/cli/client/records 1.052s === 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-07-11 09:33:34 +0000 UTC 2025-07-11 09:33:34 +0000 UTC] === RUN TestPrintProto_Tab/*results_go_proto.ListRecordsResponse [Name Type Start Update] [a tacocat 2025-07-11 09:33:34 +0000 UTC 2025-07-11 09:33:34 +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.188s ? github.com/tektoncd/results/pkg/cli/common [no test files] ? github.com/tektoncd/results/pkg/cli/common/prerun [no test files] ? github.com/tektoncd/results/pkg/cli/config/test [no test files] ? github.com/tektoncd/results/pkg/cli/dev/cmd/logs [no test files] ? github.com/tektoncd/results/pkg/cli/dev/cmd/records [no test files] ? 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 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 === RUN TestCommandPersistentPreRunE/valid_params --- PASS: TestCommandPersistentPreRunE (0.00s) --- PASS: TestCommandPersistentPreRunE/valid_params (0.00s) === RUN TestCommandFlagDefaults === RUN TestCommandFlagDefaults/kubeconfig_default === RUN TestCommandFlagDefaults/context_default === RUN TestCommandFlagDefaults/namespace_default === RUN TestCommandFlagDefaults/host_default === RUN TestCommandFlagDefaults/token_default === RUN TestCommandFlagDefaults/api-path_default === RUN TestCommandFlagDefaults/insecure-skip-tls-verify_default --- PASS: TestCommandFlagDefaults (0.00s) --- PASS: TestCommandFlagDefaults/kubeconfig_default (0.00s) --- PASS: TestCommandFlagDefaults/context_default (0.00s) --- PASS: TestCommandFlagDefaults/namespace_default (0.00s) --- PASS: TestCommandFlagDefaults/host_default (0.00s) --- PASS: TestCommandFlagDefaults/token_default (0.00s) --- PASS: TestCommandFlagDefaults/api-path_default (0.00s) --- PASS: TestCommandFlagDefaults/insecure-skip-tls-verify_default (0.00s) === RUN TestCommandFlagShorthands === RUN TestCommandFlagShorthands/kubeconfig_shorthand === RUN TestCommandFlagShorthands/context_shorthand === RUN TestCommandFlagShorthands/namespace_shorthand --- PASS: TestCommandFlagShorthands (0.00s) --- PASS: TestCommandFlagShorthands/kubeconfig_shorthand (0.00s) --- PASS: TestCommandFlagShorthands/context_shorthand (0.00s) --- PASS: TestCommandFlagShorthands/namespace_shorthand (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 TestSetCommand === RUN TestSetCommand/valid_params_no_flags === RUN TestSetCommand/nil_params_no_flags === RUN TestSetCommand/with_host_flag === RUN TestSetCommand/with_token_flag === RUN TestSetCommand/with_api-path_flag === RUN TestSetCommand/with_insecure-skip-tls-verify_flag === RUN TestSetCommand/with_multiple_flags --- PASS: TestSetCommand (0.00s) --- PASS: TestSetCommand/valid_params_no_flags (0.00s) --- PASS: TestSetCommand/nil_params_no_flags (0.00s) --- PASS: TestSetCommand/with_host_flag (0.00s) --- PASS: TestSetCommand/with_token_flag (0.00s) --- PASS: TestSetCommand/with_api-path_flag (0.00s) --- PASS: TestSetCommand/with_insecure-skip-tls-verify_flag (0.00s) --- PASS: TestSetCommand/with_multiple_flags (0.00s) === 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) PASS ok github.com/tektoncd/results/pkg/cli/cmd/config 1.186s === 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.02s) --- PASS: TestDescribeCommand/success (0.02s) --- 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.02s) --- 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.00s) --- 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.230s === 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.02s) --- PASS: TestDescribeTaskRun/success (0.02s) --- 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.01s) --- 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.234s ? github.com/tektoncd/results/pkg/cli/options [no test files] ? github.com/tektoncd/results/pkg/converter [no test files] ? github.com/tektoncd/results/pkg/internal/jsonutil [no test files] ? github.com/tektoncd/results/pkg/internal/test [no test files] === RUN TestNewConfig === RUN TestNewConfig/valid_params --- PASS: TestNewConfig (0.01s) --- PASS: TestNewConfig/valid_params (0.01s) === RUN TestSet --- PASS: TestSet (0.02s) === RUN TestReset --- PASS: TestReset (0.02s) === RUN TestLoadClientConfig --- PASS: TestLoadClientConfig (0.01s) === RUN TestNewConfigError --- PASS: TestNewConfigError (0.01s) === RUN TestSetWithPrompt config_test.go:270: Received expected error when prompting for user input in test environment --- PASS: TestSetWithPrompt (0.01s) === RUN TestPersist --- PASS: TestPersist (0.02s) === RUN TestSetVersion --- PASS: TestSetVersion (0.01s) === RUN TestHost --- PASS: TestHost (0.49s) === RUN TestToken --- PASS: TestToken (0.01s) === RUN TestExtensionBasic === RUN TestExtensionBasic/valid_extension === RUN TestExtensionBasic/empty_extension --- PASS: TestExtensionBasic (0.00s) --- PASS: TestExtensionBasic/valid_extension (0.00s) --- PASS: TestExtensionBasic/empty_extension (0.00s) === RUN TestExtensionDeepCopy --- PASS: TestExtensionDeepCopy (0.00s) === RUN TestExtensionEmpty --- PASS: TestExtensionEmpty (0.00s) === RUN TestGetRoutes === RUN TestGetRoutes/no_services_found === RUN TestGetRoutes/invalid_config === RUN TestGetRoutes/invalid_host --- PASS: TestGetRoutes (0.09s) --- PASS: TestGetRoutes/no_services_found (0.02s) --- PASS: TestGetRoutes/invalid_config (0.00s) --- PASS: TestGetRoutes/invalid_host (0.07s) === RUN TestGetRoutesWithNilConfig --- PASS: TestGetRoutesWithNilConfig (0.00s) PASS ok github.com/tektoncd/results/pkg/cli/config 1.835s === RUN TestToken === RUN TestToken/default === RUN TestToken/token === RUN TestToken/serviceaccount === RUN TestToken/token#01 === RUN TestToken/token_over_serviceaccount --- PASS: TestToken (0.00s) --- 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.22s) PASS ok github.com/tektoncd/results/pkg/cli/dev/client 1.399s === RUN TestDescribeResult --- PASS: TestDescribeResult (0.00s) PASS ok github.com/tektoncd/results/pkg/cli/dev/cmd/result 1.064s === RUN TestParseFileConfig --- PASS: TestParseFileConfig (0.00s) === RUN TestEnvVarConfig --- PASS: TestEnvVarConfig (0.00s) === RUN TestFlagConfig --- PASS: TestFlagConfig (0.00s) PASS ok github.com/tektoncd/results/pkg/cli/dev/config 1.059s === 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.156s === RUN TestClearOutputOnly --- PASS: TestClearOutputOnly (0.01s) PASS ok github.com/tektoncd/results/pkg/internal/protoutil 1.066s === 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.058s === RUN TestRecorder_RecordStorageLatency === RUN TestRecorder_RecordStorageLatency/successful_PipelineRun_storage logger.go:146: 2025-07-11T09:33:45.718Z DEBUG metrics/metrics.go:80 unregistering shared metrics views logger.go:146: 2025-07-11T09:33:45.719Z DEBUG metrics/metrics.go:75 registering shared metrics views === RUN TestRecorder_RecordStorageLatency/successful_TaskRun_storage logger.go:146: 2025-07-11T09:33:45.719Z DEBUG metrics/metrics.go:80 unregistering shared metrics views logger.go:146: 2025-07-11T09:33:45.720Z DEBUG metrics/metrics.go:75 registering shared metrics views === RUN TestRecorder_RecordStorageLatency/successful_TaskRun_storage_with_pipeline_task_label logger.go:146: 2025-07-11T09:33:45.720Z DEBUG metrics/metrics.go:80 unregistering shared metrics views logger.go:146: 2025-07-11T09:33:45.721Z DEBUG metrics/metrics.go:75 registering shared metrics views === RUN TestRecorder_RecordStorageLatency/PipelineRun_without_completion_time logger.go:146: 2025-07-11T09:33:45.723Z DEBUG metrics/metrics.go:80 unregistering shared metrics views logger.go:146: 2025-07-11T09:33:45.723Z DEBUG metrics/metrics.go:75 registering shared metrics views === RUN TestRecorder_RecordStorageLatency/TaskRun_without_completion_time logger.go:146: 2025-07-11T09:33:45.724Z DEBUG metrics/metrics.go:80 unregistering shared metrics views logger.go:146: 2025-07-11T09:33:45.729Z DEBUG metrics/metrics.go:75 registering shared metrics views --- PASS: TestRecorder_RecordStorageLatency (0.01s) --- PASS: TestRecorder_RecordStorageLatency/successful_PipelineRun_storage (0.00s) --- PASS: TestRecorder_RecordStorageLatency/successful_TaskRun_storage (0.00s) --- PASS: TestRecorder_RecordStorageLatency/successful_TaskRun_storage_with_pipeline_task_label (0.00s) --- PASS: TestRecorder_RecordStorageLatency/PipelineRun_without_completion_time (0.00s) --- PASS: TestRecorder_RecordStorageLatency/TaskRun_without_completion_time (0.01s) PASS ok github.com/tektoncd/results/pkg/metrics 1.117s === RUN TestRecorder_DurationAndCountDeleted === RUN TestRecorder_DurationAndCountDeleted/for_succeed_pipeline logger.go:146: 2025-07-11T09:33:45.812Z DEBUG pipelinerunmetrics/metrics.go:83 unregistering pipelinerun metrics view logger.go:146: 2025-07-11T09:33:45.812Z DEBUG pipelinerunmetrics/metrics.go:78 registering pipelinerun metrics view === RUN TestRecorder_DurationAndCountDeleted/for_canceled_pipeline_(without_completion_time) logger.go:146: 2025-07-11T09:33:45.813Z DEBUG pipelinerunmetrics/metrics.go:83 unregistering pipelinerun metrics view logger.go:146: 2025-07-11T09:33:45.813Z DEBUG pipelinerunmetrics/metrics.go:78 registering pipelinerun metrics view === RUN TestRecorder_DurationAndCountDeleted/for_failed_pipeline_(without_completion_time) logger.go:146: 2025-07-11T09:33:45.814Z DEBUG pipelinerunmetrics/metrics.go:83 unregistering pipelinerun metrics view logger.go:146: 2025-07-11T09:33:45.814Z DEBUG pipelinerunmetrics/metrics.go:78 registering pipelinerun metrics view --- PASS: TestRecorder_DurationAndCountDeleted (0.00s) --- 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.103s ? github.com/tektoncd/results/pkg/test [no test files] ? github.com/tektoncd/results/pkg/test/fake [no test files] === RUN TestAgent_job {"level":"info","msg":"retention job started at: 2025-07-11 09:33:50.430972443 +0000 UTC m=+0.390181321, deleting data older than 2025-07-10 09:33:50.430971264 +0000 UTC m=-86399.609819861, retention policy: { 24h0m0s}"} {"level":"info","msg":"retention job finished at: 2025-07-11 09:33:50.443645253 +0000 UTC m=+0.402854137"} --- PASS: TestAgent_job (0.07s) PASS ok github.com/tektoncd/results/pkg/retention 1.488s === RUN TestRecorder_DurationAndCountDeleted === RUN TestRecorder_DurationAndCountDeleted/for_succeeded_taskrun logger.go:146: 2025-07-11T09:33:50.148Z DEBUG taskrunmetrics/metrics.go:92 unregistering taskrun metrics view logger.go:146: 2025-07-11T09:33:50.149Z DEBUG taskrunmetrics/metrics.go:87 registering taskrun metrics view === RUN TestRecorder_DurationAndCountDeleted/for_failed_taskrun logger.go:146: 2025-07-11T09:33:50.149Z DEBUG taskrunmetrics/metrics.go:92 unregistering taskrun metrics view logger.go:146: 2025-07-11T09:33:50.149Z DEBUG taskrunmetrics/metrics.go:87 registering taskrun metrics view === RUN TestRecorder_DurationAndCountDeleted/for_succeeded_taskrun_in_pipelinerun logger.go:146: 2025-07-11T09:33:50.150Z DEBUG taskrunmetrics/metrics.go:92 unregistering taskrun metrics view logger.go:146: 2025-07-11T09:33:50.150Z DEBUG taskrunmetrics/metrics.go:87 registering taskrun metrics view === RUN TestRecorder_DurationAndCountDeleted/for_failed_taskrun_in_pipelinerun logger.go:146: 2025-07-11T09:33:50.151Z DEBUG taskrunmetrics/metrics.go:92 unregistering taskrun metrics view logger.go:146: 2025-07-11T09:33:50.151Z DEBUG taskrunmetrics/metrics.go:87 registering taskrun metrics view --- PASS: TestRecorder_DurationAndCountDeleted (0.00s) --- 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.00s) PASS ok github.com/tektoncd/results/pkg/taskrunmetrics 1.170s ? github.com/tektoncd/results/pkg/watcher/grpc [no test files] ? github.com/tektoncd/results/pkg/watcher/logs [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 (0.28s) --- PASS: TestToProto/string (0.15s) --- PASS: TestToProto/string/*v1.TaskRun (0.07s) --- PASS: TestToProto/string/*unstructured.Unstructured (0.05s) --- PASS: TestToProto/string#01 (0.14s) --- PASS: TestToProto/string#01/*v1.PipelineRun (0.06s) --- PASS: TestToProto/string#01/*unstructured.Unstructured (0.05s) --- PASS: TestToProto/nil (0.00s) === RUN TestToLogProto === RUN TestToLogProto/TaskRun_Log === RUN TestToLogProto/PipelineRun_Log --- PASS: TestToLogProto (0.03s) --- PASS: TestToLogProto/TaskRun_Log (0.01s) --- PASS: TestToLogProto/PipelineRun_Log (0.01s) === 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 1.519s === RUN TestGetDisableAnnotationUpdate --- PASS: TestGetDisableAnnotationUpdate (0.00s) === RUN TestCompletedResourceGracePeriod --- PASS: TestCompletedResourceGracePeriod (0.00s) === RUN TestController logger.go:146: 2025-07-11T09:34:02.537Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000d837e0 evictedKeys:[] evictedVals:[] onEvictedCB: lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}} reconciler_test.go:54: test database: /tmp/testdb4294498296 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.089ms] [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.130ms] [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 [77.322ms] [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.550ms] [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.112ms] [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.966ms] [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.277ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226442.6747615,"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-07-11T09:34:02.686Z DEBUG TestController metrics/metrics.go:80 unregistering shared metrics views logger.go:146: 2025-07-11T09:34:02.686Z DEBUG TestController metrics/metrics.go:75 registering shared metrics views logger.go:146: 2025-07-11T09:34:02.686Z 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-07-11T09:34:02.687Z 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-07-11T09:34:02.691Z 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-07-11T09:34:02.691Z 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-07-11T09:34:02.692Z 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-07-11T09:34:02.692Z 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-07-11T09:34:02.692Z 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-07-11T09:34:02.693Z 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-07-11T09:34:02.735Z 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.444ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "pr-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:02.738Z 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": "902fba49-14cd-4e5a-8400-ab6fea387b97", "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 [22.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 ("ns","2182e929-2095-456d-a34a-19b9fc3191be","pr-id","null","","",NULL,NULL,0,"null","2182e929-2095-456d-a34a-19b9fc3191be-1752226442741126785","2025-07-11 09:34:02.741","2025-07-11 09:34:02.741") 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.550ms] [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-07-11T09:34:02.767Z 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": "902fba49-14cd-4e5a-8400-ab6fea387b97", "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.550ms] [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 [14.719ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","2182e929-2095-456d-a34a-19b9fc3191be","pr-id","03e1cf02-ed86-46e2-a941-e4e73819a5d9","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"":""""}}","03e1cf02-ed86-46e2-a941-e4e73819a5d9-1752226442773646392","2025-07-11 09:34:02.773","2025-07-11 09:34:02.773") RETURNING `created_time`,`updated_time` logger.go:146: 2025-07-11T09:34:02.789Z DEBUG TestController dynamic/dynamic.go:264 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": "902fba49-14cd-4e5a-8400-ab6fea387b97", "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": 55} logger.go:146: 2025-07-11T09:34:02.792Z INFO TestController dynamic/dynamic.go:324 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": "902fba49-14cd-4e5a-8400-ab6fea387b97", "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/gracePeriod": "0s"} logger.go:146: 2025-07-11T09:34:02.793Z 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-07-11T09:34:02.795Z 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-07-11T09:34:02.795Z WARN TestController dynamic/dynamic.go:124 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": "902fba49-14cd-4e5a-8400-ab6fea387b97", "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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:02.795Z 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": "902fba49-14cd-4e5a-8400-ab6fea387b97", "knative.dev/key": "ns/taskrun", "duration": "102.430577ms"} logger.go:146: 2025-07-11T09:34:02.795Z 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.675ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "pr-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:02.799Z 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": "0c143ee4-7cbf-4749-a6eb-085dabd242f5", "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.858ms] [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-07-11T09:34:02.825Z 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": "0c143ee4-7cbf-4749-a6eb-085dabd242f5", "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.593ms] [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.634ms] [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-07-11 09:34:02.773",`updated_time`="2025-07-11 09:34:02.828",`etag`="03e1cf02-ed86-46e2-a941-e4e73819a5d9-1752226442828998964" WHERE `parent` = "ns" AND `result_id` = "2182e929-2095-456d-a34a-19b9fc3191be" AND `id` = "03e1cf02-ed86-46e2-a941-e4e73819a5d9" logger.go:146: 2025-07-11T09:34:02.837Z DEBUG TestController dynamic/dynamic.go:264 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": "0c143ee4-7cbf-4749-a6eb-085dabd242f5", "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": 40} logger.go:146: 2025-07-11T09:34:02.837Z DEBUG TestController dynamic/dynamic.go:296 Skipping CRD annotation patch: Result annotations are already set {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun", "knative.dev/traceid": "0c143ee4-7cbf-4749-a6eb-085dabd242f5", "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-07-11T09:34:02.837Z INFO TestController dynamic/dynamic.go:324 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": "0c143ee4-7cbf-4749-a6eb-085dabd242f5", "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/gracePeriod": "0s"} logger.go:146: 2025-07-11T09:34:02.837Z DEBUG TestController dynamic/dynamic.go:773 Skipping CRD annotation patch: Result Stored 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": "0c143ee4-7cbf-4749-a6eb-085dabd242f5", "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-07-11T09:34:02.837Z WARN TestController dynamic/dynamic.go:124 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": "0c143ee4-7cbf-4749-a6eb-085dabd242f5", "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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:02.838Z 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": "0c143ee4-7cbf-4749-a6eb-085dabd242f5", "knative.dev/key": "ns/taskrun", "duration": "41.933361ms"} === 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-07-11T09:34:03.695Z 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-07-11T09:34:03.696Z 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-07-11T09:34:03.703Z 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-07-11T09:34:03.704Z INFO TestController pipelinerun/reconciler.go:69 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": "d4e74766-07c1-424b-98aa-fa57fcb0cc50", "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.670ms] [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.750ms] [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 [0.819ms] [rows:1] UPDATE `results` SET `name`="pr-id",`annotations`="{""object.metadata.name"":""pr""}",`created_time`="2025-07-11 09:34:02.741",`updated_time`="2025-07-11 09:34:03.711",`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`="2182e929-2095-456d-a34a-19b9fc3191be-1752226443711752199" WHERE `parent` = "ns" AND `id` = "2182e929-2095-456d-a34a-19b9fc3191be" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found [0.537ms] [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-07-11T09:34:03.805Z 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": "d4e74766-07c1-424b-98aa-fa57fcb0cc50", "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.614ms] [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 [19.508ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","2182e929-2095-456d-a34a-19b9fc3191be","pr-id","e51ebf1f-92ec-4047-b998-2ff73ab486b8","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"":{}}","e51ebf1f-92ec-4047-b998-2ff73ab486b8-1752226443808973410","2025-07-11 09:34:03.808","2025-07-11 09:34:03.808") RETURNING `created_time`,`updated_time` logger.go:146: 2025-07-11T09:34:03.830Z DEBUG TestController dynamic/dynamic.go:264 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": "d4e74766-07c1-424b-98aa-fa57fcb0cc50", "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": 125} logger.go:146: 2025-07-11T09:34:03.833Z INFO TestController dynamic/dynamic.go:324 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": "d4e74766-07c1-424b-98aa-fa57fcb0cc50", "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/gracePeriod": "0s"} logger.go:146: 2025-07-11T09:34:03.833Z 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-07-11T09:34:03.835Z WARN TestController dynamic/dynamic.go:124 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": "d4e74766-07c1-424b-98aa-fa57fcb0cc50", "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", "namespace": "ns", "kind": "PipelineRun", "name": "pr"} logger.go:146: 2025-07-11T09:34:03.835Z 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": "d4e74766-07c1-424b-98aa-fa57fcb0cc50", "knative.dev/key": "ns/pr", "duration": "139.519235ms"} logger.go:146: 2025-07-11T09:34:03.836Z 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-07-11T09:34:03.836Z 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-07-11T09:34:03.836Z INFO TestController pipelinerun/reconciler.go:69 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": "fbd8a494-9bed-4c4e-8eed-d7bafb285677", "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 [1.128ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "pr-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:03.842Z 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": "fbd8a494-9bed-4c4e-8eed-d7bafb285677", "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.757ms] [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 logger.go:146: 2025-07-11T09:34:03.863Z 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": "fbd8a494-9bed-4c4e-8eed-d7bafb285677", "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:135 [0.703ms] [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 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217 [0.639ms] [rows:1] UPDATE `records` SET `result_name`="pr-id",`name`="pr-id",`type`="tekton.dev/v1.PipelineRun",`data`="{""kind"":""PipelineRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""pr"",""namespace"":""ns"",""uid"":""pr-id"",""creationTimestamp"":null,""annotations"":{""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""},""finalizers"":[""results.tekton.dev/pipelinerun""]},""spec"":{""taskRunTemplate"":{}},""status"":{}}",`created_time`="2025-07-11 09:34:03.808",`updated_time`="2025-07-11 09:34:03.866",`etag`="e51ebf1f-92ec-4047-b998-2ff73ab486b8-1752226443866364323" WHERE `parent` = "ns" AND `result_id` = "2182e929-2095-456d-a34a-19b9fc3191be" AND `id` = "e51ebf1f-92ec-4047-b998-2ff73ab486b8" logger.go:146: 2025-07-11T09:34:03.877Z DEBUG TestController dynamic/dynamic.go:264 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": "fbd8a494-9bed-4c4e-8eed-d7bafb285677", "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": 40} logger.go:146: 2025-07-11T09:34:03.877Z DEBUG TestController dynamic/dynamic.go:296 Skipping CRD annotation patch: Result annotations are already set {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "fbd8a494-9bed-4c4e-8eed-d7bafb285677", "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-07-11T09:34:03.878Z INFO TestController dynamic/dynamic.go:324 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": "fbd8a494-9bed-4c4e-8eed-d7bafb285677", "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/gracePeriod": "0s"} logger.go:146: 2025-07-11T09:34:03.878Z DEBUG TestController dynamic/dynamic.go:773 Skipping CRD annotation patch: Result Stored annotations are already set ObjectName: pr {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "fbd8a494-9bed-4c4e-8eed-d7bafb285677", "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-07-11T09:34:03.878Z WARN TestController dynamic/dynamic.go:124 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": "fbd8a494-9bed-4c4e-8eed-d7bafb285677", "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", "namespace": "ns", "kind": "PipelineRun", "name": "pr"} logger.go:146: 2025-07-11T09:34:03.878Z 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": "fbd8a494-9bed-4c4e-8eed-d7bafb285677", "knative.dev/key": "ns/pr", "duration": "41.974949ms"} logger.go:146: 2025-07-11T09:34:03.878Z 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-07-11T09:34:03.879Z INFO TestController pipelinerun/reconciler.go:69 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": "1fcac4db-2e23-4721-87e3-7142ac3b170b", "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.678ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "pr-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:03.882Z 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": "1fcac4db-2e23-4721-87e3-7142ac3b170b", "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.598ms] [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 logger.go:146: 2025-07-11T09:34:03.901Z 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.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "1fcac4db-2e23-4721-87e3-7142ac3b170b", "knative.dev/key": "ns/pr", "results.tekton.dev/kind": "PipelineRun", "results.tekton.dev/record": "ns/results/pr-id/records/pr-id"} logger.go:146: 2025-07-11T09:34:03.901Z DEBUG TestController dynamic/dynamic.go:264 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": "1fcac4db-2e23-4721-87e3-7142ac3b170b", "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": 22} logger.go:146: 2025-07-11T09:34:03.901Z DEBUG TestController dynamic/dynamic.go:296 Skipping CRD annotation patch: Result annotations are already set {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "1fcac4db-2e23-4721-87e3-7142ac3b170b", "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-07-11T09:34:03.902Z INFO TestController dynamic/dynamic.go:324 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": "1fcac4db-2e23-4721-87e3-7142ac3b170b", "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/gracePeriod": "0s"} logger.go:146: 2025-07-11T09:34:03.902Z DEBUG TestController dynamic/dynamic.go:773 Skipping CRD annotation patch: Result Stored annotations are already set ObjectName: pr {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun", "knative.dev/traceid": "1fcac4db-2e23-4721-87e3-7142ac3b170b", "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-07-11T09:34:03.902Z WARN TestController dynamic/dynamic.go:124 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": "1fcac4db-2e23-4721-87e3-7142ac3b170b", "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", "namespace": "ns", "kind": "PipelineRun", "name": "pr"} logger.go:146: 2025-07-11T09:34:03.902Z 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": "1fcac4db-2e23-4721-87e3-7142ac3b170b", "knative.dev/key": "ns/pr", "duration": "23.584738ms"} === 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-07-11T09:34:04.699Z 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.16s) --- PASS: TestController/taskrun (1.00s) --- PASS: TestController/pipelinerun (1.00s) PASS ================== WARNING: DATA RACE Read at 0x00c000bed223 by goroutine 77: testing.(*common).logDepth() /usr/local/go/src/testing/testing.go:1018 +0xcd testing.(*common).log() /usr/local/go/src/testing/testing.go:1011 +0xa4 testing.(*common).Logf() /usr/local/go/src/testing/testing.go:1062 +0x6a testing.(*T).Logf() :1 +0x69 go.uber.org/zap/zaptest.TestingWriter.Write() /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zaptest/logger.go:146 +0x11d 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 +0x192 go.uber.org/zap/zapcore.(*CheckedEntry).Write() /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zapcore/entry.go:253 +0x1ef go.uber.org/zap.(*SugaredLogger).log() /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/sugar.go:355 +0x12f go.uber.org/zap.(*SugaredLogger).Info() /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/sugar.go:155 +0x778 knative.dev/pkg/controller.(*Impl).RunContext() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:496 +0x6f2 knative.dev/pkg/controller.(*Impl).Run() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:444 +0x5d knative.dev/pkg/controller.StartAll.func1() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:781 +0x68 golang.org/x/sync/errgroup.(*Group).add.func1() /home/prow/go/src/github.com/tektoncd/results/vendor/golang.org/x/sync/errgroup/errgroup.go:128 +0x141 Previous write at 0x00c000bed223 by goroutine 30: testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1677 +0x8fa runtime.deferreturn() /usr/local/go/src/runtime/panic.go:605 +0x5d testing.(*T).Run.gowrap1() /usr/local/go/src/testing/testing.go:1743 +0x44 Goroutine 77 (running) created at: golang.org/x/sync/errgroup.(*Group).add() /home/prow/go/src/github.com/tektoncd/results/vendor/golang.org/x/sync/errgroup/errgroup.go:96 +0xe5 golang.org/x/sync/errgroup.(*Group).Go() /home/prow/go/src/github.com/tektoncd/results/vendor/golang.org/x/sync/errgroup/errgroup.go:91 +0xfb knative.dev/pkg/controller.StartAll() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:780 +0x146 github.com/tektoncd/results/pkg/watcher/reconciler_test.TestController.gowrap1() /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/reconciler_test.go:60 +0x96 Goroutine 30 (finished) created at: testing.(*T).Run() /usr/local/go/src/testing/testing.go:1743 +0x825 testing.runTests.func1() /usr/local/go/src/testing/testing.go:2168 +0x85 testing.tRunner() /usr/local/go/src/testing/testing.go:1690 +0x226 testing.runTests() /usr/local/go/src/testing/testing.go:2166 +0x8be testing.(*M).Run() /usr/local/go/src/testing/testing.go:2034 +0xf17 main.main() _testmain.go:51 +0x164 ================== panic: recovered from errgroup.Group: Log in goroutine after TestController has completed: 2025-07-11T09:34:04.699Z 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"} goroutine 98 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:26 +0x67 golang.org/x/sync/errgroup.(*Group).add.func1.1() /home/prow/go/src/github.com/tektoncd/results/vendor/golang.org/x/sync/errgroup/errgroup.go:122 +0x219 panic({0x5a724c0?, 0xc0009b8240?}) /usr/local/go/src/runtime/panic.go:785 +0x132 testing.(*common).logDepth(0xc000bed1e0, {0xc0012f40f0, 0xed}, 0x3) /usr/local/go/src/testing/testing.go:1029 +0x6d4 testing.(*common).log(...) /usr/local/go/src/testing/testing.go:1011 testing.(*common).Logf(0xc000bed1e0, {0x646ec24, 0x2}, {0xc001286930, 0x1, 0x1}) /usr/local/go/src/testing/testing.go:1062 +0xa5 go.uber.org/zap/zaptest.TestingWriter.Write({{0x6f02218?, 0xc000bed1e0?}, 0x20?}, {0xc0012e2800, 0xee, 0x400}) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zaptest/logger.go:146 +0x11e go.uber.org/zap/zapcore.(*ioCore).Write(0xc000e4e7e0, {0x0, {0xc214548329ab74c2, 0xb2439100, 0x9a1aa40}, {0x64835d3, 0xe}, {0x649943a, 0x15}, {0x1, ...}, ...}, ...) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zapcore/core.go:99 +0x193 go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc0012c2a90, {0x0, 0x0, 0x0}) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/zapcore/entry.go:253 +0x1f0 go.uber.org/zap.(*SugaredLogger).log(0xc00035c698, 0x0, {0x0, 0x0}, {0xc000f03e10, 0x1, 0x1}, {0x0, 0x0, 0x0}) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/sugar.go:355 +0x130 go.uber.org/zap.(*SugaredLogger).Info(...) /home/prow/go/src/github.com/tektoncd/results/vendor/go.uber.org/zap/sugar.go:155 knative.dev/pkg/controller.(*Impl).RunContext(0xc000e48600, {0x6ef63f8, 0xc000a0c230}, 0x2) /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:496 +0x779 knative.dev/pkg/controller.(*Impl).Run(...) /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:444 knative.dev/pkg/controller.StartAll.func1() /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:781 +0x5e golang.org/x/sync/errgroup.(*Group).add.func1() /home/prow/go/src/github.com/tektoncd/results/vendor/golang.org/x/sync/errgroup/errgroup.go:128 +0x142 created by golang.org/x/sync/errgroup.(*Group).add in goroutine 86 /home/prow/go/src/github.com/tektoncd/results/vendor/golang.org/x/sync/errgroup/errgroup.go:96 +0xe6 goroutine 86 [running]: golang.org/x/sync/errgroup.(*Group).Wait(0xc000d78e40) /home/prow/go/src/github.com/tektoncd/results/vendor/golang.org/x/sync/errgroup/errgroup.go:70 +0x131 knative.dev/pkg/controller.StartAll({0x6ef6468, 0xc0002e63f0}, {0xc000f0bfc0, 0x2, 0x0?}) /home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:784 +0x245 created by github.com/tektoncd/results/pkg/watcher/reconciler_test.TestController in goroutine 24 /home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/reconciler_test.go:60 +0x38b FAIL github.com/tektoncd/results/pkg/watcher/reconciler 3.046s === RUN TestPatch === RUN TestPatch/create_a_patch_containing_only_the_result_and_record_identifiers_since_the_object_is_a_PipelineRun === RUN TestPatch/create_a_patch_containing_only_the_result_and_record_identifiers_since_the_TaskRun_isn't_owned_by_a_PipelineRun === RUN TestPatch/create_a_patch_containing_only_the_result_and_record_identifiers_since_the_TaskRun_isn't_done_yet === RUN TestPatch/mark_the_TaskRun_as_ready_for_deletion_since_it's_owned_by_a_PipelineRun_and_is_done --- PASS: TestPatch (0.00s) --- PASS: TestPatch/create_a_patch_containing_only_the_result_and_record_identifiers_since_the_object_is_a_PipelineRun (0.00s) --- PASS: TestPatch/create_a_patch_containing_only_the_result_and_record_identifiers_since_the_TaskRun_isn't_owned_by_a_PipelineRun (0.00s) --- PASS: TestPatch/create_a_patch_containing_only_the_result_and_record_identifiers_since_the_TaskRun_isn't_done_yet (0.00s) --- PASS: TestPatch/mark_the_TaskRun_as_ready_for_deletion_since_it's_owned_by_a_PipelineRun_and_is_done (0.00s) === RUN TestIsPatched === RUN TestIsPatched/result_and_record_identifiers_are_missing_in_the_PipelineRun === RUN TestIsPatched/the_record_identifier_is_missing_in_the_PipelineRun === RUN TestIsPatched/the_PipelineRun_contains_all_relevant_annotations === RUN TestIsPatched/the_TaskRun_contains_all_relevant_annotations === RUN TestIsPatched/the_TaskRun_should_be_marked_as_ready_to_be_deleted --- PASS: TestIsPatched (0.00s) --- PASS: TestIsPatched/result_and_record_identifiers_are_missing_in_the_PipelineRun (0.00s) --- PASS: TestIsPatched/the_record_identifier_is_missing_in_the_PipelineRun (0.00s) --- PASS: TestIsPatched/the_PipelineRun_contains_all_relevant_annotations (0.00s) --- PASS: TestIsPatched/the_TaskRun_contains_all_relevant_annotations (0.00s) --- PASS: TestIsPatched/the_TaskRun_should_be_marked_as_ready_to_be_deleted (0.00s) PASS ok github.com/tektoncd/results/pkg/watcher/reconciler/annotation 1.111s ? github.com/tektoncd/results/pkg/watcher/reconciler/leaderelection [no test files] ? 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] ? github.com/tektoncd/results/tools/simpleui [no test files] === RUN TestReconcile_TaskRun logger.go:146: 2025-07-11T09:34:09.188Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000cfcc40 evictedKeys:[] evictedVals:[] onEvictedCB: lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}} dynamic_test.go:129: test database: /tmp/testdb3271056561 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.077ms] [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.135ms] [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 [46.338ms] [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 [15.801ms] [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.116ms] [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.691ms] [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.456ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226449.3190923,"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.389ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.329Z 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 [27.121ms] [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","3da00f79-95f2-4f80-ab8e-a6f2480058f9","12345","{""object.metadata.name"":""taskrun""}","ns/results/12345/records/12345","tekton.dev/v1.TaskRun",NULL,"0000-00-00 00:00:00",1,"null","3da00f79-95f2-4f80-ab8e-a6f2480058f9-1752226449333497771","2025-07-11 09:34:09.333","2025-07-11 09:34:09.333") 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.526ms] [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-07-11T09:34:09.384Z 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 [3.116ms] [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.891ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","3da00f79-95f2-4f80-ab8e-a6f2480058f9","12345","d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0","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"":""""}}","d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0-1752226449389696192","2025-07-11 09:34:09.389","2025-07-11 09:34:09.389") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.741ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.400Z 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.454ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.656ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.406Z 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.324ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.442ms] [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 [7.166ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","3da00f79-95f2-4f80-ab8e-a6f2480058f9","12345","a52af7fe-3b39-45c2-8943-45411429af71","c4bf57c1-fb92-3b45-ac4b-faf01074c1a4","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""c4bf57c1-fb92-3b45-ac4b-faf01074c1a4"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","a52af7fe-3b39-45c2-8943-45411429af71-1752226449413588000","2025-07-11 09:34:09.413","2025-07-11 09:34:09.413") RETURNING `created_time`,`updated_time` logger.go:146: 2025-07-11T09:34:09.423Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:294 Skipping CRD annotation patch: annotation update is disabled logger.go:146: 2025-07-11T09:34:09.423Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:477 Streaming log started {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:09.424Z ERROR TestReconcile_TaskRun dynamic/dynamic.go:485 Error streaming log {"namespace": "ns", "kind": "TaskRun", "name": "taskrun", "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-07-11T09:34:09.424Z INFO TestReconcile_TaskRun dynamic/dynamic.go:493 Streaming log completed {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.487ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.427Z 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.445ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" 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.702ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.434Z 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.356ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" 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.417ms] [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 [6.437ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","3da00f79-95f2-4f80-ab8e-a6f2480058f9","12345","09b6b7ae-87d0-4713-a597-16fe2c9cd519","1afaccf1-3891-3cfb-a82b-2b7de2138a19","results.tekton.dev/v1.EventList","{""metadata"":{},""items"":null}","09b6b7ae-87d0-4713-a597-16fe2c9cd519-1752226449437726292","2025-07-11 09:34:09.437","2025-07-11 09:34:09.437") RETURNING `created_time`,`updated_time` logger.go:146: 2025-07-11T09:34:09.445Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:294 Skipping CRD annotation patch: annotation update is disabled logger.go:146: 2025-07-11T09:34:09.445Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:09.445Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 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": 70} logger.go:146: 2025-07-11T09:34:09.445Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:294 Skipping CRD annotation patch: annotation update is disabled {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345"} logger.go:146: 2025-07-11T09:34:09.445Z INFO TestReconcile_TaskRun dynamic/dynamic.go:324 Skipping resource deletion: deletion is disabled {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "0s"} logger.go:146: 2025-07-11T09:34:09.445Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} === 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 [1.168ms] [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.597ms] [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.429ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" 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.536ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" 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.442ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.457Z 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.478ms] [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-07-11T09:34:09.472Z 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.574ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.476Z 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.522ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.484ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.493Z 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.632ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.496Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:09.496Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 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": 17} logger.go:146: 2025-07-11T09:34:09.498Z INFO TestReconcile_TaskRun dynamic/dynamic.go:324 Skipping resource deletion: deletion is disabled {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "0s"} logger.go:146: 2025-07-11T09:34:09.498Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.575ms] [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.595ms] [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.584ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.517ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" 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.605ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.510Z 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.505ms] [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-07-11T09:34:09.524Z 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.463ms] [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.483ms] [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""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""True"",""lastTransitionTime"":null,""reason"":""Succeeded""}],""podName"":"""",""completionTime"":""2025-07-11T09:34:09Z""}}",`created_time`="2025-07-11 09:34:09.389",`updated_time`="2025-07-11 09:34:09.526",`etag`="d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0-1752226449526968890" WHERE `parent` = "ns" AND `result_id` = "3da00f79-95f2-4f80-ab8e-a6f2480058f9" AND `id` = "d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.641ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.537Z 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.636ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.432ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.543Z 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.467ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.547Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:09.548Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 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": 26} logger.go:146: 2025-07-11T09:34:09.550Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:364 Object is not ready for deletion yet - requeuing to process later {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/requeueAfter": "1s"} logger.go:146: 2025-07-11T09:34:09.550Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} 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` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.554Z 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.569ms] [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-07-11T09:34:09.569Z 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.455ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.572Z 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.467ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.583ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.578Z 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.413ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.581Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:09.582Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 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-07-11T09:34:09.583Z INFO TestReconcile_TaskRun dynamic/dynamic.go:380 Deleting object {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/uid": "12345", "results.tekton.dev/time-taken-seconds": 0} logger.go:146: 2025-07-11T09:34:09.583Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:390 Object has been successfully deleted {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/time-taken-seconds": 0} logger.go:146: 2025-07-11T09:34:09.583Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} === 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.404ms] [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.421ms] [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.473ms] [rows:1] UPDATE `results` SET `name`="12345",`annotations`="{""object.metadata.name"":""taskrun""}",`created_time`="2025-07-11 09:34:09.333",`updated_time`="2025-07-11 09:34:09.588",`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`="3da00f79-95f2-4f80-ab8e-a6f2480058f9-1752226449588289664" WHERE `parent` = "ns" AND `id` = "3da00f79-95f2-4f80-ab8e-a6f2480058f9" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.492ms] [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-07-11T09:34:09.613Z 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.450ms] [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.493ms] [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""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-07-11T09:34:09Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-07-11T09:34:09Z"",""completionTime"":""2025-07-11T09:34:11Z""}}",`created_time`="2025-07-11 09:34:09.389",`updated_time`="2025-07-11 09:34:09.615",`etag`="d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0-1752226449615262858" WHERE `parent` = "ns" AND `result_id` = "3da00f79-95f2-4f80-ab8e-a6f2480058f9" AND `id` = "d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.527ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.624Z 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.594ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.604ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.633Z 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.660ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.636Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:09.636Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 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": 36} logger.go:146: 2025-07-11T09:34:09.638Z INFO TestReconcile_TaskRun dynamic/dynamic.go:380 Deleting object {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/uid": "12345", "results.tekton.dev/time-taken-seconds": -1} logger.go:146: 2025-07-11T09:34:09.638Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:390 Object has been successfully deleted {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/time-taken-seconds": -1} logger.go:146: 2025-07-11T09:34:09.638Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} === 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.455ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.642Z 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.452ms] [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-07-11T09:34:09.660Z 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.485ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.664Z 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.624ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.463ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.671Z 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.526ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.674Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:09.674Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 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-07-11T09:34:09.676Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:370 Object doesn't match the required label selectors - requeuing to process later {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/label-selectors": "x=foo"} logger.go:146: 2025-07-11T09:34:09.676Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} 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` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.679Z 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.596ms] [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-07-11T09:34:09.693Z 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.578ms] [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.650ms] [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""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-07-11T09:34:09Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-07-11T09:34:09Z"",""completionTime"":""2025-07-11T09:34:11Z""}}",`created_time`="2025-07-11 09:34:09.389",`updated_time`="2025-07-11 09:34:09.695",`etag`="d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0-1752226449695916904" WHERE `parent` = "ns" AND `result_id` = "3da00f79-95f2-4f80-ab8e-a6f2480058f9" AND `id` = "d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.727ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.748Z 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.564ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.425ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.754Z 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.584ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.759Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:09.759Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 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": 68} logger.go:146: 2025-07-11T09:34:09.761Z INFO TestReconcile_TaskRun dynamic/dynamic.go:380 Deleting object {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/uid": "12345", "results.tekton.dev/time-taken-seconds": -1} logger.go:146: 2025-07-11T09:34:09.761Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:390 Object has been successfully deleted {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/time-taken-seconds": -1} logger.go:146: 2025-07-11T09:34:09.761Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} === 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.555ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.765Z 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.605ms] [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-07-11T09:34:09.780Z 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.614ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.784Z 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.583ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.548ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.792Z 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.575ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.795Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:09.795Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 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": 18} logger.go:146: 2025-07-11T09:34:09.797Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.485ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.800Z 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.438ms] [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-07-11T09:34:09.821Z 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.665ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.829Z 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.484ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.424ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.835Z 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.469ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.839Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:09.839Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 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": 24} logger.go:146: 2025-07-11T09:34:09.841Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.464ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.844Z 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.581ms] [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-07-11T09:34:09.858Z 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.538ms] [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.516ms] [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-07-11T09:34:09Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-07-11T09:34:09Z"",""completionTime"":""2025-07-11T09:34:11Z""}}",`created_time`="2025-07-11 09:34:09.389",`updated_time`="2025-07-11 09:34:09.86",`etag`="d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0-1752226449860677136" WHERE `parent` = "ns" AND `result_id` = "3da00f79-95f2-4f80-ab8e-a6f2480058f9" AND `id` = "d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.636ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.868Z 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.460ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.396ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.874Z 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.619ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.878Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:09.878Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 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": 24} logger.go:146: 2025-07-11T09:34:09.880Z INFO TestReconcile_TaskRun dynamic/dynamic.go:380 Deleting object {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/uid": "12345", "results.tekton.dev/time-taken-seconds": -1} logger.go:146: 2025-07-11T09:34:09.880Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:390 Object has been successfully deleted {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/time-taken-seconds": -1} logger.go:146: 2025-07-11T09:34:09.880Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} === 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.594ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.884Z 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.630ms] [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-07-11T09:34:09.913Z 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.712ms] [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.816ms] [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""},""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-07-11T09:34:09Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-07-11T09:34:09Z"",""completionTime"":""2025-07-11T09:34:11Z""}}",`created_time`="2025-07-11 09:34:09.389",`updated_time`="2025-07-11 09:34:09.916",`etag`="d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0-1752226449916003649" WHERE `parent` = "ns" AND `result_id` = "3da00f79-95f2-4f80-ab8e-a6f2480058f9" AND `id` = "d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.486ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.927Z 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.417ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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.476ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.933Z 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.616ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.937Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:09.937Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 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-07-11T09:34:09.940Z INFO TestReconcile_TaskRun dynamic/dynamic.go:380 Deleting object {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/uid": "12345", "results.tekton.dev/time-taken-seconds": -1} logger.go:146: 2025-07-11T09:34:09.940Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:390 Object has been successfully deleted {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/time-taken-seconds": -1} logger.go:146: 2025-07-11T09:34:09.940Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} === 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 record not found [0.315ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.942Z DEBUG TestReconcile_TaskRun results/results.go:188 Result doesn't exist yet - creating {"results.tekton.dev/result": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445", "results.tekton.dev/record": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445/records/12345", "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 [5.053ms] [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","38e9ac6f-ae09-40fd-b2dc-d52b7fd365eb","f1682b6b-efae-4d09-ab3e-d6b2dc2d8445","null","","",NULL,NULL,0,"null","38e9ac6f-ae09-40fd-b2dc-d52b7fd365eb-1752226449943590084","2025-07-11 09:34:09.943","2025-07-11 09:34:09.943") 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.467ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.951Z DEBUG TestReconcile_TaskRun results/results.go:334 Record doesn't exist yet - creating {"results.tekton.dev/record": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445/records/12345"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102 [0.449ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" 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.282ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","38e9ac6f-ae09-40fd-b2dc-d52b7fd365eb","f1682b6b-efae-4d09-ab3e-d6b2dc2d8445","0838546c-1091-4159-9955-e8f7b83aaa3e","12345","tekton.dev/v1.TaskRun","{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""x"":""foo""},""ownerReferences"":[{""apiVersion"":""tekton.dev/v1"",""kind"":""PipelineRun"",""name"":""test-pipelinerun"",""uid"":""f1682b6b-efae-4d09-ab3e-d6b2dc2d8445""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-07-11T09:34:09Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-07-11T09:34:09Z"",""completionTime"":""2025-07-11T09:34:11Z""}}","0838546c-1091-4159-9955-e8f7b83aaa3e-1752226449953099766","2025-07-11 09:34:09.953","2025-07-11 09:34:09.953") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.433ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.960Z 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/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445", "results.tekton.dev/record": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445/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 record not found [0.372ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" AND `records`.`name` = "a94a2e9a-a837-3542-a6bc-da7e1e6ed084" 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.441ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.963Z 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/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445", "results.tekton.dev/record": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445/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 record not found [0.271ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" AND `records`.`name` = "a94a2e9a-a837-3542-a6bc-da7e1e6ed084" 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.370ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" 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.298ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","38e9ac6f-ae09-40fd-b2dc-d52b7fd365eb","f1682b6b-efae-4d09-ab3e-d6b2dc2d8445","98c8de86-f592-4ba2-a1ed-b8abcc201b7b","a94a2e9a-a837-3542-a6bc-da7e1e6ed084","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""a94a2e9a-a837-3542-a6bc-da7e1e6ed084"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","98c8de86-f592-4ba2-a1ed-b8abcc201b7b-1752226449966644532","2025-07-11 09:34:09.966","2025-07-11 09:34:09.966") RETURNING `created_time`,`updated_time` logger.go:146: 2025-07-11T09:34:10.018Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:477 Streaming log started {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:10.019Z ERROR TestReconcile_TaskRun dynamic/dynamic.go:485 Error streaming log {"namespace": "ns", "kind": "TaskRun", "name": "taskrun", "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-07-11T09:34:10.019Z INFO TestReconcile_TaskRun dynamic/dynamic.go:493 Streaming log completed {"namespace": "ns", "kind": "TaskRun", "name": "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` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:10.022Z 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/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445", "results.tekton.dev/record": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445/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 record not found [0.406ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" AND `records`.`name` = "74e5071b-3544-3dbb-b526-7306b8a1c807" 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.553ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:10.026Z 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/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445", "results.tekton.dev/record": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445/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 record not found [0.390ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" AND `records`.`name` = "74e5071b-3544-3dbb-b526-7306b8a1c807" 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.405ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "f1682b6b-efae-4d09-ab3e-d6b2dc2d8445" 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.285ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","38e9ac6f-ae09-40fd-b2dc-d52b7fd365eb","f1682b6b-efae-4d09-ab3e-d6b2dc2d8445","35daf137-ad41-4526-a986-c4c948ca062c","74e5071b-3544-3dbb-b526-7306b8a1c807","results.tekton.dev/v1.EventList","{""metadata"":{},""items"":null}","35daf137-ad41-4526-a986-c4c948ca062c-1752226450029700290","2025-07-11 09:34:10.029","2025-07-11 09:34:10.029") RETURNING `created_time`,`updated_time` logger.go:146: 2025-07-11T09:34:10.038Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:10.038Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 Record has been successfully upserted into API server {"results.tekton.dev/result": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445", "results.tekton.dev/record": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445/records/12345", "results.tekton.dev/time-taken-ms": 17} logger.go:146: 2025-07-11T09:34:10.041Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:339 Resource is owned by a PipelineRun, deferring deletion to parent PipelineRun {"results.tekton.dev/result": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445", "results.tekton.dev/record": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445/records/12345", "results.tekton.dev/gracePeriod": "1s", "tekton.dev/PipelineRun": "test-pipelinerun"} logger.go:146: 2025-07-11T09:34:10.041Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 Leaving dynamic Reconciler somehow but the context channel is not closed {"results.tekton.dev/result": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445", "results.tekton.dev/record": "ns/results/f1682b6b-efae-4d09-ab3e-d6b2dc2d8445/records/12345", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} === 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.741ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:10.044Z 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.496ms] [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-07-11T09:34:10.070Z 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.632ms] [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.681ms] [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""},""ownerReferences"":[{""apiVersion"":""v1"",""kind"":""test"",""name"":""test-owner"",""uid"":""46486dd7-0202-4c93-8f17-ef5dd76cde0a""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-07-11T09:34:09Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-07-11T09:34:09Z"",""completionTime"":""2025-07-11T09:34:11Z""}}",`created_time`="2025-07-11 09:34:09.389",`updated_time`="2025-07-11 09:34:10.073",`etag`="d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0-1752226450073588524" WHERE `parent` = "ns" AND `result_id` = "3da00f79-95f2-4f80-ab8e-a6f2480058f9" AND `id` = "d1d1bf33-aaf1-42f4-9d7c-ee0eafdc9ae0" db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.626ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:10.082Z 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.623ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c4bf57c1-fb92-3b45-ac4b-faf01074c1a4" 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-07-11T09:34:10.088Z 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.538ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1afaccf1-3891-3cfb-a82b-2b7de2138a19" ORDER BY `records`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:10.092Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"} logger.go:146: 2025-07-11T09:34:10.092Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:264 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": 37} logger.go:146: 2025-07-11T09:34:10.094Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:345 Resource is owned by another object, deferring deletion to parent resource(s) {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "1s", "results.tekton.dev/ownerReferences": [{"apiVersion":"v1","kind":"test","name":"test-owner","uid":"46486dd7-0202-4c93-8f17-ef5dd76cde0a"}]} logger.go:146: 2025-07-11T09:34:10.094Z WARN TestReconcile_TaskRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "TaskRun", "name": "taskrun"} --- PASS: TestReconcile_TaskRun (0.91s) --- PASS: TestReconcile_TaskRun/disabled_annotations (0.01s) --- PASS: TestReconcile_TaskRun/enabled_annotations (0.05s) --- PASS: TestReconcile_TaskRun/delete_object_once_grace_period_elapses (0.08s) --- PASS: TestReconcile_TaskRun/delete_failed_runs (0.05s) --- PASS: TestReconcile_TaskRun/wait_until_the_object_has_the_desired_labels_to_delete_it (0.12s) --- 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.06s) --- PASS: TestReconcile_TaskRun/do_not_delete_object_with_owner_references_has_PipelineRun_object_and_owner_check_is_disabled (0.10s) --- PASS: TestReconcile_TaskRun/do_not_delete_object_with_owner_references_when_owner_check_is_enabled (0.05s) === RUN TestReconcile_PipelineRun logger.go:146: 2025-07-11T09:34:10.096Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc001610f60 evictedKeys:[] evictedVals:[] onEvictedCB: lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}} dynamic_test.go:438: test database: /tmp/testdb1401730414 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.026ms] [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.095ms] [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.401ms] [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 [3.713ms] [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.111ms] [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.039ms] [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.489ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226450.1263459,"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.343ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:10.132Z 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 [8.053ms] [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","762d9d7a-1dbf-4d60-acc6-6cc4a0da81f9","12345","{""object.metadata.name"":""pipelinerun""}","ns/results/12345/records/12345","tekton.dev/v1.PipelineRun",NULL,"0000-00-00 00:00:00",1,"null","762d9d7a-1dbf-4d60-acc6-6cc4a0da81f9-1752226450133405502","2025-07-11 09:34:10.133","2025-07-11 09:34:10.133") 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.342ms] [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-07-11T09:34:10.146Z 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 [2.003ms] [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.732ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","762d9d7a-1dbf-4d60-acc6-6cc4a0da81f9","12345","b6957423-87f5-4084-9782-2eadcc687510","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""}]}}","b6957423-87f5-4084-9782-2eadcc687510-1752226450149562779","2025-07-11 09:34:10.149","2025-07-11 09:34:10.149") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.446ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:10.158Z 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.288ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1b0bcab9-eac0-31c8-b526-cfa2875e0040" 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.526ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:10.163Z 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.292ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1b0bcab9-eac0-31c8-b526-cfa2875e0040" 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.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 [6.741ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","762d9d7a-1dbf-4d60-acc6-6cc4a0da81f9","12345","6887ddf9-c7b1-4282-b6ff-6cb3956a4164","1b0bcab9-eac0-31c8-b526-cfa2875e0040","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""pipelinerun-log"",""namespace"":""ns"",""uid"":""1b0bcab9-eac0-31c8-b526-cfa2875e0040"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""PipelineRun"",""namespace"":""ns"",""name"":""pipelinerun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","6887ddf9-c7b1-4282-b6ff-6cb3956a4164-1752226450166330355","2025-07-11 09:34:10.166","2025-07-11 09:34:10.166") RETURNING `created_time`,`updated_time` logger.go:146: 2025-07-11T09:34:10.178Z DEBUG TestReconcile_PipelineRun dynamic/dynamic.go:477 Streaming log started {"namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun"} logger.go:146: 2025-07-11T09:34:10.179Z ERROR TestReconcile_PipelineRun dynamic/dynamic.go:485 Error streaming log {"namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun", "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-07-11T09:34:10.179Z INFO TestReconcile_PipelineRun dynamic/dynamic.go:493 Streaming log completed {"namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun"} db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.715ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:10.182Z 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.466ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "5b74fd55-b575-39cc-92b3-7ed74bfe7e14" 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.625ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:10.188Z 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.394ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "5b74fd55-b575-39cc-92b3-7ed74bfe7e14" 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.420ms] [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 [12.632ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","762d9d7a-1dbf-4d60-acc6-6cc4a0da81f9","12345","ed921137-1f3e-4427-9240-2efc5d098d62","5b74fd55-b575-39cc-92b3-7ed74bfe7e14","results.tekton.dev/v1.EventList","{""metadata"":{},""items"":null}","ed921137-1f3e-4427-9240-2efc5d098d62-1752226450191658730","2025-07-11 09:34:10.191","2025-07-11 09:34:10.191") RETURNING `created_time`,`updated_time` logger.go:146: 2025-07-11T09:34:10.206Z DEBUG TestReconcile_PipelineRun dynamic/dynamic.go:256 Successfully store eventlist {"namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun"} logger.go:146: 2025-07-11T09:34:10.206Z DEBUG TestReconcile_PipelineRun dynamic/dynamic.go:264 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": 25} logger.go:146: 2025-07-11T09:34:10.207Z INFO TestReconcile_PipelineRun dynamic/dynamic.go:324 Skipping resource deletion: deletion is disabled {"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/gracePeriod": "0s"} logger.go:146: 2025-07-11T09:34:10.207Z WARN TestReconcile_PipelineRun dynamic/dynamic.go:124 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", "namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun"} === 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.667ms] [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.465ms] [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.372ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "1b0bcab9-eac0-31c8-b526-cfa2875e0040" 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.619ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "5b74fd55-b575-39cc-92b3-7ed74bfe7e14" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestReconcile_PipelineRun (0.12s) --- 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 2.706s === RUN TestReconcile === RUN TestReconcile/incomplete_run_with_disable_storing_-_skip logger.go:146: 2025-07-11T09:34:09.148Z INFO Initiating reconciliation for PipelineRun 'test-ns/test-pr' {"results.tekton.dev/kind": "PipelineRun"} logger.go:146: 2025-07-11T09:34:09.148Z 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-07-11T09:34:09.148Z INFO Initiating reconciliation for PipelineRun 'test-ns/test-pr' {"results.tekton.dev/kind": "PipelineRun"} logger.go:146: 2025-07-11T09:34:09.148Z 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-07-11T09:34:09.149Z 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-07-11T09:34:09.150Z 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-07-11T09:34:09.150Z DEBUG pipelinerun test-ns/test-pr is still running === RUN TestFinalize/store_deadline_passed_-_proceed_with_deletion logger.go:146: 2025-07-11T09:34:09.151Z DEBUG store deadline: 2025-07-11 08:34:09.15062122 +0000 UTC now: 2025-07-11 09:34:09.151188784 +0000 UTC, completion time: 2025-07-11 07:34:09.15062122 +0000 UTC logger.go:146: 2025-07-11T09:34:09.151Z DEBUG store deadline has passed for pipelinerun test-ns/test-pr logger.go:146: 2025-07-11T09:34:09.151Z ERROR pipelinerun not stored: test-ns/test-pr, uid: , === RUN TestFinalize/missing_annotations_-_requeue logger.go:146: 2025-07-11T09:34:09.152Z DEBUG pipelinerun test-ns/test-pr annotations are missing, now: 2025-07-11 09:34:09.152049554 +0000 UTC, storeDeadline: 2025-07-11 10:34:09.150622292 +0000 UTC === RUN TestFinalize/stored_annotation_missing_-_requeue logger.go:146: 2025-07-11T09:34:09.152Z DEBUG stored annotation is missing on pipelinerun test-ns/test-pr, now: 2025-07-11 09:34:09.152485893 +0000 UTC, storeDeadline: 2025-07-11 10:34:09.150622739 +0000 UTC === RUN TestFinalize/stored_annotation_not_true_-_requeue logger.go:146: 2025-07-11T09:34:09.153Z DEBUG stored annotation is not true on pipelinerun test-ns/test-pr, now: 2025-07-11 09:34:09.153471307 +0000 UTC, storeDeadline: 2025-07-11 10:34:09.15062313 +0000 UTC === RUN TestFinalize/reconcile_error_-_requeue logger.go:146: 2025-07-11T09:34:09.153Z DEBUG stored annotation is not true on pipelinerun test-ns/test-pr, now: 2025-07-11 09:34:09.15387843 +0000 UTC, storeDeadline: 2025-07-11 10:34:09.150623656 +0000 UTC === RUN TestFinalize/successful_finalization === RUN TestFinalize/verify_finalizer_requeue_interval logger.go:146: 2025-07-11T09:34:09.154Z 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.637s === RUN TestReconcile === RUN TestReconcile/incomplete_run_with_disable_storing_-_skip logger.go:146: 2025-07-11T09:34:09.165Z 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-07-11T09:34:09.165Z 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-07-11T09:34:09.166Z DEBUG taskrun test-ns/test-pr is still running === RUN TestFinalize/store_deadline_passed_-_proceed_with_deletion logger.go:146: 2025-07-11T09:34:09.166Z DEBUG store deadline: 2025-07-11 08:34:09.166129638 +0000 UTC now: 2025-07-11 09:34:09.166632847 +0000 UTC, completion time: 2025-07-11 07:34:09.166129638 +0000 UTC logger.go:146: 2025-07-11T09:34:09.166Z DEBUG store deadline has passed for taskrun test-ns/test-pr logger.go:146: 2025-07-11T09:34:09.166Z ERROR taskrun not stored: test-ns/test-pr, uid: , === RUN TestFinalize/missing_annotations_-_requeue logger.go:146: 2025-07-11T09:34:09.167Z DEBUG taskrun test-ns/test-pr annotations are missing, now: 2025-07-11 09:34:09.16721803 +0000 UTC, storeDeadline: 2025-07-11 10:34:09.166130464 +0000 UTC === RUN TestFinalize/stored_annotation_missing_-_requeue logger.go:146: 2025-07-11T09:34:09.167Z DEBUG stored annotation is missing on taskrun test-ns/test-pr, now: 2025-07-11 09:34:09.167571207 +0000 UTC, storeDeadline: 2025-07-11 10:34:09.166130869 +0000 UTC === RUN TestFinalize/stored_annotation_not_true_-_requeue logger.go:146: 2025-07-11T09:34:09.167Z DEBUG stored annotation is not true on taskrun test-ns/test-pr, now: 2025-07-11 09:34:09.167859 +0000 UTC, storeDeadline: 2025-07-11 10:34:09.166131211 +0000 UTC === RUN TestFinalize/reconcile_error_-_requeue logger.go:146: 2025-07-11T09:34:09.168Z DEBUG stored annotation is not true on taskrun test-ns/test-pr, now: 2025-07-11 09:34:09.168145667 +0000 UTC, storeDeadline: 2025-07-11 10:34:09.166131555 +0000 UTC === RUN TestFinalize/successful_finalization === RUN TestFinalize/verify_finalizer_requeue_interval logger.go:146: 2025-07-11T09:34:09.168Z DEBUG taskrun test-ns/test-pr annotations are missing, now: 2025-07-11 09:34:09.168660475 +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.654s === RUN TestClient_PutLog logs_test.go:15: test database: /tmp/testdb2270889832 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.031ms] [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.118ms] [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 [54.688ms] [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 [21.840ms] [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.097ms] [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.407ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226448.8394713,"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 [0.418ms] [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 [25.995ms] [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","baf3bdaa-3e19-4fa3-9587-5c17254d97ee","taskrun-id","{""object.metadata.name"":""taskrun""}","test/results/taskrun-id/records/taskrun-id","tekton.dev/v1.TaskRun",NULL,NULL,0,"null","baf3bdaa-3e19-4fa3-9587-5c17254d97ee-1752226448849254065","2025-07-11 09:34:08.849","2025-07-11 09:34:08.849") 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.611ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "ef6b5c4c-1596-3db9-a2a8-b8583fde2666" 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.984ms] [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 [30.504ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("test","baf3bdaa-3e19-4fa3-9587-5c17254d97ee","taskrun-id","1611543a-7461-49ed-9dce-d78d71d9ddca","ef6b5c4c-1596-3db9-a2a8-b8583fde2666","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""test"",""uid"":""ef6b5c4c-1596-3db9-a2a8-b8583fde2666"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""test"",""name"":""taskrun"",""uid"":""taskrun-id""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","1611543a-7461-49ed-9dce-d78d71d9ddca-1752226448885003922","2025-07-11 09:34:08.885","2025-07-11 09:34:08.885") 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.789ms] [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.641ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "ef6b5c4c-1596-3db9-a2a8-b8583fde2666" 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.595ms] [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.569ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "taskrun-id" AND `records`.`name` = "ef6b5c4c-1596-3db9-a2a8-b8583fde2666" 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.268ms] [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 [50.939ms] [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","18fc7dad-6d88-4533-b53e-ea10bc6fa8d2","pipelinerun-id","{""object.metadata.name"":""pipelinerun""}","test/results/pipelinerun-id/records/pipelinerun-id","tekton.dev/v1.PipelineRun",NULL,NULL,0,"null","18fc7dad-6d88-4533-b53e-ea10bc6fa8d2-1752226448931372601","2025-07-11 09:34:08.931","2025-07-11 09:34:08.931") 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.493ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "11305dab-5aee-3377-af8b-48792a5e03b1" 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.410ms] [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 [5.663ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("test","18fc7dad-6d88-4533-b53e-ea10bc6fa8d2","pipelinerun-id","61a2fdcf-330d-4eb7-b35d-99e6033b625d","11305dab-5aee-3377-af8b-48792a5e03b1","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""pipelinerun-log"",""namespace"":""test"",""uid"":""11305dab-5aee-3377-af8b-48792a5e03b1"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""PipelineRun"",""namespace"":""test"",""name"":""pipelinerun"",""uid"":""pipelinerun-id""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","61a2fdcf-330d-4eb7-b35d-99e6033b625d-1752226448987449363","2025-07-11 09:34:08.987","2025-07-11 09:34:08.987") 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.609ms] [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.485ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "11305dab-5aee-3377-af8b-48792a5e03b1" 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.417ms] [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.553ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "test" AND `records`.`result_name` = "pipelinerun-id" AND `records`.`name` = "11305dab-5aee-3377-af8b-48792a5e03b1" ORDER BY `records`.`id` LIMIT 1 --- PASS: TestClient_PutLog (0.29s) --- PASS: TestClient_PutLog/taskrun (0.08s) --- PASS: TestClient_PutLog/taskrun/create (0.07s) --- PASS: TestClient_PutLog/taskrun/update (0.01s) --- PASS: TestClient_PutLog/pipelinerun (0.07s) --- PASS: TestClient_PutLog/pipelinerun/create (0.07s) --- PASS: TestClient_PutLog/pipelinerun/update (0.00s) === 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/testdb3092187941 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.125ms] [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.164ms] [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.638ms] [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.102ms] [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 [7.976ms] [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.759ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226449.0572026,"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.355ms] [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.315ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.064Z 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.092ms] [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","d7d6f621-7338-4b33-b622-e837c8d10560","taskrun-id","{""object.metadata.name"":""foo""}","test/results/taskrun-id/records/taskrun-id","tekton.dev/v1.TaskRun",NULL,NULL,0,"null","d7d6f621-7338-4b33-b622-e837c8d10560-1752226449065065539","2025-07-11 09:34:09.065","2025-07-11 09:34:09.065") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.598ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.082Z 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.338ms] [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.290ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.088Z 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 [5.975ms] [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","7d008f02-70ff-40bc-a860-bac8aa0a6eb0","pipelinerun-id","{""object.metadata.name"":""foo""}","test/results/pipelinerun-id/records/pipelinerun-id","tekton.dev/v1.PipelineRun",NULL,NULL,0,"null","7d008f02-70ff-40bc-a860-bac8aa0a6eb0-1752226449089752413","2025-07-11 09:34:09.089","2025-07-11 09:34:09.089") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [0.652ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.102Z 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 (0.10s) --- PASS: TestEnsureResult/foo (0.02s) --- PASS: TestEnsureResult/foo#01 (0.02s) === RUN TestEnsureResult_RecordSummaryUpdate results_test.go:305: test database: /tmp/testdb3358613915 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.126ms] [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 [47.838ms] [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.106ms] [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.128ms] [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.520ms] [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 [9.748ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226449.21583,"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 [18.474ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "default" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.256Z 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 [19.447ms] [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","fe433500-aa0e-43d7-ad0f-c6211cf369c3","1","null","","",NULL,NULL,0,"null","fe433500-aa0e-43d7-ad0f-c6211cf369c3-1752226449257957827","2025-07-11 09:34:09.257","2025-07-11 09:34:09.257") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 [1.107ms] [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.741ms] [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 [1.616ms] [rows:1] UPDATE `results` SET `name`="1",`annotations`="{""object.metadata.name"":""foo""}",`created_time`="2025-07-11 09:34:09.257",`updated_time`="2025-07-11 09:34:09.286",`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`="fe433500-aa0e-43d7-ad0f-c6211cf369c3-1752226449286011158" WHERE `parent` = "default" AND `id` = "fe433500-aa0e-43d7-ad0f-c6211cf369c3" --- PASS: TestEnsureResult_RecordSummaryUpdate (0.20s) === RUN TestAnnotations results_test.go:353: test database: /tmp/testdb1349960405 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.050ms] [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.202ms] [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.319ms] [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.080ms] [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.092ms] [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 [28.251ms] [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.116ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226449.3729715,"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.277ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "default" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1 logger.go:146: 2025-07-11T09:34:09.377Z 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 [6.810ms] [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","ba5368eb-f5a9-4498-8050-29cf4bed49c2","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""}","ba5368eb-f5a9-4498-8050-29cf4bed49c2-1752226449378719843","2025-07-11 09:34:09.378","2025-07-11 09:34:09.378") RETURNING `created_time`,`updated_time` --- PASS: TestAnnotations (0.08s) === RUN TestUpsertRecord results_test.go:387: test database: /tmp/testdb2394891184 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.122ms] [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 [10.194ms] [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.800ms] [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.141ms] [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 [6.613ms] [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.145ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226449.4365366,"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.330ms] [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 [6.748ms] [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","22c0079d-ff8b-47e9-bffa-2f3e086fa7cc","taskrun-id","{""object.metadata.name"":""taskrun""}","test/results/taskrun-id/records/taskrun-id","tekton.dev/v1.TaskRun",NULL,NULL,0,"null","22c0079d-ff8b-47e9-bffa-2f3e086fa7cc-1752226449441719286","2025-07-11 09:34:09.441","2025-07-11 09:34:09.441") 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.359ms] [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.363ms] [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.736ms] [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 [5.981ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("test","22c0079d-ff8b-47e9-bffa-2f3e086fa7cc","taskrun-id","a618ba39-44c1-4f0c-8bf0-9ea2a2fe6f50","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""}]}}","a618ba39-44c1-4f0c-8bf0-9ea2a2fe6f50-1752226449469396285","2025-07-11 09:34:09.469","2025-07-11 09:34:09.469") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.606ms] [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 [0.642ms] [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.559ms] [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.699ms] [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.658ms] [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-07-11 09:34:09.469",`updated_time`="2025-07-11 09:34:09.546",`etag`="a618ba39-44c1-4f0c-8bf0-9ea2a2fe6f50-1752226449546632527" WHERE `parent` = "test" AND `result_id` = "22c0079d-ff8b-47e9-bffa-2f3e086fa7cc" AND `id` = "a618ba39-44c1-4f0c-8bf0-9ea2a2fe6f50" === 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.334ms] [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 [6.710ms] [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","dd9958dd-7baf-47db-8107-26f8872745d3","pipelinerun-id","{""object.metadata.name"":""pipelinerun""}","test/results/pipelinerun-id/records/pipelinerun-id","tekton.dev/v1.PipelineRun",NULL,NULL,0,"null","dd9958dd-7baf-47db-8107-26f8872745d3-1752226449564809852","2025-07-11 09:34:09.564","2025-07-11 09:34:09.564") 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.489ms] [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.400ms] [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.422ms] [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 [5.860ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("test","dd9958dd-7baf-47db-8107-26f8872745d3","pipelinerun-id","ea778c94-2224-4000-8122-3980de61adec","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""}]}}","ea778c94-2224-4000-8122-3980de61adec-1752226449579660309","2025-07-11 09:34:09.579","2025-07-11 09:34:09.579") RETURNING `created_time`,`updated_time` db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [0.570ms] [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.492ms] [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.733ms] [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.676ms] [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.653ms] [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-07-11 09:34:09.579",`updated_time`="2025-07-11 09:34:09.651",`etag`="ea778c94-2224-4000-8122-3980de61adec-1752226449651304426" WHERE `parent` = "test" AND `result_id` = "dd9958dd-7baf-47db-8107-26f8872745d3" AND `id` = "ea778c94-2224-4000-8122-3980de61adec" --- PASS: TestUpsertRecord (0.36s) --- PASS: TestUpsertRecord/taskrun (0.12s) --- PASS: TestUpsertRecord/taskrun/create (0.05s) --- PASS: TestUpsertRecord/taskrun/no-op (0.03s) --- PASS: TestUpsertRecord/taskrun/update (0.03s) --- PASS: TestUpsertRecord/pipelinerun (0.17s) --- PASS: TestUpsertRecord/pipelinerun/create (0.04s) --- PASS: TestUpsertRecord/pipelinerun/no-op (0.02s) --- PASS: TestUpsertRecord/pipelinerun/update (0.10s) === RUN TestPut results_test.go:557: test database: /tmp/testdb2628816758 db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59 [0.050ms] [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.162ms] [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.600ms] [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.328ms] [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.086ms] [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.918ms] [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.795ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`) {"level":"warn","ts":1752226449.7847164,"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.366ms] [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.355ms] [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","4144ee9e-2c05-4fac-b3b7-da02325023b5","taskrun-id","{""object.metadata.name"":""taskrun""}","test/results/taskrun-id/records/taskrun-id","tekton.dev/v1.TaskRun",NULL,NULL,0,"null","4144ee9e-2c05-4fac-b3b7-da02325023b5-1752226449790848958","2025-07-11 09:34:09.79","2025-07-11 09:34:09.79") 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.451ms] [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.415ms] [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.168ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("test","4144ee9e-2c05-4fac-b3b7-da02325023b5","taskrun-id","cf883e6e-acc3-4d3d-8749-c180ef747a38","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"":""""}}","cf883e6e-acc3-4d3d-8749-c180ef747a38-1752226449803640155","2025-07-11 09:34:09.803","2025-07-11 09:34:09.803") 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.449ms] [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.567ms] [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.460ms] [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.442ms] [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.288ms] [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 [5.470ms] [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","411be0f7-24d6-4e5b-b035-12daf6c268b7","pipelinerun-id","{""object.metadata.name"":""pipelinerun""}","test/results/pipelinerun-id/records/pipelinerun-id","tekton.dev/v1.PipelineRun",NULL,NULL,0,"null","411be0f7-24d6-4e5b-b035-12daf6c268b7-1752226449824210387","2025-07-11 09:34:09.824","2025-07-11 09:34:09.824") 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.411ms] [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.381ms] [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 [5.313ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("test","411be0f7-24d6-4e5b-b035-12daf6c268b7","pipelinerun-id","3bb79425-bf67-4dcd-93a9-cf3ba3fd96c8","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"":{}}","3bb79425-bf67-4dcd-93a9-cf3ba3fd96c8-1752226449833772337","2025-07-11 09:34:09.833","2025-07-11 09:34:09.833") 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.389ms] [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.496ms] [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.565ms] [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.695ms] [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.11s) --- PASS: TestPut/taskrun (0.03s) --- PASS: TestPut/taskrun/create (0.02s) --- PASS: TestPut/taskrun/update (0.01s) --- PASS: TestPut/pipelinerun (0.03s) --- PASS: TestPut/pipelinerun/create (0.02s) --- PASS: TestPut/pipelinerun/update (0.01s) PASS ok github.com/tektoncd/results/pkg/watcher/results 2.343s testing: warning: no tests to run PASS ok github.com/tektoncd/results/tools/postgres-migrate 1.091s [no tests to run] FAIL unit_tests returning =========================== ==== UNIT TESTS FAILED ==== =========================== + EXIT_VALUE=1 + set +o xtrace