Closed
Bug 979620
Opened 10 years ago
Closed 10 years ago
Android 2.3 testGetUserMedia | GetUserMedia doorhanger has been displayed - got false, expected true
Categories
(Firefox for Android Graveyard :: Testing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 33
People
(Reporter: gbrown, Assigned: gbrown)
References
Details
https://tbpl.mozilla.org/php/getParsedLog.php?id=34518484&full=1&branch=ash#error18 16:00:20 INFO - 1 INFO TEST-START | testGetUserMedia 16:00:20 INFO - 2 INFO TEST-PASS | testGetUserMedia | Given message occurred for registered event: {"type":"Gecko:Ready"} - Gecko:Ready should equal Gecko:Ready 16:00:20 INFO - EventExpecter: no longer listening for Gecko:Ready 16:00:20 INFO - 3 INFO TEST-PASS | testGetUserMedia | waiting for urlbar text to gain focus - urlbar text gained focus 16:00:20 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:00:20 INFO - 5 INFO TEST-PASS | testGetUserMedia | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded 16:00:20 INFO - EventExpecter: no longer listening for DOMContentLoaded 16:00:20 INFO - waitForText timeout on Would you like to share your camera and microphone with 16:00:20 INFO - 6 INFO TEST-UNEXPECTED-FAIL | testGetUserMedia | GetUserMedia doorhanger has been displayed - got false, expected true 16:00:20 INFO - Exception caught during test! 16:00:20 INFO - junit.framework.AssertionFailedError: 6 INFO TEST-UNEXPECTED-FAIL | testGetUserMedia | GetUserMedia doorhanger has been displayed - got false, expected true 16:00:20 INFO - at junit.framework.Assert.fail(Assert.java:47) 16:00:20 INFO - at org.mozilla.gecko.FennecMochitestAssert._logMochitestResult(FennecMochitestAssert.java:110) 16:00:20 INFO - at org.mozilla.gecko.FennecMochitestAssert.ok(FennecMochitestAssert.java:139) 16:00:20 INFO - at org.mozilla.gecko.FennecMochitestAssert.is(FennecMochitestAssert.java:145) 16:00:20 INFO - at org.mozilla.gecko.tests.testGetUserMedia.testGetUserMedia(testGetUserMedia.java:34) 16:00:20 INFO - at java.lang.reflect.Method.invokeNative(Native Method) 16:00:20 INFO - at java.lang.reflect.Method.invoke(Method.java:507) 16:00:20 INFO - at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:204) 16:00:20 INFO - at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:194) 16:00:20 INFO - at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:186) 16:00:20 INFO - at org.mozilla.gecko.tests.BaseTest.runTest(BaseTest.java:150) 16:00:20 INFO - at junit.framework.TestCase.runBare(TestCase.java:127) 16:00:20 INFO - at junit.framework.TestResult$1.protect(TestResult.java:106) 16:00:20 INFO - at junit.framework.TestResult.runProtected(TestResult.java:124) 16:00:20 INFO - at junit.framework.TestResult.run(TestResult.java:109) 16:00:20 INFO - at junit.framework.TestCase.run(TestCase.java:118) 16:00:20 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169) 16:00:20 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154) 16:00:20 INFO - at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529) 16:00:20 INFO - at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448) 16:00:20 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:00:20 INFO - 8 INFO TEST-END | testGetUserMedia | finished in 105054ms 16:00:20 INFO - 9 INFO TEST-START | Shutdown 16:00:20 INFO - 10 INFO Passed: 4 16:00:20 WARNING - 11 INFO Failed: 2
Assignee | ||
Comment 1•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/98335b860dd7
Whiteboard: [leave open] [test disabled on Android 2.3]
Comment 2•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/98335b860dd7
Assignee | ||
Comment 3•10 years ago
|
||
16:00:20 INFO - 02-11 15:58:22.624 D/Robocop ( 2969): handleMessage called for: DOMContentLoaded; expecting: DOMContentLoaded 16:00:20 INFO - 02-11 15:58:22.656 I/Robocop ( 2969): 5 INFO TEST-PASS | testGetUserMedia | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded 16:00:20 INFO - 02-11 15:58:22.656 D/Robocop ( 2969): received event DOMContentLoaded 16:00:20 INFO - 02-11 15:58:22.704 D/Robocop ( 2969): unblocked on expecter for DOMContentLoaded 16:00:20 INFO - 02-11 15:58:22.704 I/Robocop ( 2969): EventExpecter: no longer listening for DOMContentLoaded 16:00:20 INFO - 02-11 15:58:22.802 D/GeckoTabs( 2969): handleMessage: Content:PageShow 16:00:20 INFO - 02-11 15:58:22.953 D/GeckoToolbar( 2969): onTabChanged: PAGE_SHOW 16:00:20 INFO - 02-11 15:58:22.953 D/GeckoBrowserApp( 2969): BrowserApp.onTabChanged: 0: PAGE_SHOW 16:00:20 INFO - 02-11 15:58:23.244 D/GeckoTabs( 2969): handleMessage: Content:StateChange 16:00:20 INFO - 02-11 15:58:23.313 D/WEBRTC ( 2969): VideoCaptureDeviceInfoAndroid 16:00:20 INFO - 02-11 15:58:23.313 D/WEBRTC ( 2969): Camera 0, Facing back, Orientation 90 16:00:20 INFO - 02-11 15:58:23.345 D/CameraHardwareStub( 37): initHeapLocked: preview size=320x240 16:00:20 INFO - 02-11 15:58:23.622 I/StagefrightPlayer( 37): setDataSource('/system/media/audio/ui/camera_click.ogg') 16:00:20 INFO - 02-11 15:58:23.664 D/GeckoToolbar( 2969): onTabChanged: STOP 16:00:20 INFO - 02-11 15:58:23.719 I/GeckoToolbarDisplayLayout( 2969): zerdatime 4856487 - Throbber stop 16:00:20 INFO - 02-11 15:58:23.732 D/GeckoBrowserApp( 2969): BrowserApp.onTabChanged: 0: STOP 16:00:20 INFO - 02-11 15:58:24.822 I/StagefrightPlayer( 37): setDataSource('/system/media/audio/ui/VideoRecord.ogg') 16:00:20 INFO - 02-11 15:58:25.014 V/WEBRTC ( 2969): VideoCaptureDeviceInfo , maxFPS: 0, width: 320, height: 240
Assignee | ||
Comment 4•10 years ago
|
||
:gcp -- This test works fine on the Android emulator running our 2.3 image if I run the emulator on my camera-equipped laptop, but fails as shown in Comment 0 when the same emulator and image are used on an aws instance. I assume the difference is that there is no camera hardware on aws. Do you think there is anything we can do to improve the test such that it will pass on the emulator, or should we just keep it disabled there?
Flags: needinfo?(gpascutto)
Comment 5•10 years ago
|
||
Well as you said, the emulator (or the Android version) aren't the problem, but the lack of actual hardware is. If the testing hardware doesn't have it, just disable this test, as there is nothing for it to test anyway. That said, I would prefer if this test was disabled depending on the hardware it's tested upon, instead of the Android version.
Flags: needinfo?(gpascutto)
Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Gian-Carlo Pascutto (:gcp) from comment #5) > That said, I would prefer if this test was disabled depending on the > hardware it's tested upon, instead of the Android version. Agreed, but I think the Android version is the best I can do at the test harness level, at least for now. I'll keep the existing skip-if.
Assignee: gbrown → nobody
Comment 7•10 years ago
|
||
Geoff is this still failing now that we moved from AWS to IX?
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → gbrown
Assignee | ||
Comment 8•10 years ago
|
||
I can no longer reproduce this (maybe because we are on ix now). Re-enabled: https://hg.mozilla.org/integration/mozilla-inbound/rev/2060419e3f99
Whiteboard: [leave open] [test disabled on Android 2.3]
https://hg.mozilla.org/mozilla-central/rev/2060419e3f99
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•