History log of /external/autotest/server/cros/autoupdate_utils.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
368abdf47d544aca4adbaf19d112e3457e056d3d 14-Feb-2017 Prathmesh Prabhu <pprabhu@chromium.org> [autotest] Use HostInfo to access host attributes

This CL is a squash of four separate CLs that update autoserv and
friends to use HostInfo to both obtain and update host attribute
information. Squashed CLs:
- Commit host attributes from AfeHostInfoStore
- Use HostInfo to clear host attributes before provision
- Use HostInfo to update host attributes in machine_install
- Use HostInfo to obtain host attributes [Reland]

The last CL got reverted earlier because the testbed host class was
creating other hosts without going through the factory methods. As a
result, the created hosts didn't have a host_info_store attribute.
CL:450866 fixed that.

BUG=chromium:678430
TEST=(1) unittests
(2) test_that / test_droid still work.
(3) in-lab hwtests via moblab

Change-Id: I8d00d8aa05e2ef263db21cb0f5d660311c146b0b
Reviewed-on: https://chromium-review.googlesource.com/517773
Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/server/cros/autoupdate_utils.py
b9d7adf07aec05db6a3f1a8b74f45abd7a87c74a 07-Mar-2017 Prathmesh Prabhu <pprabhu@chromium.org> Revert "Use HostInfo to obtain host attributes"

This reverts commit 838f89f628e404bd3d657e5eb4b45c02bfb363b9.


Original change's description:
> Use HostInfo to obtain host attributes
>
> BUG=chromium:678430
> TEST=unittests
>
> Change-Id: I4ae2d4ee0c19eae5545eeb9ff01a7fe8853bc34d
> Reviewed-on: https://chromium-review.googlesource.com/440366
> Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
>

TBR=pprabhu@chromium.org,ayatane@chromium.org
BUG=chromium:678430
BUG=chromium:699188

Change-Id: I36b47500518ef4a710145f35f730e53d40cdb0a0
Reviewed-on: https://chromium-review.googlesource.com/450845
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/server/cros/autoupdate_utils.py
838f89f628e404bd3d657e5eb4b45c02bfb363b9 09-Feb-2017 Prathmesh Prabhu <pprabhu@chromium.org> Use HostInfo to obtain host attributes

BUG=chromium:678430
TEST=unittests

Change-Id: I4ae2d4ee0c19eae5545eeb9ff01a7fe8853bc34d
Reviewed-on: https://chromium-review.googlesource.com/440366
Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/server/cros/autoupdate_utils.py
d8b9093f06cb882f7f46ca2f51d06630c9004f6d 21-Apr-2016 Gwendal Grignou <gwendal@chromium.org> autoupdate_EndToEndTest: Fix delta Failures

delta payload_uri are in packages directory, so we need to go one more
way up to find needed stateful.tgz.

lookup_job_repo_url does not raise KeyError, but return none when the
utl is not found.

BUG=chromium:588429
TEST=Test locally that we can setup a delta test.
Did not go all the way, can not ssh own workstation without keyboard
interaction.

Change-Id: Ifab87e9133934015a49a24e2594e6e851b8454db
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/340109
Reviewed-by: Dan Shi <dshi@google.com>
/external/autotest/server/cros/autoupdate_utils.py
8190eb8a23a54b472701414f9f80d4d9eb268a2d 12-Feb-2016 Dan Shi <dshi@google.com> Move job_repo_url related calls to afe_utils

This is to allow adb_host to adopt similar appraoch to store devserver
url to host attributes.

BUG=chromium:586327
TEST=local run test, unittest suite

Change-Id: Iab2d05c4b7a8278ca8499025038995ea1d5aaae1
Reviewed-on: https://chromium-review.googlesource.com/327257
Commit-Ready: Dan Shi <dshi@google.com>
Tested-by: Dan Shi <dshi@google.com>
Reviewed-by: Kevin Cheng <kevcheng@chromium.org>
/external/autotest/server/cros/autoupdate_utils.py
c193217c55a11367708be5c25bd1c8e1857ab6ff 16-Oct-2013 Chris Sosa <sosa@chromium.org> Add rollback integration test autoupdate_Rollback.

This CL adds a rollback test that updates the DUT to a new image
and verifies that we can rollback to whatever we had installed
by inspecting the kernel state at each phase.

BUG=chromium:260568
TEST=Ran it several times.

Change-Id: Ie7f3c8ee7f0cfb4889989735f17870da19368da3
Reviewed-on: https://chromium-review.googlesource.com/173320
Reviewed-by: Chris Sosa <sosa@chromium.org>
Commit-Queue: Chris Sosa <sosa@chromium.org>
Tested-by: Chris Sosa <sosa@chromium.org>
/external/autotest/server/cros/autoupdate_utils.py