Closed Bug 850186 Opened 13 years ago Closed 12 years ago

Intermittent testDoorHanger | Exception caught - junit.framework.AssertionFailedError: Click can not be completed!

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

Details

(Keywords: intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=20547301&tree=Mozilla-Inbound Android Tegra 250 mozilla-inbound opt test robocop-2 on 2013-03-11 18:50:20 PDT for push 64b60056b8df slave: tegra-353 0 INFO SimpleTest START 1 INFO TEST-START | testDoorHanger 2 INFO TEST-PASS | testDoorHanger | Awesomebar URL typed properly - http://mochi.test:8888/tests/robocop/robocop_geolocation.html should equal http://mochi.test:8888/tests/robocop/robocop_geolocation.html 3 INFO TEST-PASS | testDoorHanger | Geolocation doorhanger has been displayed - true should equal true 4 INFO TEST-PASS | testDoorHanger | Geolocation doorhanger has been hidden - false should equal false 5 INFO TEST-PASS | testDoorHanger | Awesomebar URL typed properly - http://mochi.test:8888/tests/robocop/robocop_geolocation.html should equal http://mochi.test:8888/tests/robocop/robocop_geolocation.html 6 INFO TEST-PASS | testDoorHanger | Geolocation doorhanger has been hidden - false should equal false 7 INFO TEST-PASS | testDoorHanger | Awesomebar URL typed properly - http://mochi.test:8888/tests/robocop/robocop_geolocation.html should equal http://mochi.test:8888/tests/robocop/robocop_geolocation.html 8 INFO TEST-PASS | testDoorHanger | checking that tabs clicked - tabs element clicked 9 INFO TEST-PASS | testDoorHanger | waiting for add tab view - add tab view available 10 INFO TEST-PASS | testDoorHanger | checking that add_tab clicked - add_tab element clicked 11 INFO TEST-PASS | testDoorHanger | Doorhanger notification is hidden - false should equal false 12 INFO TEST-PASS | testDoorHanger | Awesomebar URL typed properly - http://mochi.test:8888/tests/robocop/robocop_offline_storage.html should equal http://mochi.test:8888/tests/robocop/robocop_offline_storage.html 13 INFO TEST-PASS | testDoorHanger | Doorhanger notification is hidden - false should equal false 14 INFO TEST-PASS | testDoorHanger | Awesomebar URL typed properly - http://mochi.test:8888/tests/robocop/robocop_offline_storage.html should equal http://mochi.test:8888/tests/robocop/robocop_offline_storage.html Exception caught during test! junit.framework.AssertionFailedError: Click can not be completed! at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at com.jayway.android.robotium.solo.Clicker.clickOnScreen(Clicker.java:91) at com.jayway.android.robotium.solo.Clicker.clickOnScreen(Clicker.java:166) at com.jayway.android.robotium.solo.Clicker.clickOnText(Clicker.java:318) at com.jayway.android.robotium.solo.Solo.clickOnText(Solo.java:839) at org.mozilla.fennec.tests.testDoorHanger.testDoorHanger(testDoorHanger.java:72) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:204) at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:194) at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:186) at org.mozilla.fennec.tests.BaseTest.runTest(BaseTest.java:125) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:520) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447) 15 INFO TEST-UNEXPECTED-FAIL | testDoorHanger | Exception caught - junit.framework.AssertionFailedError: Click can not be completed! 16 INFO TEST-END | testDoorHanger | finished in 97730ms 17 INFO TEST-START | Shutdown
I just landed a patch on inbound that changed clickOnText to clickOnButton, so we may not run into this again.
From Comment 3 (similar messages in Comment 4 and Comment 5): 03-13 11:54:53.618 E/GeckoConsole( 4213): [JavaScript Warning: "A form was submitted in the windows-1252 encoding which cannot encode all Unicode characters, so user input may get corrupted. To avoid this problem, the page should be changed so that the form is submitted in the UTF-8 encoding either by changing the encoding of the page itself to UTF-8 or by specifying accept-charset=utf-8 on the form element." {file: "http://mochi.test:8888/tests/robocop/robocop_login.html" line: 6}] ... 03-13 11:54:54.508 D/Robocop ( 4213): Waking up on handleMessage 03-13 11:54:54.508 D/Robocop ( 4213): received event DOMContentLoaded 03-13 11:54:55.588 W/WindowManager( 1020): Permission denied: injecting pointer event from pid 4213 uid 10033 to window Window{484b2c08 StatusBar paused=false} owned by uid 1000 03-13 11:54:55.608 I/Robocop ( 4213): Exception caught during test! 03-13 11:54:55.608 I/Robocop ( 4213): junit.framework.AssertionFailedError: Click can not be completed!
This has not been happening for weeks now, but possibly only because testDoorHanger is disabled. This may be a symptom of bug 867360 -- need to check that if this failure happens again.
Closing inactive keywords:intermittent-failure bugs where the TBPLbot has previously commented and the test isn't marked as disabled; filter on orange-cleanup-201401.
Status: NEW → RESOLVED
Closed: 12 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.