• Sergiy Byelozyorov's avatar
    [tools] Refactor run_perf.py to use logging module for all status messages · 8dc41a58
    Sergiy Byelozyorov authored
    All status messages will be printed into STDERR and only the results will
    continue to be written to STDOUT as documentation suggests. Additionally the
    following changes are made:
     - on Buildbot each log entry will have a timestamp to make it easy to measure
       time between status messages printed by test runner, users will continue to
       see just the message itself
     - when devil (or any other module) logs error, they will not be interleaved
       with our own output since logging module is thread-safe
     - critical logs replaced with warning since they do not immediately stop
       the test runner
     - logging.exception is used for all exceptions to get formatted stack trace
    
    TBR=machenbach@chromium.org
    
    No-Try: true
    Bug: chromium:838864
    Change-Id: I197fcc3bc5890130ce8b35c3e21237f9614fc468
    Reviewed-on: https://chromium-review.googlesource.com/1159361
    Commit-Queue: Sergiy Byelozyorov <sergiyb@chromium.org>
    Reviewed-by: 's avatarSergiy Byelozyorov <sergiyb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#54851}
    8dc41a58
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps 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...
.gitattributes 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...