Closed
Bug 817414
Opened 12 years ago
Closed 12 years ago
Intermittent testBookmarksTab | bookmarks list has 5 children (defaults + a folder) - got 0, expected 5
Categories
(Firefox for Android Graveyard :: Awesomescreen, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 20
People
(Reporter: RyanVM, Assigned: jmaher)
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
1.45 KB,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
https://tbpl.mozilla.org/php/getParsedLog.php?id=17526369&tree=Mozilla-Inbound Android Armv6 Tegra 250 mozilla-inbound opt test robocop on 2012-12-01 17:50:10 PST for push a253800d2e57 slave: tegra-278 0 INFO SimpleTest START 1 INFO TEST-START | testBookmarksTab 2 INFO TEST-PASS | testBookmarksTab | Inserted at: - content://org.mozilla.fennec.db.browser/bookmarks/10?profile=default 3 INFO TEST-PASS | testBookmarksTab | checking that bookmarks list exists - android.widget.ListView@4847e978 4 INFO TEST-UNEXPECTED-FAIL | testBookmarksTab | bookmarks list has 5 children (defaults + a folder) - got 0, expected 5 Exception caught during test! junit.framework.AssertionFailedError: 4 INFO TEST-UNEXPECTED-FAIL | testBookmarksTab | bookmarks list has 5 children (defaults + a folder) - got 0, expected 5 at junit.framework.Assert.fail(Assert.java:47) at org.mozilla.fennec.FennecMochitestAssert._logMochitestResult(FennecMochitestAssert.java:107) at org.mozilla.fennec.FennecMochitestAssert.ok(FennecMochitestAssert.java:136) at org.mozilla.fennec.FennecMochitestAssert.is(FennecMochitestAssert.java:142) at org.mozilla.fennec.tests.testBookmarksTab.testList(testBookmarksTab.java:68) at org.mozilla.fennec.tests.testBookmarksTab.testBookmarksTab(testBookmarksTab.java:52) 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:120) 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) 5 INFO TEST-UNEXPECTED-FAIL | testBookmarksTab | Exception caught - junit.framework.AssertionFailedError: 4 INFO TEST-UNEXPECTED-FAIL | testBookmarksTab | bookmarks list has 5 children (defaults + a folder) - got 0, expected 5 6 INFO TEST-END | testBookmarksTab | finished in 24994ms 7 INFO TEST-START | Shutdown 8 INFO Passed: 2 9 INFO Failed: 2 10 INFO Todo: 0 11 INFO SimpleTest FINISHED
Reporter | ||
Comment 1•12 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=17527130&tree=Mozilla-Inbound
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 4•12 years ago
|
||
Regression from bug 759041?
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 14•12 years ago
|
||
(In reply to Geoff Brown [:gbrown] from comment #4) > Regression from bug 759041?
Flags: needinfo?(wjohnston)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 18•12 years ago
|
||
Is this a problem with list.getChildCount() where we should be asking list.getAdapter().getCount()?
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 23•12 years ago
|
||
Test disabled for too many intermittent failures: https://hg.mozilla.org/integration/mozilla-inbound/rev/f5b2c5d70b04
Whiteboard: [test disabled][leave open]
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 25•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f5b2c5d70b04
Assignee | ||
Comment 26•12 years ago
|
||
as per our irc conversation, this seems to fix the problem on my local tegra.
Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Attachment #693514 -
Flags: review?(gbrown)
Flags: needinfo?(wjohnston)
Comment 27•12 years ago
|
||
Comment on attachment 693514 [details] [diff] [review] wait for 'desktop bookmarks' before getting the child list (1.0) Review of attachment 693514 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #693514 -
Flags: review?(gbrown) → review+
Comment 28•12 years ago
|
||
If this fix works maybe waiting for a text like for example "Today" would work in the history tab to solve bug 818095 or bug 818175
Assignee | ||
Updated•12 years ago
|
Whiteboard: [test disabled][leave open]
Comment 29•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1bf7f31883ce
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
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
•