[release-4.21] OCPBUGS-87008: Stabilize ocl 4.21#6138
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
@umohnani8: This pull request references Jira Issue OCPBUGS-87008, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
|
/jira refresh |
|
@umohnani8: This pull request references Jira Issue OCPBUGS-87008, which is invalid:
Comment 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: umohnani8 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 |
Replace the monolithic e2e-ocl test suite with two sharded suites (e2e-ocl-1of2 and e2e-ocl-2of2) and a shared helper package (e2e-ocl-shared) to reduce overall CI time by running in parallel. The sharded tests incorporate all stabilization fixes from main: - Fix cleanup verification timeouts with per-resource contexts - Fix cleanup ordering to delete owners before dependents - Increase poll intervals to avoid rate limiter exhaustion - Make log streaming errors non-fatal - Increase job completion timeout for CI environments - Make TestImagePrunerErrors flexible to registry behavior changes Adapt MachineOSBuild construction calls to use the NewMachineOSBuildFromAPIOrDie API available on this branch. Exclude TestStaleAnnotationClearedOnLayerOnlyChange as it requires a corresponding production fix not present on this branch. Makefile targets: - Remove: test-e2e-ocl (190m) - Add: test-e2e-ocl-1of2 (120m), test-e2e-ocl-2of2 (150m) Signed-off-by: Urvashi <umohnani@redhat.com>
TestMachineOSConfigChangeRestartsBuild flakes because the build controller (running 3 concurrent workers) races between deleteMachineOSConfig for the previous test's MOSC and addMachineOSConfig for the new test's MOSC. Since both MOSCs share the same name, deleteMachineOSConfig's label-based query matches and deletes MOSBs created by the new MOSC. Fix both the controller and test assertions. Signed-off-by: Urvashi <umohnani@redhat.com>
1. Restore assertBuildJobIsAsExpected function and its call sites in both shards. This was present in the 4.21 monolithic suite and validates that build pods use the correct MCO container images. 2. Fix waitForMOSCToUpdateCurrentMOSB in 2of2 to include the empty annotation guard (currentMOSB != "") matching 1of2, so it handles temporarily cleared annotations correctly. 3. Restore strings.Contains in TestSSHKeyAndPasswordForOSBuilder instead of the custom contains() helper from main, matching the original 4.21 implementation. Signed-off-by: Urvashi <umohnani@redhat.com>
b57db55 to
49e33c4
Compare
|
@umohnani8: 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. |
This is a manual backport of #5652, #5613, and #5595 to stabilize the e2e-ocl test suite.
This also includes breaking the ocl test suite into 2 parts.