Commit Graph

5 Commits

Author SHA1 Message Date
David Brazdil f88c315f92 Migrate MicrodroidHostTestCases to MicrodroidBuilder
MicrodroidHostTestCases run an app in Microdroid by executing commands
against the test device directly. This functionality is now implemented
directly in Tradefed and we should therefore migrate our tests to it.

Test: atest MicrodroidHostTestCases AVFHostTestCases
Change-Id: I587fd6d140b905064fe995b994e81ad3e51a27bd
2022-11-10 15:05:09 +00:00
Alice Wang bc039c099b Add MetricsProcessor to calculate metrics stats
This CL adds MetricsProcessor class to calculate metrics stats
for both device tests and host tests.

Test: atest MicrodroidBenchmarks
Change-Id: I4f742d6800f14c857a5d0e0718e09870e8ca6547
2022-09-02 11:04:49 +00:00
guile 828770511d Fix issues after submit aosp/2188239
1. Remove postsubmit in TEST_MAPPING. Plan to run it via ABTD to make
   sure this test case can run under TF normally. After that, will
   submit another CL to add in TEST_MAPPING.
2. Add rebootAndWaitBootCompleted in setup to make sure no staged
   session is left
3. remove assert for boot time compare temporarily
4. Add enableAdbRoot() after reboot because somehow it will become
   normal user after reboot
5. Add retry in reInstallApex() and compileStagedApex() because it seems
   after reboot sometimes the 2 functions will be fail

Bug: 243197801
Test: atest ComposBenchmarkApp
Change-Id: Icd70fc2dd1632f0b67954b2260d9d36db8249bdf
2022-08-24 20:53:47 +08:00
David Brazdil a70277067c Revert "Migrate pkvm_perf_test.py test_boot_time_without_comp_os and"
This reverts commit 5f522d766f.

Reason for revert: testBootWithAndWithoutCompOS() fails in postsubmits

Change-Id: Ie8a0da4024a38dcab691839e2ee369ba62821360
2022-08-21 07:27:51 +00:00
guile 5f522d766f Migrate pkvm_perf_test.py test_boot_time_without_comp_os and
test_boot_time_with_comp_os function to AOSP

testBootWithAndWithoutCompOS will find the boot elapsed time with and
without CompOS.

Bug: 236799228
Test: atest AVFHostTestCases
Change-Id: Ie61c40b28a9d104002fc946da8b151910fb0b0c8
2022-08-19 09:51:37 +08:00