summaryrefslogtreecommitdiff
path: root/ubuntu/qemu-migration-test.yaml
blob: 8010e79055829ab3d6d9b085518961d432918fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
metadata:
    name: qemu-migration-test
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Setup and run a migration tests using QEMU"
    maintainer:
        - alex.bennee@linaro.org
    os:
        - ubuntu
    scope:
        - functional
    devices:
        - kvm
        - mustang

params:
    # This is a combined image and initrd/rootfs that qemu can boot
    IMAGE: http://people.linaro.org/~alex.bennee/images/aarch64-linux-buildroot.img
    # List of tests to run
    TESTS: migrate-file
    # The QEMU executable
    QEMU_BIN: /usr/local/bin/qemu-system-aarch64
    # The QEMU machine definitions
    QEMU_ARGS: -machine virt -cpu cortex-a57 -machine type=virt -nographic -smp 1 -m 512
    # The arguments passed to the kernel
    KERNEL_ARGS: console=ttyAMA0

install:
    steps:
        - cd /home
        - wget -O image ${IMAGE}

    deps:
        - wget
        - expect

run:
    steps:
        - export QEMU_BIN QEMU_ARGS KERNEL_ARGS IMAGE
        - ubuntu/scripts/qemu-system-tests.sh ${TESTS}