summaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2014-04-03is-cpu-isolated: print exact time instead of STRESS_DURATIONViresh Kumar
Change-Id: I6ca20a368483d30488417ecae571133c7b369974 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-03-10Removed unnecessary hackbench workaround; added standard deviation to result ↵Ciprian Barbu
list Change-Id: I3a0011210dbd09b88293a590408e381275a22bc0
2014-02-25common/scripts/netperf-client: tee to view outputAnders Roxell
Change-Id: If707fe2b58fc789411e4c2e093473c51c3f87541 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-02-25OE/netperf: adding mac mapping table for the LNG-labAnders Roxell
Change-Id: Ib066d8be065925ac9eff9b6e106d89e0c084a52b Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-02-25netperf-server: if netserver started pass else start itAnders Roxell
Change-Id: I2efc59ca64d8fb69d2ca93e300e8418c100fdd1b Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-02-25netperf-client: fix set local_ip to the correct ipAnders Roxell
Change-Id: Iba06b340a348dfe7257493cc9f1d14653f84ad74 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-02-25Add lshw testesla
Change-Id: I6265c3d240359f36bac16b243289f12f9dbf4f8a
2014-02-19is-cpu-isolated: Increase stress duration to analyze interruptionsViresh Kumar
Change-Id: Ie747b73c34b99b03afbf36d4d76f3382c38918cb Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-02-18KVM: added parsing hackbench measurementsMilosz Wasilewski
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>
2014-02-14is-cpu-isolated: Check again if stress is already completed or notViresh Kumar
We might not see infinite isolation on the first time and so need to check it everytime. Lets do it. Change-Id: Ic00d4e642e2a86ec7bd062af5b0964ad398d9d71 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-02-14is-cpu-isolated: Print exact isolation time instead of STRESS_DURATIONViresh Kumar
Change-Id: Ic2b83f693214cde5129284ef787a52a6ab586cb3 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-02-14pmqa: run sanity file before starting testsSanjay Singh Rawat
- verify using the sanity script return status, whether the subtest is suppoerted or not - remove the sched_mc test as its not supported Change-Id: I1314fdf60a7938124391853472a4bb3093a5630f Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
2014-01-13common/scripts/kvm/test-kvm.sh: ping gatewayAnders Roxell
Change-Id: I57bb7b2f56d684c79e0c24706dca77254f919c35 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-01-13common/scripts/kvm/test-kvm.sh: fix curl bypass sslAnders Roxell
pass option -k to curl to bypass SSL verification Change-Id: I30d36b62b5d2bdf3cf8a6cfb3ec46f6ef5c89b95 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-01-11ltp-realtime: Parse ltp-realtime results for LAVA measurementsmike-holmes
Change-Id: I9f9a626ee08045250976ef0e1425d02df4f82328
2014-01-10is-cpu-isolated.sh: Sense infinite isolation timeViresh Kumar
With the latest updates we might end up with infinite isolation time and hence we need to sense it and quit/PASS tests rather than waiting infinitely. Change-Id: Id97be7ff566d7b31101b6a0ad19b450e218cc0a9 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-01-10is-cpu-isolated: Move all tasks to CPU0 by hotunplugging CPU1Viresh Kumar
If we hot-unplug CPU1 and hotplug it back, then all tasks would be moved to CPU0 and that will let us have long isolation times. Actually this currently leads to infinite isolation time. Change-Id: I6ad0720328fa52f81491197d61ddb410ae31ee68 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2014-01-06Fixed parse pattern in min_max_avg_parse.pyCiprian Barbu
Change-Id: I26964a9ca9af4e5ba98ea1efdcd3d23440d4a4be Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org>
2013-12-20kvm/test-kvm.sh: fallback to use wgetAnders Roxell
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>
2013-12-20set the result to skip, remove Sz in test namemike-holmes
Change-Id: Icfeec1eebc34eeafbfa30b9deafcccb44d872afa
2013-12-20is-cpu-isolated: Print Average/Min/Max isolation timesViresh Kumar
Change-Id: I3708395b8f56524d51e6eaa46eaabc460eb0b934 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2013-12-20is-cpu-isolated: print average isolation timeViresh Kumar
This adds support to print average isolation time in measurement field and seconds in units. Similar change is done in openembedded/nohz-isolation.yaml. Change-Id: Ibe2b545bb769cc2b4c3e6ac34fa12b8bff819e52 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2013-12-20is-cpu-isolated: Suppress wakeup events on CPU1Viresh Kumar
Few more optimizations to reduce number of wakeup events for CPU1, which we are trying to isolate. Change-Id: I3751d437dad88679a402d448c3c26ce196d7b1bc Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2013-12-20is-cpu-isolated: Don't read between continuous ticksViresh Kumar
Sometimes ticks occur continuously within a interval of 5-10 milliseconds. So, skip them before starting a new reading. Change-Id: I92104dfcca2c520cff2bc869ea691f3cbc764bb1 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2013-12-20is-cpu-isolated: Use Tick count of last loopViresh Kumar
We are calculating time interval between ticks here. Currently it happens this way: 1. Start Count 2. End Count 3. Take time difference between two 4. Repeat above three again. The problem here is that we do a Start Count almost just after End Count. And this can take a lot of time, i.e. equal to the time CPU is isolated. Which is around 40 seconds for now. So change this logic to do following: 1. Start Count 2. End Count 3. Take time difference between two 4. Start Time = End Time 5. Repeat 2->4 again. Change-Id: I455c9d5182c2ca43544848a6524a61580fe56cc4 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2013-12-17is-cpu-isolated: Fix testcase-id nameViresh Kumar
On LAVA when this script is run it prints this: PASS: 10 And so the test case id becomes 10. Fix this by making testcase id like: min-isolation 10 seconds. Change-Id: I3dbae27def21a198d2a5f7b5ef608d292c3eec41 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2013-12-11kvm test fixesRiku Voipio
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>
2013-12-03OpenEmbedded/scripts: Add script to find tickless-isolation time on CPU1Viresh Kumar
Change-Id: Ib0d3d6d9cdba8c0b76dd2c0572feceda5ad0bcab Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2013-11-22added lmbench to kvm-benchmark.yaml test for OEAnders Roxell
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>
2013-10-24added lmbench and generalize hackbench_parse script2013.10Anders Roxell
1. move hackbench_parse.py to common/scripts/min_max_avg_parsh.sh and try to generalize it so lmbench can use it as well. 2. add new lmbench.yaml file to OE Change-Id: I9ce50fb5830d2f1a6f45ca043f93da70f32041b1 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2013-10-15kvm: add simple networking test - ping -c 10 192.168.1.10Kim Phillips
- 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>
2013-09-25added kvm for OEAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2013-09-25kvm test for UbuntuAnders Roxell
based on ci/kvm-ci.git Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2013-09-16tcpreplay multinode test.Guoqing Zhu
simple tcpreplay test with a telnet pcap file. Signed-off-by: Guoqing Zhu <guoqing.zhu@linaro.org> Acked-by: Fathi Boudra <fathi.boudra@linaro.org>
2013-09-14common/netperf: move netperf scripts under common directoryFathi Boudra
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2013-07-31Add dmidecode test.Tyler
2013-07-09Add pm-qa test definition and related scripts.Senthil Kumaran
2013-05-19First common test definition for passfail.Senthil Kumaran