Age | Commit message (Collapse) | Author |
|
Tested for odp_isolation
./common/scripts/odp-on-isolated-cpu.sh 1,2 "odp_isolation -l 1,2"
This script will use is-cpu-isolated.sh for cpu isolation,
get_isolation_duration for odp application and clear the
cpusets.
Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org>
|
|
Also some spelling correction.
Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org>
|
|
Dumping interrupt count before and after isolation
not mandatory and it put lots of not needed interrupt details
on console in case of bigger x86 machine, serial console
/proc/interrupt details difficult to read so mask them
only look at before and after total interrupt count
for only isolated cores.
Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org>
|
|
Its known bug that IPI voilates isolation in
case of x86 so for odp demo purpose mask them
This code snippet mask total_intrrupt to not
to use x86 IPI's
cat /proc/interrupts | egrep -v 'interrupts|RTR|TLB|MCE|MCP|ERR|MIS' |
Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org>
|
|
Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org>
|
|
As arguement list will increase so use getopts for
argument parsing.
User to use below command to run task on isolated cpu:
./is-isolated-cpu.sh -c <comma separated cpulist> -t <task_name>
-f <isolation_func_type>
example
1) run odp_isolation application on cpu no 1 and 2, function
type <isolation>
./is-isolated-cpu.sh -c 1,2 -t odp_isolation -f isolate
2) Get step1 isolation duration
./is-isolated-cpu.sh -c 1,2 -t odp_isolation -f duration
3) clear cpuset for step1
./is-isolated-cpu.sh -c 1,2 -t odp_isolation -f clear
4) "-f all" == do step1),2),3)
./is-isolated-cpu.sh -c 1,2 -t odp_isolation -f all
By defauly Task_name = stress and minimum_isolation_duration
=10, sample_count=1
User can pass -s, -d option to configure min_isol_duration
and sample count from cmdline.
This patch support default option i.e. no need to pass
task name or sample count or min isol duration..
./is-isolate-cpu.sh -c 1,2 -f all
From nowonwards is-isolate-cpu script will run other isolation
application unlike default stress application. A step to make
isolation script more generic.
Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org>
|
|
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>
|
|
Change-Id: Ib0c83e34c37251d363b178755861b30dd07591ae
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
|
|
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>
|
|
|
|
nohz-isolation.yaml test can run on both OE and ubuntu builds.
- openembedded/nohz-isolation.yaml
- ubuntu/nohz-isolation.yaml
Change-Id: I5b6e842f93ea1a6a1f3650caa73a678ea5224b69
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
|
|
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>
|
|
- features which are not supported will be skipped
- bug 166
Change-Id: Ifaf0a659c61984fe397f3b39fa3bfe23c8a905a9
|
|
The linaro-android-userspace-test package must be included in the
Android build for this test to run successfully.
Example JSON fragment:
{
"command": "lava_test_shell",
"parameters": {
"testdef_repos": [
{
"git-repo": "git://git.linaro.org/qa/test-definitions.git",
"testdef": "android/media_codecs_functional_tests.yaml"
}
],
}
}
Change-Id: I901e24006132de5befbf6f448e4998f4a266a2c6
Signed-off-by: Edmund Szeto <edmund.szeto@linaro.org>
|
|
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>
|
|
Change-Id: I81e0b20b60dc76935eec86be2cc13b48468a5d59
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
|
|
Add trinity test. It will test syscalls randomly with random arguments.
Change-Id: Iba3da90fa708ad043bd1e9b007d45d972ad0b9d0
|
|
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>
|
|
Removed list markers and unnecessary quotation marks.
Change-Id: I24c66a37ac4ea7014b21e00179bb564cef5e7268
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
|
|
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>
|
|
Change-Id: I577fe585348cde83697952c3e3a98a70c260496f
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
|
|
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
|
|
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>
|
|
Change-Id: I5f42ee74fc2b6a319a5a086acf8bd388dd92423b
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|
|
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>
|
|
Change-Id: I99dea8c9f648092d236a57a222f9e4e1ddedcc6c
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|
|
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>
|
|
Change-Id: I4f17592c20027cd4739e188e1c9e14c99717b027
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|
|
So that we can isolate all CPUs.
Change-Id: I8c1baef9fe23950cc8752e7df3628af8c5d8e3bb
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|
|
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>
|
|
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>
|
|
Just for better readability.
Change-Id: I59da04d24519c2fa50ca5dc19636256c7ed2d50d
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|
|
Change-Id: Ic2dab8318e6c120ca4802a182e42399c695f4577
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|
|
Change-Id: Iefcaf437dd59e8b9d314b4a168db589f877fa47e
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|
|
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>
|
|
Change-Id: I49e99edc908d38f1e2a851d6160f51c8f1c46577
Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
|
|
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>
|
|
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
|
|
Add tagged pointer test.
Change-Id: I37920e15b1da07db7e55533074179c1fd93d628e
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I5cec6925013444d7e2a5b1dab2936b88d8affdba
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add results.log parser for ubuntu/fwts.yaml to turn the test results
into LAVA bundle stream.
Change-Id: I5e2e0856526bbb1d3cc20b7c1c138aa20e0c060d
|
|
Change-Id: Iddf56787f0f0a3b3b55f3be4393d78baac2890ef
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
|