• Kevin Marshall's avatar
    Fuchsia: Create new runner scripts which leverage packaging and SSH. · c4ec08a5
    Kevin Marshall authored
    Generates an alternative runner script for each test target,
    with a "_v2" suffix, e.g. run_base_unittests_v2.
    The old-style generated runner scripts will still be without the
    "_v2" suffix, but they will be deprecated and removed soon as part
    of a followup CL.
    
    The new scripts will bring up a new QEMU VM, a Zedboot physical
    device, or continue to use an existing device that is currently
    accepting SSH connections.
    
    Once connected, the scripts push the package bits onto the device,
    execute the package using SSH, extract the build logs and other
    artifacts from the device, and finally clean up the state.
    
    Other changes:
    * Add DeviceTarget impl for deployment.
    * Use relative paths in package archive manifests, for symbolization.
    * Add logging statements everywhere, and a -v switch to turn them on.
    * Add package cleanup teardown step, to avoid cluttering up long-running
      devices.
    * Refactor symbolization as a stream filter object.
    
    
    Bug: 799309
    Change-Id: Iffaefd1d3a5ce919ba2dea4e29033987454c2eed
    Reviewed-on: https://chromium-review.googlesource.com/882441
    Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
    Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
    Reviewed-by: default avatarWez <wez@chromium.org>
    Reviewed-by: default avatarScott Graham <scottmg@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#533200}
    c4ec08a5
target.py 4.65 KB