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

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

XMLWordPrintable

    • No
    • 1
    • ODC Sprint 3275, ODC Sprint 3276
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      This is a clone of issue OCPBUGS-55924. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-54899. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-36658. The following is the description of the original issue:

      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.

              rh-ee-lprabhu Lokananda Prabhu
              openshift-crt-jira-prow OpenShift Prow Bot
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: