[Storage] Increase libguestfs pod timeout#5308
Conversation
Signed-off-by: Emanuele Prella <eprella@redhat.com>
Signed-off-by: Emanuele Prella <eprella@redhat.com>
Signed-off-by: Emanuele Prella <eprella@redhat.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughIn ChangesLibguestfs Pod Wait Timeout
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsLinked repositories: Your configuration references 1 linked repositories, but your current plan allows 0. Analyzed ``, skipped 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 |
Signed-off-by: Emanuele Prella <eprella@redhat.com>
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
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. |
|
/approve |
akalenyu
left a comment
There was a problem hiding this comment.
So IIUC just pulling the image could take up to 10 minutes? That sounds a bit off, how big is the image? You could try crictl on the ocp node and we could compare it to upstream. Just want to make sure we don't have a huge issue somewhere.
I could not pull the image for upstream but checking https://quay.io/repository/kubevirt/libguestfs-tools?tab=tags&tag=latest it looks to be Anyway, I think the timeout set to 10Min is conservative as it covering not only the pull of the image but also other operations that needs to be successful to have a Running Container. Replicating this manually, it never took more than 2/3 minutes but I wanted to align the test timeout with the production code. |
|
/build-and-push-container |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:pr-5308 published |
|
Verification failed for PR #5308. Execution details |
|
/build-and-push-container |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:pr-5308 published |
|
Verification failed for PR #5308. Execution details |
|
/build-and-push-container |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:pr-5308 published |
|
Verification failed for PR #5308. Execution details |
|
/lgtm |
There is not much happening other than the pull tbh, the entrypoint is bash |
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 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:
CNV-62312
Summary by CodeRabbit