Skip to content

Align AuTests with latest proxy-verifier checks (#12986)#13020

Merged
cmcfarlen merged 1 commit intoapache:10.2.xfrom
bneradt:backport-12986-10.2.x
Mar 24, 2026
Merged

Align AuTests with latest proxy-verifier checks (#12986)#13020
cmcfarlen merged 1 commit intoapache:10.2.xfrom
bneradt:backport-12986-10.2.x

Conversation

@bneradt
Copy link
Copy Markdown
Contributor

@bneradt bneradt commented Mar 24, 2026

The latest proxy-verifier now fails a run when a verifier server or client is given proxy-side checks for traffic that ATS never produces. Most tests only needed stale proxy-request or proxy-response nodes removed, but the shared replay cases below need server-specific files so each verifier only owns traffic it can actually observe.

  • disable_pristine_host_hdr_server_canary_false.replay.yaml keeps the canary server on uuid 1 when pristine_host_hdr stays enabled.
  • disable_pristine_host_hdr_server_canary_true.replay.yaml keeps the canary server on uuid 1 when the Host header is rewritten.
  • disable_pristine_host_hdr_server_stable.replay.yaml keeps the stable server on uuid 2, which the canary server never receives.
  • escalate_original_server_default.replay.yaml keeps only the requests that the default-mode origin server really handles.
  • escalate_failover_server_default.replay.yaml keeps only the GET requests that default-mode escalation sends to failover.
  • escalate_original_server_non_get.replay.yaml keeps the origin-side subset when --escalate-non-get-methods is enabled.
  • escalate_failover_server_non_get.replay.yaml keeps the failover subset, including the escalated HEAD request in that mode.
  • ja4_fingerprint_basic_server.replay.yaml limits the non-preserve test to its one real request instead of preserve-only checks.
  • traffic_dump_server.yaml keeps origin verification only for the sessions that really reach origin in the main traffic_dump test.
  • traffic_dump_ip_filter_server.yaml keeps only the /one request used by the traffic_dump IP filter test.

These per-server replays preserve fallback server-response directives and client-side coverage while dropping only the proxy-side checks that latest proxy-verifier now correctly reports as unprocessed.

(cherry picked from commit ecf505c)

The latest proxy-verifier now fails a run when a verifier server or
client is given proxy-side checks for traffic that ATS never produces.
Most tests only needed stale proxy-request or proxy-response nodes
removed, but the shared replay cases below need server-specific files
so each verifier only owns traffic it can actually observe.

- disable_pristine_host_hdr_server_canary_false.replay.yaml keeps
  the canary server on uuid 1 when pristine_host_hdr stays enabled.
- disable_pristine_host_hdr_server_canary_true.replay.yaml keeps the
  canary server on uuid 1 when the Host header is rewritten.
- disable_pristine_host_hdr_server_stable.replay.yaml keeps the
  stable server on uuid 2, which the canary server never receives.
- escalate_original_server_default.replay.yaml keeps only the
  requests that the default-mode origin server really handles.
- escalate_failover_server_default.replay.yaml keeps only the GET
  requests that default-mode escalation sends to failover.
- escalate_original_server_non_get.replay.yaml keeps the origin-side
  subset when --escalate-non-get-methods is enabled.
- escalate_failover_server_non_get.replay.yaml keeps the failover
  subset, including the escalated HEAD request in that mode.
- ja4_fingerprint_basic_server.replay.yaml limits the non-preserve
  test to its one real request instead of preserve-only checks.
- traffic_dump_server.yaml keeps origin verification only for the
  sessions that really reach origin in the main traffic_dump test.
- traffic_dump_ip_filter_server.yaml keeps only the /one request
  used by the traffic_dump IP filter test.

These per-server replays preserve fallback server-response directives
and client-side coverage while dropping only the proxy-side checks
that latest proxy-verifier now correctly reports as unprocessed.

(cherry picked from commit ecf505c)
@bneradt bneradt added this to the 10.2.0 milestone Mar 24, 2026
@bneradt bneradt requested a review from cmcfarlen March 24, 2026 18:19
@bneradt bneradt added the AuTest label Mar 24, 2026
@bneradt bneradt self-assigned this Mar 24, 2026
@cmcfarlen cmcfarlen merged commit e3d71e2 into apache:10.2.x Mar 24, 2026
15 checks passed
@github-project-automation github-project-automation bot moved this to For v10.2.0 in ATS v10.2.x Mar 24, 2026
@cmcfarlen cmcfarlen removed this from ATS v10.2.x Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants