Repository navigation
test: Give the ext_proc integration fixture a message timeout above s… - #48964
Merged
Merged
Conversation
phlax
requested review from
mattklein123,
tyxia,
yanavlasov and
yanjunxiang-google
as code owners
November 3, 2026 15:36
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Two timeout regression tests still assume an implicit 200ms timeout, so the longer fixture default lets their 400ms delays pass without detecting incorrectly enabled or lingering timers.
1 open issue
What changed in this PR
This PR adjusts Envoy’s ext_proc integration fixture to reduce failures caused by sanitizer overhead exceeding the filter’s default timeout.
Changes:
- Sets a 5-second message timeout when a test has not configured one.
- Preserves explicit timeout settings and documents the reason for the longer fixture default.
| File | Description |
|---|---|
test/extensions/filters/http/ext_proc/ext_proc_integration_common.cc |
Adds a conditional 5-second message timeout to the shared fixture. |
Review effort: Balanced
Comment on lines
+111
to
+112
| if (!proto_config_.has_message_timeout()) { | ||
| proto_config_.mutable_message_timeout()->set_seconds(5); |
Member
Author
There was a problem hiding this comment.
Both now set message_timeout to 200ms explicitly (b730cd5): ObservabilityModeWithFullRequestAndTimeout and StandAloneModeOverrideWithHeaderDelay. Every other 400ms advance in these tests already set it.
phlax
force-pushed
the
test-http-ext-proc-message-timeout
branch
from
November 3, 2026 15:47
7705f9b to
b730cd5
Compare
…anitizer latency The fixture never set message_timeout, so every test ran at the filter default of 200ms. Under tsan a round trip through the fake ext_proc server can exceed that: the filter times out and answers 504, so ResponseFromExtProcServerTooLarge saw 504 where it expected the 500 from the oversized response, and later tests timed out waiting for an upstream connection the request never made (run 41653256385, shard 7). Default to 5s where a test has not set one. The timeout tests already set 200ms explicitly; the two that relied on the implicit 200ms to check that no timer is armed (observability mode, FULL_DUPLEX_STREAMED mode override) now set it too. Signed-off-by: Ryan Northey <[email protected]>
phlax
force-pushed
the
test-http-ext-proc-message-timeout
branch
from
November 3, 2026 15:48
b730cd5 to
3ce39e7
Compare
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 12, 2026
envoyproxy#48964) The fixture never set message_timeout, so every test ran at the filter default of 200ms. Under tsan a round trip through the fake ext_proc server can exceed that: the filter times out and answers 504, so ResponseFromExtProcServerTooLarge saw 504 where it expected the 500 from the oversized response, and later tests timed out waiting for an upstream connection the request never made (run 41653256385, shard 7). Default to 5s where a test has not set one. The timeout tests already set 200ms explicitly; the two that relied on the implicit 200ms to check that no timer is armed (observability mode, FULL_DUPLEX_STREAMED mode override) now set it too. Signed-off-by: Ryan Northey <[email protected]>
jwendell
pushed a commit
that referenced
this pull request
Nov 12, 2026
#48964) The fixture never set message_timeout, so every test ran at the filter default of 200ms. Under tsan a round trip through the fake ext_proc server can exceed that: the filter times out and answers 504, so ResponseFromExtProcServerTooLarge saw 504 where it expected the 500 from the oversized response, and later tests timed out waiting for an upstream connection the request never made (run 41653256385, shard 7). Default to 5s where a test has not set one. The timeout tests already set 200ms explicitly; the two that relied on the implicit 200ms to check that no timer is armed (observability mode, FULL_DUPLEX_STREAMED mode override) now set it too. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
that referenced
this pull request
Nov 12, 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 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 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]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 25, 2026
envoyproxy#48964) The fixture never set message_timeout, so every test ran at the filter default of 200ms. Under tsan a round trip through the fake ext_proc server can exceed that: the filter times out and answers 504, so ResponseFromExtProcServerTooLarge saw 504 where it expected the 500 from the oversized response, and later tests timed out waiting for an upstream connection the request never made (run 41653256385, shard 7). Default to 5s where a test has not set one. The timeout tests already set 200ms explicitly; the two that relied on the implicit 200ms to check that no timer is armed (observability mode, FULL_DUPLEX_STREAMED mode override) now set it too. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 751b6fe)
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 25, 2026
envoyproxy#48964) The fixture never set message_timeout, so every test ran at the filter default of 200ms. Under tsan a round trip through the fake ext_proc server can exceed that: the filter times out and answers 504, so ResponseFromExtProcServerTooLarge saw 504 where it expected the 500 from the oversized response, and later tests timed out waiting for an upstream connection the request never made (run 41653256385, shard 7). Default to 5s where a test has not set one. The timeout tests already set 200ms explicitly; the two that relied on the implicit 200ms to check that no timer is armed (observability mode, FULL_DUPLEX_STREAMED mode override) now set it too. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 751b6fe)
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 25, 2026
envoyproxy#48964) The fixture never set message_timeout, so every test ran at the filter default of 200ms. Under tsan a round trip through the fake ext_proc server can exceed that: the filter times out and answers 504, so ResponseFromExtProcServerTooLarge saw 504 where it expected the 500 from the oversized response, and later tests timed out waiting for an upstream connection the request never made (run 41653256385, shard 7). Default to 5s where a test has not set one. The timeout tests already set 200ms explicitly; the two that relied on the implicit 200ms to check that no timer is armed (observability mode, FULL_DUPLEX_STREAMED mode override) now set it too. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 751b6fe)
This was referenced Nov 25, 2026
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 25, 2026
…age timeout envoyproxy#48964 gave the ext_proc integration fixture a 5s default message timeout, as the filter default of 200ms is shorter than a round trip through the fake ext_proc server can take under the sanitizers. The default is set in `initializeConfig()`, which the tests with two ext_proc filters do not go through for their filter configs: they pass each one to `addDownstreamExtProcFilter()`, so both filters kept the 200ms default. Apply the same default there. This is the fixture change that landed on main as part of envoyproxy#49286, without the rest of that change. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 25, 2026
…age timeout envoyproxy#48964 gave the ext_proc integration fixture a 5s default message timeout, as the filter default of 200ms is shorter than a round trip through the fake ext_proc server can take under the sanitizers. The default is set in `initializeConfig()`, which the tests with two ext_proc filters do not go through for their filter configs: they pass each one to `addDownstreamExtProcFilter()`, so both filters kept the 200ms default. Apply the same default there. This is the fixture change that landed on main as part of envoyproxy#49286, without the rest of that change. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 25, 2026
…age timeout envoyproxy#48964 gave the ext_proc integration fixture a 5s default message timeout, as the filter default of 200ms is shorter than a round trip through the fake ext_proc server can take under the sanitizers. The default is set in `initializeConfig()`, which the tests with two ext_proc filters do not go through for their filter configs: they pass each one to `addDownstreamExtProcFilter()`, so both filters kept the 200ms default. Apply the same default there. This is the fixture change that landed on main as part of envoyproxy#49286, without the rest of that change. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 25, 2026
…age timeout envoyproxy#48964 gave the ext_proc integration fixture a 5s default message timeout, as the filter default of 200ms is shorter than a round trip through the fake ext_proc server can take under the sanitizers. The default is set in `initializeConfig()`, which the tests with two ext_proc filters do not go through for their filter configs: they pass each one to `addDownstreamExtProcFilter()`, so both filters kept the 200ms default. Apply the same default there. This is the fixture change that landed on main as part of envoyproxy#49286, without the rest of that change. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 25, 2026
…age timeout envoyproxy#48964 gave the ext_proc integration fixture a 5s default message timeout, as the filter default of 200ms is shorter than a round trip through the fake ext_proc server can take under the sanitizers. The default is set in `initializeConfig()`, which the tests with two ext_proc filters do not go through for their filter configs: they pass each one to `addDownstreamExtProcFilter()`, so both filters kept the 200ms default. Apply the same default there. This is the fixture change that landed on main as part of envoyproxy#49286, without the rest of that change. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 25, 2026
…age timeout envoyproxy#48964 gave the ext_proc integration fixture a 5s default message timeout, as the filter default of 200ms is shorter than a round trip through the fake ext_proc server can take under the sanitizers. The default is set in `initializeConfig()`, which the tests with two ext_proc filters do not go through for their filter configs: they pass each one to `addDownstreamExtProcFilter()`, so both filters kept the 200ms default. Apply the same default there. This is the fixture change that landed on main as part of envoyproxy#49286, without the rest of that change. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 25, 2026
…age timeout envoyproxy#48964 gave the ext_proc integration fixture a 5s default message timeout, as the filter default of 200ms is shorter than a round trip through the fake ext_proc server can take under the sanitizers. The default is set in `initializeConfig()`, which the tests with two ext_proc filters do not go through for their filter configs: they pass each one to `addDownstreamExtProcFilter()`, so both filters kept the 200ms default. Apply the same default there. This is the fixture change that landed on main as part of envoyproxy#49286, without the rest of that change. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 25, 2026
…age timeout envoyproxy#48964 gave the ext_proc integration fixture a 5s default message timeout, as the filter default of 200ms is shorter than a round trip through the fake ext_proc server can take under the sanitizers. The default is set in `initializeConfig()`, which the tests with two ext_proc filters do not go through for their filter configs: they pass each one to `addDownstreamExtProcFilter()`, so both filters kept the 200ms default. Apply the same default there. This is the fixture change that landed on main as part of envoyproxy#49286, without the rest of that change. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
that referenced
this pull request
Nov 25, 2026
#48964) The fixture never set message_timeout, so every test ran at the filter default of 200ms. Under tsan a round trip through the fake ext_proc server can exceed that: the filter times out and answers 504, so ResponseFromExtProcServerTooLarge saw 504 where it expected the 500 from the oversized response, and later tests timed out waiting for an upstream connection the request never made (run 41653256385, shard 7). Default to 5s where a test has not set one. The timeout tests already set 200ms explicitly; the two that relied on the implicit 200ms to check that no timer is armed (observability mode, FULL_DUPLEX_STREAMED mode override) now set it too. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 751b6fe)
phlax
added a commit
that referenced
this pull request
Nov 25, 2026
…age timeout #48964 gave the ext_proc integration fixture a 5s default message timeout, as the filter default of 200ms is shorter than a round trip through the fake ext_proc server can take under the sanitizers. The default is set in `initializeConfig()`, which the tests with two ext_proc filters do not go through for their filter configs: they pass each one to `addDownstreamExtProcFilter()`, so both filters kept the 200ms default. Apply the same default there. This is the fixture change that landed on main as part of #49286, without the rest of that change. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
that referenced
this pull request
Nov 25, 2026
#48964) The fixture never set message_timeout, so every test ran at the filter default of 200ms. Under tsan a round trip through the fake ext_proc server can exceed that: the filter times out and answers 504, so ResponseFromExtProcServerTooLarge saw 504 where it expected the 500 from the oversized response, and later tests timed out waiting for an upstream connection the request never made (run 41653256385, shard 7). Default to 5s where a test has not set one. The timeout tests already set 200ms explicitly; the two that relied on the implicit 200ms to check that no timer is armed (observability mode, FULL_DUPLEX_STREAMED mode override) now set it too. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 751b6fe)
phlax
added a commit
that referenced
this pull request
Nov 25, 2026
…age timeout #48964 gave the ext_proc integration fixture a 5s default message timeout, as the filter default of 200ms is shorter than a round trip through the fake ext_proc server can take under the sanitizers. The default is set in `initializeConfig()`, which the tests with two ext_proc filters do not go through for their filter configs: they pass each one to `addDownstreamExtProcFilter()`, so both filters kept the 200ms default. Apply the same default there. This is the fixture change that landed on main as part of #49286, without the rest of that change. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
that referenced
this pull request
Nov 25, 2026
#48964) The fixture never set message_timeout, so every test ran at the filter default of 200ms. Under tsan a round trip through the fake ext_proc server can exceed that: the filter times out and answers 504, so ResponseFromExtProcServerTooLarge saw 504 where it expected the 500 from the oversized response, and later tests timed out waiting for an upstream connection the request never made (run 41653256385, shard 7). Default to 5s where a test has not set one. The timeout tests already set 200ms explicitly; the two that relied on the implicit 200ms to check that no timer is armed (observability mode, FULL_DUPLEX_STREAMED mode override) now set it too. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 751b6fe)
phlax
added a commit
that referenced
this pull request
Nov 25, 2026
…age timeout #48964 gave the ext_proc integration fixture a 5s default message timeout, as the filter default of 200ms is shorter than a round trip through the fake ext_proc server can take under the sanitizers. The default is set in `initializeConfig()`, which the tests with two ext_proc filters do not go through for their filter configs: they pass each one to `addDownstreamExtProcFilter()`, so both filters kept the 200ms default. Apply the same default there. This is the fixture change that landed on main as part of #49286, without the rest of that change. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
that referenced
this pull request
Nov 25, 2026
…age timeout #48964 gave the ext_proc integration fixture a 5s default message timeout, as the filter default of 200ms is shorter than a round trip through the fake ext_proc server can take under the sanitizers. The default is set in `initializeConfig()`, which the tests with two ext_proc filters do not go through for their filter configs: they pass each one to `addDownstreamExtProcFilter()`, so both filters kept the 200ms default. Apply the same default there. This is the fixture change that landed on main as part of #49286, without the rest of that change. Signed-off-by: Ryan Northey <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

The fixture never set message_timeout, so every test ran at the filter default of 200ms. Under tsan a round trip through the fake ext_proc server can exceed that: the filter times out and answers 504, so ResponseFromExtProcServerTooLarge saw 504 where it expected the 500 from the oversized response, and later tests timed out waiting for an upstream connection the request never made (run 41653256385, shard 7).
Default to 5s where a test has not set one. The timeout tests already set 200ms explicitly; the two that relied on the implicit 200ms to check that no timer is armed (observability mode, FULL_DUPLEX_STREAMED mode override) now set it too.