Skip to content

Expand client IP debug logging test coverage - #13290

Merged
bneradt merged 1 commit into
apache:masterfrom
bneradt:debug-client-ip-replay-autests
Jun 27, 2026
Merged

Expand client IP debug logging test coverage#13290
bneradt merged 1 commit into
apache:masterfrom
bneradt:debug-client-ip-replay-autests

Conversation

@bneradt

@bneradt bneradt commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Before this patch, the client ip debug logging test only covered one
HTTP transaction, so regressions across protocols or persistent client
sessions could pass unnoticed.

This converts the test to replay-driven coverage for HTTP, HTTPS, and
HTTP/2, with an HTTP/3 scenario enabled when QUICHE is available. Each
replay sends multiple transactions on one client connection and checks
that all four request and response header dumps include per-transaction
markers.

This test found no issues, thus this is a test-only patch.

@bneradt bneradt added this to the 11.0.0 milestone Jun 17, 2026
Copilot AI review requested due to automatic review settings June 17, 2026 20:29
@bneradt bneradt self-assigned this Jun 17, 2026
@bneradt bneradt added Logging Tests AuTest Debug Support for system debugging labels Jun 17, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 9 comments.

Comment thread tests/gold_tests/autest-site/ats_replay.test.ext
Comment thread tests/gold_tests/logging/replay/log-debug-client-ip-http.replay.yaml Outdated
Comment thread tests/gold_tests/logging/replay/log-debug-client-ip-http.replay.yaml Outdated
Comment thread tests/gold_tests/logging/replay/log-debug-client-ip-https.replay.yaml Outdated
Comment thread tests/gold_tests/logging/replay/log-debug-client-ip-https.replay.yaml Outdated
Comment thread tests/gold_tests/logging/replay/log-debug-client-ip-http2.replay.yaml Outdated
Comment thread tests/gold_tests/logging/replay/log-debug-client-ip-http2.replay.yaml Outdated
Comment thread tests/gold_tests/logging/replay/log-debug-client-ip-http3.replay.yaml Outdated
Comment thread tests/gold_tests/logging/replay/log-debug-client-ip-http3.replay.yaml Outdated
@bryancall
bryancall requested review from moonchen and serrislew and removed request for moonchen June 22, 2026 22:36
Before this patch, the client ip debug logging test only covered one
HTTP transaction, so regressions across protocols or persistent client
sessions could pass unnoticed.

This converts the test to replay-driven coverage for HTTP, HTTPS, and
HTTP/2, with an HTTP/3 scenario enabled when QUICHE is available. Each
replay sends multiple transactions on one client connection and checks
that all four request and response header dumps include per-transaction
markers.

This test found no issues, thus this is a test-only patch.
@bneradt
bneradt force-pushed the debug-client-ip-replay-autests branch from 22e5372 to c3bb62f Compare June 25, 2026 22:57
@serrislew
serrislew requested a review from Copilot June 26, 2026 04:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

@bneradt
bneradt merged commit a2c55e3 into apache:master Jun 27, 2026
15 checks passed
@bneradt
bneradt deleted the debug-client-ip-replay-autests branch June 27, 2026 00:49
@github-project-automation github-project-automation Bot moved this to For v10.1.1 in ATS v10.1.x Jun 27, 2026
@github-project-automation github-project-automation Bot moved this to For v10.2.0 in ATS v10.2.x Jun 27, 2026
@cmcfarlen cmcfarlen moved this from For v10.2.0 to Picked v10.2.0 in ATS v10.2.x Jul 6, 2026
@cmcfarlen cmcfarlen modified the milestones: 11.0.0, 10.2.0 Jul 6, 2026
@cmcfarlen

Copy link
Copy Markdown
Contributor

Cherry-picked to 10.2.x

cmcfarlen pushed a commit that referenced this pull request Jul 6, 2026
Before this patch, the client ip debug logging test only covered one
HTTP transaction, so regressions across protocols or persistent client
sessions could pass unnoticed.

This converts the test to replay-driven coverage for HTTP, HTTPS, and
HTTP/2, with an HTTP/3 scenario enabled when QUICHE is available. Each
replay sends multiple transactions on one client connection and checks
that all four request and response header dumps include per-transaction
markers.

This test found no issues, thus this is a test-only patch.

(cherry picked from commit a2c55e3)
cmcfarlen pushed a commit to cmcfarlen/trafficserver that referenced this pull request Jul 29, 2026
Before this patch, the client ip debug logging test only covered one
HTTP transaction, so regressions across protocols or persistent client
sessions could pass unnoticed.

This converts the test to replay-driven coverage for HTTP, HTTPS, and
HTTP/2, with an HTTP/3 scenario enabled when QUICHE is available. Each
replay sends multiple transactions on one client connection and checks
that all four request and response header dumps include per-transaction
markers.

This test found no issues, thus this is a test-only patch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AuTest Debug Support for system debugging Logging Tests

Projects

Status: For v10.1.1
Status: Picked v10.2.0

Development

Successfully merging this pull request may close these issues.

4 participants