Skip to content

fix: add more checking in getfailedtask#1409

Merged
openshift-merge-bot[bot] merged 22 commits into
konflux-ci:mainfrom
jinqi7:fix_getfailedtask
Sep 27, 2024
Merged

fix: add more checking in getfailedtask#1409
openshift-merge-bot[bot] merged 22 commits into
konflux-ci:mainfrom
jinqi7:fix_getfailedtask

Conversation

@jinqi7

@jinqi7 jinqi7 commented Sep 27, 2024

Copy link
Copy Markdown
Contributor

The terminated reason can be "TaskRunImagePullFailed", so adding the condition check for similar reasons.

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

Issue ticket number and link

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
  • I have updated labels (if needed)

jinqi7 added 21 commits August 19, 2024 21:01
Signed-off-by: Jing Qi <jinqi@redhat.com>
@openshift-ci

openshift-ci Bot commented Sep 27, 2024

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Signed-off-by: Jing Qi <jinqi@redhat.com>

Since the terminated reason can be "TaskRunImagePullFailed", add the condition to
check if terminated reason contains "Failed"
@jinqi7 jinqi7 marked this pull request as ready for review September 27, 2024 11:17
@openshift-ci openshift-ci Bot requested review from flacatus and tisutisu September 27, 2024 11:17
@jinqi7 jinqi7 requested review from psturc and removed request for flacatus and tisutisu September 27, 2024 11:17

@psturc psturc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci

openshift-ci Bot commented Sep 27, 2024

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: psturc

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

The pull request process is described here

Details 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants