[iOS] Add handling to prevent potential timeouts in tear_down.
Add handling to prevent potential timeouts in suprocess.check_call We're observing some timeouts in some of the bot runs, so we're trying to add some preventative guardrails in test_runner in places that have blocking calls to prevent potential timeouts. Handling freezes in blocking calls will allow for more graceful recoveries and/or even just better data collections in the case of time outs if they happen. This CL specifically is adding some handling around suprocess.check_call in tear_down. Since this is a blocking call, if it should freeze, it would cause the entire tear_down to timeout instead of gracefully recovering and completing the rest of teardown, which would include data collection.e.g. https://logs.chromium.org/logs/chrome/buildbucket/cr-buildbucket.appspot.com/8900250401157621888/+/steps/base_unittests__iPhone_X_iOS_13.1___with_patch__on_iOS-13.1/0/stdout Bug: 1011851 Change-Id: Ib5a955551e209648b9982593b9e2c1ee4a71f7a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1845774 Commit-Queue: Maksym Onufriienko <monufriienko@chromium.org> Reviewed-by:Justin Cohen <justincohen@chromium.org> Reviewed-by:
Aaron Gable <agable@chromium.org> Cr-Commit-Position: refs/heads/master@{#705303}
Showing
Please register or sign in to comment