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

Display a clear message populated on to the pipelinerun log snippet

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ODC Sprint 3273, ODC Sprint 3274, ODC Sprint 3275, ODC Sprint 3276

      Description of problem:

      The TaskRun failure with "image pull backoff" error is unclear in  the PipelineRun Log snippet.

      When we run a pipeline with a task referencing a non-existing image, initially the pipelinerun-log snippet shows "failing to pull image" error. But once we switch to "events" tab and switch back to "pipelinerun-log snippet", it shows pods "test-one-xxx-pod" not found(see attached images).

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Run a pipeline with a task which referencing an image that doesn't exist in the registry
      2. See the pipelinerun log snippiet
      3. Switch to events tab
      4. Switch back to pipelinerun log snippiet

      Actual results: pipelinerun log snippet shows pods "test-one-xxx-pod" not found

      Expected results:

      Should contain a clear error message like ** "TaskRunImagePullFailed" / "failing to pull image"

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

        1. pipelinelog-snip-after.png
          81 kB
          Ginilekshmi A O
        2. pipelinelog-snip-before.png
          72 kB
          Ginilekshmi A O

              rh-ee-lprabhu Lokananda Prabhu
              rhn-support-gio Ginilekshmi A O (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: