summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-22android: added lava-android-test wrapperMilosz Wasilewski
The lava-test-shell wrapper around lava-android-test allows to execute the lava-android-test from the KVM device type in LAVA which acts as a host. With this approach it is possible to controll the host environment and for example use different Java versions with different Android CTS branches. The test wrapper JSON fragment follows: { "command": "lava_test_shell", "parameters": { "role": "host", "testdef_repos": [ { "git-repo": "git://git.linaro.org/qa/test-definitions.git", "parameters": { "TEST_NAME": "cts", "TEST_PARAMS": "--package android.bionic --timeout 1800 --disable-reboot" }, "testdef": "android/lava-android-test-host.yaml" } ], "timeout": 7200 } }, { "command": "lava_test_shell", "parameters": { "role": "target", "testdef_repos": [ { "git-repo": "git://git.linaro.org/qa/test-definitions.git", "parameters": { "TEST_NAME": "cts", "TEST_PARAMS": "--package android.bionic --timeout 1800 --disable-reboot" }, "testdef": "android/lava-android-test-target.yaml" } ], "timeout": 7200 } } lava-android-test-host.yaml and lava-android-test-target.yaml take TEST_NAME and TEST_PARAMS. These have to be the same for each pair of test shells. Optionally lava-android-test-host.yaml takes JAVA_PACKAGE parameter which is used to define the Java version running on host. Change-Id: Ief169010a1510392c741513136cbc245ab769b7b Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-07-21pwrmgmt: Bump release version to pm-qa-v0.4.12Lisa Nguyen
Change-Id: I81e0b20b60dc76935eec86be2cc13b48468a5d59 Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2014-07-15Trinity test: Add openembedded/trinity.yamlArthur She
Add trinity test. It will test syscalls randomly with random arguments. Change-Id: Iba3da90fa708ad043bd1e9b007d45d972ad0b9d0
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>
2014-07-07ltp-network: fixed test definition parametersMilosz Wasilewski
Removed list markers and unnecessary quotation marks. Change-Id: I24c66a37ac4ea7014b21e00179bb564cef5e7268 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-07-07Ubuntu: removed redundant LTP realtime definitionMilosz Wasilewski
rt-ltp.yam was a duplicate of ltp-realtime.yaml. Leaving the latter as it contains more recent version of result parsing. Change-Id: I62c9a0395eb5a0387b01b37eae91a42a0df3251d Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-07-03pwrmgmt: Bump release version to pm-qa-v0.4.11Lisa Nguyen
Change-Id: I577fe585348cde83697952c3e3a98a70c260496f Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2014-07-02ACPICA: fixed result parsingArthur She
There're test cases summary in a file named "__STATUS_OF_TESTS" located at aslts/tmp/RESULTS/<date>/[norm|slack]/[32|64]. Turned them into LAVA test results. Change-Id: I14275648c4f790b970b2c29c30da91950e931325
2014-07-02kvm: add armv8 supportRiku Voipio
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>
2014-07-02is-cpu-isolated: formatting udpatesViresh Kumar
Change-Id: I5f42ee74fc2b6a319a5a086acf8bd388dd92423b Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-07-02is-cpu-isolated: skip testing isolation initiallyViresh Kumar
Currently we do a isolation test before starting the major loop for 'n' samples. It was done to precisely know when was interruption last happened. As things are more stable now, we can just check that from the loop. Change-Id: I43bdc5b515e4e3b19f058c83eebf1f7ff509ff6a Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-07-02is-cpu-isolated: rename ISOL_CPU to ISOL_CPUSViresh Kumar
Change-Id: I99dea8c9f648092d236a57a222f9e4e1ddedcc6c Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-07-02is-cpu-isolated: Isolate more than one CPUViresh Kumar
Until now, we only handle isolation for One cpu. But for better test coverage, we actually need support for more CPUs. This patch adds support for more than one CPU in isolation script. Change-Id: I169766adf900289f4eaf955e1d12f4d3394f642c Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-07-02is-cpu-isolated: add delay before removing dplane cpusetViresh Kumar
Change-Id: I4f17592c20027cd4739e188e1c9e14c99717b027 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-07-02is-cpu-isolated: create per-cpu cpuset directoriesViresh Kumar
So that we can isolate all CPUs. Change-Id: I8c1baef9fe23950cc8752e7df3628af8c5d8e3bb Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-07-02is-cpu-isolated: Run --stress on the right CPUViresh Kumar
Currently we were creating 'stress' on control plane CPU and then migrating it to data plane one. Instead create it on data plane CPU only. Change-Id: I63a38db978e211fada66eb4a646b51517519699f Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-07-02is-cpu-isolated: No need to set cpuset/cpus againViresh Kumar
It was done again earlier because we were hotplugging CPUs, but its not done anymore and so this isn't required. Remove it. Change-Id: I5844252f2c95f2c6f1335bd4e54363dc34339a48 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-07-02is-cpu-isolated: Move routines aroundViresh Kumar
Just for better readability. Change-Id: I59da04d24519c2fa50ca5dc19636256c7ed2d50d Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-07-02is-cpu-isolated: split out sysfs-related-tuning into a separate routineViresh Kumar
Change-Id: Ic2dab8318e6c120ca4802a182e42399c695f4577 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-07-02is-cpu-isolated: Split out separate routine for cpufreq stuffViresh Kumar
Change-Id: Iefcaf437dd59e8b9d314b4a168db589f877fa47e Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-07-01is-cpu-isolated: Keep an eye on all possible interruptsViresh Kumar
Until now we were only concerned about interruption from ticks and so were checking only interrupts from arch_timer. But there are few problems here: - To check which row belongs to tick-timer, we need to grep for a string. It can be "arch-timer", "twd", "NMI", etc for different platforms and so the script was never generic. - Also, interruption is possible from other peripherals, PPI, SPI, IPC, etc This patch adds in another AWK script to get total number of interrupts for any CPU (though it supports returning that for all CPUs at once, its not used currently). We use this instead of looking at tick-timer. Change-Id: I2aab004314459a928e5ebc505d03a4525957c40e Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-06-27LTP-Realtime: Make path to scripts dynamicGary S. Robertson
Change-Id: I49e99edc908d38f1e2a851d6160f51c8f1c46577 Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
2014-06-27is-cpu-isolated: add prefix to sched_load_balanceViresh Kumar
Commit: 176ea92 (is-cpu-isolated: Fix name of cpuset files) missed fixing this entry. Fix it. Change-Id: I3a724e4fc1bf4e36a84bf7ee52a5ae37b0287cd7 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-06-24ACPI: add acpi-smoke-test.yamlArthur She
Do the following tests to check if the test image is ACPI supported 1) Check presence of /sys/firmware/acpi 2) Check presence of /sys/firmware/acpi/tables/DSDT 3) If iasl is installed test decompile of /sys/firmware/acpi/tables/DSDT Change-Id: I3aaac732aaf4b8b8f5d5cbafc92e1e54fa35d3b6
2014-06-24Tagged pointer test: add openembedded/pointer_tagging-tests.yamlArthur She
Add tagged pointer test. Change-Id: I37920e15b1da07db7e55533074179c1fd93d628e
2014-06-24aapits: Fix result parsingArthur She
The test results in acpica/tests/aapits/tmp/raw.out are more valuable . It shows "<Function Name>: <test result>". Use them instead of "test 1 0:pass" for LAVA test results. Change-Id: Iedc57c941e90b28ea9cd671bded386529e2665be
2014-06-17pwrmgmt: fixed RELEASE variableMilosz Wasilewski
It is now possible to use RELEASE variable to checkout any version of the pm-qa code. 'tags/' were moved to default value. Change-Id: I3658a190fb48f91a89b80fcca74b8cd21d24c639 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-06-11move to virtio blockRiku Voipio
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>
2014-06-09LTP: Fixed path problem on UbuntuMilosz Wasilewski
On Ubuntu LTP gets installed in the LAVA test execution directory. For this reason the ltpfixup.sh wasn't working correctly so far. It had the /opt/ltp path hardcoded. This patch fixes the issue. Change-Id: I4bd9389d63aea954b01e7162a4a0518aa2223750 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-06-09LTP: version bump to 20140422Milosz Wasilewski
Change-Id: I5cec6925013444d7e2a5b1dab2936b88d8affdba Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-06-04is-cpu-isolated: disable cpu-hotplug hackViresh Kumar
cpu-hotplug was a HACK which was added initially to get everything migrated out. But kernel now has better support for isolation and so this can be disabled now. Leave it commented so that it can be used for testing later. Change-Id: I5dd7b9055f7eac45f1c7447c05be5ade4f8ef490 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-06-04is-cpu-isolated: rename rt as dplane and gp as cplaneViresh Kumar
We are creating two cpusets one for data plane, name RT and other for control plane, named GP currently. Lets give them proper names to avoid confusion. Change-Id: I7c4d7a1fb05ec910d7a9ac879571e27786ec2e2b Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-06-04is-cpu-isolated: Fix name of cpuset filesViresh Kumar
Based on configurations we may or may not have cpuset files names prefixed with "cpuset.". Get provision for this in our script so that it doesn't break for those platforms which have this prefixed. Change-Id: I8cf569d5bdd7f96ec3a86cb2aba3a767a3aa1bc1 Reported-by: Santosh Shukla <santosh.shukla@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-06-04Android: added piglit test definitionsMilosz Wasilewski
Piglit needs to be available in the Android build that the tests run on. Change-Id: I8aab1fda205a69885698d8ffd92166a386cde199 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-06-03FWTS: fixed result parsingArthur She
Add results.log parser for ubuntu/fwts.yaml to turn the test results into LAVA bundle stream. Change-Id: I5e2e0856526bbb1d3cc20b7c1c138aa20e0c060d
2014-06-03openssl: fixed file permissions and unitsMilosz Wasilewski
Change-Id: Iddf56787f0f0a3b3b55f3be4393d78baac2890ef Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-05-27Add Python dependency for FIO and SATA test.Botao Sun
Signed-off-by: Botao Sun <botao.sun@linaro.org> Change-Id: If2ee07ed33ee070910288a84b5abdc9748f78c93
2014-05-25PM-QA: uptaded test definition to pm-qa 0.4.10 releaseMilosz Wasilewski
Change-Id: Ic58cd30000b01c0474bffa300026491bf11ea283 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-05-25Add ODP API test case odp_atomicMike Holmes
Change-Id: Ib4b4770e935fbceff708c6e054239eb9c16dc31a
2014-05-23Set default cyclictest run time to 2 hrsGary S. Robertson
For regression test and relative performance measurement purposes it is not necessary to run cyclictest for a full 24 hours. Consequently this patch shortens the default runtime for cyclictest to 2 hours in order to obtain a result more quickly and free up lab resources more quickly. Change-Id: I2b71308d840f6d8a6f0e3ed488b43178537324fa Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
2014-05-23Add SATA Test for Linux Linaro ubuntu, including Partition, Read and Write.Botao Sun
Test code has been validated on Samsung Arndale and Panda board in LAVA. Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I950bc78e37413baa4304cca13783f916ef23ac22
2014-05-23Fix ACPI test suite description and metadataNaresh Bhat
Added links to wiki page and changed devices to Fastmodels Change-Id: Ie1e67f61fde7f0a45826fd9d6e0ee5a8df529b25 Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org> Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-05-23Add FIO test for Linux Linaro ubuntuBotao Sun
Test code has been validated on Samsung Arndale board in LAVA. Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: Icdb0f6df6b98f7fd2f2d7c4240f8c3d1463b43f2
2014-05-21LTP: fixed result parsing when running each package separatelyMilosz Wasilewski
When running packages separately in the same LAVA job, results were concatenated. Now result files are stored in the test execution directory and are separate for each lava-test-shell. ltpfixup.sh script was moved to 'common' directory. Definition was unified between Ubuntu and OE. Change-Id: I43372b0d060d88f871407bc4b1b44c2cf94ef333 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-05-09Merge "is-cpu-isolated: Add another parameter to call specific parts"Fathi Boudra
2014-05-09is-cpu-isolated: Add another parameter to call specific partsViresh Kumar
Change-Id: Ic5e831c1330ef3d9f864ee19d74208b694bc5269 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-05-07BP: TCP Replay to pump pcap traffic for testsWeilong Chen
Establish basic sanity and regression tests, this is a special case test since it actually generates traffic for other test cases Change-Id: I711c5a4683b116ad54cc8c69e020dcf041fa7317 Signed-off-by: Weilong Chen <weilong.chen@linaro.org>
2014-04-24is-cpu-isolated.sh: Enable tracking isolation for system with more than 2 CPUsViresh Kumar
Till now this scripts was only useful for a system with two CPUs as there were some assumptions. But there were requirements from multiple people about supporting more platforms which might have more than two cores. Hence this patch, it enables support for multiple cores and any core can be isolated (leaving core 0, which can't be isolated in kernel as that's the boot CPU). Order of parameters is also changed based on what user may want. And so nohz-isolation.yaml is updated in the same patch so that things don't break inbetween. Change-Id: I0656131a6a6d043e662d16f05dd08f172f2a3d9d Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-04-24is-cpu-isolated.sh: rearrange codeViresh Kumar
Change-Id: I939381ec2240a9f0c0ba5075164f0881c4bdf252 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-04-24is-cpu-isolated.sh: offload irqs and change cpufreq governorViresh Kumar
Change-Id: I56a9c51a0c61ec338ece94041b94ab643efb7285 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>