Home | History | Annotate | only in /external/autotest/venv/skylab_suite
Up to higher level directory
NameDateSize
__init__.py22-Oct-2020472
cmd/22-Oct-2020
cros_suite.py22-Oct-202017K
errors.py22-Oct-20201.1K
pytest.ini22-Oct-202081
README.md22-Oct-20201.8K
suite_parser.py22-Oct-20207.3K
suite_runner.py22-Oct-202012.9K
suite_tracking.py22-Oct-202014.7K
swarming_lib.py22-Oct-20209.9K
tko_test_views.py22-Oct-20206.1K

README.md

      1 # Suite running in Skylab
      2 
      3 [TOC]
      4 
      5 This is the package of Skylab suite. See the [design
      6 doc](http://goto.google.com/chromeos-skylab-suites).
      7 
      8 The package of Autotest suite is in
      9 https://chromium.googlesource.com/chromiumos/third_party/autotest/+/master/server/cros/dynamic_suite/
     10 
     11 ## Overview
     12 
     13 Skylab suite package provides two commands:
     14 
     15 - `bin/run_suite_skylab`
     16 - `bin/abort_suite_skylab`
     17 
     18 `run_suite_skylab` is a script to kick off a suite running in Skylab.
     19 `abort_suite_skylab`is a script to abort a suite running in Skylab.
     20 
     21 ## Development
     22 
     23 To run unittests, in the autotest repository root, run:
     24 
     25     $ bin/test_skylab_suite
     26 
     27 To test locally, some example commands are:
     28 
     29     $ bin/run_suite_skylab --pool=suites --board=nyan_blaze --suite_name=sanity
     30       --build=nyan_blaze-release/R69-10763.0.0 --priority 215 --do_nothing
     31 
     32     $ bin/run_suite_skylab --pool=cq --board=nyan_blaze --suite_name=dummy
     33       --build=nyan_blaze-release/R69-10763.0.0 --priority 80 --timeout_mins 30
     34       --test_retry --max_retries 5
     35 
     36     $ bin/run_suite_skylab --build nyan_blaze-release/R69-10763.0.0 --board nyan_blaze
     37       --suite_name provision --pool suites --priority 50 --timeout_min 30 --test_retry
     38       --max_retries 5 --suite_args "{u'num_required': 1} --create_and_return
     39 
     40 To trigger a suite to staging lab, in the chromite repository root, run:
     41 
     42    $ ./third_party/swarming.client/swarming.py run --auth-service-account-json [secret_file]
     43      --swarming https://chromium-swarm-dev.appspot.com --raw-cmd
     44      --dimension pool ChromeOSSkylab-suite --dimension id [cros-skylab-staging-2-*]
     45      '--tags=luci_project:chromiumos' --tags='build:nyan_blaze-release/R70-11012.0.0' --
     46      /usr/local/autotest/bin/run_suite_skylab --build nyan_blaze-release/R70-11012.0.0
     47      [omit other parameters...] --create_and_return --use_fallback --pre_check
     48