CherryPicked: [cnv-4.22] [Storage] Increase libguestfs pod timeout#5426
Conversation
##### What this PR does / why we need it: Increase the timeout from TIMEOUT_1MIN (60s) to TIMEOUT_10MIN (600s) to match the product's own 500-second timeout for the libguestfs pod to reach Running state. The product code at [pkg/virtctl/guestfs/guestfs.go](https://github.com/kubevirt/kubevirt/blob/759a3049c9d1fad35bdb06205207aec277f6b112/pkg/virtctl/guestfs/guestfs.go#L67) defines timeout = 500 * time.Second for this same operation. ##### Which issue(s) this PR fixes: Test failures on different lanes. ##### Special notes for reviewer: ##### jira-ticket: <!-- full-ticket-url needs to be provided. This would add a link to the pull request to the jira and close it when the pull request is merged If the task is not tracked by a Jira ticket, just write "NONE". --> CNV-62312 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Improved reliability of pod readiness checks by increasing the wait timeout when using `libguestfs-tools-*` in the `virtctl_libguestfs_by_user` fixture. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Emanuele Prella <eprella@redhat.com>
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Branch Management
Custom Commands
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
Security Checks
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
/build-and-push-container |
|
Verification failed for PR #5426. Execution details |
|
/build-and-push-container |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:pr-5426 published |
|
/approve |
|
/verified |
|
/lgtm |
|
Successfully removed PR tag: quay.io/openshift-cnv/openshift-virtualization-tests:pr-5426. |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:cnv-4.22 published |
Signed-off-by: Emanuele Prella <eprella@redhat.com>
) ##### What this PR does / why we need it: - De-quarantine test_virtctl_libguestfs_with_specific_user. - Replace HTTP import in favor of data source cloning. - Wait for the libguestfs container to be created before performing operations in it. ##### Which issue(s) this PR fixes: CNV-47594 ##### Special notes for reviewer: manual backporting #4556 and #5426 ##### jira-ticket: <!-- full-ticket-url needs to be provided. This would add a link to the pull request to the jira and close it when the pull request is merged If the task is not tracked by a Jira ticket, just write "NONE". --> --------- Signed-off-by: Emanuele Prella <eprella@redhat.com>
Cherry-pick from
mainbranch, original PR: #5308, PR owner: ema-aka-young