Age | Commit message (Collapse) | Author |
|
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>
|
|
This test will run the monkey test on device with specified blacklist
and event count.
the BLACK_LIST is default to /data/juno_monkey_blacklist
and the event count EVENT_COUNT is default to "30000"
Change-Id: I56b111af5fb8c4e93d88ff6167df743bbaeecb64
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
If the target SATA device can't be found, all rest test will be skipped.
Signed-off by: Botao Sun <botao.sun@linaro.org>
Change-Id: I481738335efd5070b190c17b71a2087c0dded130
|
|
this test will run the /system/bin/run-bionic-tests.sh script
integrated into the build directly to do the test.
Change-Id: I25445d5bd567af2fd1152da3c149d5945de9f9fc
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
this test will run the /system/bin/linaro-android-kernel-tests.sh
script integrated into the build directly to do the test.
Change-Id: Ifabb8393c1d9ad404c6760084817782443804dc8
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
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>
|
|
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>
|
|
Test code has been validated locally on my Host PC with a Seagate SATA drive.
Signed-off by: Botao Sun <botao.sun@linaro.org>
Change-Id: I872e29fe2f239f6aa61d9a113763513c5aa1983c
|
|
|
|
when selinux enabled, shell command will not be able to operate
files/dirs under /data/directory.
This change is to fix that problem by changing to operate files
under /data/local/tmp directory
Change-Id: Ied8e9efec7898fdf16285a8c4dbac7c505df05b8
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Bump the release number and update the parse pattern to
reflect changes in the August 2014 release.
Change-Id: I81de0a60205fcee6507574fc9c7791f99638865a
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
|
|
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>
|
|
Change-Id: Ie38caaf8c949d1f4761038fc897ea865bd07f1b6
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
|
|
This reverts commit 9b478c5631dc22f3bd42f1d9d6b3f98b06b49464.
The changes to pwrmgmt.yaml files should come with new pm-qa release.
So RELEASE and parsing pattern should be updated at the same time.
|
|
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>
|