Closed Bug 1226578 Opened 9 years ago Closed 6 years ago

Intermittent: MarionetteException: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIMessageSender.sendAsyncMessage]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://marionette/conte

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jlorenzo, Unassigned)

Details

(Keywords: intermittent-failure, Whiteboard: [fromTreeherder])

It might be a memory issue. So bug 1225458 would fix it.

[34m83:28.59(B[m [33mTEST_START(B[m: MainThread test_gallery_switch_to_camera.py TestGallery.test_gallery_switch_to_camera
[34m85:57.73(B[m LOG: MainThread [33mWARNING(B[m Failed to gather test failure debug.
Traceback (most recent call last):

  File "/home/worker/gaia/source/tests/python/gaia-ui-tests/gaiatest/runtests.py", line 61, in gather_debug
    marionette.switch_to_frame()

  File "/usr/local/lib/python2.7/dist-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/marionette.py", line 1389, in switch_to_frame
    self._send_message("switchToFrame", body)

  File "/usr/local/lib/python2.7/dist-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/decorators.py", line 36, in _
    return func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/marionette.py", line 716, in _send_message
    self._handle_error(resp)

  File "/usr/local/lib/python2.7/dist-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/marionette.py", line 770, in _handle_error
    raise errors.lookup(error)(message, stacktrace=stacktrace)

NoSuchWindowException: NoSuchWindowException: None
Actually, the stacktrace continues to:

[34m85:59.91(B[m [31mTEST_END(B[m: MainThread ERROR, expected PASS
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/marionette_client-1.0.0-py2.7.egg/marionette/marionette_test.py", line 296, in run
    testMethod()
  File "/home/worker/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/gallery/test_gallery_switch_to_camera.py", line 50, in test_gallery_switch_to_camera
    self.preview.tap_switch_to_gallery()
  File "/home/worker/gaia/source/tests/python/gaia-ui-tests/gaiatest/apps/camera/app.py", line 231, in tap_switch_to_gallery
    gallery_app.wait_to_be_displayed()
  File "/home/worker/gaia/source/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 129, in wait_to_be_displayed
    Wait(self.marionette).until(lambda m: self.is_displayed == True)
  File "/usr/local/lib/python2.7/dist-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/wait.py", line 122, in until
    rv = condition(self.marionette)
  File "/home/worker/gaia/source/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 129, in <lambda>
    Wait(self.marionette).until(lambda m: self.is_displayed == True)
  File "/home/worker/gaia/source/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 125, in is_displayed
    return (self.apps.displayed_app.manifest_url == self.manifest_url and
  File "/home/worker/gaia/source/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 117, in displayed_app
    self.marionette.switch_to_frame()
  File "/usr/local/lib/python2.7/dist-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/marionette.py", line 1389, in switch_to_frame
    self._send_message("switchToFrame", body)
  File "/usr/local/lib/python2.7/dist-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/decorators.py", line 36, in _
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/marionette.py", line 716, in _send_message
    self._handle_error(resp)
  File "/usr/local/lib/python2.7/dist-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/marionette.py", line 770, in _handle_error
    raise errors.lookup(error)(message, stacktrace=stacktrace)
MarionetteException: MarionetteException: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIMessageSender.sendAsyncMessage]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://marionette/content/driver.js :: GeckoDriver.prototype.sendAsync :: line 234"  data: no]
Summary: Intermittent: NoSuchWindowException: None on test_gallery_switch_to_camera.py → Intermittent: MarionetteException: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIMessageSender.sendAsyncMessage]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://marionette/conte
Closing all intermittent test failures for Firefox OS (since we're not focusing on it anymore).

Please reopen if my search included your bug by mistake.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.