" "LAVA"
lava-server - lava-server command line support
lava-server is a command-line management interface to a
LAVA instance, and the Django database management tools for that
instance.
lava-server manage subcommand [options] [args]
Most of these options are imported from django and more
information can be found in the django documentation.
These options are supported for all subcommands.
- -v VERBOSITY, --verbosity=VERBOSITY
- Verbosity level; 0=minimal output, 1=normal output, 2=verbose output,
3=very verbose output
- --settings=SETTINGS
- The Python path to a settings module, e.g.
"myproject.settings.main". If this isn't provided, the
DJANGO_SETTINGS_MODULE environment variable will be used.
- --pythonpath=PYTHONPATH
- A directory to add to the Python path, e.g.
"/home/djangoprojects/myproject".
- --traceback
- Print traceback on exception
- --version
- show program's version number and exit
- -h,
--help
- show this help message and exit
Type lava-server manage help <subcommand> for help on
a specific subcommand.
Type lava-server manage <subcommand> -h for help on
an option available to a specific subcommand.
- auth
- changepassword
- Change a user's password for django.contrib.auth.
- createsuperuser
- Used to create a superuser.
- Usage:
- lava-server manage createsuperuser [options]
- Options:
- --username=USERNAME
- Specifies the username for the superuser.
- --email=EMAIL
- Specifies the email address for the superuser.
- --noinput
- Tells Django to NOT prompt the user for input of any kind. You must use
--username and --email with --noinput and superusers
created with --noinput will not be able to log in until they are
given a valid password.
- --database=DATABASE
- Specifies the database to use. Default is default.
django
django functions change with releases of the django
package. See the documentation for python-django.
lava_server
- devices
- Manage devices
- positional
arguments:
- {add, details, list, set}
- Sub commands
- add Add a device
copy Copy an existing device as a new device
details Details about a device
list List the installed devices
update Update device details
- device-types
- Manage device types according to which templates are available and which
device-types are defined in the database. When counting the number of
devices, Retired devices are included.
- jobs
- Manage jobs
- positional
arguments:
- {compress,fail,rm,validate}
- Sub commands
- compress Compress job logs
fail Fail the given canceled job
rm Remove the jobs
validate Validate job definition
- optional
arguments:
- -h,
--help
- show this help message and exit
- --mail-admins
- Send a mail to the admins with a list of failing jobs
- --submitter SUBMITTER
- Filter jobs by submitter
- --newer-than NEWER_THAN
- Validate jobs newer than this. The time is of the form: 1h (one hour) or
2d (two days). By default, only jobs in the last 24 hours will be
validated.
- --strict
- If set to True, the validator will reject any extra keys that are present
in the job definition but not defined in the schema
- workers
- Manage workers
- position
arguments:
- {add, details, list, update}
- Sub commands
- add Create a worker
details Details of a worker
list List the workers
update Update worker properties
- test
- Runs the test suite for the specified applications, or the entire site if
no apps are specified.
- Usage:
- lava-server manage test [options] [appname ...]
- Options:
- --noinput
- Tells Django to NOT prompt the user for input of any kind.
- --failfast
- Tells Django to stop running the test suite after first failed test.
- --testrunner TESTRUNNER
- Tells Django to use specified test runner class instead of the one
specified by the TEST_RUNNER setting.
- --liveserver LIVESERVER
- Overrides the default address where the live server (used with
LiveServerTestCase) is expected to run from. The default value is
localhost:8081.
If your bug relates to a specific type of device, please include
all configuration details for that device type as well as the job submission
and as much of the LAVA test job log file as you can (e.g. as a compressed
file attached to the bug report).
If your device type is not one found on existing LAVA instances,
please supply as much information as you can on the board itself.
If you want to contribute, refer to
https://docs.lavasoftware.org/lava/contribution.html
If you are considering large changes, it is best to subscribe to
the Linaro Validation mailing list at:
http://lists.lavasoftware.org/mailman/listinfo/lava-users
Also talk to us on IRC:
irc.libera.chat
#lavasoftware
2010-2023, Linaro Limited