Created
August 7, 2020 19:36
-
-
Save pritidesai/ca789848187184717ba920fea7ea7e02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: tekton.dev/v1beta1 | |
kind: TaskRun | |
metadata: | |
name: taskrun-failure | |
spec: | |
taskRef: | |
name: does-not-exist |
Tekton Logs for this TaskRun on with PR 3068:
{"level":"info","logger":"tekton.event-broadcaster","caller":"record/event.go:281","msg":"Event(v1.ObjectReference{Kind:\"TaskRun\", Namespace:\"default\", Name:\"taskrun-failure\", UID:\"68fa1823-b317-4298-bbe7-b04310ff4d8f\", APIVersion:\"tekton.dev/v1beta1\", ResourceVersion:\"1322072\", FieldPath:\"\"}): type: 'Normal' reason: 'Started' ","commit":"de57ce1"}
{"level":"error","logger":"tekton.github.com-tektoncd-pipeline-pkg-reconciler-taskrun.Reconciler","caller":"taskrun/taskrun.go:260","msg":"Failed to determine Task spec to use for taskrun taskrun-failure: error when listing tasks for taskRun taskrun-failure: tasks.tekton.dev \"does-not-exist\" not found","commit":"de57ce1","knative.dev/traceid":"6c6505a9-12a9-4352-86b9-53058150d3f3","knative.dev/key":"default/taskrun-failure","stacktrace":"github.com/tektoncd/pipeline/pkg/reconciler/taskrun.(*Reconciler).prepare\n\tgithub.com/tektoncd/pipeline/pkg/reconciler/taskrun/taskrun.go:260\ngithub.com/tektoncd/pipeline/pkg/reconciler/taskrun.(*Reconciler).ReconcileKind\n\tgithub.com/tektoncd/pipeline/pkg/reconciler/taskrun/taskrun.go:165\ngithub.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1beta1/taskrun.(*reconcilerImpl).Reconcile\n\tgithub.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1beta1/taskrun/reconciler.go:237\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tknative.dev/[email protected]/controller/controller.go:465\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\tknative.dev/[email protected]/controller/controller.go:403"}
{"level":"error","logger":"tekton.github.com-tektoncd-pipeline-pkg-reconciler-taskrun.Reconciler","caller":"taskrun/taskrun.go:167","msg":"TaskRun prepare error: error when listing tasks for taskRun taskrun-failure: tasks.tekton.dev \"does-not-exist\" not found","commit":"de57ce1","knative.dev/traceid":"6c6505a9-12a9-4352-86b9-53058150d3f3","knative.dev/key":"default/taskrun-failure","stacktrace":"github.com/tektoncd/pipeline/pkg/reconciler/taskrun.(*Reconciler).ReconcileKind\n\tgithub.com/tektoncd/pipeline/pkg/reconciler/taskrun/taskrun.go:167\ngithub.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1beta1/taskrun.(*reconcilerImpl).Reconcile\n\tgithub.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1beta1/taskrun/reconciler.go:237\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tknative.dev/[email protected]/controller/controller.go:465\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\tknative.dev/[email protected]/controller/controller.go:403"}
{"level":"info","logger":"tekton.event-broadcaster","caller":"record/event.go:281","msg":"Event(v1.ObjectReference{Kind:\"TaskRun\", Namespace:\"default\", Name:\"taskrun-failure\", UID:\"68fa1823-b317-4298-bbe7-b04310ff4d8f\", APIVersion:\"tekton.dev/v1beta1\", ResourceVersion:\"1322072\", FieldPath:\"\"}): type: 'Warning' reason: 'Failed' error when listing tasks for taskRun taskrun-failure: tasks.tekton.dev \"does-not-exist\" not found","commit":"de57ce1"}
{"level":"error","logger":"tekton.github.com-tektoncd-pipeline-pkg-reconciler-taskrun.Reconciler","caller":"taskrun/reconciler.go:296","msg":"Returned an error","commit":"de57ce1","knative.dev/traceid":"6c6505a9-12a9-4352-86b9-53058150d3f3","knative.dev/key":"default/taskrun-failure","targetMethod":"ReconcileKind","error":"1 error occurred:\n\t* error when listing tasks for taskRun taskrun-failure: tasks.tekton.dev \"does-not-exist\" not found\n\n","stacktrace":"github.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1beta1/taskrun.(*reconcilerImpl).Reconcile\n\tgithub.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1beta1/taskrun/reconciler.go:296\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tknative.dev/[email protected]/controller/controller.go:465\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\tknative.dev/[email protected]/controller/controller.go:403"}
{"level":"error","logger":"tekton.github.com-tektoncd-pipeline-pkg-reconciler-taskrun.Reconciler","caller":"controller/controller.go:480","msg":"Reconcile error","commit":"de57ce1","error":"1 error occurred:\n\t* error when listing tasks for taskRun taskrun-failure: tasks.tekton.dev \"does-not-exist\" not found\n\n","stacktrace":"knative.dev/pkg/controller.(*Impl).handleErr\n\tknative.dev/[email protected]/controller/controller.go:480\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tknative.dev/[email protected]/controller/controller.go:466\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\tknative.dev/[email protected]/controller/controller.go:403"}
{"level":"info","logger":"tekton.github.com-tektoncd-pipeline-pkg-reconciler-taskrun.Reconciler","caller":"controller/controller.go:467","msg":"Reconcile failed. Time taken: 12.4416ms","commit":"de57ce1","knative.dev/traceid":"6c6505a9-12a9-4352-86b9-53058150d3f3","knative.dev/key":"default/taskrun-failure"}
{"level":"info","logger":"tekton.github.com-tektoncd-pipeline-pkg-reconciler-taskrun.Reconciler","caller":"taskrun/taskrun.go:112","msg":"taskrun done : taskrun-failure \n","commit":"de57ce1","knative.dev/traceid":"5a739a19-03fa-48e5-8cc1-d3ec9940f766","knative.dev/key":"default/taskrun-failure"}
{"level":"info","logger":"tekton.github.com-tektoncd-pipeline-pkg-reconciler-taskrun.Reconciler","caller":"controller/controller.go:474","msg":"Reconcile succeeded. Time taken: 550.5µs","commit":"de57ce1","knative.dev/traceid":"5a739a19-03fa-48e5-8cc1-d3ec9940f766","knative.dev/key":"default/taskrun-failure"}
{"level":"info","logger":"tekton.event-broadcaster","caller":"record/event.go:281","msg":"Event(v1.ObjectReference{Kind:\"TaskRun\", Namespace:\"default\", Name:\"taskrun-failure\", UID:\"68fa1823-b317-4298-bbe7-b04310ff4d8f\", APIVersion:\"tekton.dev/v1beta1\", ResourceVersion:\"1322072\", FieldPath:\"\"}): type: 'Warning' reason: 'InternalError' 1 error occurred:\n\t* error when listing tasks for taskRun taskrun-failure: tasks.tekton.dev \"does-not-exist\" not found\n\n","commit":"de57ce1"}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tekton Logs for this
TaskRun
on master: