commit | fb557f00332e024bd639635f223f7233c736f3ae | [log] [tgz] |
---|---|---|
author | Brian J. Nemec <bnemec@google.com> | Fri Aug 27 12:19:07 2021 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Aug 30 19:08:48 2021 +0000 |
tree | 0306abf5338c173482449012ceb346695d49cbe8 | |
parent | 478e752b4c41670d671ad963e717f4af167242d3 [diff] |
power_status: Removed of the scaling of charge_full_design Initial assumptions about battery health were flawed. Multiple errors have been found in the process used to identify the typical battery health on deployed devices. Further investigation has not shown any devices that need the scaling factors. The battery FSI targets specified a target of 97% within 50 cycles as measured by the smart batteries self reported full charge capacity (FCC) / design capacity (DC). ECs on older platforms were scaling down the FCC ratio to 98% of it's value so any platform with a typical battery usage of .97*.98=95% was actually meeting our targets. All platforms are hitting this threshold on the typical values and the remaining regressions can be attributed to storage and user behavior of dogfood devices. BUG=b:181639085, b:174433637 TEST=None Change-Id: Ib73653412995caec416978fd8ad2363d2bd285ae Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/3123555 Reviewed-by: Puthikorn Voravootivat <puthik@chromium.org> Tested-by: Brian J. Nemec <bnemec@chromium.org> Auto-Submit: Brian J. Nemec <bnemec@chromium.org> Commit-Queue: Brian J. Nemec <bnemec@chromium.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 test_that
and test_droid
:
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.