summaryrefslogtreecommitdiff
path: root/automated/linux
AgeCommit message (Collapse)Author
2018-11-26Disable shellcheck on spectre-meltdown-checker-test.shHEADmasterNaresh Kamboju
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-11-26c: remove runtime parserNaresh Kamboju
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-11-26smc: remove extra char ':'Naresh Kamboju
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-11-26smc: fix parserNaresh Kamboju
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-11-26smc: Debug set -xNaresh Kamboju
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-11-26smc: debugNaresh Kamboju
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-11-26linux: Adding spectre meltdown checker test suiteNaresh Kamboju
Spectre & Meltdown Checker description, A shell script to tell if your system is vulnerable against the several "speculative execution" CVEs that were made public in 2018. CVE-2017-5753 [bounds check bypass] aka 'Spectre Variant 1' CVE-2017-5715 [branch target injection] aka 'Spectre Variant 2' CVE-2017-5754 [rogue data cache load] aka 'Meltdown' aka 'Variant 3' CVE-2018-3640 [rogue system register read] aka 'Variant 3a' CVE-2018-3639 [speculative store bypass] aka 'Variant 4' CVE-2018-3615 [L1 terminal fault] aka 'Foreshadow (SGX)' CVE-2018-3620 [L1 terminal fault] aka 'Foreshadow-NG (OS)' CVE-2018-3646 [L1 terminal fault] aka 'Foreshadow-NG (VMM)' Ref: Add spectre-meltdown-checker to LKFT https://projects.linaro.org/browse/KV-125 Change-Id: I1fdc3120cc575bf37bcea7f2cf0b02c3ad30e38a Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-11-23kselftest: skip hang sync_tests on 4.9 for arm and arm64Naresh Kamboju
Change-Id: I814fa8a498a50a70c577d0daaaf8466841132428 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-11-23Revert "automated: kselftest: kselftest.sh: just continue"Naresh Kamboju
This reverts commit f101ef36f7c1f29bdc56885e475ca3f23874c2d1.
2018-11-23Revert "kselftest: fix typo replace OPTARGS with OPTARG"Naresh Kamboju
This reverts commit 7085aabae15012f516d024c4a214c4a7b816475f.
2018-11-23Revert "kselftest: allow empty string for skipfile option -S"Naresh Kamboju
This reverts commit 76991ed06840a8e454ab6a00b3e86e9e2359cad3.
2018-11-22linux/dockerized-tests: add link to jenkins build job for armhfChase Qi
Change-Id: I35054356febc4825f883b66bf90ad47fb847e253 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2018-11-20Merge "LTP: Bump LTP version to 20180926"Dan Rue
2018-11-20LTP: Bump LTP version to 20180926Naresh Kamboju
The LTP new release 20180926 is been published. LKFT openembedded builds have been upgrade to LTP-20180926. For the record bump ltp version in test definitions. Change-Id: I6ed086007fd4447364ec432167f5ae4c191cebd4 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-11-20kselftest: allow empty string for skipfile option -SNaresh Kamboju
Change-Id: I0f232cad1edc01274faf47873b2e7fbf1b9c8e35 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-11-20kselftest: fix typo replace OPTARGS with OPTARGNaresh Kamboju
Change-Id: I39c7d5dba7627583b387fb4cb39c48b61110981b Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-11-16automated: kselftest: kselftest.sh: just continueAnders Roxell
If we pass an empty string to flag -S '' we ended up trying to wget http-skipfile.yaml that doesn't exists. If I only pass this in the job yaml file: parameters: KSELFTEST_PATH: /opt/kselftests/default-in-kernel/ The solution were to add a test if string length is zero then just continue. Change-Id: I7dd396b6263daa3c79e8166ff57e1fad28828316 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2018-11-12linux: add test case to install android platform toolsChase Qi
Change-Id: Ibe9b3cb0c9406bb196f12eff0034e1035a9101cc Signed-off-by: Chase Qi <chase.qi@linaro.org>
2018-11-09kselftests: moving skip tests to qa reports known xfail testsNaresh Kamboju
kselftest skipfile contains only the hang and kernel crash tests. The known to fail test cases are moved to qa reports known issues repo. Here is the pull request, https://github.com/Linaro/qa-reports-known-issues/pull/24 Change-Id: I1652c10b99fa0bb8442d4f5fc42bb564df7d85bc Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-11-07linux: add docker integration test for local daemonChase Qi
Change-Id: Id44518c5cc8a74b4a272fd4e5587d7074dac9227 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2018-10-29LTP: skip fanotify08 and fanotify09 on 4.9 and 4.4Naresh Kamboju
fanotify08 and fanotify09 started running from new LTP release 20180926 and they reported timeout on 4.9 and 4.4 kernel. Ref: LTP: 20170929: fanotify07 causes v4.4 and v4.9 to hang due to kernel <-> userland dead-lock https://bugs.linaro.org/show_bug.cgi?id=3303 Change-Id: I2897c31d9fe6c5fcfa1a1f8647a8972ff79f1ff4 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-10-25Merge "LTP: skipfile: Add new 4.19 tag and remote obsolete 4.17"Dan Rue
2018-10-24kselftest: skipfile: Add new 4.19 tag and remove obsolete 4.17Naresh Kamboju
Change-Id: Ic2f889bacf33c6bc9a72dd9df1bfe348efdaaf21 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-10-24LTP: skipfile: Add new 4.19 tag and remote obsolete 4.17Naresh Kamboju
Change-Id: Iab0c35ba5e20c18dcbccb6e1b69e414916613521 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-10-16LTP and Kselftest: skiplist updated for 2 bugsRafael David Tinoco
skip known failures for bugs: Bug: #4023 - LTP: hugemmap06: cant reserve hugepages for small boards skipping it for x15. Bug: #4025 - Selftest: x86_syscall_arg_fault_32: bus errors are testing HW on QEMU and not the OS, skip for qemu. Change-Id: I79a1596eabd6d8a3ed6f170566e31c9a31b156d9 Link: https://bugs.linaro.org/show_bug.cgi?id=4023 Link: https://bugs.linaro.org/show_bug.cgi?id=4025 Signed-off-by: Rafael David Tinoco <rafael.tinoco@linaro.org>
2018-10-10kselftest: skip rseq: run_param_test.sh on all arm / arm64Naresh Kamboju
rseq: run_param_test.sh running more than hour on arm / arm64 devices. This will be skipped on all arm / arm64 devices till this get fixed on upstream. Change-Id: I3dfe18c7d3afe1c5dbed402a0a743b698281d824 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-10-02LTP: comment out runltp_testnameNaresh Kamboju
Since we have introduced known failures as xfail we do not need the summary of test check return value. Change-Id: If491d1be18bc55546c156d61f7c34edd39b1b286 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-09-21kselftest: skip hang test bpf test_kmod.sh on all devicesNaresh Kamboju
Change-Id: I4cb567408c1d4d7d594f3ccb4981418a41ec0450 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-09-17linux/v4l2-compliance: support to modprobe driver and install v4l-utilsChase Qi
* Add hikey to supported board list. * Add support to modprobe driver module. * Try to install v4l-utils when v4l2-compliance command not found. * Drop support for media device testing as we cannot really test it. * Bug fixes. Change-Id: I8518a06e04a1f842f4ebacf32c9b63eaf58ef5cb Signed-off-by: Chase Qi <chase.qi@linaro.org>
2018-09-04automated: linux: initial ota update testVishal Bhoj
Change-Id: Ia5cd0303437bd28f2992b1f8f26fe77a265b697e Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2018-08-31LTP: skiplist updated for qemu_i386 and i386Naresh Kamboju
skip known failures on qemu_i386 and i386 - select04 - fcntl36 - futex_wake04 Change-Id: Iff9f4fbd0e1b50d64b6583e8dcc30be65d0d028e Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-08-31LTP: skip known failure cve-2014-0196 on db410cNaresh Kamboju
Change-Id: I3f2ae0abc66df71ec8b6389c83c3982566446171 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-08-30kselftest: Adding i386 and qemu_i386 device entries for skipfileNaresh Kamboju
Skip known kselftest failures on i386 and qemu_i386. Change-Id: I8cc2fe1de8efa548706404204d1b06edc09a9299 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-08-30LTP: update skipfile for i386Naresh Kamboju
Adding i386 device to skipfile to skip known failures on this device. Change-Id: Idacd9672e4c480f662cf58bb8126d48f087bc4a3 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-08-27LTP: adding qemu_i386 device for skipfileNaresh Kamboju
Change-Id: I9149942e7d2273a51942b3f1502fbc9f480b1ce3 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-08-24Merge "linux/dockerized-tests: add local run support and readme"Milosz Wasilewski
2018-08-24linux/dockrized-tests: launch container with --privileged and --init flagsChase Qi
--privileged flag is required by tests need to modify system/kernel parameters. --init flag is required by ltp syscalls so that tests spawned and exit correctly. Change-Id: Ic903adb8c943206247f406d094b63e24dec4083e Signed-off-by: Chase Qi <chase.qi@linaro.org>
2018-08-24linux/dockerized-tests: add local run support and readmeChase Qi
Change-Id: I351b336bb643b66b4a739915bd263ba66de59b0b Signed-off-by: Chase Qi <chase.qi@linaro.org>
2018-08-22kselftest: update skiplist based on v4.18Naresh Kamboju
As a part of kselftest upgrade to v4.18 the new known failed test cases to be skipped. So the skiplist is been updated. Change-Id: Id307b337458e7f99deb973991c5b4e23bc7bf3b7 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-08-15LKFT: kselftest skipfile: 4.18 renamesDan Rue
As of linux 4.18, some tests now have their directory name, followed by an underscore, prepended to the test name. Update to add the new test names, and leave the old ones for backward compatibility. Change-Id: I266b7c6d7d63ffe8aad10603f221659b4664f398 Signed-off-by: Dan Rue <dan.rue@linaro.org>
2018-08-14LKFT: Add 4.18 branch to skipfilesDan Rue
Change-Id: I34ac47bd4e88dcb4da7f6796b58b46a767ffe283 Signed-off-by: Dan Rue <dan.rue@linaro.org>
2018-08-08linux: add support for test run with dockerChase Qi
With over-ssh* test case, test will be triggered over ssh. Change-Id: Icaa4b57324d0628ba771a36c2e4c0a606fa4788b Signed-off-by: Chase Qi <chase.qi@linaro.org>
2018-08-06LTP: unskip netns_* tests on lkft build testingNaresh Kamboju
Change-Id: I91f61b260a0b05c8d7adf0e7089b2cd0890d9398 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-07-31Merge "linux/aep-pre-post: install dependencies with virtualevn"Chase Qi
2018-07-30linux/aep-pre-post: install dependencies with virtualevnChase Qi
Run LISA within python2 virtualevn to avoid dependency confliction with other tools. Change-Id: I8e5487f740ba11ba695e73db2f3e8917cd672395 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2018-07-24workload-automation3: Update default paths and config filenamesLisa Nguyen
Fix remaining outdated paths and config filenames to run WA3. Otherwise, we will end up running WA2 if we don't cd into the correct directory and WA3 does not use config files with the .py extension. Change-Id: I4b081cbc7e2adf991b4272ada48018217724560b Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2018-07-24LTP: skip open11 on all qemuNaresh Kamboju
skip known test failure open11 on qemu_x86_64, qemu_arm and qemu_arm64. LKFT: next: LTP open11 failed - Got: TEST_ERRNO=EACCES(13): Permission denied instead of errno 0 userland update morty to rocko (openembedded) caused this bug. Ref: https://bugs.linaro.org/show_bug.cgi?id=3948 Change-Id: I13c1f6d9d3b33bb1f69fcf25a37e4294c6cb1e78 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-07-23workload-automation3: add test cases for WA3Chase Qi
Base on the current workload-automation test case: * Install WA3 with pip3 as it is python3 based. * The format of config file has been changed in WA3. Templates for WA3 are hosted here https://git.linaro.org/qa/wa-templates.git/. Required changed in test script updated. * The same as android, install latest devlib on Linux. Keep the original test cases for WA2 until they are not needed. Change-Id: I6dcc26b1ab292b876fe0696277db4d72194c4476 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2018-07-20Kselftest: Remove obsolete 4.16 branch from skiplistNaresh Kamboju
Change-Id: I7b52b0868367d686dc4c66ef7b9f1e3f99a4ff71 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2018-07-19Merge "LTP: skip fcntl36 on qemu_arm"Dan Rue