ResultFAILURE
Tests 0 failed / 0 succeeded
Started2025-06-16 11:47
Elapsed15m26s
Revision45ccce81219667dc474a90bbfc9cd37a1ff0668e
Refs 1026

No Test Failures!


Error lines from build-log.txt

... skipping 104 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/16 11:58:51 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.01s)
    --- PASS: Test_determineAuth/missing_token (0.00s)
... skipping 26 lines ...
=== 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.31s)
    --- PASS: TestParseFilter/success (0.26s)
        --- PASS: TestParseFilter/success/#00 (0.00s)
        --- PASS: TestParseFilter/success/result (0.09s)
        --- PASS: TestParseFilter/success/result.id (0.05s)
        --- PASS: TestParseFilter/success/result.id_==_"1" (0.05s)
        --- PASS: TestParseFilter/success/result.id_==_"1"_||_result.name_==_"2" (0.02s)
        --- PASS: TestParseFilter/success/result.id.startsWith("tacocat") (0.03s)
    --- PASS: TestParseFilter/error (0.03s)
        --- PASS: TestParseFilter/error/asdf (0.01s)
        --- PASS: TestParseFilter/error/result.id_==_1 (0.01s)
        --- PASS: TestParseFilter/error/result.ID (0.01s)
PASS
ok  	github.com/tektoncd/results/pkg/api/server/cel	1.662s
=== 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: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352
        [2.231ms] [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":1750075301.3726099,"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 (1.91s)
    --- PASS: TestListLogs/all (0.15s)
    --- PASS: TestListLogs/list_all_records_without_knowing_the_result_name (0.18s)
    --- PASS: TestListLogs/list_all_records_without_knowing_the_parent_and_the_result_name (0.16s)
... skipping 171 lines ...
=== 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.775ms] [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.654ms] [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-1750075295075224928","2025-06-16 12:01:35.075","2025-06-16 12:01:35.075") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord (0.41s)
    --- PASS: TestCreateRecord/success (0.09s)
    --- PASS: TestCreateRecord/mismatched_parent (0.00s)
    --- PASS: TestCreateRecord/parent_does_not_exist (0.00s)
    --- PASS: TestCreateRecord/missing_name (0.00s)
... skipping 13 lines ...
        [4.176ms] [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
        [26.377ms] [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.546ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"warn","ts":1750075307.9013205,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 FOREIGN KEY constraint failed
        [1.370ms] [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-1750075295075224928","2025-06-16 12:01:35.075","2025-06-16 12:01:35.075") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord_ConcurrentDelete (0.17s)
=== RUN   TestGetRecord
    records_test.go:185: test database:  /tmp/testdb1367397010
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59
        [0.048ms] [rows:0] PRAGMA foreign_keys = ON;
... skipping 439 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.965ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1
=== RUN   TestCreateResult/mismatched_parent
=== RUN   TestCreateResult/missing_name
=== RUN   TestCreateResult/already_exists
=== NAME  TestCreateResult
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 UNIQUE constraint failed: results.parent, results.name
        [1.323ms] [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-1750075320075224928","2025-06-16 12:02:00.075","2025-06-16 12:02:00.075") RETURNING `created_time`,`updated_time`
=== RUN   TestCreateResult/large_name
=== RUN   TestCreateResult/large_result_summary_type
--- PASS: TestCreateResult (0.10s)
    --- PASS: TestCreateResult/success (0.03s)
    --- PASS: TestCreateResult/mismatched_parent (0.00s)
... skipping 650 lines ...
    --- PASS: TestFilterBuild/more_complex_filter (0.01s)
=== RUN   TestLimitBuild
=== RUN   TestLimitBuild/limit_clause
    limit_test.go:43: Want "LIMIT 11", but got "LIMIT ?"
=== RUN   TestLimitBuild/invalid_page_size_-_negative_value
=== RUN   TestLimitBuild/invalid_page_size_-_too_large_value
--- FAIL: TestLimitBuild (0.01s)
    --- FAIL: 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
    lister_test.go:94: Want "WHERE (created_time, id) < (?, ?) AND parent = ? AND (recordsummary_status = 1) ORDER BY created_time DESC,id DESC LIMIT 16", but got "WHERE (created_time, id) < (?, ?) AND parent = ? AND (recordsummary_status = 1) ORDER BY created_time DESC,id DESC LIMIT ?"
    lister_test.go:99: Mismatch in the statement's vars:
          []any{
          	s"2025-06-16 12:01:47.373524237 +0000 UTC",
          	string("bar"),
          	string("foo"),
        + 	int(16),
          }
=== RUN   TestBuildQuery/return_an_error_if_the_provided_page_token_is_invalid
--- FAIL: TestBuildQuery (0.03s)
    --- FAIL: TestBuildQuery/complex_query (0.01s)
    --- 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)
... skipping 51 lines ...
--- 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)
FAIL
FAIL	github.com/tektoncd/results/pkg/api/server/v1alpha2/lister	1.341s
=== RUN   TestFileStream_WriteTo
--- PASS: TestFileStream_WriteTo (0.00s)
=== RUN   TestFileStream_ReadFrom
--- PASS: TestFileStream_ReadFrom (0.01s)
=== RUN   TestFileStream_Delete
--- PASS: TestFileStream_Delete (0.00s)
... skipping 114 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 (5.64s)
PASS
ok  	github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin	8.998s
=== 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/16 12:01:47 failed to evaluate the expression: no such attribute(s): record
--- PASS: TestMatch (0.16s)
    --- PASS: TestMatch/no_filter (0.00s)
    --- PASS: TestMatch/matching_condition (0.08s)
    --- PASS: TestMatch/non-matching_condition (0.00s)
    --- PASS: TestMatch/nil_result (0.00s)
    --- PASS: TestMatch/non-bool_output (0.00s)
... skipping 29 lines ...
    --- PASS: TestSend/successful_request (0.01s)
PASS
ok  	github.com/tektoncd/results/pkg/cli/client	1.246s
=== RUN   TestListRecords
=== RUN   TestListRecords/successful_list
=== RUN   TestListRecords/error_response
2025/06/16 12:01:52 RoundTripper returned a response & error; ignoring response
--- PASS: TestListRecords (0.01s)
    --- PASS: TestListRecords/successful_list (0.01s)
    --- PASS: TestListRecords/error_response (0.00s)
PASS
ok  	github.com/tektoncd/results/pkg/cli/client/records	1.581s
=== 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.02s)
    --- 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.25s)
=== RUN   TestLoadClientConfig
--- PASS: TestLoadClientConfig (0.10s)
=== RUN   TestNewConfigError
--- PASS: TestNewConfigError (0.00s)
=== RUN   TestSetWithPrompt
    config_test.go:270: Received expected error when prompting for user input in test environment
--- PASS: TestSetWithPrompt (0.07s)
=== RUN   TestPersist
--- PASS: TestPersist (0.08s)
=== RUN   TestSetVersion
--- PASS: TestSetVersion (0.06s)
=== RUN   TestHost
... skipping 378 lines ...
    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` = "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
        [9.679ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","de900a7e-8c7d-4499-b39e-5492ca6c59c8","12345","027d2ad6-0113-4190-9669-b0ccdf81b83c","91746577-1b6e-35b6-89fb-d259b42e8100","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""91746577-1b6e-35b6-89fb-d259b42e8100"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","027d2ad6-0113-4190-9669-b0ccdf81b83c-1750075385303305151","2025-06-16 12:03:05.303","2025-06-16 12:03:05.303") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-06-16T12:03:05.315Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:289	Skipping CRD annotation patch: annotation update is disabled
    logger.go:146: 2025-06-16T12:03:05.315Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:472	Streaming log started	{"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
    logger.go:146: 2025-06-16T12:03:05.316Z	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-16T12:03:05.316Z	INFO	TestReconcile_TaskRun	dynamic/dynamic.go:488	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.809ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-06-16T12:03:05.320Z	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.472ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "60e49870-e006-3594-8f3d-6e4ef90b61ef" ORDER BY `records`.`id` LIMIT 1
... skipping 110 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.906ms] [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-06-16T12:03:05.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.618ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
        [1.276ms] [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-06-16T12:03:05Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-06-16T12:03:05Z"",""completionTime"":""2025-06-16T12:03:07Z""}}",`created_time`="2025-06-16 12:03:05.28",`updated_time`="2025-06-16 12:03:05.616",`etag`="0029ac91-1586-4928-bb8b-a38bfee3fc1b-1750075385616132824" WHERE `parent` = "ns" AND `result_id` = "de900a7e-8c7d-4499-b39e-5492ca6c59c8" AND `id` = "0029ac91-1586-4928-bb8b-a38bfee3fc1b"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.729ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-06-16T12:03:05.660Z	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.833ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "91746577-1b6e-35b6-89fb-d259b42e8100" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 34 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.803ms] [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-06-16T12:03:05.767Z	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.536ms] [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.504ms] [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-06-16T12:03:05Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-06-16T12:03:05Z"",""completionTime"":""2025-06-16T12:03:07Z""}}",`created_time`="2025-06-16 12:03:05.28",`updated_time`="2025-06-16 12:03:05.77",`etag`="0029ac91-1586-4928-bb8b-a38bfee3fc1b-1750075385770010868" WHERE `parent` = "ns" AND `result_id` = "de900a7e-8c7d-4499-b39e-5492ca6c59c8" AND `id` = "0029ac91-1586-4928-bb8b-a38bfee3fc1b"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.787ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-06-16T12:03:05.785Z	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.731ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "91746577-1b6e-35b6-89fb-d259b42e8100" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 52 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.683ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-06-16T12:03:05.922Z	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.623ms] [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.691ms] [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-06-16T12:03:05Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-06-16T12:03:05Z"",""completionTime"":""2025-06-16T12:03:07Z""}}",`created_time`="2025-06-16 12:03:05.28",`updated_time`="2025-06-16 12:03:05.925",`etag`="0029ac91-1586-4928-bb8b-a38bfee3fc1b-1750075385925056614" WHERE `parent` = "ns" AND `result_id` = "de900a7e-8c7d-4499-b39e-5492ca6c59c8" AND `id` = "0029ac91-1586-4928-bb8b-a38bfee3fc1b"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.794ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-06-16T12:03:06.117Z	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.677ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "91746577-1b6e-35b6-89fb-d259b42e8100" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 14 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.662ms] [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-06-16T12:03:06.159Z	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.677ms] [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.782ms] [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-06-16T12:03:05Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-06-16T12:03:05Z"",""completionTime"":""2025-06-16T12:03:07Z""}}",`created_time`="2025-06-16 12:03:05.28",`updated_time`="2025-06-16 12:03:06.162",`etag`="0029ac91-1586-4928-bb8b-a38bfee3fc1b-1750075386162509337" WHERE `parent` = "ns" AND `result_id` = "de900a7e-8c7d-4499-b39e-5492ca6c59c8" AND `id` = "0029ac91-1586-4928-bb8b-a38bfee3fc1b"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.749ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-06-16T12:03:06.191Z	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.634ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "91746577-1b6e-35b6-89fb-d259b42e8100" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 16 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found
        [0.513ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "7c3ee4be-d86e-4d54-a45a-b596138de279" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-06-16T12:03:06.308Z	DEBUG	TestReconcile_TaskRun	results/results.go:334	Record doesn't exist yet - creating	{"results.tekton.dev/record": "ns/results/7c3ee4be-d86e-4d54-a45a-b596138de279/records/12345"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.561ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "7c3ee4be-d86e-4d54-a45a-b596138de279" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
        [90.439ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","d2f4dbe0-ba7e-493a-abbf-21e5ddca0b47","7c3ee4be-d86e-4d54-a45a-b596138de279","ac0f14a9-24d2-4fbd-ab8e-6afa4587d712","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"":""7c3ee4be-d86e-4d54-a45a-b596138de279""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-06-16T12:03:05Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-06-16T12:03:05Z"",""completionTime"":""2025-06-16T12:03:07Z""}}","ac0f14a9-24d2-4fbd-ab8e-6afa4587d712-1750075386310649769","2025-06-16 12:03:06.31","2025-06-16 12:03:06.31") RETURNING `created_time`,`updated_time`
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.861ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "7c3ee4be-d86e-4d54-a45a-b596138de279" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-06-16T12:03:06.405Z	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/7c3ee4be-d86e-4d54-a45a-b596138de279", "results.tekton.dev/record": "ns/results/7c3ee4be-d86e-4d54-a45a-b596138de279/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.528ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "7c3ee4be-d86e-4d54-a45a-b596138de279" AND `records`.`name` = "47ddc9ca-e5cc-3b2c-8eac-7faa9be4f2e2" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 3 lines ...
        [0.493ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "7c3ee4be-d86e-4d54-a45a-b596138de279" AND `records`.`name` = "47ddc9ca-e5cc-3b2c-8eac-7faa9be4f2e2" 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.536ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "7c3ee4be-d86e-4d54-a45a-b596138de279" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
        [119.117ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","d2f4dbe0-ba7e-493a-abbf-21e5ddca0b47","7c3ee4be-d86e-4d54-a45a-b596138de279","740113bb-fa59-46df-9218-5cfe2ac9c094","47ddc9ca-e5cc-3b2c-8eac-7faa9be4f2e2","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""47ddc9ca-e5cc-3b2c-8eac-7faa9be4f2e2"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","740113bb-fa59-46df-9218-5cfe2ac9c094-1750075386414053099","2025-06-16 12:03:06.414","2025-06-16 12:03:06.414") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-06-16T12:03:06.537Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:472	Streaming log started	{"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
    logger.go:146: 2025-06-16T12:03:06.538Z	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-16T12:03:06.538Z	INFO	TestReconcile_TaskRun	dynamic/dynamic.go:488	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
        [1.055ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "7c3ee4be-d86e-4d54-a45a-b596138de279" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-06-16T12:03:06.543Z	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/7c3ee4be-d86e-4d54-a45a-b596138de279", "results.tekton.dev/record": "ns/results/7c3ee4be-d86e-4d54-a45a-b596138de279/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.473ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "7c3ee4be-d86e-4d54-a45a-b596138de279" AND `records`.`name` = "9d0c3090-1b34-35c5-8708-71958d0d2edc" ORDER BY `records`.`id` LIMIT 1
... skipping 18 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.730ms] [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-06-16T12:03:06.635Z	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
        [16.916ms] [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"":""6a44d18a-064b-4430-9d42-b6d652c840de""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-06-16T12:03:05Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-06-16T12:03:05Z"",""completionTime"":""2025-06-16T12:03:07Z""}}",`created_time`="2025-06-16 12:03:05.28",`updated_time`="2025-06-16 12:03:06.642",`etag`="0029ac91-1586-4928-bb8b-a38bfee3fc1b-1750075386642559854" WHERE `parent` = "ns" AND `result_id` = "de900a7e-8c7d-4499-b39e-5492ca6c59c8" AND `id` = "0029ac91-1586-4928-bb8b-a38bfee3fc1b"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.757ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-06-16T12:03:06.671Z	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.649ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "91746577-1b6e-35b6-89fb-d259b42e8100" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 57 lines ...
        [0.466ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "0ece1567-51ea-3151-8ccd-64d406bfd26b" 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.499ms] [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
        [34.403ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","9b6c8b57-94bf-46c5-bb1e-034dab00d039","12345","7e6260ed-a311-466d-93f1-0dcf191bbd6b","0ece1567-51ea-3151-8ccd-64d406bfd26b","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""pipelinerun-log"",""namespace"":""ns"",""uid"":""0ece1567-51ea-3151-8ccd-64d406bfd26b"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""PipelineRun"",""namespace"":""ns"",""name"":""pipelinerun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","7e6260ed-a311-466d-93f1-0dcf191bbd6b-1750075387103628117","2025-06-16 12:03:07.103","2025-06-16 12:03:07.103") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-06-16T12:03:07.144Z	DEBUG	TestReconcile_PipelineRun	dynamic/dynamic.go:472	Streaming log started	{"namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun"}
    logger.go:146: 2025-06-16T12:03:07.145Z	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-16T12:03:07.145Z	INFO	TestReconcile_PipelineRun	dynamic/dynamic.go:488	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.559ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-06-16T12:03:07.148Z	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.421ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "5a9fc9aa-576e-343a-ba6d-f7555db7c343" ORDER BY `records`.`id` LIMIT 1
... skipping 46 lines ...
=== RUN   TestFinalize
=== RUN   TestFinalize/pipelinerun_still_running_-_skip_finalization
    logger.go:146: 2025-06-16T12:03:05.042Z	DEBUG	pipelinerun test-ns/test-pr is still running
=== RUN   TestFinalize/store_deadline_passed_-_proceed_with_deletion
    logger.go:146: 2025-06-16T12:03:05.042Z	DEBUG	store deadline: 2025-06-16 11:03:05.042167482 +0000 UTC now: 2025-06-16 12:03:05.042755344 +0000 UTC, completion time: 2025-06-16 10:03:05.042167482 +0000 UTC
    logger.go:146: 2025-06-16T12:03:05.042Z	DEBUG	store deadline has passed for pipelinerun test-ns/test-pr
    logger.go:146: 2025-06-16T12:03:05.043Z	ERROR	pipelinerun not stored: test-ns/test-pr, uid: ,
=== RUN   TestFinalize/missing_annotations_-_requeue
    logger.go:146: 2025-06-16T12:03:05.043Z	DEBUG	pipelinerun test-ns/test-pr annotations are missing, now: 2025-06-16 12:03:05.043382786 +0000 UTC, storeDeadline: 2025-06-16 13:03:05.042168383 +0000 UTC
=== RUN   TestFinalize/stored_annotation_missing_-_requeue
    logger.go:146: 2025-06-16T12:03:05.043Z	DEBUG	stored annotation is missing on pipelinerun test-ns/test-pr, now: 2025-06-16 12:03:05.04373168 +0000 UTC, storeDeadline: 2025-06-16 13:03:05.042168826 +0000 UTC
=== RUN   TestFinalize/stored_annotation_not_true_-_requeue
    logger.go:146: 2025-06-16T12:03:05.044Z	DEBUG	stored annotation is not true on pipelinerun test-ns/test-pr, now: 2025-06-16 12:03:05.044058868 +0000 UTC, storeDeadline: 2025-06-16 13:03:05.042169142 +0000 UTC
... skipping 16 lines ...
=== RUN   TestFinalize
=== RUN   TestFinalize/taskrun_still_running_-_skip_finalization
    logger.go:146: 2025-06-16T12:03:05.096Z	DEBUG	taskrun test-ns/test-pr is still running
=== RUN   TestFinalize/store_deadline_passed_-_proceed_with_deletion
    logger.go:146: 2025-06-16T12:03:05.097Z	DEBUG	store deadline: 2025-06-16 11:03:05.096305774 +0000 UTC now: 2025-06-16 12:03:05.09743978 +0000 UTC, completion time: 2025-06-16 10:03:05.096305774 +0000 UTC
    logger.go:146: 2025-06-16T12:03:05.097Z	DEBUG	store deadline has passed for taskrun test-ns/test-pr
    logger.go:146: 2025-06-16T12:03:05.097Z	ERROR	taskrun not stored: test-ns/test-pr, uid: ,
=== RUN   TestFinalize/missing_annotations_-_requeue
    logger.go:146: 2025-06-16T12:03:05.098Z	DEBUG	taskrun test-ns/test-pr annotations are missing, now: 2025-06-16 12:03:05.098200815 +0000 UTC, storeDeadline: 2025-06-16 13:03:05.096306664 +0000 UTC
=== RUN   TestFinalize/stored_annotation_missing_-_requeue
    logger.go:146: 2025-06-16T12:03:05.098Z	DEBUG	stored annotation is missing on taskrun test-ns/test-pr, now: 2025-06-16 12:03:05.098556315 +0000 UTC, storeDeadline: 2025-06-16 13:03:05.096307195 +0000 UTC
=== RUN   TestFinalize/stored_annotation_not_true_-_requeue
    logger.go:146: 2025-06-16T12:03:05.098Z	DEBUG	stored annotation is not true on taskrun test-ns/test-pr, now: 2025-06-16 12:03:05.098879743 +0000 UTC, storeDeadline: 2025-06-16 13:03:05.096307954 +0000 UTC
... skipping 367 lines ...
        --- PASS: TestPut/pipelinerun/update (0.01s)
PASS
ok  	github.com/tektoncd/results/pkg/watcher/results	2.622s
testing: warning: no tests to run
PASS
ok  	github.com/tektoncd/results/tools/postgres-migrate	1.123s [no tests to run]
FAIL
unit_tests returning 
===========================
==== UNIT TESTS FAILED ====
===========================
+ EXIT_VALUE=1
+ set +o xtrace