summaryrefslogtreecommitdiff
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-22Merge "linux/dockerized-tests: add link to jenkins build job for armhf"Milosz Wasilewski
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-22doc: update tool list for syntax checkChase Qi
Change-Id: Id3114a5415b4523c207c177a4660ed8639d6ce7b Signed-off-by: Chase Qi <chase.qi@linaro.org>
2018-11-21Merge "validate.py: switch to pycodestyle"Milosz Wasilewski
2018-11-21validate.py: switch to pycodestyleChase Qi
* switch to pycodestyle * fix E722: do not use bare except Change-Id: Iad6f14a07948e546a771c2d686202e7a3d674cc4 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-15Merge "linux: add test case to install android platform tools"Chase Qi
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-12Merge "sh-test-lib: add remove_pkgs()"Milosz Wasilewski
2018-11-12sh-test-lib: add remove_pkgs()Chase Qi
Change-Id: I4f45cf42cb8c96687168126631e0525d32121aa0 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-10Merge "skipgen: Build using go version go1.11.1"Milosz Wasilewski
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-09skipgen: Build using go version go1.11.1Dan Rue
Update the skipgen binaries to fix a runtime problem observed on juno. It's the same version of skipgen (v0.2.3), but the binaries have been re-built using go1.11.1. The following error has been observed on juno: ../../bin/arm64/skipgen --board juno-r2 --branch mainline --environment production /lava-446677/0/tests/1_ltp-quickhit-tests/automated/linux/ltp/skipfile-lkft.yaml [ 57.852577] audit: type=1701 audit(1538323393.606:3): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=2883 comm=\"skipgen\" exe=\"/lava-446677/0/tests/1_ltp-quickhit-tests/automated/bin/arm64/skipgen\" sig=4 res=1 ../../lib/sh-test-lib: line 361: 2883 Illegal instruction (core dumped) ../../bin/${abi}/skipgen ${SKIPGEN_ARGS} \"${SKIPFILE_YAML}\" > \"${SKIPFILE_PATH}\" Building skipgen with the latest version of go, 1.11.1, seems to have fixed the issue. Change-Id: Ib983ab9c46fbedd7f1d2a6d6ac107a07ad78e638 Signed-off-by: Dan Rue <dan.rue@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-29Merge "add noninteractive tradefed test wrapper"Chase Qi
2018-08-29add noninteractive tradefed test wrapperVishal Bhoj
tradefed can handle adb disconnection and other device issues. Whenever adb connection to the device breaks, tradefed will wait for a timeout and end the testing which inturn will end the process. We should then get a return code of failure. Change-Id: I814a2194ae1663cf932a3aab30137736e6fab7ac Signed-off-by: Vishal Bhoj <vishal.bhoj@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 "Add i386 skipgen binary"Milosz Wasilewski
2018-08-24Merge "linux/dockerized-tests: add local run support and readme"Milosz Wasilewski
2018-08-24Merge "linux/dockrized-tests: launch container with --privileged and --init ↵Milosz Wasilewski
flags"
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>