Closed Bug 1176179 Opened 10 years ago Closed 7 years ago

[Lock Screen]Restarting the DUT, if we press power button during poweroff animation, the DUT will not restart.

Categories

(Firefox OS Graveyard :: Gaia::System::Power Mgmt, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 affected, b2g-master affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: yi.zou, Unassigned)

Details

(Whiteboard: [v2.2-nexus-5-l][spark])

Attachments

(2 files)

Attached file logcat002.txt
[1.Description]: [Flame v2.2 & v3.0][Nexus5 v2.2 & v3.0][Lock Screen]When restarting the DUT, if we press power button during poweroff animation, the DUT will not restart or sometimes it will restart after a long time. Found time:05:02 See attachment:logcat002.txt,VIDEO0570.3gp [2.Testing Steps]: 1.Long press the power button. 2.Click the Restart button. 3.Access to the poweroff animation. 4.Press the power button. [3.Expected Result]: 4.The DUT should restart. [4.Actual Result]: 4.The DUT will not restart or sometimes it will restart after a long time. [5.Reproduction build]: N5 v2.2 build: Device: Flame 2.2 (affected) Build ID 20150618002507 Gaia Revision 3414b07dc489976bf510fd8042c0af3b1192c160 Gaia Date 2015-06-16 22:04:56 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/a2db74491088 Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150618.035510 Firmware Date Thu Jun 18 03:55:22 EDT 2015 Bootloader L1TC000118D0 Device: Flame 3.0 (affected) Build ID 20150618010201 Gaia Revision b404c41c5471c31610e64defb74ec066b411e724 Gaia Date 2015-06-17 17:01:15 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/a3f280b6f8d5 Gecko Version 41.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150618.043514 Firmware Date Thu Jun 18 04:35:26 EDT 2015 Bootloader L1TC000118D0 Device: Nexus5 2.2 (affected) Build ID 20150618002507 Gaia Revision 3414b07dc489976bf510fd8042c0af3b1192c160 Gaia Date 2015-06-16 22:04:56 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/a2db74491088 Gecko Version 37.0 Device Name hammerhead Firmware(Release) 5.1 Firmware(Incremental) eng.cltbld.20150618.034835 Firmware Date Thu Jun 18 03:48:52 EDT 2015 Bootloader HHZ12f Device: Nexus5 3.0 (affected) Build ID 20150618160206 Gaia Revision 55bac3c151bff4f0ce0e8715962c4676fefb0887 Gaia Date 2015-06-18 16:49:24 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/656ea3bfbb4e Gecko Version 41.0a1 Device Name hammerhead Firmware(Release) 5.1 Firmware(Incremental) eng.cltbld.20150618.192142 Firmware Date Thu Jun 18 19:22:00 EDT 2015 Bootloader HHZ12f [6.Reproduction Frequency]: Always Recurrence,5/5 [7.TCID]: Free Test
Attached video VIDEO0570.3gp
Hi Hermes, Could you check the bug? thanks. :)
Flags: needinfo?(hcheng)
Flags: needinfo?(hcheng) → needinfo?(timdream)
I don't think this is Gaia related.
Component: Gaia::System::Lockscreen → General
Flags: needinfo?(timdream)
@Tim, could you tell me which component does this issue actually result from? I guess it is an event handling problem, but not so sure.
Flags: needinfo?(timdream)
Component: General → Gaia::System::Power Mgmt
Flags: needinfo?(timdream)
Fabrice, do you know who can take a look?
Flags: needinfo?(fabrice)
(In reply to Tim Guan-tin Chien [:timdream] (slow response; please ni? to queue) from comment #3) > I don't think this is Gaia related. Tim, Gaia is triggering the animation and waits for the animationend to call poweroff I think. Can you check of we don't mess up the state on the gaia side if we get the keypress during the animation?
Flags: needinfo?(fabrice)
Flags: needinfo?(timdream)
Fred, would you mind spend some time investigating Sleep Menu etc.?
Assignee: nobody → gasolin
Flags: needinfo?(timdream)
Can't reproduce testing steps with master flame (9/9) (Click the Restart option from sleep menu, Press the hardware power button during poweroff animation) Though checked the sleep_menu and hardware_button, gaia does not disable hardware buttons when device is poweroff. In on device tests, I can receive power button press event when poweroff animation is playing.
Keywords: qawanted
I mean, can't reproduce the issue. The test steps looks fine :) (I tried both short press and long press power button)
(In reply to Fred Lin [:gasolin] from comment #9) > I mean, can't reproduce the issue. The test steps looks fine :) > > (I tried both short press and long press power button) I can reproduce with the latest 2.2 (20150706162504) flame, but the reproduce rate is about 1/2.
I was able to reproduce the issue 3 out of 5 attempts on Flame, and 1 out of 3 attempts on Aries. It seems extremely timing related. You need to short press the power button pretty much immediately after you select Restart. There's an animation of three orange circles going from top to bottom, you need to press the power button as it shows the second circle in the middle. Device: Flame (KK, full flashed, 319MB) BuildID: 20150709010204 Gaia: fc6643dd3da2ccdf2ab284479643836bb3698644 Gecko: f34a7120f46b Gonk: a4f6f31d1fe213ac935ca8ede7d05e47324101a4 Version: 42.0a1 (2.5 Master) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:42.0) Gecko/42.0 Firefox/42.0 Device: Aries (RC4 and OTA'ed to dogfood latest) BuildID: 20150709163506 Gaia: fc6643dd3da2ccdf2ab284479643836bb3698644 Gecko: d656ef3c4936 Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd Version: 42.0a1 (2.5 Master) Firmware Version: D5803_23.1.A.1.28_NCB.ftf User Agent: Mozilla/5.0 (Mobile; rv:42.0) Gecko/42.0 Firefox/42.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: qawanted
Whiteboard: [v2.2-nexus-5-l] → [v2.2-nexus-5-l][spark]
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
Assignee: gasolin → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: