Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-36658

OpenShift Pipelines / Tekton Results shows TaskRuns from previous PipelineRuns of the same name

XMLWordPrintable

    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      OpenShift Pipelines / Tekton Results shows TaskRuns from previous PipelineRuns of the same name

      Version-Release number of selected component (if applicable):

      OpenShift Pipelines 1.14.4

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create Pipeline foo with Task bar
      2. Create PipelineRun with name myplr using Pipeline foo
      3. Wait until completion (spawns TaskRun myplr-bar)
      4. In OpenShift web UI for PipelineRun myplr can see TaskRun myplr-bar
      5. Delete PipelineRun myplr
      6. Repeat step 2 & 3
      

      Actual results:

      In OpenShift web UI for PipelineRun myplr can see TaskRun myplr-bar twice - one with the "Archived in Tekton Results" icon and one without. Also note in the details page the graphical steps graph shows steps completed when they're still running (presumably the status is coming from the archived tasks, not the currently running one)

      Expected results:

      PipelineRun Should list only those TaskRun which belongs to it. also the status bar of current taskRun should be used.

      Additional info:

      In lab reproducer, TaskRun status did show correctly as running and completed when finished. Didn't got same behaviour.

              jakumar jaivardhan Kumar
              rhn-support-sburhade Satyam Burhade
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: