Closed Bug 1088708 Opened 6 years ago Closed 6 years ago

Intermittent testOSLocale | GeckoEventExpecter - blockForEvent timeout: Gecko:DelayedStartup


(Firefox for Android Graveyard :: Testing, defect)

Not set


(Not tracked)



(Reporter: cbook, Unassigned)




(Keywords: intermittent-failure, Whiteboard: [test disabled on Android x86])

Android 4.2 x86 Emulator mozilla-inbound opt test androidx86-set-4

07:31:35 WARNING - TEST-UNEXPECTED-FAIL | testOSLocale | GeckoEventExpecter - blockForEvent timeout: Gecko:DelayedStartup
This implies that Fennec didn't successfully start within some long duration (30 seconds? 60?), that it was already started by the time Robocop ran (which should not be the case), or that our testing event expecter didn't work correctly.

This is the first wait in the test, so I feel quite comfortable not pointing the finger at the test itself!
Component: General → Testing
Something in infra-land made this go perma-fail across all trees today. Disabled while gbrown investigates.
Assignee: nobody → ryanvm
Whiteboard: [test disabled on Android x86]
Assignee: ryanvm → nobody
Comparing a failed logcat:

to an older success:

what I note is that BaseTest.setUp() took longer to run in the failure case: it looks likely that the failed testOSLocale started waiting for DelayedStartup after the event was already sent.

I am not sure what would change the timing of BaseTest.setUp(). I particularly don't see any recent changes on aurora/beta that might be related. For infra, maybe the hostutils update? Also, setUp() does an http there is a dependency on network performance (between the device and the test slave).

It would be nice if blockForDelayedStartup had a guard against event racing, similar to what is in blockForGeckoReady.
In bug 1094649 I tried using blockForDelayedStartup in more tests (all JavascriptTest tests) and hit this bug frequently on x86 -
See Also: → 1094649
Robocop tests are no longer scheduled on the Android x86 emulator -- bug 1132209.
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.