commit | f22c7efb613209efdb956035316db75df17efbd1 | [log] [tgz] |
---|---|---|
author | Eric Aleshire <ericale@google.com> | Mon Feb 04 23:41:26 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 04 23:41:26 2019 |
tree | f46c04bf764cb658c4e113fd92f4138afd5d41ef | |
parent | 6d6703d2785e2725ff9c3ade731be583645b754e [diff] |
Attempt to avoid timing out after successful iOS test runs by catching SIGTERM. The test runner is sent SIGTERM typically 30s before the hard timeout of a test run; knowing that, this CL attempts to catch that SIGTERM and force kill a hung test process, allowing it to exit more gracefully. (See: https://cs.chromium.org/chromium/infra/luci/appengine/swarming/swarming_bot/bot_code/bot_main.py?l=891&rcl=599029f4b1abebfa812f3b2b9df9a5c6c7acbca4) This should not affect the success/failure of a run, as that is determined by "TEST EXECUTION SUCCEEDED" appearing in the stdout for a test run. Return code is noted but not used for success. I also add some minor logging in this CL for clarity. Change-Id: I5ec882862db6693f09f69f6e191261f2c6ba43f9 Bug: 898549 Reviewed-on: https://chromium-review.googlesource.com/c/1448684 Commit-Queue: ericale <ericale@chromium.org> Reviewed-by: Sergey Berezin <sergeyberezin@chromium.org> Cr-Commit-Position: refs/heads/master@{#628935}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .