New issue
Advanced search Search tips

Issue 922086 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 921161
Owner:
Closed: Today
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocking:
issue 918537



Sign in to add a comment

Powerwash seems to get stuck in loop

Project Member Reported by sky@chromium.org, Jan 15

Issue description

As part of testing SingleProcessMash one of the testers reported the following bug:

Here are my current results testing with the following:
Version 73.0.3669.0 (Official Build) canary (64-bit)
Firmware: Google_Cave.7820.384.0

Powerwash:
When navigating the UI using tab, ChromeVox eventually focuses on the shelf 
and does not navigate back to the powerwash dialog even if ChromeVox nav 
commands are used after.
After pressing restart to initiate powerwash, Chrome OS restarts and 
returns to the same prompt asking if I want to restart. This happens every 
time restart is pressed.
Since I couldn't powerwash with the flag enabled, I was unable to test OOBE.

That restart returns to the powerwash dialog asking the user to restart again does not seem specific to SingleProcessMash.

+xiyuan as James suggested Xiyuan might know who to route this to.
 
Cc: r...@chromium.org
The power wash loop does not sound like single process mash relevant. 

Base on my old knowledge of the webui based flow, when user clicks "Continue" button on reset screen, code runs to ResetScreen::OnUserAction [1], which should eventually ask session_manager daemon to start wipe. Do we see "Starting Powerwash" in /var/log/chrome/chrome ? If we see that, it means the StartDeviceWipe call has happened. Then we should look at /var/log/messages to see whether session_manager dump anything there to indicate why the wipe is not started.

[1] https://cs.chromium.org/chromium/src/chrome/browser/chromeos/login/screens/reset_screen.cc?rcl=9bd27cf64264b645d6793b3380be18921c87e217&l=219

+rkc, who could help debugging power wash these days? Are we still using the webui based one ?
Cc: fletch...@chromium.org
Fletcher, can you confirm this is different from  issue 921161 ?

Comment 3 by fletch...@chromium.org, Jan 16 (6 days ago)

This seems separate from 921161, since in this case powerwash is not even starting. I ran through the flow from #1 without enabling the SingleProcessMash flag and it rebooted, powerwashed, and got to OOBE without issue so I think this is probably related to that particular flag.

Comment 4 by sky@chromium.org, Jan 16 (6 days ago)

Blocking: 918537
Cc: jamescook@chromium.org
Labels: Proj-Mash-SingleProcess
Status: Available (was: Untriaged)
It looks like this is SingleProcessMash specific.

Comment 5 by jamescook@chromium.org, Jan 18 (4 days ago)

Cc: lprazdnik@chromium.org
+lprazdnik, can you be more specific about which powerwash dialog you are talking about? The one inside the session (after login) from settings where you start the powerwash process? Or the one that appears immediately after reboot? (The former has title "Restart your device" and the latter has title "Reset this Chrome device".)

Fletcher, assuming powerwash can be started, would  issue 921161  cause a powerwash loop?

I cannot reproduce the powerwash loop in 73.0.3669.0 (11574.0.0) on eve, either with or without SingleProcessMash enabled.

I cannot reproduce problems starting powerwash, either with or without SingleProcessMash enabled.

I tried:
* Enable SingleProcessMash in about:flags and restart
* Ensure ChromeVox is enabled both at login screen and in device owner session.
* Login as owner.
* Open settings, advanced with mouse
* Click "powerwash" with mouse
* Navigate around powerwash dialog with Search-arrows and tab. This worked OK. Focus did not move to the shelf.
* Open system tray with Alt-Shift-S. Focus moves to shelf and I can tab around.
* Close system tray. Focus moves back to powerwash dialog.
* Press Powerwash button by pressing return.
* Device reboots and shows the on-startup powerwash dialog.
* I can navigate this powerwash dialog with ChromeVox search-arrow keys and tab.
* Pressing the powerwash button with enter resulted in the device being powerwashed.

I can repro a bug where ChromeVox won't move focus from the shelf to the "Reset this Chrome device" dialog. This happens with and without SingleProcessMash. I'll file a separate bug for that.

Comment 6 by jamescook@chromium.org, Jan 18 (4 days ago)

Cc: -jamescook@chromium.org
Owner: jamescook@chromium.org
Status: Assigned (was: Available)

Comment 7 by jamescook@chromium.org, Jan 18 (4 days ago)

Filed issue 923582 for ChromeVox highlight being stuck in the shelf.

Comment 8 by fletch...@chromium.org, Today (15 hours ago)

Re #5

> Fletcher, assuming powerwash can be started, would   issue 921161   cause a powerwash loop?

Yes, when switching from verified mode to dev mode on a chromebook, there was a bug where the marker file was not being created so the device kept rebooting and powerwashing. That should be fixed now however.

Comment 9 by jamescook@chromium.org, Today (13 hours ago)

Mergedinto: 921161
Status: Duplicate (was: Assigned)
I think the root cause here was  issue 921161 . Issue 923582 covers ChromeVox highlight.

Comment 10 by lprazdnik@chromium.org, Today (12 hours ago)

@Jamescook, as far as I know it was the dialog that that had the restart your device button. However, after trying to repro this the next day, the powerwash worked successfully. I'm not sure if it was just my device that day but perhaps it is something to look into.

Sign in to add a comment