Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
cmd/ | 03-May-2024 | - | 250 | 179 | ||
README.md | D | 03-May-2024 | 1.8 KiB | 48 | 31 | |
__init__.py | D | 03-May-2024 | 472 | 15 | 7 | |
cros_suite.py | D | 03-May-2024 | 17 KiB | 466 | 377 | |
errors.py | D | 03-May-2024 | 1.1 KiB | 31 | 19 | |
pytest.ini | D | 03-May-2024 | 81 | 4 | 3 | |
suite_parser.py | D | 03-May-2024 | 7.3 KiB | 176 | 149 | |
suite_runner.py | D | 03-May-2024 | 12.9 KiB | 362 | 274 | |
suite_tracking.py | D | 03-May-2024 | 14.7 KiB | 407 | 303 | |
swarming_lib.py | D | 03-May-2024 | 9.9 KiB | 308 | 232 | |
tko_test_views.py | D | 03-May-2024 | 6.1 KiB | 210 | 167 |
README.md
1# Suite running in Skylab 2 3[TOC] 4 5This is the package of Skylab suite. See the [design 6doc](http://goto.google.com/chromeos-skylab-suites). 7 8The package of Autotest suite is in 9https://chromium.googlesource.com/chromiumos/third_party/autotest/+/master/server/cros/dynamic_suite/ 10 11## Overview 12 13Skylab 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 23To run unittests, in the autotest repository root, run: 24 25 $ bin/test_skylab_suite 26 27To 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 40To 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