Skip to content

test/ext_proc: Deflake the HTTP client integration tests - #49215

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:test-ext-proc-http-client-message-timeout
Nov 12, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:test-ext-proc-http-client-message-timeout

Conversation

@phlax

@phlax phlax commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

ext_proc_http_integration_test ran with the filter's default message timeout of 200ms, and a 900ms timeout on the HTTP client, both in real time. Under tsan a round trip through the fake side stream server can take longer, the request is then failed with a 504 and never reaches the upstream, and the test fails waiting for the upstream connection and crashes on the stream it did not get.

Default both to 5s, as #48964 did for the gRPC fixture. The tests that rely on the message timeout set it to 200ms: the two timeout tests, and the two with a cluster that does not exist, where nothing responds.

Seen in CI on #49207 (tsan, ServerNoRequestHeaderMutation: Timed out waiting for new connection, then a segmentation fault).

Testing: *ServerNoRequestHeaderMutation* with --config=tsan on RBE:

runs failed
main (0dfc464) 1000 2
this change 3000 0

Risk Level: low (test only)

…sanitizer latency

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Signed-off-by: Ryan Northey <[email protected]>
@phlax
phlax marked this pull request as draft November 12, 2026 19:04
@phlax

phlax commented Nov 12, 2026

Copy link
Copy Markdown
Member Author

testing with deflaker

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.

🟢 Approval recommended

No active review issues block the test-timeout adjustments.

No open issues 🎉

What changed in this PR

Reduces sanitizer-related failures in the ext_proc HTTP client integration tests by increasing timeout headroom, following the gRPC fixture approach in #48964.

Changes:

  • Defaults both filter message and HTTP client timeouts to 5 seconds.
  • Preserves explicit 200 ms message timeouts in timeout-sensitive and missing-cluster tests.
  • Uses MillisecondsToDuration to construct valid protobuf durations for HTTP client timeouts.
File Description
test/​extensions/​filters/​http/​ext_proc/​http_client/​ext_proc_http_integration_test.cc Raises fixture timeouts, preserves targeted overrides, and normalizes duration conversion.

Review effort: Balanced

@phlax phlax changed the title [WIP] test: Give the ext_proc HTTP client integration tests timeouts above … test: Give the ext_proc HTTP client integration tests timeouts above sanitizer latency Nov 12, 2026
@phlax
phlax marked this pull request as ready for review November 12, 2026 19:43
@phlax phlax changed the title test: Give the ext_proc HTTP client integration tests timeouts above sanitizer latency test/ext_proc: Deflake the HTTP client integration tests Nov 12, 2026

@yanjunxiang-google yanjunxiang-google 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.

LGTM

@ravenblackx ravenblackx 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.

This is okay, but ugh why is this test not using simulated time.

@phlax
phlax merged commit 14507a6 into envoyproxy:main Nov 12, 2026
25 checks passed
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as #48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on #49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as #48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on #49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
…49215)

`ext_proc_http_integration_test` ran with the filter's default message
timeout of 200ms, and a 900ms timeout on the HTTP client, both in real
time. Under tsan a round trip through the fake side stream server can
take longer, the request is then failed with a 504 and never reaches the
upstream, and the test fails waiting for the upstream connection and
crashes on the stream it did not get.

Default both to 5s, as envoyproxy#48964 did for the gRPC fixture. The tests that
rely on the message timeout set it to 200ms: the two timeout tests, and
the two with a cluster that does not exist, where nothing responds.

Seen in CI on envoyproxy#49207 (tsan, `ServerNoRequestHeaderMutation`: `Timed out
waiting for new connection`, then a segmentation fault).

Testing: `*ServerNoRequestHeaderMutation*` with `--config=tsan` on RBE:

| | runs | failed |
|---|---|---|
| main (0dfc464) | 1000 | 2 |
| this change | 3000 | 0 |

Risk Level: low (test only)

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 14507a6)
Signed-off-by: Ryan Northey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants