Job submissions for the pipeline dispatcher use YAML and test writers can create a pipeline of actions based on three basic types. Parameters in the YAML and in the device configuration are used to select the relevant Strategy for the job and this determines which actions are added to the pipeline.
In addition, the job has some general parameters, including a job name and Timeout Reference.
This is specific to test jobs that operate on:
It is used to specify whether the DUT should reboot to fastboot mode at the end of the test job. The default value is true i.e., the DUT will be rebooted to fastboot mode. This support is useful in the following use cases:
Some disadvantages using this support are as follows:
adb
, thus hindering automation. Since,
adb
is used to reboot the DUT to bootloader mode, when the
DUT is booted, in the absence of a PDU for power control.In order to keep the DUT booted with android operating system at the end of the test job run use the following in test job definition:
reboot_to_fastboot: false
The number and range of test jobs is constantly increasing. The LAVA software team develop functional tests in a dedicated git repository: https://git.linaro.org/lava-team/refactoring.git Tests can then migrate into standard tests and examples in the documentation. Even so, not all dispatcher actions have a matching example.
See also