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

Issue 610830 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Booting squawks with servo v3 in recovery mode sometimes fails

Reported by printe...@chromium.org, May 10 2016

Issue description

I was trying to run platform_InstallTestImage on a squawks DUT with Servo V3. The test is basically powering off the DUT, switches the USB key to servo, downloads the image to usb key, starts the DUT in recovery mode, switches the USB key to DUT thus booting from the USB and installing Chrome OS. Because I'm working on porting iSCSI to Servo v3 ( http://crbug.com/570766 ) for this test, instead of downloading the image, I was setting up an iSCSI connection and exposing the Servo as an USB stick to DUT, other than that the sequence of operations is the same.

I noticed that sometimes the DUT was not starting in recovery mode, but instead in normal mode, and sometimes it did not start at all when setting power_state:rec. I thought it may be because I'm upgrading the BB kernel to 4.4, but after some tests I could reproduce the behavior on the current 3.8.13 kernel (although less frequently).

However today I was also testing with a samus DUT and I could reproduce the behavior with both 4.4 and 3.8 kernels. After the suggestion from @shawnn, I tried to run `dut-control power_state:rec` multiple times in a row, to see if the problem still happens. I was testing with a beaglebone_servo-release/R52-8296.0.0/test image for BB (with old 3.8 kernel) and the problem happened. Also running a simplified version of the test which only starts the DUT in recovery mode and boots from USB also confirmed this behavior for samus.

I attached the servod.log (servod started with BOARD=samus, DEBUG=1) for the 4 consecutive `dut-control power_state:rec`. The first 2 times, I did boot in normal mode (instead of recovery), 3rd time the DUT booted in recovery mode, and the 4th time the DUT also booted in normal mode (instead of recovery).
 
servod8_3.8_samus_dut-control_repeatedly_no_removable.log
829 KB View Download
If there are problems with power_state:rec on both samus and squawks,
they're likely to be different bugs.  Moreover, there's already a known
bug for samus, see  bug 606062 .

We should make this bug about squawks only, or we should close it.


Labels: -Pri-3 Pri-1
Components: -Tests Infra>Client>ChromeOS
I ran the platform_ServoPowerStateController against all the
squawks DUTs in pool:suites; see here:
    https://ubercautotest.corp.google.com/afe/#tab_id=view_job&object_id=62813200

The pass rate was 7/10.  The three failures all looked the same:
    power_state:rec did not turn DUT on.

That would usually mean that after power_state:rec, the DUT either didn't
turn on at all, or didn't recognize the USB stick after it was plugged in.

I note that one failure mode for power_state:rec is that the DUT powers on,
but in normal mode.  The test contains an explicit check for that error;
none of the test failures saw that specific failure mode.

Status: Available (was: Untriaged)
Summary: Booting squawks with servo v3 in recovery mode sometimes fails (was: Booting squawks/samus with servo v3 in recovery mode sometimes fails)
Changing summary based on offline communication from printesoi@

Comment 6 by autumn@chromium.org, May 11 2016

Owner: jrbarnette@chromium.org
richard, can you confirm what's needed here?
Project Member

Comment 7 by sheriffbot@chromium.org, May 12 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been available for more than 365 days, and should be re-evaluated. Please re-triage this issue.
The Hotlist-Recharge-Cold label is applied for tracking purposes, and should not be removed after re-triaging the issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Untriaged)

Sign in to add a comment