History log of /external/autotest/server/site_tests/platform_InstallRecoveryImage/platform_InstallRecoveryImage.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b6de7e3d672bfa4b9b2c4c304165bb5fdd03f4a1 14-Feb-2013 J. Richard Barnette <jrbarnette@chromium.org> Remove host argument from Servo.install_recovery_image().

Servo.install_recovery_image() accepted a host argument; that
argument wasn't appropriate for this file and the plan to move its
contents to hdctools. The argument was only supplied for the
specific case of platform_InstallRecoveryImage, so the code moved
there instead.

The code that used the host argument also didn't work well for
recovery images, because it relied on the DUT to respond to ssh
after recovery, which normally wouldn't happen. This change updates
the test to use ping in place of ssh.

BUG=chromium-os:36973
TEST=run platform_InstallRecoveryImage

Change-Id: I82dc346b3b5c96d6b818a249588a07d9f021985c
Reviewed-on: https://gerrit.chromium.org/gerrit/43310
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
/external/autotest/server/site_tests/platform_InstallRecoveryImage/platform_InstallRecoveryImage.py
741b5d42bfc197830145abe39d968ac44840efe5 18-May-2012 Simran Basi <sbasi@google.com> Autotest: Moved USB Management of Install Recovery Image to Servod

Moved the code segments involving USB detection and image downloading from
autoserve to servo_server.

Now if autoserv is given an image_path, servo_server will probe for the servo
USB device and transfer the image either from the local path or a publically
visible URL.

Removed the arg usb_dev and all references to this argument as it is no longer
required.

Added an argument called make_image_noninteractive so that the DUT will reboot
automatically after a recovery image installation.

Updated all callers and the test control files.

CQ-DEPEND=I2a5c6b54b8abcb5fc99e5c04ba9659dc4dacca8b
BUG=chrome-os-partner:8754
TEST=Ran locally with a local image, a image hosted in my www folder,
and without a USB device connected to servo.

Change-Id: Ib32e449497d82cde97203124441a1946ca7ca606
Reviewed-on: https://gerrit.chromium.org/gerrit/23049
Reviewed-by: Gaurav Shah <gauravsh@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Commit-Ready: Simran Basi <sbasi@google.com>
Tested-by: Simran Basi <sbasi@google.com>
/external/autotest/server/site_tests/platform_InstallRecoveryImage/platform_InstallRecoveryImage.py
134ec2c1ecfa243e9d7b0ebd18ed20a6bb6d7240 25-Apr-2012 J. Richard Barnette <jrbarnette@chromium.org> Add new test wait event methods to SiteHost, and use them.

Added test_wait_for_sleep(), test_wait_for_resume(),
test_wait_for_shutdown(), and test_wait_for_boot() to SiteHost.
These methods replace wait_up() and wait_down() to use customized
timeouts and generate a test failure if the required condition
doesn't occur.

Updated selected servo-based tests to use the new methods.

BUG=chromium-os:29896
TEST=run the changed tests

Change-Id: Ic21f97f0672b0c16504028a4ed4533b24f4e5e0f
Reviewed-on: https://gerrit.chromium.org/gerrit/21150
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Commit-Ready: Richard Barnette <jrbarnette@chromium.org>
/external/autotest/server/site_tests/platform_InstallRecoveryImage/platform_InstallRecoveryImage.py
c88e5b61a74481c04c2f4865b739e821207c52e2 30-Nov-2011 Jon Salz <jsalz@chromium.org> Move USB probing logic and recovery image install to servo.py.

BUG=chrome-os-partner:381
TEST=Run manually

Change-Id: I2211b7a4b24fff122e3ff6357534a89b4ab0a3ff
Reviewed-on: https://gerrit.chromium.org/gerrit/12258
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
Commit-Ready: Jon Salz <jsalz@chromium.org>
/external/autotest/server/site_tests/platform_InstallRecoveryImage/platform_InstallRecoveryImage.py
8ee1d59be1e2ec44701a6263b602473596d0d0e0 15-Aug-2011 Chris Sosa <sosa@chromium.org> Adds platform_InstallRecoveryImage to use usb mux to install recovery image.

This CL adds a new test that can install an image using the recovery
process through the use of the USB mux on the servo board. I've also
refactored servotest into servo_test and fixed imports in existing tests.

BUG=chromium-os:17759
TEST=Ran all changed servo tests and recovery image test.

Change-Id: I69f20b2aa99086728b984c4c38c722b59e198090
Reviewed-on: http://gerrit.chromium.org/gerrit/5976
Commit-Ready: Chris Sosa <sosa@chromium.org>
Reviewed-by: Chris Sosa <sosa@chromium.org>
Tested-by: Chris Sosa <sosa@chromium.org>
/external/autotest/server/site_tests/platform_InstallRecoveryImage/platform_InstallRecoveryImage.py