Improve handling of dut preparation error in deploytask

BUG=chromium:912977
TEST=unittests; Run `lucifer deploytask` such that dut preparation
     fails.

Change-Id: I64524a4a41ee75731bde9a324837189251162c9e
Reviewed-on: https://chromium-review.googlesource.com/1550574
Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
1 file changed
tree: e51cbd91d0767e990f8db294eeb41e0efcf664c7
  1. scripts/
  2. src/
  3. .gitignore
  4. COMMIT-QUEUE.ini
  5. LICENSE
  6. README.md
README.md

Lucifer

Chromium OS test running infrastructure.

Overview

The project provides multiple binaries.

lucifer_run_job and lucifer_admin_task are the main Lucifer binaries. They run a test job and admin task, respectively. They are intended to be run by a parent wrapper process. The commands print status update events to stdout, and the calling process should perform the necessary updates for the scheduling system in use (e.g. Autotest or Swarming).

skylab_swarming_worker is such a wrapper for Swarming.

Development

See Go in Chromium OS. Development should be done in the chroot to ensure the right version of Go and dependencies are used.

To install dependencies, run in the chroot:

sudo emerge -o lucifer