enhance hw tests
[AGL/meta-agl.git] / templates / machine / raspberrypi3 / test / testjob_short.yaml
1 # Your first LAVA JOB definition for a porter board
2 device_type: @REPLACE_DEVICE_TYPE@
3 job_name: AGL-short-smoke
4
5 protocols:
6   lava-xnbd:
7     port: auto
8
9 timeouts:
10   job:
11     minutes: 30
12   action:
13     minutes: 15
14   connection:
15     minutes: 5
16 priority: medium
17 visibility: public
18
19 # ACTION_BLOCK
20 actions:
21 - deploy:
22     timeout:
23       minutes: 15
24     to: nbd
25     dtb:
26       url: '@REPLACE_URL_PREFIX@/@REPLACE_DTB@'
27     kernel:
28       url: '@REPLACE_URL_PREFIX@/@REPLACE_KERNEL@'
29     initramfs:
30       url: '@REPLACE_URL_PREFIX@/@REPLACE_INITRAMFS@'
31       allow_modify: false
32     nbdroot:
33       url: '@REPLACE_URL_PREFIX@/@REPLACE_NBDROOT@'
34       compression: @REPLACE_NBDROOT_COMPRESSION@
35     os: debian
36     failure_retry: 2
37
38 # BOOT_BLOCK
39 - boot:
40     method: @REPLACE_BOOT_METHOD@
41     commands: nbd
42     type: @REPLACE_BOOT_TYPE@
43     prompts: ["root@@REPLACE_MACHINE@:~"]
44     auto_login:
45       login_prompt: "login:"
46       username: root
47