ResultFAILURE
Tests 0 failed / 0 succeeded
Started2025-08-25 18:11
Elapsed10m19s
Revision33f40b8cc00ac7593e8df57b6d09dfea9c0d0f75
Refs 1101

No Test Failures!


Error lines from build-log.txt

... skipping 66 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/25 18:18:56 maxprocs: Leaving GOMAXPROCS=16: CPU quota undefined
=== RUN   Test_determineAuth
=== RUN   Test_determineAuth/missing_token
=== RUN   Test_determineAuth/invalid_token
=== RUN   Test_determineAuth/valid_token
--- PASS: Test_determineAuth (0.00s)
    --- PASS: Test_determineAuth/missing_token (0.00s)
... 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.05s)
    --- PASS: TestParseFilter/success (0.03s)
        --- PASS: TestParseFilter/success/#00 (0.00s)
        --- PASS: TestParseFilter/success/result (0.01s)
        --- PASS: TestParseFilter/success/result.id (0.00s)
        --- PASS: TestParseFilter/success/result.id_==_"1" (0.00s)
        --- PASS: TestParseFilter/success/result.id_==_"1"_||_result.name_==_"2" (0.00s)
        --- PASS: TestParseFilter/success/result.id.startsWith("tacocat") (0.00s)
    --- PASS: TestParseFilter/error (0.01s)
        --- PASS: TestParseFilter/error/asdf (0.00s)
        --- PASS: TestParseFilter/error/result.id_==_1 (0.00s)
        --- PASS: TestParseFilter/error/result.ID (0.01s)
PASS
ok  	github.com/tektoncd/results/pkg/api/server/cel	1.183s
=== RUN   TestConvertRecordExpressions
=== RUN   TestConvertRecordExpressions/simple_expression
    convert_test.go:170: want: (name = 'foo')
    convert_test.go:171: got:  (name = 'foo')
... skipping 345 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352
        [8.623ms] [rows:3] SELECT * FROM `records` WHERE type = "results.tekton.dev/v1alpha3.Log" AND id > "" AND parent = "foo" AND result_name = "bar" ORDER BY created_time LIMIT 51
=== RUN   TestListLogs/unknown_type
=== RUN   TestListLogs/unknown_any_field
=== RUN   TestListLogs/invalid_page_size
=== RUN   TestListLogs/malformed_parent
{"level":"error","ts":1756146054.7130888,"caller":"v1alpha2/logs.go:268","msg":"rpc error: code = InvalidArgument desc = name must match (^[a-z0-9_-]{1,63})/results/([a-z0-9_-]{1,63}$)","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2.(*Server).ListLogs\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:268\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestListLogs.func1\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs_test.go:569\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1792"}
=== RUN   TestListLogs/invalid_order_by_clause
=== RUN   TestListLogs/invalid_sort_direction
--- PASS: TestListLogs (2.09s)
    --- PASS: TestListLogs/all (0.08s)
    --- PASS: TestListLogs/list_all_records_without_knowing_the_result_name (0.09s)
    --- PASS: TestListLogs/list_all_records_without_knowing_the_parent_and_the_result_name (0.13s)
... 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.421ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 UNIQUE constraint failed: records.parent, records.result_name, records.name
        [0.704ms] [rows:0] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","25","bar","27","baz","TaskRun","{""metadata"":{""name"":""tacocat"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","27-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord (0.39s)
    --- PASS: TestCreateRecord/success (0.04s)
    --- PASS: TestCreateRecord/mismatched_parent (0.00s)
    --- PASS: TestCreateRecord/parent_does_not_exist (0.00s)
    --- PASS: TestCreateRecord/missing_name (0.00s)
... skipping 13 lines ...
        [0.186ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
        [36.705ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE)
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
        [86.686ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"warn","ts":1756146056.3147979,"caller":"plugin/plugin_logs.go:720","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 FOREIGN KEY constraint failed
        [1.484ms] [rows:0] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","deleted","deleted","28","baz","","","28-1756146050265494561","2025-08-25 18:20:50.265","2025-08-25 18:20:50.265") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord_ConcurrentDelete (0.32s)
=== RUN   TestGetRecord
    records_test.go:185: test database:  /tmp/testdb1812042241
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59
        [0.039ms] [rows:0] PRAGMA foreign_keys = ON;
... skipping 439 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [3.418ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1
=== RUN   TestCreateResult/mismatched_parent
=== RUN   TestCreateResult/missing_name
=== RUN   TestCreateResult/already_exists
=== NAME  TestCreateResult
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 UNIQUE constraint failed: results.parent, results.name
        [1.393ms] [rows:0] INSERT INTO `results` (`parent`,`id`,`name`,`annotations`,`recordsummary_record`,`recordsummary_type`,`recordsummary_start_time`,`recordsummary_end_time`,`recordsummary_status`,`recordsummary_annotations`,`etag`,`created_time`,`updated_time`) VALUES ("foo","40","bar","{""foo"":""bar""}","","",NULL,NULL,0,"null","40-1756146075265494561","2025-08-25 18:21:15.265","2025-08-25 18:21:15.265") RETURNING `created_time`,`updated_time`
=== RUN   TestCreateResult/large_name
=== RUN   TestCreateResult/large_result_summary_type
--- PASS: TestCreateResult (0.11s)
    --- PASS: TestCreateResult/success (0.03s)
    --- PASS: TestCreateResult/mismatched_parent (0.00s)
... skipping 851 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	9.633s
=== 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/25 18:20:49 failed to evaluate the expression: no such attribute(s): record
--- PASS: TestMatch (0.05s)
    --- PASS: TestMatch/no_filter (0.00s)
    --- PASS: TestMatch/matching_condition (0.02s)
    --- PASS: TestMatch/non-matching_condition (0.00s)
    --- PASS: TestMatch/nil_result (0.01s)
    --- PASS: TestMatch/non-bool_output (0.00s)
... skipping 46 lines ...
PASS
ok  	github.com/tektoncd/results/pkg/cli/client	1.083s
?   	github.com/tektoncd/results/pkg/cli/client/logs	[no test files]
=== RUN   TestListRecords
=== RUN   TestListRecords/successful_list
=== RUN   TestListRecords/error_response
2025/08/25 18:20:49 RoundTripper returned a response & error; ignoring response
--- PASS: TestListRecords (0.05s)
    --- PASS: TestListRecords/successful_list (0.05s)
    --- PASS: TestListRecords/error_response (0.00s)
PASS
ok  	github.com/tektoncd/results/pkg/cli/client/records	1.277s
=== RUN   TestPrintProto
... skipping 145 lines ...
    --- PASS: TestValidateLabels/malformed_pair (0.00s)
    --- PASS: TestValidateLabels/whitespace_in_key (0.00s)
=== RUN   TestLogsCommand
=== RUN   TestLogsCommand/successful_log_retrieval_by_name
=== RUN   TestLogsCommand/successful_log_retrieval_by_UID
=== RUN   TestLogsCommand/no_PipelineRun_found
Error: no PipelineRun found with name non-existent
=== RUN   TestLogsCommand/multiple_PipelineRuns_found
Error: multiple PipelineRuns found
=== RUN   TestLogsCommand/error_getting_logs
Error: rpc error: code = Internal desc = failed to get logs
=== RUN   TestLogsCommand/invalid_arguments
Error: requires exactly one argument when --uid is not provided
--- PASS: TestLogsCommand (0.01s)
    --- PASS: TestLogsCommand/successful_log_retrieval_by_name (0.00s)
    --- PASS: TestLogsCommand/successful_log_retrieval_by_UID (0.00s)
    --- PASS: TestLogsCommand/no_PipelineRun_found (0.00s)
    --- PASS: TestLogsCommand/multiple_PipelineRuns_found (0.00s)
    --- PASS: TestLogsCommand/error_getting_logs (0.00s)
... skipping 65 lines ...
    --- PASS: TestBuildFilterString/pipelinerun_and_label_filters (0.00s)
    --- PASS: TestBuildFilterString/pipelinerun_and_name_filters (0.00s)
=== RUN   TestLogsCommand
=== RUN   TestLogsCommand/successful_log_retrieval_by_name
=== RUN   TestLogsCommand/successful_log_retrieval_by_UID
=== RUN   TestLogsCommand/no_TaskRun_found
Error: no TaskRun found with name non-existent
=== RUN   TestLogsCommand/multiple_TaskRuns_found
Error: multiple TaskRuns found
=== RUN   TestLogsCommand/error_getting_logs
Error: rpc error: code = Internal desc = failed to get logs
=== RUN   TestLogsCommand/invalid_arguments
Error: requires exactly one argument when --uid is not provided
--- PASS: TestLogsCommand (0.00s)
    --- PASS: TestLogsCommand/successful_log_retrieval_by_name (0.00s)
    --- PASS: TestLogsCommand/successful_log_retrieval_by_UID (0.00s)
    --- PASS: TestLogsCommand/no_TaskRun_found (0.00s)
    --- PASS: TestLogsCommand/multiple_TaskRuns_found (0.00s)
    --- PASS: TestLogsCommand/error_getting_logs (0.00s)
... skipping 24 lines ...
--- PASS: TestSet (0.04s)
=== RUN   TestReset
--- PASS: TestReset (0.12s)
=== RUN   TestLoadClientConfig
--- PASS: TestLoadClientConfig (0.03s)
=== RUN   TestSetWithPrompt
? Host :  [?25l[?25l78[?25h[?25h    config_test.go:373: Received expected error when prompting for user input in test environment
--- PASS: TestSetWithPrompt (0.04s)
=== RUN   TestPersist
--- PASS: TestPersist (0.14s)
=== RUN   TestSetVersion
--- PASS: TestSetVersion (0.02s)
=== RUN   TestHost
... skipping 5 lines ...
    --- PASS: TestHost/basic_host_detection (0.07s)
    --- PASS: TestHost/invalid_config (0.02s)
=== RUN   TestToken
=== RUN   TestToken/config_with_bearer_token
=== RUN   TestToken/config_without_bearer_token
=== RUN   TestToken/config_with_nil_RESTConfig
    config_test.go:642: should return error when RESTConfig is nil: Token() returned expected error: REST configuration is not initialized
--- PASS: TestToken (0.02s)
    --- PASS: TestToken/config_with_bearer_token (0.02s)
    --- PASS: TestToken/config_without_bearer_token (0.00s)
    --- PASS: TestToken/config_with_nil_RESTConfig (0.00s)
=== RUN   TestExtensionDeepCopy
--- PASS: TestExtensionDeepCopy (0.00s)
... skipping 478 lines ...
knative.dev/pkg/controller.(*Impl).processNextWorkItem(0xc000b21b00)
	/home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:540 +0x6c7
knative.dev/pkg/controller.(*Impl).RunContext.func3()
	/home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:489 +0x95
created by knative.dev/pkg/controller.(*Impl).RunContext in goroutine 120
	/home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:487 +0x532
FAIL	github.com/tektoncd/results/pkg/watcher/reconciler	3.011s
=== RUN   TestPatch
=== RUN   TestPatch/successful_patch_for_PipelineRun
=== RUN   TestPatch/successful_patch_for_TaskRun
=== RUN   TestPatch/preserve_existing_managed_annotations_only
=== RUN   TestPatch/skip_patching_when_already_patched
=== RUN   TestPatch/error_when_GVK_is_empty
{"level":"error","ts":1756146103.505965,"logger":"fallback","caller":"annotation/annotation.go:108","msg":"could not determine apiVersion and kind from object test-ns/test-pr","stacktrace":"github.com/tektoncd/results/pkg/watcher/reconciler/annotation.Patch\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/annotation/annotation.go:108\ngithub.com/tektoncd/results/pkg/watcher/reconciler/annotation.TestPatch.func9\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/annotation/annotation_test.go:358\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1792"}
=== RUN   TestPatch/error_from_client
=== RUN   TestPatch/skip_empty_annotation_values
=== RUN   TestPatch/conflict_handling_-_successful_retry_with_force
{"level":"warn","ts":1756146103.5103965,"logger":"fallback","caller":"annotation/annotation.go:158","msg":"failed to patch object test-pr with annotations map[results.tekton.dev/record:foo/results/bar/records/baz results.tekton.dev/result:foo/results/bar] due to Server-Side Apply patch conflict, using force patch."}
=== RUN   TestPatch/only_managed_annotations_included_in_patch
--- PASS: TestPatch (0.01s)
    --- PASS: TestPatch/successful_patch_for_PipelineRun (0.00s)
    --- PASS: TestPatch/successful_patch_for_TaskRun (0.00s)
    --- PASS: TestPatch/preserve_existing_managed_annotations_only (0.00s)
    --- PASS: TestPatch/skip_patching_when_already_patched (0.00s)
    --- PASS: TestPatch/error_when_GVK_is_empty (0.00s)
    --- PASS: TestPatch/error_from_client (0.00s)
    --- PASS: TestPatch/skip_empty_annotation_values (0.00s)
    --- PASS: TestPatch/conflict_handling_-_successful_retry_with_force (0.00s)
    --- PASS: TestPatch/only_managed_annotations_included_in_patch (0.00s)
=== RUN   TestPatchConflictHandling
=== RUN   TestPatchConflictHandling/successful_retry_after_conflict
{"level":"warn","ts":1756146103.512571,"logger":"fallback","caller":"annotation/annotation.go:158","msg":"failed to patch object test-pr-conflict with annotations map[results.tekton.dev/record:foo/results/bar/records/baz results.tekton.dev/result:foo/results/bar] due to Server-Side Apply patch conflict, using force patch."}
=== RUN   TestPatchConflictHandling/persistent_error_after_conflict_retry
{"level":"warn","ts":1756146103.5130174,"logger":"fallback","caller":"annotation/annotation.go:158","msg":"failed to patch object test-pr-error with annotations map[results.tekton.dev/record:foo/results/bar/records/baz results.tekton.dev/result:foo/results/bar] due to Server-Side Apply patch conflict, using force patch."}
--- PASS: TestPatchConflictHandling (0.00s)
    --- PASS: TestPatchConflictHandling/successful_retry_after_conflict (0.00s)
    --- PASS: TestPatchConflictHandling/persistent_error_after_conflict_retry (0.00s)
=== RUN   TestIsPatched
=== RUN   TestIsPatched/no_annotations_present
=== RUN   TestIsPatched/partial_annotations_present
... skipping 56 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.359ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
        [242.873ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","dc9d8b53-de99-4522-b110-9ae624b1cf5f","12345","8a00b6e5-a7c5-4a09-b7f7-33eb5a35fff2","615f568b-1717-3481-ab11-7788981ce7e1","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""615f568b-1717-3481-ab11-7788981ce7e1"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","8a00b6e5-a7c5-4a09-b7f7-33eb5a35fff2-1756146115900622821","2025-08-25 18:21:55.9","2025-08-25 18:21:55.9") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-08-25T18:21:56.145Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:261	Skipping CRD annotation patch: annotation update is disabled
    logger.go:146: 2025-08-25T18:21:56.145Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:438	Streaming log started
    logger.go:146: 2025-08-25T18:21:56.146Z	ERROR	TestReconcile_TaskRun	dynamic/dynamic.go:442	Error streaming log	{"error": "failed to create tkn reader: Parsing kubeconfig failed: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"}
    logger.go:146: 2025-08-25T18:21:56.146Z	INFO	TestReconcile_TaskRun	dynamic/dynamic.go:445	Streaming log completed
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [7.027ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:56.156Z	DEBUG	TestReconcile_TaskRun	results/results.go:210	No further actions to be done on the Result: no differences found	{"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found
        [0.360ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7" ORDER BY `records`.`id` LIMIT 1
... skipping 117 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [30.852ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.165Z	DEBUG	TestReconcile_TaskRun	results/results.go:326	Updating Record	{"results.tekton.dev/record": "ns/results/12345/records/12345"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.407ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
        [0.582ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""annotations"":{""demo"":""demo"",""results.tekton.dev/eventlist"":""ns/results/12345/records/f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7"",""results.tekton.dev/log"":""ns/results/12345/logs/615f568b-1717-3481-ab11-7788981ce7e1"",""results.tekton.dev/record"":""ns/results/12345/records/12345"",""results.tekton.dev/result"":""ns/results/12345""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-25T18:21:57Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-25T18:21:57Z"",""completionTime"":""2025-08-25T18:21:57Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:57.167",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146117167847069" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.510ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.195Z	DEBUG	TestReconcile_TaskRun	results/results.go:210	No further actions to be done on the Result: no differences found	{"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.445ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.197Z	DEBUG	TestReconcile_TaskRun	annotation/annotation.go:113	Skipping CRD annotation patch: annotations are already set ObjectName: taskrun
... skipping 40 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.371ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.260Z	DEBUG	TestReconcile_TaskRun	results/results.go:326	Updating Record	{"results.tekton.dev/record": "ns/results/12345/records/12345"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.500ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
        [0.439ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""demo"":""demo"",""results.tekton.dev/eventlist"":""ns/results/12345/records/f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7"",""results.tekton.dev/log"":""ns/results/12345/logs/615f568b-1717-3481-ab11-7788981ce7e1"",""results.tekton.dev/record"":""ns/results/12345/records/12345"",""results.tekton.dev/result"":""ns/results/12345""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-25T18:21:57Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-25T18:21:57Z"",""completionTime"":""2025-08-25T18:21:57Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:57.262",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146117262966783" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.634ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.272Z	DEBUG	TestReconcile_TaskRun	results/results.go:210	No further actions to be done on the Result: no differences found	{"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.483ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.275Z	DEBUG	TestReconcile_TaskRun	annotation/annotation.go:113	Skipping CRD annotation patch: annotations are already set ObjectName: taskrun
... skipping 61 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.629ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.368Z	DEBUG	TestReconcile_TaskRun	results/results.go:326	Updating Record	{"results.tekton.dev/record": "ns/results/12345/records/12345"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.672ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
        [1.012ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""x"":""foo""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-25T18:21:57Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-25T18:21:57Z"",""completionTime"":""2025-08-25T18:21:57Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:57.371",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146117371924747" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.551ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.381Z	DEBUG	TestReconcile_TaskRun	results/results.go:210	No further actions to be done on the Result: no differences found	{"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.406ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
... skipping 14 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.781ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.417Z	DEBUG	TestReconcile_TaskRun	results/results.go:326	Updating Record	{"results.tekton.dev/record": "ns/results/12345/records/12345"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.458ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
        [8.769ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""results.tekton.dev/eventlist"":""ns/results/12345/records/f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7"",""results.tekton.dev/log"":""ns/results/12345/logs/615f568b-1717-3481-ab11-7788981ce7e1"",""results.tekton.dev/record"":""ns/results/12345/records/12345"",""results.tekton.dev/result"":""ns/results/12345"",""x"":""foo""},""ownerReferences"":[{""apiVersion"":""v1"",""kind"":""test"",""name"":""test-owner"",""uid"":""""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-25T18:21:57Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-25T18:21:57Z"",""completionTime"":""2025-08-25T18:21:57Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:57.419",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146117419994369" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.590ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.437Z	DEBUG	TestReconcile_TaskRun	results/results.go:202	No further actions to be done on the Result: the object is not a top level record	{"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": false}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.363ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.439Z	DEBUG	TestReconcile_TaskRun	annotation/annotation.go:113	Skipping CRD annotation patch: annotations are already set ObjectName: taskrun
... skipping 17 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.685ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.483Z	DEBUG	TestReconcile_TaskRun	results/results.go:326	Updating Record	{"results.tekton.dev/record": "ns/results/12345/records/12345"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.460ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
        [0.333ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""results.tekton.dev/childReadyForDeletion"":""true"",""results.tekton.dev/eventlist"":""ns/results/12345/records/f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7"",""results.tekton.dev/log"":""ns/results/12345/logs/615f568b-1717-3481-ab11-7788981ce7e1"",""results.tekton.dev/record"":""ns/results/12345/records/12345"",""results.tekton.dev/result"":""ns/results/12345"",""x"":""foo""},""ownerReferences"":[{""apiVersion"":""tekton.dev/v1"",""kind"":""PipelineRun"",""name"":""test-pipelinerun"",""uid"":""e39b68d5-9c60-4bcb-9194-0f1e116038f4""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-25T18:21:57Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-25T18:21:57Z"",""completionTime"":""2025-08-25T18:21:57Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:57.485",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146117485214861" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.549ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.493Z	DEBUG	TestReconcile_TaskRun	results/results.go:202	No further actions to be done on the Result: the object is not a top level record	{"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": false}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.507ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.496Z	DEBUG	TestReconcile_TaskRun	annotation/annotation.go:113	Skipping CRD annotation patch: annotations are already set ObjectName: taskrun
... skipping 17 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.743ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.528Z	DEBUG	TestReconcile_TaskRun	results/results.go:326	Updating Record	{"results.tekton.dev/record": "ns/results/12345/records/12345"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.523ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
        [0.400ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""results.tekton.dev/childReadyForDeletion"":""true"",""results.tekton.dev/eventlist"":""ns/results/12345/records/f0c2ff8d-3f88-3bfc-9f76-99aac5bb2af7"",""results.tekton.dev/log"":""ns/results/12345/logs/615f568b-1717-3481-ab11-7788981ce7e1"",""results.tekton.dev/record"":""ns/results/12345/records/12345"",""results.tekton.dev/result"":""ns/results/12345"",""x"":""foo""},""ownerReferences"":[{""apiVersion"":""v1"",""kind"":""test"",""name"":""test-owner"",""uid"":""252e9f97-b176-43f0-83d8-635d7c7f0526""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-08-25T18:21:57Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-08-25T18:21:57Z"",""completionTime"":""2025-08-25T18:21:57Z""}}",`created_time`="2025-08-25 18:21:55.621",`updated_time`="2025-08-25 18:21:57.531",`etag`="aeb71bdb-7e92-4b82-957e-8c0e6a2f31db-1756146117531344303" WHERE `parent` = "ns" AND `result_id` = "dc9d8b53-de99-4522-b110-9ae624b1cf5f" AND `id` = "aeb71bdb-7e92-4b82-957e-8c0e6a2f31db"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.469ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.553Z	DEBUG	TestReconcile_TaskRun	results/results.go:202	No further actions to be done on the Result: the object is not a top level record	{"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": false}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135
        [0.785ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "615f568b-1717-3481-ab11-7788981ce7e1" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.557Z	DEBUG	TestReconcile_TaskRun	annotation/annotation.go:113	Skipping CRD annotation patch: annotations are already set ObjectName: taskrun
... skipping 61 lines ...
        [0.364ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "15ef4b5f-416d-3c32-bb1e-3a0dd98fd2b4" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.375ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
        [5.480ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","4f89a6d2-f231-46e1-8c81-b136e0a66e9b","12345","0de5c8ad-d971-4d10-8fa2-9117cbd8d51a","15ef4b5f-416d-3c32-bb1e-3a0dd98fd2b4","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""pipelinerun-log"",""namespace"":""ns"",""uid"":""15ef4b5f-416d-3c32-bb1e-3a0dd98fd2b4"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""PipelineRun"",""namespace"":""ns"",""name"":""pipelinerun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","0de5c8ad-d971-4d10-8fa2-9117cbd8d51a-1756146117714308170","2025-08-25 18:21:57.714","2025-08-25 18:21:57.714") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-08-25T18:21:57.723Z	DEBUG	TestReconcile_PipelineRun	dynamic/dynamic.go:438	Streaming log started
    logger.go:146: 2025-08-25T18:21:57.724Z	ERROR	TestReconcile_PipelineRun	dynamic/dynamic.go:442	Error streaming log	{"error": "failed to create tkn reader: Parsing kubeconfig failed: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"}
    logger.go:146: 2025-08-25T18:21:57.724Z	INFO	TestReconcile_PipelineRun	dynamic/dynamic.go:445	Streaming log completed
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.837ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-08-25T18:21:57.728Z	DEBUG	TestReconcile_PipelineRun	results/results.go:210	No further actions to be done on the Result: no differences found	{"results.tekton.dev/result": "ns/results/12345", "results.tekton.dev/record": "ns/results/12345/records/12345", "results.tekton.dev/top-level-record": true}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found
        [0.350ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "be51c9ba-6bbb-335c-8d9c-629afad810fa" ORDER BY `records`.`id` LIMIT 1
... skipping 57 lines ...
=== RUN   TestFinalize
=== RUN   TestFinalize/pipelinerun_still_running_-_skip_finalization
    logger.go:146: 2025-08-25T18:21:53.728Z	DEBUG	pipelinerun test-ns/test-pr is still running
=== RUN   TestFinalize/store_deadline_passed_-_proceed_with_deletion
    logger.go:146: 2025-08-25T18:21:53.728Z	DEBUG	store deadline: 2025-08-25 17:21:53.727972417 +0000 UTC now: 2025-08-25 18:21:53.728634227 +0000 UTC, completion time: 2025-08-25 16:21:53.727972417 +0000 UTC
    logger.go:146: 2025-08-25T18:21:53.728Z	DEBUG	store deadline has passed for pipelinerun test-ns/test-pr
    logger.go:146: 2025-08-25T18:21:53.729Z	ERROR	pipelinerun not stored: test-ns/test-pr, uid: ,
=== RUN   TestFinalize/missing_annotations_-_requeue
    logger.go:146: 2025-08-25T18:21:53.729Z	DEBUG	pipelinerun test-ns/test-pr annotations are missing, now: 2025-08-25 18:21:53.729486157 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.727973107 +0000 UTC
=== RUN   TestFinalize/stored_annotation_missing_-_requeue
    logger.go:146: 2025-08-25T18:21:53.730Z	DEBUG	stored annotation is missing on pipelinerun test-ns/test-pr, now: 2025-08-25 18:21:53.729947617 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.727973427 +0000 UTC
=== RUN   TestFinalize/stored_annotation_not_true_-_requeue
    logger.go:146: 2025-08-25T18:21:53.730Z	DEBUG	stored annotation is not true on pipelinerun test-ns/test-pr, now: 2025-08-25 18:21:53.730399477 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.727973637 +0000 UTC
... skipping 24 lines ...
=== RUN   TestFinalize
=== RUN   TestFinalize/taskrun_still_running_-_skip_finalization
    logger.go:146: 2025-08-25T18:21:53.626Z	DEBUG	taskrun test-ns/test-pr is still running
=== RUN   TestFinalize/store_deadline_passed_-_proceed_with_deletion
    logger.go:146: 2025-08-25T18:21:53.626Z	DEBUG	store deadline: 2025-08-25 17:21:53.625836153 +0000 UTC now: 2025-08-25 18:21:53.626758273 +0000 UTC, completion time: 2025-08-25 16:21:53.625836153 +0000 UTC
    logger.go:146: 2025-08-25T18:21:53.626Z	DEBUG	store deadline has passed for taskrun test-ns/test-pr
    logger.go:146: 2025-08-25T18:21:53.627Z	ERROR	taskrun not stored: test-ns/test-pr, uid: ,
=== RUN   TestFinalize/missing_annotations_-_requeue
    logger.go:146: 2025-08-25T18:21:53.627Z	DEBUG	taskrun test-ns/test-pr annotations are missing, now: 2025-08-25 18:21:53.627238283 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.625836703 +0000 UTC
=== RUN   TestFinalize/stored_annotation_missing_-_requeue
    logger.go:146: 2025-08-25T18:21:53.627Z	DEBUG	stored annotation is missing on taskrun test-ns/test-pr, now: 2025-08-25 18:21:53.627866773 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.625837013 +0000 UTC
=== RUN   TestFinalize/stored_annotation_not_true_-_requeue
    logger.go:146: 2025-08-25T18:21:53.628Z	DEBUG	stored annotation is not true on taskrun test-ns/test-pr, now: 2025-08-25 18:21:53.628143503 +0000 UTC, storeDeadline: 2025-08-25 19:21:53.625837233 +0000 UTC
... 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.204s [no tests to run]
?   	github.com/tektoncd/results/tools/simpleui	[no test files]
FAIL
unit_tests returning 
===========================
==== UNIT TESTS FAILED ====
===========================
+ EXIT_VALUE=1
+ set +o xtrace