various xpcshell tests in toolkit/components/... fail or hang on Android

RESOLVED WORKSFORME

Status

()

Toolkit
General
RESOLVED WORKSFORME
7 years ago
2 years ago

People

(Reporter: gbrown, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [mobile-testing][xpcshell])

With patches for bug 668349 and 668351, xpcshell tests can be run on an Android device, and the majority of tests pass. 

However, some tests in toolkit/components/... fail or hang when run on Android.

The failures are in:
toolkit/components/ctypes/tests/unit/test_jsctypes.js
toolkit/components/places/tests/autocomplete/test_autocomplete_on_value_removed_479089.js
toolkit/components/places/tests/autocomplete/test_download_embed_bookmarks.j
toolkit/components/places/tests/autocomplete/test_empty_search.js
toolkit/components/places/tests/expiration/test_annos_expire_session.js
toolkit/components/places/tests/expiration/test_notifications.js
toolkit/components/places/tests/expiration/test_pref_interval.js
toolkit/components/places/tests/expiration/test_pref_maxpages.js
toolkit/components/places/tests/unit/<various>
toolkit/components/telemetry/tests/unit/test_TelemetryPing.js

The hangs are in:

toolkit/components/downloads/test/unit/test_cancel_download_files_removed.js
toolkit/components/downloads/test/unit/test_download_samename.js
toolkit/components/places/tests/expiration/test_analyze_runs.js
toolkit/components/places/tests/queries/test_redirectsMode.js
toolkit/components/places/tests/queries/test_sorting.js
toolkit/components/places/tests/queries/test_tags.js
toolkit/components/places/tests/queries/test_transitions.js
toolkit/components/places/tests/unit/<various>
toolkit/components/satchel/test/unit/test_bug_248970.js
Whiteboard: [mobile-testing][xpcshell]
Also, all (or perhaps most) of the tests in:

toolkit/components/passwordmgr/test/unit

hang on Android.
The expiration tests are passing now:

TEST-UNEXPECTED-PASS | /home/mozdev/src/objdir-droid/_tests/xpcshell/toolkit/components/places/tests/expiration/test_annos_expire_session.js | test failed (with xpcshell return code: 0), see following log:
TEST-UNEXPECTED-PASS | /home/mozdev/src/objdir-droid/_tests/xpcshell/toolkit/components/places/tests/expiration/test_notifications.js | test failed (with xpcshell return code: 0), see following log:
TEST-UNEXPECTED-PASS | /home/mozdev/src/objdir-droid/_tests/xpcshell/toolkit/components/places/tests/expiration/test_pref_interval.js | test failed (with xpcshell return code: 0), see following log:
TEST-UNEXPECTED-PASS | /home/mozdev/src/objdir-droid/_tests/xpcshell/toolkit/components/places/tests/expiration/test_pref_maxpages.js | test failed (with xpcshell return code: 0), see following log:

And some other tests have started failing:

TEST-UNEXPECTED-FAIL | /home/mozdev/src/objdir-droid/_tests/xpcshell/toolkit/components/places/tests/unit/test_385397.js | test failed (with xpcshell return code: 0), see following log:
TEST-UNEXPECTED-FAIL | test_385397.js | 60 == 40 - See following stack:
TEST-UNEXPECTED-FAIL | /home/mozdev/src/objdir-droid/_tests/xpcshell/toolkit/components/places/tests/unit/test_399266.js | test failed (with xpcshell return code: 0), see following log:
TEST-UNEXPECTED-FAIL | test_399266.js | 21 == 20 - See following stack:
TEST-UNEXPECTED-FAIL | /home/mozdev/src/objdir-droid/_tests/xpcshell/toolkit/components/places/tests/unit/test_463863.js | test failed (with xpcshell return code: 0), see following log:
TEST-UNEXPECTED-FAIL | test_463863.js | 7 == 6 - See following stack:
I think it would be better to move this bug to Toolkit/Places and file a new bug for the password manager failures since they may be really unrelated each other
That's fine with me -- I was just guessing when I opened the bug.

Comment 5

5 years ago
This test is being removed in bug 817477.
Depends on: 817477

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME

Updated

2 years ago
Blocks: 1253585
You need to log in before you can comment on or make changes to this bug.