ResultFAILURE
Tests 0 failed / 0 succeeded
Started2025-04-14 05:58
Elapsed4m46s
Revisionfcdf4a0d57560d70eb3356f76a364b68352a6ac3
Refs 994

No Test Failures!


Error lines from build-log.txt

... skipping 61 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/04/14 06:02:09 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 12 lines ...
          []string{
        + 	"f",
          	"a.b",
          	"d.e",
        - 	"f",
          }
--- FAIL: TestFieldMask_Paths (0.00s)
=== RUN   TestFieldMask_Filter
--- PASS: TestFieldMask_Filter (0.01s)
=== RUN   TestFieldMask_FilterJSON
--- PASS: TestFieldMask_FilterJSON (0.00s)
=== RUN   TestFromMetadata
--- PASS: TestFromMetadata (0.00s)
=== RUN   TestMetadataAnnotator
--- PASS: TestMetadataAnnotator (0.00s)
FAIL
FAIL	github.com/tektoncd/results/internal/fieldmask	0.071s
?   	github.com/tektoncd/results/internal/fieldmask/test	[no test files]
=== RUN   TestParseFilter
=== RUN   TestParseFilter/success
=== RUN   TestParseFilter/success/#00
=== RUN   TestParseFilter/success/result
=== RUN   TestParseFilter/success/result.id
=== RUN   TestParseFilter/success/result.id_==_"1"
=== RUN   TestParseFilter/success/result.id_==_"1"_||_result.name_==_"2"
=== RUN   TestParseFilter/success/result.id.startsWith("tacocat")
=== RUN   TestParseFilter/error
=== RUN   TestParseFilter/error/asdf
=== RUN   TestParseFilter/error/result.id_==_1
=== RUN   TestParseFilter/error/result.ID
--- PASS: TestParseFilter (0.04s)
    --- PASS: TestParseFilter/success (0.02s)
        --- PASS: TestParseFilter/success/#00 (0.00s)
        --- PASS: TestParseFilter/success/result (0.01s)
        --- PASS: TestParseFilter/success/result.id (0.00s)
        --- PASS: TestParseFilter/success/result.id_==_"1" (0.00s)
        --- PASS: TestParseFilter/success/result.id_==_"1"_||_result.name_==_"2" (0.00s)
        --- PASS: TestParseFilter/success/result.id.startsWith("tacocat") (0.00s)
    --- PASS: TestParseFilter/error (0.00s)
        --- PASS: TestParseFilter/error/asdf (0.00s)
        --- PASS: TestParseFilter/error/result.id_==_1 (0.00s)
        --- PASS: TestParseFilter/error/result.ID (0.00s)
PASS
ok  	github.com/tektoncd/results/pkg/api/server/cel	1.085s
=== RUN   TestConvertRecordExpressions
=== RUN   TestConvertRecordExpressions/simple_expression
    convert_test.go:170: want: (name = 'foo')
    convert_test.go:171: got:  (name = 'foo')
... skipping 345 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352
        [0.669ms] [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":1744610591.0530899,"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.1.linux-amd64/src/testing/testing.go:1792"}
=== RUN   TestListLogs/invalid_order_by_clause
=== RUN   TestListLogs/invalid_sort_direction
--- PASS: TestListLogs (0.57s)
    --- PASS: TestListLogs/all (0.06s)
    --- PASS: TestListLogs/list_all_records_without_knowing_the_result_name (0.05s)
    --- PASS: TestListLogs/list_all_records_without_knowing_the_parent_and_the_result_name (0.04s)
... skipping 171 lines ...
=== RUN   TestCreateRecord/missing_name
=== RUN   TestCreateRecord/result_used_as_name
=== RUN   TestCreateRecord/already_exists
=== NAME  TestCreateRecord
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.403ms] [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.692ms] [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-1744610593081372004","2025-04-14 06:03:13.081","2025-04-14 06:03:13.081") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord (0.10s)
    --- PASS: TestCreateRecord/success (0.02s)
    --- PASS: TestCreateRecord/mismatched_parent (0.00s)
    --- PASS: TestCreateRecord/parent_does_not_exist (0.00s)
    --- PASS: TestCreateRecord/missing_name (0.00s)
... skipping 13 lines ...
        [0.123ms] [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.186ms] [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
        [5.240ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"warn","ts":1744610591.4729621,"caller":"plugin/plugin_logs.go:472","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.261ms] [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-1744610593081372004","2025-04-14 06:03:13.081","2025-04-14 06:03:13.081") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord_ConcurrentDelete (0.04s)
=== RUN   TestGetRecord
    records_test.go:185: test database:  /tmp/testdb3766161650
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59
        [0.046ms] [rows:0] PRAGMA foreign_keys = ON;
... skipping 439 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.794ms] [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
        [0.824ms] [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-1744610618081372004","2025-04-14 06:03:38.081","2025-04-14 06:03:38.081") RETURNING `created_time`,`updated_time`
=== RUN   TestCreateResult/large_name
=== RUN   TestCreateResult/large_result_summary_type
--- PASS: TestCreateResult (0.10s)
    --- PASS: TestCreateResult/success (0.01s)
    --- PASS: TestCreateResult/mismatched_parent (0.00s)
... skipping 911 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/04/14 06:03:10 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.01s)
    --- PASS: TestMatch/non-matching_condition (0.00s)
    --- PASS: TestMatch/nil_result (0.00s)
    --- PASS: TestMatch/non-bool_output (0.00s)
... skipping 378 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.386ms] [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.430ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","eb648451-7f65-4bd3-97d9-e2a3efe2e7d5","12345","627700ac-4923-46c5-bb38-3a4bff7c5701","a6a6957a-01e4-3293-b845-33196e3d5c1c","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""a6a6957a-01e4-3293-b845-33196e3d5c1c"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","627700ac-4923-46c5-bb38-3a4bff7c5701-1744610611671055586","2025-04-14 06:03:31.671","2025-04-14 06:03:31.671") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-04-14T06:03:31.678Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:289	Skipping CRD annotation patch: annotation update is disabled
    logger.go:146: 2025-04-14T06:03:31.678Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:472	Streaming log started	{"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
    logger.go:146: 2025-04-14T06:03:31.679Z	ERROR	TestReconcile_TaskRun	dynamic/dynamic.go:480	Error streaming log	{"namespace": "ns", "kind": "TaskRun", "name": "taskrun", "error": "failed to create tkn reader: Parsing kubeconfig failed: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"}
    logger.go:146: 2025-04-14T06:03:31.679Z	INFO	TestReconcile_TaskRun	dynamic/dynamic.go:488	Streaming log completed	{"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.794ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-04-14T06:03:31.683Z	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.355ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "91a65897-3e4f-3ba5-ad60-c7103b618063" 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.995ms] [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-04-14T06:03:31.914Z	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.414ms] [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.638ms] [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-04-14T06:03:31Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-04-14T06:03:31Z"",""completionTime"":""2025-04-14T06:03:33Z""}}",`created_time`="2025-04-14 06:03:31.651",`updated_time`="2025-04-14 06:03:31.916",`etag`="0841ed5f-334d-4a79-85e2-9fe36e8bd985-1744610611916402258" WHERE `parent` = "ns" AND `result_id` = "eb648451-7f65-4bd3-97d9-e2a3efe2e7d5" AND `id` = "0841ed5f-334d-4a79-85e2-9fe36e8bd985"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.511ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-04-14T06:03:31.925Z	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.478ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "a6a6957a-01e4-3293-b845-33196e3d5c1c" 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.596ms] [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-04-14T06:03:31.996Z	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.587ms] [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.630ms] [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-04-14T06:03:31Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-04-14T06:03:31Z"",""completionTime"":""2025-04-14T06:03:33Z""}}",`created_time`="2025-04-14 06:03:31.651",`updated_time`="2025-04-14 06:03:31.999",`etag`="0841ed5f-334d-4a79-85e2-9fe36e8bd985-1744610611999439523" WHERE `parent` = "ns" AND `result_id` = "eb648451-7f65-4bd3-97d9-e2a3efe2e7d5" AND `id` = "0841ed5f-334d-4a79-85e2-9fe36e8bd985"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.561ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-04-14T06:03:32.008Z	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.642ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "a6a6957a-01e4-3293-b845-33196e3d5c1c" 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.676ms] [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-04-14T06:03:32.107Z	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.582ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:217
        [0.691ms] [rows:1] UPDATE `records` SET `result_name`="12345",`name`="12345",`type`="tekton.dev/v1.TaskRun",`data`="{""kind"":""TaskRun"",""apiVersion"":""tekton.dev/v1"",""metadata"":{""name"":""taskrun"",""namespace"":""ns"",""uid"":""12345"",""creationTimestamp"":null,""labels"":{""x"":""foo""},""annotations"":{""x"":""foo""}},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-04-14T06:03:31Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-04-14T06:03:31Z"",""completionTime"":""2025-04-14T06:03:33Z""}}",`created_time`="2025-04-14 06:03:31.651",`updated_time`="2025-04-14 06:03:32.11",`etag`="0841ed5f-334d-4a79-85e2-9fe36e8bd985-1744610612110263163" WHERE `parent` = "ns" AND `result_id` = "eb648451-7f65-4bd3-97d9-e2a3efe2e7d5" AND `id` = "0841ed5f-334d-4a79-85e2-9fe36e8bd985"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.666ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-04-14T06:03:32.120Z	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.526ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "a6a6957a-01e4-3293-b845-33196e3d5c1c" 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.487ms] [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-04-14T06:03:32.151Z	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.471ms] [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.527ms] [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-04-14T06:03:31Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-04-14T06:03:31Z"",""completionTime"":""2025-04-14T06:03:33Z""}}",`created_time`="2025-04-14 06:03:31.651",`updated_time`="2025-04-14 06:03:32.153",`etag`="0841ed5f-334d-4a79-85e2-9fe36e8bd985-1744610612153724808" WHERE `parent` = "ns" AND `result_id` = "eb648451-7f65-4bd3-97d9-e2a3efe2e7d5" AND `id` = "0841ed5f-334d-4a79-85e2-9fe36e8bd985"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.517ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-04-14T06:03:32.161Z	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.470ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "a6a6957a-01e4-3293-b845-33196e3d5c1c" 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.312ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "81970570-c647-4552-a500-c2fe166c97f3" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-04-14T06:03:32.182Z	DEBUG	TestReconcile_TaskRun	results/results.go:334	Record doesn't exist yet - creating	{"results.tekton.dev/record": "ns/results/81970570-c647-4552-a500-c2fe166c97f3/records/12345"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.418ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "81970570-c647-4552-a500-c2fe166c97f3" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
        [4.597ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","54e5f569-4e93-47fe-a40e-3d6b2a22deba","81970570-c647-4552-a500-c2fe166c97f3","a59fb6c4-85ce-41eb-b1ab-4e06adaed22b","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"":""81970570-c647-4552-a500-c2fe166c97f3""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-04-14T06:03:31Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-04-14T06:03:31Z"",""completionTime"":""2025-04-14T06:03:33Z""}}","a59fb6c4-85ce-41eb-b1ab-4e06adaed22b-1744610612184640594","2025-04-14 06:03:32.184","2025-04-14 06:03:32.184") RETURNING `created_time`,`updated_time`
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.534ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "81970570-c647-4552-a500-c2fe166c97f3" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-04-14T06:03:32.193Z	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/81970570-c647-4552-a500-c2fe166c97f3", "results.tekton.dev/record": "ns/results/81970570-c647-4552-a500-c2fe166c97f3/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.318ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "81970570-c647-4552-a500-c2fe166c97f3" AND `records`.`name` = "acdb77d6-733f-3f3a-9fca-ee530f3b152d" 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.267ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "81970570-c647-4552-a500-c2fe166c97f3" AND `records`.`name` = "acdb77d6-733f-3f3a-9fca-ee530f3b152d" 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.321ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "81970570-c647-4552-a500-c2fe166c97f3" 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.232ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","54e5f569-4e93-47fe-a40e-3d6b2a22deba","81970570-c647-4552-a500-c2fe166c97f3","8df41238-a488-4911-9ba6-8ac5b4598e21","acdb77d6-733f-3f3a-9fca-ee530f3b152d","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""acdb77d6-733f-3f3a-9fca-ee530f3b152d"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","8df41238-a488-4911-9ba6-8ac5b4598e21-1744610612200162345","2025-04-14 06:03:32.2","2025-04-14 06:03:32.2") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-04-14T06:03:32.208Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:472	Streaming log started	{"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
    logger.go:146: 2025-04-14T06:03:32.208Z	ERROR	TestReconcile_TaskRun	dynamic/dynamic.go:480	Error streaming log	{"namespace": "ns", "kind": "TaskRun", "name": "taskrun", "error": "failed to create tkn reader: Parsing kubeconfig failed: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"}
    logger.go:146: 2025-04-14T06:03:32.209Z	INFO	TestReconcile_TaskRun	dynamic/dynamic.go:488	Streaming log completed	{"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.536ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "81970570-c647-4552-a500-c2fe166c97f3" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-04-14T06:03:32.211Z	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/81970570-c647-4552-a500-c2fe166c97f3", "results.tekton.dev/record": "ns/results/81970570-c647-4552-a500-c2fe166c97f3/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.354ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "81970570-c647-4552-a500-c2fe166c97f3" AND `records`.`name` = "396256fa-363e-3d80-a4c1-eb5ae8b6cec1" 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.477ms] [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-04-14T06:03:32.287Z	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.505ms] [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.556ms] [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"":""04beac17-a196-44af-b326-cd16967006b9""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-04-14T06:03:31Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-04-14T06:03:31Z"",""completionTime"":""2025-04-14T06:03:33Z""}}",`created_time`="2025-04-14 06:03:31.651",`updated_time`="2025-04-14 06:03:32.289",`etag`="0841ed5f-334d-4a79-85e2-9fe36e8bd985-1744610612289563005" WHERE `parent` = "ns" AND `result_id` = "eb648451-7f65-4bd3-97d9-e2a3efe2e7d5" AND `id` = "0841ed5f-334d-4a79-85e2-9fe36e8bd985"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.591ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-04-14T06:03:32.297Z	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.622ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "a6a6957a-01e4-3293-b845-33196e3d5c1c" 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.357ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "330c09ee-7213-34bd-9efd-ba7bceb9e628" 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.304ms] [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
        [4.723ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","a1d1336a-1943-46e7-a44a-957f8856b26b","12345","1ef2479d-ed79-4b2c-8026-93c0ac061220","330c09ee-7213-34bd-9efd-ba7bceb9e628","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""pipelinerun-log"",""namespace"":""ns"",""uid"":""330c09ee-7213-34bd-9efd-ba7bceb9e628"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""PipelineRun"",""namespace"":""ns"",""name"":""pipelinerun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","1ef2479d-ed79-4b2c-8026-93c0ac061220-1744610612449588620","2025-04-14 06:03:32.449","2025-04-14 06:03:32.449") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-04-14T06:03:32.458Z	DEBUG	TestReconcile_PipelineRun	dynamic/dynamic.go:472	Streaming log started	{"namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun"}
    logger.go:146: 2025-04-14T06:03:32.459Z	ERROR	TestReconcile_PipelineRun	dynamic/dynamic.go:480	Error streaming log	{"namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun", "error": "failed to create tkn reader: Parsing kubeconfig failed: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"}
    logger.go:146: 2025-04-14T06:03:32.459Z	INFO	TestReconcile_PipelineRun	dynamic/dynamic.go:488	Streaming log completed	{"namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun"}
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.692ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-04-14T06:03:32.462Z	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.323ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "40de6162-df06-3bf3-81b3-a3589dec4244" ORDER BY `records`.`id` LIMIT 1
... skipping 409 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.080s [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