ResultFAILURE
Tests 0 failed / 0 succeeded
Started2025-02-18 01:26
Elapsed3m52s
Revision288ce2e48f06ecf131302a7b6e17ea9f26a215ba
Refs 717

No Test Failures!


Error lines from build-log.txt

... skipping 84 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/02/18 01:29:25 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.169s
?   	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.08s)
    --- PASS: TestParseFilter/success (0.04s)
        --- 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.01s)
        --- PASS: TestParseFilter/success/result.id_==_"1"_||_result.name_==_"2" (0.00s)
        --- PASS: TestParseFilter/success/result.id.startsWith("tacocat") (0.01s)
    --- 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.295s
=== 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
        [1.513ms] [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":1739842213.7111664,"caller":"v1alpha2/logs.go:268","msg":"rpc error: code = InvalidArgument desc = name must match (^[a-z0-9_-]{1,63})/results/([a-z0-9_-]{1,63}$)","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2.(*Server).ListLogs\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:268\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestListLogs.func1\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs_test.go:569\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1792"}
=== RUN   TestListLogs/invalid_order_by_clause
=== RUN   TestListLogs/invalid_sort_direction
--- PASS: TestListLogs (0.72s)
    --- PASS: TestListLogs/all (0.07s)
    --- PASS: TestListLogs/list_all_records_without_knowing_the_result_name (0.04s)
    --- PASS: TestListLogs/list_all_records_without_knowing_the_parent_and_the_result_name (0.06s)
... 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.273ms] [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.605ms] [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-1739842215532129784","2025-02-18 01:30:15.532","2025-02-18 01:30:15.532") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord (0.11s)
    --- 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.125ms] [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
        [8.335ms] [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
        [9.471ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"warn","ts":1739842214.182684,"caller":"plugin/plugin_logs.go:423","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.602ms] [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-1739842215532129784","2025-02-18 01:30:15.532","2025-02-18 01:30:15.532") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord_ConcurrentDelete (0.06s)
=== RUN   TestGetRecord
    records_test.go:185: test database:  /tmp/testdb1314073159
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59
        [0.032ms] [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.686ms] [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.030ms] [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-1739842240532129784","2025-02-18 01:30:40.532","2025-02-18 01:30:40.532") RETURNING `created_time`,`updated_time`
=== RUN   TestCreateResult/large_name
=== RUN   TestCreateResult/large_result_summary_type
--- PASS: TestCreateResult (0.07s)
    --- PASS: TestCreateResult/success (0.01s)
    --- PASS: TestCreateResult/mismatched_parent (0.00s)
... skipping 903 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/02/18 01:30:14 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.03s)
    --- PASS: TestMatch/non-matching_condition (0.00s)
    --- PASS: TestMatch/nil_result (0.00s)
    --- PASS: TestMatch/non-bool_output (0.00s)
... skipping 393 lines ...
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
        [0.427ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
        [9.989ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","5cacc9f9-ab86-4b89-93ff-56b4c8fd41c7","12345","76f0555e-5a67-43ba-b736-e6481dc7a48b","9569456f-5f49-3ab3-9328-28175dcb1d73","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""9569456f-5f49-3ab3-9328-28175dcb1d73"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","76f0555e-5a67-43ba-b736-e6481dc7a48b-1739842236603439963","2025-02-18 01:30:36.603","2025-02-18 01:30:36.603") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-02-18T01:30:36.615Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:289	Skipping CRD annotation patch: annotation update is disabled
    logger.go:146: 2025-02-18T01:30:36.615Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:472	Streaming log started	{"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
    logger.go:146: 2025-02-18T01:30:36.616Z	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-02-18T01:30:36.616Z	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.754ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-02-18T01:30:36.621Z	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.571ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "51610844-67ac-33c6-9249-114d1c80fd5f" 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.575ms] [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-02-18T01:30:36.828Z	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.664ms] [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.724ms] [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-02-18T01:30:36Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-02-18T01:30:36Z"",""completionTime"":""2025-02-18T01:30:38Z""}}",`created_time`="2025-02-18 01:30:36.537",`updated_time`="2025-02-18 01:30:36.83",`etag`="2be37a98-706b-4133-b521-1b8c6b318e0f-1739842236830799778" WHERE `parent` = "ns" AND `result_id` = "5cacc9f9-ab86-4b89-93ff-56b4c8fd41c7" AND `id` = "2be37a98-706b-4133-b521-1b8c6b318e0f"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [1.240ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-02-18T01:30:36.844Z	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.534ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "9569456f-5f49-3ab3-9328-28175dcb1d73" 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.469ms] [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-02-18T01:30:36.917Z	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.713ms] [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.619ms] [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-02-18T01:30:36Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-02-18T01:30:36Z"",""completionTime"":""2025-02-18T01:30:38Z""}}",`created_time`="2025-02-18 01:30:36.537",`updated_time`="2025-02-18 01:30:36.92",`etag`="2be37a98-706b-4133-b521-1b8c6b318e0f-1739842236920470095" WHERE `parent` = "ns" AND `result_id` = "5cacc9f9-ab86-4b89-93ff-56b4c8fd41c7" AND `id` = "2be37a98-706b-4133-b521-1b8c6b318e0f"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.529ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-02-18T01:30:36.931Z	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.546ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "9569456f-5f49-3ab3-9328-28175dcb1d73" 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.984ms] [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-02-18T01:30:37.038Z	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.518ms] [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.551ms] [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-02-18T01:30:36Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-02-18T01:30:36Z"",""completionTime"":""2025-02-18T01:30:38Z""}}",`created_time`="2025-02-18 01:30:36.537",`updated_time`="2025-02-18 01:30:37.041",`etag`="2be37a98-706b-4133-b521-1b8c6b318e0f-1739842237041063846" WHERE `parent` = "ns" AND `result_id` = "5cacc9f9-ab86-4b89-93ff-56b4c8fd41c7" AND `id` = "2be37a98-706b-4133-b521-1b8c6b318e0f"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.714ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-02-18T01:30:37.092Z	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.507ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "9569456f-5f49-3ab3-9328-28175dcb1d73" 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
        [1.313ms] [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-02-18T01:30:37.123Z	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.451ms] [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.478ms] [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-02-18T01:30:36Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-02-18T01:30:36Z"",""completionTime"":""2025-02-18T01:30:38Z""}}",`created_time`="2025-02-18 01:30:36.537",`updated_time`="2025-02-18 01:30:37.126",`etag`="2be37a98-706b-4133-b521-1b8c6b318e0f-1739842237126592643" WHERE `parent` = "ns" AND `result_id` = "5cacc9f9-ab86-4b89-93ff-56b4c8fd41c7" AND `id` = "2be37a98-706b-4133-b521-1b8c6b318e0f"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.530ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-02-18T01:30:37.135Z	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.590ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "9569456f-5f49-3ab3-9328-28175dcb1d73" 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.417ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "7c8696fe-a377-4196-9071-72122022ff46" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
    logger.go:146: 2025-02-18T01:30:37.160Z	DEBUG	TestReconcile_TaskRun	results/results.go:334	Record doesn't exist yet - creating	{"results.tekton.dev/record": "ns/results/7c8696fe-a377-4196-9071-72122022ff46/records/12345"}
    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` = "7c8696fe-a377-4196-9071-72122022ff46" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
        [8.950ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","149a9b35-dead-4621-a7ca-f170a9ff69ee","7c8696fe-a377-4196-9071-72122022ff46","afbd1fb3-dd61-43db-aac3-d482a22e0cf5","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"":""7c8696fe-a377-4196-9071-72122022ff46""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-02-18T01:30:36Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-02-18T01:30:36Z"",""completionTime"":""2025-02-18T01:30:38Z""}}","afbd1fb3-dd61-43db-aac3-d482a22e0cf5-1739842237162211027","2025-02-18 01:30:37.162","2025-02-18 01:30:37.162") RETURNING `created_time`,`updated_time`
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.522ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "7c8696fe-a377-4196-9071-72122022ff46" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-02-18T01:30:37.177Z	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/7c8696fe-a377-4196-9071-72122022ff46", "results.tekton.dev/record": "ns/results/7c8696fe-a377-4196-9071-72122022ff46/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.436ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "7c8696fe-a377-4196-9071-72122022ff46" AND `records`.`name` = "810fef54-2c76-39f8-a0f8-a987677227b5" 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.412ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "7c8696fe-a377-4196-9071-72122022ff46" AND `records`.`name` = "810fef54-2c76-39f8-a0f8-a987677227b5" 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.302ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "7c8696fe-a377-4196-9071-72122022ff46" ORDER BY `results`.`id` LIMIT 1
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
        [8.072ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","149a9b35-dead-4621-a7ca-f170a9ff69ee","7c8696fe-a377-4196-9071-72122022ff46","673cd27a-43a8-4506-b6cc-2df24dd8837a","810fef54-2c76-39f8-a0f8-a987677227b5","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""810fef54-2c76-39f8-a0f8-a987677227b5"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","673cd27a-43a8-4506-b6cc-2df24dd8837a-1739842237185159144","2025-02-18 01:30:37.185","2025-02-18 01:30:37.185") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-02-18T01:30:37.196Z	DEBUG	TestReconcile_TaskRun	dynamic/dynamic.go:472	Streaming log started	{"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
    logger.go:146: 2025-02-18T01:30:37.196Z	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-02-18T01:30:37.197Z	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.553ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "7c8696fe-a377-4196-9071-72122022ff46" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-02-18T01:30:37.199Z	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/7c8696fe-a377-4196-9071-72122022ff46", "results.tekton.dev/record": "ns/results/7c8696fe-a377-4196-9071-72122022ff46/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.406ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "7c8696fe-a377-4196-9071-72122022ff46" AND `records`.`name` = "6a309f15-342c-33e6-ac02-07e00b526bd1" 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.455ms] [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-02-18T01:30:37.235Z	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.680ms] [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.616ms] [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"":""cf32f0fd-badb-4736-b47b-9cb65552fd70""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-02-18T01:30:36Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-02-18T01:30:36Z"",""completionTime"":""2025-02-18T01:30:38Z""}}",`created_time`="2025-02-18 01:30:36.537",`updated_time`="2025-02-18 01:30:37.239",`etag`="2be37a98-706b-4133-b521-1b8c6b318e0f-1739842237239550576" WHERE `parent` = "ns" AND `result_id` = "5cacc9f9-ab86-4b89-93ff-56b4c8fd41c7" AND `id` = "2be37a98-706b-4133-b521-1b8c6b318e0f"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.568ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-02-18T01:30:37.249Z	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.371ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "9569456f-5f49-3ab3-9328-28175dcb1d73" 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.342ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "b1af9852-bf7e-337b-a9e8-1b91023fa993" 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.368ms] [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
        [8.482ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","bac84362-b9b2-4460-961d-7bd90aa985fd","12345","b9ec785f-24ab-4d1c-941d-3ea0ba43464a","b1af9852-bf7e-337b-a9e8-1b91023fa993","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""pipelinerun-log"",""namespace"":""ns"",""uid"":""b1af9852-bf7e-337b-a9e8-1b91023fa993"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""PipelineRun"",""namespace"":""ns"",""name"":""pipelinerun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","b9ec785f-24ab-4d1c-941d-3ea0ba43464a-1739842237349618069","2025-02-18 01:30:37.349","2025-02-18 01:30:37.349") RETURNING `created_time`,`updated_time`
    logger.go:146: 2025-02-18T01:30:37.362Z	DEBUG	TestReconcile_PipelineRun	dynamic/dynamic.go:472	Streaming log started	{"namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun"}
    logger.go:146: 2025-02-18T01:30:37.362Z	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-02-18T01:30:37.362Z	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.594ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2025-02-18T01:30:37.365Z	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.277ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "f69d08c0-d2ac-34a5-aac4-f23e4750012a" 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.093s [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