Skip to content

Fix two Uranium tests on Fedora 45 - #13976

Merged
bneradt merged 1 commit into
apache:masterfrom
bneradt:fedora45-urtest-fixes
Nov 3, 2026
Merged

bneradt merged 1 commit into
apache:masterfrom
bneradt:fedora45-urtest-fixes

Conversation

@bneradt

@bneradt bneradt commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Two Uranium tests fail on Fedora 45, which blocks moving the Fedora CI
jobs from fedora:44 to fedora:45. Fedora 45's curl 8.21 reworded its
verbose CONNECT message from "Establish HTTP proxy tunnel" to
"Establishing HTTP proxy tunnel", so test_connect_curl no longer
matches its gold file. test_tls_verify_override_sni hangs because its
TLS origins answer with a 200 that has neither a Content-Length nor a
body, which leaves the HTTP/1.1 request waiting until it times out
under OpenSSL 4. #13763 framed this response in the AuTest version of
the test, but that change did not carry over to the pytest conversion.

This patch makes the gold line accept either curl wording and restores
the Content-Length: 0 framing on the origin response. Both changes are
confined to the tests, and the gold wildcard still matches the wording
older curl versions print.

🤖 Generated with Claude Code

Two Uranium tests fail on Fedora 45, which blocks moving the Fedora CI
jobs from fedora:44 to fedora:45. Fedora 45's curl 8.21 reworded its
verbose CONNECT message from "Establish HTTP proxy tunnel" to
"Establishing HTTP proxy tunnel", so test_connect_curl no longer
matches its gold file. test_tls_verify_override_sni hangs because its
TLS origins answer with a 200 that has neither a Content-Length nor a
body, which leaves the HTTP/1.1 request waiting until it times out
under OpenSSL 4. apache#13763 framed this response in the AuTest version of
the test, but that change did not carry over to the pytest conversion.

This patch makes the gold line accept either curl wording and restores
the Content-Length: 0 framing on the origin response. Both changes are
confined to the tests, and the gold wildcard still matches the wording
older curl versions print.

Co-Authored-By: Claude Opus 5.5 Medium <[email protected]>
@bneradt
bneradt merged commit e7c5978 into apache:master Nov 3, 2026
14 checks passed
@bneradt
bneradt deleted the fedora45-urtest-fixes branch November 3, 2026 21:03
@github-project-automation github-project-automation Bot moved this to For v10.2.2 in ATS v10.2.x Nov 3, 2026
bneradt added a commit to apache/trafficserver-ci that referenced this pull request Nov 3, 2026
The Fedora build, URTest, and branch AuTest jobs still run on
fedora:44, while Fedora 45 brings newer compilers, Python 3.15, and
OpenSSL 4. Testing on the current release catches toolchain and
library breakage before ATS users hit it.

This change points those three pipelines at the fedora:45 image, which
is now in the CI registry on every agent, and updates the ccache note
for the newer image. Master already carries the test fixes Fedora 45
needs (apache/trafficserver#13976). The 10.2.x and 9.2.x branches need
their backports, including the OpenSSL 4 build fixes for 9.2.x, before
their PRs pass on the new image.

Co-authored-by: Claude Opus 5.5 Medium <[email protected]>
zwoop added a commit to zwoop/trafficserver that referenced this pull request Nov 3, 2026
mock_origin.py can serve TLS and a close-delimited body. The test
fails on OpenSSL 4 without the fix; apache#13976 framed the same response
in test_tls_verify_override_sni instead.
bneradt added a commit to bneradt/trafficserver that referenced this pull request Nov 4, 2026
Two Uranium tests fail on Fedora 45, which blocks moving the Fedora CI
jobs from fedora:44 to fedora:45. Fedora 45's curl 8.21 reworded its
verbose CONNECT message from "Establish HTTP proxy tunnel" to
"Establishing HTTP proxy tunnel", so test_connect_curl no longer
matches its gold file. test_tls_verify_override_sni hangs because its
TLS origins answer with a 200 that has neither a Content-Length nor a
body, which leaves the HTTP/1.1 request waiting until it times out
under OpenSSL 4. apache#13763 framed this response in the AuTest version of
the test, but that change did not carry over to the pytest conversion.

This patch makes the gold line accept either curl wording and restores
the Content-Length: 0 framing on the origin response. Both changes are
confined to the tests, and the gold wildcard still matches the wording
older curl versions print.

Co-authored-by: Claude Opus 5.5 Medium <[email protected]>
(cherry picked from commit e7c5978)
cmcfarlen pushed a commit that referenced this pull request Nov 6, 2026
Two Uranium tests fail on Fedora 45, which blocks moving the Fedora CI
jobs from fedora:44 to fedora:45. Fedora 45's curl 8.21 reworded its
verbose CONNECT message from "Establish HTTP proxy tunnel" to
"Establishing HTTP proxy tunnel", so test_connect_curl no longer
matches its gold file. test_tls_verify_override_sni hangs because its
TLS origins answer with a 200 that has neither a Content-Length nor a
body, which leaves the HTTP/1.1 request waiting until it times out
under OpenSSL 4. #13763 framed this response in the AuTest version of
the test, but that change did not carry over to the pytest conversion.

This patch makes the gold line accept either curl wording and restores
the Content-Length: 0 framing on the origin response. Both changes are
confined to the tests, and the gold wildcard still matches the wording
older curl versions print.

Co-authored-by: Claude Opus 5.5 Medium <[email protected]>
(cherry picked from commit e7c5978)
@cmcfarlen cmcfarlen moved this from For v10.2.2 to Picked v10.2.2 in ATS v10.2.x Nov 6, 2026
@cmcfarlen cmcfarlen modified the milestones: 11.0.0, 10.2.2 Nov 6, 2026
@cmcfarlen

Copy link
Copy Markdown
Contributor

Cherry-picked to the 10.2.x branch as 0c33271 for the 10.2.2 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Picked v10.2.2

Development

Successfully merging this pull request may close these issues.

2 participants