bryancall opened a new pull request, #12857:
URL: https://github.com/apache/trafficserver/pull/12857

   ## Summary
   
   This PR fixes multiple autest compatibility issues that cause test failures 
on modern systems like Fedora 43 with Python 3.14 and OpenSSL 3.x.
   
   ### Python 3.14 Compatibility Fixes
   - Fix `kwargs.iteritems()` → `kwargs.items()` in `microserver.test.ext`
   - Add missing `os` import in `microserver.test.ext` and `conditions.test.ext`
   - Add explicit UTF-8 encoding to socket `decode()` calls
   - Replace deprecated `socket.error` with `OSError` in `ports.py`
   - Add socket timeout to prevent `recv()` from hanging indefinitely
   
   ### TLS Protocol Deprecation Fixes
   - Add `HasLegacyTLSSupport()` condition to detect TLSv1.0/TLSv1.1 support
   - Skip `tls_client_versions` tests on systems without legacy TLS support
   - Modern OpenSSL 3.x + Fedora crypto-policies disable TLSv1.0/TLSv1.1 by 
default
   - Detection uses actual TLS connection test to handle crypto-policy 
restrictions
   
   ### Timing Improvements
   - Increase sleep duration in `polite_hook_wait.cc` from 200ms to 500ms to 
account for variable scheduling latency
   
   ## Test Plan
   
   Tested on:
   - Fedora 43 (Server Edition)
   - Python 3.14.2
   - GCC 15.2.1
   - OpenSSL 3.x with DEFAULT crypto-policy
   
   Results:
   - TLS client_versions tests now properly skip instead of failing
   - Core autest functionality works correctly
   - No regressions observed


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to