Bug 1792419

Summary: Cancelled Pipeline Runs Show As Failed
Product: OpenShift Container Platform Reporter: Andrew Ballantyne <aballant>
Component: Dev ConsoleAssignee: Andrew Ballantyne <aballant>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, gamore, nmukherj, yapei
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1792416 Environment:
Last Closed: 2020-02-19 05:39:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1792416    
Bug Blocks:    
Attachments:
Description Flags
Pipeline Runs Show Cancelled Status none

Description Andrew Ballantyne 2020-01-17 16:03:21 UTC
+++ This bug was initially created as a clone of Bug #1792416 +++

Description of problem:
When the user cancels a PipelineRun, the UI shows this status as failed not cancelled despite the underlying data saying otherwise.


Version-Release number of selected component (if applicable):
OpenShift Console 4.4 
Pipeline Operator 0.8.x


How reproducible:
!00%

Steps to Reproduce:
1. Create a Pipeline with at least one task
2. Start the Pipeline
3. Stop the Pipeline before it finishes all the tasks

Actual results:
PipelineRun shows up as failed in the statuses (Pipeline Table (latest run), PipelineRun Table, etc)

Expected results:
PipelineRun should show up as Cancelled and use the cancelled colour.

Additional info:

--- Additional comment from Andrew Ballantyne on 2020-01-17 16:02:13 UTC ---

Gajanan please review this as an extension of your review here: https://issues.redhat.com/browse/ODC-2423

Comment 1 Andrew Ballantyne 2020-01-20 19:31:11 UTC
PR pending 4.3.z release to open up: https://github.com/openshift/console/pull/3993

Comment 3 Yadan Pei 2020-02-13 02:58:57 UTC
Created attachment 1662845 [details]
Pipeline Runs Show Cancelled Status

1. Enable OpenShift Pipelines Operator
2. Create Pipelines and trigger Pipeline Runs
3. Stop Pipeline Runs before all stages finish
4. Check Pipeline Runs status in Pipeline Runs list page, table, status Filter. All shows 'Cancelled' with grey color

verified on     4.3.0-0.nightly-2020-02-11-224725

Comment 4 Yadan Pei 2020-02-13 03:00:16 UTC
Sorry it looks like I changed assignee by mistake, reverted it back

Comment 6 errata-xmlrpc 2020-02-19 05:39:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0492