aboutsummaryrefslogtreecommitdiff
path: root/linux-linaro-stable-lsk-v4.4-pre-merge/lava-job-definitions/juno/template-be-ramdisk.yaml
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-03-04 18:51:18 +0100
committerLinaro Code Review <review@review.linaro.org>2016-03-29 12:44:34 +0000
commitc9e0bf11b6359bd05af036a41db8d465cb70c12f (patch)
treefccde420f8f8abc6236ea4be83013dc77854d513 /linux-linaro-stable-lsk-v4.4-pre-merge/lava-job-definitions/juno/template-be-ramdisk.yaml
parent30b6923aba0d746c4d7810757b5d81d8231bcf5b (diff)
downloadconfigs-c9e0bf11b6359bd05af036a41db8d465cb70c12f.tar.gz
add lsk-v4.4-pre-merge testplans
Change-Id: I2508ccde80cac295c64e82f158e6d1620a7b31e6 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'linux-linaro-stable-lsk-v4.4-pre-merge/lava-job-definitions/juno/template-be-ramdisk.yaml')
-rw-r--r--linux-linaro-stable-lsk-v4.4-pre-merge/lava-job-definitions/juno/template-be-ramdisk.yaml83
1 files changed, 83 insertions, 0 deletions
diff --git a/linux-linaro-stable-lsk-v4.4-pre-merge/lava-job-definitions/juno/template-be-ramdisk.yaml b/linux-linaro-stable-lsk-v4.4-pre-merge/lava-job-definitions/juno/template-be-ramdisk.yaml
new file mode 100644
index 000000000..cbeb71dc4
--- /dev/null
+++ b/linux-linaro-stable-lsk-v4.4-pre-merge/lava-job-definitions/juno/template-be-ramdisk.yaml
@@ -0,0 +1,83 @@
+actions:
+- command: deploy_linaro_kernel
+ parameters:
+ bootloadertype: 'uefi'
+ dtb: '${DTB_URL}/juno.dtb'
+ kernel: '${KERNEL_URL}/Image'
+ ramdisk: '${ROOTFS_BUILD_URL}'
+ metadata:
+ build id: '${BUILD_NUMBER}'
+ distribution: 'openembedded'
+ rootfs.build: '${ROOTFS_BUILD_NUMBER}'
+ rootfs.type: 'minimal-initramfs-armv8b-gcc-4.9'
+ git URL: '${GIT_URL}'
+ git branch: '${GIT_BRANCH}'
+ git commit: '${GIT_COMMIT}'
+- command: boot_linaro_image
+ parameters:
+ boot_cmds:
+ - 'expect Start:'
+ - 'sendline 3'
+ - 'expect Choice:'
+ - 'sendline 3'
+ - 'expect Delete entry:'
+ - 'sendline 1'
+ - 'expect Choice:'
+ - 'sendline 1'
+ - 'expect Select the Boot Device:'
+ - 'sendcontrol ['
+ - 'sendcontrol M'
+ - 'expect Choice:'
+ - 'expect Choice:'
+ - 'sendline 1'
+ - 'expect Select the Boot Device:'
+ - 'sendline 8'
+ - 'expect Get the IP address from DHCP: [y/n]'
+ - 'sendline y'
+ - 'expect Get the TFTP server IP address:'
+ - 'sendline {SERVER_IP}'
+ - 'expect File path of the EFI Application or the kernel'
+ - 'sendline {KERNEL}'
+ - 'expect Is an EFI Application? [y/n]'
+ - 'sendline n'
+ - 'expect Has FDT support? [y/n]'
+ - 'sendline y'
+ - 'expect Add an initrd: [y/n]'
+ - 'sendline y'
+ - 'expect Get the IP address from DHCP: [y/n]'
+ - 'sendline y'
+ - 'expect Get the TFTP server IP address:'
+ - 'sendline {SERVER_IP}'
+ - 'expect File path of the initrd'
+ - 'sendline {RAMDISK}'
+ - 'expect Arguments to pass to the binary:'
+ - 'sendline console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/ram0 verbose debug ip=dhcp'
+ - 'expect Description for this new Entry:'
+ - 'sendline LAVA Ramdisk Test Image'
+ - 'expect Choice:'
+ - 'sendline 5'
+ - 'expect Select the Boot Device:'
+ - 'sendcontrol ['
+ - 'sendcontrol M'
+ - 'expect Choice:'
+ - 'expect Choice:'
+ - 'sendline 5'
+ - 'expect Select the Boot Device:'
+ - 'sendline 8'
+ - 'expect Get the IP address from DHCP: [y/n]'
+ - 'sendline y'
+ - 'expect Get the TFTP server IP address:'
+ - 'sendline {SERVER_IP}'
+ - 'expect File path of the FDT blob'
+ - 'sendline {DTB}'
+ - 'expect Choice:'
+ - 'sendline 7'
+ - 'expect Start:'
+ - 'sendline 1'
+- command: submit_results
+ parameters:
+ server: 'http://${LAVA_SERVER}'
+ stream: '${BUNDLE_STREAM_NAME}'
+device_type: '${DEVICE_TYPE}'
+job_name: '${BUILD_URL}'
+timeout: 3600