summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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 parsing2014.06Arthur 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 release2014.05Milosz 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>
2014-04-24is-cpu-isolated.sh: arrange routines in the order they are calledViresh Kumar
Just for readability. Change-Id: Idfbd4acc853038d108244a3ca79c73096350bc8c Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-04-24is-cpu-isolated.sh: Capitalize all parametersViresh Kumar
Change-Id: I92ef53de6dbb3712b8463f6d1a7c0322b53b2730 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-04-24Create .gitignore to ignore .swp filesViresh Kumar
Change-Id: Ic859d3765bfd4e194e2f96eb62a8c54de33a9046 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-04-23pwrmgmt: bumped release version to pm-qa-v0.4.92014.04Milosz Wasilewski
Change-Id: I63ad4ae15671c9fb9b37dba97b4705d2d2dd195c Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-04-17pwrmgmt: start using released version of pm-qa suiteMilosz Wasilewski
pwrmgmt suites for Ubuntu and OE will use released version of pm-qa from PMWG. Some additional minor changes: added maintainer, moved to new pm-qa repository. Change-Id: Ib93825335950fe66ed9f2096d9d70c47a8f4afec Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-04-17netperf: added weilong.chen@linaro.org to maintainer listMilosz Wasilewski
Change-Id: Ib142faae8f97a0ba856fffa0a7dcb2a8dd308182 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-04-14pwrmgmt: test set can run individually with given parametersAmit Khare
Added parameter feature to run tests individually and no param runs all tests. Also added the same feature to openembedded test suite too. Change-Id: I21f7ffdd107327255cff6703370706e1f082c412 Signed-off-by: Amit Khare <amit.khare@linaro.org>
2014-04-11pmqa: remove utils from the subtest directory listSanjay Singh Rawat
- utils dir is having binaries which will be used by other tests of the suite. No need to consider it as a subtest. - bug : 1290766 Change-Id: I3f766d51ac423c7d4f4bc29bb892114746548855
2014-04-09kvm: add sanity check for kvm testHongbo Zhang
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>
2014-04-07ltp: bump version to 20140115 releaseFathi Boudra
Change-Id: Idf840fc862e80d3c3d362f41592c2778eba82643 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>