Closed
Bug 941364
Opened 11 years ago
Closed 10 years ago
[Browser] Intermittent Travis Marionette JS Failure: "loads net_error.html from system"
Categories
(Firefox OS Graveyard :: Gaia::System, defect, P1)
Firefox OS Graveyard
Gaia::System
Tracking
(tracking-b2g:backlog)
RESOLVED
INVALID
tracking-b2g | backlog |
People
(Reporter: mikehenrty, Assigned: mikehenrty)
Details
(Keywords: intermittent-failure, Whiteboard: [systemsfe])
Attachments
(1 file)
Currently, in order to test when the app is closed we sleep 3 seconds, and test for the body element of the app. A better way to do it would be to wait for the iframe to go away.
Assignee | ||
Comment 1•11 years ago
|
||
see: https://github.com/mozilla-b2g/marionette-apps/blob/36bff7ec841d760ff8adcc6777b84373b4be46e9/lib/close.js#L46
Assignee | ||
Comment 2•11 years ago
|
||
Running travis 20x to see if it works.
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 8336261 [details] [review] Use waitFor instead of sleep 20/20 green, time for review.
Attachment #8336261 -
Flags: review?(jlal)
Comment 4•11 years ago
|
||
Comment on attachment 8336261 [details] [review] Use waitFor instead of sleep There where a few nits so I won't land anything but I wanted to r+ it for the record.
Attachment #8336261 -
Flags: review?(jlal) → review+
Assignee | ||
Comment 5•11 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/96099c481d6ef1b4d5094743ad4ead0aa21841a9
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•10 years ago
|
||
Had to skip this test again: 1) search navigate to invalid page (about:neterror) loads net_error.html from system: JavaScriptError: (17) UnknownError Remote Stack: @app://browser.gaiamobile.org/js/browser_db.js, line 393 at Error.MarionetteError (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13) at Object.Client._handleCallback (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19) at /home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21 at TcpSync.send (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10) at Object.send (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36) at Object.Client._sendCommand (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19) at Object._executeScript (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1448:19) at Object.executeAsyncScript (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1229:19) at Object.Client.waitForSync (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:674:14) at Object.Client.waitFor (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:648:60) at waitForAppSync (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/waitforapp.js:41:10) at waitForApp (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/waitforapp.js:23:5) at /home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/switchtoapp.js:25:12 at /home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/getapp.js:83:12 at Object.<anonymous> (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/mgmt.js:58:14) at Object.Client._handleCallback (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:482:23) at /home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21 at TcpSync.send (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10) at Object.send (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36) at Object.Client._sendCommand (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19) at Object._executeScript (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1448:19) at Object.executeAsyncScript (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1229:19) at Object.Mgmt.getAll (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/mgmt.js:37:19) at list (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/list.js:14:20) at getApp (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/getapp.js:45:10) at switchToApp (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/switchtoapp.js:20:10) at Object.Browser.backToApp (/home/travis/build/mozilla-b2g/gaia/apps/browser/test/marionette/lib/browser.js:104:22) at Context.<anonymous> (/home/travis/build/mozilla-b2g/gaia/apps/browser/test/marionette/navigate_test.js:95:17) at Test.Runnable.run (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:211:32) at Runner.runTest (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:372:10) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:448:12 at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:297:14) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:307:7 at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:245:23) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:269:7 at Hook.Runnable.run (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:213:5) at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:257:10) at Object._onImmediate (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:274:5) at processImmediate [as _immediateCallback] (timers.js:330:15)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•10 years ago
|
blocking-b2g: --- → backlog
Whiteboard: [systemsfe]
Assignee | ||
Updated•10 years ago
|
Comment 7•10 years ago
|
||
Am I right in thinking this test doesn't exist any more?
Flags: needinfo?(mhenretty)
Assignee | ||
Comment 8•10 years ago
|
||
Thanks for following up Ben. You are correct, this test is gone. net_error tests for the old browser should be migrated over to the system app.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 10 years ago
Flags: needinfo?(mhenretty)
Resolution: --- → INVALID
Updated•9 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•