|author||Oleh Lamzin <firstname.lastname@example.org>||Fri Oct 29 15:11:34 2021 +0200|
|committer||Commit Bot <email@example.com>||Tue Nov 02 20:44:55 2021 +0000|
Remove 3 wilco power policy tests Remove tests for peak shift, battery charge mode and advanced battery charge mode. These tests were always broken in the lab: https://stainless.corp.google.com/search?view=matrix&row=test&col=build_version&first_date=2021-09-30&last_date=2021-10-27&suite=%5Ewilco_bve%24&exclude_cts=false&exclude_not_run=false&exclude_non_release=true&exclude_au=true&exclude_acts=true&exclude_retried=false&exclude_non_production=false Tast tests are already migrated in Tast, but not yet stable. However, there is no sense to keep autotest tests anymore. Tast tests: - policy.DevicePowerPeakShift - policy.DeviceAdvancedBatteryChargeMode - policy.DeviceBatteryChargeMode BUG=b:194873632 TEST=none Cq-Depend: chromium:3250743 Change-Id: I652c0a3f922c3dae0f564ee9d77029a8606a234e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/3253383 Tested-by: Oleh Lamzin <firstname.lastname@example.org> Commit-Queue: Oleh Lamzin <email@example.com> Reviewed-by: Victor-Gabriel Savu <firstname.lastname@example.org>
Autotest is a framework for fully automated testing. It was originally designed to test the Linux kernel, and expanded by the Chrome OS team to validate complete system images of Chrome OS and Android.
Autotest is composed of a number of modules that will help you to do stand alone tests or setup a fully automated test grid, depending on what you are up to. A non extensive list of functionality is:
A body of code to run tests on the device under test. In this setup, test logic executes on the machine being tested, and results are written to files for later collection from a development machine or lab infrastructure.
A body of code to run tests against a remote device under test. In this setup, test logic executes on a development machine or piece of lab infrastructure, and the device under test is controlled remotely via SSH/adb/some combination of the above.
Developer tools to execute one or more tests.
test_that for Chrome OS and
test_droid for Android allow developers to run tests against a device connected to their development machine on their desk. These tools are written so that the same test logic that runs in the lab will run at their desk, reducing the number of configurations under which tests are run.
Lab infrastructure to automate the running of tests. This infrastructure is capable of managing and running tests against thousands of devices in various lab environments. This includes code for both synchronous and asynchronous scheduling of tests. Tests are run against this hardware daily to validate every build of Chrome OS.
Infrastructure to set up miniature replicas of a full lab. A full lab does entail a certain amount of administrative work which isn't appropriate for a work group interested in automated tests against a small set of devices. Since this scale is common during device bringup, a special setup, called Moblab, allows a natural progressing from desk -> mini lab -> full lab.
See the guides to
See the best practices guide, existing tests, and comments in the code.
git clone https://chromium.googlesource.com/chromiumos/third_party/autotest
See the coding style guide for guidance on submitting patches.
You need to run
utils/build_externals.py to set up the dependencies for pre-upload hook tests.