summaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2015-04-21Deleting passfail test from common folderAmit Khare
Change-Id: Ie628f5cc583955363deb632cdd074559cd6a66f6
2015-04-10test-kvm.sh: increase deadlineRiku Voipio
It seems 1h of deadline is too short for junos Change-Id: I0c2b3a2739d95aa94d778d5473ff175a3647bd66 Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2015-04-10common: fix kselftest result missingChase Qi
If one of kselftest sub-tests failed, the main test item, like net or vm, test result will missing. Add test failure check to fix this issue. Change-Id: I758525ed611f1719c4b769ba786195d98bd3cbea Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-04-09android/common: clean exit so that LAVA can trust test resultsChase Qi
lava-test-shell-run is used to detect if the lava-test-shell finshed successfully. If the exit code of test case is nonzero, even all tests finished normally, lava-test-shell-run test will fail. Change-Id: If4c8266ccdfcb78ac99dd7bc4288601454e7af6b Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-04-02coresight: Adding coresight test definitionsNaresh Kamboju
This framework provides a kernel interface for the CoreSight debug and trace drivers to register themselves with. It's intended to build a topological view of the CoreSight components based on a DT specification and configure the right serie of components when a trace source gets enabled. Kconfig required - CONFIG_CORESIGHT=y - CONFIG_CORESIGHT_LINKS_AND_SINKS=y Change-Id: Ibfeffff2da085bef83e003ae8da28d82015d40f7 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2015-04-01ubuntu: add vmscale and timedalloc to mmtestsChase Qi
Add vmscale and timedalloc to mmtests. Add description of each benchmarks in yaml and script file. Optimize test code. Change-Id: I8bd22e368a2d51a8c22e419e212695b4be096b63 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-03-26kvm: use UEFI for testsRiku Voipio
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>
2015-03-25ltpfixup: cleanupNaresh Kamboju
xargs -0 not supported on minimal file system so stop using it. and removed unwanted comment. Change-Id: I77edead5de2eb7724dc88f848c284870aed4a6a5 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2015-03-24ubuntu / openembedded: Fix kselftest-net.yaml problemArthur She
Run test by using original Makefile. Change-Id: I39f57f45ce8628dca831d2a1eaa71effccf3c1b6
2015-03-23kvm bugfixesRiku Voipio
- 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>
2015-03-12kvm: arm32 on arm64 testsRiku Voipio
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>
2015-03-09LTP : ltpfixup: skipfile can be an URL from jsonNaresh Kamboju
ltp test definitions have been updated to accept skipfile from an open accessible location via URL as a parameter from LAVA json job file and still supports old implementation as a file from test-definitions NOTE: busybox wget may not work with https link so pefer to use http Change-Id: Idf9b93799326e4fc6650bded8396b15a48c63f3b Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2015-03-02Common: iks-smoke-test description updatedAmit Khare
Change-Id: Icc24fba465b6172136654139d64fb211db798714
2015-02-26ubuntu: add dd, dd-tmpfs, ddsync, ku-latency and libmicro benchmarks from ↵Chase Qi
mmtests suite. Change-Id: I990f8f77f573a90f5e0171ad6d04d3a5d2ac06c1 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-02-26common/scripts/pm-qa.sh: Update pm-qa.sh script for AndroidLisa Nguyen
Remove unnecessary busybox symbolic links, replace suspend test module with cputopology, and simply code further. Change-Id: I52e5b43ec7c83e6a1d2389dd42177793ed76036f Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2015-02-26fix PEP8 issues in python scriptsArthur She
Change-Id: I4635323eb8fb2ed852ca5e4ab3cbedf866e1269a
2015-02-25Common: dmidecode test description updatedAmit Khare
Change-Id: I4ef1f17d8dc332eed59bca0789ed00ef4ddef81b
2015-02-25Common: dt-selftests description updatedAmit Khare
Change-Id: Ie8bce038984bbbb7ea0d67241074e13ad0932619
2015-02-04KVM: fix IP address after LAB moveMilosz Wasilewski
Change-Id: I72a49efdf8579ad126503d14a8a9fedbf165cc8a Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-01-19sleep before mountRiku Voipio
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>
2015-01-12test-kvm.sh: update hwpack urlRiku Voipio
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>
2015-01-09Move ACPI FWTS and dmidecode tests definitions to common dirFu Wei
1)ubuntu/dmidecode.yaml -> common/dmidecode.yaml 2)ubuntu/fwts.yaml -> common/fwts.yaml 3)ubuntu/scripts/fwts-parser.py -> common/scripts/fwts-parser.py Reason: they are the common tests, and can be used by other OSs. Change-Id: I48755fec9a129eca573ba6fbf406c0bbf6247576
2014-12-17Ubuntu: Cyclictest-basic test description updatedAmit Khare
Change-Id: Iee6a3b024110be53b1943de4858f70e05842e34c
2014-12-15dt-selftests: Adding Device Tree Runtime self testsNaresh Kamboju
Adding Device Tree Runtime self tests CONFIG_OF_SELFTEST=y or new version of it CONFIG_OF_UNITTEST=y kernel config required for this tests. Change-Id: Ifdbed87ebe740041252cc751b6bc9ba73b2fa29d Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2014-11-26generator.sh: POSIX Compliant Update.Botao Sun
This change is to make the test script to be POSIX compliant. Original patch comes from: Lucas Dutra Nunes <ldnunes@ossystems.com.br> Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I5045bfb582a630699a39b077cfb4ee3f32263ae3
2014-11-26lookup-eth: POSIX Compliant Update.Botao Sun
This change is to make the test script to be POSIX compliant. Original patch comes from: Lucas Dutra Nunes <ldnunes@ossystems.com.br> Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: Ia08d26f1fd0601857b401b3c44839f03cbc35d7c
2014-11-25iks-smoke-test: Adding new test definition for big.LITTLE IKSNaresh Kamboju
This test is to enable and disable big.LITTLE IKS switcher 100 times and ensure kernel not crashed while running this test. Change-Id: I2755bdd3724b4096af165ecb64579f038d124203 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2014-11-24iperf: Add iperf.yaml for both OE & UbuntuArthur She
iperf.yaml is a multinode test job with a single yaml file. The roles in the test job must be 'server' & 'client'. Change-Id: I4ed29b59d946ad0186026fc2c4fb8f02574366a5
2014-11-13test-rt-tests.sh and test-rt-parse.shBotao Sun
Add Shebang and license declaration. Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I0ecb0b0290a4dad131b564632279d87f89c2754d
2014-11-13is-cpu-isolated.sh: Fix tab spaces in code.Botao Sun
Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I11b774bbd553efdacb79d660ca7337471072b871
2014-11-12sysbench: Add sysbench.yaml for both ubuntu & OEArthur She
Run sysbench in loop and increase the number of thread after each iteration Change-Id: I40db577fb2312da6efb79ccca8b7b697cb117741
2014-10-30test-kvm.sh: POSIX Compliant Update & Other Minor Issues Fix.Botao Sun
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
2014-10-30test-host.sh: POSIX Compliant Update.Botao Sun
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
2014-10-28Merge "perf: fixed ubuntu test definition"Fathi Boudra
2014-10-22LTP skipfile: adding LTP skipfileNaresh Kamboju
skipfile is a list of LTP test cases to be skipped from LTP full execution. The details about reason for skipping is also been described in skipfile. Change-Id: I8bb40a2b1e52b52125af5f0d8205f8c1a87067c0 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2014-10-22dmidecode.sh: POSIX Compliant Update and Indentation Fix.Botao Sun
This change is to make the test script to be POSIX compliant. Original patch comes from: Lucas Dutra Nunes <ldnunes@ossystems.com.br> And it also fixed indentation issue by filling white space in. Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: Icc571f69956a1b93ebb71cd66b1c1d04aef4264e
2014-10-22lshw.sh: POSIX Compliant Update.Botao Sun
This change is to make the test script to be POSIX compliant. Original patch comes from: Lucas Dutra Nunes <ldnunes@ossystems.com.br> Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I2af9c0f56a4dffbd7ec0639b94877a45c6b6f5ea
2014-10-21cyclictest: Add cyclictest-basic.yaml for both ubuntu & OEArthur She
Run cyclictest in loop and increase the number of thread after each iteration Change-Id: Ic6151b692e2d57304a2f8ef9bb67c5c1261c4e9a
2014-10-20KVM test fixesRiku Voipio
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>
2014-10-15kselftest: Add in kernel selftestsArthur She
Add cpu-hotplug, efivarfs, memory-hotplug, mqueue, net, ptrace, vm tests for both openembedded and ubuntu Change-Id: Ia0b77e6e287b66b07db295a6c9efcf56027cb969
2014-10-09Load matching kernel for juno guestRiku Voipio
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>
2014-10-08gcov: Add experimental test definition for arndaleMilosz Wasilewski
The gcov test should be used with some other test. The lava-test-shell sequence should be: gcov-start <some other test case> gcov-collect-results Make sure there is no reboot between gcov-start and gcov-collect-results Change-Id: I261c8562b474f4d782c22eb45ada0de23ef8e3ae Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-10-08Fix mustang nbd module loadRiku Voipio
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>
2014-10-07test-kvm.sh generic kernel downloadRiku Voipio
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>
2014-10-07perf: fixed ubuntu test definitionMilosz Wasilewski
Ubuntu tests are using the latest available packaged version of perf. The binary comes from linux-tools-X.YY package. Currently it's linux-tools-3.16. Change-Id: Iea20c76f1a1e487f773c708b466f7abe7ecb5b37 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-09-24ping from user networkingRiku Voipio
allow ping from user networking for aarch64 target. Change-Id: Idfbd949835455d289b249a2592930c335c7d0754 Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2014-09-16pwrmgmt: Update metadata, bump release number, and parse patternLisa Nguyen
Update the test definitions to reflect the changes in the September 2014 release. Change-Id: Ib7c08e25fe5f23c3060c408f5a2d4af2b9e4da1f Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2014-09-08test-kvm: print qemu versionRiku Voipio
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>
2014-09-04Remove outdated pm-qa scripts from commons dirLisa Nguyen
Effort to clean up the common directory by removing outdated pm-qa scripts that are no longer in use. Change-Id: I48f3912869effd11f865d38b272231a8be91fac3 Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2014-08-25kvm: disable bridge on aarch64Riku Voipio
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