
Currently, CrOS HW tests will wait 10min for a device on an up-to-date OS, and fallback to a device running any OS after that. With crbug.com/1057152, we are now flashing the device to the right OS as part of the task. So we no longer need to wait so long for the right device when we can flash it ourselves. Flashing takes about 5min, so a 5min deadline maintains a 10min delay at the worst. This also moves the expiration value from an arg to a module constant since the arg was never passed, and likely won't ever be. Bug: 1057152 Change-Id: Ia66e714b02f9f4b6b0d011fd96a80f42d0294d52 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2287954 Reviewed-by: Brian Sheedy <bsheedy@chromium.org> Reviewed-by: Kenneth Russell <kbr@chromium.org> Commit-Queue: Ben Pastene <bpastene@chromium.org> Cr-Commit-Position: refs/heads/master@{#790145}
Swarming trigger scripts
This directory contains Swarming trigger scripts, which are trampoline scripts that provide finer-grained control of how tests are sharded and distributed on the Swarming fleet.
Trigger scripts are documented here:
https://cs.chromium.org/search/?q=file:swarming/api.py+%22*+trigger_script:%22&type=cs