diff options
author | Neil Williams <neil.williams@linaro.org> | 2016-10-27 00:34:50 +0100 |
---|---|---|
committer | Neil Williams <neil.williams@linaro.org> | 2016-10-27 00:34:50 +0100 |
commit | eb72940fa6edae6e9dacae1da906593b2dd2d582 (patch) | |
tree | 416c5bb1c9fbd86be06305c6cfb1d59f95d77827 /bbb-qemu-multinode.yaml | |
parent | 4ff36c80ccfe4477ec54df08053ee30bbd8a47c0 (diff) |
add split device multinode test
Change-Id: Ie72f4d774469030045c767d95d0d21f98973feda
Diffstat (limited to 'bbb-qemu-multinode.yaml')
-rw-r--r-- | bbb-qemu-multinode.yaml | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/bbb-qemu-multinode.yaml b/bbb-qemu-multinode.yaml new file mode 100644 index 0000000..3900e03 --- /dev/null +++ b/bbb-qemu-multinode.yaml @@ -0,0 +1,122 @@ +job_name: panda bbb multinode +visibility: public +priority: medium +timeouts: + job: + minutes: 30 + action: + minutes: 5 + connection: + minutes: 3 + +protocols: + lava-multinode: + timeout: + minutes: 5 + roles: + server: + device_type: beaglebone-black + count: 1 + client: + context: + arch: amd64 + device_type: qemu + count: 1 + +actions: +- deploy: + role: + - client + to: tmpfs + images: + rootfs: + image_arg: -drive format=raw,file={rootfs} + url: http://images.validation.linaro.org/kvm/standard/stretch-2.img.gz + compression: gz + os: debian + root_partition: 1 + +- deploy: + role: + - server + timeout: + minutes: 4 + to: tftp + kernel: + url: http://snapshots.linaro.org/components/lava/standard/debian/jessie/armhf/1/vmlinuz + ramdisk: + url: http://snapshots.linaro.org/components/lava/standard/debian/jessie/armhf/1/initramfs.cpio.gz + compression: gz + # the bootloader needs a u-boot header on the modified ramdisk + add-header: u-boot + modules: + url: http://snapshots.linaro.org/components/lava/standard/debian/jessie/armhf/1/modules.tar.gz + compression: gz + nfsrootfs: + url: http://snapshots.linaro.org/components/lava/standard/debian/jessie/armhf/1/jessie-armhf-nfs.tar.gz + compression: gz + os: debian + dtb: + url: http://snapshots.linaro.org/components/lava/standard/debian/jessie/armhf/1/dtbs/am335x-boneblack.dtb + +- boot: + role: + - client + method: qemu + media: tmpfs + timeout: + minutes: 5 + prompts: + - "root@debian:" + auto_login: + login_prompt: "debian login:" + username: root + +- boot: + role: + - server + method: u-boot + commands: nfs + type: bootz + auto_login: + login_prompt: 'login:' + username: root + prompts: + - 'root@jessie:' + parameters: + shutdown-message: "reboot: Restarting system" + timeout: + minutes: 2 + +- test: + role: + - client + - server + timeout: + minutes: 15 + definitions: + - repository: + metadata: + format: Lava-Test Test Definition 1.0 + name: network + description: "installation" + os: + - debian + scope: + - functional + install: + deps: + - lsb-release + - net-tools + from: inline + name: network + path: inline/network.yaml + - repository: http://git.linaro.org/lava-team/lava-functional-tests.git + from: git + path: lava-test-shell/multi-node/multinode01.yaml + name: multinode-basic + - repository: git://git.linaro.org/qa/test-definitions.git + from: git + path: ubuntu/smoke-tests-basic.yaml + name: smoke-tests + |