You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"level":"error","logger":"controller.taskrun-controller","caller":"taskrun/taskrun.go:164","msg":"Error stopping sidecars for TaskRun \"demo-pipeline-run-4-cluster-task-pipeline-4-p6ch2\": resource name may not be empty","knative.dev/controller":"taskrun-controller","stacktrace":"github.com/tektoncd/pipeline/pkg/reconciler/v1alpha1/taskrun.(*Reconciler).Reconcile\n\t/Users/stephen/cloud/go/src/github.com/tektoncd/pipeline/pkg/reconciler/v1alpha1/taskrun/taskrun.go:164\ngithub.com/tektoncd/pipeline/vendor/github.com/knative/pkg/controller.(*Impl).processNextWorkItem\n\t/Users/stephen/cloud/go/src/github.com/tektoncd/pipeline/vendor/github.com/knative/pkg/controller/controller.go:330\ngithub.com/tektoncd/pipeline/vendor/github.com/knative/pkg/controller.(*Impl).Run.func1\n\t/Users/stephen/cloud/go/src/github.com/tektoncd/pipeline/vendor/github.com/knative/pkg/controller/controller.go:282"}
{"level":"error","logger":"controller.taskrun-controller","caller":"controller/controller.go:345","msg":"Reconcile error","knative.dev/controller":"taskrun-controller","error":"resource name may not be empty","stacktrace":"github.com/tektoncd/pipeline/vendor/github.com/knative/pkg/controller.(*Impl).handleErr\n\t/Users/stephen/cloud/go/src/github.com/tektoncd/pipeline/vendor/github.com/knative/pkg/controller/controller.go:345\ngithub.com/tektoncd/pipeline/vendor/github.com/knative/pkg/controller.(*Impl).processNextWorkItem\n\t/Users/stephen/cloud/go/src/github.com/tektoncd/pipeline/vendor/github.com/knative/pkg/controller/controller.go:331\ngithub.com/tektoncd/pipeline/vendor/github.com/knative/pkg/controller.(*Impl).Run.func1\n\t/Users/stephen/cloud/go/src/github.com/tektoncd/pipeline/vendor/github.com/knative/pkg/controller/controller.go:282"}
{"level":"info","logger":"controller.taskrun-controller","caller":"controller/controller.go:332","msg":"Reconcile failed. Time taken: 837.3µs.","knative.dev/controller":"taskrun-controller","knative.dev/traceid":"3d40844a-f82c-4fd3-a5d8-7d9599895052","knative.dev/key":"default/demo-pipeline-run-4-cluster-task-pipeline-4-p6ch2"}
The Task Run which gets created (The taskRef.kind field has Task as its value)
Expected Behavior
Cluster tasks should be runnable from pipelineRuns.
Actual Behavior
The pipeline run and task run fails. TaskRun with the status
Root cause seems to be the taskRun is created with the wrong kind attached to the
taskRef.spec.kind
field. (see the taskRun resource below)Steps to Reproduce the Problem
Additional Info
controller logs
The Task Run which gets created (The taskRef.kind field has
Task
as its value)Looking to get involved in contributing to the pipeline project. If it's unexpected behaviour I'd be happy to take this one.
The text was updated successfully, but these errors were encountered: