Error lines from build-log.txt
... skipping 65 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/01/20 09:34: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 11 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.22s)
--- PASS: TestParseFilter/success (0.15s)
--- PASS: TestParseFilter/success/#00 (0.00s)
--- PASS: TestParseFilter/success/result (0.03s)
--- PASS: TestParseFilter/success/result.id (0.04s)
--- PASS: TestParseFilter/success/result.id_==_"1" (0.01s)
--- PASS: TestParseFilter/success/result.id_==_"1"_||_result.name_==_"2" (0.03s)
--- PASS: TestParseFilter/success/result.id.startsWith("tacocat") (0.04s)
--- PASS: TestParseFilter/error (0.05s)
--- PASS: TestParseFilter/error/asdf (0.02s)
--- PASS: TestParseFilter/error/result.id_==_1 (0.02s)
--- PASS: TestParseFilter/error/result.ID (0.00s)
PASS
ok github.com/tektoncd/results/pkg/api/server/cel 2.294s
=== RUN TestConvertRecordExpressions
=== RUN TestConvertRecordExpressions/simple_expression
convert_test.go:170: want: (name = 'foo')
convert_test.go:171: got: (name = 'foo')
... skipping 194 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.135ms] [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
[187.749ms] [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
[1996.712ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365917.4671004,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestGetLog\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs_test.go:89\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[600.065ms] [rows:1] 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","1","bar","null","","",NULL,NULL,0,"null","1-1737365913126135344","2025-01-20 09:38:33.126","2025-01-20 09:38:33.126") RETURNING `created_time`,`updated_time`
logs_test.go:113: test log file: /tmp/test-log-taskrun-4248345517.log
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[31.444ms] [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
... skipping 14 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.119ms] [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
[480.771ms] [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
[987.364ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365924.0404785,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestGetLogV2\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs_test.go:167\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[888.282ms] [rows:1] 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","3","bar","null","","",NULL,NULL,0,"null","3-1737365913126135344","2025-01-20 09:38:33.126","2025-01-20 09:38:33.126") RETURNING `created_time`,`updated_time`
logs_test.go:191: test log file: /tmp/test-log-taskrun-537376711.log
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[27.463ms] [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
... skipping 14 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.154ms] [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
[721.201ms] [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
[289.145ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365929.362831,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestUpdateLog\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs_test.go:254\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[796.233ms] [rows:1] 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","5","bar","null","","",NULL,NULL,0,"null","5-1737365913126135344","2025-01-20 09:38:33.126","2025-01-20 09:38:33.126") RETURNING `created_time`,`updated_time`
logs_test.go:268: test storage directory: /tmp/test-logs-1825444832
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[3.574ms] [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
... skipping 19 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.135ms] [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
[1003.734ms] [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
[469.068ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365936.2560942,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestListLogs\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs_test.go:329\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[1036.629ms] [rows:1] 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","7","bar","null","","",NULL,NULL,0,"null","7-1737365913126135344","2025-01-20 09:38:33.126","2025-01-20 09:38:33.126") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[2.083ms] [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
[1769.697ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","7","bar","8","0","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""0"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","8-1737365914126135344","2025-01-20 09:38:34.126","2025-01-20 09:38:34.126") RETURNING `created_time`,`updated_time`
... skipping 61 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352
[1.062ms] [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":1737365942.161728,"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 (10.55s)
--- PASS: TestListLogs/all (0.31s)
--- 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.08s)
... skipping 26 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.153ms] [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
[325.848ms] [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
[502.775ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365945.2295659,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestListLogs_multiresult\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs_test.go:587\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[397.006ms] [rows:1] 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 ("0","11","0","null","","",NULL,NULL,0,"null","11-1737365916126135344","2025-01-20 09:38:36.126","2025-01-20 09:38:36.126") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[2.678ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "0" AND `results`.`name` = "0" ORDER BY `results`.`id` LIMIT 1
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
[197.161ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("0","11","0","12","0","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""0"",""creationTimestamp"":null},""spec"":{""resource"":{""namespace"":"""",""name"":""""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","12-1737365916126135344","2025-01-20 09:38:36.126","2025-01-20 09:38:36.126") RETURNING `created_time`,`updated_time`
... skipping 47 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.177ms] [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
[56.953ms] [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
[604.128ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365950.9321773,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestDeleteLog\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs_test.go:648\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[1414.602ms] [rows:1] 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","23","bar","null","","",NULL,NULL,0,"null","23-1737365916126135344","2025-01-20 09:38:36.126","2025-01-20 09:38:36.126") RETURNING `created_time`,`updated_time`
logs_test.go:672: test log file: /tmp/test-log-taskrun-2112005329.log
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[2.107ms] [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
... skipping 52 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.146ms] [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
[192.998ms] [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
[637.577ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365958.017596,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestCreateRecord\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records_test.go:48\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[236.132ms] [rows:1] 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","25","bar","null","","",NULL,NULL,0,"null","25-1737365916126135344","2025-01-20 09:38:36.126","2025-01-20 09:38:36.126") RETURNING `created_time`,`updated_time`
=== RUN TestCreateRecord/success
=== NAME TestCreateRecord
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[6.915ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1
... skipping 7 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.375ms] [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.744ms] [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-1737365916126135344","2025-01-20 09:38:36.126","2025-01-20 09:38:36.126") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord (4.09s)
--- PASS: TestCreateRecord/success (0.45s)
--- PASS: TestCreateRecord/mismatched_parent (0.02s)
--- PASS: TestCreateRecord/parent_does_not_exist (0.00s)
--- PASS: TestCreateRecord/missing_name (0.00s)
... skipping 12 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.128ms] [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
[220.493ms] [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
[525.687ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365960.2105696,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestCreateRecord_ConcurrentDelete\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records_test.go:159\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 FOREIGN KEY constraint failed
[1.282ms] [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-1737365916126135344","2025-01-20 09:38:36.126","2025-01-20 09:38:36.126") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord_ConcurrentDelete (1.41s)
=== RUN TestGetRecord
records_test.go:185: test database: /tmp/testdb96039359
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59
[0.057ms] [rows:0] PRAGMA foreign_keys = ON;
... skipping 6 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.129ms] [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
[1919.491ms] [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
[481.427ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365963.8114457,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestGetRecord\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records_test.go:185\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[561.685ms] [rows:1] 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","29","bar","null","","",NULL,NULL,0,"null","29-1737365916126135344","2025-01-20 09:38:36.126","2025-01-20 09:38:36.126") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[22.268ms] [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
[795.020ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","29","bar","30","baz","","","30-1737365916126135344","2025-01-20 09:38:36.126","2025-01-20 09:38:36.126") RETURNING `created_time`,`updated_time`
... skipping 25 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.138ms] [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
[251.571ms] [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
[499.447ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365967.6904504,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestListRecords\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records_test.go:253\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[660.553ms] [rows:1] 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","1","bar","null","","",NULL,NULL,0,"null","1-1737365916126135344","2025-01-20 09:38:36.126","2025-01-20 09:38:36.126") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[2.066ms] [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
[766.654ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","1","bar","2","0","TaskRun","{""metadata"":{""name"":""0"",""creationTimestamp"":null},""spec"":{""serviceAccountName"":""""},""status"":{""podName"":""""}}","2-1737365917126135344","2025-01-20 09:38:37.126","2025-01-20 09:38:37.126") RETURNING `created_time`,`updated_time`
... skipping 219 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.130ms] [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
[1560.203ms] [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
[809.565ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365986.5597773,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestUpdateRecord\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records_test.go:542\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[762.721ms] [rows:1] 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","22","bar","null","","",NULL,NULL,0,"null","22-1737365936126135344","2025-01-20 09:38:56.126","2025-01-20 09:38:56.126") RETURNING `created_time`,`updated_time`
=== RUN TestUpdateRecord/success
=== NAME TestUpdateRecord
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[2.100ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1
... skipping 41 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[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
[792.015ms] [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
[351.582ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365994.0545745,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestDeleteRecord\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records_test.go:684\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[1604.291ms] [rows:1] 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","25","bar","null","","",NULL,NULL,0,"null","25-1737365941126135344","2025-01-20 09:39:01.126","2025-01-20 09:39:01.126") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[58.232ms] [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
[1357.525ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","25","bar","26","baz","","","26-1737365941126135344","2025-01-20 09:39:01.126","2025-01-20 09:39:01.126") RETURNING `created_time`,`updated_time`
... skipping 25 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.138ms] [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
[146.423ms] [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
[21.452ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737366000.1408088,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestListRecords_multiresult\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records_test.go:731\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[9.896ms] [rows:1] 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 ("0","27","0","null","","",NULL,NULL,0,"null","27-1737365941126135344","2025-01-20 09:39:01.126","2025-01-20 09:39:01.126") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[1.651ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "0" AND `results`.`name` = "0" ORDER BY `results`.`id` LIMIT 1
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
[15.622ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("0","27","0","28","0","","","28-1737365941126135344","2025-01-20 09:39:01.126","2025-01-20 09:39:01.126") RETURNING `created_time`,`updated_time`
... skipping 47 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.136ms] [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
[19.067ms] [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
[13.299ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737366000.6006823,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestCreateResult\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results_test.go:43\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
=== RUN TestCreateResult/success
=== NAME TestCreateResult
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[17.889ms] [rows:1] 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","39","bar","{""foo"":""bar""}","","",NULL,NULL,0,"null","39-1737365941126135344","2025-01-20 09:39:01.126","2025-01-20 09:39:01.126") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0.930ms] [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.874ms] [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-1737365941126135344","2025-01-20 09:39:01.126","2025-01-20 09:39:01.126") RETURNING `created_time`,`updated_time`
=== RUN TestCreateResult/large_name
=== RUN TestCreateResult/large_result_summary_type
--- PASS: TestCreateResult (0.13s)
--- PASS: TestCreateResult/success (0.02s)
--- PASS: TestCreateResult/mismatched_parent (0.00s)
... skipping 14 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.107ms] [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
[15.591ms] [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
[13.277ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737366000.7016542,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestUpdateResult\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results_test.go:139\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
=== RUN TestUpdateResult/success
=== NAME TestUpdateResult
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[29.216ms] [rows:1] 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","42","bar-0","null","","",NULL,NULL,0,"null","42-1737365941126135344","2025-01-20 09:39:01.126","2025-01-20 09:39:01.126") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0.731ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar-0" ORDER BY `results`.`id` LIMIT 1
... skipping 53 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.158ms] [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
[13.884ms] [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
[11.635ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737366000.9176128,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestGetResult\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results_test.go:246\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[11.895ms] [rows:1] 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","48","bar","null","","",NULL,NULL,0,"null","48-1737365947126135344","2025-01-20 09:39:07.126","2025-01-20 09:39:07.126") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0.958ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1
=== RUN TestGetResult/no_name
=== RUN TestGetResult/not_found
... skipping 16 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.126ms] [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
[17.344ms] [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
[13.420ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737366001.0140326,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestDeleteResult\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results_test.go:296\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[11.931ms] [rows:1] 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","49","bar","null","","",NULL,NULL,0,"null","49-1737365947126135344","2025-01-20 09:39:07.126","2025-01-20 09:39:07.126") RETURNING `created_time`,`updated_time`
=== RUN TestDeleteResult/success
=== NAME TestDeleteResult
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:168
[0.531ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1
... skipping 21 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.109ms] [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
[22.034ms] [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
[17.444ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737366001.1493273,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestCascadeDelete\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results_test.go:332\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[12.421ms] [rows:1] 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","50","bar","null","","",NULL,NULL,0,"null","50-1737365947126135344","2025-01-20 09:39:07.126","2025-01-20 09:39:07.126") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[1.754ms] [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
[10.885ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","50","bar","51","baz","","","51-1737365947126135344","2025-01-20 09:39:07.126","2025-01-20 09:39:07.126") RETURNING `created_time`,`updated_time`
... skipping 17 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.126ms] [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
[19.592ms] [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
[13.423ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737366001.2586524,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.TestListResults\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results_test.go:366\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[14.178ms] [rows:1] 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","1","f7391033-19c9-48fa-aaf1-0aa5229721fc","{""foo"":""bar-1""}","foo/results/f7391033-19c9-48fa-aaf1-0aa5229721fc/records/d94a965d-ffa7-4c7a-8d74-d98c631220d4","resource_type","2025-01-20 09:39:08.126","2025-01-20 09:40:08.126",0,"null","1-1737365948126135344","2025-01-20 09:39:08.126","2025-01-20 09:39:08.126") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[11.709ms] [rows:1] 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","2","620d34e3-238f-41cd-bbde-c4653d3cb922","{""foo"":""bar-2""}","foo/results/620d34e3-238f-41cd-bbde-c4653d3cb922/records/d729ae98-7dd5-4e4e-ba69-dfb90efc34ae","resource_type","2025-01-20 09:39:09.126","2025-01-20 09:40:09.126",0,"null","2-1737365949126135344","2025-01-20 09:39:09.126","2025-01-20 09:39:09.126") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[45.392ms] [rows:1] 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","3","d90d3284-ebc2-48b3-86be-82551330693e","{""foo"":""bar-3""}","foo/results/d90d3284-ebc2-48b3-86be-82551330693e/records/fd3dae23-e774-410c-8964-a2dddc63e3fd","resource_type","2025-01-20 09:39:10.126","2025-01-20 09:40:10.126",0,"null","3-1737365950126135344","2025-01-20 09:39:10.126","2025-01-20 09:39:10.126") RETURNING `created_time`,`updated_time`
... skipping 206 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.158ms] [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
[1031.190ms] [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
[864.414ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365920.9685907,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/internal/test.NewResultsClient\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/internal/test/clients.go:44\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/auth_test.TestRBAC\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/auth/rbac_test.go:93\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
=== RUN TestRBAC/authorized_user
=== NAME TestRBAC
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[1832.284ms] [rows:1] 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","5a684087-27c8-4032-a548-ea0bc0047137","bar","null","","",NULL,NULL,0,"null","5a684087-27c8-4032-a548-ea0bc0047137-1737365920991639607","2025-01-20 09:38:40.991","2025-01-20 09:38:40.991") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0.895ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1
... skipping 496 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/01/20 09:38:49 failed to evaluate the expression: no such attribute(s): record
--- PASS: TestMatch (0.08s)
--- 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 183 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.195ms] [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
[793.730ms] [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
[289.194ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365978.1726227,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/internal/test.NewResultsClient\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/internal/test/clients.go:44\ngithub.com/tektoncd/results/pkg/watcher/reconciler_test.TestController\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/reconciler_test.go:54\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
logger.go:146: 2025-01-20T09:39:38.182Z INFO TestController logs/client.go:52 Unable to fetch Logs Client from context, either disabled from config or disabled from server side
logger.go:146: 2025-01-20T09:39:38.183Z INFO TestController logs/client.go:52 Unable to fetch Logs Client from context, either disabled from config or disabled from server side
logger.go:146: 2025-01-20T09:39:38.185Z INFO TestController controller/controller.go:486 Starting controller and workers {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun"}
logger.go:146: 2025-01-20T09:39:38.186Z INFO TestController controller/controller.go:496 Started workers {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.pipelinerun.Reconciler", "knative.dev/kind": "tekton.dev.PipelineRun"}
logger.go:146: 2025-01-20T09:39:38.186Z INFO TestController controller/controller.go:486 Starting controller and workers {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun"}
logger.go:146: 2025-01-20T09:39:38.186Z INFO TestController controller/controller.go:496 Started workers {"knative.dev/controller": "github.com.tektoncd.results.pkg.watcher.reconciler.taskrun.Reconciler", "knative.dev/kind": "tekton.dev.TaskRun"}
... skipping 224 lines ...
knative.dev/pkg/controller.(*Impl).processNextWorkItem(0xc000b84720)
/home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:542 +0x6ce
knative.dev/pkg/controller.(*Impl).RunContext.func3()
/home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:491 +0x95
created by knative.dev/pkg/controller.(*Impl).RunContext in goroutine 68
/home/prow/go/src/github.com/tektoncd/results/vendor/knative.dev/pkg/controller/controller.go:489 +0x552
FAIL github.com/tektoncd/results/pkg/watcher/reconciler 7.311s
=== RUN TestPatch
=== RUN TestPatch/create_a_patch_containing_only_the_result_and_record_identifiers_since_the_object_is_a_PipelineRun
=== RUN TestPatch/create_a_patch_containing_only_the_result_and_record_identifiers_since_the_TaskRun_isn't_owned_by_a_PipelineRun
=== RUN TestPatch/create_a_patch_containing_only_the_result_and_record_identifiers_since_the_TaskRun_isn't_done_yet
=== RUN TestPatch/mark_the_TaskRun_as_ready_for_deletion_since_it's_owned_by_a_PipelineRun_and_is_done
--- PASS: TestPatch (0.01s)
... skipping 29 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.148ms] [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
[436.472ms] [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
[1917.014ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365986.2926357,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/internal/test.NewResultsClient\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/internal/test/clients.go:44\ngithub.com/tektoncd/results/pkg/watcher/reconciler/dynamic.TestReconcile_TaskRun\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/dynamic/dynamic_test.go:129\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found
[0.558ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:39:46.303Z DEBUG TestReconcile_TaskRun results/results.go:188 Result doesn't exist yet - creating {"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/results.go:72
[814.298ms] [rows:1] 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 ("ns","a639cbc9-9eb4-4142-8124-3109ba66fe2f","12345","{""object.metadata.name"":""taskrun""}","ns/results/12345/records/12345","tekton.dev/v1.TaskRun",NULL,"0000-00-00 00:00:00",1,"null","a639cbc9-9eb4-4142-8124-3109ba66fe2f-1737365986306886357","2025-01-20 09:39:46.306","2025-01-20 09:39:46.306") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found
... skipping 16 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[0.570ms] [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
[930.831ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","a639cbc9-9eb4-4142-8124-3109ba66fe2f","12345","42110148-cdf5-4751-8b1e-bb5a5fab3f7e","c9da4b9b-3a6f-31a1-ba61-cd75f8380491","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""c9da4b9b-3a6f-31a1-ba61-cd75f8380491"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","42110148-cdf5-4751-8b1e-bb5a5fab3f7e-1737365987936587225","2025-01-20 09:39:47.936","2025-01-20 09:39:47.936") RETURNING `created_time`,`updated_time`
logger.go:146: 2025-01-20T09:39:48.870Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:289 Skipping CRD annotation patch: annotation update is disabled
logger.go:146: 2025-01-20T09:39:48.870Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:472 Streaming log started {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
logger.go:146: 2025-01-20T09:39:48.871Z 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-01-20T09:39:48.871Z 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.921ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:39:48.877Z 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.505ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "8dd0bf81-e770-35a0-b313-945af4046bd2" 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.642ms] [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-01-20T09:39:52.027Z 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.694ms] [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.690ms] [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-01-20T09:39:51Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-01-20T09:39:51Z"",""completionTime"":""2025-01-20T09:39:48Z""}}",`created_time`="2025-01-20 09:39:47.245",`updated_time`="2025-01-20 09:39:52.03",`etag`="14307617-0436-4c25-b215-c50d53f2c173-1737365992030411752" WHERE `parent` = "ns" AND `result_id` = "a639cbc9-9eb4-4142-8124-3109ba66fe2f" AND `id` = "14307617-0436-4c25-b215-c50d53f2c173"
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0.724ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:39:53.029Z 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.614ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c9da4b9b-3a6f-31a1-ba61-cd75f8380491" 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.655ms] [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-01-20T09:39:53.111Z 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.769ms] [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.721ms] [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-01-20T09:39:51Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-01-20T09:39:51Z"",""completionTime"":""2025-01-20T09:39:48Z""}}",`created_time`="2025-01-20 09:39:47.245",`updated_time`="2025-01-20 09:39:53.114",`etag`="14307617-0436-4c25-b215-c50d53f2c173-1737365993114765056" WHERE `parent` = "ns" AND `result_id` = "a639cbc9-9eb4-4142-8124-3109ba66fe2f" AND `id` = "14307617-0436-4c25-b215-c50d53f2c173"
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0.757ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:39:53.962Z 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.798ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c9da4b9b-3a6f-31a1-ba61-cd75f8380491" 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.708ms] [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-01-20T09:39:54.077Z 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.621ms] [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.933ms] [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-01-20T09:39:51Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-01-20T09:39:51Z"",""completionTime"":""2025-01-20T09:39:48Z""}}",`created_time`="2025-01-20 09:39:47.245",`updated_time`="2025-01-20 09:39:54.08",`etag`="14307617-0436-4c25-b215-c50d53f2c173-1737365994080109300" WHERE `parent` = "ns" AND `result_id` = "a639cbc9-9eb4-4142-8124-3109ba66fe2f" AND `id` = "14307617-0436-4c25-b215-c50d53f2c173"
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0.728ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:39:55.752Z 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` = "c9da4b9b-3a6f-31a1-ba61-cd75f8380491" 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.534ms] [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-01-20T09:39:55.785Z 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.446ms] [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
[77.904ms] [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-01-20T09:39:51Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-01-20T09:39:51Z"",""completionTime"":""2025-01-20T09:39:48Z""}}",`created_time`="2025-01-20 09:39:47.245",`updated_time`="2025-01-20 09:39:55.787",`etag`="14307617-0436-4c25-b215-c50d53f2c173-1737365995787088759" WHERE `parent` = "ns" AND `result_id` = "a639cbc9-9eb4-4142-8124-3109ba66fe2f" AND `id` = "14307617-0436-4c25-b215-c50d53f2c173"
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[272.113ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:39:57.677Z 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.536ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c9da4b9b-3a6f-31a1-ba61-cd75f8380491" 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.440ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "f7d30aa7-c309-456e-8a1c-6b1496d4a50a" AND `records`.`name` = "12345" ORDER BY `records`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:39:59.332Z DEBUG TestReconcile_TaskRun results/results.go:334 Record doesn't exist yet - creating {"results.tekton.dev/record": "ns/results/f7d30aa7-c309-456e-8a1c-6b1496d4a50a/records/12345"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[0.431ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "f7d30aa7-c309-456e-8a1c-6b1496d4a50a" ORDER BY `results`.`id` LIMIT 1
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
[584.814ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","9a9f7529-3e7c-4b30-bb7a-f454e0997dab","f7d30aa7-c309-456e-8a1c-6b1496d4a50a","07674721-e43e-46ca-8f4e-ba1664cfb00a","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"":""f7d30aa7-c309-456e-8a1c-6b1496d4a50a""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-01-20T09:39:51Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-01-20T09:39:51Z"",""completionTime"":""2025-01-20T09:39:48Z""}}","07674721-e43e-46ca-8f4e-ba1664cfb00a-1737365999334172764","2025-01-20 09:39:59.334","2025-01-20 09:39:59.334") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0.496ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "f7d30aa7-c309-456e-8a1c-6b1496d4a50a" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:39:59.922Z 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/f7d30aa7-c309-456e-8a1c-6b1496d4a50a", "results.tekton.dev/record": "ns/results/f7d30aa7-c309-456e-8a1c-6b1496d4a50a/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.402ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "f7d30aa7-c309-456e-8a1c-6b1496d4a50a" AND `records`.`name` = "5bfae80f-55df-3386-bdfe-07faa4c41453" 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.377ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "f7d30aa7-c309-456e-8a1c-6b1496d4a50a" AND `records`.`name` = "5bfae80f-55df-3386-bdfe-07faa4c41453" 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.416ms] [rows:1] SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "f7d30aa7-c309-456e-8a1c-6b1496d4a50a" ORDER BY `results`.`id` LIMIT 1
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82
[184.952ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","9a9f7529-3e7c-4b30-bb7a-f454e0997dab","f7d30aa7-c309-456e-8a1c-6b1496d4a50a","d3c02e44-8888-4962-840b-82f53d3b4c73","5bfae80f-55df-3386-bdfe-07faa4c41453","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""taskrun-log"",""namespace"":""ns"",""uid"":""5bfae80f-55df-3386-bdfe-07faa4c41453"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""TaskRun"",""namespace"":""ns"",""name"":""taskrun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","d3c02e44-8888-4962-840b-82f53d3b4c73-1737365999930674588","2025-01-20 09:39:59.93","2025-01-20 09:39:59.93") RETURNING `created_time`,`updated_time`
logger.go:146: 2025-01-20T09:40:00.119Z DEBUG TestReconcile_TaskRun dynamic/dynamic.go:472 Streaming log started {"namespace": "ns", "kind": "TaskRun", "name": "taskrun"}
logger.go:146: 2025-01-20T09:40:00.121Z 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-01-20T09:40:00.121Z 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.582ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "f7d30aa7-c309-456e-8a1c-6b1496d4a50a" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:40:00.123Z 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/f7d30aa7-c309-456e-8a1c-6b1496d4a50a", "results.tekton.dev/record": "ns/results/f7d30aa7-c309-456e-8a1c-6b1496d4a50a/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.440ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "f7d30aa7-c309-456e-8a1c-6b1496d4a50a" AND `records`.`name` = "b7bcb2ce-37ae-30e8-b130-e1ead565afd6" 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.544ms] [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-01-20T09:40:00.190Z 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.638ms] [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.604ms] [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"":""7b5ba5e0-68b1-4a45-9298-c34f8fcfb13d""}]},""spec"":{""serviceAccountName"":"""",""taskSpec"":{""steps"":[{""name"":"""",""computeResources"":{},""script"":""echo hello world!""}]}},""status"":{""conditions"":[{""type"":""Succeeded"",""status"":""False"",""lastTransitionTime"":""2025-01-20T09:39:51Z"",""reason"":""Failed"",""message"":""Failed""}],""podName"":"""",""startTime"":""2025-01-20T09:39:51Z"",""completionTime"":""2025-01-20T09:39:48Z""}}",`created_time`="2025-01-20 09:39:47.245",`updated_time`="2025-01-20 09:40:00.192",`etag`="14307617-0436-4c25-b215-c50d53f2c173-1737366000192722705" WHERE `parent` = "ns" AND `result_id` = "a639cbc9-9eb4-4142-8124-3109ba66fe2f" AND `id` = "14307617-0436-4c25-b215-c50d53f2c173"
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0.657ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:40:00.216Z 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.558ms] [rows:1] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "c9da4b9b-3a6f-31a1-ba61-cd75f8380491" 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 29 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.138ms] [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
[56.114ms] [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
[37.086ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737366000.380299,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/internal/test.NewResultsClient\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/internal/test/clients.go:44\ngithub.com/tektoncd/results/pkg/watcher/reconciler/dynamic.TestReconcile_PipelineRun\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/reconciler/dynamic/dynamic_test.go:438\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found
[0.443ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:40:00.387Z DEBUG TestReconcile_PipelineRun results/results.go:188 Result doesn't exist yet - creating {"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/results.go:72
[38.416ms] [rows:1] 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 ("ns","765c5829-8415-420e-abc1-747d642dea7c","12345","{""object.metadata.name"":""pipelinerun""}","ns/results/12345/records/12345","tekton.dev/v1.PipelineRun",NULL,"0000-00-00 00:00:00",1,"null","765c5829-8415-420e-abc1-747d642dea7c-1737366000388534143","2025-01-20 09:40:00.388","2025-01-20 09:40:00.388") RETURNING `created_time`,`updated_time`
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:135 record not found
... skipping 15 lines ...
[0.449ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "4e114a05-7e4c-3d8f-b9c3-615ef2331703" 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.346ms] [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
[20.322ms] [rows:1] INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("ns","765c5829-8415-420e-abc1-747d642dea7c","12345","2815f467-d930-4c69-b16a-1dfa57441ded","4e114a05-7e4c-3d8f-b9c3-615ef2331703","results.tekton.dev/v1alpha3.Log","{""kind"":""Log"",""apiVersion"":""results.tekton.dev/v1alpha3"",""metadata"":{""name"":""pipelinerun-log"",""namespace"":""ns"",""uid"":""4e114a05-7e4c-3d8f-b9c3-615ef2331703"",""creationTimestamp"":null},""spec"":{""resource"":{""kind"":""PipelineRun"",""namespace"":""ns"",""name"":""pipelinerun"",""uid"":""12345""},""type"":""File""},""status"":{""size"":0,""isStored"":false,""errorOnStoreMsg"":"""",""isRetryableErr"":false}}","2815f467-d930-4c69-b16a-1dfa57441ded-1737366000534716056","2025-01-20 09:40:00.534","2025-01-20 09:40:00.534") RETURNING `created_time`,`updated_time`
logger.go:146: 2025-01-20T09:40:00.561Z DEBUG TestReconcile_PipelineRun dynamic/dynamic.go:472 Streaming log started {"namespace": "ns", "kind": "PipelineRun", "name": "pipelinerun"}
logger.go:146: 2025-01-20T09:40:00.562Z 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-01-20T09:40:00.562Z 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.637ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "ns" AND `results`.`name` = "12345" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:40:00.566Z 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.338ms] [rows:0] SELECT * FROM `records` WHERE `records`.`parent` = "ns" AND `records`.`result_name` = "12345" AND `records`.`name` = "336cb106-d304-3b71-a017-7118ef0be7b5" ORDER BY `records`.`id` LIMIT 1
... skipping 58 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[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
[607.758ms] [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
[467.698ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365984.3727307,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/internal/test.NewResultsClient\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/internal/test/clients.go:44\ngithub.com/tektoncd/results/pkg/watcher/results.client\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results_test.go:627\ngithub.com/tektoncd/results/pkg/watcher/results.TestClient_PutLog\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/logs_test.go:15\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
=== RUN TestClient_PutLog/taskrun
=== RUN TestClient_PutLog/taskrun/create
=== NAME TestClient_PutLog
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found
[0.559ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
... skipping 87 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.205ms] [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
[431.802ms] [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
[859.527ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365992.703779,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/internal/test.NewResultsClient\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/internal/test/clients.go:44\ngithub.com/tektoncd/results/pkg/watcher/results.client\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results_test.go:627\ngithub.com/tektoncd/results/pkg/watcher/results.TestEnsureResult\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results_test.go:236\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found
[0.336ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1
=== RUN TestEnsureResult/foo
=== NAME TestEnsureResult
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found
[0.366ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1
... skipping 31 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.135ms] [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
[1673.630ms] [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
[792.260ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737365999.5441911,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/internal/test.NewResultsClient\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/internal/test/clients.go:44\ngithub.com/tektoncd/results/pkg/watcher/results.client\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results_test.go:627\ngithub.com/tektoncd/results/pkg/watcher/results.TestEnsureResult_RecordSummaryUpdate\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results_test.go:305\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found
[0.421ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "default" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:39:59.549Z DEBUG results/results.go:188 Result doesn't exist yet - creating {"results.tekton.dev/result": "default/results/1", "results.tekton.dev/record": "default/results/1/records/2", "results.tekton.dev/top-level-record": false}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[420.300ms] [rows:1] 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 ("default","59d36f51-db2e-406d-8dda-db6d5e823f48","1","null","","",NULL,NULL,0,"null","59d36f51-db2e-406d-8dda-db6d5e823f48-1737365999550337408","2025-01-20 09:39:59.55","2025-01-20 09:39:59.55") RETURNING `created_time`,`updated_time`
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/server.go:96
[0.103ms] [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
[14.779ms] [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
[25.947ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737366000.2238302,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/internal/test.NewResultsClient\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/internal/test/clients.go:44\ngithub.com/tektoncd/results/pkg/watcher/results.client\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results_test.go:627\ngithub.com/tektoncd/results/pkg/watcher/results.TestAnnotations\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results_test.go:353\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found
[0.407ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "default" AND `results`.`name` = "1" ORDER BY `results`.`id` LIMIT 1
logger.go:146: 2025-01-20T09:40:00.229Z DEBUG results/results.go:188 Result doesn't exist yet - creating {"results.tekton.dev/result": "default/results/1", "results.tekton.dev/record": "default/results/1/records/1", "results.tekton.dev/top-level-record": true}
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[9.833ms] [rows:1] 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 ("default","2506c5b4-f64e-4379-85df-e1ae24ee3cd3","1","{""i"":""7"",""object.metadata.name"":""foo"",""x"":""y""}","default/results/1/records/1","tekton.dev/v1.PipelineRun",NULL,NULL,0,"{""foo"":""bar"",""test"":""1""}","2506c5b4-f64e-4379-85df-e1ae24ee3cd3-1737366000230916870","2025-01-20 09:40:00.23","2025-01-20 09:40:00.23") RETURNING `created_time`,`updated_time`
--- PASS: TestAnnotations (0.11s)
... skipping 10 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[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
[63.266ms] [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
[50.966ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737366000.4121773,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/internal/test.NewResultsClient\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/internal/test/clients.go:44\ngithub.com/tektoncd/results/pkg/watcher/results.client\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results_test.go:627\ngithub.com/tektoncd/results/pkg/watcher/results.TestUpsertRecord\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results_test.go:387\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
=== RUN TestUpsertRecord/taskrun
=== NAME TestUpsertRecord
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found
[0.420ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
[64.106ms] [rows:1] 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 ("test","b4ddc5d8-5143-41df-955d-eb3c6840b599","taskrun-id","{""object.metadata.name"":""taskrun""}","test/results/taskrun-id/records/taskrun-id","tekton.dev/v1.TaskRun",NULL,NULL,0,"null","b4ddc5d8-5143-41df-955d-eb3c6840b599-1737366000420928937","2025-01-20 09:40:00.42","2025-01-20 09:40:00.42") RETURNING `created_time`,`updated_time`
... skipping 73 lines ...
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0.143ms] [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
[15.715ms] [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
[11.749ms] [rows:0] CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"error","ts":1737366000.8660116,"caller":"plugin/plugin_logs.go:400","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:400\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\ngithub.com/tektoncd/results/pkg/internal/test.NewResultsClient\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/internal/test/clients.go:44\ngithub.com/tektoncd/results/pkg/watcher/results.client\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results_test.go:627\ngithub.com/tektoncd/results/pkg/watcher/results.TestPut\n\t/home/prow/go/src/github.com/tektoncd/results/pkg/watcher/results/results_test.go:557\ntesting.tRunner\n\t/usr/local/go/src/testing/testing.go:1690"}
=== RUN TestPut/taskrun
=== RUN TestPut/taskrun/create
=== NAME TestPut
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208 record not found
[0.477ms] [rows:0] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1
db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72
... skipping 46 lines ...
--- PASS: TestPut/pipelinerun/update (0.01s)
PASS
ok github.com/tektoncd/results/pkg/watcher/results 20.507s
testing: warning: no tests to run
PASS
ok github.com/tektoncd/results/tools/postgres-migrate 1.136s [no tests to run]
FAIL
unit_tests returning
===========================
==== UNIT TESTS FAILED ====
===========================
+ EXIT_VALUE=1
+ set +o xtrace