Closed
Bug 925237
Opened 13 years ago
Closed 5 years ago
Robocop tests don't work ("Could not initialize the application's security component"?)
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: rnewman, Unassigned)
Details
HTC One connected via USB, on the same wifi network as my MBP. I can run JUnit tests all day long. Everything adb-related works fine.
Robocop does not.
$ MOZ_HOST_BIN=/Users/rnewman/moz/hg/services-central/obj-ff-dbg/dist/bin make mochitest-robocop
Error deleting /data/anr/traces.txt
Mochi-Remote INFO | Device info: {}
Mochi-Remote INFO | Test root: /mnt/sdcard/tests
Mochi-Remote INFO | Android sdk version '16'; will use this to filter manifests
MochitestServer : launching [u'/Users/rnewman/moz/hg/services-central/obj-ff-dbg/dist/bin/xpcshell', '-g', '/Users/rnewman/moz/hg/services-central/obj-ff-dbg/dist/bin', '-v', '170', '-f', '/Users/rnewman/moz/hg/fx-team/objdir-droid/_tests/testing/mochitest/httpd.js', '-e', "const _PROFILE_PATH = '/var/folders/2b/fnxwv4mj1bqc8qbkhdzc13s80000gn/T/tmpG2EE1k'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '192.168.1.9'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', './server.js']
runtests.py | Server pid: 4067
runtests.py | Running tests: start.
Hang.
Fennec on the device shows the homepage, hilights the URL bar, but doesn't bring up a keyboard.
After 30 seconds or so, I get a dialog box on the phone:
"Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory…".
Then it shuts down:
---
Mochi-Remote WARNING | Unable to retrieve log file (/mnt/sdcard/tests/logs/mochitest.log) from remote device
INFO | runtests.py | Test summary: start.
0 INFO SimpleTest START
3 INFO TEST-START | Shutdown
4 INFO Passed: 0
5 INFO Failed: 0
6 INFO Todo: 0
7 INFO SimpleTest FINISHED
INFO | runtests.py | Test summary: end.
Mochi-Remote INFO |
--------- beginning of /dev/log/main
…
Mochi-Remote INFO | Device info: {}
Mochi-Remote INFO | Test root: /mnt/sdcard/tests
make: *** [mochitest-robocop] Error 1
Comment 1•13 years ago
|
||
It looks like tbpl is okay, and I don't see this on my local devices. What version of android is on that HTC One?
https://support.mozilla.org/en-US/kb/couldnt-initialize-applications-security-component suggests checking file permissions on the profile (test profile should be on /mnt/sdcard/tests, so I cannot imagine a problem) and checking for free storage (!?).
| Reporter | ||
Comment 2•13 years ago
|
||
(In reply to Geoff Brown [:gbrown] from comment #1)
> It looks like tbpl is okay, and I don't see this on my local devices.
Not unexpected -- I don't remember the last time I managed to get Robocop to run to completion on a real handset, so I stopped trying ~6 months ago. This is probably not a regression, I just decided to finally file a bug for this specific instance.
> What version of android is on that HTC One?
4.1.2.
> https://support.mozilla.org/en-US/kb/couldnt-initialize-applications-
> security-component suggests checking file permissions on the profile (test
> profile should be on /mnt/sdcard/tests, so I cannot imagine a problem)
That directory exists, but /mnt/sdcard/tests/profile is empty. Siblings are logs/, tmp/, fennec_ids.txt, robotium.config.
The logs folder contains a mochitest log consisting only of thread dumps.
> and checking for free storage (!?).
Tons of free storage.
The security component warning might well be a red herring.
Comment 3•5 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
| Assignee | ||
Updated•5 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
•