commit | 13c05390689d673b86827bda49ec97cecea1b8c2 | [log] [tgz] |
---|---|---|
author | Jae Hoon Kim <kimjae@chromium.org> | Tue Sep 03 18:14:08 2019 +0000 |
committer | Jae Hoon Kim <kimjae@chromium.org> | Thu Sep 05 22:30:19 2019 +0000 |
tree | fe03f78e64bdf2f9c7f5294baf60c04d551a28b7 | |
parent | d71d8a64772afb82450b58e722e0f4b7976a9081 [diff] |
Revert "Milestones to EOL added into update_engine_client --eol_status printout" This reverts commit e3340762970033ff4140e2dfa4549956def89cd6. Reason for revert: use of EOL date and EOL notification date instead milestones to EOL. Original change's description: > Milestones to EOL added into update_engine_client --eol_status printout > > Initiative to include the milestones to EOL is being made within > update_engine. The update_engine_client prints out the > `MILESTONES_TO_EOL` after `EOL_STATUS`. The changes for update_engine > can be followed at the CQ dependency. > > Nano Omaha devserver feeds back EOL response with milestone to EOL. > > Addition control test is added to test for milestones to EOL when the > EOL is not at it's end-of-life yet. This is a new feature test. > > BUG=chromium:994999 > TEST=test_that -b $BOARD $IP autoupdate_EOL > TEST=test_that -b $BOARD $IP autoupdate_EOL.milestones > > Cq-Depend:chromium:1759285 > Change-Id: Ic3028e19047bcd4d96802c6d77da7b8985b183dc > Reviewed-on: https://chromium-review.googlesource.com/1761371 > Tested-by: Jae Hoon Kim <kimjae@chromium.org> > Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> > Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> > Reviewed-by: Jae Hoon Kim <kimjae@chromium.org> > Reviewed-by: David Haddock <dhaddock@chromium.org> BUG=chromium:994999 TEST=none Cq-Depend:chromium:1782970 Change-Id: Ic4b8ea58f428affd7f31b07d1e9934dc0cb59314 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/1782971 Tested-by: Jae Hoon Kim <kimjae@chromium.org> Reviewed-by: David Haddock <dhaddock@chromium.org> Commit-Queue: Jae Hoon Kim <kimjae@chromium.org> Legacy-Commit-Queue: Commit Bot <commit-bot@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.