New issue
Advanced search Search tips

Issue 867312 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature


Participants' hotlists:
Hotlist-Tast


Sign in to add a comment

Investigate adding Servo support to Tast

Project Member Reported by derat@chromium.org, Jul 25

Issue description

Tast should support controlling DUTs using Servo boards (go/cros-servo). I think that this is necessary for firmware testing (go/faft), and I believe that some kernel, power, and display (see https://www.chromium.org/chromium-os/testing/chamelium) tests also make heavy use of it.

Todd, can you suggest some Autotests that it'd be good to look at first (with an eye toward porting them to Tast)? I see a fair number of tests by looking for '^DEPENDENCIES.*servo' in control files, but I'm not sure which ones are the most important.
 
Labels: -Type-Bug Type-Feature
Cc: hidehiko@chromium.org
platform_ExternalUsbPeripherals gets runs frequently on a subset of devices according to stainless,

https://stainless.corp.google.com/search?col=build&exclude_non_release=true&exclude_cts=true&suite=%5Eusb%5C_detect%24&row=test&view=matrix&first_date=2018-09-13&last_date=2018-09-19

and looks to manipulate the USB & lid via servo without deps on other things like chameleon, wificell, audio loopback dongle.

Might be a simple one to start with.

On impact, it would definitely be the FAFT stuff (inheriting FirmwareTest base class).
Cc: matth...@chromium.org
Cc: mqg@chromium.org
We started writing more power autotest using servod now... since servo is not supported in tast just yet, the new tests are in python.

Personally I would like to see tast starting supporting servod. 

I imagine this requires writing a servo client in Go to talk to servod, and a ton of other helper functions (key presses, etc.)
I think that hidehiko@ spent a bit of time looking at this, but I'm not sure about what the plan for implementing it looks like.

The focus for Q4 is porting tests that are part of the CQ, so I don't know that this will happen this quarter unless it's simple to do (unless someone else has time to work on it).
Cc: jeffcarp@chromium.org
//src/third_party/hdctools/servo/README.md looks like it has some good information.

Sign in to add a comment