Bug 1947078 - Incorrect skipped status for conditional tasks in the pipeline run
Summary: Incorrect skipped status for conditional tasks in the pipeline run
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.7
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: 4.8.0
Assignee: Karthik Jeeyar
QA Contact: Gajanan More
URL:
Whiteboard:
Depends On:
Blocks: 1947091
TreeView+ depends on / blocked
 
Reported: 2021-04-07 15:54 UTC by Karthik Jeeyar
Modified: 2021-07-27 22:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1947091 (view as bug list)
Environment:
Last Closed: 2021-07-27 22:57:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8577 0 None closed Bug 1947078: Fix skipped task status when using conditions 2021-04-07 16:02:07 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:58:16 UTC

Description Karthik Jeeyar 2021-04-07 15:54:54 UTC
Description of problem:

If When expression or conditions are used in a pipeline, then all the skipped tasks status are shown incorrectly.


Version-Release number of selected component (if applicable):
4.8

How reproducible:
Always

Steps to Reproduce:
1. Create the pipelineRun using https://github.com/tektoncd/pipeline/blob/main/examples/v1beta1/pipelineruns/using-optional-workspaces-in-when-expressions.yaml


Actual results:

Skipped tasks are visualized as pending state.

Expected results:

Skipped tasks should in skipped state.

Comment 2 Debsmita Santra 2021-04-09 15:00:35 UTC
verified this on build 4.8.0-0.nightly-2021-04-09-052339

Comment 5 errata-xmlrpc 2021-07-27 22:57:59 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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/RHSA-2021:2438


Note You need to log in before you can comment on or make changes to this bug.