blob: ca83ed85f9f70a5911ba8fef156617d41e087b57 [file] [log] [blame]
Harrison Mutaid89538b2023-04-19 18:18:37 +01001device_type: n1sdp
2job_name: tf-n1sdp
3timeouts:
4 # Global timeout value for the whole job.
5 job:
6 minutes: 30
7 actions:
8 lava-test-monitor:
9 seconds: 120
10 connections:
11 lava-test-monitor:
12 seconds: 300
13
14priority: ${LAVA_PRIORITY:-medium}
15visibility: public
16actions:
17
18- deploy:
19 namespace: recovery
20 timeout:
21 minutes: 10
22 to: flasher
23 images:
24 recovery_image:
25 url: $recovery_img_url
26 compression: zip
27
28- boot:
29 namespace: recovery
30 timeout:
31 minutes: 3
32 method: minimal
33 parameters:
34 kernel-start-message: ''
35 prompts: ['Cmd>']
36
37- boot:
38 namespace: uart1
39 method: new_connection
40 connection: uart1
41
42- test:
43 namespace: uart1
44 connection-namespace: uart1
45 timeout:
46 minutes: 10
47 monitors:
48 - name: TFTF
49 # LAVA looks for a testsuite start string...
50 start: 'Booting trusted firmware test framework'
51 # ...and a testsuite end string.
52 end: 'Exiting tests.'
53
54 # For each test case, LAVA looks for a string which includes the testcase
55 # name and result.
56 pattern: "(?s)> Executing '(?P<test_case_id>.+?(?='))'(.*) TEST COMPLETE\\\s+(?P<result>(Skipped|Passed|Failed|Crashed))"
57
58 fixupdict:
59 Passed: pass
60 Failed: fail
61 Crashed: fail
62 Skipped: skip