envoyproxy/envoy

Non-hermetic DNS testing in eg dynamic_forward_proxy is causing recurring failure/slowness

Offen

#42.217 geöffnet am 24.11.2025

 (24 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
area/ciarea/dynamic_forward_proxyarea/test flakesbughelp wanted

Repository-Metriken

Stars
 (27.997 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

I stumbled upon this issue with the mobile test //test/common/integration:client_integration_test

in that case the test had a total timeout and was querying dns for doesnotexist - dns was retrying 3x, and taking 5+ seconds to respond on each try - blowing the tests total timeout budget

im struggling to find how i resolved the issue in mobile - but it seems i got past it

this problem has again occurred when trying to update the build image - asan and gcc are reliably timeouting on similar tests - and it looks like for similar reasons

i would have thought these tests should not be calling any real dns - it should be mocked and hermetic

Contributor Guide