Harrison Mutai | d89538b | 2023-04-19 18:18:37 +0100 | [diff] [blame] | 1 | device_type: n1sdp |
| 2 | job_name: tf-n1sdp |
| 3 | timeouts: |
| 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 | |
| 14 | priority: ${LAVA_PRIORITY:-medium} |
| 15 | visibility: public |
| 16 | actions: |
| 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 |