netperf: Retry internal netperf timeout failures

Netperf sets its own internal timeout for time-limited runs.  With
some small probability these can fail, especially on CPU-limited
machinery.  This CL detects such failures and retries the netperf
run.

BUG=chromium:490408
TEST="killall -ALRM netperf" on the DUT during the test run

Change-Id: I7731246b6c5ea6f2df85eae95f94d1d313ff0253
Reviewed-on: https://chromium-review.googlesource.com/292944
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Reviewed-by: Tien Chang <tienchang@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
1 file changed