• Stephen Roe's avatar
    Reland "[fuchsia] Collect Fuchsia system logs from Chrome-Fuchsia tests." · a4bb64cd
    Stephen Roe authored
    This is a reland of e2eb7388
    
    System log collection is enabled by specifying a --enable-fuchsia-system-log argument which causes the test runner scripts to write the fuchsia system log to the test system_log file instead of writing the fuchsia kernel log file.
    
    Original change's description:
    > [fuchsia] Collect Fuchsia system logs from Chrome-Fuchsia tests.
    >
    > The Fuchsia system logs contain more detailed information than the Fuchsia kernel logs.
    >
    > Currently only Fuchsia kernel logs are collected.  The kernel logs are:
    > - written to the swarming task output log along with the actual test output
    > - optionally written to a "system_log" file in the test isolate output
    >
    > This CL will:
    > - optionally write the Fuchsia system log to a "log_listener_log" in the test isolate output
    >
    > The Fuchsia system log will be written if the kernel log is written.
    >
    > The Fuchsia system log is written to "log_listener_log".  The name "log_listener_log" was used because the Fuchsia kernel log contents are already saved in "system_log".
    >
    > Bug: 1042512
    > Change-Id: I900b5dfe9f6587f1901c19612060b979fae4da99
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2130679
    > Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
    > Commit-Queue: Stephen Roe <steveroe@google.com>
    > Cr-Commit-Position: refs/heads/master@{#756118}
    
    Bug: 1042512
    Change-Id: I9edf2991e697e09b81b7c206cce0de04ca42b500
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2136143
    Commit-Queue: Stephen Roe <steveroe@google.com>
    Reviewed-by: default avatarKevin Marshall <kmarshall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#758636}
    a4bb64cd
run_package.py 8.21 KB