Closed
Bug 1083454
Opened 10 years ago
Closed 10 years ago
Aborting marionette tests is causing bootup failure
Categories
(Firefox OS Graveyard :: Runtime, defect)
Tracking
(blocking-b2g:2.1+, firefox34 wontfix, firefox35 wontfix, firefox36 fixed, b2g-v2.0 unaffected, b2g-v2.1 fixed, b2g-v2.2 fixed)
People
(Reporter: anshulj, Assigned: fabrice)
References
Details
(Keywords: regression, Whiteboard: [caf priority: p2][CR 741218])
Attachments
(1 file)
1.06 KB,
patch
|
gwagner
:
review+
anshulj
:
feedback+
fabrice
:
approval-mozilla-b2g34+
|
Details | Diff | Splinter Review |
[Blocking Requested - why for this release]: This is causing a lot of grief as the only way to resolve the boot up issue is to reflash the build again.
STR.
1. Run a bath of marionette scripts one after the other
2. While the test is running, press ctrl + c to abort the test
3. Reboot the device
Observed: The phone get stuck on the firefox logo and I see the following error in the logs
0-15 13:41:45.906 I/Gecko ( 215): *************************
10-15 13:41:45.906 I/Gecko ( 215): A coding exception was thrown and uncaught in a Task.
10-15 13:41:45.906 I/Gecko ( 215):
10-15 13:41:45.906 I/Gecko ( 215): Full message: TypeError: invalid 'in' operand aManifest
10-15 13:41:45.906 I/Gecko ( 215): Full stack: this.DOMApplicationRegistry.updateDataStore@resource://gre/modules/Webapps.jsm:680:1
10-15 13:41:45.906 I/Gecko ( 215): this.DOMApplicationRegistry.updateDataStoreForApp<@resource://gre/modules/Webapps.jsm:380:1
10-15 13:41:45.906 I/Gecko ( 215): TaskImpl_run@resource://gre/modules/Task.jsm:314:40
10-15 13:41:45.906 I/Gecko ( 215): Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:865:23
10-15 13:41:45.906 I/Gecko ( 215): this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:744:7
10-15 13:41:45.906 I/Gecko ( 215):
10-15 13:41:45.906 I/Gecko ( 215): *************************
10-15 13:41:45.906 I/Gecko ( 215): *************************
10-15 13:41:45.906 I/Gecko ( 215): A coding exception was thrown and uncaught in a Task.
10-15 13:41:45.906 I/Gecko ( 215):
10-15 13:41:45.906 I/Gecko ( 215): Full message: TypeError: invalid 'in' operand aManifest
10-15 13:41:45.906 I/Gecko ( 215): Full stack: this.DOMApplicationRegistry.updateDataStore@resource://gre/modules/Webapps.jsm:680:1
10-15 13:41:45.906 I/Gecko ( 215): this.DOMApplicationRegistry.updateDataStoreForApp<@resource://gre/modules/Webapps.jsm:380:1
10-15 13:41:45.906 I/Gecko ( 215): TaskImpl_run@resource://gre/modules/Task.jsm:314:40
10-15 13:41:45.906 I/Gecko ( 215): Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:865:23
10-15 13:41:45.906 I/Gecko ( 215): this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:744:7
10-15 13:41:45.906 I/Gecko ( 215):
10-15 13:41:45.906 I/Gecko ( 215): *************************
10-15 13:41:45.916 E/GeckoConsole( 215): [JavaScript Error: "invalid 'in' operand aManifest" {file: "resource://gre/modules/Webapps.jsm" line: 680}]
Comment 2•10 years ago
|
||
qawanted to check 2.0 branch and confirm if we can reproduce on Flame.
Keywords: qawanted
Comment 3•10 years ago
|
||
Hi Tim, I don't see this is settings issue. Can you confirm and change to the right component? Thanks.
Flags: needinfo?(timdream)
Comment 5•10 years ago
|
||
(In reply to Anshul from comment #1)
> This issue is reproducible both on 2.1 and Moz central.
Does 2.0 run as expected?
Flags: needinfo?(anshulj)
Comment 7•10 years ago
|
||
This is either an FxOS: Runtime or DOM: Apps bug, judging by quick reading the log posted.
Component: Gaia::Settings → Runtime
Flags: needinfo?(timdream)
Updated•10 years ago
|
Whiteboard: [CR 741218]
Updated•10 years ago
|
Whiteboard: [CR 741218] → [caf priority: p2][CR 741218]
This is much more easily reproducible on moz central than it is on 2.1.
Comment 9•10 years ago
|
||
clearing QA-Wanted tag (which was addressed in comment 6) and setting appropriate tracking-flags
status-b2g-v2.0:
--- → unaffected
status-b2g-v2.1:
--- → affected
status-b2g-v2.2:
--- → affected
Keywords: qawanted
Updated•10 years ago
|
Keywords: regression
Comment 10•10 years ago
|
||
Hey James...should ownership of this bug fall on your team? If so, can we get assignee please :)...thanks!
Flags: needinfo?(jlal)
Comment 11•10 years ago
|
||
Maybe but this is really vague right now... The logs point to Webapps.jsm (which has nothing to do with marionette) and "marionette scripts" does not mean anything in particular.
Can we get an up to date STR with the actual test framework name and some details as to what is actually being done.
Flags: needinfo?(jlal)
Reporter | ||
Comment 12•10 years ago
|
||
I can also reproduce the issue if I run |flash gaia| command while the phone hasn't finished booting up. The issue is not 100% reproducible and takes a few attempt.
1. Run adb reboot
2. Before the homescreen shows up run |flash gaia|
3. Run adb reboot
Comment 13•10 years ago
|
||
Hi Fabrice,
Not sure who can look into this.
Could you forward to needinfo out?
Flags: needinfo?(fabrice.desre)
Assignee | ||
Comment 14•10 years ago
|
||
I was only able to reproduce once. This patch will prevent the error from happening, but I'm not sure this will lead to a sane boot anyway because this condition should not happen.
Anshulj, can you test with this patch?
Attachment #8510570 -
Flags: feedback?(anshulj)
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(fabrice.desre)
Reporter | ||
Comment 15•10 years ago
|
||
Comment on attachment 8510570 [details] [diff] [review]
restart-block.patch
This patch does fix the issue.
Attachment #8510570 -
Flags: feedback?(anshulj) → feedback+
Updated•10 years ago
|
Attachment #8510570 -
Flags: review+
Assignee | ||
Comment 16•10 years ago
|
||
Comment 17•10 years ago
|
||
Assignee: nobody → fabrice
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S8 (7Nov)
Comment 18•10 years ago
|
||
Please request b2g34 approval on this when you get a chance.
status-firefox34:
--- → wontfix
status-firefox35:
--- → wontfix
status-firefox36:
--- → fixed
Flags: needinfo?(fabrice)
Assignee | ||
Updated•10 years ago
|
Attachment #8510570 -
Flags: approval-mozilla-b2g34+
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(fabrice)
Comment 19•10 years ago
|
||
Comment 20•10 years ago
|
||
Unable to verify at this location as this issue involves an automated test.
QA Whiteboard: [QAnalyst-Triage?][QAnalyst-verify-]
Flags: needinfo?(ktucker)
Updated•10 years ago
|
QA Whiteboard: [QAnalyst-Triage?][QAnalyst-verify-] → [QAnalyst-Triage+][QAnalyst-verify-]
Flags: needinfo?(ktucker)
You need to log in
before you can comment on or make changes to this bug.
Description
•