Closed Bug 946911 Opened 11 years ago Closed 9 years ago

Intermittent testSessionOOMSave | 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)

References

Details

(Keywords: assertion, intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=31466256&tree=Fx-Team

Android 4.0 Panda fx-team opt test robocop-4 on 2013-12-04 18:18:06 PST for push d62e92066e87
slave: panda-0598

18:34:13     INFO -  0 INFO SimpleTest START
18:34:13     INFO -  1 INFO TEST-START | testSessionOOMSave
18:34:13     INFO -  EventExpecter: no longer listening for Content:PageShow
18:34:13     INFO -  2 INFO TEST-PASS | testSessionOOMSave | The correct number of tabs are opened - 1 should equal 1
18:34:13     INFO -  3 INFO TEST-PASS | testSessionOOMSave | Browser toolbar URL stayed the same - about:home should equal about:home
18:34:13     INFO -  4 INFO TEST-PASS | testSessionOOMSave | first page in tab is about:home - about:home should equal about:home
18:34:13     INFO -  EventExpecter: no longer listening for Content:PageShow
18:34:13     INFO -  EventExpecter: no longer listening for Content:PageShow
18:34:13     INFO -  EventExpecter: no longer listening for Content:PageShow
18:34:13     INFO -  EventExpecter: no longer listening for Content:PageShow
18:34:13     INFO -  5 INFO TEST-PASS | testSessionOOMSave | first page in tab is about:home - about:home should equal about:home
18:34:13     INFO -  6 INFO TEST-PASS | testSessionOOMSave | waiting for add tab view - add tab view available
18:34:13     INFO -  EventExpecter: no longer listening for Content:PageShow
18:34:13     INFO -  EventExpecter: no longer listening for Content:PageShow
18:34:13     INFO -  EventExpecter: no longer listening for Content:PageShow
18:34:13     INFO -  EventExpecter: no longer listening for Content:PageShow
18:34:13     INFO -  7 INFO TEST-PASS | testSessionOOMSave | first page in tab is about:home - about:home should equal about:home
18:34:13     INFO -  8 INFO TEST-PASS | testSessionOOMSave | waiting for add tab view - add tab view available
18:34:13     INFO -  Exception caught during test!
18:34:13     INFO -  junit.framework.AssertionFailedError: Click can not be completed!
18:34:13     INFO -  	at junit.framework.Assert.fail(Assert.java:47)
18:34:13     INFO -  	at junit.framework.Assert.assertTrue(Assert.java:20)
18:34:13     INFO -  	at com.jayway.android.robotium.solo.Clicker.clickOnScreen(Clicker.java:99)
18:34:13     INFO -  	at com.jayway.android.robotium.solo.Clicker.clickOnScreen(Clicker.java:182)
18:34:13     INFO -  	at com.jayway.android.robotium.solo.Clicker.clickOnScreen(Clicker.java:156)
18:34:13     INFO -  	at com.jayway.android.robotium.solo.Solo.clickOnView(Solo.java:968)
18:34:13     INFO -  	at org.mozilla.gecko.tests.BaseTest.addTab(BaseTest.java:561)
18:34:13     INFO -  	at org.mozilla.gecko.tests.SessionTest.addTab(SessionTest.java:16)
18:34:13     INFO -  	at org.mozilla.gecko.tests.SessionTest.loadSessionTabs(SessionTest.java:158)
18:34:13     INFO -  	at org.mozilla.gecko.tests.testSessionOOMSave.testSessionOOMSave(testSessionOOMSave.java:36)
18:34:13     INFO -  	at java.lang.reflect.Method.invokeNative(Native Method)
18:34:13     INFO -  	at java.lang.reflect.Method.invoke(Method.java:511)
18:34:13     INFO -  	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
18:34:13     INFO -  	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
18:34:13     INFO -  	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
18:34:13     INFO -  	at org.mozilla.gecko.tests.BaseTest.runTest(BaseTest.java:150)
18:34:13     INFO -  	at junit.framework.TestCase.runBare(TestCase.java:127)
18:34:13     INFO -  	at junit.framework.TestResult$1.protect(TestResult.java:106)
18:34:13     INFO -  	at junit.framework.TestResult.runProtected(TestResult.java:124)
18:34:13     INFO -  	at junit.framework.TestResult.run(TestResult.java:109)
18:34:13     INFO -  	at junit.framework.TestCase.run(TestCase.java:118)
18:34:13     INFO -  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
18:34:13     INFO -  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
18:34:13     INFO -  	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:545)
18:34:13     INFO -  	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551)
18:34:13     INFO -  9 INFO TEST-UNEXPECTED-FAIL | testSessionOOMSave | Exception caught - junit.framework.AssertionFailedError: Click can not be completed!
18:34:13     INFO -  10 INFO TEST-END | testSessionOOMSave | finished in 18348ms
18:34:13     INFO -  11 INFO TEST-START | Shutdown
18:34:13     INFO -  12 INFO Passed: 7
18:34:13  WARNING -  13 INFO Failed: 1
18:34:13  WARNING -  One or more unittests failed.
18:34:13     INFO -  14 INFO Todo: 0
18:34:13     INFO -  15 INFO SimpleTest FINISHED
Comment 8 and comment 9 are mis-stars and were fixed by 6fa6a3e42d65.
testSessionOOMSave fails this way on the Android 4.3 emulator also:

http://ftp.mozilla.org/pub/mozilla.org/mobile/try-builds/gbrown@mozilla.com-e80c0fdd1ef6/try-android-api-9/try_ubuntu64_vm_mobile_test-robocop-3-bm117-tests1-linux64-build42.txt.gz

18:00:01     INFO -  TEST-START | testSessionOOMSave
18:00:01     INFO -  TEST-PASS | testSessionOOMSave | Robocop tests need the test device screen to be powered on. - 
18:00:01     INFO -  TEST-PASS | testSessionOOMSave | Given message occurred for registered event: {"type":"Content:PageShow","userRequested":"","tabID":0} - Content:PageShow should equal Content:PageShow
18:00:01     INFO -  EventExpecter: no longer listening for Content:PageShow
18:00:01     INFO -  TEST-PASS | testSessionOOMSave | The correct number of tabs are opened - 1 should equal 1
18:00:01     INFO -  TEST-PASS | testSessionOOMSave | Browser toolbar URL stayed the same - about:home should equal about:home
18:00:01     INFO -  TEST-PASS | testSessionOOMSave | first page in tab is about:home - about:home should equal about:home
18:00:01     INFO -  TEST-PASS | testSessionOOMSave | Given message occurred for registered event: {"type":"Content:PageShow","userRequested":"","tabID":0} - Content:PageShow should equal Content:PageShow
18:00:01     INFO -  EventExpecter: no longer listening for Content:PageShow
18:00:01     INFO -  TEST-PASS | testSessionOOMSave | Given message occurred for registered event: {"type":"Content:PageShow","userRequested":"","tabID":0} - Content:PageShow should equal Content:PageShow
18:00:01     INFO -  EventExpecter: no longer listening for Content:PageShow
18:00:01     INFO -  TEST-PASS | testSessionOOMSave | Given message occurred for registered event: {"type":"Content:PageShow","userRequested":"","tabID":0} - Content:PageShow should equal Content:PageShow
18:00:01     INFO -  EventExpecter: no longer listening for Content:PageShow
18:00:01     INFO -  TEST-PASS | testSessionOOMSave | Given message occurred for registered event: {"type":"Content:PageShow","userRequested":"","tabID":0} - Content:PageShow should equal Content:PageShow
18:00:01     INFO -  EventExpecter: no longer listening for Content:PageShow
18:00:01     INFO -  TEST-PASS | testSessionOOMSave | first page in tab is about:home - about:home should equal about:home
18:00:01     INFO -  TEST-PASS | testSessionOOMSave | waiting for add tab view - add tab view available
18:00:01     INFO -  0 ERROR Exception caught during test! - junit.framework.AssertionFailedError: Click can not be completed!
18:00:01     INFO -  	at junit.framework.Assert.fail(Assert.java:50)
18:00:01     INFO -  	at junit.framework.Assert.assertTrue(Assert.java:20)
18:00:01     INFO -  	at com.jayway.android.robotium.solo.Clicker.clickOnScreen(Clicker.java:99)
18:00:01     INFO -  	at com.jayway.android.robotium.solo.Clicker.clickOnScreen(Clicker.java:182)
18:00:01     INFO -  	at com.jayway.android.robotium.solo.Clicker.clickOnScreen(Clicker.java:156)
18:00:01     INFO -  	at com.jayway.android.robotium.solo.Solo.clickOnView(Solo.java:974)
18:00:01     INFO -  	at org.mozilla.gecko.tests.BaseTest.addTab(BaseTest.java:605)
18:00:01     INFO -  	at org.mozilla.gecko.tests.SessionTest.addTab(SessionTest.java:19)
18:00:01     INFO -  	at org.mozilla.gecko.tests.SessionTest.loadSessionTabs(SessionTest.java:155)
18:00:01     INFO -  	at org.mozilla.gecko.tests.testSessionOOMSave.testSessionOOMSave(testSessionOOMSave.java:35)
18:00:01     INFO -  	at java.lang.reflect.Method.invokeNative(Native Method)
18:00:01     INFO -  	at java.lang.reflect.Method.invoke(Method.java:525)
18:00:01     INFO -  	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
18:00:01     INFO -  	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
18:00:01     INFO -  	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
18:00:01     INFO -  	at org.mozilla.gecko.tests.BaseTest.runTest(BaseTest.java:132)
18:00:01     INFO -  	at junit.framework.TestCase.runBare(TestCase.java:134)
18:00:01     INFO -  	at junit.framework.TestResult$1.protect(TestResult.java:115)
18:00:01     INFO -  	at junit.framework.TestResult.runProtected(TestResult.java:133)
18:00:01     INFO -  	at junit.framework.TestResult.run(TestResult.java:118)
18:00:01     INFO -  	at junit.framework.TestCase.run(TestCase.java:124)
18:00:01     INFO -  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
18:00:01     INFO -  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
18:00:01     INFO -  	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
18:00:01     INFO -  	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
18:00:01     INFO -  
18:00:01  WARNING -  TEST-UNEXPECTED-FAIL | testSessionOOMSave | Exception caught - junit.framework.AssertionFailedError: Click can not be completed!
18:00:01     INFO -  TEST-OK | testSessionOOMSave | took 122056ms
18:00:01     INFO -  TEST-START | Shutdown
18:00:01     INFO -  Passed: 11
18:00:01     INFO -  Failed: 1
Whiteboard: [test disabled on android 4.3]
See Also: → 1144888
Whiteboard: [test disabled on android 4.3]
Inactive; closing (see bug 1180138).
Status: NEW → RESOLVED
Closed: 9 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.