-
Notifications
You must be signed in to change notification settings - Fork 92
Add e2e coverage for kubevirt-datamover VM backup/restore: multi-PVC, incremental sequence, and CBT restore (+ max-concurrent-data-movers config) #2350
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 34 commits into
openshift:oadp-dev
from
kaovilai:worktree-kubevirt-datamover-multipvc-e2e
Aug 19, 2026
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
6791056
Add multi-PVC VM e2e scaffolding for kubevirt-datamover
kaovilai c2cd28e
Add incremental-sequence e2e coverage for kubevirt-datamover
kaovilai db40ba2
Fix CodeRabbit findings on incremental-sequence e2e coverage
kaovilai d766a78
Use utilruntime.Must for e2e scheme registration
kaovilai 178d1b3
Fail explicitly when VMB.status.type is not yet populated
kaovilai 124d306
Pin kubevirt-datamover-controller image to unmerged DataDownload PR
kaovilai 9d5199e
Add restore-from-CBT-backup e2e coverage, plus phase 4/5 scaffolds
kaovilai d05bd58
Fix CodeRabbit findings: rollout check, checkpointName, image-overrid…
kaovilai 9b06540
Sync kubevirt-datamover-controller RBAC for DataDownload/restore support
kaovilai 0291219
Add kubevirt#18724 VMB-finalizer workaround, fix VMB-status race, pin…
kaovilai c300f00
Regenerate bundle to fix RBAC drift from oadp-dev rebase conflict
kaovilai 67e826f
Grant update on kubevirt.io/virtualmachines for kdm-controller RBAC
kaovilai 917b6bc
Fix coderabbit findings in virt_helpers.go
kaovilai 2f5dbf7
Bump kubevirt-datamover-plugin digest to latest pr-44 build
kaovilai de79f50
Assert Block volumeMode is actually exercised on CBT restore
kaovilai bc60755
Assert VM stays halted when its DataDownload is rejected
kaovilai 30a3352
Confirm kubevirt-datamover PVCs carry no spec.selector
kaovilai 91931ff
Bump plugin+controller digests to both PRs' latest tips
kaovilai 15c992a
Add data-integrity checksum verification to CBT restore e2e, and #169…
kaovilai 2a30320
Add useEmulation-based Fedora skip check for kubevirt-datamover CBT e2e
kaovilai eba3fb3
Add incremental CBT restore data-integrity test via Alpine guest-exec
kaovilai 89517ef
Consolidate CBT restore data-integrity tests onto Alpine guest-exec f…
kaovilai 73005d8
Promote Fedora CBT case from backup-only to full backup+restore test
kaovilai ac333fc
Add TEST_VIRT_KDM to run only kubevirt-datamover-specific e2e specs
kaovilai 307d369
Update kubevirt-datamover-controller test image to e66317e build
kaovilai cf64841
Remove kubevirt-datamover plugin/controller test image overrides
kaovilai 7c4a461
Address shubham-pampattiwar review feedback on PR #2350
kaovilai 9beda53
Add curl/git retry resilience to CI/dev tool fetches
kaovilai 8a602f6
Fix silent retry-loop failure and harden checksum-helper pod name
kaovilai eb5a661
Expose kubevirt-datamover --max-concurrent-data-movers via DPA CRD
kaovilai 9be28a6
Merge remote-tracking branch 'upstream/oadp-dev' into worktree-kubevi…
kaovilai ffcab7d
Add e2e coverage for kubevirt-datamover max-concurrent-data-movers li…
kaovilai fe54f4d
Hardcode kdm concurrency-limiter test image so Prow actually runs it
kaovilai 5a0a023
Drop personal quay.io override, test against default kdm image
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
|---|---|---|
|
|
@@ -4,6 +4,13 @@ kind: ClusterRole | |
| metadata: | ||
| name: manager-role | ||
| rules: | ||
| - apiGroups: | ||
| - "" | ||
| resources: | ||
| - events | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This
|
||
| verbs: | ||
| - create | ||
| - patch | ||
| - apiGroups: | ||
| - "" | ||
| resources: | ||
|
|
@@ -85,6 +92,7 @@ rules: | |
| verbs: | ||
| - get | ||
| - list | ||
| - update | ||
| - watch | ||
| - apiGroups: | ||
| - velero.io | ||
|
|
||
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.
This retry loop exits 0 even when all three clones fail.
git clone ... && break || sleep 5: on failure the&& breakis skipped and|| sleep 5returns 0, so after three misses the loop's status is the lastsleep, and the RUN succeeds with no velero checkout. The build then continues and only degrades failure-analysis later, instead of failing here.Every other fetch in this file uses
curl --retry, which does fail the build after exhausting retries. Worth making this one consistent, e.g. assert the result after the loop: