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

Cancelling pipelinerun is not cancelling the taskrun

XMLWordPrintable

    • Pipelines Sprint 235

      Description of problem:

      Canelling pipelinerun is not cancelling the taskrun

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

      Install the latest build of Openshift Pipelines 1.10.0

      Steps to Reproduce

      1. Create a pipelinerun
      2. Cancel the pipelinerun 
      3. Observe the status of taskrun and pipelienerun

      Actual results:

      Pipelinerun is getting cancelled but the taskrun is running

      Expected results:

      Both taksrun and pipelinerun should get cancelled

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      https://artifacts.ospqa.com/builds/1.10.0/461145-4.11 

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

      ./tkn pr describe -L                                                 ✔  03:31:21 PM 
      Name:              output-pipeline-run-v1b1-cancel-fmmnp
      Namespace:         releasetest-wp97l
      Pipeline Ref:      output-pipeline-v1b1
      Service Account:   pipeline
      Labels:
       tekton.dev/pipeline=output-pipeline-v1b1
      
      🌡️  Status
      
      STARTED          DURATION   STATUS
      58 seconds ago   31s        Cancelled(Cancelled)
      
      💌 Message
      
      PipelineRun "output-pipeline-run-v1b1-cancel-fmmnp" was cancelled
      
      ⏱  Timeouts
       Pipeline:   1h0m0s
      
      📂 Workspaces
      
       NAME     SUB PATH   WORKSPACE BINDING
       ∙ test   ---        PersistentVolumeClaim (claimName=shared-pvc)
      
      🗂  Taskruns
      
       NAME                                                  TASK NAME     STARTED          DURATION   STATUS
       ∙ output-pipeline-run-v1b1-cancel-fmmnp-create-file   create-file   58 seconds ago   ---        Running 

              piyushgarg001 Piyush Garg
              varadhya Veeresh Aradhya (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: