Closed Bug 1578507 Opened 5 years ago Closed 5 years ago

Intermittent netwerk/test/browser/browser_cross_process_redirect.js | leaked 1 docShell(s) until shutdown

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox67 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 --- unaffected
firefox71 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: valentin)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [necko-triaged][stockwell unknown])

Attachments

(1 file)

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=264783274&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/eFF0KYGTTNe9nYZRNhQG4g/runs/0/artifacts/public/logs/live_backing.log


[task 2019-09-03T17:59:52.164Z] 17:59:52 INFO - GECKO(1909) | => mAllocCount: 146721
[task 2019-09-03T17:59:52.164Z] 17:59:52 INFO - GECKO(1909) | => mReallocCount: 3
[task 2019-09-03T17:59:52.164Z] 17:59:52 INFO - GECKO(1909) | => mFreeCount: 146721
[task 2019-09-03T17:59:52.165Z] 17:59:52 INFO - GECKO(1909) | => mShareCount: 176256
[task 2019-09-03T17:59:52.168Z] 17:59:52 INFO - GECKO(1909) | => mAdoptCount: 2912
[task 2019-09-03T17:59:52.168Z] 17:59:52 INFO - GECKO(1909) | => mAdoptFreeCount: 3124
[task 2019-09-03T17:59:52.168Z] 17:59:52 INFO - GECKO(1909) | => Process ID: 1909, Thread ID: 4604151232
[task 2019-09-03T17:59:52.291Z] 17:59:52 INFO - TEST-INFO | Main app process: exit 0
[task 2019-09-03T17:59:52.291Z] 17:59:52 ERROR - TEST-UNEXPECTED-FAIL | netwerk/test/browser/browser_cross_process_redirect.js | leaked 1 docShell(s) until shutdown
[task 2019-09-03T17:59:52.291Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_cross_process_redirect.js | docShell(s) leaked: [pid = 1920] [id = {45e60599-da45-914c-b238-65fea664cb94}]
[task 2019-09-03T17:59:52.291Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_cross_process_redirect.js | This test created 0 hidden window(s)
[task 2019-09-03T17:59:52.292Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_cross_process_redirect.js | This test created 1 hidden docshell(s)
[task 2019-09-03T17:59:52.292Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_about_cache.js | This test created 0 hidden window(s)
[task 2019-09-03T17:59:52.292Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_about_cache.js | This test created 1 hidden docshell(s)
[task 2019-09-03T17:59:52.292Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_cookie_sync_across_tabs.js | This test created 0 hidden window(s)
[task 2019-09-03T17:59:52.292Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_cookie_sync_across_tabs.js | This test created 1 hidden docshell(s)
[task 2019-09-03T17:59:52.292Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_post_file.js | This test created 0 hidden window(s)
[task 2019-09-03T17:59:52.292Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_post_file.js | This test created 1 hidden docshell(s)
[task 2019-09-03T17:59:52.292Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_resource_navigation.js | This test created 0 hidden window(s)
[task 2019-09-03T17:59:52.293Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_resource_navigation.js | This test created 1 hidden docshell(s)
[task 2019-09-03T17:59:52.293Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_test_favicon.js | This test created 0 hidden window(s)
[task 2019-09-03T17:59:52.293Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_test_favicon.js | This test created 1 hidden docshell(s)
[task 2019-09-03T17:59:52.293Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_test_io_activity.js | This test created 0 hidden window(s)
[task 2019-09-03T17:59:52.294Z] 17:59:52 INFO - TEST-INFO | netwerk/test/browser/browser_test_io_activity.js | This test created 1 hidden docshell(s)
[task 2019-09-03T17:59:52.294Z] 17:59:52 INFO - runtests.py | Application ran for: 0:00:28.964776
[task 2019-09-03T17:59:52.294Z] 17:59:52 INFO - zombiecheck | Reading PID log: /var/folders/g3/y3shk2v57mdbc0wpymgr90dm000017/T/tmp6WjsTVpidlog
[task 2019-09-03T17:59:52.294Z] 17:59:52 INFO - ==> process 1909 launched child process 1910
[task 2019-09-03T17:59:52.294Z] 17:59:52 INFO - ==> process 1909 launched child process 1911
[task 2019-09-03T17:59:52.294Z] 17:59:52 INFO - ==> process 1909 launched child process 1912
[task 2019-09-03T17:59:52.294Z] 17:59:52 INFO - ==> process 1909 launched child process 1913
[task 2019-09-03T17:59:52.294Z] 17:59:52 INFO - ==> process 1909 launched child process 1914
[task 2019-09-03T17:59:52.294Z] 17:59:52 INFO - ==> process 1909 launched child process 1915
[task 2019-09-03T17:59:52.294Z] 17:59:52 INFO - ==> process 1909 launched child process 1916
[task 2019-09-03T17:59:52.295Z] 17:59:52 INFO - ==> process 1909 launched child process 1917
[task 2019-09-03T17:59:52.295Z] 17:59:52 INFO - ==> process 1909 launched child process 1918
[task 2019-09-03T17:59:52.295Z] 17:59:52 INFO - ==> process 1909 launched child process 1919
[task 2019-09-03T17:59:52.295Z] 17:59:52 INFO - ==> process 1909 launched child process 1920
[task 2019-09-03T17:59:52.295Z] 17:59:52 INFO - ==> process 1909 launched child process 1921
[task 2019-09-03T17:59:52.295Z] 17:59:52 INFO - ==> process 1909 launched child process 1922
[task 2019-09-03T17:59:52.295Z] 17:59:52 INFO - ==> process 1909 launched child process 1923
[task 2019-09-03T17:59:52.295Z] 17:59:52 INFO - ==> process 1909 launched child process 1924
[task 2019-09-03T17:59:52.295Z] 17:59:52 INFO - ==> process 1909 launched child process 1925
[task 2019-09-03T17:59:52.295Z] 17:59:52 INFO - ==> process 1909 launched child process 1926

Whiteboard: [necko-triaged]

Junior, can you also set a priority please?

Flags: needinfo?(juhsu)

It's going much higher.
P2 since it should be a misbehavior of test.

I grep the process Id of this and found:

18413:[task 2019-10-06T02:19:22.561Z] 02:19:22     INFO - GECKO(1960) | Completed ShutdownLeaks collections in process 1971
18501:[task 2019-10-06T02:19:26.505Z] 02:19:26     INFO - GECKO(1960) | [Child 1971, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/workspace/build/src/widget/cocoa/nsAppShell.mm, line 725
18504:[task 2019-10-06T02:19:26.532Z] 02:19:26     INFO - GECKO(1960) | --DOCSHELL 0x11a808800 == 1 [pid = 1971] [id = {6bcacd3e-a184-8f40-afee-674d9842b2a7}] [url = https://example.com/browser/netwerk/test/browser/dummy.html]
18505:[task 2019-10-06T02:19:26.557Z] 02:19:26     INFO - GECKO(1960) | --DOCSHELL 0x11a81b000 == 0 [pid = 1971] [id = {1617597e-84c7-f140-90b8-b82c6ca5f8dc}] [url = about:blank]
18515:[task 2019-10-06T02:19:26.595Z] 02:19:26     INFO - GECKO(1960) | --DOMWINDOW == 1 (0x11a84e5c0) [pid = 1971] [serial = 7] [outer = 0x0] [url = about:blank]
18516:[task 2019-10-06T02:19:26.596Z] 02:19:26     INFO - GECKO(1960) | --DOMWINDOW == 0 (0x11b84bc00) [pid = 1971] [serial = 9] [outer = 0x0] [url = about:blank]
18527:[task 2019-10-06T02:19:26.637Z] 02:19:26     INFO - GECKO(1960) |  => Process ID: 1971, Thread ID: 4323403200
18569:[task 2019-10-06T02:19:28.256Z] 02:19:28     INFO - TEST-INFO | netwerk/test/browser/browser_cross_process_redirect.js | docShell(s) leaked: [pid = 1971] [id = {6bcacd3e-a184-8f40-afee-674d9842b2a7}]

Looks like we're release the window successfully, however we end the test too early.
What do you think, valentin?

Flags: needinfo?(juhsu) → needinfo?(valentin.gosu)
Priority: -- → P2

This test was supposed to be removed in bug 1576714, but it was backed out.
I'll submit a patch to remove it right away.

Assignee: nobody → valentin.gosu
Flags: needinfo?(valentin.gosu)

This test was originally written to test HTTPResponseProcessSelection before it
was hooked up into the process switch machinery. It hooks into some parts of the
process switch process which should probably be removed in the future (such as
overriding the child listener component registration), and is broken under
fission anyway.

Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/193087eca4e8 Remove browser_cross_process_redirect test r=valentin
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: