Closed Bug 1194280 Opened 9 years ago Closed 9 years ago

[raptor] Write a Marionette test with Raptor to set mozSettings will freeze the device (Flame)

Categories

(Firefox OS Graveyard :: Gaia::PerformanceTest, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: gweng, Unassigned)

Details

Attachments

(1 file)

I've found that if I port the existing Marionette test with setting some mozSettings, the device will be frozen (just like my attachment). And the console reports it's 

> Polling socket recv() timeout!

I've test it with only other behaviors without setting mozSettings. It worked fine, even with the `execAsyncScript`. So I really don't know where I could star to fix it.
And another reason I feel it's hard to debug is because I don't know how to set the VERBOSE flag of marionette as true, which can print extra `console.log` to help us to debug. From Raptor's MDN page and the attempts I've tried it just doesn't work.
CC Bobby and NI Eli.
Flags: needinfo?(eperelman)
I may prepare more logs and video ASAP. Meanwhile it's really easy to reproduce it with the test I've attached. Maybe the test is with some flaw to freeze the device, but I'm not sure. Partly because it's from a marionette test that works well (or the "well" actually means the problems are covered).
Using the following gist I can get past the socket timeout error, but once the lock is set, the screen locks, and the result never seems to hit onsuccess/onerror, and everything hangs.

https://gist.github.com/eliperelman/dc7c55d3ff9eb4bd63e4
Flags: needinfo?(eperelman)
Thanks Eli. Since the alternative works well and doesn't reproduce the bug, I close it now.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: