aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-29Merge remote-tracking branch 'aosp/upstream-master' into master am: ↵android-14.0.0_r45android-14.0.0_r44android-14.0.0_r43android-14.0.0_r42android-14.0.0_r41android-14.0.0_r40android-14.0.0_r39android-14.0.0_r38android-14.0.0_r27android-14.0.0_r26android-14.0.0_r25android-14.0.0_r24android-14.0.0_r23android-14.0.0_r22android-14.0.0_r21android-14.0.0_r20android-14.0.0_r19android-14.0.0_r18android-14.0.0_r17android-14.0.0_r16android14-qpr1-s2-releaseandroid14-qpr1-releaseandroid14-d2-s5-releaseandroid14-d2-s4-releaseandroid14-d2-s3-releaseandroid14-d2-s2-releaseandroid14-d2-s1-releaseandroid14-d2-releaseuael
fbc9ba8471 am: 2144d8a6eb am: 63728470d2 am: 2b67610653 Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2499579 Change-Id: Icccccfb21568da3ae609d6007b9a226f74603f97 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-29Merge remote-tracking branch 'aosp/upstream-master' into master am: ↵android14-devuael
fbc9ba8471 am: 2144d8a6eb am: 63728470d2 Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2499579 Change-Id: I3734d972e006228e5da1b563c7baeb55dadbda09 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-29Merge remote-tracking branch 'aosp/upstream-master' into master am: ↵uael
fbc9ba8471 am: 2144d8a6eb Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2499579 Change-Id: I36243a619c55a26f3f3cbe252e9db1960aacccb7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-29Merge remote-tracking branch 'aosp/upstream-master' into master am: fbc9ba8471uael
Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2499579 Change-Id: I205d0b93599a2c385e54582c62715f6fbcb34504 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24Merge remote-tracking branch 'aosp/upstream-master' into masterandroid-u-beta-1-gpluael
Test: None Change-Id: I35ed4a0a172c2e511350d35a5f8679f24903a6fb
2023-03-23Default `TestRunConfig.log_path` to `_DEFAULT_LOG_PATH` (#876)Lucas Abel
2023-03-21suite_runner improvements (#875)Lucas Abel
As of the test runner: * Parse only known arguments. * Handle -l, --list_tests option. * Handle -tb, --test_bed option. * Handle -v, --verbose option. Also, do not force test name to only contains one dot `.` by passing `maxsplit=1` to `test_name.split`. This allow for more complex generated test names.
2023-03-02record: emit explicit end when appending to summary (#872)Lucas Abel
Since the `yaml` summary file is appended during the process, a reader is able to handle any new record as soon as they have been written. But it may read incomplete `yaml` data, for example on Linux there is no guaranty that a single write to file will be available as one read. By explicitly emitting the end marker to the record, the reader may now be able to read the complete `yaml` data before processing it.
2023-02-28Merge remote-tracking branch 'aosp/upstream-master' into master am: ↵uael
d8222fcda6 am: 1ba98c2f96 am: b99748da15 am: 229ea66e57 Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2443499 Change-Id: Ia7e2657a272517c3cf67edc89a239f318cfa79cc Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-28Merge remote-tracking branch 'aosp/upstream-master' into master am: ↵uael
d8222fcda6 am: 1ba98c2f96 am: b99748da15 Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2443499 Change-Id: Iacce4e58a602557003181ffb759e062bacfc4275 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-28Merge remote-tracking branch 'aosp/upstream-master' into master am: ↵uael
d8222fcda6 am: 1ba98c2f96 Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2443499 Change-Id: Iedce48e3b7370c592a584745a5d1ae2d4bf4511c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-28Merge remote-tracking branch 'aosp/upstream-master' into master am: d8222fcda6uael
Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2443499 Change-Id: I3f34669cd61a2a9414b32970388553118aadf698 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17Merge remote-tracking branch 'aosp/upstream-master' into masteruael
Test: None Change-Id: Id98ed24ed5bfff7c4207eb7bba606775ab161847
2023-02-14Fix unhandling of possible recursion error on `ExceptionRecord.__deepcopy__` ↵Lucas Abel
(#870)
2023-02-06Fix unit test failures on Python 3.11 (#869)Minghao Li
2023-02-02Progressively increase intervals between adb root attempts (#867)antofara
* Extend the longest possible wait for `adb root` because the low end devices require more time to reconnect after `adb root`. * Fix a typo
2023-01-18Mobly Release 1.12.1. (#866)Ang Li
2023-01-16Make the summary file path more accessible. (#865)Ang Li
This file is the entry point of all result parsing. We make this path clear so the upper layer systems don't have to calculate it with assumptions that may change implicitly.
2023-01-13 Ensure the termination of the `teardown_class` record. (#864)Ang Li
2023-01-13Adjust timeout strategy for `AdbProxy#getprop` (#863)Ang Li
Because this command can take surprisingly long, like when the device used is a virtual device over network. * Extend the default timeout. * Allow custom timeout value.
2023-01-06Fix list_fastboot_devices for other usb interfaces (#859)Tatsujin Chin
2023-01-04Add check for Cuttlefish devices in `is_emulator` (#860)xianyuanjia
Co-Authored-By: Ang Li <angli@google.com>
2023-01-04Omit traceback logging for test skip exceptions (#862)Taylor Cramer
2022-12-12Handle SIGTERM in Mobly. (#858)boon
2022-12-06Don't mutate BaseTestClass.record_data() argument. (#856)Jon Wolverton
2022-11-30Fix erroneous asserts.assert_count_equal docstring summary (#855)Art Orlov
Co-authored-by: Ang Li <angli@google.com>
2022-11-30Add debug logging for fastboot commands. (#854)Aidan Holm
This is equivalent in functionality to the existing logging for ADB commands. Co-authored-by: Aidan Holm <alfh@google.com>
2022-11-10Update instrumentation_tutorial.md (#853)Sebastian
Fix typo "quailied"
2022-11-03Expose the method to set new log prefix in PrefixLoggerAdapter (#852)Minghao Li
2022-10-13Remove unused dependencies (#850)Sam Balana
Remove `pyserial` and `timeout_decorator` from deps as they are no longer used. Also mark typing_extensions as only necessary for Python versions below 3.8.
2022-09-21Remove Python enables identical to global defaults. am: 423693af38 am: ↵Krzysztof Kosiński
6a86fdd984 am: 9d3eb80c67 am: 8f43603f61 am: 2b7d156eeb Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2221325 Change-Id: I9c4b3fb76e48209fade8eb47fb7f9f69f6f2582a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-21Remove Python enables identical to global defaults. am: 423693af38 am: ↵main-16k-with-phonesKrzysztof Kosiński
6a86fdd984 am: 9d3eb80c67 am: 8f43603f61 Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2221325 Change-Id: I51ceda2aaaffa06db2f4b29294993d54429a205f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-21Remove Python enables identical to global defaults. am: 423693af38 am: ↵Krzysztof Kosiński
6a86fdd984 am: 9d3eb80c67 Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2221325 Change-Id: I0e6d7b664426525cfcfa6a95b706152fd45fe136 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20Remove Python enables identical to global defaults. am: 423693af38 am: ↵Krzysztof Kosiński
6a86fdd984 Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2221325 Change-Id: I4d22d91e0b2ba7b8c64981cfcbc0fe7aa4376971 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20Remove Python enables identical to global defaults. am: 423693af38Krzysztof Kosiński
Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/2221325 Change-Id: Icb46610d917dde8b879571d5fd49feb7fbb041f7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20Remove Python enables identical to global defaults.main-16kKrzysztof Kosiński
Bug: 245854393 Test: presubmit Change-Id: I7640bc9329b65c2a31d6b78178e5b5bbdfa2c8b0
2022-08-26Create a prefix logger adapter class to add prefix to logs (#849)Minghao Li
2022-08-15Always create the `AndroidDevice` object specific log directory. (#848)Ang Li
Create upon access if `log_path` doesn't exist
2022-08-05Mobly Release 1.12. (#846)Ang Li
2022-08-02Fix calling `generate_tests` in the `setup_genearted_tests` stage. (#847)Ang Li
Although it is deprecated, we need to keep it working until the complete removal.
2022-08-01Rename the `setup_generated_tests` stage to `pre_run`. (#844)Ang Li
Users have identified more legit use cases where operations before `setup_class` are needed. The `setup_generated_tests` stage is essentially the stage before `setup_class`. Hence we are renaming it more properly.
2022-08-01Add a --verbose argument to the test_runner to set DEBUG logging level (#840)David Duarte
Co-authored-by: Ang Li <angli@google.com>
2022-07-22Clean up legacy code (#842)Minghao Li
2022-07-20Deprecate legacy snippet modules after snippet client v2 migration (#841)Minghao Li
2022-06-30Flip the default Android snippet client version to V2 (#839)Minghao Li
2022-06-24Remove argv check. Check is already done in parse_cli_args and should be ↵boon
sys.argv[1:]. (#838)
2022-06-21Add termination signal type to record. (#837)Ang Li
So this information can be parsed more easily. Without this field, the parsers would need to use regex magic or make assumptions of the trace's format to get this info.
2022-06-17Support switching to client V2 via Android Device property setting (#835)Minghao Li
2022-06-16Add error type to `ExceptionRecord`. (#836)Ang Li
So it's easier for parsers to get this info.
2022-06-10Merge "Merge remote-tracking branch 'goog/mirror-aosp-master' into bp_mobly ↵Automerger Merge Worker
am: ee1360ad55 am: 37e0f40a2b" into tm-d1-dev-plus-aosp am: 99b46b8acb am: 36a2f94e13 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/python/mobly/+/18820751 Change-Id: I56d0affb58498cdb850ba9efd298a901166803cc Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>