New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 728901 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Servos should report failed USB sticks

Project Member Reported by dgarr...@chromium.org, Jun 2 2017

Issue description

If a USB stick fails, it should be reported in such a way that the report goes directly to the lab team for repair, and so that it's easily available when investigating the state of a DUT.
 
A few notes below on some relevant implementation details.

First in server/hosts/servo_repair.py there's this TODO:
        # TODO(jrbarnette):  We want a verifier for whether there's
        # a working USB stick plugged into the servo.  However,
        # although we always want to log USB stick problems, we don't
        # want to fail the servo because we don't want a missing USB
        # stick to prevent, say, power cycling the DUT.
        #
        # So, it may be that the right fix is to put diagnosis into
        # ServoInstallRepair rather than add a verifier.

Implementation-wise, I'm pretty sure that the design requires that
we add code into ServoInstallRepair that checks for the USB stick
presence up front.  Then, if the subsequent chromeos-install command
fails, we need post hoc diagnosis that can figure out whether the
failure was because of the USB stick.  Then, the repair failure can
report "bad USB stick" in the status.log, which is the first place
the lab techs should look when troubleshooting.

Components: -Infra>Client>ChromeOS Infra>Client>ChromeOS>Test
Status: Available (was: Untriaged)
Status: Assigned (was: Available)
Cc: stagenut@chromium.org gu...@chromium.org
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment