commit | ef56d33d40afb1da263697944305a1288122c8cd | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@chromium.org> | Mon Jan 22 18:19:04 2018 |
committer | Kazuhiro Inaba <kinaba@chromium.org> | Fri Jan 26 04:18:51 2018 |
tree | 71e9992acad0aa94cf0b55ab8b673ff3cbe81a90 | |
parent | 8827a5ef476bfc4793045b75214bd45635bf3b28 [diff] |
Revert "Add check for Chrome PID if exception occurs for startAndroid.stress." This reverts commit 9a225c02d1f78511f44bc9abdeea07fb9bfe011b. Reason for revert: See original CL's comments - test is no longer failing properly. Original change's description: > Add check for Chrome PID if exception occurs for startAndroid.stress. > > startAndroid.stress test has been hitting exceptions regarding timeout > when trying to enable play store. We don't know whether Chrome is still > alive or not at this point, so logging this. > > BUG=chromium:783832 > BUG=chromium:799958 > TEST=ran cheets_StartAndroid test locally. > > Change-Id: Ifbe1bc73fa75a29df01410a9ef4cd77d5b4c7f80 > Reviewed-on: https://chromium-review.googlesource.com/865100 > Commit-Ready: Ben Lin <linben@chromium.org> > Tested-by: Ben Lin <linben@chromium.org> > Reviewed-by: Yusuke Sato <yusukes@chromium.org> Bug: chromium:783832, chromium:799958 Change-Id: I788e204682bb62093ad7284e78817c60f3ddb39f Reviewed-on: https://chromium-review.googlesource.com/879241 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Ben Lin <linben@chromium.org> Reviewed-by: Yusuke Sato <yusukes@chromium.org> Reviewed-by: Kazuhiro Inaba <kinaba@chromium.org> (cherry picked from commit fed7f8aba8cfcc2b75b1ab86cad46b5476bb551d) Reviewed-on: https://chromium-review.googlesource.com/888298 Tested-by: Kazuhiro Inaba <kinaba@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.