summaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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
2014-08-20odp-on-isolated-cpu.sh: Initial script for odp isolationSantosh Shukla
Script to run odp application on isolated cores. This script will isolate CPUs using is-cpu-isolated.sh, will then start odp threads on isolated CPUs. It will then get isolation time and clear cpusets using is-cpu-isolated.sh. Command to run ./odp-on-isolated-cpu.sh This will run odp threads on isolated cores 1 and 2. Change-Id: I5e7b4b7e0ffd3fc50b04987ed50835cc1c490bd8 Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Not-Tested-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-08-20is-cpu-isolated.sh: broken x86 quirk switch in getoptsSantosh Shukla
In case of x86 - spurious IPI lead to break isolation so mask them in script for temporary period. Only applicable for x86 HW. FIXME(TODO). Added -q switch to enable quirk for x86 isolation test. run this command - ./is-cpu-isolated.sh -q Change-Id: If3aa73755cd9f9a4c39debb99c70ed679dcbb40d Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Not-Tested-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-08-20is-cpu-isolated.sh: exit early in case of non-stress appSantosh Shukla
By default isolation script runs 'stress' tasks on isolated cores. This patch changes it to not run 'stress' if user wants not to use 'stress' but some other test. Change-Id: I21f0d085f075adde4666bc8e4cb8747426a7b1ff Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Not-Tested-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-08-20is-cpu-isolated.sh: show script version informationSantosh Shukla
add -v (version) switch into getopt to show version information. Change-Id: I92f8bb240e4b1658f52334e1c0b1d248a16c7a82 Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Not-Tested-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-08-20is-cpu-isolated.sh: use getopts for argument parsingSantosh Shukla
Currently argument list has to be passed in a specific order for it to work. This isn't scalable as argument list grows. Lets parse arguments with getopts instead to scale better. New command format to test isolation. ./is-cpu-isolated.sh -hv -c <comma separated cpulist> -t <task_name> -f <isolation_func_type> -s <sample count> -d <min isol duration> By default <cpu=cpu1>, <task=stress>, <func_type=all>, <sample_count=1> and <min isol duration =10> Possible function types (-f) 1. isolate : Isolate core(s) for task 2. duration : Application isolation duration 3. clear : Clear cpuset rules used for step1 4. nonisol_list : Update list of all nonisol cpus 5. all : do step1,2,3 Examples : 1) run odp_isolation application on cpu no 1 and 2, function type <isolation> ./is-cpu-isolated.sh -c 1,2 -t odp_isolation -f isolate 2) Get step1 isolate <duration> ./is-cpu-isolated.sh -c 1,2 -t odp_isolation -f duration 3) <clear> cpuset for step1 ./is-cpu-isolated.sh -c 1,2 -t odp_isolation -f clear 4) "-f all" == do step1),2),3) ./is-cpu-isolated.sh -c 1,2 -t odp_isolation -f all 5) Update list of all nonisol cpus ./is-cpu-isolated.sh -c 1,2 -t odp_isolation -f nonisol_list 6) Running with no argument execute default ./is-cpu-isolated.sh From now onwards is-cpu-isolated.sh script will run other isolation application unlike default stress application. Change-Id: Id9de13c1353cfc4e5f668a413c4ec666069e0b76 Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Not-Tested-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-08-15LTP: return 'fail' result in case anything goes wrongMilosz Wasilewski
ltpfixup.sh script was returning result 'pass' when there was no LTP tests available in rootfs. This problem is fixed now. As a side effect the LAVA test LTP_xxx will become 'failed' in case any of the LTP tests fails during execution (runltp return something else than 0). Change-Id: Ib9881741a6311afaac3c4346283a9a62b599fe69 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-08-07ubuntu: adding uprobe systemtap testsuiteNaresh Kamboju
Uprobes/kprobes enabled in linux linaro kernel. Systemtap test suite will be used for testing uprobes/kprobes. install-uprobe-kernel-on-arndale.yaml will be used for building and installing linux linaro kernel on arndale with uprobes configs enabled. native-uprobes-systemtap-test.yaml will be used for build, install and installcheck systemtap testsuite on target. This is long running test could run upto 25 hours. This complete testing need 10 GB space on test image. Change-Id: I499609f0537dc2243d5ab7e16dc2cc9c12ed738a Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2014-08-06pmqa: for android change path to /system/binSanjay Singh Rawat
in android execute permission for binaries is removed, when they are moved to /data/benchmark dir, because of this limitation in the system moving pmqa to /system/bin path bug : https://bugs.linaro.org/show_bug.cgi?id=156 Change-Id: I5e02e3aede3dd66a6d9b58cfde386d1ab3631044 Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
2014-08-04test-kvm: ensure latest mustang imageRiku Voipio
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>
2014-08-02pmqa: correct sanity check return valueSanjay Singh Rawat
- features which are not supported will be skipped - bug 166 Change-Id: Ifaf0a659c61984fe397f3b39fa3bfe23c8a905a9
2014-07-14is-cpu-isolated: Fix incorrect list of non-isol-cpussantosh shukla
update_non_isol_cpus() was incorrectly expecting ISOL_CPUS to contain only one CPU and would fail badly if a comma separated list of CPUs is passed to it. For example: run ./is_isol_cpus 1,2 [out of 4 physical cpu, cpu 1 & 2 to isolate] would result in: Isolate: CPU 1,2 and leave others: 0,1,2,3 Fix it by adding another routine to find if a cpu is isolated one or not. Change-Id: I64e853dc55efd8fb668e2a3f628e5497aa6d009f Signed-off-by: santosh shukla <santosh.shukla@linaro.org>