Closed Bug 1006913 Opened 8 years ago Closed 7 years ago

Intermittent testGetUserMedia | GetUserMedia doorhanger has been displayed - got false, expected true

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox30 unaffected, firefox31 unaffected, firefox32 fixed, firefox-esr24 unaffected)

RESOLVED FIXED
Firefox 32
Tracking Status
firefox30 --- unaffected
firefox31 --- unaffected
firefox32 --- fixed
firefox-esr24 --- unaffected

People

(Reporter: KWierso, Assigned: blassey)

References

Details

(Keywords: intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=39165564&tree=Fx-Team
Android 4.0 Panda fx-team opt test robocop-2 on 2014-05-06 16:32:39 PDT for push 9fb5cb82cb13

slave: panda-0085




16:51:25     INFO -  1 INFO TEST-START | testGetUserMedia
16:51:25     INFO -  2 INFO TEST-PASS | testGetUserMedia | Given message occurred for registered event: {"type":"Gecko:Ready"} - Gecko:Ready should equal Gecko:Ready
16:51:25     INFO -  EventExpecter: no longer listening for Gecko:Ready
16:51:25     INFO -  3 INFO TEST-PASS | testGetUserMedia | waiting for urlbar text to gain focus - urlbar text gained focus
16:51:25     INFO -  4 INFO TEST-PASS | testGetUserMedia | URL typed properly - http://mochi.test:8888/tests/robocop/robocop_getusermedia.html should equal http://mochi.test:8888/tests/robocop/robocop_getusermedia.html
16:51:25     INFO -  5 INFO TEST-PASS | testGetUserMedia | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
16:51:25     INFO -  EventExpecter: no longer listening for DOMContentLoaded
16:51:25     INFO -  waitForText timeout on Would you like to share your camera and microphone with
16:51:25     INFO -  6 INFO TEST-UNEXPECTED-FAIL | testGetUserMedia | GetUserMedia doorhanger has been displayed - got false, expected true
16:51:25     INFO -  Exception caught during test!
16:51:25     INFO -  junit.framework.AssertionFailedError: 6 INFO TEST-UNEXPECTED-FAIL | testGetUserMedia | GetUserMedia doorhanger has been displayed - got false, expected true
16:51:25     INFO -  	at junit.framework.Assert.fail(Assert.java:47)
16:51:25     INFO -  	at org.mozilla.gecko.FennecMochitestAssert._logMochitestResult(FennecMochitestAssert.java:111)
16:51:25     INFO -  	at org.mozilla.gecko.FennecMochitestAssert.ok(FennecMochitestAssert.java:140)
16:51:25     INFO -  	at org.mozilla.gecko.FennecMochitestAssert.is(FennecMochitestAssert.java:146)
16:51:25     INFO -  	at org.mozilla.gecko.tests.testGetUserMedia.testGetUserMedia(testGetUserMedia.java:26)
16:51:25     INFO -  	at java.lang.reflect.Method.invokeNative(Native Method)
16:51:25     INFO -  	at java.lang.reflect.Method.invoke(Method.java:511)
16:51:25     INFO -  	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
16:51:25     INFO -  	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
16:51:25     INFO -  	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
16:51:25     INFO -  	at org.mozilla.gecko.tests.BaseTest.runTest(BaseTest.java:125)
16:51:25     INFO -  	at junit.framework.TestCase.runBare(TestCase.java:127)
16:51:25     INFO -  	at junit.framework.TestResult$1.protect(TestResult.java:106)
16:51:25     INFO -  	at junit.framework.TestResult.runProtected(TestResult.java:124)
16:51:25     INFO -  	at junit.framework.TestResult.run(TestResult.java:109)
16:51:25     INFO -  	at junit.framework.TestCase.run(TestCase.java:118)
16:51:25     INFO -  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
16:51:25     INFO -  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
16:51:25     INFO -  	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:545)
16:51:25     INFO -  	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551)
16:51:25     INFO -  7 INFO TEST-UNEXPECTED-FAIL | testGetUserMedia | Exception caught - junit.framework.AssertionFailedError: 6 INFO TEST-UNEXPECTED-FAIL | testGetUserMedia | GetUserMedia doorhanger has been displayed - got false, expected true
16:51:25     INFO -  8 INFO TEST-END | testGetUserMedia | finished in 36076ms
16:51:25     INFO -  9 INFO TEST-START | Shutdown
16:51:25     INFO -  10 INFO Passed: 4
16:51:25  WARNING -  11 INFO Failed: 2
16:51:25  WARNING -  One or more unittests failed.
The log from comment 0 has this in the logcat:

16:51:28     INFO -  05-06 16:50:54.906 E/GeckoConsole( 3295): [JavaScript Error: "NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]" {file: "chrome://browser/content/WebrtcUI.js" line: 130}]

and it started right after blassey landed this:

https://hg.mozilla.org/integration/fx-team/rev/e2bba39c0385

So that makes it look a little suspicious.
Assignee: nobody → blassey.bugs
Blocks: 995777
Yup, this is perma-fail since bug 995777. Backed out.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Bug 1042795 significantly rewrites this test, closing.
Status: REOPENED → RESOLVED
Closed: 8 years ago7 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.