mirror of https://github.com/grpc/grpc.git
[EventEngine] Produce better error logs on `bind` failures (#35004)
Seeing a rare flake where a fixture address is already in use. This PR adds sockaddr->string conversion for the address, in case some of this address is being truncated before attempting to bind. It's very odd to see this exact-time-based address string generated twice in succession.
`E1116 21:34:56.431768483 17 chttp2_server.cc:1051] UNKNOWN:No address added out of total 1 resolved for 'unix-abstract:grpc_fullstack_test.%00.17.974.661825339.14468088171934000544.7442035989947845277' {created_time:"2023-11-16T21:34:56.431729283+00:00", children:[FAILED_PRECONDITION:Error in bind: Address already in use]}
`
https://source.cloud.google.com/results/invocations/48ee2e26-9341-46ec-9761-35939b73f3f8/targets/%2F%2Ftest%2Fcore%2Fend2end:retry_transparent_max_concurrent_streams_test@poller%3Dpoll/log
Closes #35004
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35004 from drfloob:better-error-on-bind-failure d12d5f8632
PiperOrigin-RevId: 583472016
pull/35023/head
parent
4ecead5c04
commit
42284424ac
1 changed files with 11 additions and 3 deletions
Loading…
Reference in new issue