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

UpdateLog calls from watcher intermittently fail with canceled context; no UpdateLog call error from watcher are re-reconciled

XMLWordPrintable

    • 1
    • False
    • None
    • False
    • Hide
      The optional storage of underlying Pod logs for PipelineRuns or TaskRuns would intermittently fail because the golang Context used for remote procedure calls t was not properly managed in the Tekton Results Watcher. In both the Watcher and Tekton Results API Server the user would see messages about the 'UpdateLog' action failing with 'canceled context error'

      Before this update, when you used Tekton Results to store pod logs from pipelines and tasks, the operation to store the logs sometimes failed. The logs would include the `UpdateLog` action failing with the `canceled context` error. With this update the operation completes correctly.
      Show
      The optional storage of underlying Pod logs for PipelineRuns or TaskRuns would intermittently fail because the golang Context used for remote procedure calls t was not properly managed in the Tekton Results Watcher. In both the Watcher and Tekton Results API Server the user would see messages about the 'UpdateLog' action failing with 'canceled context error' Before this update, when you used Tekton Results to store pod logs from pipelines and tasks, the operation to store the logs sometimes failed. The logs would include the `UpdateLog` action failing with the `canceled context` error. With this update the operation completes correctly.
    • Bug Fix
    • 8
    • Pipelines Sprint Pioneers 1, Pipelines Sprint Pioneers 2, Pipelines Sprint Pioneers 3, Pipelines Sprint Pioneers 4, Pipelines Sprint Pioneers 5

      Tracker for upstream https://github.com/tektoncd/results/issues/720 and https://github.com/tektoncd/results/pull/715 that I discovered while working the memory leak fix

       

      It also enable proper retry on errors that rh-ee-sabiswas reported to us before transferring to pipeline-integrations

       

              gmontero@redhat.com Gabe Montero
              gmontero@redhat.com Gabe Montero
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: