-
Notifications
You must be signed in to change notification settings - Fork 213
feat(ci): add /test rerun-failed-tests command #4037
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
base: main
Are you sure you want to change the base?
feat(ci): add /test rerun-failed-tests command #4037
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Add CI configuration for the new `/test rerun-failed-tests` command that re-executes only tests that failed in the previous e2e-ocp-helm run. New step registry: - ci-operator/step-registry/redhat-developer/rhdh/ocp/rerun-failed-tests/ New test configuration in redhat-developer-rhdh-main.yaml: - as: rerun-failed-tests - optional: true (manually triggered via /test rerun-failed-tests) - Uses cluster_claim with OCP 4.18 on AWS This PR depends on: redhat-developer/rhdh#4037 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
The image is available at: /test e2e-ocp-helm |
|
/review |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
674dc1d to
6a610e8
Compare
|
🚫 Image Push Skipped. The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image) |
Add CI configuration for the new `/test rerun-failed-tests` command that re-executes only tests that failed in the previous e2e-ocp-helm run. New step registry: - ci-operator/step-registry/redhat-developer/rhdh/ocp/rerun-failed-tests/ New test configuration in redhat-developer-rhdh-main.yaml: - as: rerun-failed-tests - optional: true (manually triggered via /test rerun-failed-tests) - Uses cluster_claim with OCP 4.18 on AWS This PR depends on: redhat-developer/rhdh#4037 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6a610e8 to
e74c9f4
Compare
|
🚫 Image Push Skipped. The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image) |
e74c9f4 to
b29e783
Compare
|
🚫 Image Push Skipped. The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image) |
b29e783 to
f62051f
Compare
|
🚫 Image Push Skipped. The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image) |
Add a new CI command that re-executes only the tests that failed in the previous e2e-ocp-helm run, optimizing time and resources. New files: - retest-failed-utils.sh: Utility functions for fetching JUnit artifacts from GCS, parsing failed tests, and running specific test files - jobs/ocp-rerun-failed-tests.sh: Main job handler that orchestrates fetching previous results, deploying only needed namespaces, and running failed tests The command: - Fetches JUnit results from the previous e2e-ocp-helm run via GCS - Parses which tests failed for showcase and showcase-rbac namespaces - Deploys only the namespaces that had failures - Runs only the tests that previously failed using Playwright - Returns success if no previous run exists or no tests failed Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
f62051f to
cda5403
Compare
|
🚫 Image Push Skipped. The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image) |
|
|
@gustavolira: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |



Summary
/test rerun-failed-teststhat re-executes only the tests that failed in the previouse2e-ocp-helmrunNew Files
.ibm/pipelines/retest-failed-utils.sh: Utility functions for:.ibm/pipelines/jobs/ocp-rerun-failed-tests.sh: Main job handler that:How It Works
e2e-ocp-helmrun via GCSError Handling
Test Plan
/test e2e-ocp-helm(will fail)/test rerun-failed-tests🤖 Generated with Claude Code