Error lines from build-log.txt
... skipping 2164 lines ...
git version 2.43.0
============================
==== RUNNING UNIT TESTS ====
============================
/home/prow/go/src/github.com/tektoncd/results /home/prow/go/src/github.com/tektoncd/results
Using overridden unit_tests
2025/04/04 09:01:03 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 32 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.04s)
--- PASS: TestParseFilter/success (0.03s)
--- PASS: TestParseFilter/success/#00 (0.00s)
--- PASS: TestParseFilter/success/result (0.01s)
--- PASS: TestParseFilter/success/result.id (0.00s)
--- PASS: TestParseFilter/success/result.id_==_"1" (0.00s)
--- PASS: TestParseFilter/success/result.id_==_"1"_||_result.name_==_"2" (0.00s)
--- PASS: TestParseFilter/success/result.id.startsWith("tacocat") (0.00s)
--- PASS: TestParseFilter/error (0.00s)
--- PASS: TestParseFilter/error/asdf (0.00s)
--- PASS: TestParseFilter/error/result.id_==_1 (0.00s)
--- PASS: TestParseFilter/error/result.ID (0.00s)
PASS
ok github.com/tektoncd/results/pkg/api/server/cel 1.116s
=== RUN TestConvertRecordExpressions
=== RUN TestConvertRecordExpressions/simple_expression
convert_test.go:170: want: (name = 'foo')
convert_test.go:171: got: (name = 'foo')
... skipping 338 lines ...
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/logs.go:352
[0m[33m[1.023ms] [34;1m[rows:3][0m 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":1743757312.9735327,"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 (0.98s)
--- PASS: TestListLogs/all (0.08s)
--- PASS: TestListLogs/list_all_records_without_knowing_the_result_name (0.07s)
--- PASS: TestListLogs/list_all_records_without_knowing_the_parent_and_the_result_name (0.07s)
... skipping 171 lines ...
=== RUN TestCreateRecord/missing_name
=== RUN TestCreateRecord/result_used_as_name
=== RUN TestCreateRecord/already_exists
=== NAME TestCreateRecord
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:102
[0m[33m[0.384ms] [34;1m[rows:1][0m SELECT `results`.`name`,`results`.`id` FROM `results` WHERE `results`.`parent` = "foo" AND `results`.`name` = "bar" ORDER BY `results`.`id` LIMIT 1
db.go:69: [31;1m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [35;1mUNIQUE constraint failed: records.parent, records.result_name, records.name
[0m[33m[0.788ms] [34;1m[rows:0][0m 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-1743757313972309844","2025-04-04 09:01:53.972","2025-04-04 09:01:53.972") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord (0.24s)
--- PASS: TestCreateRecord/success (0.02s)
--- PASS: TestCreateRecord/mismatched_parent (0.00s)
--- PASS: TestCreateRecord/parent_does_not_exist (0.00s)
--- PASS: TestCreateRecord/missing_name (0.00s)
... skipping 13 lines ...
[0m[33m[0.134ms] [34;1m[rows:-][0m SELECT count(*) FROM sqlite_master WHERE type='table' AND name="records"
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0m[33m[25.541ms] [34;1m[rows:0][0m 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: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:96
[0m[33m[15.097ms] [34;1m[rows:0][0m CREATE UNIQUE INDEX `records_by_name` ON `records`(`parent`,`result_name`,`name`)
{"level":"warn","ts":1743757313.8529253,"caller":"plugin/plugin_logs.go:429","msg":"Plugin Logs API Disable: unsupported type of logs given for plugin, legacy logging system might work"}
db.go:69: [31;1m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/records.go:82 [35;1mFOREIGN KEY constraint failed
[0m[33m[1.330ms] [34;1m[rows:0][0m INSERT INTO `records` (`parent`,`result_id`,`result_name`,`id`,`name`,`type`,`data`,`etag`,`created_time`,`updated_time`) VALUES ("foo","deleted","deleted","28","baz","","","28-1743757313972309844","2025-04-04 09:01:53.972","2025-04-04 09:01:53.972") RETURNING `created_time`,`updated_time`
--- PASS: TestCreateRecord_ConcurrentDelete (0.10s)
=== RUN TestGetRecord
records_test.go:185: test database: /tmp/testdb3280238258
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59
[0m[33m[0.047ms] [34;1m[rows:0][0m PRAGMA foreign_keys = ON;
... skipping 439 lines ...
db.go:69: [32m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
[0m[33m[0.723ms] [34;1m[rows:1][0m 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: [31;1m/home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:72 [35;1mUNIQUE constraint failed: results.parent, results.name
[0m[33m[0.871ms] [34;1m[rows:0][0m 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-1743757338972309844","2025-04-04 09:02:18.972","2025-04-04 09:02:18.972") RETURNING `created_time`,`updated_time`
=== RUN TestCreateResult/large_name
=== RUN TestCreateResult/large_result_summary_type
--- PASS: TestCreateResult (0.11s)
--- PASS: TestCreateResult/success (0.01s)
--- PASS: TestCreateResult/mismatched_parent (0.00s)
... skipping 903 lines ...
=== RUN TestMatch/no_filter
=== RUN TestMatch/matching_condition
=== RUN TestMatch/non-matching_condition
=== RUN TestMatch/nil_result
=== RUN TestMatch/non-bool_output
=== RUN TestMatch/wrong_resource_type
2025/04/04 09:02:03 failed to evaluate the expression: no such attribute(s): record
--- PASS: TestMatch (0.05s)
--- PASS: TestMatch/no_filter (0.00s)
--- PASS: TestMatch/matching_condition (0.03s)
--- PASS: TestMatch/non-matching_condition (0.00s)
--- PASS: TestMatch/nil_result (0.00s)
--- PASS: TestMatch/non-bool_output (0.00s)
... skipping 88 lines ...
--- PASS: TestViewCommand/valid_params (0.00s)
--- PASS: TestViewCommand/nil_params (0.00s)
PASS
ok github.com/tektoncd/results/pkg/cli/cmd/config 1.175s
=== RUN TestNewConfig
=== RUN TestNewConfig/valid_params
config_test.go:42: Got error creating config (expected in CI): stat /root/.kube/config: no such file or directory
config_test.go:44: Expected config to be created even with error
--- FAIL: TestNewConfig (0.00s)
--- FAIL: TestNewConfig/valid_params (0.00s)
=== RUN TestSet
config_test.go:73: Expected no error, got stat /root/.kube/config: no such file or directory
--- FAIL: TestSet (0.00s)
=== RUN TestReset
config_test.go:94: Expected no error, got stat /root/.kube/config: no such file or directory
--- FAIL: TestReset (0.00s)
=== RUN TestLoadClientConfig
config_test.go:115: Expected no error, got stat /root/.kube/config: no such file or directory
--- FAIL: TestLoadClientConfig (0.00s)
=== RUN TestNewConfigError
--- PASS: TestNewConfigError (0.00s)
=== RUN TestSetWithPrompt
config_test.go:159: Expected no error, got stat /root/.kube/config: no such file or directory
--- FAIL: TestSetWithPrompt (0.00s)
=== RUN TestPersist
config_test.go:190: Expected no error, got stat /root/.kube/config: no such file or directory
--- FAIL: TestPersist (0.00s)
=== RUN TestSetVersion
config_test.go:205: Expected no error, got stat /root/.kube/config: no such file or directory
--- FAIL: TestSetVersion (0.00s)
=== RUN TestHost
config_test.go:223: Expected no error, got stat /root/.kube/config: no such file or directory
--- FAIL: TestHost (0.00s)
=== RUN TestToken
config_test.go:238: Expected no error, got stat /root/.kube/config: no such file or directory
--- FAIL: TestToken (0.00s)
=== RUN TestExtensionBasic
=== RUN TestExtensionBasic/valid_extension
=== RUN TestExtensionBasic/empty_extension
--- PASS: TestExtensionBasic (0.00s)
--- PASS: TestExtensionBasic/valid_extension (0.00s)
--- PASS: TestExtensionBasic/empty_extension (0.00s)
... skipping 8 lines ...
--- PASS: TestGetRoutes (0.10s)
--- PASS: TestGetRoutes/no_services_found (0.06s)
--- PASS: TestGetRoutes/invalid_config (0.00s)
--- PASS: TestGetRoutes/invalid_host (0.04s)
=== RUN TestGetRoutesWithNilConfig
--- PASS: TestGetRoutesWithNilConfig (0.00s)
FAIL
FAIL github.com/tektoncd/results/pkg/cli/config 0.251s
? github.com/tektoncd/results/pkg/cli/dev/cmd/logs [no test files]
? github.com/tektoncd/results/pkg/cli/dev/cmd/records [no test files]
? github.com/tektoncd/results/pkg/cli/dev/flags [no test files]
? github.com/tektoncd/results/pkg/cli/dev/format [no test files]
? github.com/tektoncd/results/pkg/cli/dev/portforward [no test files]
? github.com/tektoncd/results/pkg/converter [no test files]
... skipping 156 lines ...
--- PASS: TestStatus/Pod_Failure (0.00s)
--- PASS: TestStatus/Ready_Condition (0.00s)
--- PASS: TestStatus/Unknown_reason (0.00s)
--- PASS: TestStatus/#00 (0.00s)
PASS
ok github.com/tektoncd/results/pkg/watcher/convert 1.593s
{"component":"entrypoint","file":"k8s.io/test-infra/prow/entrypoint/run.go:169","func":"k8s.io/test-infra/prow/entrypoint.Options.ExecuteProcess","level":"error","msg":"Entrypoint received interrupt: terminated","severity":"error","time":"2025-04-04T09:02:21Z"}