is-cpu-isolated: Fix incorrect list of non-isol-cpus

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>
Trinity test: Add openembedded/trinity.yaml

Add trinity test. It will test syscalls randomly with random arguments.

Change-Id: Iba3da90fa708ad043bd1e9b007d45d972ad0b9d0
pwrmgmt: Bump release version to pm-qa-v0.4.12

Change-Id: I81e0b20b60dc76935eec86be2cc13b48468a5d59
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
android: added lava-android-test wrapper

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>
android: add media codec function test definition

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>
pmqa: correct sanity check return value

- features which are not supported will be skipped
- bug 166

Change-Id: Ifaf0a659c61984fe397f3b39fa3bfe23c8a905a9
test-kvm: ensure latest mustang image

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>
nohz-isolation.yaml: runs on OE and ubuntu

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>
Merge "nohz-isolation.yaml: runs on OE and ubuntu"
pmqa: for android change path to /system/bin

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>
pwrmgmt: Update the parse pattern to detect pass/fail/skip results

Change-Id: Ib0c83e34c37251d363b178755861b30dd07591ae
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
ubuntu: adding uprobe systemtap testsuite

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>
Revert "pwrmgmt: Update the parse pattern to detect pass/fail/skip results"

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.
Make shell scripts POSIX compliant

Change-Id: I4e83da735e856f63415b9691f35b7b08c6a12508
Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>