ResultFAILURE
Tests 0 failed / 0 succeeded
Started2025-07-30 05:26
Elapsed11m45s
Revision2a4d95ca483a98c02fe10ed49f2c19c8c1c218dc
Refs 1058

No Test Failures!


Error lines from build-log.txt

... skipping 102 lines ...
============================
==== RUNNING UNIT TESTS ====
============================
/home/prow/go/src/github.com/tektoncd/results /home/prow/go/src/github.com/tektoncd/results
Using overridden unit_tests
?   	github.com/tektoncd/results/cmd/cli-docs	[no test files]
2025/07/30 05:33:50 maxprocs: Leaving GOMAXPROCS=16: CPU quota undefined
=== RUN   Test_determineAuth
=== RUN   Test_determineAuth/missing_token
=== RUN   Test_determineAuth/invalid_token
=== RUN   Test_determineAuth/valid_token
--- PASS: Test_determineAuth (0.01s)
    --- PASS: Test_determineAuth/missing_token (0.00s)
... skipping 26 lines ...
=== RUN   TestParseFilter/success/#00
=== RUN   TestParseFilter/success/result
=== RUN   TestParseFilter/success/result.id
=== RUN   TestParseFilter/success/result.id_==_"1"
=== RUN   TestParseFilter/success/result.id_==_"1"_||_result.name_==_"2"
=== RUN   TestParseFilter/success/result.id.startsWith("tacocat")
=== RUN   TestParseFilter/error
=== RUN   TestParseFilter/error/asdf
=== RUN   TestParseFilter/error/result.id_==_1
=== RUN   TestParseFilter/error/result.ID
--- PASS: TestParseFilter (0.19s)
    --- PASS: TestParseFilter/success (0.13s)
        --- PASS: TestParseFilter/success/#00 (0.00s)
        --- PASS: TestParseFilter/success/result (0.05s)
        --- PASS: TestParseFilter/success/result.id (0.02s)
        --- PASS: TestParseFilter/success/result.id_==_"1" (0.02s)
        --- PASS: TestParseFilter/success/result.id_==_"1"_||_result.name_==_"2" (0.01s)
        --- PASS: TestParseFilter/success/result.id.startsWith("tacocat") (0.02s)
    --- PASS: TestParseFilter/error (0.04s)
        --- PASS: TestParseFilter/error/asdf (0.01s)
        --- PASS: TestParseFilter/error/result.id_==_1 (0.02s)
        --- PASS: TestParseFilter/error/result.ID (0.01s)
PASS
ok  	github.com/tektoncd/results/pkg/api/server/cel	1.533s
=== RUN   TestConvertRecordExpressions
=== RUN   TestConvertRecordExpressions/simple_expression
    convert_test.go:170: want: (name = 'foo')
    convert_test.go:171: got:  (name = 'foo')
... skipping 347 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352
        [0.973ms] [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":1753853848.3088522,"caller":"v1alpha2/logs.go:268","msg":"rpc error: code = InvalidArgument desc = name must match (^[a-z0-9_-]{1,63})/results/([a-z0-9_-]{1,63}$)","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2.(*Server).ListLogs\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:268\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestListLogs.func1\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs_test.go:569\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
=== RUN   TestListLogs/invalid_order_by_clause
=== RUN   TestListLogs/invalid_sort_direction
--- PASS: TestListLogs (1.42s)
    --- PASS: TestListLogs/all (0.13s)
    --- 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.09s)
... 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.554ms] [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.732ms] [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-1753853848085748047","2025-07-30 05:37:28.085","2025-07-30 05:37:28.085") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord (1.23s)
    --- PASS: TestCreateRecord/success (0.21s)
    --- PASS: TestCreateRecord/mismatched_parent (0.00s)
    --- PASS: TestCreateRecord/parent_does_not_exist (0.00s)
    --- PASS: TestCreateRecord/missing_name (0.00s)
... skipping 13 lines ...
        [0.137ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
        [5.001ms] [rows:0] CREATE TABLE `records` (`parent` text,`result_id` text,`result_name` text,`id` text,`name` text,`type` text,`data` jsonb,`created_time` datetime DEFAULT current_timestamp,`updated_time` datetime DEFAULT current_timestamp,`etag` text,PRIMARY KEY (`parent`,`result_id`,`id`),CONSTRAINT `fk_records_result` FOREIGN KEY (`parent`,`result_id`) REFERENCES `results`(`parent`,`id`) ON DELETE CASCADE ON UPDATE CASCADE)
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
        [6.485ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"warn","ts":1753853850.1586497,"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.486ms] [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-1753853848085748047","2025-07-30 05:37:28.085","2025-07-30 05:37:28.085") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord_ConcurrentDelete (0.05s)
=== RUN   TestGetRecord
    records_test.go:185: test database:  /tmp/testdb4014154426
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59
        [0.043ms] [rows:0] PRAGMA foreign_keys = ON;
... skipping 439 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [1.128ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "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.418ms] [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-1753853873085748047","2025-07-30 05:37:53.085","2025-07-30 05:37:53.085") RETURNING `created_time`,`updated_time`
=== RUN   TestCreateResult/large_name
=== RUN   TestCreateResult/large_result_summary_type
--- PASS: TestCreateResult (0.14s)
    --- PASS: TestCreateResult/success (0.02s)
    --- PASS: TestCreateResult/mismatched_parent (0.00s)
... skipping 849 lines ...
    plugin_logs_test.go:259: Received request: POST /services/search/v2/jobs?output_mode=json
    plugin_logs_test.go:260: Received headers: map[Accept-Encoding:[gzip] Authorization:[Bearer eyJraWQiOiJzcGx1bmsuc2VjcmV0IiwiYWxnIjoiSFM1MTIiLCJ2ZXIiOiJ2MiIsInR0eXAiOiJzdGF0aWMifQ.eyJpc3MiOiJzY19hZG1pbiBmcm9tIGZlZG9yYSIsInN1YiI6InNjX2FkbWluIiwiYXVkIjoia3ViZXJuZXRlcyIsImlkcCI6IlNwbHVuayIsImp0aSI6IjI0MGM1MDY3NGJkNDgxYjU5ZWE5MTY5ZDJjN2MyZjM5NDVmZDFhOTM3MWU0Yzg0MTQ0N2NkYTYzYmQ4NmZjMGQiLCJpYXQiOjE3NDYzODA1NDgsImV4cCI6MTc3MjM4OTc1NSwibmJyIjoxNzQ2MzgwNTQ4fQ.WnMJE6Dd0Fmn5AipZtl_bpfwIpfGR6feW63Xs1890XPh1o1CrBTNbslTeIH1b9ewluOfrY7rxToAQMoCO3ZJQA] Content-Length:[221] Content-Type:[application/x-www-form-urlencoded] User-Agent:[Go-http-client/1.1]]
    plugin_logs_test.go:259: Received request: GET /services/search/v2/jobs/1234567?output_mode=json
    plugin_logs_test.go:260: Received headers: map[Accept-Encoding:[gzip] Authorization:[Bearer eyJraWQiOiJzcGx1bmsuc2VjcmV0IiwiYWxnIjoiSFM1MTIiLCJ2ZXIiOiJ2MiIsInR0eXAiOiJzdGF0aWMifQ.eyJpc3MiOiJzY19hZG1pbiBmcm9tIGZlZG9yYSIsInN1YiI6InNjX2FkbWluIiwiYXVkIjoia3ViZXJuZXRlcyIsImlkcCI6IlNwbHVuayIsImp0aSI6IjI0MGM1MDY3NGJkNDgxYjU5ZWE5MTY5ZDJjN2MyZjM5NDVmZDFhOTM3MWU0Yzg0MTQ0N2NkYTYzYmQ4NmZjMGQiLCJpYXQiOjE3NDYzODA1NDgsImV4cCI6MTc3MjM4OTc1NSwibmJyIjoxNzQ2MzgwNTQ4fQ.WnMJE6Dd0Fmn5AipZtl_bpfwIpfGR6feW63Xs1890XPh1o1CrBTNbslTeIH1b9ewluOfrY7rxToAQMoCO3ZJQA] User-Agent:[Go-http-client/1.1]]
    plugin_logs_test.go:259: Received request: GET /services/search/v2/jobs/1234567/results?output_mode=json_rows&count=0
    plugin_logs_test.go:260: Received headers: map[Accept-Encoding:[gzip] Authorization:[Bearer eyJraWQiOiJzcGx1bmsuc2VjcmV0IiwiYWxnIjoiSFM1MTIiLCJ2ZXIiOiJ2MiIsInR0eXAiOiJzdGF0aWMifQ.eyJpc3MiOiJzY19hZG1pbiBmcm9tIGZlZG9yYSIsInN1YiI6InNjX2FkbWluIiwiYXVkIjoia3ViZXJuZXRlcyIsImlkcCI6IlNwbHVuayIsImp0aSI6IjI0MGM1MDY3NGJkNDgxYjU5ZWE5MTY5ZDJjN2MyZjM5NDVmZDFhOTM3MWU0Yzg0MTQ0N2NkYTYzYmQ4NmZjMGQiLCJpYXQiOjE3NDYzODA1NDgsImV4cCI6MTc3MjM4OTc1NSwibmJyIjoxNzQ2MzgwNTQ4fQ.WnMJE6Dd0Fmn5AipZtl_bpfwIpfGR6feW63Xs1890XPh1o1CrBTNbslTeIH1b9ewluOfrY7rxToAQMoCO3ZJQA] User-Agent:[Go-http-client/1.1]]
    plugin_logs_test.go:375: recv error: <nil>
--- PASS: TestSplunkLogs (5.22s)
PASS
ok  	github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin	7.200s
=== 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/07/30 05:37:26 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 29 lines ...
    --- PASS: TestSend/successful_request (0.04s)
PASS
ok  	github.com/tektoncd/results/pkg/cli/client	1.290s
=== RUN   TestListRecords
=== RUN   TestListRecords/successful_list
=== RUN   TestListRecords/error_response
2025/07/30 05:37:26 RoundTripper returned a response & error; ignoring response
--- PASS: TestListRecords (0.01s)
    --- PASS: TestListRecords/successful_list (0.01s)
    --- PASS: TestListRecords/error_response (0.00s)
PASS
ok  	github.com/tektoncd/results/pkg/cli/client/records	1.177s
=== RUN   TestPrintProto
... skipping 171 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 7 lines ...
PASS
ok  	github.com/tektoncd/results/pkg/cli/cmd/taskrun	1.297s
=== RUN   TestNewConfig
=== RUN   TestNewConfig/nil_params
=== RUN   TestNewConfig/invalid_kubeconfig_path
=== RUN   TestNewConfig/empty_kubeconfig_path
    config_test.go:118: should use default kubeconfig path when empty path provided: Expected no error but got: stat /root/.kube/config: no such file or directory
    config_test.go:121: should use default kubeconfig path when empty path provided: Expected cfg to be non-nil when no error occurs
=== RUN   TestNewConfig/invalid_context
=== RUN   TestNewConfig/empty_context
=== RUN   TestNewConfig/valid_config
--- FAIL: TestNewConfig (0.02s)
    --- PASS: TestNewConfig/nil_params (0.00s)
    --- PASS: TestNewConfig/invalid_kubeconfig_path (0.00s)
    --- FAIL: TestNewConfig/empty_kubeconfig_path (0.00s)
    --- PASS: TestNewConfig/invalid_context (0.00s)
    --- PASS: TestNewConfig/empty_context (0.01s)
    --- PASS: TestNewConfig/valid_config (0.01s)
=== RUN   TestSet
--- PASS: TestSet (0.02s)
=== RUN   TestReset
--- PASS: TestReset (0.03s)
=== RUN   TestLoadClientConfig
--- PASS: TestLoadClientConfig (0.01s)
=== RUN   TestSetWithPrompt
    config_test.go:386: 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
=== RUN   TestHost/kubernetes_namespace
    config_test.go:576: should attempt to detect ingresses in tekton-pipelines namespace: Host() returned expected error in test env: failed to detect ingresses: namespace tekton-pipelines not found or no permission to access: Get "http://test-host/api/v1/namespaces/tekton-pipelines": dial tcp: lookup test-host on 10.55.240.10:53: no such host.
        
        Try manual configuration:
          tkn-results config set --host=<url> --token=<token> --api-path=<path>
=== RUN   TestHost/openshift_namespace
    config_test.go:576: should attempt to detect routes in openshift-pipelines namespace: Host() returned expected error in test env: failed to detect ingresses: namespace openshift-pipelines not found or no permission to access: Get "http://test-host/api/v1/namespaces/openshift-pipelines": dial tcp: lookup test-host on 10.55.240.10:53: no such host.
        
        Try manual configuration:
          tkn-results config set --host=<url> --token=<token> --api-path=<path>
=== RUN   TestHost/custom_namespace
    config_test.go:576: should attempt to detect in custom namespace: Host() returned expected error in test env: failed to detect ingresses: namespace custom-tekton-namespace not found or no permission to access: Get "http://test-host/api/v1/namespaces/custom-tekton-namespace": dial tcp: lookup test-host on 10.55.240.10:53: no such host.
        
        Try manual configuration:
          tkn-results config set --host=<url> --token=<token> --api-path=<path>
=== RUN   TestHost/empty_namespace
    config_test.go:576: should handle empty namespace gracefully: Host() returned expected error in test env: failed to detect ingresses: namespace tekton-pipelines not found or no permission to access: Get "http://test-host/api/v1/namespaces/tekton-pipelines": dial tcp: lookup test-host on 10.55.240.10:53: no such host.
        
        Try manual configuration:
          tkn-results config set --host=<url> --token=<token> --api-path=<path>
=== RUN   TestHost/invalid_config
    config_test.go:610: Host() with invalid config returned expected error: failed to detect ingresses: namespace tekton-pipelines not found or no permission to access: Get "http://invalid-host-format/api/v1/namespaces/tekton-pipelines": dial tcp: lookup invalid-host-format on 10.55.240.10:53: no such host.
        
        Try manual configuration:
          tkn-results config set --host=<url> --token=<token> --api-path=<path>
--- PASS: TestHost (0.19s)
    --- PASS: TestHost/kubernetes_namespace (0.05s)
    --- PASS: TestHost/openshift_namespace (0.04s)
    --- PASS: TestHost/custom_namespace (0.04s)
    --- PASS: TestHost/empty_namespace (0.03s)
    --- PASS: TestHost/invalid_config (0.03s)
=== RUN   TestToken
=== RUN   TestToken/config_with_bearer_token
=== RUN   TestToken/config_without_bearer_token
=== RUN   TestToken/config_with_nil_RESTConfig
    config_test.go:704: should return error when RESTConfig is nil: Token() returned expected error: REST configuration is not initialized
--- PASS: TestToken (0.01s)
    --- PASS: TestToken/config_with_bearer_token (0.01s)
    --- PASS: TestToken/config_without_bearer_token (0.00s)
    --- PASS: TestToken/config_with_nil_RESTConfig (0.00s)
=== RUN   TestExtensionDeepCopy
--- PASS: TestExtensionDeepCopy (0.00s)
... skipping 104 lines ...
    --- PASS: TestConstructRouteURLs/nil_routes (0.00s)
    --- PASS: TestConstructRouteURLs/route_with_HTTP_only (0.00s)
    --- PASS: TestConstructRouteURLs/route_with_HTTPS_(TLS_configured) (0.00s)
    --- PASS: TestConstructRouteURLs/multiple_routes (0.00s)
    --- PASS: TestConstructRouteURLs/route_with_different_TLS_termination_types (0.00s)
    --- PASS: TestConstructRouteURLs/route_with_empty_host (0.00s)
FAIL
FAIL	github.com/tektoncd/results/pkg/cli/config	2.745s
=== RUN   TestToken
=== RUN   TestToken/default
=== RUN   TestToken/token
=== RUN   TestToken/serviceaccount
=== RUN   TestToken/token#01
=== RUN   TestToken/token_over_serviceaccount
... skipping 344 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.518ms] [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
        [13.296ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","e39e52e8-7d03-45f0-8260-8b4c24c7c456","12345","5e62b1d0-5b23-4a07-b51f-59a4449df978","7bb0ebac-036b-3a9d-9f4a-5fbec971d538","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""7bb0ebac-036b-3a9d-9f4a-5fbec971d538"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","5e62b1d0-5b23-4a07-b51f-59a4449df978-1753853881565679066","2025-07-30 05:38:01.565","2025-07-30 05:38:01.565") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-07-30T05:38:01.580Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:254	Skipping CRD annotation patch: annotation update is disabled
    logger.go:146: 2025-07-30T05:38:01.580Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:437	Streaming log started
    logger.go:146: 2025-07-30T05:38:01.581Z	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-07-30T05:38:01.581Z	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.644ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:01.584Z	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.417ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "436c47c3-dd49-3549-a394-824620e1d10f" 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.535ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.005Z	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.576ms] [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.669ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""annotations"":{""demo"":""demo""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-07-30T05:38:01Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-07-30T05:38:01Z"",""completionTime"":""2025-07-30T05:38:03Z""}}",`created_time`="2025-07-30 05:38:01.542",`updated_time`="2025-07-30 05:38:02.008",`etag`="fc5729f3-414d-4b14-b0d1-39dd3d6c6975-1753853882008627281" WHERE `parent` = "ns" AND `result_id` = "e39e52e8-7d03-45f0-8260-8b4c24c7c456" AND `id` = "fc5729f3-414d-4b14-b0d1-39dd3d6c6975"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.588ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.018Z	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.521ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "7bb0ebac-036b-3a9d-9f4a-5fbec971d538" 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.509ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.100Z	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.605ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
        [0.684ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""demo"":""demo""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-07-30T05:38:01Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-07-30T05:38:01Z"",""completionTime"":""2025-07-30T05:38:03Z""}}",`created_time`="2025-07-30 05:38:01.542",`updated_time`="2025-07-30 05:38:02.103",`etag`="fc5729f3-414d-4b14-b0d1-39dd3d6c6975-1753853882103187499" WHERE `parent` = "ns" AND `result_id` = "e39e52e8-7d03-45f0-8260-8b4c24c7c456" AND `id` = "fc5729f3-414d-4b14-b0d1-39dd3d6c6975"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.659ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.112Z	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.554ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "7bb0ebac-036b-3a9d-9f4a-5fbec971d538" 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.768ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.247Z	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.762ms] [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.735ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""x"":""foo""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-07-30T05:38:01Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-07-30T05:38:01Z"",""completionTime"":""2025-07-30T05:38:03Z""}}",`created_time`="2025-07-30 05:38:01.542",`updated_time`="2025-07-30 05:38:02.25",`etag`="fc5729f3-414d-4b14-b0d1-39dd3d6c6975-1753853882250509013" WHERE `parent` = "ns" AND `result_id` = "e39e52e8-7d03-45f0-8260-8b4c24c7c456" AND `id` = "fc5729f3-414d-4b14-b0d1-39dd3d6c6975"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.682ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.264Z	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.652ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "7bb0ebac-036b-3a9d-9f4a-5fbec971d538" 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.577ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.313Z	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.550ms] [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.628ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""x"":""foo""},""ownerReferences"":[{""apiVersion"":""v1"",""kind"":""test"",""name"":""test-owner"",""uid"":""""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-07-30T05:38:01Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-07-30T05:38:01Z"",""completionTime"":""2025-07-30T05:38:03Z""}}",`created_time`="2025-07-30 05:38:01.542",`updated_time`="2025-07-30 05:38:02.316",`etag`="fc5729f3-414d-4b14-b0d1-39dd3d6c6975-1753853882316093487" WHERE `parent` = "ns" AND `result_id` = "e39e52e8-7d03-45f0-8260-8b4c24c7c456" AND `id` = "fc5729f3-414d-4b14-b0d1-39dd3d6c6975"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.597ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.327Z	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.633ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "7bb0ebac-036b-3a9d-9f4a-5fbec971d538" 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.534ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "14e41125-5786-437f-ad5d-28426f13b683" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.374Z	DEBUG	TestReconcile_TaskRun	results/results.go:334	Record doesn't exist yet - creating	{"results.tekton.dev/record": "ns/results/14e41125-5786-437f-ad5d-28426f13b683/records/12345"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.512ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "14e41125-5786-437f-ad5d-28426f13b683" 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.748ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","1d0a0aeb-453a-409d-a2dc-7a15c382bb2f","14e41125-5786-437f-ad5d-28426f13b683","5e59a55f-2fe9-4947-afcc-b6318cacacde","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"":""14e41125-5786-437f-ad5d-28426f13b683""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-07-30T05:38:01Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-07-30T05:38:01Z"",""completionTime"":""2025-07-30T05:38:03Z""}}","5e59a55f-2fe9-4947-afcc-b6318cacacde-1753853882376374848","2025-07-30 05:38:02.376","2025-07-30 05:38:02.376") RETURNING `created_time`,`updated_time`
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [1.020ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "14e41125-5786-437f-ad5d-28426f13b683" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.390Z	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/14e41125-5786-437f-ad5d-28426f13b683", "results.tekton.dev/record": "ns/results/14e41125-5786-437f-ad5d-28426f13b683/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.600ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "14e41125-5786-437f-ad5d-28426f13b683" AND `records`.`name` = "939e2048-4faf-3141-9370-28371a96d130" 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.452ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "14e41125-5786-437f-ad5d-28426f13b683" AND `records`.`name` = "939e2048-4faf-3141-9370-28371a96d130" 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.394ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "14e41125-5786-437f-ad5d-28426f13b683" 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.149ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","1d0a0aeb-453a-409d-a2dc-7a15c382bb2f","14e41125-5786-437f-ad5d-28426f13b683","ce4c4bae-1a78-4c61-b4c4-858b8908344a","939e2048-4faf-3141-9370-28371a96d130","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""939e2048-4faf-3141-9370-28371a96d130"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","ce4c4bae-1a78-4c61-b4c4-858b8908344a-1753853882399976963","2025-07-30 05:38:02.399","2025-07-30 05:38:02.399") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-07-30T05:38:02.408Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:437	Streaming log started
    logger.go:146: 2025-07-30T05:38:02.408Z	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-07-30T05:38:02.409Z	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.520ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "14e41125-5786-437f-ad5d-28426f13b683" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.411Z	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/14e41125-5786-437f-ad5d-28426f13b683", "results.tekton.dev/record": "ns/results/14e41125-5786-437f-ad5d-28426f13b683/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.376ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "14e41125-5786-437f-ad5d-28426f13b683" AND `records`.`name` = "157b46f7-a751-36ba-9a58-12aa31a60193" 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.570ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.455Z	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.626ms] [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.623ms] [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"":""f9e4f3d3-dfcc-43a5-bc31-92eaf6519bd6""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-07-30T05:38:01Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-07-30T05:38:01Z"",""completionTime"":""2025-07-30T05:38:03Z""}}",`created_time`="2025-07-30 05:38:01.542",`updated_time`="2025-07-30 05:38:02.458",`etag`="fc5729f3-414d-4b14-b0d1-39dd3d6c6975-1753853882458612636" WHERE `parent` = "ns" AND `result_id` = "e39e52e8-7d03-45f0-8260-8b4c24c7c456" AND `id` = "fc5729f3-414d-4b14-b0d1-39dd3d6c6975"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.596ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.467Z	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.715ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "7bb0ebac-036b-3a9d-9f4a-5fbec971d538" 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.399ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "e3581b9e-66bd-348d-b5d9-614494b61314" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.422ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "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.865ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","8e572ac5-abab-489a-b716-034d09c7e83e","12345","0330ebaa-8dfe-4cbf-ae4c-9d38fa685904","e3581b9e-66bd-348d-b5d9-614494b61314","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""pipelinerun-log"",""namespace"":""ns"",""uid"":""e3581b9e-66bd-348d-b5d9-614494b61314"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""PipelineRun"",""namespace"":""ns"",""name"":""pipelinerun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","0330ebaa-8dfe-4cbf-ae4c-9d38fa685904-1753853882602762102","2025-07-30 05:38:02.602","2025-07-30 05:38:02.602") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-07-30T05:38:02.614Z	DEBUG	TestReconcile_PipelineRun	dynamic/dynamic.go:437	Streaming log started
    logger.go:146: 2025-07-30T05:38:02.615Z	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-07-30T05:38:02.615Z	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.536ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-07-30T05:38:02.619Z	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.443ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "a21ef826-f201-3b15-b16d-03b6d48946db" ORDER BY `records`.`id` LIMIT 1
... skipping 56 lines ...
=== RUN   TestFinalize
=== RUN   TestFinalize/pipelinerun_still_running_-_skip_finalization
    logger.go:146: 2025-07-30T05:38:01.108Z	DEBUG	pipelinerun test-ns/test-pr is still running
=== RUN   TestFinalize/store_deadline_passed_-_proceed_with_deletion
    logger.go:146: 2025-07-30T05:38:01.109Z	DEBUG	store deadline: 2025-07-30 04:38:01.108662601 +0000 UTC now: 2025-07-30 05:38:01.109123804 +0000 UTC, completion time: 2025-07-30 03:38:01.108662601 +0000 UTC
    logger.go:146: 2025-07-30T05:38:01.109Z	DEBUG	store deadline has passed for pipelinerun test-ns/test-pr
    logger.go:146: 2025-07-30T05:38:01.109Z	ERROR	pipelinerun not stored: test-ns/test-pr, uid: ,
=== RUN   TestFinalize/missing_annotations_-_requeue
    logger.go:146: 2025-07-30T05:38:01.109Z	DEBUG	pipelinerun test-ns/test-pr annotations are missing, now: 2025-07-30 05:38:01.109624086 +0000 UTC, storeDeadline: 2025-07-30 06:38:01.108663761 +0000 UTC
=== RUN   TestFinalize/stored_annotation_missing_-_requeue
    logger.go:146: 2025-07-30T05:38:01.109Z	DEBUG	stored annotation is missing on pipelinerun test-ns/test-pr, now: 2025-07-30 05:38:01.109941928 +0000 UTC, storeDeadline: 2025-07-30 06:38:01.108664221 +0000 UTC
=== RUN   TestFinalize/stored_annotation_not_true_-_requeue
    logger.go:146: 2025-07-30T05:38:01.110Z	DEBUG	stored annotation is not true on pipelinerun test-ns/test-pr, now: 2025-07-30 05:38:01.110205889 +0000 UTC, storeDeadline: 2025-07-30 06:38:01.108664616 +0000 UTC
... skipping 24 lines ...
=== RUN   TestFinalize
=== RUN   TestFinalize/taskrun_still_running_-_skip_finalization
    logger.go:146: 2025-07-30T05:38:01.066Z	DEBUG	taskrun test-ns/test-pr is still running
=== RUN   TestFinalize/store_deadline_passed_-_proceed_with_deletion
    logger.go:146: 2025-07-30T05:38:01.067Z	DEBUG	store deadline: 2025-07-30 04:38:01.066370007 +0000 UTC now: 2025-07-30 05:38:01.067024162 +0000 UTC, completion time: 2025-07-30 03:38:01.066370007 +0000 UTC
    logger.go:146: 2025-07-30T05:38:01.067Z	DEBUG	store deadline has passed for taskrun test-ns/test-pr
    logger.go:146: 2025-07-30T05:38:01.067Z	ERROR	taskrun not stored: test-ns/test-pr, uid: ,
=== RUN   TestFinalize/missing_annotations_-_requeue
    logger.go:146: 2025-07-30T05:38:01.067Z	DEBUG	taskrun test-ns/test-pr annotations are missing, now: 2025-07-30 05:38:01.067747288 +0000 UTC, storeDeadline: 2025-07-30 06:38:01.066370969 +0000 UTC
=== RUN   TestFinalize/stored_annotation_missing_-_requeue
    logger.go:146: 2025-07-30T05:38:01.068Z	DEBUG	stored annotation is missing on taskrun test-ns/test-pr, now: 2025-07-30 05:38:01.068098245 +0000 UTC, storeDeadline: 2025-07-30 06:38:01.066371476 +0000 UTC
=== RUN   TestFinalize/stored_annotation_not_true_-_requeue
    logger.go:146: 2025-07-30T05:38:01.068Z	DEBUG	stored annotation is not true on taskrun test-ns/test-pr, now: 2025-07-30 05:38:01.068442928 +0000 UTC, storeDeadline: 2025-07-30 06:38:01.066371862 +0000 UTC
... skipping 367 lines ...
        --- PASS: TestPut/pipelinerun/update (0.01s)
PASS
ok  	github.com/tektoncd/results/pkg/watcher/results	2.908s
testing: warning: no tests to run
PASS
ok  	github.com/tektoncd/results/tools/postgres-migrate	1.099s [no tests to run]
FAIL
unit_tests returning 
===========================
==== UNIT TESTS FAILED ====
===========================
+ EXIT_VALUE=1
+ set +o xtrace