Clone this repo:
  1. ee73489 lucifer_run_job: Extract sendHostStatusEvents by Prathmesh Prabhu · 2 days ago master
  2. 67da309 lucifer_run_job: Forward -task-name to autoserv by Prathmesh Prabhu · 2 days ago
  3. 2e41353 Factor out atutil package by Allen Li · 2 days ago
  4. f0d6aad Document installing dep and dependency libs by Allen Li · 2 days ago
  5. 549840c Add host info syncing for skylab by Allen Li · 5 days ago

Lucifer

Chromium OS test running infrastructure.

Overview

The project provides two binaries.

lucifer_run_job runs a test job. It is intended to be run by a parent wrapper process. lucifer_run_job prints 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

Required tools

Install necessary tools:

sudo apt-get install go

Install go dep. Find the right binary for your system on the releases page and download it to somewhere on your path.

Common tasks

For all Go commands run for this project, you need to set GOPATH to the project root:

export GOPATH=$(pwd)

Install Lucifer dependency packages:

(cd src/lucifer && dep ensure)

To serve documentation:

godoc -port 5000

To build binaries:

make

To run unit tests:

make check

To run all tests, including slow and/or flaky tests:

make check_all

To check test coverage of a package:

scripts/check_coverage lucifer/event