test_storageservice_client.js fails on Android 2.3 emulator

RESOLVED INVALID

Status

Testing
General
RESOLVED INVALID
4 years ago
3 years ago

People

(Reporter: gbrown, Assigned: gbrown)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [test disabled on Android 2.3 and 4.3][leave open])

Attachments

(1 attachment, 2 obsolete attachments)

(Assignee)

Description

4 years ago
test_storageservice_client.js fails consistently on the Android 2.3 emulator.

https://tbpl.mozilla.org/php/getParsedLog.php?id=34305627&tree=Ash&full=1#error0

12:28:21     INFO -  TEST-INFO | /builds/slave/test/build/tests/xpcshell/tests/services/common/tests/unit/test_storageservice_client.js | running test ...
12:28:21  WARNING -  TEST-UNEXPECTED-FAIL | /builds/slave/test/build/tests/xpcshell/tests/services/common/tests/unit/test_storageservice_client.js | test failed (with xpcshell return code: 0), see following log:
12:28:21     INFO -  >>>>>>>
12:28:21     INFO -  xpcw: cd /mnt/sdcard/tests/xpcshell/services/common/tests/unit
12:28:21     INFO -  xpcw: xpcshell -r /mnt/sdcard/tests/xpcshell/c/httpd.manifest --greomni /data/local/xpcb/fennec-29.0a1.en-US.android-arm.apk -m -n -s -e const _HTTPD_JS_PATH = "/mnt/sdcard/tests/xpcshell/c/httpd.js"; -e const _HEAD_JS_PATH = "/mnt/sdcard/tests/xpcshell/head.js"; -e const _TESTING_MODULES_DIR = "/mnt/sdcard/tests/xpcshell/m"; -f /mnt/sdcard/tests/xpcshell/head.js -e const _SERVER_ADDR = "localhost" -e const _HEAD_FILES = ["/mnt/sdcard/tests/xpcshell/services/common/tests/unit/head_global.js", "/mnt/sdcard/tests/xpcshell/services/common/tests/unit/head_helpers.js", "/mnt/sdcard/tests/xpcshell/services/common/tests/unit/head_http.js"]; -e const _TAIL_FILES = []; -e const _TEST_FILE = ["test_storageservice_client.js"]; -e _execute_test(); quit(0);
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test MAIN run_test pending (1)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 0 pending (2)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test MAIN run_test finished (2)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | running event loop
12:28:21     INFO -  TEST-INFO | test_storageservice_client.js | Starting test_auth_failure_listener
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_auth_failure_listener pending (2)
12:28:21     INFO -  Ensure the onAuthFailure listener is invoked.
12:28:21     INFO -  Services.Common.Test.Server	INFO	Registering new user with server: 47758
12:28:21     INFO -  Services.Common.StorageServiceClient	INFO	Creating new StorageServiceClient under http://localhost:43793/2.0/324/
12:28:21     INFO -  Sync.StorageService.Request	INFO	Dispatching request: GET http://localhost:43793/2.0/324/info/collections
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header user-agent: StorageServiceClientdesktop
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header accept: application/json
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header authorization: ***** (suppressed)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 0 finished (2)
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	StorageServer: Handling request: GET /2.0/324/info/collections
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Authorization: Basic MzI0OklOVkFMSUQ=
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Decoded Basic Auth: 324:INVALID
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Got HTTP Basic auth for user: 324
12:28:21     INFO -  Services.Common.Test.Server	INFO	StorageServer: Unknown user: 324
12:28:21     INFO -  Services.Common.Test.Server	INFO	Response: 401 Unauthorized
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	onStartRequest: GET http://localhost:43793/2.0/324/info/collections
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	Channel for GET http://localhost:43793/2.0/324/info/collections returned status code 0
12:28:21     INFO -  Services.Common.RESTRequest	DEBUG	GET http://localhost:43793/2.0/324/info/collections 401
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	GET body: 
12:28:21     INFO -  Sync.StorageService.Request	INFO	401 http://localhost:43793/2.0/324/info/collections
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  onAuthFailure
12:28:21     INFO -  Sync.StorageService.Request	WARN	No onComplete installed in handler!
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 1 pending (2)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_auth_failure_listener finished (2)
12:28:21     INFO -  TEST-INFO | test_storageservice_client.js | Starting test_duplicate_listeners
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_duplicate_listeners pending (2)
12:28:21     INFO -  Ensure that duplicate listeners aren't installed multiple times.
12:28:21     INFO -  Services.Common.Test.Server	INFO	Registering new user with server: 36487
12:28:21     INFO -  Services.Common.StorageServiceClient	INFO	Creating new StorageServiceClient under http://localhost:47254/2.0/1234567/
12:28:21     INFO -  Sync.StorageService.Request	INFO	Dispatching request: GET http://localhost:47254/2.0/1234567/info/collections
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header user-agent: StorageServiceClientdesktop
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header accept: application/json
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header authorization: ***** (suppressed)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 1 finished (2)
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	StorageServer: Handling request: GET /2.0/1234567/info/collections
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Authorization: Basic MTIzNDU2NzpCQURfUEFTU1dPUkQ=
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Decoded Basic Auth: 1234567:BAD_PASSWORD
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Got HTTP Basic auth for user: 1234567
12:28:21     INFO -  Services.Common.Test.Server	INFO	StorageServer: Unknown user: 1234567
12:28:21     INFO -  Services.Common.Test.Server	INFO	Response: 401 Unauthorized
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	onStartRequest: GET http://localhost:47254/2.0/1234567/info/collections
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	Channel for GET http://localhost:47254/2.0/1234567/info/collections returned status code 0
12:28:21     INFO -  Services.Common.RESTRequest	DEBUG	GET http://localhost:47254/2.0/1234567/info/collections 401
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	GET body: 
12:28:21     INFO -  Sync.StorageService.Request	INFO	401 http://localhost:47254/2.0/1234567/info/collections
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 85] 1 == 1
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 2 pending (2)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_duplicate_listeners finished (2)
12:28:21     INFO -  TEST-INFO | test_storageservice_client.js | Starting test_handler_object
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_handler_object pending (2)
12:28:21     INFO -  Ensure that installed handlers get their callbacks invoked.
12:28:21     INFO -  Services.Common.Test.Server	INFO	Registering new user with server: 6804
12:28:21     INFO -  Services.Common.StorageServiceClient	INFO	Creating new StorageServiceClient under http://localhost:33789/2.0/6804/
12:28:21     INFO -  Sync.StorageService.Request	INFO	Dispatching request: GET http://localhost:33789/2.0/6804/info/collections
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header user-agent: StorageServiceClientdesktop
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header accept: application/json
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header authorization: ***** (suppressed)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 2 finished (2)
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	StorageServer: Handling request: GET /2.0/6804/info/collections
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Authorization: Basic NjgwNDpwYXNzd29yZA==
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Decoded Basic Auth: 6804:password
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Got HTTP Basic auth for user: 6804
12:28:21     INFO -  Services.Common.Test.Server	TRACE	StorageServer: info/collections returning {"meta":1391798001836,"clients":1391798001838,"crypto":1391798001839}
12:28:21     INFO -  Services.Common.Test.Server	INFO	Response: 200 OK
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	onStartRequest: GET http://localhost:33789/2.0/6804/info/collections
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	Channel for GET http://localhost:33789/2.0/6804/info/collections returned status code 0
12:28:21     INFO -  Services.Common.RESTRequest	DEBUG	GET http://localhost:33789/2.0/6804/info/collections 200
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	GET body: {"meta":1391798001836,"clients":1391798001838,"crypto":1391798001839}
12:28:21     INFO -  Sync.StorageService.Request	INFO	200 http://localhost:33789/2.0/6804/info/collections
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 103] 1 == 1
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 104] 1 == 1
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 3 pending (2)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_handler_object finished (2)
12:28:21     INFO -  TEST-INFO | test_storageservice_client.js | Starting test_info_collections
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_info_collections pending (2)
12:28:21     INFO -  Ensure requests to /info/collections work as expected.
12:28:21     INFO -  Services.Common.Test.Server	INFO	Registering new user with server: 82155
12:28:21     INFO -  Services.Common.StorageServiceClient	INFO	Creating new StorageServiceClient under http://localhost:47465/2.0/82155/
12:28:21     INFO -  Sync.StorageService.Request	INFO	Dispatching request: GET http://localhost:47465/2.0/82155/info/collections
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header user-agent: StorageServiceClientdesktop
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header accept: application/json
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header authorization: ***** (suppressed)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 3 finished (2)
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	StorageServer: Handling request: GET /2.0/82155/info/collections
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Authorization: Basic ODIxNTU6cGFzc3dvcmQ=
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Decoded Basic Auth: 82155:password
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Got HTTP Basic auth for user: 82155
12:28:21     INFO -  Services.Common.Test.Server	TRACE	StorageServer: info/collections returning {"meta":1391798002726,"clients":1391798002728,"crypto":1391798002729}
12:28:21     INFO -  Services.Common.Test.Server	INFO	Response: 200 OK
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	onStartRequest: GET http://localhost:47465/2.0/82155/info/collections
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	Channel for GET http://localhost:47465/2.0/82155/info/collections returned status code 0
12:28:21     INFO -  Services.Common.RESTRequest	DEBUG	GET http://localhost:47465/2.0/82155/info/collections 200
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	GET body: {"meta":1391798002726,"clients":1391798002728,"crypto":1391798002729}
12:28:21     INFO -  Sync.StorageService.Request	INFO	200 http://localhost:47465/2.0/82155/info/collections
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 125] null == null
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 126] "object" == "object"
12:28:21     INFO -  TEST-PASS | /mnt/sdcard/tests/xpcshell/services/common/tests/unit/head_helpers.js | [do_check_attribute_count : 18] 3 == 3
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 128] true == true
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 4 pending (2)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_info_collections finished (2)
12:28:21     INFO -  TEST-INFO | test_storageservice_client.js | Starting test_info_collections_conditional_not_modified
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_info_collections_conditional_not_modified pending (2)
12:28:21     INFO -  Ensure conditional getCollectionInfo requests work.
12:28:21     INFO -  Services.Common.Test.Server	INFO	Registering new user with server: 30050
12:28:21     INFO -  Services.Common.StorageServiceClient	INFO	Creating new StorageServiceClient under http://localhost:50831/2.0/30050/
12:28:21     INFO -  Sync.StorageService.Request	TRACE	Making request conditional.
12:28:21     INFO -  Sync.StorageService.Request	INFO	Dispatching request: GET http://localhost:50831/2.0/30050/info/collections
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header user-agent: StorageServiceClientdesktop
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header accept: application/json
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header x-if-modified-since: 1391798003635
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header authorization: ***** (suppressed)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 4 finished (2)
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	StorageServer: Handling request: GET /2.0/30050/info/collections
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Authorization: Basic MzAwNTA6cGFzc3dvcmQ=
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Decoded Basic Auth: 30050:password
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Got HTTP Basic auth for user: 30050
12:28:21     INFO -  Services.Common.Test.Server	INFO	Server mtime: 1391798003627; Client modified: 1391798003635
12:28:21     INFO -  Services.Common.Test.Server	INFO	Response: 304 Not Modified
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	onStartRequest: GET http://localhost:50831/2.0/30050/info/collections
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	Channel for GET http://localhost:50831/2.0/30050/info/collections returned status code 0
12:28:21     INFO -  Services.Common.RESTRequest	DEBUG	GET http://localhost:50831/2.0/30050/info/collections 304
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	GET body: 
12:28:21     INFO -  Sync.StorageService.Request	INFO	304 http://localhost:50831/2.0/30050/info/collections
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 149] null == null
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 150] true == true
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 5 pending (2)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_info_collections_conditional_not_modified finished (2)
12:28:21     INFO -  TEST-INFO | test_storageservice_client.js | Starting test_info_collections_conditional_modified
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_info_collections_conditional_modified pending (2)
12:28:21     INFO -  Ensure conditional getCollectionInfo requests work.
12:28:21     INFO -  Services.Common.Test.Server	INFO	Registering new user with server: 9971
12:28:21     INFO -  Services.Common.StorageServiceClient	INFO	Creating new StorageServiceClient under http://localhost:39233/2.0/9971/
12:28:21     INFO -  Sync.StorageService.Request	TRACE	Making request conditional.
12:28:21     INFO -  Sync.StorageService.Request	INFO	Dispatching request: GET http://localhost:39233/2.0/9971/info/collections
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header user-agent: StorageServiceClientdesktop
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header accept: application/json
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header x-if-modified-since: 1391798004425
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header authorization: ***** (suppressed)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 5 finished (2)
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	StorageServer: Handling request: GET /2.0/9971/info/collections
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Authorization: Basic OTk3MTpwYXNzd29yZA==
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Decoded Basic Auth: 9971:password
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Got HTTP Basic auth for user: 9971
12:28:21     INFO -  Services.Common.Test.Server	INFO	Server mtime: 1391798004436; Client modified: 1391798004425
12:28:21     INFO -  Services.Common.Test.Server	TRACE	StorageServer: info/collections returning {"meta":1391798004377,"clients":1391798004379,"crypto":1391798004408,"testcoll":1391798004436}
12:28:21     INFO -  Services.Common.Test.Server	INFO	Response: 200 OK
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	onStartRequest: GET http://localhost:39233/2.0/9971/info/collections
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	Channel for GET http://localhost:39233/2.0/9971/info/collections returned status code 0
12:28:21     INFO -  Services.Common.RESTRequest	DEBUG	GET http://localhost:39233/2.0/9971/info/collections 200
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	GET body: {"meta":1391798004377,"clients":1391798004379,"crypto":1391798004408,"testcoll":1391798004436}
12:28:21     INFO -  Sync.StorageService.Request	INFO	200 http://localhost:39233/2.0/9971/info/collections
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 171] null == null
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 172] false == false
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 6 pending (2)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_info_collections_conditional_modified finished (2)
12:28:21     INFO -  TEST-INFO | test_storageservice_client.js | Starting test_get_quota
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_get_quota pending (2)
12:28:21     INFO -  Ensure quota requests work.
12:28:21     INFO -  Services.Common.Test.Server	INFO	Registering new user with server: 38611
12:28:21     INFO -  Services.Common.StorageServiceClient	INFO	Creating new StorageServiceClient under http://localhost:36057/2.0/38611/
12:28:21     INFO -  Sync.StorageService.Request	INFO	Dispatching request: GET http://localhost:36057/2.0/38611/info/quota
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header user-agent: StorageServiceClientdesktop
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header accept: application/json
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header authorization: ***** (suppressed)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 6 finished (2)
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	StorageServer: Handling request: GET /2.0/38611/info/quota
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Authorization: Basic Mzg2MTE6cGFzc3dvcmQ=
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Decoded Basic Auth: 38611:password
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Got HTTP Basic auth for user: 38611
12:28:21     INFO -  Services.Common.Test.Server	INFO	Response: 200 OK
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	onStartRequest: GET http://localhost:36057/2.0/38611/info/quota
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	Channel for GET http://localhost:36057/2.0/38611/info/quota returned status code 0
12:28:21     INFO -  Services.Common.RESTRequest	DEBUG	GET http://localhost:36057/2.0/38611/info/quota 200
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	GET body: {"quota":1048576,"usage":0}
12:28:21     INFO -  Sync.StorageService.Request	INFO	200 http://localhost:36057/2.0/38611/info/quota
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 185] null == null
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 187] 1048576 == 1048576
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 7 pending (2)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_get_quota finished (2)
12:28:21     INFO -  TEST-INFO | test_storageservice_client.js | Starting test_get_quota_conditional_not_modified
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test test_get_quota_conditional_not_modified pending (2)
12:28:21     INFO -  Ensure conditional getQuota requests work.
12:28:21     INFO -  Services.Common.Test.Server	INFO	Registering new user with server: 91399
12:28:21     INFO -  Services.Common.StorageServiceClient	INFO	Creating new StorageServiceClient under http://localhost:60435/2.0/91399/
12:28:21     INFO -  Sync.StorageService.Request	TRACE	Making request conditional.
12:28:21     INFO -  Sync.StorageService.Request	INFO	Dispatching request: GET http://localhost:60435/2.0/91399/info/quota
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header user-agent: StorageServiceClientdesktop
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header accept: application/json
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header x-if-modified-since: 1391798005910
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	HTTP Header authorization: ***** (suppressed)
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | test run_next_test 7 finished (2)
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	StorageServer: Handling request: GET /2.0/91399/info/quota
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Authorization: Basic OTEzOTk6cGFzc3dvcmQ=
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Decoded Basic Auth: 91399:password
12:28:21     INFO -  Services.Common.Test.Server	DEBUG	Got HTTP Basic auth for user: 91399
12:28:21     INFO -  Services.Common.Test.Server	INFO	Server mtime: 1391798005911; Client modified: 1391798005910
12:28:21     INFO -  Services.Common.Test.Server	INFO	Response: 200 OK
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	onStartRequest: GET http://localhost:60435/2.0/91399/info/quota
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	Channel for GET http://localhost:60435/2.0/91399/info/quota returned status code 0
12:28:21     INFO -  Services.Common.RESTRequest	DEBUG	GET http://localhost:60435/2.0/91399/info/quota 200
12:28:21     INFO -  Services.Common.RESTRequest	TRACE	GET body: {"quota":1048576,"usage":7}
12:28:21     INFO -  Sync.StorageService.Request	INFO	200 http://localhost:60435/2.0/91399/info/quota
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  Sync.RESTResponse	TRACE	Processing response headers.
12:28:21     INFO -  TEST-PASS | test_storageservice_client.js | [onComplete : 208] null == null
12:28:21  WARNING -  TEST-UNEXPECTED-FAIL | test_storageservice_client.js | false == true - See following stack:
12:28:21     INFO -  JS frame :: test_storageservice_client.js :: onComplete :: line 209
12:28:21     INFO -  JS frame :: resource://services-common/storageservice.js :: callOnComplete :: line 773
12:28:21     INFO -  JS frame :: resource://services-common/storageservice.js :: StorageServiceRequest.prototype._onComplete :: line 798
12:28:21     INFO -  JS frame :: resource://services-common/storageservice.js :: _internalOnComplete :: line 656
12:28:21     INFO -  JS frame :: resource://services-common/rest.js :: onStopRequest :: line 453
12:28:21     INFO -  native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0
12:28:21     INFO -  TEST-INFO | (xpcshell/head.js) | exiting test
12:28:21     INFO -  Sync.StorageService.Request	WARN	Exception when invoking handler's onComplete: 2147500036 No traceback available
12:28:21     INFO -  Sync.StorageService.Request	INFO	Exception when processing _onComplete: 2147500036
12:28:21     INFO -  !!! error running onStopped callback: TypeError: callback is not a function
12:28:21     INFO -  \x00
12:28:21     INFO -  <<<<<<<
(Assignee)

Comment 1

4 years ago
Created attachment 8372572 [details] [diff] [review]
mark test_storageservice_client.js as failing on Android 2.3
Attachment #8372572 - Flags: review?(dminor)
(Assignee)

Comment 2

4 years ago
Created attachment 8372699 [details] [diff] [review]
mark test_storageservice_client.js as failing on Android 2.3

I noticed a typo in the previous patch.
Attachment #8372572 - Attachment is obsolete: true
Attachment #8372572 - Flags: review?(dminor)
Attachment #8372699 - Flags: review?(dminor)
WFM. We don't use the storageservice client, especially not on Android.
(Assignee)

Updated

4 years ago
Attachment #8372699 - Flags: review?(dminor)

Updated

4 years ago
Attachment #8372699 - Flags: review+
(Assignee)

Comment 4

4 years ago
Created attachment 8373376 [details] [diff] [review]
skip test_storageservice_client.js on Android 2.3

This failure is slightly intermittent - skip on Android 2.3 to guarantee success.
Attachment #8372699 - Attachment is obsolete: true
Attachment #8373376 - Flags: review?(dminor)

Updated

4 years ago
Attachment #8373376 - Flags: review?(dminor) → review+
(Assignee)

Comment 5

4 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/27885bfe078f
Whiteboard: [leave open] [test disabled]
(Assignee)

Updated

4 years ago
Assignee: gbrown → nobody
(Assignee)

Updated

4 years ago
Blocks: 979921
(Assignee)

Updated

4 years ago
No longer blocks: 967704
(Assignee)

Comment 7

4 years ago
Re-checking disabled Android 2.3 tests, I verified that this still fails intermittently, if enabled.

https://tbpl.mozilla.org/?tree=Try&rev=d84576ed7437
(Assignee)

Comment 8

3 years ago
This also fails intermittently on Android 4.3.
Whiteboard: [leave open] [test disabled] → [test disabled on Android 2.3 and 4.3][leave open]
Depends on: 1148933
(Assignee)

Comment 9

3 years ago
Test no longer exists -- removed by bug 1148933.
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.