ResultABORTED
Tests 0 failed / 0 succeeded
Started2024-11-11 08:12
Elapsed15m36s
Revisione3efca94a4c6314824245631026572f6ca8da79d
Refs 880

No Test Failures!


Error lines from build-log.txt

... skipping 4 lines ...
2024/11/11 08:12:31 mkdir -p /logs/artifacts
2024/11/11 08:12:31 artifacts dir=/logs/artifacts
2024/11/11 08:12:31 covTargets = [./...]
2024/11/11 08:12:31 
Starts calc.runProfiling(...)
2024/11/11 08:12:31 go cmdArgs=[test ./... -covermode=count -coverprofile /logs/artifacts/coverage_profile.txt]
2024/11/11 08:18:44 Error running 'go test -coverprofile ': error='exit status 1'; combined output='	github.com/tektoncd/results/cmd/cli-docs		coverage: 0.0% of statements
ok  	github.com/tektoncd/results/cmd/api	0.115s	coverage: 8.3% of statements
	github.com/tektoncd/results/cmd/retention-policy-agent		coverage: 0.0% of statements
	github.com/tektoncd/results/cmd/tkn-results		coverage: 0.0% of statements
	github.com/tektoncd/results/cmd/watcher		coverage: 0.0% of statements
	github.com/tektoncd/results/pkg/api/server/db/errors		coverage: 0.0% of statements
	github.com/tektoncd/results/pkg/api/server/config		coverage: 0.0% of statements
... skipping 47 lines ...
	github.com/tektoncd/results/test/e2e/client		coverage: 0.0% of statements
	github.com/tektoncd/results/proto/v1alpha3/results_go_proto		coverage: 0.0% of statements
	github.com/tektoncd/results/tools/simpleui		coverage: 0.0% of statements
	github.com/tektoncd/results/proto/pipeline/v1/pipeline_go_proto		coverage: 0.0% of statements
ok  	github.com/tektoncd/results/pkg/watcher/reconciler/dynamic	20.349s	coverage: 50.8% of statements
ok  	github.com/tektoncd/results/pkg/watcher/reconciler/pipelinerun	0.650s	coverage: 23.7% of statements
--- FAIL: TestEnsureResult (6.01s)
    results_test.go:236: test database:  /tmp/testdb3711921945
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/test/db.go:59
        [0.016ms] [rows:0] PRAGMA foreign_keys = ON;
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:129
        [0.087ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="results"
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:129
... skipping 13 lines ...
    logger.go:146: 2024-11-11T08:18:19.657Z	DEBUG	results/results.go:188	Result doesn't exist yet - creating	{"results.tekton.dev/result": "test/results/taskrun-id", "results.tekton.dev/record": "test/results/taskrun-id/records/taskrun-id", "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
        [970.478ms] [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","cda95b4d-f414-4feb-b811-e619c8c1de38","taskrun-id","{""object.metadata.name"":""taskrun""}","test/results/taskrun-id/records/taskrun-id","tekton.dev/v1.TaskRun",NULL,NULL,0,"null","cda95b4d-f414-4feb-b811-e619c8c1de38-1731313099658464661","2024-11-11 08:18:19.658","2024-11-11 08:18:19.658") RETURNING `created_time`,`updated_time`
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [0.464ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "taskrun-id" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2024-11-11T08:18:20.631Z	DEBUG	results/results.go:210	No further actions to be done on the Result: no differences found	{"results.tekton.dev/result": "test/results/taskrun-id", "results.tekton.dev/record": "test/results/taskrun-id/records/taskrun-id", "results.tekton.dev/top-level-record": true}
    --- FAIL: TestEnsureResult/taskrun (0.98s)
        results_test.go:286: Create Result diff (-want, +got):
              (*results_go_proto.Result)(Inverse(protocmp.Transform, protocmp.Message{
              	"@type":       s"tekton.results.v1alpha2.Result",
            - 	"annotations": map[string]string{"object.metadata.name": "pipelinerun"},
            + 	"annotations": map[string]string{"object.metadata.name": "taskrun"},
              	... // 7 ignored and 2 identical entries
... skipping 5 lines ...
    logger.go:146: 2024-11-11T08:18:20.635Z	DEBUG	results/results.go:188	Result doesn't exist yet - creating	{"results.tekton.dev/result": "test/results/pipelinerun-id", "results.tekton.dev/record": "test/results/pipelinerun-id/records/pipelinerun-id", "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
        [801.402ms] [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","3e605f0e-2442-4008-8735-5fbbf805758e","pipelinerun-id","{""object.metadata.name"":""pipelinerun""}","test/results/pipelinerun-id/records/pipelinerun-id","tekton.dev/v1.PipelineRun",NULL,NULL,0,"null","3e605f0e-2442-4008-8735-5fbbf805758e-1731313100635514297","2024-11-11 08:18:20.635","2024-11-11 08:18:20.635") RETURNING `created_time`,`updated_time`
    db.go:69: /home/prow/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/results.go:208
        [1.114ms] [rows:1] SELECT * FROM `results` WHERE `results`.`parent` = "test" AND `results`.`name` = "pipelinerun-id" ORDER BY `results`.`id` LIMIT 1
    logger.go:146: 2024-11-11T08:18:21.440Z	DEBUG	results/results.go:210	No further actions to be done on the Result: no differences found	{"results.tekton.dev/result": "test/results/pipelinerun-id", "results.tekton.dev/record": "test/results/pipelinerun-id/records/pipelinerun-id", "results.tekton.dev/top-level-record": true}
FAIL
coverage: 59.9% of statements
FAIL	github.com/tektoncd/results/pkg/watcher/results	30.828s
ok  	github.com/tektoncd/results/tools/postgres-migrate	0.116s	coverage: [no statements] [no tests to run]
FAIL
'
2024/11/11 08:18:44 coverage profile created @ '/logs/artifacts/coverage_profile.txt'
2024/11/11 08:18:44 Created file:/logs/artifacts/profile-completed
2024/11/11 08:18:44 No content to be written to file 'profile-completed'
2024/11/11 08:18:44 Created marker file 'profile-completed'
2024/11/11 08:18:44 stdout of test coverage stored in /logs/artifacts/stdout.txt
... skipping 669 lines ...