Bug 1792416

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, nmukherj
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Cancelled Pipelines are Failed Pipelines with a reason of "Cancelled"... we just didn't handle the reason Consequence: Showed Cancelled Pipelines as Failed Fix: Check the reason why it failed Result: Show a Cancelled state when the reason for a failure was it was Cancelled.
Story Points: ---
Clone Of:
: 1792419 (view as bug list) Environment:
Last Closed: 2020-05-04 11:24:53 UTC Type: Bug
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:    
Bug Blocks: 1792419    
Attachments:
Description Flags
Cancelled pipelines are listing down in cancelled pipeline menu none

Description Andrew Ballantyne 2020-01-17 15:58:29 UTC
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:

Comment 1 Andrew Ballantyne 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 2 Gajanan More 2020-01-20 07:27:27 UTC
I have validated this bug on the,
Build: 4.4.0-0.ci-2020-01-16-043412
Browser: Google Version 78.0.3904.108
Please check the attached screenshot

Comment 3 Gajanan More 2020-01-20 07:28:06 UTC
Created attachment 1653834 [details]
Cancelled pipelines are listing down in cancelled pipeline menu

Comment 5 errata-xmlrpc 2020-05-04 11:24: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:0581