aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Williams <neil.williams@linaro.org>2018-04-23 16:49:57 +0100
committerNeil Williams <neil.williams@linaro.org>2018-04-23 16:49:57 +0100
commit11d3e29e7107facfa7ec1ca2f35e3e289acfc62c (patch)
tree5315680b598f24733bd315c9642881a2caa3389a
parentc6801eb0ac0e424aa7c25893a87356e6ec311182 (diff)
add test jobs for juno-r2
Change-Id: I403080624f28fe84a883fb55f06ca535e95e4e00
-rw-r--r--release/juno-r2-uboot-nfs.yaml101
-rw-r--r--release/juno-r2-uefi-nfs.yaml91
2 files changed, 192 insertions, 0 deletions
diff --git a/release/juno-r2-uboot-nfs.yaml b/release/juno-r2-uboot-nfs.yaml
new file mode 100644
index 0000000..0428f1a
--- /dev/null
+++ b/release/juno-r2-uboot-nfs.yaml
@@ -0,0 +1,101 @@
+device_type: juno-r2
+job_name: Juno UBoot Debian NFS
+
+timeouts:
+ job:
+ minutes: 30
+ action:
+ minutes: 5
+ actions:
+ bootloader-interrupt:
+ seconds: 120
+ u-boot-commands:
+ seconds: 120
+ uboot-retry:
+ seconds: 180
+ connections:
+ u-boot-interrupt:
+ seconds: 120
+ u-boot-commands:
+ seconds: 120
+ uboot-retry:
+ seconds: 180
+
+metadata:
+ source: https://git.linaro.org/lava-team/refactoring.git
+ path: release/juno-uboot-nfs.yaml
+ lava.series: release-testing
+
+notify:
+ criteria:
+ status: incomplete
+ verbosity: quiet
+ recipients:
+ - to:
+ user: neil.williams
+ method: email
+ - to:
+ user: matthew.hart
+ method: email
+ - to:
+ user: stevan.radakovic
+ method: email
+ - to:
+ user: remi.duraffort
+ method: email
+ - to:
+ user: senthil.kumaran
+ method: email
+ - to:
+ user: dean.arnold
+ method: email
+
+priority: medium
+visibility: public
+
+context:
+ bootloader_prompt: juno#
+ extra_nfsroot_args: ",vers=3"
+
+actions:
+
+- deploy:
+ namespace: recovery
+ timeout:
+ minutes: 10
+ to: vemsd
+ recovery_image:
+ url: http://releases.linaro.org/members/arm/platforms/17.04/juno-latest-oe-uboot.zip
+ compression: zip
+
+- deploy:
+ namespace: debian
+ timeout:
+ minutes: 10
+ to: nfs
+ os: debian
+ nfsrootfs:
+ url: http://people.linaro.org/~neil.williams/arm64/debian-jessie-arm64-rootfs.tar.gz
+ compression: gz
+
+- boot:
+ namespace: debian
+ connection-namespace: recovery
+ method: u-boot
+ commands: norflash
+ auto_login:
+ login_prompt: 'login:'
+ username: root
+ prompts:
+ - root@(.*):~#
+
+- test:
+ namespace: debian
+ connection-namespace: recovery
+ timeout:
+ minutes: 5
+ definitions:
+ - repository: http://git.linaro.org/lava-team/lava-functional-tests.git
+ from: git
+ path: lava-test-shell/smoke-tests-basic.yaml
+ name: smoke-tests
diff --git a/release/juno-r2-uefi-nfs.yaml b/release/juno-r2-uefi-nfs.yaml
new file mode 100644
index 0000000..1b1ac57
--- /dev/null
+++ b/release/juno-r2-uefi-nfs.yaml
@@ -0,0 +1,91 @@
+# Sample job to show uefi behaviour, drop from menu to shell, input shell commands.
+
+device_type: juno-r2
+job_name: Juno UEFI shell using NFS
+timeouts:
+ job:
+ minutes: 40
+ action:
+ minutes: 6
+ connection:
+ minutes: 5
+priority: medium
+visibility: public
+
+context:
+ extra_nfsroot_args: ",vers=3"
+
+metadata:
+ source: https://git.linaro.org/lava-team/refactoring.git
+ path: release/juno-uefi-nfs.yaml
+ lava.series: release-testing
+
+notify:
+ criteria:
+ status: incomplete
+ verbosity: quiet
+ recipients:
+ - to:
+ user: neil.williams
+ method: email
+ - to:
+ user: matthew.hart
+ method: email
+ - to:
+ user: stevan.radakovic
+ method: email
+ - to:
+ user: remi.duraffort
+ method: email
+ - to:
+ user: senthil.kumaran
+ method: email
+ - to:
+ user: dean.arnold
+ method: email
+
+actions:
+- deploy:
+ namespace: recovery
+ timeout:
+ minutes: 10
+ to: vemsd
+ recovery_image:
+ url: https://releases.linaro.org/members/arm/platforms/15.12/juno-latest-oe-uefi.zip
+ compression: zip
+
+- deploy:
+ namespace: target
+ timeout:
+ minutes: 10
+ to: nfs
+ os: debian
+ nfsrootfs:
+ url: http://people.linaro.org/~neil.williams/arm64/debian-jessie-arm64-rootfs.tar.gz
+ compression: gz
+
+- boot:
+ namespace: target
+ connection-namespace: recovery
+ method: uefi
+ commands: nfs
+ # Drop to shell from menu
+ shell_menu: shell
+ parameters:
+ shutdown-message: 'reboot: Restarting system'
+ auto_login:
+ login_prompt: 'login:'
+ username: root
+ prompts:
+ - root@(.*):~#
+
+- test:
+ namespace: target
+ connection-namespace: recovery
+ timeout:
+ minutes: 5
+ definitions:
+ - repository: http://git.linaro.org/lava-team/lava-functional-tests.git
+ from: git
+ path: lava-test-shell/smoke-tests-basic.yaml
+ name: smoke-tests