Closed Bug 981173 Opened 11 years ago Closed 11 years ago

Intermittent Android 2.3 testReadingListProvider | Automation Error: No crash directory (/mnt/sdcard/tests/profile/minidumps/) found on remote device

Categories

(Firefox for Android Graveyard :: Testing, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 30

People

(Reporter: gbrown, Assigned: gbrown)

References

Details

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=35735982&tree=Ash&full=1#error0 10:52:27 INFO - 0 INFO SimpleTest START 10:52:27 INFO - 1 INFO TEST-START | testReadingListProvider 10:52:27 INFO - 2 INFO TEST-START | testReadingListProvider - TestInsertItems 10:52:27 INFO - 3 INFO TEST-PASS | testReadingListProvider - TestInsertItems | Inserted item found - 10:52:27 INFO - 4 INFO TEST-PASS | testReadingListProvider - TestInsertItems | Item has correct title - Example should equal Example 10:52:27 INFO - 5 INFO TEST-PASS | testReadingListProvider - TestInsertItems | Item has correct url - http://example.com/?num=-1267513042 should equal http://example.com/?num=-1267513042 10:52:27 INFO - 6 INFO TEST-PASS | testReadingListProvider - TestInsertItems | Item has correct excerpt - foo bar should equal foo bar 10:52:27 INFO - 7 INFO TEST-PASS | testReadingListProvider - TestInsertItems | Item has correct length - 7 should equal 7 10:52:27 INFO - 8 INFO TEST-PASS | testReadingListProvider - TestInsertItems | Item has correct created - 1394131389555 should equal 1394131389555 10:52:27 INFO - 9 INFO TEST-PASS | testReadingListProvider - TestInsertItems | Item has correct modified - 1394131389555 should equal 1394131389555 10:52:27 INFO - 10 INFO TEST-START | testReadingListProvider - TestDeleteItems 10:52:27 INFO - 11 INFO TEST-PASS | testReadingListProvider - TestDeleteItems | Inserted item found - 10:52:27 INFO - 12 INFO TEST-PASS | testReadingListProvider - TestDeleteItems | Inserted item was deleted - 1 should equal 1 10:52:27 INFO - 13 INFO TEST-PASS | testReadingListProvider - TestDeleteItems | Deleted item was only marked as deleted - 10:52:27 INFO - 14 INFO TEST-PASS | testReadingListProvider - TestDeleteItems | Inserted item can't be found after deletion - 10:52:27 INFO - 15 INFO TEST-PASS | testReadingListProvider - TestDeleteItems | Inserted item was deleted - 1 should equal 1 10:52:27 INFO - 16 INFO TEST-PASS | testReadingListProvider - TestDeleteItems | Inserted item is now actually deleted - 10:52:27 INFO - 17 INFO TEST-PASS | testReadingListProvider - TestDeleteItems | Inserted item found - 10:52:27 INFO - 18 INFO TEST-PASS | testReadingListProvider - TestDeleteItems | Inserted item was deleted using URI with id - 1 should equal 1 10:52:27 INFO - 19 INFO TEST-START | testReadingListProvider - TestUpdateItems 10:52:27 INFO - 20 INFO TEST-PASS | testReadingListProvider - TestUpdateItems | Inserted item found - 10:52:27 INFO - 21 INFO TEST-PASS | testReadingListProvider - TestUpdateItems | Inserted item was updated - 1 should equal 1 10:52:27 INFO - 22 INFO TEST-PASS | testReadingListProvider - TestUpdateItems | Updated item found - 10:52:27 INFO - 23 INFO TEST-PASS | testReadingListProvider - TestUpdateItems | Date modified should have changed - 1394131390646 should not equal 1394131390603 10:52:27 INFO - 24 INFO TEST-PASS | testReadingListProvider - TestUpdateItems | Item has correct title - ExampleCHANGED should equal ExampleCHANGED 10:52:27 INFO - 25 INFO TEST-PASS | testReadingListProvider - TestUpdateItems | Item has correct url - http://example.com/?num=1878449543/more/stuff should equal http://example.com/?num=1878449543/more/stuff 10:52:27 INFO - 26 INFO TEST-PASS | testReadingListProvider - TestUpdateItems | Item has correct excerpt - foo barCHANGED should equal foo barCHANGED 10:52:27 INFO - 27 INFO TEST-PASS | testReadingListProvider - TestUpdateItems | Item has correct length - 7 should equal 7 10:52:27 INFO - 28 INFO TEST-PASS | testReadingListProvider - TestUpdateItems | Item has correct created - 1394131390603 should equal 1394131390603 10:52:27 INFO - 29 INFO TEST-PASS | testReadingListProvider - TestUpdateItems | Should not be able to update item with an invalid GUID - 0 should equal 0 10:52:27 INFO - 30 INFO TEST-PASS | testReadingListProvider - TestUpdateItems | Should not be able to update item with guid == null - 0 should equal 0 10:52:27 INFO - 31 INFO TEST-START | testReadingListProvider - TestBatchOperations 10:52:27 INFO - 32 INFO TEST-PASS | testReadingListProvider - TestBatchOperations | Excepted number of inserts matches - 10 should equal 10 10:52:27 INFO - 33 INFO TEST-PASS | testReadingListProvider - TestBatchOperations | Bulk inserted item with url == http://www.test.org/9 was found in the DB - 10:52:27 INFO - 34 INFO TEST-PASS | testReadingListProvider - TestBatchOperations | Bulk inserted item with url == http://www.test.org/8 was found in the DB - 10:52:27 INFO - 35 INFO TEST-PASS | testReadingListProvider - TestBatchOperations | Bulk inserted item with url == http://www.test.org/7 was found in the DB - 10:52:27 INFO - 36 INFO TEST-PASS | testReadingListProvider - TestBatchOperations | Bulk inserted item with url == http://www.test.org/6 was found in the DB - 10:52:27 INFO - 37 INFO TEST-PASS | testReadingListProvider - TestBatchOperations | Bulk inserted item with url == http://www.test.org/5 was found in the DB - 10:52:27 INFO - 38 INFO TEST-PASS | testReadingListProvider - TestBatchOperations | Bulk inserted item with url == http://www.test.org/4 was found in the DB - 10:52:27 INFO - 39 INFO TEST-PASS | testReadingListProvider - TestBatchOperations | Bulk inserted item with url == http://www.test.org/3 was found in the DB - 10:52:27 INFO - 40 INFO TEST-PASS | testReadingListProvider - TestBatchOperations | Bulk inserted item with url == http://www.test.org/2 was found in the DB - 10:52:27 INFO - 41 INFO TEST-PASS | testReadingListProvider - TestBatchOperations | Bulk inserted item with url == http://www.test.org/1 was found in the DB - 10:52:27 INFO - 42 INFO TEST-PASS | testReadingListProvider - TestBatchOperations | Bulk inserted item with url == http://www.test.org/0 was found in the DB - 10:52:27 INFO - 43 INFO TEST-START | testReadingListProvider - TestBrowserProviderNotifications 10:52:27 INFO - 44 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Inserted item has valid id - 16 should not equal -1 10:52:27 INFO - 45 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Content observer was notified exactly once by insert - 1 should equal 1 10:52:27 INFO - 46 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Notification from insert was valid - content://org.mozilla.fennec.db.readinglist/items?test=1 should not equal null 10:52:27 INFO - 47 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Content observer was notified exactly once by insert - 10:52:27 INFO - 48 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Correct number of items are updated - 1 should equal 1 10:52:27 INFO - 49 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Content observer was notified exactly once by update - 1 should equal 1 10:52:27 INFO - 50 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Notification from update was valid - content://org.mozilla.fennec.db.readinglist/items?test=1 should not equal null 10:52:27 INFO - 51 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Content observer was notified exactly once by update - 10:52:27 INFO - 52 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Correct number of items are deleted - 1 should equal 1 10:52:27 INFO - 53 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Content observer was notified exactly once by delete - 1 should equal 1 10:52:27 INFO - 54 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Notification from delete was valid - content://org.mozilla.fennec.db.readinglist/items?test=1 should not equal null 10:52:27 INFO - 55 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Content observer was notified exactly once by delete - 10:52:27 INFO - 56 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Correct number of items are bulkInserted - 3 should equal 3 10:52:27 INFO - 57 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Content observer was notified exactly once by bulkInsert - 1 should equal 1 10:52:27 INFO - 58 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Notification from bulkInsert was valid - content://org.mozilla.fennec.db.readinglist/items?test=1 should not equal null 10:52:27 INFO - 59 INFO TEST-PASS | testReadingListProvider - TestBrowserProviderNotifications | Content observer was notified exactly once by bulkInsert - 10:52:27 INFO - 60 INFO TEST-END | testReadingListProvider - TestBrowserProviderNotifications | finished in 627ms 10:52:27 INFO - 61 INFO TEST-START | Shutdown 10:52:27 INFO - 62 INFO Passed: 53 10:52:27 INFO - 63 INFO Failed: 0 10:52:27 INFO - 64 INFO Todo: 0 10:52:27 INFO - 65 INFO SimpleTest FINISHED 10:52:27 INFO - 10:52:27 INFO - INFO | automation.py | Application ran for: 0:00:44.035178 10:52:27 INFO - INFO | zombiecheck | Reading PID log: /tmp/tmphZ5RJ1pidlog 10:52:27 INFO - /data/anr/traces.txt not found 10:52:27 INFO - Automation Error: No crash directory (/mnt/sdcard/tests/profile/minidumps/) found on remote device
We have seen this problem before with tests that do not blockForGeckoReady: If the test finishes before breakpad creates the minidumps directory, the test harness gets upset because it cannot verify that the test did not crash. Simply adding blockForGeckoReady makes this test pass reliably on Android 2.3. https://tbpl.mozilla.org/php/getParsedLog.php?id=35809077&tree=Ash&full=1
Attached patch add blockForGeckoReady (deleted) — Splinter Review
Attachment #8387947 - Flags: review?(oogunsakin)
Comment on attachment 8387947 [details] [diff] [review] add blockForGeckoReady Review of attachment 8387947 [details] [diff] [review]: ----------------------------------------------------------------- Oops. Thanks for fixing this.
Attachment #8387947 - Flags: review?(oogunsakin) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: