summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2016-11-22android boottime2: suppport to collect data from multiple bootYongqin Liu
since the the boottime optimization work is very hard, and boottime reduced will not be obvious compare to the 20s around value, so use average from multiple time is important for the boottime optimization check Change-Id: I9786dbdf5be3109eedf57a0ce0731184f5ab7826 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-11-04android/multinode-target.yaml: sleep 5 after start adbdYongqin Liu
sleep 5s after the start of adbd, otherwise the start of adbd command will cause confusion message out, and break the process of lava-send and lava-wait Change-Id: I1cf24b91cf4d462271c60f27366886adc4b1e5ea Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-10-25android tjbench: adjust the test nameYongqin Liu
so that the test will have proper prefix Change-Id: Ibfa9b53054560418ea431d7f32c942989a49194a Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-10-25android: added option to change interface in multinode-targetMilosz Wasilewski
On x15 board the default interface is named eth1 instead of eth0 (as on other boards). For this reason it is important to have ability to change the interface name when using multinode over ethernet. Change-Id: I157096bdf2efbbd40b6a55fe328c783a38408dbd Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-10-19bionic-benchmarks.sh: disable color printYongqin Liu
so that lava could parse the result correctly Change-Id: I14eb332c8515c7f1e8016c589468fb3a69e89868 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-10-18android bionic-benchmarks.sh: update to find the correct pathYongqin Liu
and set the bionic-benchmarks commands execute permission Change-Id: I028f9d5847b1214154c81251871180a08cc1008d Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-09-29Revert "android bionic-benchmarks.sh: update to find the correct path"Milosz Wasilewski
This reverts commit 210276a0fe8462dbe328fefb3677d545d6eef17f. Change-Id: If77e2a80438dd5c1a15f8115afa083b81fc7f609
2016-09-22android bionic-benchmarks.sh: update to find the correct pathYongqin Liu
and set the bionic-benchmarks commands execute permission Change-Id: Ia126fbbea7f65230a3df852f3be9ab25271bea31 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-09-14android: fixed cts7 on the host sideMilosz Wasilewski
Change-Id: I628c1765e3ab1c06be6c2959fde7e30489fbcd98 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-09-13android cts: udpate for using android-cts-7.0 packageYongqin Liu
Change-Id: Id6a514bb5a82c8a2480d45a73d6f6e21aec1f350 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-09-01android: fixed boot_time.shMilosz Wasilewski
Mistyped character was replaced by proper one Change-Id: I9a6e98ad1b2154617d7c0983ac08b28298b926bc Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-08-26android/multinode-target.yaml: get ip address via ifconfigYongqin Liu
nougat does not have dhcp.eth0.ipaddress property set now Change-Id: I689b5b21091c83a08af1e03035be7fc18747ea8e Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-08-22android: FS mount time is measured from kernel init finishedMilosz Wasilewski
Change-Id: I8319fe0007d71e86159b7a3ee25cf48fdcce69c7 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-08-22android: boot time is reported in secondsMilosz Wasilewski
Output android boot time in seconds instead of miliseconds. Change-Id: I9e1de722eaec614c807c24f8a70c41bfa1c4d764 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-08-16update for boottime testYongqin Liu
1. collect time for fs mount and bootanim service 2. change to use lava-test-case to add test result this is preparation for LAVA v2 Change-Id: I9355238dc261f01604b02a36ef6f7fc5c98e5c7e Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-07-25android: optee-xtest: added support for result statisticsChase Qi
Change-Id: Ic7e912fb182e7bd5706b882913daa95ae6d9cc3a Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-07-14Merge "android: add adb disconnect to installapk.yaml"Milosz Wasilewski
2016-07-13android: add optee-xtest test suiteChase Qi
Change-Id: I71b00fffbc025ffb2f9171f3cfd5987d98e85ce2 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-07-13android: add adb disconnect to installapk.yamlMilosz Wasilewski
Change-Id: Ibaa8626f447e51b11bbd20dbc4ad3a4d130df231 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-07-06android: added installapk testMilosz Wasilewski
Test downloads andinstalls APK Change-Id: Id04c86930067c5c09199363ea36dddd29b775347 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-06-30android/multinode-target.yaml: remove all lava-test-case commandYongqin Liu
so that to reduce the chance for result parsing error like here: https://validation.linaro.org/scheduler/job/979668/log_file#L_123 Change-Id: I198abadfa302a168546f6db435aa311d553ad340 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-06-23android/multinode-target.yaml: avoid test case id generationYongqin Liu
this way lava will not generate tag <LAVA_SIGNAL_, and it will not be broken by the output of echo LAVA_ACK Change-Id: If55d5593fe97d6f6fb9363d57f21bafcc1fb4d3b Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-06-13android/multinode-target.yaml: embed ping time out in yamlYongqin Liu
so that we can use this android/multinode-target.yaml directly, no need to clone the entire repository Change-Id: Icb7a76018301a99c23f0f06ad7c7b661cf5588a1 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-06-10android multinode-target.yaml: add check for ip before send ip to hostYongqin Liu
Since there are adbd restart instructions there, and this will cause the dhcpd_eth0 restarted, so we need to wait for the IP available via ping before run the lava-send command Change-Id: I1e5ac7b2fba3b84aa2b8c317438a1fa35d0365b2 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-06-07android: multinode-target: fixed sync signallingMilosz Wasilewski
Added some sleep period to allow for kernel messages output after re-enabling the kmsg. This should prevent polluting LAVA signal names Change-Id: Id28277d509f31288e25cdc84573b63e346c5c3cb Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-05-18android: microbenchmarks: wait for device to be availableVishal Bhoj
Change-Id: I7268d53697c3d2324d8a3db382c5b8e9c371de29 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-04-22android: Increase heap size for CTS hostMilosz Wasilewski
The default value for KVM devices in LAVA is ~250M of heap. This patch increases the value to 350M. KVMs are allocated only 512M of total memory, so it's the maximum safe value. Change-Id: Ib58f3913d80ec450820cd5c832245692752e7ebc Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-03-18Merge "microbenchmarks add mode support for nexus5x"Naresh Kamboju
2016-03-18microbenchmarks add mode support for nexus5xVishal Bhoj
Change-Id: Iaf0803a14b15e3576d8a1c7c5cc3dbd2d37ab2a7 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-03-15android boottime: call -v time for logcat explicitlyYongqin Liu
Change-Id: I908f73ce095b36031ce345e60cea48afdd0611b8 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-02-12android: added binutils to art-microbenchmarks depsMilosz Wasilewski
Change-Id: I66ca39e04b4da58573913508564f5bcb5ee2beb0 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-02-04update meminfo test with dumpsys meminfo informationYongqin Liu
also attach the raw data from the command Change-Id: I1042382814f77552e622823a30022d291c851ecb Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-01-22android/art-microbenchmarks: fix battery stats dumpVishal Bhoj
Change-Id: Idcfcf052628acd6192520c0e64ea1df9505c4431 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-01-22android: add meminfo test for collect information in /proc/memino after bootYongqin Liu
Change-Id: I0173ce32974b03d1447e48bb97adb5d10ec6bfea Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-01-22android/art-microbenchmarks: dump battery status before and after testsVishal Bhoj
Change-Id: I344cb8bef2a4d4641cfe2871bb70044a0d26637b Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-01-21android: fix failing art-microbenchmarks adbMilosz Wasilewski
adb sometimes fails when executing command on target device in the setup phase of the test. The failure doesn't looks as preventing the test from continuing, so adding a workaround for bad return code. This will make LAVA not to stop test-shell. Change-Id: Id28d3323bed1f73506413e00340a492ad1d380e9 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-01-21android: add verbose output to ART configure scriptsMilosz Wasilewski
Change-Id: Ie85f802a67f3003167711e4288058a6028aa4e3b Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-01-19Ubuntu/Openembedded: Fixed missing metadataAmit Khare
Change-Id: I10a9e6c6944ab1288114b63c2e014970a08b775f Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-01-12Android: add dependency on python3 to art-microbenchmarksMilosz Wasilewski
Change-Id: I8a8c929bb5114c8e657c6ca2e21da4df95515424 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-01-07android/pm-qa: Update metadataLisa Nguyen
Fill in the missing parts of the metadata inside the pm-qa test definition for Android. Change-Id: I01ba95246044567ee5cb4605227bd140fd361f44 Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
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>