ROSAENG-855: Add presubmit e2e smoke tests for rosa-e2e PRs#79049
ROSAENG-855: Add presubmit e2e smoke tests for rosa-e2e PRs#79049dustman9000 wants to merge 2 commits intoopenshift:mainfrom
Conversation
Add two presubmit jobs that run critical smoke tests against HCP and Classic STS clusters when Go code or test files change in a PR: - e2e-rosa-hcp-smoke: Importance:Critical tests on HCP cluster - e2e-rosa-classic-smoke: Importance:Critical && Platform:Classic on Classic STS cluster Both use run_if_changed to skip docs-only PRs, stable channel 4.22, and the rosa-e2e-01 cluster profile. Jira: https://redhat.atlassian.net/browse/ROSAENG-855
|
@dustman9000: This pull request references ROSAENG-855 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
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. |
WalkthroughAdds two new CI e2e smoke test job entries— ChangesE2E Smoke Test Jobs
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 12✅ Passed checks (12 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dustman9000 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@ci-operator/config/openshift-online/rosa-e2e/openshift-online-rosa-e2e-main.yaml`:
- Around line 44-56: The run_if_changed regex used in the CI config (the two
occurrences of run_if_changed: ^(pkg/|test/|Containerfile|go\.(mod|sum))) is too
permissive; update both instances so they end-anchor and require .go files under
pkg/ and test/ and exact matches for Containerfile and go.mod/go.sum (e.g.
change the pattern to require pkg/.*\.go and test/.*\.go and append $ anchors
accordingly). Modify the lines containing run_if_changed so the new regex
enforces pkg/ and test/ to match only .go files and prevents suffix matches for
Containerfile and go.mod/go.sum.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 3bfbbb89-6d30-468b-967b-12dcfcaa7e3a
⛔ Files ignored due to path filters (1)
ci-operator/jobs/openshift-online/rosa-e2e/openshift-online-rosa-e2e-main-presubmits.yamlis excluded by!ci-operator/jobs/**
📒 Files selected for processing (1)
ci-operator/config/openshift-online/rosa-e2e/openshift-online-rosa-e2e-main.yaml
|
/pj-rehearse pull-ci-openshift-online-rosa-e2e-main-e2e-rosa-hcp-smoke |
|
@dustman9000: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@dustman9000: 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. |
|
/pj-rehearse ci/rehearse/openshift-online/rosa-e2e/main/e2e-rosa-hcp-smoke |
|
@dustman9000: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@dustman9000: job(s): ci/rehearse/openshift-online/rosa-e2e/main/e2e-rosa-hcp-smoke either don't exist or were not found to be affected, and cannot be rehearsed |
|
/pj-rehearse pull-ci-openshift-online-rosa-e2e-main-e2e-rosa-hcp-smoke |
1 similar comment
|
/pj-rehearse pull-ci-openshift-online-rosa-e2e-main-e2e-rosa-hcp-smoke |
Summary
Add presubmit e2e smoke tests for rosa-e2e PRs that validate code changes against both ROSA HCP and Classic STS clusters in parallel.
Importance:CriticaltestsImportance:Critical && Platform:Classictestsrun_if_changedto trigger only on Go code, test, or Containerfile changesrosa-e2e-01cluster profile, stable channel, OCP 4.22Jira: https://redhat.atlassian.net/browse/ROSAENG-855
Test plan
make jobsgenerates presubmit job definitionsSummary
This PR modifies the OpenShift CI configuration for the openshift-online/rosa-e2e repository by adding two presubmit end-to-end smoke test jobs that run in parallel to validate code changes against critical ROSA scenarios.
Changes Made
Importance:Critical.Importance:Critical && Platform:Classic.rosa-e2e-01cluster profile.OPENSHIFT_VERSIONto 4.21 (commit corrected from 4.22).rosa-e2e-hcpandrosa-e2e-classic).HOSTED_CPandLABEL_FILTER.Trigger Logic
run_if_changedto limit triggering to substantive changes:pkg/test/Containerfile,go.mod, andgo.sumMetadata & Validation
make jobsto generate presubmit job definitions.