bryancall opened a new pull request, #14048: URL: https://github.com/apache/trafficserver/pull/14048
Four TLS urtests have failed in every 9.2.x coverage nightly since the Uranium tests were backported in [#13892](https://github.com/apache/trafficserver/pull/13892), 6 of 6 runs from 10/29 to 11/10 ([192](https://ci.trafficserver.apache.org/job/9.2.x/job/coverage/192/) to [197](https://ci.trafficserver.apache.org/job/9.2.x/job/coverage/197/)): test_tls_check_dual_cert_selection, test_tls_check_dual_cert_selection2, test_tls_verify_override and test_tls_verify_override_base. That job runs in the Rocky Linux 8 image, which ships OpenSSL 1.1.1k, and all four tests expect wording from a newer OpenSSL. In build 197's console, the dual cert assertions fail on s_client output that reads "CN = group.com" and "CN = foo.com". The dual cert tests look for "CN=group.com" in the openssl s_client output, but OpenSSL 1.1.1 and 3.0 print the subject as "CN = group.com". The tests now pass `-nameopt RFC2253` to s_client, which prints "CN=group.com" on 1.1.1, 3.0 and 4.0, so the assertions stay exact. The verify override tests require "self-signed certificate" in the diagnostics, but ATS built on OpenSSL 1.1.1 logs "self signed certificate". That fix is the tls_verify_override_scenario.py hunk of [#13936](https://github.com/apache/trafficserver/pull/13936), which master and 10.2.x already carry. Pull request CI runs urtest on a newer OpenSSL, where these tests pass with or without this change. A green PR check here therefore shows that nothing broke on OpenSSL 3; the evidence for the fix is the Rocky Linux 8 runs below. Test plan, in the Rocky Linux 8 CI image with the coverage job's configure flags: - Unfixed 9.2.x tip: the four tests above fail at the same lines as in CI, and test_tls_verify_override_sni passes (4 failed, 1 passed). - With this change: 5 passed, then 10 more runs, 50 of 50. - Mutations: changing the expected CN to a wrong name makes each dual cert test fail. Changing `Action=Continue` to `Action=Terminate` in the new regex makes both verify override tests fail. So the assertions still catch a real failure. - Full Uranium suite with this change: 654 passed, 7 skipped, 0 failed. Build 197 at the same base had 6 failed, 648 passed, 7 skipped: these four, plus test_continuation_open_close_order[http1] and test_regex_revalidate_miss, which each failed once before. `-nameopt` is an OpenSSL option. LibreSSL's s_client, which is macOS's `/usr/bin/openssl`, rejects it, so running these tests on a Mac needs an OpenSSL first in PATH. CI images all use OpenSSL. -- 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]
