• Michael Achenbach's avatar
    [test] Abort testing immediately on interrupt and sigterm · 4a2d9b1b
    Michael Achenbach authored
    This is a partial revert of:
    https://crrev.com/c/890938 and https://crrev.com/c/893982
    
    Before this CL, the test runner blocked on ongoing tests in order to
    process their results after an internal timeout. However, the logic
    required for this feature was overly complicated and prevented an
    acceptable implementation for fast aborts. Furthermore, also the fuzzers
    suffered from timeouts on swarming due to hanging tests.
    
    Instead, we now abort immediately on internal timeout (used on
    fuzzers), SIGINT (Ctrl-C) and SIGTERM. Ongoing tests are immediately
    terminated and their results are disregarded. On SIGTERM and SIGINT,
    we return with non-zero exit codes, and zero on internal timeout.
    
    This will also properly return json output, when the external hard
    timeout is reached on swarming (causes SIGTERM).
    
    TBR=sergiyb@chromium.org
    
    Bug: v8:7423, chromium:813065
    Change-Id: Ib20f835f58a0970693bdd3b21dc5d766d8e115d8
    Reviewed-on: https://chromium-review.googlesource.com/924852Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
    Commit-Queue: Michael Achenbach <machenbach@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#51399}
    4a2d9b1b
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...