Closed Bug 684962 Opened 13 years ago Closed 5 years ago

xpcshell test dom/tests/unit/test_geolocation_provider.js hangs on Android

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
Android
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, dom/tests/unit/test_geolocation_provider.js consistently hangs if run on Android.
Whiteboard: [mobile-testing][xpcshell]
Is that including with the patch in the last couple of weeks that made it not try to hit the network?
(In reply to Josh Matthews [:jdm] from comment #1)
> Is that including with the patch in the last couple of weeks that made it
> not try to hit the network?

Yes -- I verified that it hangs with a current m-c build, today.
OS: Linux → Android
Log from today's run (I broke out with ctrl-C after about a minute):


geoff@geoff-MacBookPro:~/src/mozilla-central/objdir-droid$ make SOLO_FILE=test_geolocation_provider.js -C dom/tests check-one-remote
make: Entering directory `/home/geoff/src/mozilla-central/objdir-droid/dom/tests'
/usr/bin/python2.6 -u ../../../config/pythonpath.py \
	  -I../../../build \
	  -I../../../build/mobile \
	  ../../../testing/xpcshell/remotexpcshelltests.py \
	  --symbols-path=../../dist/crashreporter-symbols \
	  --build-info-json=../../mozinfo.json \
	  --test-path=test_geolocation_provider.js \
	  --profile-name=fennec \
	  --verbose \
	   \
	  --dm_trans=adb \
	  --deviceIP= \
	  --objdir=../.. \
          --noSetup \
	  ../../_tests/xpcshell/dom/tests/unit
198 KB/s (13771 bytes in 0.067s)
will execute commands via run-as org.mozilla.fennec_geoff
using APK: ../../dist/fennec-9.0a1.en-US.eabi-arm.apk
chmod /data/local/tests/xpcshell/p
TEST-INFO | profile dir is /data/local/tests/xpcshell/p
TEST-INFO | /home/geoff/src/mozilla-central/objdir-droid/_tests/xpcshell/dom/tests/unit/test_geolocation_provider.js | running test ...
cd /data/local/tests/xpcshell/dom/tests/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_geoff; 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-9.0a1.en-US.eabi-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 = [];' -e 'const _TAIL_FILES = [];' -e 'const _TEST_FILE = ["test_geolocation_provider.js"];' -e '_execute_test(); quit(0);'
^CTEST-UNEXPECTED-FAIL | /home/geoff/src/mozilla-central/objdir-droid/_tests/xpcshell/dom/tests/unit/test_geolocation_provider.js | test failed (with xpcshell return code: -2), see following log:
>>>>>>>

TEST-INFO | (xpcshell/head.js) | test 1 pending

TEST-INFO | (xpcshell/head.js) | test 2 pending

TEST-PASS | test_geolocation_provider.js | [null : 36] 1 == true

TEST-INFO | (xpcshell/head.js) | test 2 finished

TEST-INFO | (xpcshell/head.js) | running event loop
<<<<<<<
TEST-UNEXPECTED-FAIL | Received SIGINT (control-C) during test execution
INFO | Result summary:
INFO | Passed: 0
INFO | Failed: 1
INFO | Todo: 0
TEST-UNEXPECTED-FAIL | Received SIGINT (control-C), so stopped run. (Use --keep-going to keep running tests after killing one with SIGINT)
make: *** [check-one-remote] Error 1
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML

Not activity for so long that I am closing it...

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.