CherryPicked: [cnv-4.22] Add retry for virtctl download to handle transient SSL errors#5570
Conversation
The virtctl binary download from the cluster CLI route can intermittently fail with transient SSL/connection errors, causing all tests depending on the `virtctl_binary` fixture to fail in setup. Wraps the download in a `@retry` decorator that retries on `SSLError`, `ConnectionError`, and `Timeout` for up to 2 minutes (10s between attempts). Tested * `TestDisconnectedVirtctlDownload::test_download_virtcli_binary` (gating) - PASSED * `TestDisconnectedVirtctlDownloadAndExecute::test_download_and_execute_virtcli_binary_linux` (gating) - PASSED https://redhat.atlassian.net/browse/CNV-83631 Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Ahmad Hafe <ahafe@redhat.com>
|
@Ahmad-Hafe — AI automatically resolved merge conflicts for this cherry-pick. Please review the changes carefully and verify correctness before merging. |
|
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
📌 Additional InformationCustom Commands:
For more information, please refer to the project documentation or contact the maintainers. |
|
/verified |
|
/approve |
|
/lgtm |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:cnv-4.22 published |
|
/cherry-pick cnv-4.21 |
|
Cherry-picked PR CherryPicked: [cnv-4.22] Add retry for virtctl download to handle transient SSL errors into cnv-4.21: #5608 |
…tl download to handle transient SSL errors (#5608) Cherry-pick from `cnv-4.22` branch, original PR: #5570, PR owner: cnv-tests-github-webhook-dollierp[bot] Signed-off-by: cnv-tests-github-webhook-dollierp[bot] <ahafe@redhat.com> Co-authored-by: cnv-tests-github-webhook-dollierp[bot] <ahafe@redhat.com>
Cherry-pick from
mainbranch, original PR: #5355, PR owner: Ahmad-Hafe