Closed Bug 1036053 Opened 6 years ago Closed 6 years ago

Intermittent failing test, TEST-UNEXPECTED-FAIL | /builds/slave/test/gaia/apps/verticalhome/test/marionette/app_uninstall_pending_test.js

Categories

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

x86
macOS
defect
Not set

Tracking

(b2g-v2.0 fixed, b2g-v2.1 fixed)

RESOLVED FIXED
2.0 S6 (18july)
Tracking Status
b2g-v2.0 --- fixed
b2g-v2.1 --- fixed

People

(Reporter: kgrandon, Assigned: kgrandon)

Details

(Whiteboard: [p=2],[systemsfe])

Attachments

(1 file)

46 bytes, text/x-github-pull-request
kgrandon
: review+
Details | Review
This is the same problem we've run into before, the homescreen gets into a weird state when apps are installed before it's launched.

Vertical - App uninstall while pending "before each" hook:
13:13:34     INFO -    JavaScriptError: (17) TypeError: manifest is undefined at: app://verticalhome.gaiamobile.org/js/sources/application.js line: 144
13:13:34     INFO -    Remote Stack:
13:13:34     INFO -    <none>
13:13:34     INFO -        at Error.MarionetteError (/builds/slave/test/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13)
13:13:34     INFO -        at Object.Client._handleCallback (/builds/slave/test/gaia/node_modules/marionette-client/lib/marionette/client.js:476:19)
13:13:34     INFO -        at /builds/slave/test/gaia/node_modules/marionette-client/lib/marionette/client.js:510:21
13:13:34     INFO -        at TcpSync.send (/builds/slave/test/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:100:10)
13:13:34     INFO -        at Object.send (/builds/slave/test/gaia/node_modules/marionette-client/lib/marionette/client.js:457:36)
13:13:34     INFO -        at Object.Client._sendCommand (/builds/slave/test/gaia/node_modules/marionette-client/lib/marionette/client.js:503:19)
13:13:34     INFO -        at Object._executeScript (/builds/slave/test/gaia/node_modules/marionette-client/lib/marionette/client.js:1468:19)
13:13:34     INFO -        at Object.executeAsyncScript (/builds/slave/test/gaia/node_modules/marionette-client/lib/marionette/client.js:1249:19)
13:13:34     INFO -        at getHomescreen (/builds/slave/test/gaia/node_modules/marionette-apps/lib/launch.js:9:20)
13:13:34     INFO -        at launch (/builds/slave/test/gaia/node_modules/marionette-apps/lib/launch.js:47:23)
13:13:34     INFO -        at Context.<anonymous> (/builds/slave/test/gaia/apps/verticalhome/test/marionette/app_uninstall_pending_test.js:45:17)
13:13:34     INFO -        at callFn (/builds/slave/test/gaia/node_modules/mocha/lib/runnable.js:223:21)
13:13:34     INFO -        at Hook.Runnable.run (/builds/slave/test/gaia/node_modules/mocha/lib/runnable.js:216:7)
13:13:34     INFO -        at next (/builds/slave/test/gaia/node_modules/mocha/lib/runner.js:258:10)
13:13:34     INFO -        at /builds/slave/test/gaia/node_modules/mocha/lib/runner.js:270:7
13:13:34     INFO -        at done (/builds/slave/test/gaia/node_modules/mocha/lib/runnable.js:185:5)
13:13:34     INFO -        at /builds/slave/test/gaia/node_modules/mocha/lib/runnable.js:199:9
13:13:34     INFO -        at /builds/slave/test/gaia/apps/verticalhome/test/marionette/app_uninstall_pending_test.js:26:7
13:13:34     INFO -        at ChildProcess.<anonymous> (/builds/slave/test/gaia/apps/verticalhome/test/marionette/server/parent.js:183:5)
13:13:34     INFO -        at ChildProcess.EventEmitter.emit (events.js:98:17)
13:13:34     INFO -        at handleMessage (child_process.js:318:10)
13:13:34     INFO -        at Pipe.channel.onread (child_process.js:345:11)
Attached file Github pull request
Comment on attachment 8452613 [details] [review]
Github pull request

This is basically copying the boilerplate setup from app_uninstall_test.js, r=me.
Attachment #8452613 - Flags: review+
Master: https://github.com/mozilla-b2g/gaia/commit/88dcf828237db7b699cbbcfa3e322596f7a7a626
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
a=tests
v2.0: 8c35ea89d9cbcd8a60e46cc9ac05710d9189df0e
You need to log in before you can comment on or make changes to this bug.