Error lines from build-log.txt
... skipping 59 lines ...
============================
==== 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/06/18 14:07:29 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)
... skipping 14 lines ...
[]string{
+ "f",
"a.b",
"d.e",
- "f",
}
--- FAIL: TestFieldMask_Paths (0.00s)
=== RUN TestFieldMask_Filter
--- PASS: TestFieldMask_Filter (0.11s)
=== RUN TestFieldMask_FilterJSON
--- PASS: TestFieldMask_FilterJSON (0.00s)
=== RUN TestFromMetadata
--- PASS: TestFromMetadata (0.00s)
=== RUN TestMetadataAnnotator
--- PASS: TestMetadataAnnotator (0.00s)
FAIL
FAIL github.com/tektoncd/results/internal/fieldmask 0.609s
=== 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.14s)
--- 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.01s)
--- PASS: TestParseFilter/success/result.id.startsWith("tacocat") (0.00s)
--- PASS: TestParseFilter/error (0.03s)
--- PASS: TestParseFilter/error/asdf (0.00s)
--- PASS: TestParseFilter/error/result.id_==_1 (0.00s)
--- PASS: TestParseFilter/error/result.ID (0.02s)
PASS
ok github.com/tektoncd/results/pkg/api/server/cel 1.405s
=== RUN TestConvertRecordExpressions
=== RUN TestConvertRecordExpressions/simple_expression
convert_test.go:170: want: (name = 'foo')
convert_test.go:171: got: (name = 'foo')
... skipping 347 lines ...
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352
[0m[33m[32.418ms] [34;1m[rows:3][0m 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":1750255969.595203,"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 (4.76s)
--- PASS: TestListLogs/all (0.22s)
--- PASS: TestListLogs/list_all_records_without_knowing_the_result_name (0.42s)
--- PASS: TestListLogs/list_all_records_without_knowing_the_parent_and_the_result_name (0.59s)
... skipping 171 lines ...
=== RUN TestCreateRecord/missing_name
=== RUN TestCreateRecord/result_used_as_name
=== RUN TestCreateRecord/already_exists
=== NAME TestCreateRecord
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[0m[33m[0.828ms] [34;1m[rows:1][0m SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1
db.go:69: [31;1m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [35;1mUNIQUE constraint failed: records.parent, records.result_name, records.name
[0m[33m[1.721ms] [34;1m[rows:0][0m 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-1750255966258032868","2025-06-18 14:12:46.258","2025-06-18 14:12:46.258") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord (1.35s)
--- PASS: TestCreateRecord/success (0.42s)
--- PASS: TestCreateRecord/mismatched_parent (0.00s)
--- PASS: TestCreateRecord/parent_does_not_exist (0.00s)
--- PASS: TestCreateRecord/missing_name (0.00s)
... skipping 13 lines ...
[0m[33m[0.220ms] [34;1m[rows:-][0m SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records"
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0m[33m[18.457ms] [34;1m[rows:0][0m 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: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0m[33m[8.550ms] [34;1m[rows:0][0m CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"warn","ts":1750255977.0336533,"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: [31;1m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [35;1mFOREIGN KEY constraint failed
[0m[33m[6.274ms] [34;1m[rows:0][0m INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","deleted","deleted","28","baz","","","28-1750255966258032868","2025-06-18 14:12:46.258","2025-06-18 14:12:46.258") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord_ConcurrentDelete (0.70s)
=== RUN TestGetRecord
records_test.go:185: test database: /tmp/testdb2806555207
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59
[0m[33m[0.094ms] [34;1m[rows:0][0m PRAGMA foreign_keys = ON;
... skipping 439 lines ...
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0m[33m[1.980ms] [34;1m[rows:1][0m 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: [31;1m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [35;1mUNIQUE constraint failed: results.parent, results.name
[0m[33m[52.350ms] [34;1m[rows:0][0m 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-1750255991258032868","2025-06-18 14:13:11.258","2025-06-18 14:13:11.258") RETURNING `created_time`,`updated_time`
=== RUN TestCreateResult/large_name
=== RUN TestCreateResult/large_result_summary_type
--- PASS: TestCreateResult (0.58s)
--- PASS: TestCreateResult/success (0.03s)
--- PASS: TestCreateResult/mismatched_parent (0.00s)
... skipping 849 lines ...
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: <nil>
--- PASS: TestSplunkLogs (8.37s)
PASS
ok github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin 18.751s
=== RUN TestParseName
=== RUN TestParseName/simple
=== RUN TestParseName/resource_name_reuse
... skipping 80 lines ...
=== 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/06/18 14:12:55 failed to evaluate the expression: no such attribute(s): record
--- PASS: TestMatch (0.61s)
--- PASS: TestMatch/no_filter (0.00s)
--- PASS: TestMatch/matching_condition (0.41s)
--- PASS: TestMatch/non-matching_condition (0.01s)
--- PASS: TestMatch/nil_result (0.01s)
--- PASS: TestMatch/non-bool_output (0.00s)
... skipping 29 lines ...
--- PASS: TestSend/successful_request (0.30s)
PASS
ok github.com/tektoncd/results/pkg/cli/client 3.663s
=== RUN TestListRecords
=== RUN TestListRecords/successful_list
=== RUN TestListRecords/error_response
2025/06/18 14:12:54 RoundTripper returned a response & error; ignoring response
--- PASS: TestListRecords (0.29s)
--- PASS: TestListRecords/successful_list (0.20s)
--- PASS: TestListRecords/error_response (0.00s)
PASS
ok github.com/tektoncd/results/pkg/cli/client/records 4.997s
=== RUN TestPrintProto
... skipping 158 lines ...
--- PASS: TestValidateLabels/malformed_pair (0.00s)
--- PASS: TestValidateLabels/whitespace_in_key (0.00s)
=== RUN TestLogsCommand
=== RUN TestLogsCommand/successful_log_retrieval_by_name
=== RUN TestLogsCommand/successful_log_retrieval_by_UID
=== RUN TestLogsCommand/no_PipelineRun_found
Error: no PipelineRun found with name non-existent
=== RUN TestLogsCommand/multiple_PipelineRuns_found
Error: multiple PipelineRuns found
=== RUN TestLogsCommand/error_getting_logs
Error: rpc error: code = Internal desc = failed to get logs
=== RUN TestLogsCommand/invalid_arguments
Error: requires exactly one argument when --uid is not provided
--- PASS: TestLogsCommand (0.01s)
--- PASS: TestLogsCommand/successful_log_retrieval_by_name (0.00s)
--- PASS: TestLogsCommand/successful_log_retrieval_by_UID (0.00s)
--- PASS: TestLogsCommand/no_PipelineRun_found (0.00s)
--- PASS: TestLogsCommand/multiple_PipelineRuns_found (0.00s)
--- PASS: TestLogsCommand/error_getting_logs (0.00s)
... skipping 65 lines ...
--- 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)
... skipping 16 lines ...
--- PASS: TestReset (0.12s)
=== RUN TestLoadClientConfig
--- PASS: TestLoadClientConfig (0.05s)
=== 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.05s)
=== RUN TestPersist
--- PASS: TestPersist (0.04s)
=== RUN TestSetVersion
--- PASS: TestSetVersion (0.04s)
=== RUN TestHost
... skipping 376 lines ...
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[0m[33m[0.910ms] [34;1m[rows:1][0m SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
[0m[33m[29.724ms] [34;1m[rows:1][0m INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","ebca008b-57bc-4d5f-b207-79d139f32760","12345","f18fcced-baab-4714-90c2-6ea89affbe8f","0d5da9c1-a47e-34f6-b1c9-8e3e78fac459","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""0d5da9c1-a47e-34f6-b1c9-8e3e78fac459"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","f18fcced-baab-4714-90c2-6ea89affbe8f-1750256132998091193","2025-06-18 14:15:32.998","2025-06-18 14:15:32.998") RETURNING `created_time`,`updated_time`
logger.go:146: 2025-06-18T14:15:33.047Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:289 Skipping CRD annotation patch: annotation update is disabled
logger.go:146: 2025-06-18T14:15:33.047Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:472 Streaming log started {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
logger.go:146: 2025-06-18T14:15:33.070Z ERROR TestReconcile_TaskRun dynamic/dynamic.go:480 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-06-18T14:15:33.070Z INFO TestReconcile_TaskRun dynamic/dynamic.go:488 Streaming log completed {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0m[33m[1.507ms] [34;1m[rows:1][0m SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-06-18T14:15:33.080Z 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: [31;1m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [35;1mrecord not found
[0m[33m[1.258ms] [34;1m[rows:0][0m SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "294ee208-3ecb-31de-a29d-0e5ca34ad77a" ORDER BY `records`.`id` LIMIT 1
... skipping 110 lines ...
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[391.790ms] [34;1m[rows:1][0m 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-06-18T14:15:34.997Z DEBUG TestReconcile_TaskRun results/results.go:326 Updating Record {"results.tekton.dev/record": "ns/results/12345/records/12345"}
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[12.621ms] [34;1m[rows:1][0m 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: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
[0m[33m[7.902ms] [34;1m[rows:1][0m 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-06-18T14:15:34Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-06-18T14:15:34Z"",""completionTime"":""2025-06-18T14:15:34Z""}}",`created_time`="2025-06-18 14:15:32.889",`updated_time`="2025-06-18 14:15:35.025",`etag`="1d6e425d-bae2-4b1c-bb9a-51bb58c06676-1750256135025808653" WHERE `parent` = "ns" AND `result_id` = "ebca008b-57bc-4d5f-b207-79d139f32760" AND `id` = "1d6e425d-bae2-4b1c-bb9a-51bb58c06676"
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0m[33m[0.708ms] [34;1m[rows:1][0m SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-06-18T14:15:35.171Z 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: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[1.897ms] [34;1m[rows:1][0m SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "0d5da9c1-a47e-34f6-b1c9-8e3e78fac459" ORDER BY `records`.`id` LIMIT 1
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 34 lines ...
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[1.102ms] [34;1m[rows:1][0m 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-06-18T14:15:35.452Z DEBUG TestReconcile_TaskRun results/results.go:326 Updating Record {"results.tekton.dev/record": "ns/results/12345/records/12345"}
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[2.447ms] [34;1m[rows:1][0m 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: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
[0m[33m[113.422ms] [34;1m[rows:1][0m 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-06-18T14:15:34Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-06-18T14:15:34Z"",""completionTime"":""2025-06-18T14:15:34Z""}}",`created_time`="2025-06-18 14:15:32.889",`updated_time`="2025-06-18 14:15:35.463",`etag`="1d6e425d-bae2-4b1c-bb9a-51bb58c06676-1750256135463988005" WHERE `parent` = "ns" AND `result_id` = "ebca008b-57bc-4d5f-b207-79d139f32760" AND `id` = "1d6e425d-bae2-4b1c-bb9a-51bb58c06676"
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0m[33m[27.949ms] [34;1m[rows:1][0m SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-06-18T14:15:35.866Z 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: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[1.295ms] [34;1m[rows:1][0m SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "0d5da9c1-a47e-34f6-b1c9-8e3e78fac459" ORDER BY `records`.`id` LIMIT 1
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 52 lines ...
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[1.225ms] [34;1m[rows:1][0m 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-06-18T14:15:36.380Z DEBUG TestReconcile_TaskRun results/results.go:326 Updating Record {"results.tekton.dev/record": "ns/results/12345/records/12345"}
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[1.184ms] [34;1m[rows:1][0m 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: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
[0m[33m[1.304ms] [34;1m[rows:1][0m 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-06-18T14:15:34Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-06-18T14:15:34Z"",""completionTime"":""2025-06-18T14:15:34Z""}}",`created_time`="2025-06-18 14:15:32.889",`updated_time`="2025-06-18 14:15:36.385",`etag`="1d6e425d-bae2-4b1c-bb9a-51bb58c06676-1750256136385747499" WHERE `parent` = "ns" AND `result_id` = "ebca008b-57bc-4d5f-b207-79d139f32760" AND `id` = "1d6e425d-bae2-4b1c-bb9a-51bb58c06676"
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0m[33m[3.903ms] [34;1m[rows:1][0m SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-06-18T14:15:36.551Z 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: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[1.453ms] [34;1m[rows:1][0m SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "0d5da9c1-a47e-34f6-b1c9-8e3e78fac459" ORDER BY `records`.`id` LIMIT 1
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 14 lines ...
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[1.589ms] [34;1m[rows:1][0m 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-06-18T14:15:36.685Z DEBUG TestReconcile_TaskRun results/results.go:326 Updating Record {"results.tekton.dev/record": "ns/results/12345/records/12345"}
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[1.029ms] [34;1m[rows:1][0m 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: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
[0m[33m[28.243ms] [34;1m[rows:1][0m 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-06-18T14:15:34Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-06-18T14:15:34Z"",""completionTime"":""2025-06-18T14:15:34Z""}}",`created_time`="2025-06-18 14:15:32.889",`updated_time`="2025-06-18 14:15:36.69",`etag`="1d6e425d-bae2-4b1c-bb9a-51bb58c06676-1750256136690091632" WHERE `parent` = "ns" AND `result_id` = "ebca008b-57bc-4d5f-b207-79d139f32760" AND `id` = "1d6e425d-bae2-4b1c-bb9a-51bb58c06676"
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0m[33m[113.017ms] [34;1m[rows:1][0m SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-06-18T14:15:36.958Z 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: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[1.268ms] [34;1m[rows:1][0m SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "0d5da9c1-a47e-34f6-b1c9-8e3e78fac459" ORDER BY `records`.`id` LIMIT 1
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 16 lines ...
db.go:69: [31;1m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [35;1mrecord not found
[0m[33m[0.611ms] [34;1m[rows:0][0m SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "79ac352c-c59b-4560-bfc3-b7404058bb53" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
logger.go:146: 2025-06-18T14:15:37.164Z DEBUG TestReconcile_TaskRun results/results.go:334 Record doesn't exist yet - creating {"results.tekton.dev/record": "ns/results/79ac352c-c59b-4560-bfc3-b7404058bb53/records/12345"}
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[0m[33m[4.701ms] [34;1m[rows:1][0m SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "79ac352c-c59b-4560-bfc3-b7404058bb53" ORDER BY `results`.`id` LIMIT 1
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
[0m[33m[100.938ms] [34;1m[rows:1][0m INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","92cf8cb5-bae0-4380-9710-f12a88ebfc0e","79ac352c-c59b-4560-bfc3-b7404058bb53","f6806e5d-01f3-4ae6-bb97-7f04771a6c1b","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"":""79ac352c-c59b-4560-bfc3-b7404058bb53""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-06-18T14:15:34Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-06-18T14:15:34Z"",""completionTime"":""2025-06-18T14:15:34Z""}}","f6806e5d-01f3-4ae6-bb97-7f04771a6c1b-1750256137170602751","2025-06-18 14:15:37.17","2025-06-18 14:15:37.17") RETURNING `created_time`,`updated_time`
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0m[33m[1.725ms] [34;1m[rows:1][0m SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "79ac352c-c59b-4560-bfc3-b7404058bb53" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-06-18T14:15:37.281Z 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/79ac352c-c59b-4560-bfc3-b7404058bb53", "results.tekton.dev/record": "ns/results/79ac352c-c59b-4560-bfc3-b7404058bb53/records/12345", "results.tekton.dev/top-level-record": false}
db.go:69: [31;1m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [35;1mrecord not found
[0m[33m[0.920ms] [34;1m[rows:0][0m SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "79ac352c-c59b-4560-bfc3-b7404058bb53" AND `records`.`name` = "7435ec15-cf9a-3a48-96bd-1a2dfcc00f00" ORDER BY `records`.`id` LIMIT 1
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 3 lines ...
[0m[33m[1.037ms] [34;1m[rows:0][0m SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "79ac352c-c59b-4560-bfc3-b7404058bb53" AND `records`.`name` = "7435ec15-cf9a-3a48-96bd-1a2dfcc00f00" ORDER BY `records`.`id` LIMIT 1
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[0m[33m[1.183ms] [34;1m[rows:1][0m SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "79ac352c-c59b-4560-bfc3-b7404058bb53" ORDER BY `results`.`id` LIMIT 1
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
[0m[33m[421.128ms] [34;1m[rows:1][0m INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","92cf8cb5-bae0-4380-9710-f12a88ebfc0e","79ac352c-c59b-4560-bfc3-b7404058bb53","9b9f457e-2fd3-4b17-b11d-5a63bc86e981","7435ec15-cf9a-3a48-96bd-1a2dfcc00f00","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""7435ec15-cf9a-3a48-96bd-1a2dfcc00f00"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","9b9f457e-2fd3-4b17-b11d-5a63bc86e981-1750256137300154448","2025-06-18 14:15:37.3","2025-06-18 14:15:37.3") RETURNING `created_time`,`updated_time`
logger.go:146: 2025-06-18T14:15:37.756Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:472 Streaming log started {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
logger.go:146: 2025-06-18T14:15:37.758Z ERROR TestReconcile_TaskRun dynamic/dynamic.go:480 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-06-18T14:15:37.759Z INFO TestReconcile_TaskRun dynamic/dynamic.go:488 Streaming log completed {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0m[33m[66.997ms] [34;1m[rows:1][0m SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "79ac352c-c59b-4560-bfc3-b7404058bb53" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-06-18T14:15:37.837Z 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/79ac352c-c59b-4560-bfc3-b7404058bb53", "results.tekton.dev/record": "ns/results/79ac352c-c59b-4560-bfc3-b7404058bb53/records/12345", "results.tekton.dev/top-level-record": false}
db.go:69: [31;1m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [35;1mrecord not found
[0m[33m[1.995ms] [34;1m[rows:0][0m SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "79ac352c-c59b-4560-bfc3-b7404058bb53" AND `records`.`name` = "c1ec60fc-dbfb-3ea3-8431-c5787f83bef7" ORDER BY `records`.`id` LIMIT 1
... skipping 18 lines ...
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[1.236ms] [34;1m[rows:1][0m 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-06-18T14:15:38.164Z DEBUG TestReconcile_TaskRun results/results.go:326 Updating Record {"results.tekton.dev/record": "ns/results/12345/records/12345"}
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[1.206ms] [34;1m[rows:1][0m 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: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
[0m[33m[52.894ms] [34;1m[rows:1][0m 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"":""08b83fd8-3454-4fc5-9384-f241cdbc1d16""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-06-18T14:15:34Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-06-18T14:15:34Z"",""completionTime"":""2025-06-18T14:15:34Z""}}",`created_time`="2025-06-18 14:15:32.889",`updated_time`="2025-06-18 14:15:38.169",`etag`="1d6e425d-bae2-4b1c-bb9a-51bb58c06676-1750256138169669052" WHERE `parent` = "ns" AND `result_id` = "ebca008b-57bc-4d5f-b207-79d139f32760" AND `id` = "1d6e425d-bae2-4b1c-bb9a-51bb58c06676"
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0m[33m[132.384ms] [34;1m[rows:1][0m SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-06-18T14:15:38.660Z 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: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
[0m[33m[1.487ms] [34;1m[rows:1][0m SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "0d5da9c1-a47e-34f6-b1c9-8e3e78fac459" ORDER BY `records`.`id` LIMIT 1
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 57 lines ...
[0m[33m[1.420ms] [34;1m[rows:0][0m SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "0eaee5e9-b240-3879-8957-5246906bf355" ORDER BY `records`.`id` LIMIT 1
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[0m[33m[1.143ms] [34;1m[rows:1][0m SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
[0m[33m[87.321ms] [34;1m[rows:1][0m INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","bc060218-ccf6-4839-8286-57279d127945","12345","3a962e59-1870-4d1a-afdc-25de559732de","0eaee5e9-b240-3879-8957-5246906bf355","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""pipelinerun-log"",""namespace"":""ns"",""uid"":""0eaee5e9-b240-3879-8957-5246906bf355"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""PipelineRun"",""namespace"":""ns"",""name"":""pipelinerun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","3a962e59-1870-4d1a-afdc-25de559732de-1750256139165116974","2025-06-18 14:15:39.165","2025-06-18 14:15:39.165") RETURNING `created_time`,`updated_time`
logger.go:146: 2025-06-18T14:15:39.266Z DEBUG TestReconcile_PipelineRun dynamic/dynamic.go:472 Streaming log started {"namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun"}
logger.go:146: 2025-06-18T14:15:39.268Z ERROR TestReconcile_PipelineRun dynamic/dynamic.go:480 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-06-18T14:15:39.269Z INFO TestReconcile_PipelineRun dynamic/dynamic.go:488 Streaming log completed {"namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun"}
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0m[33m[0.552ms] [34;1m[rows:1][0m SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-06-18T14:15:39.274Z 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: [31;1m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 [35;1mrecord not found
[0m[33m[0.839ms] [34;1m[rows:0][0m SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "00912490-97e0-3e4f-a7c8-877259756408" ORDER BY `records`.`id` LIMIT 1
... skipping 46 lines ...
=== RUN TestFinalize
=== RUN TestFinalize/pipelinerun_still_running_-_skip_finalization
logger.go:146: 2025-06-18T14:15:32.368Z DEBUG pipelinerun test-ns/test-pr is still running
=== RUN TestFinalize/store_deadline_passed_-_proceed_with_deletion
logger.go:146: 2025-06-18T14:15:32.369Z DEBUG store deadline: 2025-06-18 13:15:32.367395651 +0000 UTC now: 2025-06-18 14:15:32.369931381 +0000 UTC, completion time: 2025-06-18 12:15:32.367395651 +0000 UTC
logger.go:146: 2025-06-18T14:15:32.370Z DEBUG store deadline has passed for pipelinerun test-ns/test-pr
logger.go:146: 2025-06-18T14:15:32.370Z ERROR pipelinerun not stored: test-ns/test-pr, uid: ,
=== RUN TestFinalize/missing_annotations_-_requeue
logger.go:146: 2025-06-18T14:15:32.370Z DEBUG pipelinerun test-ns/test-pr annotations are missing, now: 2025-06-18 14:15:32.370760203 +0000 UTC, storeDeadline: 2025-06-18 15:15:32.367397017 +0000 UTC
=== RUN TestFinalize/stored_annotation_missing_-_requeue
logger.go:146: 2025-06-18T14:15:32.371Z DEBUG stored annotation is missing on pipelinerun test-ns/test-pr, now: 2025-06-18 14:15:32.371152963 +0000 UTC, storeDeadline: 2025-06-18 15:15:32.367397489 +0000 UTC
=== RUN TestFinalize/stored_annotation_not_true_-_requeue
logger.go:146: 2025-06-18T14:15:32.371Z DEBUG stored annotation is not true on pipelinerun test-ns/test-pr, now: 2025-06-18 14:15:32.371571764 +0000 UTC, storeDeadline: 2025-06-18 15:15:32.367397832 +0000 UTC
... skipping 16 lines ...
=== RUN TestFinalize
=== RUN TestFinalize/taskrun_still_running_-_skip_finalization
logger.go:146: 2025-06-18T14:15:32.321Z DEBUG taskrun test-ns/test-pr is still running
=== RUN TestFinalize/store_deadline_passed_-_proceed_with_deletion
logger.go:146: 2025-06-18T14:15:32.322Z DEBUG store deadline: 2025-06-18 13:15:32.320674581 +0000 UTC now: 2025-06-18 14:15:32.322176659 +0000 UTC, completion time: 2025-06-18 12:15:32.320674581 +0000 UTC
logger.go:146: 2025-06-18T14:15:32.322Z DEBUG store deadline has passed for taskrun test-ns/test-pr
logger.go:146: 2025-06-18T14:15:32.323Z ERROR taskrun not stored: test-ns/test-pr, uid: ,
=== RUN TestFinalize/missing_annotations_-_requeue
logger.go:146: 2025-06-18T14:15:32.352Z DEBUG taskrun test-ns/test-pr annotations are missing, now: 2025-06-18 14:15:32.352824114 +0000 UTC, storeDeadline: 2025-06-18 15:15:32.320675677 +0000 UTC
=== RUN TestFinalize/stored_annotation_missing_-_requeue
logger.go:146: 2025-06-18T14:15:32.367Z DEBUG stored annotation is missing on taskrun test-ns/test-pr, now: 2025-06-18 14:15:32.367318208 +0000 UTC, storeDeadline: 2025-06-18 15:15:32.320676323 +0000 UTC
=== RUN TestFinalize/stored_annotation_not_true_-_requeue
logger.go:146: 2025-06-18T14:15:32.370Z DEBUG stored annotation is not true on taskrun test-ns/test-pr, now: 2025-06-18 14:15:32.370570083 +0000 UTC, storeDeadline: 2025-06-18 15:15:32.320676596 +0000 UTC
... skipping 367 lines ...
--- PASS: TestPut/pipelinerun/update (0.03s)
PASS
ok github.com/tektoncd/results/pkg/watcher/results 10.132s
testing: warning: no tests to run
PASS
ok github.com/tektoncd/results/tools/postgres-migrate 1.512s [no tests to run]
FAIL
unit_tests returning
===========================
==== UNIT TESTS FAILED ====
===========================
+ EXIT_VALUE=1
+ set +o xtrace