summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2017-02-17android boottime2: update on boottime measurementsYongqin Liu
change ANDROID_BOOT_TIME to include 2 parts: the time from init started to the time surfaceflinger started, and the time from surfaceflinger started to the time boot finished also changed some variable names so that the script is easier to read Change-Id: I80168df5e18fd8a161f99f4d86c91344f4d5e522 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-02-16android boottime2: change on INIT_TO_SURFACEFLINGER_START_TIMEYongqin Liu
change to not include INIT_TO_SURFACEFLINGER_START_TIME in TOTAL_BOOT_TIME, only output it as a separate measurement Change-Id: I7704b95d419fb9e9e8186fb7cca4b5b31c406037 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-02-15android boottime2: collect time from init start to surfaceflinger startYongqin Liu
CONSOLE_SECONDS is the time from kernel start to init started, and the TIME_VALUE is reported by surfaceflinger service which is the time from surfaceflinger started to UI booted up. There is still the time from point init started to the point service surfaceflinger started point not collected. This change is to collect that time, and add it into the total time. Change-Id: I4dbd8a3ca4d2afb536b65cc9bc245ce30dc06b99 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-02-14android boottime2: add description about the scriptYongqin Liu
especial about what boottime information we measure, and how we get that boottime measurement Change-Id: Ia4096e258e196232ad6aecd4c14041c38eeede3d Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-12-22android boottime2: add check for boot timeout problemYongqin Liu
report error when there is boot timeout problem in logcat Change-Id: Ic5edecfa75f2bf04b921b82dcc0cdcaec8d23094 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-12-05android bootchart: attach bootchart.tgz only after generatedYongqin Liu
add condition for bootchart.tgz attaching that only attach bootchart for stop operation since there is no bootchart.tgz during the start operation Change-Id: I090fc02d28564a7bf190c8b6e6e548ec4eaeba97 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-11-26android boottime2: improvement on avoiding bad caseYongqin Liu
there are the cases that service like bootanim or surfaceflinger was started more than once, and this case will make confusion for getting average information, so check this case first, and report error when found such cases Change-Id: I23f158847c371dae56155d53affbf298c43e41a4 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
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>