-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
None
-
False
-
-
False
-
None
-
None
-
None
-
None
-
None
Problem
Test OCP-60944 (WICD service reconciliation) fails with SSH timeout errors on platform 'none' clusters because:
- Code only checked QE_BASTION_PUBLIC_ADDRESS environment variable
- Jenkins/Flexy sets BASTION instead (different naming convention)
- Users get cryptic 8-minute timeout errors with no helpful guidance
Solution
1. Support Flexy Environment Variables
- Added support for both BASTION and QE_BASTION_PUBLIC_ADDRESS
- Added support for both BASTION_SSH_USER and QE_BASTION_SSH_USER
- Now works automatically in Jenkins/Flexy environments
2. Improved Error Messages
- Detailed bastion discovery summary for platform 'none'
- Actionable setup instructions when bastion not found
- Better developer experience
Testing Results
Tested locally with BASTION env var set:
- ✅ Test passes successfully (2m46s)
- ✅ Bastion detection working
- ✅ SSH connections routing through bastion correctly
- ✅ WICD reconciliation verified on both Windows nodes
Impact
- No more SSH timeout failures in Jenkins/Flexy
- Better user experience with actionable error messages
- No configuration changes needed for existing Jenkins/Flexy setups
Files Changed
- test/extended/winc/utils.go: Bastion discovery logic (27 additions, 5 deletions)
Related Work
- Complements PR #29256 (bastion helper scripts for deployment)
- Both PRs together provide complete bastion support for WINC tests
- relates to
-
WINC-1552 Fix flaky tests and platform-specific issues
-
- In Progress
-
- implements
-
PR: Fix OCP-60944 SSH bastion discovery
Code changes to support Flexy bastion env vars and add SSH validation