[PATCH] sunrpc: Improvements for UDP client timeout handling [BZ #20257]

Florian Weimer fweimer@redhat.com
Tue Sep 26 12:59:00 GMT 2017


On 09/26/2017 02:58 PM, Andreas Schwab wrote:
> I see various failures of sunrpc/tst-udp-nonblocking and
> sunrpc/tst-udp-timeout:
> 
> error: tst-udp-timeout.c:195: not true: clnt_call (clnt, proc, xdr_test_query, (void *) &query, xdr_test_response, (void *) &response, timeout) == RPC_SUCCESS
> 
> error: tst-udp-timeout.c:324: not true: after - before < 1.4
> 
> error: tst-udp-timeout.c:290: not true: after - before < 1.2
> error: tst-udp-timeout.c:362: not true: after - before < 3.0
> error: tst-udp-timeout.c:225: not true: clnt_call (clnt, PROC_RESET_SEQ, (xdrproc_t) xdr_void, NULL, (xdrproc_t) xdr_void, NULL, ((struct timeval) { 5, 0 })) == RPC_SUCCESS
> 
> error: tst-udp-nonblocking.c:294: not true: after_pings - before_pings < 1.2
> error: tst-udp-nonblocking.c:302: not true: servers[1].xid == xid
> error: tst-udp-nonblocking.c:303: not true: response.server_id == 1
> error: tst-udp-nonblocking.c:305: not true: response.sum == 102

This could be kernel bugs in time handling.

What's your HZ value?

Thanks,
Florian



More information about the Libc-alpha mailing list