Bug 1947091 - 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.7.z
Assignee: Karthik Jeeyar
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On: 1947078
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-07 16:22 UTC by Karthik Jeeyar
Modified: 2021-06-15 09:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1947078
Environment:
Last Closed: 2021-06-15 09:26:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Skipped task is in skipped state (57.32 KB, image/png)
2021-06-10 10:42 UTC, spathak@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8582 0 None open [release-4.7] Bug 1947091: Fix skipped task status when using conditions 2021-04-10 01:00:29 UTC
Red Hat Product Errata RHSA-2021:2286 0 None None None 2021-06-15 09:27:26 UTC

Description Karthik Jeeyar 2021-04-07 16:22:48 UTC
+++ This bug was initially created as a clone of Bug #1947078 +++

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 4 spathak@redhat.com 2021-06-10 10:42:45 UTC
Created attachment 1789793 [details]
Skipped task is in skipped state

Comment 5 spathak@redhat.com 2021-06-10 10:44:10 UTC
Verified on build version: 4.7.0-0.nightly-2021-06-07-203428
Browser: Google Chrome 89

Comment 7 errata-xmlrpc 2021-06-15 09:26:45 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.7.16 security and bug fix 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:2286


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