Closed Bug 1032991 Opened 10 years ago Closed 10 years ago

Intermittent testGetUserMedia | Exception caught - junit.framework.AssertionFailedError: Text string: 'Back facing camera' is not found!

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

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

RESOLVED FIXED
Firefox 33
Tracking Status
firefox31 --- unaffected
firefox32 --- unaffected
firefox33 --- fixed
firefox-esr24 --- unaffected

People

(Reporter: KWierso, Assigned: gcp)

References

Details

(Keywords: intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=42875448&tree=Mozilla-Inbound
Android 4.0 Panda mozilla-inbound opt test robocop-2 on 2014-07-01 12:03:32 PDT for push e07896399710

slave: panda-0565



12:21:34     INFO -  1 INFO TEST-START | testGetUserMedia
12:21:34     INFO -  2 INFO TEST-PASS | testGetUserMedia | Given message occurred for registered event: {"type":"Gecko:Ready"} - Gecko:Ready should equal Gecko:Ready
12:21:34     INFO -  EventExpecter: no longer listening for Gecko:Ready
12:21:34     INFO -  3 INFO TEST-PASS | testGetUserMedia | waiting for urlbar text to gain focus - urlbar text gained focus
12:21:34     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
12:21:34     INFO -  5 INFO TEST-PASS | testGetUserMedia | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
12:21:34     INFO -  EventExpecter: no longer listening for DOMContentLoaded
12:21:34     INFO -  6 INFO TEST-PASS | testGetUserMedia | GetUserMedia doorhanger has been displayed - true should equal true
12:21:34     INFO -  7 INFO TEST-PASS | testGetUserMedia | Page title is correct - failed gumtest should equal failed gumtest
12:21:34     INFO -  8 INFO TEST-PASS | testGetUserMedia | waiting for urlbar text to gain focus - urlbar text gained focus
12:21:34     INFO -  9 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
12:21:34     INFO -  10 INFO TEST-PASS | testGetUserMedia | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
12:21:34     INFO -  EventExpecter: no longer listening for DOMContentLoaded
12:21:34     INFO -  11 INFO TEST-PASS | testGetUserMedia | Page title is correct - audiovideo gumtest should equal audiovideo gumtest
12:21:34     INFO -  12 INFO TEST-PASS | testGetUserMedia | waiting for urlbar text to gain focus - urlbar text gained focus
12:21:34     INFO -  13 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
12:21:34     INFO -  14 INFO TEST-PASS | testGetUserMedia | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
12:21:34     INFO -  EventExpecter: no longer listening for DOMContentLoaded
12:21:34     INFO -  15 INFO TEST-PASS | testGetUserMedia | Page title is correct - audio gumtest should equal audio gumtest
12:21:34     INFO -  16 INFO TEST-PASS | testGetUserMedia | waiting for urlbar text to gain focus - urlbar text gained focus
12:21:34     INFO -  17 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
12:21:34     INFO -  18 INFO TEST-PASS | testGetUserMedia | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
12:21:34     INFO -  EventExpecter: no longer listening for DOMContentLoaded
12:21:34     INFO -  waitForText timeout on Would you like to share your camera and microphone with
12:21:34     INFO -  Exception caught during test!
12:21:34     INFO -  junit.framework.AssertionFailedError: Text string: 'Back facing camera' is not found!
12:21:34     INFO -  	at junit.framework.Assert.fail(Assert.java:47)
12:21:34     INFO -  	at junit.framework.Assert.assertTrue(Assert.java:20)
12:21:34     INFO -  	at com.jayway.android.robotium.solo.Clicker.clickOnText(Clicker.java:383)
12:21:34     INFO -  	at com.jayway.android.robotium.solo.Solo.clickOnText(Solo.java:1028)
12:21:34     INFO -  	at org.mozilla.gecko.tests.testGetUserMedia.testGetUserMedia(testGetUserMedia.java:59)
12:21:34     INFO -  	at java.lang.reflect.Method.invokeNative(Native Method)
12:21:34     INFO -  	at java.lang.reflect.Method.invoke(Method.java:511)
12:21:34     INFO -  	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
12:21:34     INFO -  	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
12:21:34     INFO -  	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
12:21:34     INFO -  	at org.mozilla.gecko.tests.BaseTest.runTest(BaseTest.java:142)
12:21:34     INFO -  	at junit.framework.TestCase.runBare(TestCase.java:127)
12:21:34     INFO -  	at junit.framework.TestResult$1.protect(TestResult.java:106)
12:21:34     INFO -  	at junit.framework.TestResult.runProtected(TestResult.java:124)
12:21:34     INFO -  	at junit.framework.TestResult.run(TestResult.java:109)
12:21:34     INFO -  	at junit.framework.TestCase.run(TestCase.java:118)
12:21:34     INFO -  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
12:21:34     INFO -  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
12:21:34     INFO -  	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:545)
12:21:34     INFO -  	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551)
12:21:34     INFO -  19 INFO TEST-UNEXPECTED-FAIL | testGetUserMedia | Exception caught - junit.framework.AssertionFailedError: Text string: 'Back facing camera' is not found!
12:21:34     INFO -  20 INFO TEST-END | testGetUserMedia | finished in 62319ms
12:21:34     INFO -  21 INFO TEST-START | Shutdown
12:21:34     INFO -  22 INFO Passed: 17
12:21:34  WARNING -  23 INFO Failed: 1
12:21:34  WARNING -  One or more unittests failed.
Test was added/modified in bug 1018928
No longer depends on: 1029401
I presume this was directed at me. This push adds extra WebRTC tests:
https://hg.mozilla.org/integration/mozilla-inbound/rev/57e490053263

12:21:55     INFO -  07-01 12:21:13.937 I/Robocop ( 3135): waitForText timeout on Would you like to share your camera and microphone with
12:21:55     INFO -  07-01 12:21:16.164 V/tiny_hw ( 1295): out_standby(0x4f1160) closing PCM
12:21:55     INFO -  07-01 12:21:24.265 D/Robotium( 3135): 'Back facing camera' not found. Have found: '1'
12:21:55     INFO -  07-01 12:21:24.265 D/Robotium( 3135): 'Back facing camera' not found. Have found: 'gUM Test Page'

Which indicates that we load a page with gUM and randomly not display the permission prompt. Strange.
Flags: needinfo?(gps)
Summary: Intermittent junit.framework.AssertionFailedError: Text string: 'Back facing camera' is not found! → Intermittent testGetUserMedia | Exception caught - junit.framework.AssertionFailedError: Text string: 'Back facing camera' is not found!
Bug 1018928 has been backed out:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2ff73cfaac13

So this should go away once it merges around.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee: nobody → gpascutto
Blocks: 1018928
No longer depends on: 1018928
Target Milestone: --- → Firefox 33
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.