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

Cancelled/failed pipelineRun did not trigger finally tasks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Tekton Pipelines
    • None
    • False
    • None
    • False
    • Pipelines Sprint 251

      Description of problem:

      Cancelled pipelineRun did not trigger finally tasks (e.g. in our case pipelineRun was cancelled, but after 3 days the finally tasks were not executed)

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

      OpenShift Virtualization 4.12 and enable spec.featureGates.deployTektonTaskResources inside kubevirt-hyperconverged HyperConverged object (I can help with setting env)

      Steps to Reproduce

      1. Create pipeline, keep it running for few minutes
      2. Cancell it via UI

      Actual results:

      Finally tasks are not triggered

      Expected results:

      Finally tasks are triggered

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:
      **
      openshift-pipelines-operator-rh.v1.9.0
      Server Version: 4.12.3
      Kubernetes Version: v1.25.4+a34b9e9

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

        1. tekton-logs.tar.xz
          241 kB
        2. status-cancelling.png
          status-cancelling.png
          75 kB
        3. pipelineRun.yaml
          36 kB
        4. failed.png
          failed.png
          30 kB
        5. pipeline_failed.png
          pipeline_failed.png
          73 kB
        6. failed_pipeline2.png
          failed_pipeline2.png
          26 kB

              Unassigned Unassigned
              ksimon@redhat.com Karel Simon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: