ResultFAILURE
Tests 0 failed / 0 succeeded
Started2025-08-12 13:05
Elapsed4m45s
Revisione810c7b942ea2d8eb0db2d227afef48fcf3661c9
Refs 1026

No Test Failures!


Error lines from build-log.txt

... skipping 103 lines ...
git version 2.43.0
============================
==== RUNNING UNIT TESTS ====
============================
/home/prow/go/src/github.com/tektoncd/results /home/prow/go/src/github.com/tektoncd/results
Using overridden unit_tests
2025/08/12 13:08:41 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 25 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.03s)
    --- PASS: TestParseFilter/success (0.02s)
        --- PASS: TestParseFilter/success/#00 (0.00s)
        --- PASS: TestParseFilter/success/result (0.01s)
        --- PASS: TestParseFilter/success/result.id (0.00s)
        --- PASS: TestParseFilter/success/result.id_==_"1" (0.00s)
        --- PASS: TestParseFilter/success/result.id_==_"1"_||_result.name_==_"2" (0.00s)
        --- PASS: TestParseFilter/success/result.id.startsWith("tacocat") (0.00s)
    --- PASS: TestParseFilter/error (0.00s)
        --- PASS: TestParseFilter/error/asdf (0.00s)
        --- PASS: TestParseFilter/error/result.id_==_1 (0.00s)
        --- PASS: TestParseFilter/error/result.ID (0.00s)
PASS
ok  	github.com/tektoncd/results/pkg/api/server/cel	1.072s
=== RUN   TestConvertRecordExpressions
=== RUN   TestConvertRecordExpressions/simple_expression
    convert_test.go:170: want: (name = 'foo')
    convert_test.go:171: got:  (name = 'foo')
... skipping 345 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352
        [0.813ms] [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":1755004179.917035,"caller":"v1alpha2/logs.go:268","msg":"rpc error: code = InvalidArgument desc = name must match (^[a-z0-9_-]{1,63})/results/([a-z0-9_-]{1,63}$)","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2.(*Server).ListLogs\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:268\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestListLogs.func1\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs_test.go:569\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1792"}
=== RUN   TestListLogs/invalid_order_by_clause
=== RUN   TestListLogs/invalid_sort_direction
--- PASS: TestListLogs (0.61s)
    --- PASS: TestListLogs/all (0.07s)
    --- PASS: TestListLogs/list_all_records_without_knowing_the_result_name (0.04s)
    --- PASS: TestListLogs/list_all_records_without_knowing_the_parent_and_the_result_name (0.04s)
... 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.472ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 UNIQUE constraint failed: records.parent, records.result_name, records.name
        [0.927ms] [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-1755004181986913662","2025-08-12 13:09:41.986","2025-08-12 13:09:41.986") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord (0.52s)
    --- PASS: TestCreateRecord/success (0.04s)
    --- PASS: TestCreateRecord/mismatched_parent (0.00s)
    --- PASS: TestCreateRecord/parent_does_not_exist (0.00s)
    --- PASS: TestCreateRecord/missing_name (0.00s)
... skipping 13 lines ...
        [0.191ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
        [12.133ms] [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
        [12.032ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"warn","ts":1755004182.0133774,"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.776ms] [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-1755004181986913662","2025-08-12 13:09:41.986","2025-08-12 13:09:41.986") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord_ConcurrentDelete (0.30s)
=== RUN   TestGetRecord
    records_test.go:185: test database:  /tmp/testdb3887530826
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59
        [0.049ms] [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
        [1.300ms] [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.359ms] [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-1755004206986913662","2025-08-12 13:10:06.986","2025-08-12 13:10:06.986") RETURNING `created_time`,`updated_time`
=== RUN   TestCreateResult/large_name
=== RUN   TestCreateResult/large_result_summary_type
--- PASS: TestCreateResult (0.07s)
    --- PASS: TestCreateResult/success (0.02s)
    --- PASS: TestCreateResult/mismatched_parent (0.00s)
... skipping 650 lines ...
    --- PASS: TestFilterBuild/more_complex_filter (0.00s)
=== 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.00s)
    --- 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-08-12 13:09:40.561441713 +0000 UTC",
          	string("bar"),
          	string("foo"),
        + 	int(16),
          }
=== RUN   TestBuildQuery/return_an_error_if_the_provided_page_token_is_invalid
--- FAIL: TestBuildQuery (0.01s)
    --- FAIL: TestBuildQuery/complex_query (0.00s)
    --- PASS: TestBuildQuery/return_an_error_if_the_provided_page_token_is_invalid (0.00s)
=== RUN   TestOffsetValidateToken
=== RUN   TestOffsetValidateToken/valid
=== RUN   TestOffsetValidateToken/missing_LastItem_field
=== RUN   TestOffsetValidateToken/missing_LastItem.Uid_field
--- PASS: TestOffsetValidateToken (0.00s)
... 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	0.270s
?   	github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/proto	[no test files]
?   	github.com/tektoncd/results/pkg/api/server/v1alpha2/lister/proto/pagetoken_go_proto	[no test files]
=== RUN   TestFileStream_WriteTo
--- PASS: TestFileStream_WriteTo (0.00s)
=== RUN   TestFileStream_ReadFrom
--- PASS: TestFileStream_ReadFrom (0.00s)
... skipping 116 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.56s)
PASS
ok  	github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin	7.392s
=== 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/08/12 13:09:40 failed to evaluate the expression: no such attribute(s): record
--- PASS: TestMatch (0.04s)
    --- PASS: TestMatch/no_filter (0.00s)
    --- PASS: TestMatch/matching_condition (0.02s)
    --- PASS: TestMatch/non-matching_condition (0.00s)
    --- PASS: TestMatch/nil_result (0.00s)
    --- PASS: TestMatch/non-bool_output (0.00s)
... skipping 46 lines ...
PASS
ok  	github.com/tektoncd/results/pkg/cli/client	1.072s
?   	github.com/tektoncd/results/pkg/cli/client/logs	[no test files]
=== RUN   TestListRecords
=== RUN   TestListRecords/successful_list
=== RUN   TestListRecords/error_response
2025/08/12 13:09:40 RoundTripper returned a response & error; ignoring response
--- PASS: TestListRecords (0.01s)
    --- PASS: TestListRecords/successful_list (0.00s)
    --- PASS: TestListRecords/error_response (0.00s)
PASS
ok  	github.com/tektoncd/results/pkg/cli/client/records	1.109s
=== RUN   TestPrintProto
... skipping 147 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.00s)
    --- PASS: TestLogsCommand/successful_log_retrieval_by_name (0.00s)
    --- PASS: TestLogsCommand/successful_log_retrieval_by_UID (0.00s)
    --- PASS: TestLogsCommand/no_PipelineRun_found (0.00s)
    --- PASS: TestLogsCommand/multiple_PipelineRuns_found (0.00s)
    --- PASS: TestLogsCommand/error_getting_logs (0.00s)
... 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 18 lines ...
--- PASS: TestReset (0.02s)
=== RUN   TestLoadClientConfig
--- PASS: TestLoadClientConfig (0.01s)
=== 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.01s)
=== RUN   TestPersist
--- PASS: TestPersist (0.03s)
=== RUN   TestSetVersion
--- PASS: TestSetVersion (0.01s)
=== RUN   TestHost
... skipping 421 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.493ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
        [7.097ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","21d59389-f3ae-445e-bba6-098fe6625bf5","12345","92376876-acb0-4e46-b458-df28d1a6fef7","a5e6c513-81f1-3359-a926-e7ecc6be7a7f","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""a5e6c513-81f1-3359-a926-e7ecc6be7a7f"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","92376876-acb0-4e46-b458-df28d1a6fef7-1755004215703645081","2025-08-12 13:10:15.703","2025-08-12 13:10:15.703") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-08-12T13:10:15.712Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:254	Skipping CRD annotation patch: annotation update is disabled
    logger.go:146: 2025-08-12T13:10:15.713Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:437	Streaming log started
    logger.go:146: 2025-08-12T13:10:15.714Z	ERROR	TestReconcile_TaskRun	dynamic/dynamic.go:441	Error streaming log	{"error": "failed to create tkn reader: Parsing kubeconfig failed: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"}
    logger.go:146: 2025-08-12T13:10:15.714Z	INFO	TestReconcile_TaskRun	dynamic/dynamic.go:444	Streaming log completed
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [1.074ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:15.719Z	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.562ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "6f9ea552-575d-314c-9d76-d9ed7651768a" 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.861ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.048Z	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.673ms] [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.704ms] [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-08-12T13:10:15Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-12T13:10:15Z"",""completionTime"":""2025-08-12T13:10:17Z""}}",`created_time`="2025-08-12 13:10:15.672",`updated_time`="2025-08-12 13:10:16.051",`etag`="0e9ddf72-cfb3-4910-9f79-7fd8f71c7fd6-1755004216051588737" WHERE `parent` = "ns" AND `result_id` = "21d59389-f3ae-445e-bba6-098fe6625bf5" AND `id` = "0e9ddf72-cfb3-4910-9f79-7fd8f71c7fd6"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.999ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.070Z	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.651ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "a5e6c513-81f1-3359-a926-e7ecc6be7a7f" 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.819ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.160Z	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.583ms] [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.447ms] [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-08-12T13:10:15Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-12T13:10:15Z"",""completionTime"":""2025-08-12T13:10:17Z""}}",`created_time`="2025-08-12 13:10:15.672",`updated_time`="2025-08-12 13:10:16.163",`etag`="0e9ddf72-cfb3-4910-9f79-7fd8f71c7fd6-1755004216163569556" WHERE `parent` = "ns" AND `result_id` = "21d59389-f3ae-445e-bba6-098fe6625bf5" AND `id` = "0e9ddf72-cfb3-4910-9f79-7fd8f71c7fd6"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.863ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.181Z	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.736ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "a5e6c513-81f1-3359-a926-e7ecc6be7a7f" 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.861ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.318Z	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.720ms] [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.752ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""x"":""foo""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-12T13:10:15Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-12T13:10:15Z"",""completionTime"":""2025-08-12T13:10:17Z""}}",`created_time`="2025-08-12 13:10:15.672",`updated_time`="2025-08-12 13:10:16.321",`etag`="0e9ddf72-cfb3-4910-9f79-7fd8f71c7fd6-1755004216321250274" WHERE `parent` = "ns" AND `result_id` = "21d59389-f3ae-445e-bba6-098fe6625bf5" AND `id` = "0e9ddf72-cfb3-4910-9f79-7fd8f71c7fd6"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.897ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.336Z	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.787ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "a5e6c513-81f1-3359-a926-e7ecc6be7a7f" 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.740ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.377Z	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.760ms] [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.513ms] [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-08-12T13:10:15Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-12T13:10:15Z"",""completionTime"":""2025-08-12T13:10:17Z""}}",`created_time`="2025-08-12 13:10:15.672",`updated_time`="2025-08-12 13:10:16.381",`etag`="0e9ddf72-cfb3-4910-9f79-7fd8f71c7fd6-1755004216381223544" WHERE `parent` = "ns" AND `result_id` = "21d59389-f3ae-445e-bba6-098fe6625bf5" AND `id` = "0e9ddf72-cfb3-4910-9f79-7fd8f71c7fd6"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.386ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.392Z	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.686ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "a5e6c513-81f1-3359-a926-e7ecc6be7a7f" 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.727ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "11714f17-41bf-493a-b52e-d8427cd78889" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.428Z	DEBUG	TestReconcile_TaskRun	results/results.go:334	Record doesn't exist yet - creating	{"results.tekton.dev/record": "ns/results/11714f17-41bf-493a-b52e-d8427cd78889/records/12345"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.712ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "11714f17-41bf-493a-b52e-d8427cd78889" 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.278ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","ec69ba4f-9752-4621-a472-9f6d8b3eb99c","11714f17-41bf-493a-b52e-d8427cd78889","15d361c0-b717-4db8-9c25-93f4e29dda25","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"":""11714f17-41bf-493a-b52e-d8427cd78889""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-12T13:10:15Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-12T13:10:15Z"",""completionTime"":""2025-08-12T13:10:17Z""}}","15d361c0-b717-4db8-9c25-93f4e29dda25-1755004216431666463","2025-08-12 13:10:16.431","2025-08-12 13:10:16.431") RETURNING `created_time`,`updated_time`
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.662ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "11714f17-41bf-493a-b52e-d8427cd78889" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.446Z	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/11714f17-41bf-493a-b52e-d8427cd78889", "results.tekton.dev/record": "ns/results/11714f17-41bf-493a-b52e-d8427cd78889/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.606ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "11714f17-41bf-493a-b52e-d8427cd78889" AND `records`.`name` = "d741412c-0642-389c-8cb9-689c89f6410c" 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.417ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "11714f17-41bf-493a-b52e-d8427cd78889" AND `records`.`name` = "d741412c-0642-389c-8cb9-689c89f6410c" 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.455ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "11714f17-41bf-493a-b52e-d8427cd78889" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
        [10.071ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","ec69ba4f-9752-4621-a472-9f6d8b3eb99c","11714f17-41bf-493a-b52e-d8427cd78889","37ce696f-8ad8-48c9-b592-42526c1fdc4f","d741412c-0642-389c-8cb9-689c89f6410c","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""d741412c-0642-389c-8cb9-689c89f6410c"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","37ce696f-8ad8-48c9-b592-42526c1fdc4f-1755004216457112353","2025-08-12 13:10:16.457","2025-08-12 13:10:16.457") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-08-12T13:10:16.471Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:437	Streaming log started
    logger.go:146: 2025-08-12T13:10:16.472Z	ERROR	TestReconcile_TaskRun	dynamic/dynamic.go:441	Error streaming log	{"error": "failed to create tkn reader: Parsing kubeconfig failed: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"}
    logger.go:146: 2025-08-12T13:10:16.473Z	INFO	TestReconcile_TaskRun	dynamic/dynamic.go:444	Streaming log completed
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.764ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "11714f17-41bf-493a-b52e-d8427cd78889" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.476Z	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/11714f17-41bf-493a-b52e-d8427cd78889", "results.tekton.dev/record": "ns/results/11714f17-41bf-493a-b52e-d8427cd78889/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.772ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "11714f17-41bf-493a-b52e-d8427cd78889" AND `records`.`name` = "f93dfbae-5248-3d1b-b9fc-bf3d5c245516" 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.835ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.567Z	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.569ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
        [0.633ms] [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"":""dae8f25b-8337-4646-91cf-572d01c14d82""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-12T13:10:15Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-12T13:10:15Z"",""completionTime"":""2025-08-12T13:10:17Z""}}",`created_time`="2025-08-12 13:10:15.672",`updated_time`="2025-08-12 13:10:16.57",`etag`="0e9ddf72-cfb3-4910-9f79-7fd8f71c7fd6-1755004216570063971" WHERE `parent` = "ns" AND `result_id` = "21d59389-f3ae-445e-bba6-098fe6625bf5" AND `id` = "0e9ddf72-cfb3-4910-9f79-7fd8f71c7fd6"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.964ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.583Z	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.578ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "a5e6c513-81f1-3359-a926-e7ecc6be7a7f" 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.663ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "155915c5-414f-357f-81be-7d5b55762297" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.480ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
        [7.739ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","7e162c48-0574-44c7-8229-c1ccb0b39c43","12345","84962d00-9ffc-4a96-9b9e-317641cfe967","155915c5-414f-357f-81be-7d5b55762297","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""pipelinerun-log"",""namespace"":""ns"",""uid"":""155915c5-414f-357f-81be-7d5b55762297"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""PipelineRun"",""namespace"":""ns"",""name"":""pipelinerun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","84962d00-9ffc-4a96-9b9e-317641cfe967-1755004216752834989","2025-08-12 13:10:16.752","2025-08-12 13:10:16.752") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-08-12T13:10:16.765Z	DEBUG	TestReconcile_PipelineRun	dynamic/dynamic.go:437	Streaming log started
    logger.go:146: 2025-08-12T13:10:16.766Z	ERROR	TestReconcile_PipelineRun	dynamic/dynamic.go:441	Error streaming log	{"error": "failed to create tkn reader: Parsing kubeconfig failed: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"}
    logger.go:146: 2025-08-12T13:10:16.766Z	INFO	TestReconcile_PipelineRun	dynamic/dynamic.go:444	Streaming log completed
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.845ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-12T13:10:16.771Z	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.676ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "591dd942-17c0-3224-bb6e-ef957809aba3" ORDER BY `records`.`id` LIMIT 1
... skipping 57 lines ...
=== RUN   TestFinalize
=== RUN   TestFinalize/pipelinerun_still_running_-_skip_finalization
    logger.go:146: 2025-08-12T13:10:15.508Z	DEBUG	pipelinerun test-ns/test-pr is still running
=== RUN   TestFinalize/store_deadline_passed_-_proceed_with_deletion
    logger.go:146: 2025-08-12T13:10:15.509Z	DEBUG	store deadline: 2025-08-12 12:10:15.508592434 +0000 UTC now: 2025-08-12 13:10:15.509225204 +0000 UTC, completion time: 2025-08-12 11:10:15.508592434 +0000 UTC
    logger.go:146: 2025-08-12T13:10:15.509Z	DEBUG	store deadline has passed for pipelinerun test-ns/test-pr
    logger.go:146: 2025-08-12T13:10:15.509Z	ERROR	pipelinerun not stored: test-ns/test-pr, uid: ,
=== RUN   TestFinalize/missing_annotations_-_requeue
    logger.go:146: 2025-08-12T13:10:15.509Z	DEBUG	pipelinerun test-ns/test-pr annotations are missing, now: 2025-08-12 13:10:15.509607974 +0000 UTC, storeDeadline: 2025-08-12 14:10:15.508593014 +0000 UTC
=== RUN   TestFinalize/stored_annotation_missing_-_requeue
    logger.go:146: 2025-08-12T13:10:15.509Z	DEBUG	stored annotation is missing on pipelinerun test-ns/test-pr, now: 2025-08-12 13:10:15.509813334 +0000 UTC, storeDeadline: 2025-08-12 14:10:15.508595744 +0000 UTC
=== RUN   TestFinalize/stored_annotation_not_true_-_requeue
    logger.go:146: 2025-08-12T13:10:15.510Z	DEBUG	stored annotation is not true on pipelinerun test-ns/test-pr, now: 2025-08-12 13:10:15.510022224 +0000 UTC, storeDeadline: 2025-08-12 14:10:15.508595904 +0000 UTC
... skipping 24 lines ...
=== RUN   TestFinalize
=== RUN   TestFinalize/taskrun_still_running_-_skip_finalization
    logger.go:146: 2025-08-12T13:10:15.465Z	DEBUG	taskrun test-ns/test-pr is still running
=== RUN   TestFinalize/store_deadline_passed_-_proceed_with_deletion
    logger.go:146: 2025-08-12T13:10:15.466Z	DEBUG	store deadline: 2025-08-12 12:10:15.465546704 +0000 UTC now: 2025-08-12 13:10:15.466192734 +0000 UTC, completion time: 2025-08-12 11:10:15.465546704 +0000 UTC
    logger.go:146: 2025-08-12T13:10:15.466Z	DEBUG	store deadline has passed for taskrun test-ns/test-pr
    logger.go:146: 2025-08-12T13:10:15.466Z	ERROR	taskrun not stored: test-ns/test-pr, uid: ,
=== RUN   TestFinalize/missing_annotations_-_requeue
    logger.go:146: 2025-08-12T13:10:15.467Z	DEBUG	taskrun test-ns/test-pr annotations are missing, now: 2025-08-12 13:10:15.467005914 +0000 UTC, storeDeadline: 2025-08-12 14:10:15.465551334 +0000 UTC
=== RUN   TestFinalize/stored_annotation_missing_-_requeue
    logger.go:146: 2025-08-12T13:10:15.467Z	DEBUG	stored annotation is missing on taskrun test-ns/test-pr, now: 2025-08-12 13:10:15.467481724 +0000 UTC, storeDeadline: 2025-08-12 14:10:15.465552004 +0000 UTC
=== RUN   TestFinalize/stored_annotation_not_true_-_requeue
    logger.go:146: 2025-08-12T13:10:15.467Z	DEBUG	stored annotation is not true on taskrun test-ns/test-pr, now: 2025-08-12 13:10:15.467897294 +0000 UTC, storeDeadline: 2025-08-12 14:10:15.465552234 +0000 UTC
... skipping 375 lines ...
?   	github.com/tektoncd/results/proto/v1alpha3/results_go_proto	[no test files]
?   	github.com/tektoncd/results/test/e2e/client	[no test files]
testing: warning: no tests to run
PASS
ok  	github.com/tektoncd/results/tools/postgres-migrate	1.090s [no tests to run]
?   	github.com/tektoncd/results/tools/simpleui	[no test files]
FAIL
unit_tests returning 
===========================
==== UNIT TESTS FAILED ====
===========================
+ EXIT_VALUE=1
+ set +o xtrace