Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-01-22 | Cache `AndroidDevice#model` to reduce fastboot calls (#910) | Ang Li | |
fastboot calls are expensive and can increase USB flakiness when issued in large amount. So we should reduce fastboot calls whenever possible | |||
2024-01-22 | Bump min Python ver to 3.11. (#909) | Ang Li | |
Now that Python3 releases regularly, we will start bumping Mobly's required min Python version more frequently. Currently 3.11 is the oldest `bugfix` support level ver. So we are bumping to 3.11. Also remove usage of the deprecated `pipes`, and applied formatter | |||
2024-01-07 | Count should only count retries and not repeats. (#906) | boon | |
2023-12-28 | Add parent field to records to represent repeat and retry information. (#905) | boon | |
This provides a generic way to mark the sequential relationship of test result records. The intention is to make it easier for downstream parsers to process test result records for repeat and retry cases. The `retry_parent` field is now deprecated in test result record. | |||
2023-12-14 | Using tcp:0 in adb forward to pick available host port in snippet client (#904) | Minghao Li | |
This avoids a race condition where the port picked by `portpicker` becomes occupied before adb can forward it. | |||
2023-10-30 | Adding ability to run adb reverse via mobly AdbProxy, fixes #900 (#903) | Sachin Sagadevan | |
2023-10-26 | Fix current formatting issues and add formatting check to CI workflow (#902) | nkprasad12 | |
* Switch to Pyink for formatting --------- Co-authored-by: Nitin Prasad <nkprasad@google.com> | |||
2023-10-23 | Allow configuring snippet user. (#899) | nkprasad12 | |
Co-authored-by: Nitin Prasad <nkprasad@google.com> | |||
2023-09-02 | Remove unused imports (#892) | Sam Balana | |
2023-05-22 | Support am instrument options by adding a snippet config class (#886) | Minghao Li | |
2023-04-25 | Do not start logcat service when the Andriod device is in fastboot mode. (#881) | Ang Li | |
2023-04-25 | Properly end the test when expects has an error within teardown test. (#882) | boon | |
2023-04-18 | Fix the print test list logic in `test_runner` (#878) | Lucas Abel | |
2023-03-21 | suite_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-02-14 | Fix unhandling of possible recursion error on `ExceptionRecord.__deepcopy__` ↵ | Lucas Abel | |
(#870) | |||
2023-02-06 | Fix unit test failures on Python 3.11 (#869) | Minghao Li | |
2023-02-02 | Progressively 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-13 | Ensure the termination of the `teardown_class` record. (#864) | Ang Li | |
2023-01-13 | Adjust 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. | |||
2022-12-12 | Handle SIGTERM in Mobly. (#858) | boon | |
2022-12-06 | Don't mutate BaseTestClass.record_data() argument. (#856) | Jon Wolverton | |
2022-11-30 | Add 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-03 | Expose the method to set new log prefix in PrefixLoggerAdapter (#852) | Minghao Li | |
2022-08-26 | Create a prefix logger adapter class to add prefix to logs (#849) | Minghao Li | |
2022-08-15 | Always create the `AndroidDevice` object specific log directory. (#848) | Ang Li | |
Create upon access if `log_path` doesn't exist | |||
2022-08-02 | Fix 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-01 | Rename 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-01 | Add 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-20 | Deprecate legacy snippet modules after snippet client v2 migration (#841) | Minghao Li | |
2022-06-30 | Flip the default Android snippet client version to V2 (#839) | Minghao Li | |
2022-06-24 | Remove argv check. Check is already done in parse_cli_args and should be ↵ | boon | |
sys.argv[1:]. (#838) | |||
2022-06-21 | Add 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-17 | Support switching to client V2 via Android Device property setting (#835) | Minghao Li | |
2022-06-16 | Add error type to `ExceptionRecord`. (#836) | Ang Li | |
So it's easier for parsers to get this info. | |||
2022-06-09 | ClientBase shouldn't call "stop" if "before_starting_server" failed (#834) | Minghao Li | |
2022-06-03 | Standardize Async RPC for snippet client v2 (#826) | Minghao Li | |
* Provide a simple abstract base class for callback handlers of all platforms. * Implement the callback handler v2 for Android. | |||
2022-05-23 | Client V2 cleans event client when it stops (#825) | Minghao Li | |
2022-05-21 | Fix typo in run_command (#810) | nkprasad12 | |
2022-05-19 | Create base suite class and add run_suite_class to suite runner. (#817) | boon | |
2022-05-19 | Remove client v2's unit test's dep on subprocess (#823) | Minghao Li | |
2022-05-19 | Event client clears host_port and device_port attribute (#822) | Minghao Li | |
2022-05-18 | Fix the bug where event client is broken after reboot (#821) | Minghao Li | |
2022-05-17 | Add a flag for whether to use Snippet Client V2 (#815) | Minghao Li | |
2022-05-08 | Add Snippet Client V2 for Android, Step 2 (#808) | Minghao Li | |
2022-05-05 | ClientBase should call "stop" if "before_starting_server" failed (#813) | Minghao Li | |
2022-04-14 | Adding Snippet Client V2 for Android, Step 1 (#804) | Minghao Li | |
2022-04-13 | Refactor snippet client v2's stop server method (#807) | Minghao Li | |
2022-04-08 | Rename Snippet client v2's startup sequence steps (#806) | Minghao Li | |
Rename the startup sequence steps (hopefully) for the better. | |||
2022-03-22 | run yapf to fix format (#801) | Minghao Li | |
2022-03-22 | Add a new base class for snippet client (#795) | Minghao Li | |
This is the first PR to kick off the standardization of Mobly snippet client, which would enable us to scale the snippet mechanism to a broader set of platforms. Once the new snippet client code is proven, we will enable it by default and remove the old snippet client under `android_device_lib`. |