Closed
Bug 1062671
Opened 11 years ago
Closed 10 years ago
Marionette failed to detect the crash on b2g emulator
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: TYLin, Unassigned)
Details
(Keywords: pi-marionette-runner)
In this log, mariontette reported IOError, but it was actually a segmentation fault caught locally by gdb [2].
07:50:56 ERROR - TEST-UNEXPECTED-ERROR | test_touchcaret.py TouchCaretTest.test_contenteditable_move_caret_to_the_right_by_one_character | IOError: Connection to Marionette server is lost. Check gecko.log (desktop firefox) or logcat (b2g) for errors.
07:50:56 INFO - Traceback (most recent call last):
07:50:56 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette_test.py", line 171, in run
07:50:56 INFO - testMethod()
07:50:56 INFO - File "/builds/slave/test/build/tests/marionette/tests/layout/base/tests/marionette/test_touchcaret.py", line 266, in test_contenteditable_move_caret_to_the_right_by_one_character
07:50:56 INFO - self._test_move_caret_to_the_right_by_one_character(self._contenteditable, self.assertEqual)
07:50:56 INFO - File "/builds/slave/test/build/tests/marionette/tests/layout/base/tests/marionette/test_touchcaret.py", line 89, in _test_move_caret_to_the_right_by_one_character
07:50:56 INFO - touch_caret1_x, touch_caret1_y).perform()
07:50:56 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette.py", line 411, in perform
07:50:56 INFO - self.current_id = self.marionette._send_message('actionChain', 'value', chain=self.action_chain, nextId=self.current_id)
07:50:56 INFO - File "/builds/slave/test/build/tests/marionette/marionette/decorators.py", line 35, in _
07:50:56 INFO - return func(*args, **kwargs)
07:50:56 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette.py", line 615, in _send_message
07:50:56 INFO - response = self.client.send(message)
07:50:56 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_transport/transport.py", line 101, in send
07:50:56 INFO - response = self.receive()
07:50:56 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_transport/transport.py", line 58, in receive
07:50:56 INFO - raise IOError(self.connection_lost_msg)
07:50:56 INFO - TEST-INFO expected PASS | took 8367ms
07:50:57 ERROR - test_end for test_touchcaret.py TouchCaretTest.test_contenteditable_move_caret_to_the_right_by_one_character logged while not in progress. Logged with data: {"status": "ERROR", "test": "test_touchcaret.py TouchCaretTest.test_contenteditable_move_caret_to_the_right_by_one_character", "message": "Traceback (most recent call last):\n File \"/builds/slave/test/build/tests/marionette/marionette/marionette_test.py\", line 199, in run\n self.tearDown()\n File \"/builds/slave/test/build/tests/marionette/tests/layout/base/tests/marionette/test_touchcaret.py\", line 26, in tearDown\n self.expiration_time = self.original_expiration_time\n File \"/builds/slave/test/build/tests/marionette/tests/layout/base/tests/marionette/test_touchcaret.py\", line 40, in expiration_time\n script_args=[expiration_time])\n File \"/builds/slave/test/build/tests/marionette/marionette/marionette.py\", line 1203, in execute_script\n filename=os.path.basename(frame[0]))\n File \"/builds/slave/test/build/tests/marionette/marionette/decorators.py\", line 35, in _\n return func(*args, **kwargs)\n File \"/builds/slave/test/build/tests/marionette/marionette/marionette.py\", line 615, in _send_message\n response = self.client.send(message)\n File \"/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_transport/transport.py\", line 101, in send\n response = self.receive()\n File \"/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_transport/transport.py\", line 58, in receive\n raise IOError(self.connection_lost_msg)\nIOError: Connection to Marionette server is lost. Check gecko.log (desktop firefox) or logcat (b2g) for errors.\n", "expected": "PASS", "extra": {}}
[1] https://tbpl.mozilla.org/?tree=Try&rev=5635d88cfac6
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1057256#c0
Comment 1•11 years ago
|
||
It appears that check_for_crashes is not detecting the crash for some reason. Can you confirm that there was a crash dump in the minidumps folder within the profile on the emulator? Are you still able to reproduce this crash at all?
Flags: needinfo?(tlin)
Reporter | ||
Comment 2•11 years ago
|
||
I don't know how to check there was a crash dump on emulator. However, it's still reproducible on try by reverting my changes to fix the crash
https://tbpl.mozilla.org/?tree=Try&rev=d3bf9bcbaef0
Flags: needinfo?(tlin)
Comment 3•11 years ago
|
||
(In reply to Ting-Yu Lin [:TYLin] (UTC+8) from comment #2)
> I don't know how to check there was a crash dump on emulator. However, it's
> still reproducible on try by reverting my changes to fix the crash
> https://tbpl.mozilla.org/?tree=Try&rev=d3bf9bcbaef0
If there's a crash I believe we should have a 'minidumps' folder in the profile containing a .dmp crash dump file.
![]() |
||
Updated•11 years ago
|
Keywords: ateam-marionette-runner
![]() |
||
Comment 4•10 years ago
|
||
Closed because of bug 1149887
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•