lava-run1
Run jobs on lava devices
" "LAVA"
Summary
lava-run runs a LAVA test job on the reserved device, as scheduled by the lava-scheduler and publish the test result back to the server. Jobs are scheduled by the server but can also be run by calling lava-run directly.
You can see an up-to-date list of supported target devices by looking at the device types on the relevant server.
Usage
- lava-run [-h] --job-id ID --output-dir DIR [--validate]
-
[--url URL] [--token token] --device PATH [--dispatcher PATH] [--env-dut PATH] [--debug] definition
Options
- positional arguments:
-
definition job definition
- optional arguments:
-
-
-h, --help -
show this help message and exit
--job-idID-
Job identifier. This alters process name for easier debugging
--output-dirDIR-
Directory for temporary resources
-
--validate -
validate the job file, do not execute any steps. The description is saved into description.yaml
-
--debug -
Start remote pdb right before running the job, for debugging
-
logging:-
--urlURL-
URL of the server to send logs
--tokentoken-
token for server authentication
- configuration files:
-
--devicePATH-
Device configuration
--dispatcherPATH-
Dispatcher configuration
--env-dutPATH-
DUT environment
For more information on writing job definition and tests, look at:
https://validation.linaro.org/static/docs/v2/first-job.html
https://validation.linaro.org/static/docs/v2/contents.html#writing-tests-for-lava
Releases
3 releases since Debian 10 (Buster); the text changed 2 times.
--debug since Debian 11 (Bullseye).
--ipv6 until Debian 10 (Buster).