Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 1 | {#------------------------------------------------------------------------------ |
Xinyu Zhang | 28d61b4 | 2022-03-21 16:46:35 +0800 | [diff] [blame] | 2 | # Copyright (c) 2019-2022, Arm Limited and Contributors. All rights reserved. |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #-----------------------------------------------------------------------------#} |
| 7 | actions: |
| 8 | - deploy: |
| 9 | images: |
| 10 | mcuboot: {image_arg: '-device loader,file={mcuboot},addr=0x10000000', url: '{{ bootloader_url }}'} |
| 11 | tfm: {image_arg: '-device loader,file={tfm},addr=0x10080000', url: '{{ firmware_url }}'} |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 12 | to: tmpfs |
| 13 | - boot: |
Fathi Boudra | 2abf97e | 2020-12-17 11:45:22 +0100 | [diff] [blame] | 14 | docker: {binary: /usr/bin/qemu-system-arm, image: 'trustedfirmware/ci-amd64-tf-m-qemu-debian:bullseye'} |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 15 | method: qemu |
Xinyu Zhang | aad0e64 | 2022-08-09 14:28:58 +0800 | [diff] [blame] | 16 | timeout: |
Xinyu Zhang | 5dcb0d5 | 2022-10-24 14:10:19 +0800 | [diff] [blame^] | 17 | minutes: 25 |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 18 | - test: |
| 19 | monitors: |
Xinyu Zhang | 22a1275 | 2022-10-10 17:21:21 +0800 | [diff] [blame] | 20 | {%- for monitor in monitors %} |
Xinyu Zhang | aad0e64 | 2022-08-09 14:28:58 +0800 | [diff] [blame] | 21 | - name: "{{monitor.name}}" |
| 22 | start: "{{monitor.start}}" |
| 23 | end: "{{monitor.end}}" |
| 24 | pattern: "{{monitor.pattern}}" |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 25 | fixupdict: |
Xinyu Zhang | aad0e64 | 2022-08-09 14:28:58 +0800 | [diff] [blame] | 26 | '{{monitor.fixup.pass}}': pass |
| 27 | '{{monitor.fixup.fail}}': fail |
| 28 | {%- if monitor.fixup.skip %} |
| 29 | '{{monitor.fixup.skip}}': skip |
| 30 | {%- endif %} |
Xinyu Zhang | 22a1275 | 2022-10-10 17:21:21 +0800 | [diff] [blame] | 31 | {%- if monitor.fixup.sim_error %} |
| 32 | '{{monitor.fixup.sim_error}}': fail |
| 33 | {%- endif %} |
Xinyu Zhang | aad0e64 | 2022-08-09 14:28:58 +0800 | [diff] [blame] | 34 | {%- endfor %} |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 35 | |
| 36 | context: |
| 37 | arch: arm |
| 38 | cpu: 'cortex-m33' |
| 39 | machine: mps2-an521 |
| 40 | serial: '-serial mon:stdio' |
| 41 | vga: '-vga none' |
| 42 | memory: 16M |
| 43 | model: model=lan9118 |
| 44 | |
| 45 | device_type: {{ device_type }} |
| 46 | job_name: {{ job_name }} |
| 47 | priority: medium |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 48 | visibility: public |
| 49 | |
Xinyu Zhang | aad0e64 | 2022-08-09 14:28:58 +0800 | [diff] [blame] | 50 | timeouts: |
| 51 | job: |
| 52 | minutes: {{ job_timeout }} |
| 53 | action: |
| 54 | minutes: {{ action_timeout }} |
| 55 | actions: |
| 56 | power-off: |
| 57 | minutes: {{ poweroff_timeout }} |
| 58 | connections: |
| 59 | lava-test-monitor: |
| 60 | minutes: {{ monitor_timeout }} |
| 61 | |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 62 | metadata: |
| 63 | build_no: {{ build_no }} |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 64 | name: {{ name }} |
| 65 | platform: {{ platform }} |
| 66 | build_name: {{ build_name }} |
Xinyu Zhang | 82dab28 | 2022-10-09 16:33:19 +0800 | [diff] [blame] | 67 | device_type: {{ device_type }} |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 68 | build_job_url: {{ build_job_url }} |
Xinyu Zhang | 28d61b4 | 2022-03-21 16:46:35 +0800 | [diff] [blame] | 69 | firmware_url: {{ firmware_url }} |
| 70 | bootloader_url: {{ bootloader_url }} |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 71 | |