Closed Bug 1670867 Opened 4 years ago Closed 4 years ago

Perma [Tier 2] [Fission] netwerk/test/browser/browser_child_resource.js | Browser should be in the right process - Got "false", expected "true"

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1674464
Fission Milestone M6c

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file, 1 obsolete file)

Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=318453259&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/c6A6M8ssQGCxzXhXr--pew/runs/0/artifacts/public/logs/live_backing.log


[task 2020-10-13T06:26:58.626Z] 06:26:58 INFO - TEST-START | netwerk/test/browser/browser_child_resource.js
[task 2020-10-13T06:26:59.578Z] 06:26:59 INFO - GECKO(4556) | Et tu, Brute?
[task 2020-10-13T06:26:59.831Z] 06:26:59 INFO - GECKO(4556) | [Parent 5988, Gecko_IOThread] WARNING: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_win.cc:166
[task 2020-10-13T06:26:59.871Z] 06:26:59 INFO - GECKO(4556) | This is a normal termination and isn't the one we are looking for...
[task 2020-10-13T06:26:59.872Z] 06:26:59 INFO - GECKO(4556) | about:tabcrashed loaded and ready
[task 2020-10-13T06:27:00.666Z] 06:27:00 INFO - GECKO(4556) | Crash cleaned up
[task 2020-10-13T06:27:00.707Z] 06:27:00 INFO - TEST-INFO | started process screenshot
[task 2020-10-13T06:27:00.781Z] 06:27:00 INFO - TEST-INFO | screenshot: exit 0
[task 2020-10-13T06:27:00.782Z] 06:27:00 INFO - Buffered messages logged at 06:26:58
[task 2020-10-13T06:27:00.782Z] 06:27:00 INFO - Entering test bound
[task 2020-10-13T06:27:00.783Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Browser should be in the right process -
[task 2020-10-13T06:27:00.783Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Services.jsm should resolve in both processes -
[task 2020-10-13T06:27:00.784Z] 06:27:00 INFO - Leaving test bound
[task 2020-10-13T06:27:00.785Z] 06:27:00 INFO - Entering test bound
[task 2020-10-13T06:27:00.785Z] 06:27:00 INFO - Buffered messages logged at 06:26:59
[task 2020-10-13T06:27:00.787Z] 06:27:00 INFO - Set
[task 2020-10-13T06:27:00.787Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in main process -
[task 2020-10-13T06:27:00.788Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in child process -
[task 2020-10-13T06:27:00.788Z] 06:27:00 INFO - Change
[task 2020-10-13T06:27:00.789Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in main process -
[task 2020-10-13T06:27:00.789Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in child process -
[task 2020-10-13T06:27:00.789Z] 06:27:00 INFO - Clear
[task 2020-10-13T06:27:00.790Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Shouldn't resolve in main process -
[task 2020-10-13T06:27:00.790Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Shouldn't resolve in child process -
[task 2020-10-13T06:27:00.790Z] 06:27:00 INFO - Leaving test bound
[task 2020-10-13T06:27:00.790Z] 06:27:00 INFO - Entering test bound
[task 2020-10-13T06:27:00.791Z] 06:27:00 INFO - Set
[task 2020-10-13T06:27:00.791Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in main process -
[task 2020-10-13T06:27:00.791Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in child process -
[task 2020-10-13T06:27:00.791Z] 06:27:00 INFO - Console message: [JavaScript Error: "remote browser crashed while on http://example.com/browser/netwerk/test/browser/dummy.html
[task 2020-10-13T06:27:00.791Z] 06:27:00 INFO - " {file: "chrome://mochikit/content/mochitest-e10s-utils.js" line: 10}]
[task 2020-10-13T06:27:00.792Z] 06:27:00 INFO - e10s_init/<@chrome://mochikit/content/mochitest-e10s-utils.js:10:10
[task 2020-10-13T06:27:00.792Z] 06:27:00 INFO -
[task 2020-10-13T06:27:00.792Z] 06:27:00 INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "resource://gre/modules/Readerable.jsm" line: 136}]
[task 2020-10-13T06:27:00.792Z] 06:27:00 INFO - Buffered messages finished
[task 2020-10-13T06:27:00.792Z] 06:27:00 INFO - TEST-UNEXPECTED-FAIL | netwerk/test/browser/browser_child_resource.js | Browser should be in the right process - Got "false", expected "true"
[task 2020-10-13T06:27:00.792Z] 06:27:00 INFO - Stack trace:
[task 2020-10-13T06:27:00.792Z] 06:27:00 INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-10-13T06:27:00.792Z] 06:27:00 INFO - chrome://mochitests/content/browser/netwerk/test/browser/browser_child_resource.js:restart:68
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in main process -
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in child process -
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - Change
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in main process -
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in child process -
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - Clear
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Shouldn't resolve in main process -
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Shouldn't resolve in child process -
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - Leaving test bound
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - Entering test bound
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - GECKO(4556) | JavaScript error: resource:///modules/ContentCrashHandlers.jsm, line 50: TypeError: can't access property "permanentKey", browser is undefined
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - Console message: [JavaScript Error: "TypeError: can't access property "permanentKey", browser is undefined" {file: "resource:///modules/ContentCrashHandlers.jsm" line: 50}]
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - get@resource:///modules/ContentCrashHandlers.jsm:50:9
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - onAboutTabCrashedUnload@resource:///modules/ContentCrashHandlers.jsm:556:35
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - removeCrashedPage@resource:///actors/AboutTabCrashedParent.jsm:75:21
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO - didDestroy@resource:///actors/AboutTabCrashedParent.jsm:22:10
[task 2020-10-13T06:27:00.793Z] 06:27:00 INFO -
[task 2020-10-13T06:27:01.025Z] 06:27:01 INFO - Set
[task 2020-10-13T06:27:01.030Z] 06:27:01 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in main process -
[task 2020-10-13T06:27:01.030Z] 06:27:01 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in child process -
[task 2020-10-13T06:27:01.030Z] 06:27:01 INFO - Clear
[task 2020-10-13T06:27:01.030Z] 06:27:01 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in main process -
[task 2020-10-13T06:27:01.030Z] 06:27:01 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Should resolve in child process -
[task 2020-10-13T06:27:01.035Z] 06:27:01 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Shouldn't resolve in main process -
[task 2020-10-13T06:27:01.035Z] 06:27:01 INFO - TEST-PASS | netwerk/test/browser/browser_child_resource.js | Shouldn't resolve in child process -
[task 2020-10-13T06:27:01.044Z] 06:27:01 INFO - Leaving test bound
[task 2020-10-13T06:27:01.106Z] 06:27:01 INFO - GECKO(4556) | MEMORY STAT | vsize 2104186MB | vsizeMaxContiguous 68688164MB | residentFast 269MB | heapAllocated 105MB
[task 2020-10-13T06:27:01.106Z] 06:27:01 INFO - TEST-OK | netwerk/test/browser/browser_child_resource.js | took 2482ms
[task 2020-10-13T06:27:01.126Z] 06:27:01 INFO - checking window state
[task 2020-10-13T06:27:01.148Z] 06:27:01 INFO - TEST-START | netwerk/test/browser/browser_cookie_sync_across_tabs.js

Summary: Perma [Tier 2] netwerk/test/browser/browser_child_resource.js | Browser should be in the right process - Got "false", expected "true" → Perma [Tier 2] [FIssion] netwerk/test/browser/browser_child_resource.js | Browser should be in the right process - Got "false", expected "true"
Summary: Perma [Tier 2] [FIssion] netwerk/test/browser/browser_child_resource.js | Browser should be in the right process - Got "false", expected "true" → Perma [Tier 2] [Fission] netwerk/test/browser/browser_child_resource.js | Browser should be in the right process - Got "false", expected "true"

Peter, this looks like a regression from bug 1668940.

Test failures started on 2020-10-13 and that pushlog includes bug 1668940:

https://hg.mozilla.org/mozilla-central/pushloghtml?changeset=c19042d45111972cf29075ee1155b99a02d180bf

Assignee: nobody → peterv
Severity: normal → S3
Fission Milestone: --- → M6c
Flags: needinfo?(peterv)
Priority: -- → P2
Regressed by: 1668940
Has Regression Range: --- → yes
Keywords: regression

Otherwise, if we return early, it will never get added, and we will crash when
trying to remove it when it's destroyed.

Comment on attachment 9183273 [details]
Bug 1670867: Add ContentParent to ContentProcessManager before we call InitInternal. r=nika

Revision D94487 was moved to bug 1671773. Setting attachment 9183273 [details] to obsolete.

Attachment #9183273 - Attachment is obsolete: true

In the last 7 days there where 45 failures of this bug. Happens on linux1804-64-shippable, windows10-64-shippable and windows10-64-shippable-qr opt build type.

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=320343882&repo=mozilla-central&lineNumber=8326

Peter, could you take a look please?

This bug failed 46 times in the last 7 days. Fails on linux1804-64-shippable, windows10-64-shippable, windows10-64-shippable-qr on opt build type.

Recent log:
https://treeherder.mozilla.org/logviewer?job_id=320797172&repo=mozilla-central&lineNumber=10791

Peter: Any updates on this bug?

Attachment #9187778 - Attachment description: Bug 1670867 - disable browser_child_resource.js on fision r?#intermittent-reviewers → Bug 1670867 - disable browser_child_resource.js on fission r?#intermittent-reviewers
Pushed by apavel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4f10c076038f disable browser_child_resource.js on fission r=intermittent-reviewers,jmaher DONTBUILD
Keywords: leave-open
Whiteboard: [stockwell needswork:owner] → [stockwell disabled]

This is expected to be fixed by the patch for bug 1674464.

Status: NEW → ASSIGNED
Flags: needinfo?(peterv)
Depends on: 1674464
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

This test got fixed and re-enabled by the fix for bug 1674464.

Whiteboard: [stockwell disabled]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: