History log of /external/autotest/client/cros/faft/utils/os_interface.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7bc9bf3d2e63f3e4bbf9bfeca64728f7c36e69c5 31-Oct-2016 Vadim Bendebury <vbendeb@chromium.org> do not assume that mmc rootfs is always on dev 0

FAFT assumes that the non-removable file system root got to be on
/dev/mmcblk0. But on reef it is on /dev/mmcblk1. Let's allow both
possibilities when trying to find the non-removable file system root.

BUG=none
TEST=the firmware_CorruptBothKernelAB test does not fail any more.

Change-Id: I103bf76eafa0d13c4f9df2d69a1b4e4138d2b607
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/405115
Reviewed-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
/external/autotest/client/cros/faft/utils/os_interface.py
02da40da2f81fda288668ba663c5dee4db672ebb 03-Sep-2015 Shelley Chen <shchen@chromium.org> FAFT: Non-blocking shell command

Certain shell commands, like "fastboot oem lock",
will not return until detecting an event like the
power button being pushed. In order for this to be
done in a test, we need to return immediately so that
the servo can emulate the power button push.

BUG=chromium:527484
BRANCH=none
TEST=Tested out with FAFT test to make sure that call
did not wait for return before moving on to next command.

Change-Id: I0c188650fcd4b729e11179563a59d6946f3d70eb
Signed-off-by: Shelley Chen <shchen@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/297420
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/client/cros/faft/utils/os_interface.py
c7bdb7579baeeb7957001310cbd4dba63c4c43b3 25-Aug-2015 Tom Wai-Hong Tam <waihong@chromium.org> FAFT: Use fwtool instead of ectool for DUT using a host

On Ryu, the ectool doesn't exist. Use the fwtool instead.

BUG=chromium:527484
TEST=Ran the firmware_SoftwareSync which uses this method.

Change-Id: Ib9f88b5242ad1a2b86b7f14f426f85e8327a0d28
Reviewed-on: https://chromium-review.googlesource.com/295569
Commit-Ready: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Shelley Chen <shchen@chromium.org>
/external/autotest/client/cros/faft/utils/os_interface.py
4a1911eb368df8713a41c04adad8e704af01e06d 01-Sep-2015 Tom Wai-Hong Tam <waihong@chromium.org> FAFT: Support running shell commands on the host

This change exposes new interfaces to run shell command on the host.

BUG=chromium:516398,chromium:527484
TEST=Started the XML RPC server and called the new RPCs.

Change-Id: I9fe4b22932002a4aec01f255b39e10c97ddc716d
Reviewed-on: https://chromium-review.googlesource.com/296512
Commit-Ready: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: danny chan <dchan@chromium.org>
/external/autotest/client/cros/faft/utils/os_interface.py
3dbc70ac3c58465b4c35b5d09ab10d0e28abde7f 20-Aug-2015 Tom Wai-Hong Tam <waihong@chromium.org> FAFT: Implement basic methods of ModeSwitcher for Ryu

This ModeSwitcher does some basic methods, like waiting DUT online/offline.
More changes will be added to support the rest.

BUG=chromium:527484
TEST=Ran some FAFT tests on Ryu.

Change-Id: I085ae9ed9c8fec5b773e3f9c6d6506bc008de5ba
Reviewed-on: https://chromium-review.googlesource.com/294774
Commit-Ready: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Shelley Chen <shchen@chromium.org>
/external/autotest/client/cros/faft/utils/os_interface.py
a0265e39f0133d5e7699a4a675891cf71074aa95 05-Aug-2015 Tom Wai-Hong Tam <waihong@chromium.org> FAFT: Implement AdbShell which executes commands via adb

And also fix or work-around the Android related stuffs. An empty file
.android_faft_tester should be created in /mnt/stateful_partition on
the host of DUT such that FAFT test knows it is an Android tester.

BUG=chromium:516398
TEST=None

Change-Id: Idd93a55408a05c15cfc689f8627b178aae80924f
Reviewed-on: https://chromium-review.googlesource.com/290735
Commit-Ready: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Shelley Chen <shchen@chromium.org>
/external/autotest/client/cros/faft/utils/os_interface.py
38aa548ceb0f1fdb081deb9389b4c8e99aee485b 31-Jul-2015 Tom Wai-Hong Tam <waihong@chromium.org> FAFT: Wrap the shell command interface

This change wraps the shell command interface and uses it to
access DUT instead of call the Python library directly.

It helps easily to switch to other shells, like adb-shell.

BUG=chromium:516398
TEST=Ran FAFT suites to verify still working on Jerry.

Change-Id: If345dc669ee5bd8ce858cbce1e6a8978d90f18c2
Reviewed-on: https://chromium-review.googlesource.com/290350
Commit-Ready: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: danny chan <dchan@chromium.org>
/external/autotest/client/cros/faft/utils/os_interface.py
ba5e3e52352ba60c43212f17c1d133006ef31ebd 31-Jul-2015 Tom Wai-Hong Tam <waihong@chromium.org> FAFT: Change naming from "Chrome OS" to "OS"

Change the naming to prepare to run FAFT on other OSes.

BUG=chromium:516398
TEST=Ran a FAFT test to verify it not broken.

Change-Id: Iaa36274c648d2272ab0e0b8c369f8a89c5e6ee46
Reviewed-on: https://chromium-review.googlesource.com/290329
Commit-Ready: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: danny chan <dchan@chromium.org>
/external/autotest/client/cros/faft/utils/os_interface.py