Closed
Bug 936485
Opened 11 years ago
Closed 10 years ago
[system] Intermittent Travis Marionette JS Failure: Notification.get(): notifications should persist even after closing app: Error: timeout exceeded!
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: julienw, Assigned: mikehenrty)
References
Details
(Whiteboard: [systemsfe])
Attachments
(2 files)
1) Notification.get(): notifications should persist even after closing app: Error: timeout exceeded! at Object.Client.waitForSync (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:677:16) at Object.Client.waitFor (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:646:60) at Object.waitUntilClosed (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/close.js:46:12) at Object.Client._handleCallback (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:480:23) at /home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:506: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:453:36) at Object.Client._sendCommand (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:499:19) at Object.switchToFrame (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:868:19) at Object.switchToRoot (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/close.js:35:12) at Object.Client._handleCallback (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:480:23) at /home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:506: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:453:36) at Object.Client._sendCommand (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:499:19) at Object._executeScript (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1446:19) at Object.executeScript (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1186:19) at /home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/close.js:73:19 at Object.<anonymous> (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/switchtoapp.js:31:16) at Object.Client._handleCallback (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:480:23) at /home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:506: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:453:36) at Object.Client._sendCommand (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:499:19) at Object.switchToFrame (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:868:19) at /home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/switchtoapp.js:30:21 at waitForAppSync (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/waitforapp.js:45:15) 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:480:23) at /home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:506: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:453:36) at Object.Client._sendCommand (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:499:19) at Object._executeScript (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1446:19) at Object.executeAsyncScript (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1227: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 close (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-apps/lib/close.js:65:10) at Context.<anonymous> (/home/travis/build/mozilla-b2g/gaia/apps/system/test/marionette/notification_get_test.js:171:17)
Updated•11 years ago
|
Whiteboard: [systemsfe]
Assignee | ||
Comment 1•11 years ago
|
||
How often are we seeing this happening? Is it worth skipping this test for now until we can figure out what's going on? Also, it looks like the timeout occurs on an `client.apps.close` call. Perhaps we can increase the timeout for this.
Assignee: nobody → mhenretty
Flags: needinfo?(felash)
Reporter | ||
Comment 2•11 years ago
|
||
Travis and TBPL runs in very constrained VMs, so it probably makes sense to increase the default timeout for async operations, yes. Please increase them a lot ;) I don't like intermittent, especially stupid ones like this one!
Flags: needinfo?(felash)
Assignee | ||
Comment 3•11 years ago
|
||
Increasing waitFor timeout from 10 to 20 seconds should help with some of the intermittent issues.
Attachment #831008 -
Flags: review?
Assignee | ||
Comment 4•11 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/31e549b4b672cf6491cbf73da8039873d618c798 Let's see if we see this issue again before closing the bug.
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 831008 [details] [review] GH PR, increase waitFor timeout lightsofapollo gave his blessing over IRC :)
Attachment #831008 -
Flags: review? → review+
Assignee | ||
Comment 6•11 years ago
|
||
Still seeing this issue. Will need to increase timeout again.
Assignee | ||
Comment 7•10 years ago
|
||
All notification.get tests were disabled in bug 952611 because of this bug. So I will use this bug to re-enable those tests.
Assignee | ||
Comment 8•10 years ago
|
||
20 runs, 20 greens: https://travis-ci.org/mozilla-b2g/gaia/builds/16884570 I think we are ready to re-enable these.
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8359331 [details] [review] Re-enable tests Gareth, can I have your blessing to put these back?
Attachment #8359331 -
Flags: review?(gaye)
Updated•10 years ago
|
Attachment #8359331 -
Flags: review?(gaye) → review+
Assignee | ||
Comment 10•10 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/4447def31a77fbeee05cf9d96d1de6651aa715fe
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•