Closed Bug 1520968 Opened 5 years ago Closed 5 years ago

Make toolkit/components/passwordmgr/test/test_xml_load.html work with e10s

Categories

(Toolkit :: Password Manager, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: MattN, Assigned: prathiksha)

References

Details

Attachments

(1 file)

Move it to the mochitest/ directory once it's converted.

See the runInParent helper and other already fixed test_prompt* tests in toolkit/components/passwordmgr/test/mochitest for examples.

Blocks: 1258912
Assignee: nobody → prathikshaprasadsuman
Status: NEW → ASSIGNED

Make toolkit/components/passwordmgr/test/test_xml_load.html work with e10s

Pushed by prathikshaprasadsuman@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c8642479cf6f
Make toolkit/components/passwordmgr/test/test_xml_load.html work with e10s. r=MattN

Backed out changeset c8642479cf6f (bug 1520968) for Mochitest failures in toolkit/components/passwordmgr/test/test_xml_load.html

Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=225052290&repo=autoland&lineNumber=32613

INFO - TEST-START | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html
13:13:38 INFO - GECKO(2264) | ++DOMWINDOW == 11 (0x12a953c00) [pid = 2266] [serial = 188] [outer = 0x12a610000]
13:13:38 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: Found a principal with no URI, assuming third-party request: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 226
13:13:38 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: Found a principal with no URI, assuming third-party request: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 226
13:13:38 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: Found a principal with no URI, assuming third-party request: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 226
13:13:38 INFO - GECKO(2264) | ++DOCSHELL 0x128ec7000 == 5 [pid = 2266] [id = {033aa85a-a671-5c4c-bdaa-62129812e1c9}]
13:13:38 INFO - GECKO(2264) | ++DOMWINDOW == 12 (0x12a954c00) [pid = 2266] [serial = 189] [outer = 0x0]
13:13:38 INFO - GECKO(2264) | ++DOMWINDOW == 13 (0x12a955000) [pid = 2266] [serial = 190] [outer = 0x12a954c00]
13:13:38 INFO - GECKO(2264) | JavaScript error: , line 0: uncaught exception: SpecialPowersError: Error while executing chrome script 'initLogins':
13:13:38 INFO - GECKO(2264) | ReferenceError: Services is not defined
13:13:38 INFO - GECKO(2264) | initLogins:14
13:13:38 INFO - GECKO(2264) | ++DOCSHELL 0x118f0d800 == 9 [pid = 2264] [id = {c9cac486-c998-7b49-900e-a8ad1fc3ce5d}]
13:13:38 INFO - GECKO(2264) | ++DOMWINDOW == 18 (0x11e4b0800) [pid = 2264] [serial = 118] [outer = 0x0]
13:13:38 INFO - GECKO(2264) | ++DOMWINDOW == 19 (0x11e4b1800) [pid = 2264] [serial = 119] [outer = 0x11e4b0800]
13:13:38 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805D0021: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 1010
13:13:38 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: NS_ENSURE_TRUE(root) failed: file /builds/worker/workspace/build/src/layout/base/nsDocumentViewer.cpp, line 3214
13:13:39 INFO - TEST-INFO | started process screencapture
13:13:39 INFO - TEST-INFO | screencapture: exit 0
13:13:39 INFO - Buffered messages logged at 13:13:38
13:13:39 INFO - AddTask.js | Entering test test_promptUsernameAndPassword_accept
13:13:39 INFO - Buffered messages logged at 13:13:39
13:13:39 INFO - checkPromptState: http://mochi.test:8888 is requesting your username and password. The site says: “xml”
13:13:39 INFO - TEST-PASS | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | Checking expected message
13:13:39 INFO - TEST-PASS | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | Checking title always visible on OS X
13:13:39 INFO - TEST-PASS | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | Checking textbox visibility
13:13:39 INFO - TEST-PASS | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | Checking passbox visibility
13:13:39 INFO - TEST-PASS | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | Checking checkbox visibility
13:13:39 INFO - TEST-PASS | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | Checking checkbox label
13:13:39 INFO - TEST-PASS | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | Checking checkbox checked
13:13:39 INFO - TEST-PASS | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | Checking expected icon CSS class
13:13:39 INFO - Buffered messages finished
13:13:39 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | Checking textbox value - got "", expected "xmluser1"
13:13:39 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:320:5
13:13:39 INFO - checkPromptState@toolkit/components/passwordmgr/test/mochitest/prompt_common.js:67:5
13:13:39 INFO - handled@toolkit/components/passwordmgr/test/mochitest/prompt_common.js:31:7
13:13:39 INFO - Async*@toolkit/components/passwordmgr/test/mochitest/prompt_common.js:15:21
13:13:39 INFO - Not taking screenshot here: see the one that was previously logged
13:13:39 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | Checking passbox value - got "", expected "xmlpass1"
13:13:39 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:320:5
13:13:39 INFO - checkPromptState@toolkit/components/passwordmgr/test/mochitest/prompt_common.js:68:5
13:13:39 INFO - handled@toolkit/components/passwordmgr/test/mochitest/prompt_common.js:31:7
13:13:39 INFO - Async*@toolkit/components/passwordmgr/test/mochitest/prompt_common.js:15:21
13:13:39 INFO - TEST-PASS | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | checking button0 default
13:13:39 INFO - TEST-PASS | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | checking button1 default
13:13:39 INFO - TEST-PASS | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | checking button2 default
13:13:39 INFO - TEST-PASS | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | Checking focused element
13:13:39 INFO - GECKO(2264) | --DOMWINDOW == 18 (0x12ab16000) [pid = 2264] [serial = 109] [outer = 0x0] [url = about:blank]
13:13:39 INFO - GECKO(2264) | ++DOCSHELL 0x11ec50800 == 10 [pid = 2264] [id = {0914adfb-c54e-aa44-8057-784815fe657b}]
13:13:39 INFO - GECKO(2264) | ++DOMWINDOW == 19 (0x11e4b2800) [pid = 2264] [serial = 120] [outer = 0x0]
13:13:39 INFO - GECKO(2264) | ++DOMWINDOW == 20 (0x11e4b4c00) [pid = 2264] [serial = 121] [outer = 0x11e4b2800]
13:13:39 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805D0021: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 1010
13:13:39 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: NS_ENSURE_TRUE(root) failed: file /builds/worker/workspace/build/src/layout/base/nsDocumentViewer.cpp, line 3214
13:13:41 INFO - GECKO(2264) | --DOCSHELL 0x121c98800 == 9 [pid = 2264] [id = {27cc72df-e1d8-4d47-915f-2a8a8d056f47}]
13:13:41 INFO - GECKO(2264) | --DOCSHELL 0x129930000 == 8 [pid = 2264] [id = {112482c2-1b09-234c-a764-7c58ffabc26e}]
13:13:41 INFO - GECKO(2264) | --DOCSHELL 0x129580000 == 7 [pid = 2264] [id = {bd72008c-a5a3-dc41-9daf-2cc3a2357cdd}]
13:13:41 INFO - GECKO(2264) | --DOCSHELL 0x122627000 == 6 [pid = 2264] [id = {9e00886a-8ed3-a242-8e4c-7646f438fd97}]
13:13:41 INFO - GECKO(2264) | --DOMWINDOW == 19 (0x12ab20c00) [pid = 2264] [serial = 114] [outer = 0x0] [url = chrome://global/content/commonDialog.xul]
13:13:41 INFO - GECKO(2264) | --DOMWINDOW == 18 (0x12c844000) [pid = 2264] [serial = 116] [outer = 0x0] [url = chrome://global/content/commonDialog.xul]
13:13:41 INFO - GECKO(2264) | --DOMWINDOW == 17 (0x11e4ed000) [pid = 2264] [serial = 112] [outer = 0x0] [url = chrome://global/content/commonDialog.xul]
13:13:41 INFO - GECKO(2264) | --DOMWINDOW == 16 (0x12c840400) [pid = 2264] [serial = 110] [outer = 0x0] [url = chrome://global/content/commonDialog.xul]
13:13:43 INFO - GECKO(2264) | --DOMWINDOW == 12 (0x12a613800) [pid = 2266] [serial = 183] [outer = 0x0] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:13:46 INFO - GECKO(2264) | --DOCSHELL 0x12a6e8000 == 4 [pid = 2266] [id = {134040d7-e17a-e646-839e-14abb0011a35}]
13:13:46 INFO - GECKO(2264) | --DOCSHELL 0x120de3800 == 3 [pid = 2266] [id = {89e59c68-bfa2-e542-a70b-42c667021f3a}]
13:13:49 INFO - GECKO(2264) | --DOMWINDOW == 15 (0x12cbb1400) [pid = 2264] [serial = 111] [outer = 0x0] [url = about:blank]
13:13:49 INFO - GECKO(2264) | --DOMWINDOW == 14 (0x129c31c00) [pid = 2264] [serial = 113] [outer = 0x0] [url = about:blank]
13:13:49 INFO - GECKO(2264) | --DOMWINDOW == 13 (0x12c8e8000) [pid = 2264] [serial = 115] [outer = 0x0] [url = about:blank]
13:13:49 INFO - GECKO(2264) | --DOMWINDOW == 12 (0x12cbb7c00) [pid = 2264] [serial = 117] [outer = 0x0] [url = about:blank]
13:13:50 INFO - GECKO(2264) | --DOMWINDOW == 11 (0x12a61cc00) [pid = 2266] [serial = 182] [outer = 0x0] [url = http://mochi.test:8888/tests/toolkit/components/passwordmgr/test/mochitest/test_recipe_login_fields.html]
13:13:50 INFO - GECKO(2264) | --DOMWINDOW == 10 (0x128eb1800) [pid = 2266] [serial = 186] [outer = 0x0] [url = http://mochi.test:8888/tests/toolkit/components/passwordmgr/test/mochitest/test_xhr_2.html]
13:13:50 INFO - GECKO(2264) | --DOMWINDOW == 9 (0x12b9a9800) [pid = 2266] [serial = 141] [outer = 0x0] [url = http://mochi.test:8888/tests/toolkit/components/passwordmgr/test/mochitest/test_prompt_async.html]
13:13:50 INFO - GECKO(2264) | --DOMWINDOW == 8 (0x12a953000) [pid = 2266] [serial = 187] [outer = 0x0] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:13:50 INFO - GECKO(2264) | --DOMWINDOW == 7 (0x12a615400) [pid = 2266] [serial = 185] [outer = 0x0] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:13:50 INFO - GECKO(2264) | --DOMWINDOW == 6 (0x128eb0400) [pid = 2266] [serial = 184] [outer = 0x0] [url = http://mochi.test:8888/tests/toolkit/components/passwordmgr/test/mochitest/test_username_focus.html]
13:13:50 INFO - GECKO(2264) | --DOMWINDOW == 11 (0x11e4b0800) [pid = 2264] [serial = 118] [outer = 0x0] [url = chrome://global/content/commonDialog.xul]
13:13:50 INFO - GECKO(2264) | --DOCSHELL 0x118f0d800 == 5 [pid = 2264] [id = {c9cac486-c998-7b49-900e-a8ad1fc3ce5d}]
13:13:56 INFO - GECKO(2264) | --DOMWINDOW == 10 (0x11e4b1800) [pid = 2264] [serial = 119] [outer = 0x0] [url = about:blank]
13:16:49 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: Found a principal with no URI, assuming third-party request: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 226
13:16:49 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/netwerk/url-classifier/UrlClassifierCommon.cpp, line 125
13:16:49 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: Found a principal with no URI, assuming third-party request: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 226
13:16:49 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/netwerk/url-classifier/UrlClassifierCommon.cpp, line 125
13:16:49 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/netwerk/url-classifier/UrlClassifierCommon.cpp, line 125
13:16:49 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/netwerk/url-classifier/AsyncUrlChannelClassifier.cpp, line 752
13:16:49 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: Found a principal with no URI, assuming third-party request: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 226
13:16:49 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: Found a principal with no URI, assuming third-party request: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 226
13:16:49 INFO - GECKO(2264) | [Parent 2264, Main Thread] WARNING: Found a principal with no URI, assuming third-party request: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 226
13:18:56 INFO - Not taking screenshot here: see the one that was previously logged
13:18:56 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | Test timed out.
13:18:56 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:275:7
13:18:56 INFO - reportError@SimpleTest/TestRunner.js:121:7
13:18:56 INFO - TestRunner._checkForHangs@SimpleTest/TestRunner.js:142:7
13:18:56 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handler
TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - setTimeout handlerTestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
13:18:56 INFO - TestRunner.runTests/<@SimpleTest/TestRunner.js:381:9
13:18:56 INFO - promise callback
TestRunner.runTests@SimpleTest/TestRunner.js:368:50
13:18:56 INFO - RunSet.runtests@SimpleTest/setup.js:201:3
13:18:56 INFO - RunSet.runall@SimpleTest/setup.js:180:5
13:18:56 INFO - hookupTests@SimpleTest/setup.js:273:5
13:18:56 INFO - parseTestManifest@http://mochi.test:8888/manifestLibrary.js:36:5
13:18:56 INFO - getTestManifest/req.onload@http://mochi.test:8888/manifestLibrary.js:49:11
13:18:56 INFO - EventHandlerNonNullgetTestManifest@http://mochi.test:8888/manifestLibrary.js:45:3
13:18:56 INFO - hookup@SimpleTest/setup.js:253:5
13:18:56 INFO - EventHandlerNonNull
@http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&consoleLevel=INFO&hideResultsTable=1&manifestFile=tests.json&dumpOutputDirectory=%2Fvar%2Ffolders%2F8y%2Fsflp1mg962xd4pf_01scd7mc00000x%2FT&cleanupCrashes=true:11:1
13:18:57 INFO - GECKO(2264) | MEMORY STAT | vsize 4111MB | residentFast 142MB | heapAllocated 18MB
13:18:57 INFO - TEST-OK | toolkit/components/passwordmgr/test/mochitest/test_xml_load.html | took 318593ms
13:19:00 INFO - Error: Unable to restore focus, expect failures and timeouts.
13:19:00 INFO - GECKO(2264) | JavaScript error: http://mochi.test:8888/tests/toolkit/components/passwordmgr/test/mochitest/test_xml_load.html, line 34: TypeError: xmlDoc.getElementById(...) is null
13:19:00 INFO - GECKO(2264) | ++DOMWINDOW == 7 (0x1197e8800) [pid = 2266] [serial = 191] [outer = 0x12a610000]
13:19:00 INFO - TEST-START | Shutdown
13:19:00 INFO - Passed: 1812
13:19:00 INFO - Failed: 3
13:19:00 INFO - Todo: 38
13:19:00 INFO - Mode: e10s
13:19:00 INFO - Slowest: 318593ms - /tests/toolkit/components/passwordmgr/test/mochitest/test_xml_load.html
13:19:00 INFO - SimpleTest FINISHED
13:19:00 INFO - TEST-INFO | Ran 1 Loops
13:19:00 INFO - SimpleTest FINISHED

Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&revision=c8642479cf6f0c2f1420218aa7b6f55d400782e9&selectedJob=225052290

Backout:
https://hg.mozilla.org/integration/autoland/rev/6708eb716d5ad3fffc5223da5384acc0cc45351f

Flags: needinfo?(prathikshaprasadsuman)
Pushed by prathikshaprasadsuman@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/64c1809b12d5
Make toolkit/components/passwordmgr/test/test_xml_load.html work with e10s. r=MattN
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Flags: needinfo?(prathikshaprasadsuman)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: