summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2015-12-07android: changed output for art-microbenchmarksMilosz Wasilewski
Output files are named with --output-pkl and --output-json options. This makes the test immune to any path changes that run.py might introduce. Change-Id: Iff77e27ce2a88a4821ade0b9ccba4477e6ab2ec0 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-12-03Android: CTS: Use Pexpect for Fast ModelsChase Qi
* On Fast Models, cts-tradefed will exit abnormally when pipe used. Use Pexpect as a work around. * Fix some pep8 issues. Change-Id: I38f1fd314fbc882d8fcce0c9a7213a3f8d7fd2c6 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-12-02Android: Generalize art-microbenchmarks for N9/N5X.Daniel Díaz
Because Nexus 5X is introduced, so is the configuration script for benchmarks. Change-Id: I728ce64eb2304216f4a3c0bfa426cec08f4e1099 Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
2015-11-27Android: CTS: Install dependency packages on hostNaresh Kamboju
Install dependency packages on host side. install-deps.sh script will look for apt-get lock and install packages when the lock is free. The advantages of this patch is - Do not install if the package is already present - Installation should not fail because of parallel installation of packages - if apt-get is already locked wait 5 sec and try installation again till it get successful Change-Id: I802cbc7ba988060f930aff36e904bf1a3a343fa7 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2015-11-25Android: added check for tmp file existence in multinode-targetMilosz Wasilewski
When the tmp file dissapears or is not created, test fails to complete. This patch fixes the issue. Change-Id: Iac2e8e90fdd745d1df48053318a3359d9cbe81a3 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-11-25Android: art-microbenchmarks install dependency packagesNaresh Kamboju
art-microbenchmarks test is been updated to install dependency packages at runtime on host side. Change-Id: I719430c24d7e3a54c1fb64f4bbe97a9f7835b222 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2015-11-20android/scripts/pm-qa: Update pm-qa.sh scriptLisa Nguyen
Remove unused variables. Also add check to kill all pids associated with the cpuidle_killer program used in the cpuidle subtests, so PM-QA results can be shown in LAVA. Change-Id: I8885651499ca09bb5b17e234865e95c77e4fe4f0 Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2015-11-19android: art-microbenchmarks: fixed .pkl file pathMilosz Wasilewski
Fixed path for .pkl file. Added support for .json attachment Change-Id: I198df6fa347b2def33af5896fd5d4c006b268915 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-11-18android: art-microbenchmarks: fixed git URL scheme to httpsMilosz Wasilewski
Change-Id: Ie507195471026f00d2f065a2a892859e63aafac3 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-11-13android: cts: optimize adb device checkChase Qi
* Print adb device after it is online. * Increase adb_ping timeout to 10 seconds to adapte to slow environment. Change-Id: Ie6ff14c5d8cfed50143f023b824f83154fc15789 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-11-06nexus9: microbenchmarks: reduce operating frequencyVishal Bhoj
Change-Id: Id31351b008e289493e494fccbd2baa1fd3dc72db Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-11-06Android: cts-host.yaml: build-tools URL configurable in CTSNaresh Kamboju
build-tools URL has been configured to fetch dynamically from a given location. Change-Id: I035876b706fe31524f5af866663df9c51c82b825 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2015-11-05(HACK) art-microbenchmarks: Remove dependant package installation for nowVishal Bhoj
2 installation can't happen which results in failure in the job on the nuc hence removing installation until we find a better way to do it. Change-Id: I6ed106aec0fd949271018a237ee02f3572914e21 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-29android/scripts/gatortest.sh: remove the gator module checkYongqin Liu
since there is no gator.ko available now. The user-side daemon for gator now has enough support through standard kernel APIs to provide the majority of it's functionality without any kernel module. Change-Id: I062bb8da1fa964e92fb0f386dc67de2c6eb1354a Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-10-28android/cts-host.yaml: export aapt in PATHYongqin Liu
since CTS6.0 package needs to use the aapt command for test Change-Id: Ibc1b32dd82ba01943358c2056e1c56ed7f632887 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-10-20art-microbenchmarks: Record mode as well in resultsVishal Bhoj
Change-Id: Ie4f9a4a084c58f4ca7d2c6623cb727a53b70cf1c Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-18art-microbenchmark: parser update to provide shorter test caseVishal Bhoj
Change-Id: I5e91572da89215497b315dffb5710c5ee4269afe Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-18art-microbenchmarks: fix path of pkl filesVishal Bhoj
Change-Id: I6eb2d23e8f404edb408275926986b5dc1f45d75c Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-18art-microbenchmarks: Fix parserVishal Bhoj
Change-Id: I4fa1882a9120e66bc5475744420e811d1f2d71f0 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-16art-microbenchmarks: Fix log locationVishal Bhoj
Change-Id: Ic57de8895065920fb54e80657c7507cb66d966da Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-15Android: Fixed ART microbenchmarks host sideMilosz Wasilewski
Environment variables were not available inside configure script. Adding '.' before script call fixes the issue. Change-Id: I9ee56b5fced142ffbcae23f5f88d947425bf4652 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-10-15Android: fixed broken condition in multinode targetMilosz Wasilewski
Now multinode targed will send _MISSING_ only in case both IP address and serial number are missing. This should fix the issues with failing multinode jobs. Change-Id: I1d4661f45eb5a9d1bf91adb3ad39ff3ad327f2fa Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-10-13android: multinode-target: disable kernel messages during critical ↵Tyler Baker
synchronization Specifically on HiKey, when the adb daemon is restarted it causes kernel messages to flood the console. These messages can easily confuse the LAVA dispatcher signal handler and cause poor test reliabilty. This patch reads the current kernel messaging levels into a file, sets them to the lowests values, and restores them after the critical synchronization steps have finished. Change-Id: I3d481e878ddcb6f57fc8908924e531072adc9bbb Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2015-10-09record ubenchmark resultsVishal Bhoj
Change-Id: I1be482a24e6ad56c94f6631114aaf42bda7052fb Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-05Android: Add art-microbenchmarksVishal Bhoj
Added host side of android multinode test. This test executes microbenchmarks for android runtime (ART). Change-Id: I16f749cd869a48a4dee49a1abef8568c400eef60 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-10-05Android: Multinode target side unificationMilosz Wasilewski
CTS and lava-android-test shared almost the same target side YAML files. This change merges both files into one and adds support for USB only devices. To preserve backward compatibility symilnks were created. These should be considered as deprecated and will be removed after all templates are migrated to new YAML files. Change-Id: Ie47eefb2ee5d1872a96925d3d0ec72501ed8fd71 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-09-09Android: CTS: modified multinode CTSMilosz Wasilewski
Multinode CTS was modified in order to gracefully handle device disconnection events and save logs even in exeptional situations. Results are presented as number of pass/failed/executed for each package. All log files are attached to the results. This should bring smaller log files in LAVA and more readability to the results. Change-Id: Idd2afc4fea63f2ea66e07ad4e4608ed7401b95f6 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-08-28android: update script for bionic-benchmark testYongqin Liu
since there is no crash caused by the bionic-benchmark test now, here removing the workaround for bad cases Change-Id: I0715ab018c602da7b9e2fed2307aa1abf88fa23a Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-07-29android: install libraries to support running 32bit ELF on KVMYongqin Liu
in the cts android.host.security package test, it will run the 32bit binary sepolicy-analyze on the host side, so we need to install these libraries to support the 32bit binary running on the 64bit KVM node. Change-Id: Ic969c41fd8e97fa8d2441f9650e558a962b82389 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-06-22android: Remove obsolete scheduler_testssuitesNaresh Kamboju
android/scheduler_testssuites.yaml is replaced with common/scheduler_testssuites.yaml. So remove the obsolete test definition. Change-Id: I16b7ae4f38ab5025fbd7954998fc053fb36b70bb Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2015-05-27pm-qa: Move pm-qa files to Android directoryLisa Nguyen
The pm-qa.yaml test definition and pm-qa.sh script are used to run PM-QA on Android, but they are currently located in the commons folder. Move them to the Android folder to keep them organized. Change-Id: Ic694195c458f73b67091596f0b829a7dfb052230 Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2015-05-21Android: Add CTS Test for Linaro android images.Botao Sun
This change replaced old lava-android-test to handle CTS test. Huge bundle size issue has also been solved. Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I42679e731c32995cb74a2a0b994fb85b1e8fcc97
2015-05-19android: update tjbench testYongqin Liu
update tjbench test to support for both 64bit and 32bit and make it use the common framework to run and output the result Change-Id: Ice6701b6baa4716939f89379059a7b2bf8e55dea Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-04-21Android: Fixed maitainer metadata for device-tree testAmit Khare
Change-Id: I6f656f9547a31d02d41a2332f6713873c61b544b
2015-04-10android: install libraries to support running 32bit ELF on KVMYongqin Liu
in the cts android.host.security package test, it will run the 32bit binary sepolicy-analyze on the host side, so we need to install these libraries to support the 32bit binary running on the 64bit KVM node. Change-Id: Id0ceb2c340af93aa7b5436735c163eed5d5b8087 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-04-09android/common: clean exit so that LAVA can trust test resultsChase Qi
lava-test-shell-run is used to detect if the lava-test-shell finshed successfully. If the exit code of test case is nonzero, even all tests finished normally, lava-test-shell-run test will fail. Change-Id: If4c8266ccdfcb78ac99dd7bc4288601454e7af6b Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-03-24android: add tests of stringbench and libc-benchYongqin Liu
and update the tests of bionic-benchmarks Change-Id: I548b1620487802654c7f32dedd5a81221f71ad0f Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-03-23android: upgrade gtest definitionsChase Qi
Added repeatedly run support. Use test duration as measurement. Change-Id: I26aae98ef5713ecd9020259dcf5d8924749dc6c7 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-03-07add test for bionic-benchmarksYongqin Liu
Change-Id: I5bb16aab534a0fab1155dc9f8da0fa11de1ba31d Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-02-26fix PEP8 issues in python scriptsArthur She
Change-Id: I4635323eb8fb2ed852ca5e4ab3cbedf866e1269a
2015-02-25android: fixed lava-android-test-host setupMilosz Wasilewski
Python setuptools v12 is required to install lava-android-test. This was failing in 14.04 Ubuntu image. Fixed with workaround to upgrade setuptools in the install section. Change-Id: I81e988fe29e333aca02c754f9cc1b008ecdd2da1 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-02-05android: add test case for gtest based testsChase Qi
Change-Id: I4eb94576bde8ecc4aeb59aa61ffdb0557f5928e0 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-01-23Add Juno to Ethernet Android Test Target List.Botao Sun
This change adds Juno to target list of Android Ethernet test. Also extends details in test code description. Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: Iebe92455e6d6921489916002442941e38a90d382
2015-01-23Revert "lava-android-test-host : adb root"Milosz Wasilewski
This reverts commit d98585e53548f4568deeaa133862578004b8b0ec.
2015-01-21lava-android-test-host : adb rootNaresh Kamboju
With the latest version of Android 5.0.x, the device has to be connected with adb root and followed by adb connect $IP-ADDR to have root access. Change-Id: I4146a01cacba630c65d3afb57415988069b598ec Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2015-01-14add bootchart test to collect the bootchart test data as attachmentYongqin Liu
Change-Id: Id74a254513466d4b4dbce157de9ab3fa5e76f354 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-01-06Android: Deletion of Dalvik-vm-unit-tests yaml file.Amit Khare
Dalvik test is not used anymore and dalvik-vm-unit-tests is not part of AOSP source code anymore. Change-Id: I5ed892ad701e74e3926c91bc26426de61dac966d
2014-12-17Media codecs functional test description updatedAmit Khare
Change-Id: I2efe42996b54dedce13ac44110b6b3e09c26a9ca
2014-12-17Android: Piglit glslparser test description updatedAmit Khare
Change-Id: I21a7d7bdf1e8eeaf11014df926b37eb29d82e91b
2014-12-17Android: PiglitGles 3.0 test description updatedAmit Khare
Change-Id: If18ee7eef00c3cff9945b210260ebf5ea21b5d5c