Revert "autoupdate_EndToEndTest: Use quick-provision for installing the source image"

This reverts commit 396d281cd74a26be69ba2d498dab9a679ea812c2.

Reason for revert: <crbug.com/1103324>

Original change's description:
> autoupdate_EndToEndTest: Use quick-provision for installing the source image
> 
> Currently, autoupdate_EndToEndTests use AU to install very old images in
> order to test AU success on old images. This means that newer
> update_engines should be able to apply a very old update payload. This
> has caused us issues in many places as it has hindered us to deprecated
> old features and improve update_engine to a more efficient
> manner. Now that we have quick provision payloads in release buckets, we
> can use them to install the source image of end to end test. This CL
> does that.
> 
> However, the only caveat here is that the fallback code to provision
> with AU when the QP fails does not work because the release buckets do
> not have the test AU payloads in them. So we added a flag (au_fallback)
> and disabled that fallback. And we added a temporary fallback to the
> original provision mechanism using the AU payloads. We need to remove
> this once the EndToEnd tests are stable and showing no sign of failures
> in quick-provision.
> 
> BUG=chromium:991421
> TEST=test_that --autotest_dir ~/trunk/src/third_party/autotest/files/ --args="target_release=13280.0.0 target_payload_uri='gs://chromeos-releases/dev-channel/reef/13290.0.0/payloads/chromeos_13290.0.0_reef_dev-channel_full_test.bin-gvswkobwg43gf4byzyw75rj4io3sl5y5' source_release=13280.0.0 source_payload_uri='gs://chromeos-releases/dev-channel/reef/13290.0.0/payloads/chromeos_13290.0.0_reef_dev-channel_full_test.bin-gvswkobwg43gf4byzyw75rj4io3sl5y5' update_type=full" chromeos6-row4-rack10-host12.cros.corp.google.com autoupdate_EndToEndTest
> TEST=above test after raising an exception in
> _quick_provision_with_gs_cache() to make sure
> _quick_provision_with_devserver() works too.
> 
> Change-Id: I1ac1828f58c9a63f4a7d8888e651248033d567ef
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2261239
> Tested-by: Amin Hassani <ahassani@chromium.org>
> Reviewed-by: Kyle Shimabukuro <kyleshima@chromium.org>
> Reviewed-by: David Haddock <dhaddock@chromium.org>
> Commit-Queue: Amin Hassani <ahassani@chromium.org>

Bug: chromium:991421
Change-Id: I278b9bd45530bc11378d8a18a566e50768bc466e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2288160
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
Tested-by: Amin Hassani <ahassani@chromium.org>
3 files changed
tree: 90d40bc8c9e0c332215bd9864f4b71d732b8642e
  1. bin/
  2. cli/
  3. client/
  4. contrib/
  5. database/
  6. docs/
  7. frontend/
  8. logs/
  9. metadata/
  10. results/
  11. server/
  12. site_utils/
  13. test_suites/
  14. tko/
  15. utils/
  16. venv/
  17. .gitignore
  18. .style.yapf
  19. __init__.py
  20. common.py
  21. ENGPROD_OWNERS
  22. FINGERPRINT_OWNERS
  23. FIRMWARE_OWNERS
  24. global_config.ini
  25. INFRA_OWNERS
  26. LGPL_LICENSE
  27. LICENSE
  28. main.star
  29. moblab_config.ini
  30. PRESUBMIT.cfg
  31. README.md
  32. ssp_deploy_config.json
README.md

Autotest: Automated integration testing for Android and Chrome OS Devices

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.

Run some autotests

See the guides to test_that and test_droid:

test_droid Basic Usage

test_that Basic Usage

Write some autotests

See the best practices guide, existing tests, and comments in the code.

Autotest Best Practices

Grabbing the latest source

git clone https://chromium.googlesource.com/chromiumos/third_party/autotest

Hacking and submitting patches

See the coding style guide for guidance on submitting patches.

Coding Style

Pre-upload hook dependencies

You need to run utils/build_externals.py to set up the dependencies for pre-upload hook tests.

Setting up Lucifer

Setting up Lucifer