Skip to content

USHIFT-6401: Add per-attempt timeout to RBAC bootstrap hook#6784

Closed
copejon wants to merge 1 commit into
openshift:release-4.22from
copejon:fix-USHIFT-6401-release-4.22
Closed

USHIFT-6401: Add per-attempt timeout to RBAC bootstrap hook#6784
copejon wants to merge 1 commit into
openshift:release-4.22from
copejon:fix-USHIFT-6401-release-4.22

Conversation

@copejon
Copy link
Copy Markdown
Contributor

@copejon copejon commented Jun 1, 2026

USHIFT-6401

This manual backport of #6635 is intended to test the solution on the release-4.22 branch because it historically has the highest occurrence of the ushift-6401 failures.

Thread a 5s context.WithTimeout into each poll attempt of the RBAC
bootstrap PostStartHook, preventing indefinite hangs when etcd is
unresponsive during initial readiness checks. Replace context.TODO()
with the deadline-scoped context in List calls and prime functions.
Add a klog.Warningf on timeout to distinguish deadline exceeded from
other transient errors.

Co-authored-by: Cursor <cursoragent@cursor.com>
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Jun 1, 2026

@copejon: This pull request references USHIFT-6401 which is a valid jira issue.

Details

In response to this:

USHIFT-6401

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-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 1, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 1, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 060d825d-31fd-449e-b5cf-e1d9ff64dab2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot requested review from eslutsky and pacevedom June 1, 2026 16:36
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 1, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: copejon

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

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 1, 2026
@copejon copejon marked this pull request as draft June 1, 2026 16:38
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 1, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 1, 2026

@copejon: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

/test e2e-aws-ai-model-serving
/test e2e-aws-footprint-and-performance
/test e2e-aws-tests
/test e2e-aws-tests-arm
/test e2e-aws-tests-bootc-arm-el10
/test e2e-aws-tests-bootc-arm-el9
/test e2e-aws-tests-bootc-el10
/test e2e-aws-tests-bootc-el9
/test e2e-aws-tests-bootc-periodic-arm-el10
/test e2e-aws-tests-bootc-periodic-arm-el9
/test e2e-aws-tests-bootc-periodic-el10
/test e2e-aws-tests-bootc-periodic-el9
/test e2e-aws-tests-bootc-release-arm-el10
/test e2e-aws-tests-bootc-release-arm-el9
/test e2e-aws-tests-bootc-release-el10
/test e2e-aws-tests-bootc-release-el9
/test e2e-aws-tests-bootc-upstream
/test e2e-aws-tests-bootc-upstream-arm
/test e2e-aws-tests-cache
/test e2e-aws-tests-cache-arm
/test e2e-aws-tests-periodic
/test e2e-aws-tests-periodic-arm
/test e2e-aws-tests-release
/test e2e-aws-tests-release-arm
/test ocp-full-conformance-rhel-eus
/test ocp-full-conformance-serial-rhel-eus
/test test-rpm
/test test-unit
/test verify
/test verify-deps

The following commands are available to trigger optional jobs:

/test images
/test security
/test test-rebase

Use /test all to run the following jobs that were automatically triggered:

pull-ci-openshift-microshift-release-4.22-e2e-aws-tests
pull-ci-openshift-microshift-release-4.22-e2e-aws-tests-arm
pull-ci-openshift-microshift-release-4.22-e2e-aws-tests-bootc-arm-el10
pull-ci-openshift-microshift-release-4.22-e2e-aws-tests-bootc-arm-el9
pull-ci-openshift-microshift-release-4.22-e2e-aws-tests-bootc-el10
pull-ci-openshift-microshift-release-4.22-e2e-aws-tests-bootc-el9
pull-ci-openshift-microshift-release-4.22-images
pull-ci-openshift-microshift-release-4.22-ocp-full-conformance-rhel-eus
pull-ci-openshift-microshift-release-4.22-ocp-full-conformance-serial-rhel-eus
pull-ci-openshift-microshift-release-4.22-security
pull-ci-openshift-microshift-release-4.22-test-rebase
pull-ci-openshift-microshift-release-4.22-test-unit
pull-ci-openshift-microshift-release-4.22-verify
pull-ci-openshift-microshift-release-4.22-verify-deps
Details

In response to this:

/test periodics-e2e-aws-tests-bootc-release-arm-periodic-el9

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-sigs/prow repository.

@copejon
Copy link
Copy Markdown
Contributor Author

copejon commented Jun 1, 2026

/test e2e-aws-tests-bootc-release-arm-periodic-el9

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 1, 2026

@copejon: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

/test e2e-aws-ai-model-serving
/test e2e-aws-footprint-and-performance
/test e2e-aws-tests
/test e2e-aws-tests-arm
/test e2e-aws-tests-bootc-arm-el10
/test e2e-aws-tests-bootc-arm-el9
/test e2e-aws-tests-bootc-el10
/test e2e-aws-tests-bootc-el9
/test e2e-aws-tests-bootc-periodic-arm-el10
/test e2e-aws-tests-bootc-periodic-arm-el9
/test e2e-aws-tests-bootc-periodic-el10
/test e2e-aws-tests-bootc-periodic-el9
/test e2e-aws-tests-bootc-release-arm-el10
/test e2e-aws-tests-bootc-release-arm-el9
/test e2e-aws-tests-bootc-release-el10
/test e2e-aws-tests-bootc-release-el9
/test e2e-aws-tests-bootc-upstream
/test e2e-aws-tests-bootc-upstream-arm
/test e2e-aws-tests-cache
/test e2e-aws-tests-cache-arm
/test e2e-aws-tests-periodic
/test e2e-aws-tests-periodic-arm
/test e2e-aws-tests-release
/test e2e-aws-tests-release-arm
/test ocp-full-conformance-rhel-eus
/test ocp-full-conformance-serial-rhel-eus
/test test-rpm
/test test-unit
/test verify
/test verify-deps

The following commands are available to trigger optional jobs:

/test images
/test security
/test test-rebase

Use /test all to run the following jobs that were automatically triggered:

pull-ci-openshift-microshift-release-4.22-e2e-aws-tests
pull-ci-openshift-microshift-release-4.22-e2e-aws-tests-arm
pull-ci-openshift-microshift-release-4.22-e2e-aws-tests-bootc-arm-el10
pull-ci-openshift-microshift-release-4.22-e2e-aws-tests-bootc-arm-el9
pull-ci-openshift-microshift-release-4.22-e2e-aws-tests-bootc-el10
pull-ci-openshift-microshift-release-4.22-e2e-aws-tests-bootc-el9
pull-ci-openshift-microshift-release-4.22-images
pull-ci-openshift-microshift-release-4.22-ocp-full-conformance-rhel-eus
pull-ci-openshift-microshift-release-4.22-ocp-full-conformance-serial-rhel-eus
pull-ci-openshift-microshift-release-4.22-security
pull-ci-openshift-microshift-release-4.22-test-rebase
pull-ci-openshift-microshift-release-4.22-test-unit
pull-ci-openshift-microshift-release-4.22-verify
pull-ci-openshift-microshift-release-4.22-verify-deps
Details

In response to this:

/test e2e-aws-tests-bootc-release-arm-periodic-el9

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-sigs/prow repository.

@copejon copejon closed this Jun 1, 2026
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. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants