aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/machine/m3ulcb-nogfx/test/hwtest.short.environment9
-rw-r--r--templates/machine/m3ulcb-nogfx/test/testjob_short.yaml48
2 files changed, 57 insertions, 0 deletions
diff --git a/templates/machine/m3ulcb-nogfx/test/hwtest.short.environment b/templates/machine/m3ulcb-nogfx/test/hwtest.short.environment
new file mode 100644
index 000000000..758ca7e6f
--- /dev/null
+++ b/templates/machine/m3ulcb-nogfx/test/hwtest.short.environment
@@ -0,0 +1,9 @@
+DEVICE_TYPE=r8a7796-m3ulcb
+DEVICE_NAME=m3ulcb-nogfx
+DEVICE_DTB=Image-r8a7796-m3ulcb.dtb
+DEVICE_KERNEL=Image
+DEVICE_INITRAMFS=initramfs-netboot-image-m3ulcb.ext4.gz
+DEVICE_NBDROOT=agl-demo-platform-m3ulcb.ext4.xz
+DEVICE_NBDROOT_COMPRESSION=xz
+DEVICE_BOOT_METHOD=u-boot
+DEVICE_BOOT_TYPE=booti
diff --git a/templates/machine/m3ulcb-nogfx/test/testjob_short.yaml b/templates/machine/m3ulcb-nogfx/test/testjob_short.yaml
new file mode 100644
index 000000000..d14b7704f
--- /dev/null
+++ b/templates/machine/m3ulcb-nogfx/test/testjob_short.yaml
@@ -0,0 +1,48 @@
+device_type: @REPLACE_DEVICE_TYPE@
+job_name: AGL-short-smoke
+
+protocols:
+ lava-xnbd:
+ port: auto
+
+timeouts:
+ job:
+ minutes: 30
+ action:
+ minutes: 15
+ connection:
+ minutes: 5
+ bootloader-commands:
+ minutes: 4
+priority: medium
+visibility: public
+
+# ACTION_BLOCK
+actions:
+- deploy:
+ timeout:
+ minutes: 15
+ to: nbd
+ dtb:
+ url: '@REPLACE_URL_PREFIX@/@REPLACE_DTB@'
+ kernel:
+ url: '@REPLACE_URL_PREFIX@/@REPLACE_KERNEL@'
+ initrd:
+ url: '@REPLACE_URL_PREFIX@/@REPLACE_INITRAMFS@'
+ allow_modify: false
+ nbdroot:
+ url: '@REPLACE_URL_PREFIX@/@REPLACE_NBDROOT@'
+ compression: @REPLACE_NBDROOT_COMPRESSION@
+ os: debian
+ failure_retry: 2
+
+# BOOT_BLOCK
+- boot:
+ method: @REPLACE_BOOT_METHOD@
+ commands: nbd
+ type: @REPLACE_BOOT_TYPE@
+ prompts: ["root@@REPLACE_MACHINE@:~"]
+ auto_login:
+ login_prompt: "login:"
+ username: root
+