Age | Commit message (Collapse) | Author |
|
Change-Id: If0699e2843e019480a61e62aeae94918989c040a
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
|
|
1. We need curl -L for the new S3 redirect
2. Parsing dmesg may not work as systemd might flood the buffer.
Test that kvm dev exists, which is udev will only create if kvm
is properly started
3. Update to latest UEFI
Change-Id: Ie36b391a41dcd9deca1effa90aa94d2a1198e73e
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
The old ExecStop=shutdown method caused systemd wait for forever
to shut down. ExecStartPost seems to work.
Change-Id: I3ba593a47c64de75f08c2b0e8527f424c09dcc83
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
With CI changes we have a bunch of new paths
Change-Id: Ie54ecd49376cae363c57a2de047c87e3254180c4
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Somehow a patch slipped directly to test-definitions
without gerrit. To make matters worse this patch was
broken. This patch should bring proper systemd
support for kvm testcases.
Change-Id: If7d01f0f5c39b6e4f8b56c5c0bbcbd028a55ae45
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Provide support for systemd testing. Choose to use bridged
networking when rootfs is not nfs, rather than based on arch.
Change-Id: Ic9bfb51230d940d79845f6c2f95735e7e630654e
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
It seems 1h of deadline is too short for junos
Change-Id: I0c2b3a2739d95aa94d778d5473ff175a3647bd66
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Switch Aarch64 boot to UEFI.
- Adapt to url/path changes due to GPT image builds.
- Install kernel to the EFI system partition
- Use same kernel for guest and host for armv7
- On juno run tests on A53 since UEFI bug only
manifesting on A57
- Use xz instead of gz
Change-Id: Idd8534a4b6815d7c4e80d353c7b29bb633f268b1
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
- use hwloc-nox since cpu order on big.LITTLE systems might
differ.
- fix accumulation of prefixes armv7l-aarch64-kvm-boot-1
[v2]
- only upload arm64 logs if they exist
Change-Id: Ic9cdd39262ffedc8c9a4674cc5ccc3b4e2d8627a
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Refactor tests to allow testing multiple guests in one
run. In this first version, we add armv7 tests on aarch64
host. Also some long-standing issues have been fixed.
v2: prefix ping commands so we don't kvm-guest-net-1 twice
v3: move binaries to testdata.l.o
- download hackbench binaries instead of building.
- avoids the question "howto compile armv7 binary on arm64"
- lets us drop build-essential from install list
- fix host host test-rt-tests.sh invocation
- refactor downloads to download both armv7 and aarch64 images
- rename logs from *.txt to *.log
- avoids error with test-rt-parse.sh
- make test-rt-parse.sh show what .txt file it is going to parse
- add timeout kill reaper
- add armv7 image run to aarch64 build
Change-Id: I4f9759328c459b06de3be3062f0fb26d3b98d102
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Change-Id: I72a49efdf8579ad126503d14a8a9fedbf165cc8a
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
|
|
Calling mount immediately after qemu-nbd seems racy, sometimes
mount will fail. 2 sec should be enough. This has caused some
spurious failures in kvm results.
Change-Id: I6991825bd3f23546a571558578f90284ec57c38f
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Since the label is now docker-utopic instead of docker,
update accordingly. This is something we need to remember
to do everytime baseline distro is updated.
Change-Id: I6f9529942b877fb8567e9402af86f733d6bd1e50
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Add Shebang and license declaration.
Signed-off by: Botao Sun <botao.sun@linaro.org>
Change-Id: I0ecb0b0290a4dad131b564632279d87f89c2754d
|
|
Add license declaration;
Re-arrange indentations in code;
Update the script to POSIX Compliant.
Original patch of POSIX compliant comes from:
Lucas Dutra Nunes <ldnunes@ossystems.com.br>
Signed-off by: Botao Sun <botao.sun@linaro.org>
Change-Id: I8215c53be89016f3c256d3b0922960743be4c0f7
|
|
Add license declaration.
Update the script to POSIX Compliant.
Original patch comes from:
Lucas Dutra Nunes <ldnunes@ossystems.com.br>
Signed-off by: Botao Sun <botao.sun@linaro.org>
Change-Id: I92abc61fca359b1ad579775e84ecff6b87b76fd3
|
|
1) CI url changed since the docker migration
2) Use taskset to ensure kvm doesn't migrate A53 -> A57.
-> this is ugly and assumes host cpu's don't get renumbered in
future. Revisit once kvm supports migration.
Change-Id: I454eb1aeba754ce16278fa22d79ae2f8f7042712
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Currently the testcase loads mustang kernel for guest,
which should work - but right now we want to test matching
kernels.
In future we should test released kernels (ubuntu trusty,
redhat armv8 preview..), but that is for later times.
Change-Id: I4ea4bdcdce2e2cf660405f699c5ab6bb9ca6cb36
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
previous patch opened road for juno but broke mustang.
Fix uncompressing nbd module
Change-Id: I6b66b1032c59bcfebb899bd9c8872e244901dcd2
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Download guest kernel and nbd module according to flavour. This allows
having separate kernel for juno and mustang.
Change-Id: Iaeeac6d5ac1749da5d153190252a9d8eab9a8855
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
allow ping from user networking for aarch64 target.
Change-Id: Idfbd949835455d289b249a2592930c335c7d0754
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Print used gcc version so nobody gets
confused what qemu is used for tests.
Change-Id: Ib9834f68a542b8a7426c1d9fa2608f526cc5989d
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Don't set up bridge on aarch64 - even if kernel has tun. ARMv8
tests are run on nfsroot so bringing bridge up will kill the job.
Change-Id: Ia25fcf2d8955b1f8f73b45edba2899628e4fef44
|
|
Currenlty the the scripts will only pull latest version of built image,
if all linux-kvm variants (mustang, vexpress, arndale) work. However,
if one of the three fails, old kernel and module will be pulled.
Fix this by explicitly checking the latest time mustang has built
succesfully.
Change-Id: Ibb695f8324618b85ae400561a83a3e435bde1d26
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Wide range of changes needed to allow kvm tests to run on both
ARMv7 and ARMv8 targets.
Currently includes some ugly hacks to faciliate booting mustang
from nfs (can't use tun).
Change-Id: I92ab87b6439b464db14fdef0cbac41efd64ef9a8
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
Switch to virtio block, since sd is emulated interface.
While at it, improve installing and compiling hackbench. Avoid
compiling in steps since we have scripts in place. Make sure
we have gcc and others installed for compiling.
Change-Id: I942e6bbafb09b7739156fb8d15f41c6334f16c8c
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
If success of former step is precondition of later step, when the former step
fails, the later step should be skiped, e.g. if the kvm initialization fails,
or the kvm.qcow2.gz isn't downloaded correctly, all the following tests should
be skipped, otherwise more failures are generated meanlessly, thus bug reporter
and analyzer aren't clear easily about which test fails.
Change-Id: Iaaa5c6842f8c6864b309cc6e7716a966986b03ef
Signed-off-by: Hongbo Zhang <hongbo.zhang@linaro.org>
|
|
rt-tests hackbench was replaced with the version from Ingo Molnar
http://people.redhat.com/mingo/cfs-scheduler/tools/hackbench.c
hackbench is now called from both host and guest the same way:
hackbench 100 process 500
The results are parsed using min_max_avg_parse.py. Result regexp
was updated to match the output format of the script.
Change-Id: I5d437565d42f45c9411dc8b62540be7b53e0c630
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
|
|
Change-Id: I57bb7b2f56d684c79e0c24706dca77254f919c35
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
|
|
pass option -k to curl to bypass SSL verification
Change-Id: I30d36b62b5d2bdf3cf8a6cfb3ec46f6ef5c89b95
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
|
|
Need curl on some OE images due to busybox wget don't
support https links.
Change-Id: Iea0da72b97516e1806c2680866f3ff4479131bb6
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
|
|
Kvm tests needed a few fixes to work again:
1. fix case where test is called with $1
2. adapt to new paths
3. make sure console output is not lost
Change-Id: I659c64fafeefdbecd7ff7ec664634531c4ee8186
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
simplified kvm-lava.conf, and construct tests in test-guest.sh
to be called from both kvm.yaml and kvm-benchmark.yaml
Using common/scripts/lmbench.sh to run inside the guest
parse_lmbench.sh: had to add --text to the grep command because
kvm-log.txt becomes in data and not text format.
Modifications by Riku: keep kvm-lava.conf around
Change-Id: Icfb5ae1ebe46400f018cd591aa4ba97aed56a044
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
- clean up qemu command line
- add virtio-net enablement flags to qemu command line
- add host bridge for guest networking - simple ping -c 10
Change-Id: I7de29c349e10649045acba5b21aad221574d479a
Signed-off-by: Kim Phillips <kim.phillips@linaro.org>
|
|
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
based on ci/kvm-ci.git
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|