Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-2380

Index out of range in tekton-pipelines-controller

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • Pipelines 1.8.0
    • Pipelines 1.8.0
    • Tekton Pipelines
    • None
    • Pipelines Sprint 222, Pipelines Sprint 223

      Expected behavior

      No errors in Pipelines controller

      Actual behavior

      {"level":"info","ts":"2022-07-29T13:54:15.214Z","logger":"tekton-pipelines-controller","caller":"pipelinerun/pipelinerun.go:603","msg":"PipelineRun git-pipeline-run-non-master-repo-with-def-ecaphoyy status is being set to &{Succeeded Unknown {2022-07-29 13:03:15 +0000 UTC} Running Tasks Completed: 0 (Failed: 0, Cancelled 0), Incomplete: 1, Skipped: 0}","commit":"19940f2","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","knative.dev/traceid":"5c00b8fc-9ca2-4e42-b5ab-6f54f1caabdc","knative.dev/key":"arendelle-nlxbq/git-pipeline-run-non-master-repo-with-def-ecaphoyy"}
      {"level":"warn","ts":"2022-07-29T13:54:15.214Z","logger":"tekton-pipelines-controller","caller":"artifacts/artifacts_storage.go:140","msg":"the configmap key \"location\" is empty","commit":"19940f2","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","knative.dev/traceid":"209b8766-4aa0-4157-bc4e-255c16852c08","knative.dev/key":"arendelle-fskhr/task-run-pipeline-run-cancel-retries-1-dvshclgk"}
      {"level":"info","ts":"2022-07-29T13:54:15.218Z","logger":"tekton-pipelines-controller","caller":"controller/controller.go:550","msg":"Reconcile succeeded","commit":"19940f2","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","knative.dev/traceid":"209b8766-4aa0-4157-bc4e-255c16852c08","knative.dev/key":"arendelle-fskhr/task-run-pipeline-run-cancel-retries-1-dvshclgk","duration":0.00400612}
      {"level":"info","ts":"2022-07-29T13:54:15.223Z","logger":"tekton-pipelines-controller.event-broadcaster","caller":"record/event.go:285","msg":"Event(v1.ObjectReference{Kind:\"PipelineRun\", Namespace:\"arendelle-xjnrf\", Name:\"task-run-pipeline-run-cancel-retries-0-byldyusy\", UID:\"327d32d0-f4aa-40ef-b35b-7665459cb676\", APIVersion:\"tekton.dev/v1beta1\", ResourceVersion:\"165138\", FieldPath:\"\"}): type: 'Warning' reason: 'Failed' PipelineRun \"task-run-pipeline-run-cancel-retries-0-byldyusy\" was cancelled","commit":"19940f2"}
      {"level":"info","ts":"2022-07-29T13:54:15.267Z","logger":"tekton-pipelines-controller","caller":"controller/controller.go:550","msg":"Reconcile succeeded","commit":"19940f2","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","knative.dev/traceid":"f68afa04-1232-471a-9f0a-457045a61d09","knative.dev/key":"arendelle-xjnrf/task-run-pipeline-run-cancel-retries-0-byldyusy","duration":0.054018541}
      {"level":"warn","ts":"2022-07-29T13:54:15.267Z","logger":"tekton-pipelines-controller","caller":"artifacts/artifacts_storage.go:140","msg":"the configmap key \"location\" is empty","commit":"19940f2","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","knative.dev/traceid":"3318ce71-dc63-425f-893d-c203ffe70a8d","knative.dev/key":"arendelle-xjnrf/task-run-pipeline-run-cancel-retries-0-byldyusy"}
      {"level":"info","ts":"2022-07-29T13:54:15.271Z","logger":"tekton-pipelines-controller","caller":"controller/controller.go:550","msg":"Reconcile succeeded","commit":"19940f2","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","knative.dev/traceid":"3318ce71-dc63-425f-893d-c203ffe70a8d","knative.dev/key":"arendelle-xjnrf/task-run-pipeline-run-cancel-retries-0-byldyusy","duration":0.003727614}
      I0729 13:54:22.519063 1 leaderelection.go:258] successfully acquired lease openshift-pipelines/tekton-pipelines-controller.github.com.tektoncd.pipeline.pkg.reconciler.taskrun.reconciler.00-of-01
      {"level":"info","ts":"2022-07-29T13:54:22.519Z","logger":"tekton-pipelines-controller","caller":"leaderelection/context.go:158","msg":"\"tekton-pipelines-controller-86d8f6ffc5-gxfjs_95f61304-7c0b-4910-80b2-9a464ff0e933\" has started leading \"tekton-pipelines-controller.github.com.tektoncd.pipeline.pkg.reconciler.taskrun.reconciler.00-of-01\"","commit":"19940f2"}
      panic: runtime error: index out of range [1] with length 1
      goroutine 197 [running]:
      github.com/tektoncd/pipeline/pkg/reconciler/taskrun.(*Reconciler).checkPodFailed(0x400004d4a0, {0x1e11968, 0x4000cb8d20}, 0x400082d080)
      /go/src/github.com/tektoncd/pipeline/pkg/reconciler/taskrun/taskrun.go:202 +0x42c
      github.com/tektoncd/pipeline/pkg/reconciler/taskrun.(*Reconciler).ReconcileKind(0x400004d4a0, {0x1e11968, 0x4000cb8ba0}, 0x400082d080)
      /go/src/github.com/tektoncd/pipeline/pkg/reconciler/taskrun/taskrun.go:161 +0x6e8
      github.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1beta1/taskrun.(*reconcilerImpl).Reconcile(0x4000355860, {0x1e11968, 0x4000cb8ae0}, {0x4000a273b0, 0x4c})
      /go/src/github.com/tektoncd/pipeline/pkg/client/injection/reconciler/pipeline/v1beta1/taskrun/reconciler.go:235 +0x5a8
      knative.dev/pkg/controller.(*Impl).processNextWorkItem(0x400052b380)
      /go/src/github.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:542 +0x490
      knative.dev/pkg/controller.(*Impl).RunContext.func3(0x4000b42094, 0x400052b380)
      /go/src/github.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:491 +0x50
      created by knative.dev/pkg/controller.(*Impl).RunContext
      

      Environment

      OpenShift 4.11-rc6 (ARM64)
      Pipelines 1.8, index image 282694

              vdemeest Vincent Demeester
              ppitonak Pavol Pitoňák
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: