Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-30575,OCPBUGS-30052: PipelineRuns in Console show wrong status or load indefinitely #13659

Merged

Conversation

lokanandaprabhu
Copy link
Contributor

Fixes:
https://issues.redhat.com/browse/OCPBUGS-30575
https://issues.redhat.com/browse/OCPBUGS-30052

Analysis / Root cause:
If there is no TaskRun, loading icon is added and for failed PLR and when there are no taskruns, it was showing Loading icon indefinitely

Solution Description:
Updated component to check if taskRuns are loaded and if the resources are loaded then don't add loading icon indefinitely

Screen shots / Gifs for design review:

----BEFORE----

Screen.Recording.2024-03-08.at.12.56.35.PM.mov

----AFTER----

Screen.Recording.2024-03-08.at.12.58.49.PM.mov

Unit test coverage report:
NA

Test setup:

  1. Create Task hello, TaskRun hello-task-run from https://tekton.dev/docs/getting-started/tasks/
  2. Create Task goodbye, Pipeline hello-goodbye and PipelineRun hello-goodbye-run from https://tekton.dev/docs/getting-started/pipelines/
  3. Create another Pipeline and use an invalid TaskRun ref name
  4. For the pending PipelineRun, create another PipelineRun using below spec, https://tekton.dev/docs/pipelines/pipelineruns/#pending-pipelineruns

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 8, 2024
@openshift-ci-robot
Copy link
Contributor

@lokanandaprabhu: This pull request references Jira Issue OCPBUGS-30575, which is invalid:

  • expected the bug to target the "4.16.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

This pull request references Jira Issue OCPBUGS-30052, which is invalid:

  • expected the bug to target the "4.16.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Fixes:
https://issues.redhat.com/browse/OCPBUGS-30575
https://issues.redhat.com/browse/OCPBUGS-30052

Analysis / Root cause:
If there is no TaskRun, loading icon is added and for failed PLR and when there are no taskruns, it was showing Loading icon indefinitely

Solution Description:
Updated component to check if taskRuns are loaded and if the resources are loaded then don't add loading icon indefinitely

Screen shots / Gifs for design review:

----BEFORE----

Screen.Recording.2024-03-08.at.12.56.35.PM.mov

----AFTER----

Screen.Recording.2024-03-08.at.12.58.49.PM.mov

Unit test coverage report:
NA

Test setup:

  1. Create Task hello, TaskRun hello-task-run from https://tekton.dev/docs/getting-started/tasks/
  2. Create Task goodbye, Pipeline hello-goodbye and PipelineRun hello-goodbye-run from https://tekton.dev/docs/getting-started/pipelines/
  3. Create another Pipeline and use an invalid TaskRun ref name
  4. For the pending PipelineRun, create another PipelineRun using below spec, https://tekton.dev/docs/pipelines/pipelineruns/#pending-pipelineruns

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the component/pipelines Related to pipelines-plugin label Mar 8, 2024
@lokanandaprabhu
Copy link
Contributor Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 8, 2024
@openshift-ci-robot
Copy link
Contributor

@lokanandaprabhu: This pull request references Jira Issue OCPBUGS-30575, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.16.0) matches configured target version for branch (4.16.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

This pull request references Jira Issue OCPBUGS-30052, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.16.0) matches configured target version for branch (4.16.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @sanketpathak

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested a review from sanketpathak March 8, 2024 09:40
@lokanandaprabhu
Copy link
Contributor Author

/cc @vikram-raj @jerolimov

Copy link
Member

@jerolimov jerolimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified this on a cluster bot in the admin and dev perspective!

image

image

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 12, 2024
Copy link
Contributor

openshift-ci bot commented Mar 12, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jerolimov, lokanandaprabhu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 12, 2024
@jerolimov
Copy link
Member

@lokanandaprabhu The loading issue happen since 4.12, please backport this at least to 4.14 and 4.15. Thank you.

/retest

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 63e97fa and 2 for PR HEAD 05a2e23 in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 824a736 and 1 for PR HEAD 05a2e23 in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD e56ab7e and 0 for PR HEAD 05a2e23 in total

@openshift-ci-robot
Copy link
Contributor

/hold

Revision 05a2e23 was retested 3 times: holding

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 13, 2024
@lokanandaprabhu
Copy link
Contributor Author

/unhold
/retest

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 13, 2024
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 5077253 and 2 for PR HEAD 05a2e23 in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 3bbcf7e and 1 for PR HEAD 05a2e23 in total

Copy link
Contributor

openshift-ci bot commented Mar 14, 2024

@lokanandaprabhu: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 8c91a27 into openshift:master Mar 14, 2024
6 checks passed
@openshift-ci-robot
Copy link
Contributor

@lokanandaprabhu: Jira Issue OCPBUGS-30575: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-30575 has been moved to the MODIFIED state.

Jira Issue OCPBUGS-30052: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-30052 has been moved to the MODIFIED state.

In response to this:

Fixes:
https://issues.redhat.com/browse/OCPBUGS-30575
https://issues.redhat.com/browse/OCPBUGS-30052

Analysis / Root cause:
If there is no TaskRun, loading icon is added and for failed PLR and when there are no taskruns, it was showing Loading icon indefinitely

Solution Description:
Updated component to check if taskRuns are loaded and if the resources are loaded then don't add loading icon indefinitely

Screen shots / Gifs for design review:

----BEFORE----

Screen.Recording.2024-03-08.at.12.56.35.PM.mov

----AFTER----

Screen.Recording.2024-03-08.at.12.58.49.PM.mov

Unit test coverage report:
NA

Test setup:

  1. Create Task hello, TaskRun hello-task-run from https://tekton.dev/docs/getting-started/tasks/
  2. Create Task goodbye, Pipeline hello-goodbye and PipelineRun hello-goodbye-run from https://tekton.dev/docs/getting-started/pipelines/
  3. Create another Pipeline and use an invalid TaskRun ref name
  4. For the pending PipelineRun, create another PipelineRun using below spec, https://tekton.dev/docs/pipelines/pipelineruns/#pending-pipelineruns

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@lokanandaprabhu
Copy link
Contributor Author

/cherry-pick release-4.15

@openshift-cherrypick-robot

@lokanandaprabhu: new pull request created: #13672

In response to this:

/cherry-pick release-4.15

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/pipelines Related to pipelines-plugin jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants