summaryrefslogtreecommitdiff
path: root/automated/linux
AgeCommit message (Collapse)Author
2017-02-17cleanup: fix a few shellcheck errors in automated/Daniel Díaz
Change-Id: If34415c681906aefc6b5b42401ed995e5cdeda11 Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
2017-02-07automated: linux: add lshw testChase Qi
Change-Id: Iec4efd0a4d4e9dede50505b7284d6221b83a7433 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2017-02-06automated: linux: support sysbench compiling on oe-rpbChase Qi
Change-Id: Ibc1e125dc56c4a5b6b73da368b668bafc2c9fb97 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2017-02-03automated: smoke: no need to be rootNicolas Dechesne
This test case works without root privileges, so let's remove this check. Running as standard user , with this patch, I am getting: --- Printing result.csv --- name,test_case_id,result,measurement,units,test_params smoke-tests-basic,pwd,pass,,,SKIP_INSTALL=False smoke-tests-basic,lsb_release,pass,,,SKIP_INSTALL=False smoke-tests-basic,uname,pass,,,SKIP_INSTALL=False smoke-tests-basic,ip,pass,,,SKIP_INSTALL=False smoke-tests-basic,lscpu,pass,,,SKIP_INSTALL=False smoke-tests-basic,vmstat,pass,,,SKIP_INSTALL=False smoke-tests-basic,lsblk,pass,,,SKIP_INSTALL=False Change-Id: I3dfce348eadf9a9a4a4dfa8321af080984cd4447 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2017-01-25automated/openjdk: fixed shellcheck warningsMilosz Wasilewski
Change-Id: I52acc71b65f6bbb635f498c9b8453a5676afe9b8 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2017-01-25automated: switch to using ID field for distroNicolas Dechesne
Let's standardadize all test cases to use lowercase distro ID field from /etc/os-release, instead of the 'pretty' (capitalized) name that we used so far. This is an invasive change, all test scripts were modified with this command: $ sed -i -e 's|Debian\(.*\))|debian\1)|g' \ -e 's|Ubuntu\(.*\))|ubuntu\1)|g' \ -e 's|CentOS\(.*\))|centos\1)|g' \ -e 's|Fedora\(.*\))|fedora\1)|g' \ -e 's|Unknown\(.*\))|unknown\1)|g' And the remaining instances were fixed manually. dist_name() function was updated to always report lowercase distro name. Also when /etc/os-release is not available and that we use lsb_release output, we convert the old capitalized name into the new lowercase ones. Change-Id: I1f1ce0932ab04476567f0338e902656470267a74 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2017-01-24automated: Adding ltp-realtimeNaresh Kamboju
LTP realtime tests is an open-source testsuite for testing real-time Linux. The testsuite contains some functional tests and a few performance and latency measurement tests. Change-Id: I0488cdb639b5bc349b7b25f85d43339417eafeb8 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2017-01-24automated: linux: add rt-migrate-testChase Qi
Change-Id: I03da01b64b5cded668c86feab952e9d5731d30da Signed-off-by: Chase Qi <chase.qi@linaro.org>
2017-01-23automated: linux: add busybox testChase Qi
Change-Id: I4caa10b60609da218f4c825c4f166c9dbc8497d4 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2017-01-19automated: added Linux mmc testNaresh Kamboju
MMC is the "multi-media card" bus protocol. The MultiMediaCard (MMC) is a memory card standard used for solid-state storage. MMC test will check kernel configuration and list connected mmc and emmc devices. CONFIG_MMC=y CONFIG_MMC_SDHCI=y Change-Id: I40150d11233f23b4cf615a43bb25186e982dd680 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2017-01-19automated: update LTP default version to 20170116Fathi Boudra
Change-Id: Ie5416e687b8f8b6fad95b24fec5abfe94d4d0424 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2017-01-19automated: Improve ltp testcase runNaresh Kamboju
LTP test definitions improved to support non package manager distributions. pipe0_status () function being used for runltp and get return status. Stop adding total number of test cases in LAVA results summary. Fixed shellcheck issues. Change-Id: I8eaeaddbb7ad113604144ee563868f6e256515fb Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2017-01-19automated: linux: add rt signaltestChase Qi
Change-Id: I47c8b55f9ae6f1ab21ba5f7c46532d8784be12ee Signed-off-by: Chase Qi <chase.qi@linaro.org>
2017-01-19automated: linux: add rt pi stress testChase Qi
Change-Id: Ie6d3a7e0a7095d1602bc9648ed4fac9e4a539bdb Signed-off-by: Chase Qi <chase.qi@linaro.org>
2017-01-19automated: linux: add sysbench testChase Qi
Change-Id: Ia09a192f011124902b76523bed81acbdfb250e6c Signed-off-by: Chase Qi <chase.qi@linaro.org>
2017-01-18automated: device-tree test fixNaresh Kamboju
Change-Id: Ifa9e27e06396d61e4e32b26755129364f09a7c8d Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2017-01-18automated: linux: add cyclictestChase Qi
Change-Id: I2a81ff35db40935fe57d25bc35685cf6b54c1fe6 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2017-01-18automated: linux: add unixbench testChase Qi
Change-Id: I5d887f97943b92ab84baa315b745bbaf63eee2b3 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2017-01-13Add isolation test, verifies that an appl. is isolated.Ravineet Singh
Verify that an application is isolated and that the kernel configuraion is sane for the applcation to be run without interference from user/kernel space tasks. Change-Id: Ie1c267b6d50026a080f6a0d6d25d518f2ad6f4ab Signed-off-by: Ravineet Singh <ravineet.singh@linaro.org>
2017-01-13automated: linux: fix toolchain smoke test on OEChase Qi
Change-Id: I182c3ec136ab83407367a20a358ad15070c76b98 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2017-01-13automated: linux: fix smoke test on OEChase Qi
Change-Id: I91da729db10c08827f285f65bc525948747797b6 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2017-01-04nginx-server: server side of the http performance testsJosep Puigdemont
The nginx-server.sh script implements the same protocol as the httperf-client.sh script, namely: client server | | |<----------- num_cores ---------| # server indicates num cores |---------- client_ready ------->| # server is configured for 1 core |<-- server_num_cores_1_ready ---| # client runs tests for 1 core |--- client_num_cores_1_done --->| # client is finished testing | | # server reconfigures for 2 cores |<-- server_num_cores_2_ready ---| # client runs tests for 2 cores |--- client_num_cores_2_done --->| # client is finished testing | | # repeated until num_cores in | | # increments of 2 (1, 2, 4, 6...) ... Currently it supports testing NGiNX on plain linux IP stack, and a special version of NGiNX compiled for OFP and ODP-DPDK, however the latter is not too portable at the moment and will require further work. Whether one or the other is tested is configured by the CONFIG_TYPE environment variable in the test definition: linux-ip or odp-dpdk, respectively. Also the maximum amount of cores for which to test can be limited by setting the MAX_CORES environment variable (0 meaning all cores). This relies completely on VLAND and lava-{send,wait} for synchronization. Change-Id: I775083f7183895039064141b51172a3280249848 Signed-off-by: Josep Puigdemont <josep.puigdemont@linaro.org> Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2017-01-04httperf-client: client side of http performance testsJosep Puigdemont
Script and YAML file to setup the host to run httperf against an http server. The tests measure the performance of the server depending on the number of cores. This script is meant to run in a multi-node configuration, where it will coordinate with a server side of the test in order to determine when the tests can start, and when they are done. Change-Id: I3af563086a8fba64f1b0f32c0878761997d21158 Signed-off-by: Josep Puigdemont <josep.puigdemont@linaro.org>
2016-12-15automated: linux: dsdbench: only save stdout to logfileChase Qi
Because of this bug https://bugs.linaro.org/show_bug.cgi?id=2694, the error message destroys the structure of logfile, and causes parser not working. Change-Id: I76b7b0b71f5427da53e1778e0abc69ac2f180c17 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-12-07linux: ethernet: fix ping and get default routeNaresh Kamboju
Change-Id: Ie3b4dbc0e09078da9e9de6805e3bf5511a606c3c Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-12-07linux: ltp: add net-tools packageNaresh Kamboju
Change-Id: I78080931b6406fcd193eab24b16c4424e8b15778 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-12-06automated: linux: kernel-compilation: install wgetChase Qi
Change-Id: I5ea518268065d3bb4161e0c7b97f97407e390558 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-12-05automated: libhugetlbfs fix for running on distro kernelMilosz Wasilewski
Config file for distro kernel is located in /boot rather than in /proc. This patch adds support for both options Change-Id: Ie516fba4e3e37d58508f013e9287964cf5a362e3 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-12-02automated: linux: enable ltp skipfile parameterChase Qi
Change-Id: I4923d5ff672d7248d66f6ae8b7151dac89cd6fdb Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-30automated: linux: docker: fix package installation on CentOSChase Qi
On CentOS/Fedora, the package name is 'docker'. Change-Id: I1d2cfc8bd74df8481583a50f8d1b1804b9267b7b Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-28automated: added Linux libhugetlbfs testNaresh Kamboju
Change-Id: I9e8e75d22a99c79dae92663a384da197625e85d8 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-28automated: linux: unify mysql password for LAMP and LEMP testsChase Qi
Change-Id: I1a6d2dd4b16d1a7d2fff88af4c7e98d4e06d2636 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-28automated: linux: lamp: stop nginx to avoid port conflictChase Qi
When nginx is running, apache startup will fail as they use the same port. Change-Id: I36322ed587614b570880e27eadc67d592a683abc Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-24automated: added Linux Kernel compilation testChase Qi
Change-Id: I5d0b6423b8d6267bfc9c558eb7637335541a5055 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-23automated: linux: fix disk partitioning testChase Qi
Change-Id: I407b65bc0d1d6e388dbe91725e7d9407d90a8823 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-23automated: linux: lamp: bug fixesChase Qi
* During the second run, mysql root password cannot be changed as it was already changed in the first run, so throw the error to /dev/null. * Delete the database table created by test case for a clean exit. Change-Id: I383370e5a01bb0457699c5a3db5bd5ea85f0a458 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-23automated: linux: added iperf testChase Qi
Change-Id: Ibf8bebfe78d60028ed7805f5f62080a194a2e660 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-22automated: Linux network basic: improvementsNaresh Kamboju
Network basic tests improved, - Install net-tools package - Get default gateway at run time - Removed variables from test_case_id - Rename 'test' to 'test_case' Change-Id: I27347cf2bd0627dbb7708742c507f27b78787ffe Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-18automated: linux: Adding pointer-tagging-testsNaresh Kamboju
Change-Id: I86a865f301727281dbff81924e349daff86eb7ce Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-18automated: Linux dd: improvements and bug fixesChase Qi
* enable sh argument '-e' * stop using partition and filesystem type variables in test case ID * use convert_to_mb for result calculation which support floating point * cope with shellcheck Change-Id: I8f87c296280299d103eeb6f686b3fd8fecd62eb6 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-16Merge "automated: added Linux dsdbench test"Milosz Wasilewski
2016-11-16automated: added Linux dsdbench testChase Qi
dsdbench runs benchmarks and tests for storage driver configurations to help figure out how the configuration will perform and which known issues the daemon may be affected by in this configuration. Test suite source https://github.com/dmcgowan/dsdbench Change-Id: I68a46cb6354fbcaa880b81bb564e761f61309b6d Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-16automated: added Linux ethernet testNaresh Kamboju
Ethernet test to validate given network interface, * check interface state is up * ping to default Gateway Change-Id: I55bd54367e98aba150c01cd957fb8ca90c3a0d10 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-15automated: added nginx-apache-benchMilosz Wasilewski
The test runs apache-bench against ngingx webserver Change-Id: I8f18d04dad791b4e408c71fc64db58ce2cd8a853 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-15automated: fix fio testChase Qi
* Added more params for more control from test plan * Added readwrite and randrw test * Stop testing fio against partition, which destroy filesystem. Mount partition and enter mount point, run fio from there * Show test progress and clean output Change-Id: If63a5ca1a0485b88456a4a0f7f3ba82bcba751e0 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-09automated: added Linux LEMP testChase Qi
Change-Id: I48d54b6c4c89e7a5c4d0bac0b30a1b48b26e3ca0 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-08automated: added apache-benchMilosz Wasilewski
This tests runs apache-bench (ab) against apache2 webserver. Change-Id: I9dc13a17d8e1db3f23f88cd77e7e89c227411025 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-08automated: added toolchain-smoke testMilosz Wasilewski
Simple test that check if gcc compilation works Change-Id: Ic59f75c6b4c11c9e569017ca848036cdfeb69059 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-08openssh-debian: adding usage()Naresh Kamboju
Change-Id: If8a1c68926a078db3a97fa72feae25d44ed6b12b Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-07linux: openssh debian testNaresh Kamboju
Change-Id: I63d8a44c0bf004da0547e1cb0b87d5afaa60a4fc Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>