Intermittent test_about_pages.py TestAboutPages.test_type_to_non_remote_tab | IOError: Connection to Marionette server is lost. Check gecko.log (desktop firefox) or logcat (b2g) for errors.

RESOLVED FIXED in Firefox 44

Status

RESOLVED FIXED
4 years ago
3 years ago

People

(Reporter: RyanVM, Assigned: chmanchester)

Tracking

(Blocks: 1 bug, {crash, intermittent-failure})

unspecified
mozilla44
x86
Linux
crash, intermittent-failure
Points:
---

Firefox Tracking Flags

(e10s+, firefox44 fixed)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
We had another one like this a couple days ago. Sadly not a one-off :(

19:26:27 INFO - TEST-START | test_about_pages.py TestAboutPages.test_type_to_non_remote_tab
19:38:29 INFO - Failed to gather test failure debug.
19:38:29 INFO - Traceback (most recent call last):
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/runner/base.py", line 571, in gather_debug
19:38:29 INFO - rv['source'] = marionette.page_source
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1170, in page_source
19:38:29 INFO - response = self._send_message('getPageSource', 'value')
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/decorators.py", line 36, in _
19:38:29 INFO - return func(*args, **kwargs)
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/marionette.py", line 692, in _send_message
19:38:29 INFO - response = self.client.send(message)
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_transport/transport.py", line 117, in send
19:38:29 INFO - response = self.receive()
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_transport/transport.py", line 73, in receive
19:38:29 INFO - raise IOError(self.connection_lost_msg)
19:38:29 ERROR - IOError: Connection to Marionette server is lost. Check gecko.log (desktop firefox) or logcat (b2g) for errors.
19:38:29 ERROR - TEST-UNEXPECTED-ERROR | test_about_pages.py TestAboutPages.test_type_to_non_remote_tab | IOError: Connection to Marionette server is lost. Check gecko.log (desktop firefox) or logcat (b2g) for errors.
19:38:29 INFO - Traceback (most recent call last):
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py", line 296, in run
19:38:29 INFO - testMethod()
19:38:29 INFO - File "/builds/slave/test/build/tests/marionette/tests/testing/marionette/client/marionette/tests/unit/test_about_pages.py", line 64, in test_type_to_non_remote_tab
19:38:29 INFO - self.wait_for_condition(lambda mn: mn.get_url() == "about:preferences")
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py", line 705, in wait_for_condition
19:38:29 INFO - value = method(self.marionette)
19:38:29 INFO - File "/builds/slave/test/build/tests/marionette/tests/testing/marionette/client/marionette/tests/unit/test_about_pages.py", line 64, in <lambda>
19:38:29 INFO - self.wait_for_condition(lambda mn: mn.get_url() == "about:preferences")
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1300, in get_url
19:38:29 INFO - response = self._send_message("getCurrentUrl", "value")
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/decorators.py", line 36, in _
19:38:29 INFO - return func(*args, **kwargs)
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/marionette.py", line 692, in _send_message
19:38:29 INFO - response = self.client.send(message)
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_transport/transport.py", line 117, in send
19:38:29 INFO - response = self.receive()
19:38:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_transport/transport.py", line 73, in receive
19:38:29 INFO - raise IOError(self.connection_lost_msg)
19:38:29 INFO - TEST-INFO took 721394ms
19:50:29 INFO - Failed to gather test failure debug.
19:50:29 INFO - Traceback (most recent call last):
19:50:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/runner/base.py", line 571, in gather_debug
19:50:29 INFO - rv['source'] = marionette.page_source
19:50:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1170, in page_source
19:50:29 INFO - response = self._send_message('getPageSource', 'value')
19:50:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/decorators.py", line 36, in _
19:50:29 INFO - return func(*args, **kwargs)
19:50:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/marionette.py", line 692, in _send_message
19:50:29 INFO - response = self.client.send(message)
19:50:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_transport/transport.py", line 117, in send
19:50:29 INFO - response = self.receive()
19:50:29 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_transport/transport.py", line 73, in receive
19:50:29 INFO - raise IOError(self.connection_lost_msg)
19:50:29 ERROR - IOError: Connection to Marionette server is lost. Check gecko.log (desktop firefox) or logcat (b2g) for errors.
Comment hidden (Treeherder Robot)
Blocks: 984139
tracking-e10s: ? → +
(Assignee)

Updated

4 years ago
Assignee: nobody → cmanchester
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 54

3 years ago
Created attachment 8665796 [details]
MozReview Request: Bug 1184507 - Disable TestAboutPages:test_type_to_non_remote_tab for being racy. r=ato

Bug 1184507 - Disable TestAboutPages:test_type_to_non_remote_tab for being racy. r=ato

This test sends keys to the urlbar causing a page navigation, then waits on
the current url to confirm the navigation is reflected. Because the navigation
changes remoteness, the url check and loading the content listener in the
new process race. When the url check wins, it causes a hang by sending a
message before the frame script to receive it loads.

This is a very specific scenario that only impacts tests that need to cause
navigation to in-process pages with key events. If these sort of tests
become a priority, this will need to be revisited.
Attachment #8665796 - Flags: review?(ato)
Comment hidden (Treeherder Robot)
Comment on attachment 8665796 [details]
MozReview Request: Bug 1184507 - Disable TestAboutPages:test_type_to_non_remote_tab for being racy. r=ato

https://reviewboard.mozilla.org/r/20357/#review18301
Attachment #8665796 - Flags: review?(ato) → review+
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
https://hg.mozilla.org/mozilla-central/rev/29e88f597e0e
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox44: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Comment hidden (Intermittent Failures Robot)
You need to log in before you can comment on or make changes to this bug.