Chris Kay | 3d80788 | 2022-08-31 16:00:02 +0100 | [diff] [blame] | 1 | device_type: juno |
Paul Sokolovsky | 67970e9 | 2023-10-29 08:22:38 +0100 | [diff] [blame] | 2 | job_name: tf-juno |
Chris Kay | 3d80788 | 2022-08-31 16:00:02 +0100 | [diff] [blame] | 3 | |
| 4 | $tags |
| 5 | $juno_revision |
| 6 | |
| 7 | timeouts: |
| 8 | # Global timeout value for the whole job. |
| 9 | job: |
| 10 | minutes: 45 |
| 11 | actions: |
| 12 | lava-test-monitor: |
| 13 | seconds: 120 |
| 14 | connections: |
| 15 | lava-test-monitor: |
| 16 | seconds: 120 |
| 17 | |
Paul Sokolovsky | 163c210 | 2022-12-07 20:43:48 +0300 | [diff] [blame] | 18 | priority: ${LAVA_PRIORITY:-medium} |
Chris Kay | 3d80788 | 2022-08-31 16:00:02 +0100 | [diff] [blame] | 19 | visibility: public |
| 20 | |
| 21 | actions: |
| 22 | |
| 23 | - deploy: |
| 24 | timeout: |
| 25 | minutes: 10 |
| 26 | to: vemsd |
| 27 | recovery_image: |
| 28 | url: $recovery_img_url |
| 29 | compression: zip |
| 30 | |
| 31 | - boot: |
| 32 | method: minimal |
| 33 | |
| 34 | - test: |
| 35 | # Timeout for all the TFTF tests to complete. |
| 36 | timeout: |
| 37 | minutes: 30 |
| 38 | |
| 39 | monitors: |
| 40 | - name: TFTF |
| 41 | # LAVA looks for a testsuite start string... |
| 42 | start: 'Booting trusted firmware test framework' |
| 43 | # ...and a testsuite end string. |
| 44 | end: 'Exiting tests.' |
| 45 | |
| 46 | # For each test case, LAVA looks for a string which includes the testcase |
| 47 | # name and result. |
| 48 | pattern: "(?s)> Executing '(?P<test_case_id>.+?(?='))'(.*) TEST COMPLETE\\\s+(?P<result>(Skipped|Passed|Failed|Crashed))" |
| 49 | |
| 50 | # Teach to LAVA how to interpret the TFTF Tests results. |
| 51 | fixupdict: |
| 52 | Passed: pass |
| 53 | Failed: fail |
| 54 | Crashed: fail |
| 55 | Skipped: skip |