summaryrefslogtreecommitdiff
path: root/android/scripts
AgeCommit message (Collapse)Author
2017-05-25android: optee-xtest: improve test results parserNaresh Kamboju
Results print format changed on upstream optee_test tree https://github.com/OP-TEE/optee_test/commit/213ca8aaf4eafe9d26af76db7b31d9595ce57e6f Use ${TEST_SUITE} as prefix to detect testcase names. Change-Id: I5f5dc30201f61049fa0882903ee830b01acac445 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2017-05-18tjbench: add support for O preview and masterYongqin Liu
in O preview, the name of tjbench command is changed to tj Change-Id: I47dac9bca6225181a2bdd5203d9577ec3115f19e Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-05-13boottime2.sh: ignore case for the grep commandYongqin Liu
"Starting service 'logd'" changed to "starting service 'logd'" in O preview build, so we specify -i for the grep command to search with ignoring case Change-Id: I3bc5d49d219e0646dea7be33f10d7e2d7c65caa8 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-04-25android bootchart: add support for bootchart_parseYongqin Liu
also changed to use lava command for test result collection in script Change-Id: I0fdb8c71bd6de69e06de1bbbaae8ac5924842aee Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-04-06bootchart: add support for masterYongqin Liu
master use /data/bootchart/enabled file to indicate the start for bootchart Change-Id: I17090e16df3bf22f33b52952dab8583b3ba80290 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-03-17boottime2: remove the measurement for a failed test caseYongqin Liu
we don't need the -1 measurement for a failed test, so remove the measurement and result report for the failed test cases. Also update the check of bootanim exit message for guarding, check there is only one line of following message outputed into dmesg init: Service 'bootanim'.* exited with status Change-Id: Ifdc57055cb3034b28ad02d862d0814937cb844fe Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-02-27android boottime2: add ANDROID_UI_SHOWN.Ivaylo Asenov
Change-Id: I10cc8b9f2aa2de15dea933b0657d86f21fad679a Signed-off-by: Ivaylo Asenov <ivaylo.asenov@linaro.org>
2017-02-18android boottime2: fix problem on the boot time caluationYongqin Liu
no need to divide the ANDROID_BOOT_TIME and SURFACEFLINGER_BOOT_TIME by 1000 now, since their unit is seconds Change-Id: Iee13fcbd2ec5b495c1f2b5731fa282f7bf8258e8 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
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-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-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-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-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-13android: add optee-xtest test suiteChase Qi
Change-Id: I71b00fffbc025ffb2f9171f3cfd5987d98e85ce2 Signed-off-by: Chase Qi <chase.qi@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-05-18android: microbenchmarks: wait for device to be availableVishal Bhoj
Change-Id: I7268d53697c3d2324d8a3db382c5b8e9c371de29 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-03-18microbenchmarks add mode support for nexus5xVishal Bhoj
Change-Id: Iaf0803a14b15e3576d8a1c7c5cc3dbd2d37ab2a7 Signed-off-by: Vishal Bhoj <vishal.bhoj@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/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>
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-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-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-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-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 parserVishal Bhoj
Change-Id: I4fa1882a9120e66bc5475744420e811d1f2d71f0 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-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>