aboutsummaryrefslogtreecommitdiff
path: root/src/com/android
AgeCommit message (Collapse)Author
2017-10-15Create interface and base metric collectors am: 267ab895f7jdesprez
am: b97cb4a4ee Change-Id: Ie698db03533c991d5df4437fcde683af230d9cf9
2017-10-13Create interface and base metric collectorsjdesprez
This allows to collect metrics and have them available on the result_reporters associated with the test run for now. More work can go in the TestDataInfo to hold and carry more data more efficiently, this is a first version. Test: unit tests Bug: 36351803 Change-Id: I30778e26cec540d002192fd9e62c7c2fe80ad6ce
2017-09-29Merge "Introduce testModuleStart/End callbacks" into oc-dev am: 82e24a3a7cJulien Desprez
am: 71fa109b10 Change-Id: Ice8bff46082f8781c4477db28f61f85b2755133f
2017-09-29Merge "Introduce testModuleStart/End callbacks" into oc-devJulien Desprez
2017-09-21Allow and support <include> inside <device> am: 66ea8af92ajdesprez
am: 8b7d583989 Change-Id: I2efe0817b356345f9b5429ba2e3236c85d78349b
2017-09-21Allow and support <include> inside <device>jdesprez
With more multi devices use cases, it has become convenient to be able to supply and <include> inside a <device> tag for shared boilerplate configs. Adding support for it. Test: unit tests Bug: 65154867 Change-Id: Ib0df72520749314720129a58247afdcd817db3e9
2017-09-18Merge "Create SandboxConfigurationFactory" into oc-dev am: bd4ec445c3Julien Desprez
am: 9d45b589f8 Change-Id: I6b1b201a2824882a9e285c2b8176862ecc0bd8de
2017-09-18Merge "Create SandboxConfigurationFactory" into oc-devJulien Desprez
2017-09-15Merge "Create an explicitle step for serializing the context" into oc-dev ↵jdesprez
am: deaff997f4 am: 3a0ea52e86 Change-Id: I64c35cb2a9bae8abd40e1e3d9d8a188b6fbc05db
2017-09-15Merge "Create an explicitle step for serializing the context" into oc-devTreeHugger Robot
2017-09-14Merge "Allow TestFailureListener for multi devices" into oc-dev am: 74278d4b13Julien Desprez
am: ef3ccf197b Change-Id: I4c11418e4fb63773f8eedee036600ad2b27e0e54
2017-09-14Merge "Allow TestFailureListener for multi devices" into oc-devJulien Desprez
2017-09-14Merge "Create a system-server heap dump utility" into oc-dev am: cc53aaf552Julien Desprez
am: a5b44e37ba Change-Id: Ie8ad1ff9bd8f48f8098a83fe63e865808ed34e24
2017-09-14Merge "Create a system-server heap dump utility" into oc-devJulien Desprez
2017-09-13Create a system-server heap dump utilityjdesprez
In order to investigate some issues collecting heap dump is quite useful. Making a basic utility that can be improved later for this. Test: unit tests Bug: 64826998 Change-Id: I0948115094a397a10053036e7af00c94df42501a
2017-09-08Create an explicitle step for serializing the contextjdesprez
In order to be able to customize it, allow a specific serialize context method. Test: unit tests, see other CL Bug: 62720644 Change-Id: I2e50c48e145fdf8db18fb5fd43d8e3f4fb86ecbc
2017-09-07Sort the configs to ensure a stable order of processing am: 0f93a550dejdesprez
am: a7aa77344b Change-Id: Ia1417024e96c94c5811511066d1c720b9beb67a5
2017-09-06Sort the configs to ensure a stable order of processingjdesprez
Ensure we process the discovered configs always in the same order. We want to ensure the final LinkedHashMap always provide the same ordering, especially for sharding. Test: unit tests Bug: 65291266 Change-Id: I5b3f8ca7ebb3a4df88156bb0624b8557ad5e184b
2017-09-06Merge "DeviceManager: Extend ddmlib timeout from 30 secs to 2 mins." into ↵Simran Basi
oc-dev am: 752ca9c0bb am: 8060e9e0a4 Change-Id: I59147d20eb86c61080838907421f350ca49f3814
2017-09-06Merge "Simplify the module names for TfSuiteRunner" into oc-dev am: cc6cf5bedfJulien Desprez
am: c9e9f11610 Change-Id: Ifeb9c22bfba3986267632b174180f64ef811c64f
2017-09-06Merge "DeviceManager: Extend ddmlib timeout from 30 secs to 2 mins." into oc-devTreeHugger Robot
2017-09-06Merge "Simplify the module names for TfSuiteRunner" into oc-devJulien Desprez
2017-09-06Move the TestSuiteStub class to tests/ am: 4d21e17b78jdesprez
am: a89c6676b9 Change-Id: I58980aa9147907ab48aa2de6abc30ef4d0526d14
2017-09-05Move the TestSuiteStub class to tests/jdesprez
- move the test helper class. - small clean up for log level - add a very basic test for runtimehint Test: unit tests Bug: 37211399 Change-Id: Ib3d83925180df6ad416ce0bb9bc56a878a15bf21
2017-09-05Merge "Start populating the ITestInvocation interface" into oc-dev am: ↵Julien Desprez
76bdb173f3 am: 3773a0c05b Change-Id: Ie395403fa38d3239b124ca1e06b6c112fe7bac9e
2017-09-05Merge "Start populating the ITestInvocation interface" into oc-devJulien Desprez
2017-09-05Create SandboxConfigurationFactoryjdesprez
Start making sandboxed invocation flow looking like a normal invocation. Creation of configuration for sandbox will most likely need a lot of tuning in the future, a factory will allow us to do it more easily. Test: unit tests ./tradefed.sh run host -n --class com.google.android.tradefed.UnitTests --use-sandbox Bug: 62720644 Change-Id: Ida399ca7571d5d3097854389fc5ffaeaf35de2e4
2017-09-02Remove the exists check am: 67fff0641ajdesprez
am: 5cf9ee3c5f Change-Id: I9b85598a5a798d928c58b165725c45d3505e2bdb
2017-09-01Remove the exists checkjdesprez
both HOST and TARGET env dir are called testcases/ so we cannot check for the dir being already copied. Test: unit tests tradefed.sh run template/local_min --template:map test=google/suite/pts Bug: 65298481 Change-Id: Id78be8f7f1266b59737c76d8cc264a9953ac61a4
2017-09-01Start populating the ITestInvocation interfacejdesprez
First step in making the TestInvocation more modular. Test: all unit tests still pass Bug: 64939143 Change-Id: Ia630a27ce73955ed28be1356abc149e8a205e43a
2017-09-01Merge "Add support for android host test cases." into oc-dev am: 9a9c8f69bfmikehoran
am: 49d8c0f103 Change-Id: I20c2b097e6126ef264ec6f55d0554db7396e6e30
2017-09-01Merge "Add support for android host test cases." into oc-devTreeHugger Robot
2017-09-01Add some details about the symlink exception am: a3df6eb791jdesprez
am: 47f1e0a698 Change-Id: I8d5879ed11819e3a6a31ebe3624e13237cc34af1
2017-08-31Simplify the module names for TfSuiteRunnerjdesprez
When configs are loaded from the environment, avoid reporting them under the full file path as it might create issue in the reporting pipeline. Sanitizing them to look like included TF configs. Test: unit tests ./out/host/linux-x86/tradefed/tradefed.sh run template/local_min --template:map test=suite/apct.xml --log-level-display verbose Bug: 65247312 Change-Id: Icbf2e24fcbb2ba88bb50d20c56e506894f8e5356
2017-08-31Add some details about the symlink exceptionjdesprez
For easier debugging add more logs. Test: unit tests Bug: 65248797 Change-Id: I3818ca42c328c8b3074a6507ffa8af398ff8a579
2017-08-31Allow TestFailureListener for multi devicesjdesprez
- capture logs for each device for a failure. Test: unit tests Bug: 64713162 Change-Id: Ic91dbc7a83ef19fb67eeb3768a29a94a98100f41
2017-08-30DeviceManager: Extend ddmlib timeout from 30 secs to 2 mins.Simran Basi
30 seconds is not enough time to upload an apk to GCE AVD. Bug: 65207479 Test: tradefed.sh run commandAndExit template/local_min --template:map \ test=FrameworksNotificationTests Change-Id: Ia459ed5b62959b0ea9fa09e577fc8f6f86f743d4
2017-08-30Merge "provide API to access build generated test suite info" into oc-mr1-devGuang Zhu
2017-08-30Merge "Reduce verbose of some logging in global tf logs" into oc-dev am: ↵jdesprez
cf51f66fe1 am: 5c4bedc91c Change-Id: Iaa15aa7e5e29f4e951fd904805fd48a8ad02e1e7
2017-08-30Merge "Reduce verbose of some logging in global tf logs" into oc-devTreeHugger Robot
2017-08-30Merge "Allow Passing set-option to Junit4 suite" into oc-dev am: 6677d3772fJulien Desprez
am: d90ef5d82f Change-Id: I96749c9e915e3aa5ea60cfbbfedfaa8201506c5c
2017-08-30Merge "Replace placeholder failure by well formatted names" into oc-dev am: ↵Julien Desprez
f52063d0db am: 35bc60d4b1 Change-Id: I949352060f7f7fa2b17dfdf3beabf0af6e2e8d8a
2017-08-30Reduce verbose of some logging in global tf logsjdesprez
Remove some logs from global logging to avoid flooding with not very useful information. Test: unit tests Bug: 63650335 Change-Id: Id587c21a5264cee14fd58e3425900077e3e01c77
2017-08-30Merge "Allow Passing set-option to Junit4 suite" into oc-devJulien Desprez
2017-08-30Merge "Replace placeholder failure by well formatted names" into oc-devJulien Desprez
2017-08-29provide API to access build generated test suite infoGuang Zhu
Bug: 65127140 Test: covered by suite based func tests Change-Id: If4aa923a5850c929f6e1f35f88bb24727f1bafaa
2017-08-30Merge "Avoid running same config twice when loading from variable" into ↵Julien Desprez
oc-dev am: 128eabf521 am: 1f95f5cfbf Change-Id: I988e68b30ff015ca2ac3b89415f2845593ccee6d
2017-08-30Merge "Conserve order of keys in device build map" into oc-dev am: 49b8ba806dJulien Desprez
am: 064dc68f6a Change-Id: I53afa37ba6128bdde16f7cf6ff271875eb6736ab
2017-08-30Merge "Add a status checker for activity on top" into oc-dev am: 94b8611500jdesprez
am: 9e0501b5a5 Change-Id: Ib5d19e92b637bec87d482a6743359ba0e23d9008
2017-08-30Merge "Avoid running same config twice when loading from variable" into oc-devJulien Desprez