Closed Bug 966827 Opened 12 years ago Closed 10 years ago

Intermittent testNewTab | GeckoEventExpecter - blockForEvent timeout: Content:PageShow

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure)

+++ This bug was initially created as a clone of Bug #966788 +++ +++ This bug was initially created as a clone of Bug #965748 +++ https://tbpl.mozilla.org/php/getParsedLog.php?id=33982408&tree=Mozilla-Inbound Android 4.0 Panda mozilla-inbound opt test robocop-3 on 2014-02-02 15:09:39 PST for push 8e12c0f1a72c slave: panda-0037 15:27:54 INFO - 2 INFO TEST-UNEXPECTED-FAIL | testNewTab | GeckoEventExpecter - blockForEvent timeout: Gecko:Ready 15:27:54 INFO - Exception caught during test! 15:27:54 INFO - junit.framework.AssertionFailedError: 2 INFO TEST-UNEXPECTED-FAIL | testNewTab | GeckoEventExpecter - blockForEvent timeout: Gecko:Ready 15:27:54 INFO - at junit.framework.Assert.fail(Assert.java:47) 15:27:54 INFO - at org.mozilla.gecko.FennecMochitestAssert._logMochitestResult(FennecMochitestAssert.java:110) 15:27:54 INFO - at org.mozilla.gecko.FennecMochitestAssert.ok(FennecMochitestAssert.java:139) 15:27:54 INFO - at org.mozilla.gecko.FennecNativeActions$GeckoEventExpecter.blockForEvent(FennecNativeActions.java:103) 15:27:54 INFO - at org.mozilla.gecko.FennecNativeActions$GeckoEventExpecter.blockForEvent(FennecNativeActions.java:87) 15:27:54 INFO - at org.mozilla.gecko.tests.BaseTest.blockForGeckoReady(BaseTest.java:85) 15:27:54 INFO - at org.mozilla.gecko.tests.testNewTab.testNewTab(testNewTab.java:24) 15:27:54 INFO - at java.lang.reflect.Method.invokeNative(Native Method) 15:27:54 INFO - at java.lang.reflect.Method.invoke(Method.java:511) 15:27:54 INFO - at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214) 15:27:54 INFO - at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199) 15:27:54 INFO - at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192) 15:27:54 INFO - at org.mozilla.gecko.tests.BaseTest.runTest(BaseTest.java:160) 15:27:54 INFO - at junit.framework.TestCase.runBare(TestCase.java:127) 15:27:54 INFO - at junit.framework.TestResult$1.protect(TestResult.java:106) 15:27:54 INFO - at junit.framework.TestResult.runProtected(TestResult.java:124) 15:27:54 INFO - at junit.framework.TestResult.run(TestResult.java:109) 15:27:54 INFO - at junit.framework.TestCase.run(TestCase.java:118) 15:27:54 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169) 15:27:54 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154) 15:27:54 INFO - at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:545) 15:27:54 INFO - at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551) 15:27:54 INFO - 3 INFO TEST-UNEXPECTED-FAIL | testNewTab | Exception caught - junit.framework.AssertionFailedError: 2 INFO TEST-UNEXPECTED-FAIL | testNewTab | GeckoEventExpecter - blockForEvent timeout: Gecko:Ready 15:27:54 INFO - 4 INFO TEST-END | testNewTab | finished in 91687ms
Depends on: 959254
15:27:55 INFO - 02-02 15:26:20.296 D/Robocop ( 2167): waiting for Gecko:Ready 15:27:55 INFO - 02-02 15:26:20.367 I/GeckoDistribution( 2167): Getting file from distribution. 15:27:55 INFO - 02-02 15:26:20.554 E/GeckoJNI( 2167): missing NSS_Initialize 15:27:55 INFO - 02-02 15:26:20.554 E/GeckoLibLoad( 2167): Throw 15:27:55 INFO - 02-02 15:26:20.554 E/GeckoLibLoad( 2167): Load nss done 15:27:55 INFO - 02-02 15:26:20.554 W/dalvikvm( 2167): threadid=15: thread exiting with uncaught exception (group=0x40b651f8) 15:27:55 INFO - 02-02 15:26:20.554 E/GeckoAppShell( 2167): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 94 ("Gecko") 15:27:55 INFO - 02-02 15:26:20.554 E/GeckoAppShell( 2167): java.lang.Exception: Error loading nss libraries 15:27:55 INFO - 02-02 15:26:20.554 E/GeckoAppShell( 2167): at org.mozilla.gecko.mozglue.GeckoLoader.loadNSSLibsNative(Native Method) 15:27:55 INFO - 02-02 15:26:20.554 E/GeckoAppShell( 2167): at org.mozilla.gecko.mozglue.GeckoLoader.loadNSSLibs(GeckoLoader.java:243) 15:27:55 INFO - 02-02 15:26:20.554 E/GeckoAppShell( 2167): at org.mozilla.gecko.GeckoThread.initGeckoEnvironment(GeckoThread.java:116) 15:27:55 INFO - 02-02 15:26:20.554 E/GeckoAppShell( 2167): at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:168)
This morphed in comment 26 onwards.
Summary: Intermittent testNewTab | GeckoEventExpecter - blockForEvent timeout: Gecko:Ready → Intermittent testNewTab | GeckoEventExpecter - blockForEvent timeout: Content:PageShow
I made changed to testNewTab on 2014-07-07, but I don't see how those changes could account for these failures. It looks like these are all Panda failures. The test tries to add a new tab, then waits for Content:PageShow. No new events are observed and the test times out. Screenshots show that no tab has been added.
I wonder if this is related to bug 1046017 somehow.
Maybe regressed by bug 1028705??
When this fails, the add_tab onClick listener is not invoked: https://tbpl.mozilla.org/?tree=Try&rev=fd13815d0a47
Probably should have closed this back then, so I wouldn't have spent the last couple of days starring some new regression as this bug.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.