Closed
Bug 676981
Opened 13 years ago
Closed 6 years ago
some xpcshell tests in storage/test/unit fail on Android
Categories
(Toolkit :: Storage, defect)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: gbrown, Unassigned)
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, test_chunk_growth.js and test_telemetry_vfs.js in storage/test/unit fail consistently when run on Android.
Reporter | ||
Updated•13 years ago
|
OS: Linux → Android
Summary: some xpcshell tests in storage/test/unit fail → some xpcshell tests in storage/test/unit fail on Android
Whiteboard: [mobile-testing][xpcshell]
Reporter | ||
Comment 1•13 years ago
|
||
Log for test_chunk_growth.js:
make SOLO_FILE=test_chunk_growth.js -C storage/test check-one-remote
make: Entering directory `/home/mozdev/src/objdir-droid/storage/test'
/usr/bin/python2.7 -u /home/mozdev/src/config/pythonpath.py \
-I/home/mozdev/src/build \
-I/home/mozdev/src/build/mobile \
/home/mozdev/src/testing/xpcshell/remotexpcshelltests.py \
--symbols-path=../../dist/crashreporter-symbols \
--build-info-json=../../mozinfo.json \
--test-path=test_chunk_growth.js \
--profile-name=fennec \
--verbose \
\
--dm_trans=adb \
--deviceIP=192.168.0.70 \
--objdir=../.. \
--noSetup \
../../_tests/xpcshell/storage/test/unit
204 KB/s (14164 bytes in 0.067s)
will execute commands via run-as org.mozilla.fennec_mozdev
will use zip to push directories
134 KB/s (14164 bytes in 0.102s)
will execute commands via run-as org.mozilla.fennec_mozdev
will use zip to push directories
using APK: ../../dist/fennec-11.0a1.en-US.android-arm.apk
chmod /data/local/tests/xpcshell/p
TEST-INFO | profile dir is /data/local/tests/xpcshell/p
TEST-INFO | /home/mozdev/src/objdir-droid/_tests/xpcshell/storage/test/unit/test_chunk_growth.js | running test ...
cd /data/local/tests/xpcshell/storage/test/unit; LD_LIBRARY_PATH=/data/local/tests/xpcshell/b; export CACHE_PATH=/data/local/tests/xpcshell/b; export GRE_HOME=/data/data/org.mozilla.fennec_mozdev; export XPCSHELL_TEST_PROFILE_DIR=/data/local/tests/xpcshell/p; /data/local/tests/xpcshell/b/xpcshell -r /data/local/tests/xpcshell/c/httpd.manifest --greomni /data/local/tests/xpcshell/b/fennec-11.0a1.en-US.android-arm.apk -j -s -e 'const _HTTPD_JS_PATH = "/data/local/tests/xpcshell/c/httpd.js";' -e 'const _HEAD_JS_PATH = "/data/local/tests/xpcshell/head.js";' -f /data/local/tests/xpcshell/head.js -e 'const _SERVER_ADDR = "localhost"' -e 'const _HEAD_FILES = ["head_storage.js"];' -e 'const _TAIL_FILES = [];' -e 'const _TEST_FILE = ["test_chunk_growth.js"];' -e '_execute_test(); quit(0);'
TEST-KNOWN-FAIL | /home/mozdev/src/objdir-droid/_tests/xpcshell/storage/test/unit/test_chunk_growth.js | test passed (time: 32771.281ms)
>>>>>>>
*** Storage Tests: Trying to close!
*** Storage Tests: Trying to remove file!
TEST-INFO | (xpcshell/head.js) | test 1 pending
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-PASS | test_chunk_growth.js | [run_test : 46] true == true
TEST-UNEXPECTED-FAIL | test_chunk_growth.js | false == true - See following stack:
JS frame :: /data/local/tests/xpcshell/head.js :: do_throw :: line 453
JS frame :: /data/local/tests/xpcshell/head.js :: _do_check_eq :: line 547
JS frame :: /data/local/tests/xpcshell/head.js :: do_check_eq :: line 568
JS frame :: /data/local/tests/xpcshell/head.js :: do_check_true :: line 582
JS frame :: test_chunk_growth.js :: run_test :: line 46
JS frame :: /data/local/tests/xpcshell/head.js :: _execute_test :: line 326
JS frame :: -e :: <TOP_LEVEL> :: line 1
TEST-INFO | (xpcshell/head.js) | exiting test
<<<<<<<
INFO | Result summary:
INFO | Passed: 0
INFO | Failed: 0
INFO | Todo: 1
make: Leaving directory `/home/mozdev/src/objdir-droid/storage/test'
Comment 2•13 years ago
|
||
http://mxr.mozilla.org/mozilla-central/source/storage/test/unit/test_chunk_growth.js#46 So, is our nsIFile buggy on android, or does this code just not work?
Comment 3•13 years ago
|
||
chunked growth is disabled on android, this test should not pass there, but the test doesn't know!
Comment 4•6 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•