Closed Bug 1145879 Opened 5 years ago Closed 3 years ago

Android 4.3 testSessionOOMRestore | Page title is correct - got mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page3, expected mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page4

Categories

(Firefox for Android :: Testing, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: gbrown, Unassigned)

References

Details

(Whiteboard: [test disabled on android 4.3])

testSessionOOMRestore intermittently fails on Android 4.3:

http://ftp.mozilla.org/pub/mozilla.org/mobile/try-builds/gbrown@mozilla.com-ab5e06e63b6e/try-android-api-9/try_ubuntu64_vm_mobile_test-robocop-2-bm114-tests1-linux64-build66.txt.gz

17:38:19     INFO -  TEST-START | testSessionOOMRestore
17:38:19     INFO -  TEST-PASS | testSessionOOMRestore | Robocop tests need the test device screen to be powered on. - 
17:38:19     INFO -  TEST-PASS | testSessionOOMRestore | Given message occurred for registered event: {"type":"Gecko:Ready"} - Gecko:Ready should equal Gecko:Ready
17:38:19     INFO -  EventExpecter: no longer listening for Gecko:Ready
17:38:19     INFO -  TEST-PASS | testSessionOOMRestore | The correct number of tabs are opened - 3 should equal 3
17:38:19     INFO -  waitForText timeout on mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page3
17:38:19     INFO -  TEST-PASS | testSessionOOMRestore | The url argument is not null - http://mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page3 should not equal null
17:38:19     INFO -  TEST-PASS | testSessionOOMRestore | Page title is correct - mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page3 should equal mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page3
17:38:19     INFO -  TEST-PASS | testSessionOOMRestore | Given message occurred for registered event: {"type":"Content:PageShow","userRequested":"","tabID":1} - Content:PageShow should equal Content:PageShow
17:38:19     INFO -  EventExpecter: no longer listening for Content:PageShow
17:38:19     INFO -  waitForText timeout on mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page4
17:38:19     INFO -  TEST-PASS | testSessionOOMRestore | The url argument is not null - http://mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page4 should not equal null
17:38:19     INFO -  waitForCondition timeout after 15000 ms.
17:38:19  WARNING -  TEST-UNEXPECTED-FAIL | testSessionOOMRestore | Page title is correct - got mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page3, expected mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page4
17:38:19     INFO -  2 ERROR Exception caught during test! - junit.framework.AssertionFailedError: TEST-UNEXPECTED-FAIL | testSessionOOMRestore | Page title is correct - got mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page3, expected mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page4
17:38:19     INFO -  	at junit.framework.Assert.fail(Assert.java:50)
17:38:19     INFO -  	at org.mozilla.gecko.FennecMochitestAssert._logMochitestResult(FennecMochitestAssert.java:128)
17:38:19     INFO -  	at org.mozilla.gecko.FennecMochitestAssert.ok(FennecMochitestAssert.java:150)
17:38:19     INFO -  	at org.mozilla.gecko.FennecMochitestAssert.is(FennecMochitestAssert.java:156)
17:38:19     INFO -  	at org.mozilla.gecko.tests.BaseTest.verifyUrlBarTitle(BaseTest.java:534)
17:38:19     INFO -  	at org.mozilla.gecko.tests.SessionTest$1$1.onItem(SessionTest.java:209)
17:38:19     INFO -  	at org.mozilla.gecko.tests.SessionTest$1$1.onItem(SessionTest.java:196)
17:38:19     INFO -  	at org.mozilla.gecko.tests.SessionTest$NavigationWalker.walk(SessionTest.java:101)
17:38:19     INFO -  	at org.mozilla.gecko.tests.SessionTest$1.onItem(SessionTest.java:196)
17:38:19     INFO -  	at org.mozilla.gecko.tests.SessionTest$1.onItem(SessionTest.java:184)
17:38:19     INFO -  	at org.mozilla.gecko.tests.SessionTest$NavigationWalker.walk(SessionTest.java:98)
17:38:19     INFO -  	at org.mozilla.gecko.tests.SessionTest.verifySessionTabs(SessionTest.java:184)
17:38:19     INFO -  	at org.mozilla.gecko.tests.testSessionOOMRestore.testSessionOOMRestore(testSessionOOMRestore.java:52)
17:38:19     INFO -  	at java.lang.reflect.Method.invokeNative(Native Method)
17:38:19     INFO -  	at java.lang.reflect.Method.invoke(Method.java:525)
17:38:19     INFO -  	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
17:38:19     INFO -  	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
17:38:19     INFO -  	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
17:38:19     INFO -  	at org.mozilla.gecko.tests.BaseTest.runTest(BaseTest.java:132)
17:38:19     INFO -  	at junit.framework.TestCase.runBare(TestCase.java:134)
17:38:19     INFO -  	at junit.framework.TestResult$1.protect(TestResult.java:115)
17:38:19     INFO -  	at junit.framework.TestResult.runProtected(TestResult.java:133)
17:38:19     INFO -  	at junit.framework.TestResult.run(TestResult.java:118)
17:38:19     INFO -  	at junit.framework.TestCase.run(TestCase.java:124)
17:38:19     INFO -  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
17:38:19     INFO -  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
17:38:19     INFO -  	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
17:38:19     INFO -  	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
17:38:19     INFO -  
17:38:19  WARNING -  TEST-UNEXPECTED-FAIL | testSessionOOMRestore | Exception caught - junit.framework.AssertionFailedError: TEST-UNEXPECTED-FAIL | testSessionOOMRestore | Page title is correct - got mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page3, expected mochi.test:8888/tests/robocop/robocop_dynamic.sjs?id=page4
17:38:19     INFO -  TEST-OK | testSessionOOMRestore | took 116811ms
17:38:19     INFO -  TEST-START | Shutdown
17:38:19     INFO -  Passed: 7
17:38:19     INFO -  Failed: 2
Depends on: 1348086
Treeherder results so far look promising, so I'll declare this fixed by bug 1348086.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.