Repository navigation
test: unpend two kdm restore PIts, fixing bugs found via live e2e validation #2404
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
Merged
openshift-merge-bot
merged 15 commits into
openshift:oadp-dev
from
kaovilai:gcp-azure-kdm-e2e-wiring
Sep 2, 2026
Merged
Changes from 13 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
19bff80
test: unpend two kdm restore PIts, fixing bugs found via live e2e val…
kaovilai a56cc2c
test: unit test FilterLogLinesContaining/CheckIfFlakeOccurred with re…
kaovilai 2141682
docs: record name-bearing status of each flake pattern for CheckIfFla…
kaovilai d2de4f2
test: temporarily override kdm-controller image with a fix build for …
kaovilai 0719e54
test: remove #208/#212 flake patterns, now fixed and confirmed live
kaovilai dced9d1
fix: don't fail must-gather check on the expected unsupportedOverride…
kaovilai ef2e8d6
test: bump kdm-controller override to combined-208-212v2-test
kaovilai 359ecf4
test: bump kdm-controller override to combined-208-212v3-test
kaovilai b9e5d03
fix: also detect VMB-never-gets-any-condition as the CNV-85377/#18949…
kaovilai 5e4d980
fix: send HCO spec.featureGates in its real array shape, not an object
kaovilai 9e22b0f
Revert "fix: send HCO spec.featureGates in its real array shape, not …
kaovilai 149c453
fix: prefer HCO v1 API over v1beta1, avoiding its conversion webhook
kaovilai 6a29e02
fix: clear stuck VMB finalizers in shared deleteNamespace, not just v…
kaovilai 73e7154
test: remove kdm-controller image override, upstream fixes merged
kaovilai 7bd0c0d
fix: make kdm restore checksum verification actually run (#2421 item 1)
kaovilai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| package lib | ||
|
|
||
| import "testing" | ||
|
|
||
| // realMustGatherSummaryUnsupportedOverridesOnly is the actual "## Errors" | ||
| // section (and the section immediately following it) captured from a real | ||
| // CI failure: openshift/oadp-operator PR#2404's ci/prow/5.1-e2e-test-cli-aws | ||
| // run (2093596791407644672), which failed with "expected no errors in | ||
| // must-gather Errors section" purely because the shared dpaCR carried a | ||
| // spec.unsupportedOverrides entry (a test-time kdm-controller image | ||
| // override, unrelated to the CLI suite that failed). | ||
| const realMustGatherSummaryUnsupportedOverridesOnly = `## Errors | ||
|
|
||
| ⚠️ DataProtectionApplication **ts-velero-test** in **openshift-adp** namespace is using **unsupportedOverrides** | ||
|
|
||
|
|
||
|
|
||
| ## Cluster information | ||
|
|
||
| | Cluster ID | OpenShift version | Cloud provider | Architecture | | ||
| | ---------- | ----------------- | -------------- | ------------ | | ||
| | 65162e20 | 5.1.0-0.nightly-2026-08-27-012048 | AWS | linux/amd64 | | ||
| ` | ||
|
|
||
| func Test_mustGatherErrorsAreOnlyKnownBenignWarnings_realUnsupportedOverridesCapture(t *testing.T) { | ||
| if !mustGatherErrorsAreOnlyKnownBenignWarnings(realMustGatherSummaryUnsupportedOverridesOnly) { | ||
| t.Fatalf("expected the real captured unsupportedOverrides-only Errors section to be treated as benign") | ||
| } | ||
| } | ||
|
|
||
| func Test_mustGatherErrorsAreOnlyKnownBenignWarnings_realErrorStillFails(t *testing.T) { | ||
| summary := `## Errors | ||
|
|
||
| ⚠️ DataProtectionApplication **ts-velero-test** in **openshift-adp** namespace is using **unsupportedOverrides** | ||
| ❌ Velero pod is in CrashLoopBackOff | ||
|
|
||
| ## Cluster information | ||
| ` | ||
| if mustGatherErrorsAreOnlyKnownBenignWarnings(summary) { | ||
| t.Fatalf("expected a genuine error line alongside the benign warning to still be treated as a real error") | ||
| } | ||
| } | ||
|
|
||
| func Test_mustGatherErrorsAreOnlyKnownBenignWarnings_noErrorsSectionFailsSafe(t *testing.T) { | ||
| summary := `## Cluster information | ||
|
|
||
| | Cluster ID | OpenShift version | | ||
| ` | ||
| if mustGatherErrorsAreOnlyKnownBenignWarnings(summary) { | ||
| t.Fatalf("expected a missing Errors section to fail safe (treated as a real error)") | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note this has override still I believe ..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing.. will need another acky