Closed Bug 1035273 Opened 10 years ago Closed 9 years ago

Message app fails to launch when running Mulet and UI tests NS_ERROR_FILE_NOT_FOUND: mobilemessage.js:44

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zcampbell, Unassigned)

References

Details

Attachments

(1 file)

Attached file jsconsole_log.txt
When running the Messages app in Mulet this error occurs.

The Messages app is unresponsive and does not work at all, manually or controlled by the test.

This test/app is fine on TBPL now with desktopb2g so this seems to be related to Mulet perhaps?


STR are best achieved by following the instructions in Bug 1030679 and adding gaiatest/tests/functional/messages/test_sms_add_contact.py to just run that test.
As explained on IRC, this file is loaded here:

https://github.com/mozilla-b2g/gaia/blob/b2ee97f3f2bb968b915e5be49f5353dd69e46e73/apps/sms/js/startup.js#L82-L90

I think mobilemessage.js is loaded in B2G Desktop too

mobilemessage.js is trying to load data files that are in /test/unit.

On B2G Desktop, I think we're using a "DEBUG=1 DESKTOP=0" profile, that loads httpd.js and make it possible to run the app. So the shim works, and can load the data files that are in /test/unit.

Nou we'll need to understand why this doesn't work in Mulet, I really have no clue.
nah on Travis and TBPL and ui-tests and desktopb2g we build the Gaia profile with just 'make' , no extra flags. This code works fine there.
I don't know how much it may be related, but I see a similar error on devtools integration tests when running them with mulet:

    1) Dev Tools server is running and listening:
       
    JavaScriptError: (17) [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame   :: dummy file :: func/< :: line 1"  data: no] 
    Remote Stack:
    execute_script @undefined, line undefined
        at Error.MarionetteError (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13)
        at Object.Client._handleCallback (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:476:19)
        at /home/alex/codaz/Mozilla/b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:510:21
        at TcpSync.send (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:100:10)
        at Object.send (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:457:36)
        at Object.Client._sendCommand (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:503:19)
        at Object._executeScript (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1468:19)
        at Object.executeScript (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:1208:19)
        at Context.<anonymous> (/home/alex/codaz/Mozilla/b2g/gaia/tests/integration/devtools/server_test.js:24:39)
        at callFn (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runnable.js:223:21)
        at Test.Runnable.run (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runnable.js:216:7)
        at Runner.runTest (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runner.js:373:10)
        at /home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runner.js:451:12
        at next (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runner.js:298:14)
        at /home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runner.js:308:7
        at next (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runner.js:246:23)
        at /home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runner.js:270:7
        at done (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runnable.js:185:5)
        at callFn (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runnable.js:228:7)
        at Hook.Runnable.run (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runnable.js:216:7)
        at next (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runner.js:258:10)
        at /home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runner.js:270:7
        at done (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runnable.js:185:5)
        at /home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/runnable.js:199:9
        at Object.executeHook (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:369:18)
        at process._tickCallback (node.js:419:13)
Blocks: 1110839
Still hitting this ?
Flags: needinfo?(poirot.alex)
Flags: needinfo?(poirot.alex)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: