+ go test -v -count=1 --tags=e2e github.com/tektoncd/results/test/e2e
=== RUN TestTaskRun
e2e_test.go:136: Error creating TaskRun: conversion webhook for tekton.dev/v1beta1, Kind=TaskRun failed: Post "https://tekton-pipelines-webhook.tekton-pipelines.svc:443/?timeout=30s": dial tcp 10.96.135.112:443: connect: connection refused
--- FAIL: TestTaskRun (0.02s)
=== RUN TestPipelineRun
e2e_test.go:216: Error creating PipelineRun: conversion webhook for tekton.dev/v1beta1, Kind=PipelineRun failed: Post "https://tekton-pipelines-webhook.tekton-pipelines.svc:443/?timeout=30s": dial tcp 10.96.135.112:443: connect: connection refused
--- FAIL: TestPipelineRun (0.01s)
=== RUN TestGRPCLogging
=== RUN TestGRPCLogging/log_entry_is_found_when_not_expected
=== RUN TestGRPCLogging/log_entry_is_found_when_expected
--- PASS: TestGRPCLogging (0.07s)
--- PASS: TestGRPCLogging/log_entry_is_found_when_not_expected (0.03s)
--- PASS: TestGRPCLogging/log_entry_is_found_when_expected (0.03s)
=== RUN TestListResults
=== RUN TestListResults/list_results_under_the_default_parent
e2e_test.go:500: No Results returned by the API server
=== RUN TestListResults/list_results_across_parents
=== RUN TestListResults/return_an_error_because_the_identity_isn't_authorized_to_access_all_namespaces
=== RUN TestListResults/list_results_under_the_default_parent_using_the_identity_with_more_limited_access
e2e_test.go:553: No Results returned by the API server
=== RUN TestListResults/grpc_and_rest_consistency
--- FAIL: TestListResults (1.18s)
--- FAIL: TestListResults/list_results_under_the_default_parent (0.01s)
--- PASS: TestListResults/list_results_across_parents (0.02s)
--- PASS: TestListResults/return_an_error_because_the_identity_isn't_authorized_to_access_all_namespaces (0.01s)
--- FAIL: TestListResults/list_results_under_the_default_parent_using_the_identity_with_more_limited_access (0.33s)
--- PASS: TestListResults/grpc_and_rest_consistency (0.80s)
=== RUN TestListRecords
=== RUN TestListRecords/list_records_by_omitting_the_result_name
e2e_test.go:587: No Records returned by the API server
=== RUN TestListRecords/list_records_by_omitting_the_parent_and_result_names
=== RUN TestListRecords/return_an_error_because_the_identity_isn't_authorized_to_access_all_namespaces
=== RUN TestListRecords/list_records_using_the_identity_with_more_limited_access
e2e_test.go:639: No Records returned by the API server
=== RUN TestListRecords/grpc_and_rest_consistency
--- FAIL: TestListRecords (2.80s)
--- FAIL: TestListRecords/list_records_by_omitting_the_result_name (0.40s)
--- PASS: TestListRecords/list_records_by_omitting_the_parent_and_result_names (0.80s)
--- PASS: TestListRecords/return_an_error_because_the_identity_isn't_authorized_to_access_all_namespaces (0.40s)
--- FAIL: TestListRecords/list_records_using_the_identity_with_more_limited_access (0.40s)
--- PASS: TestListRecords/grpc_and_rest_consistency (0.80s)
=== RUN TestGetResult
--- FAIL: TestGetResult (0.40s)
panic: runtime error: index out of range [0] with length 0 [recovered]
panic: runtime error: index out of range [0] with length 0
goroutine 156 [running]:
testing.tRunner.func1.2({0x179f8a0, 0xc0006320c0})
/usr/lib/golang/src/testing/testing.go:1631 +0x24a
testing.tRunner.func1()
/usr/lib/golang/src/testing/testing.go:1634 +0x377
panic({0x179f8a0?, 0xc0006320c0?})
/usr/lib/golang/src/runtime/panic.go:770 +0x132
github.com/tektoncd/results/test/e2e.TestGetResult(0xc0009331e0)
/home/enatan/src/github.com/enarha/results/test/e2e/e2e_test.go:671 +0x3a5
testing.tRunner(0xc0009331e0, 0x1985020)
/usr/lib/golang/src/testing/testing.go:1689 +0xfb
created by testing.(*T).Run in goroutine 1
/usr/lib/golang/src/testing/testing.go:1742 +0x390
FAIL github.com/tektoncd/results/test/e2e 4.504s
FAIL
Steps to Reproduce the Problem
Checkout the main branch and run ./test/e2e/e2e.sh
Additional Info
Kubernetes version:
Output of kubectl version:
(paste your output here)
Tekton Pipeline version:
Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
Expected Behavior
Tests on the main branch pass
Actual Behavior
Steps to Reproduce the Problem
./test/e2e/e2e.sh
Additional Info
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version:
Output of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'