Closed Bug 905324 Opened 11 years ago Closed 6 years ago

Intermittent B2G mochitest "AssertionError: Timed out waiting for port!"

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: RyanVM, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [leave open])

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=26540559&tree=B2g-Inbound

b2g_emulator_vm b2g-inbound opt test mochitest-2 on 2013-08-14 08:16:51 PDT for push 74f9e817d079
slave: tst-linux64-ec2-024

08:18:20     INFO -  '__GL_YIELD': 'NOTHING'}
08:18:20     INFO -  /builds/slave/test/build/venv/local/lib/python2.7/site-packages/mozrunner/utils.py:20: UserWarning: Module manifestparser was already imported from /builds/slave/test/build/tests/mochitest/manifestparser.py, but /builds/slave/test/build/venv/lib/python2.7/site-packages is being added to sys.path
08:18:20     INFO -    import pkg_resources
08:23:44     INFO -  Traceback (most recent call last):
08:23:44     INFO -    File "runtestsb2g.py", line 360, in <module>
08:23:44     INFO -      main()
08:23:44     INFO -    File "runtestsb2g.py", line 357, in main
08:23:44     INFO -      run_remote_mochitests(parser, options)
08:23:44     INFO -    File "runtestsb2g.py", line 287, in run_remote_mochitests
08:23:44     INFO -      marionette = Marionette.getMarionetteOrExit(**kwargs)
08:23:44     INFO -    File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette.py", line 292, in getMarionetteOrExit
08:23:44     INFO -      m = cls(*args, **kwargs)
08:23:44     INFO -    File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette.py", line 253, in __init__
08:23:44     INFO -      assert(self.emulator.wait_for_port())
08:23:44     INFO -  AssertionError
08:23:45    ERROR - Return code: 256
Summary: Intermittent B2G mochitest-2 "ERROR - Return code: 256" after AssertionError from "assert(self.emulator.wait_for_port())" → Intermittent B2G mochitest "ERROR - Return code: 256" after AssertionError from "assert(self.emulator.wait_for_port())"
Depends on: 907925
Tweaking summary now that bug 907925 has landed + merged around.
Summary: Intermittent B2G mochitest "ERROR - Return code: 256" after AssertionError from "assert(self.emulator.wait_for_port())" → Intermittent B2G mochitest "AssertionError: Timed out waiting for port!"
The emulator isn't successfully starting up in these failures.

One thing I see in this log that I don't see in a successful one is:

14:29:11     INFO -  08-22 21:24:07.279    40    40 I ServiceManager: Waiting to check permission android.permission.MODIFY_AUDIO_SETTINGS from uid=0 pid=45

Does this ring any bells to anyone?
Sounds like audioflinger might be having issues trying to start up. We use fakeperm to grant permission to everything across the board though - is fakeperm running? What's pid 45?
There are at least some occurrences of this bug where it appears that the emulator is just starting up slowly, so that the 30s default timeout in wait_for_port gets triggered.  Changing that to 60s may help, but it won't resolve all these instances, since in some it appears that the emulator doesn't start up at all.
Attachment #8337873 - Flags: review?(ahalberstadt)
Assignee: nobody → jgriffin
Attachment #8337873 - Flags: review?(ahalberstadt) → review+
I'm going to add some logging to wait_for_port so I can correlate with what's happening in that method with the logcat.
We haven't had any occurrences of this in two weeks, apparently, so I'm unassigning myself and will look at it again if it reappears.
Assignee: jgriffin → nobody
Comment 395 and below from yesterday are gaia ui tests. Logcat for many of those runs looks something like this:

1418421061052	Marionette	INFO	marionette enabled via build flag and pref
[2595] ###!!! ABORT: LoadSheetSync failed with error 80040111 loading built-in stylesheet 'resource://gre-resources/counterstyles.css': file /builds/slave/m-in-osx64_g-00000000000000000/build/layout/style/nsLayoutStylesheetCache.cpp, line 374
[2595] ###!!! ABORT: LoadSheetSync failed with error 80040111 loading built-in stylesheet 'resource://gre-resources/counterstyles.css': file /builds/slave/m-in-osx64_g-00000000000000000/build/layout/style/nsLayoutStylesheetCache.cpp, line 374
Bug 1108271 might be related.
See Also: → 1108271
See Also: → 1124567
See Also: 1108271
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.

Attachment

General

Created:
Updated:
Size: