commit | 08fd13ce6fc9ad727feab6714d80c63fcefdb4f7 | [log] [tgz] |
---|---|---|
author | David Riley <[email protected]> | Tue Jan 09 20:24:43 2018 |
committer | chrome-bot <[email protected]> | Wed Jan 10 23:44:45 2018 |
tree | f6c5ec1cfb3aa269244c50d609cb68d41a01cae5 | |
parent | cddf942c87d82519b2d4a7f8989fd368df1d8649 [diff] |
quick-provision: Ensure no concurrent quick provisioning. Ensure that there is no concurrent quick provisioning through the use of a lock file. Similarly, if a quick provision has successfully completed on the device, do not make a second attempt and instead wait for it to reboot. This logic will need to be revisited if quick provisioning becomes the only form of provisioning without fallback to the legacy path. BUG=chromium:785065 TEST=loadtest.py -t 1 -s 0; ssh dut /tmp/quick-provision Change-Id: I79e5e6aeb26e4835165fcd510b769efbe7b2a841 Reviewed-on: https://chromium-review.googlesource.com/857592 Commit-Ready: David Riley <[email protected]> Tested-by: David Riley <[email protected]> Reviewed-by: Mike Frysinger <[email protected]>