Closed Bug 1643998 Opened 5 years ago Closed 4 years ago

Intermittent browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Check that about:newtab is in privileged about: content process after location change. - Got 11269, expected 8122

Categories

(Core :: DOM: Navigation, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Fission Milestone M7a

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered][stockwell disabled])

Attachments

(3 files)

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


[task 2020-06-07T10:22:15.948Z] 10:22:15 INFO - Console message: [JavaScript Error: "uncaught exception: Object" {file: "resource://activity-stream/data/content/activity-stream.bundle.js" line: 8677}]
[task 2020-06-07T10:22:15.949Z] 10:22:15 INFO - maybeLoadImage@resource://activity-stream/data/content/activity-stream.bundle.js:8677:14
[task 2020-06-07T10:22:15.950Z] 10:22:15 INFO - asynccomponentDidMount@resource://activity-stream/data/content/activity-stream.bundle.js:8813:10
[task 2020-06-07T10:22:15.950Z] 10:22:15 INFO - oj@resource://activity-stream/vendor/react-dom.js:127:59
[task 2020-06-07T10:22:15.951Z] 10:22:15 INFO - Aj@resource://activity-stream/vendor/react-dom.js:160:448
[task 2020-06-07T10:22:15.952Z] 10:22:15 INFO - unstable_runWithPriority@resource://activity-stream/vendor/react.js:25:260
[task 2020-06-07T10:22:15.953Z] 10:22:15 INFO - Da@resource://activity-stream/vendor/react-dom.js:60:280
[task 2020-06-07T10:22:15.953Z] 10:22:15 INFO - ab@resource://activity-stream/vendor/react-dom.js:154:192
[task 2020-06-07T10:22:15.954Z] 10:22:15 INFO - Te@resource://activity-stream/vendor/react-dom.js:146:357
[task 2020-06-07T10:22:15.955Z] 10:22:15 INFO - Pg/<@resource://activity-stream/vendor/react-dom.js:61:68
[task 2020-06-07T10:22:15.956Z] 10:22:15 INFO - unstable_runWithPriority@resource://activity-stream/vendor/react.js:25:260
[task 2020-06-07T10:22:15.957Z] 10:22:15 INFO - Da@resource://activity-stream/vendor/react-dom.js:60:280
[task 2020-06-07T10:22:15.958Z] 10:22:15 INFO - Pg@resource://activity-stream/vendor/react-dom.js:61:16
[task 2020-06-07T10:22:15.959Z] 10:22:15 INFO - ha@resource://activity-stream/vendor/react-dom.js:60:451
[task 2020-06-07T10:22:15.960Z] 10:22:15 INFO - Qh@resource://activity-stream/vendor/react-dom.js:147:10
[task 2020-06-07T10:22:15.960Z] 10:22:15 INFO - notify@resource://activity-stream/vendor/react-redux.js:1:1922
[task 2020-06-07T10:22:15.961Z] 10:22:15 INFO - t.notifyNestedSubs@resource://activity-stream/vendor/react-redux.js:1:1499
[task 2020-06-07T10:22:15.962Z] 10:22:15 INFO - t.handleChangeWrapper@resource://activity-stream/vendor/react-redux.js:1:1567
[task 2020-06-07T10:22:15.963Z] 10:22:15 INFO - dispatch@resource://activity-stream/vendor/redux.js:339:20
[task 2020-06-07T10:22:15.964Z] 10:22:15 INFO - NewtabRenderUtils</</messageMiddleware/</<@resource://activity-stream/data/content/activity-stream.bundle.js:2753:9
[task 2020-06-07T10:22:15.966Z] 10:22:15 INFO - NewtabRenderUtils</</queueEarlyMessageMiddleware/</<@resource://activity-stream/data/content/activity-stream.bundle.js:2818:11
[task 2020-06-07T10:22:15.967Z] 10:22:15 INFO - NewtabRenderUtils</</rehydrationMiddleware/</<@resource://activity-stream/data/content/activity-stream.bundle.js:2779:14
[task 2020-06-07T10:22:15.968Z] 10:22:15 INFO - NewtabRenderUtils</</initStore/<@resource://activity-stream/data/content/activity-stream.bundle.js:2845:15
[task 2020-06-07T10:22:15.969Z] 10:22:15 INFO - callListeners@resource://gre/modules/remotepagemanager/MessagePort.jsm:36:17
[task 2020-06-07T10:22:15.969Z] 10:22:15 INFO - handleMessage@resource://gre/modules/remotepagemanager/RemotePageManagerChild.jsm:78:19
[task 2020-06-07T10:22:15.970Z] 10:22:15 INFO - message@resource://gre/modules/remotepagemanager/MessagePort.jsm:203:10
[task 2020-06-07T10:22:15.971Z] 10:22:15 INFO - MessageListener.receiveMessage
addMessageListeners@resource://gre/modules/remotepagemanager/MessagePort.jsm:91:25
[task 2020-06-07T10:22:15.976Z] 10:22:15 INFO - MessagePort@resource://gre/modules/remotepagemanager/MessagePort.jsm:83:10
[task 2020-06-07T10:22:15.977Z] 10:22:15 INFO - ChildMessagePort@resource://gre/modules/remotepagemanager/RemotePageManagerChild.jsm:19:5
[task 2020-06-07T10:22:15.978Z] 10:22:15 INFO - observe@chrome://global/content/process-content.js:70:9
[task 2020-06-07T10:22:15.979Z] 10:22:15 INFO -
[task 2020-06-07T10:22:15.980Z] 10:22:15 INFO - Buffered messages finished
[task 2020-06-07T10:22:15.981Z] 10:22:15 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Check that about:newtab is in privileged about: content process after location change. - Got 11269, expected 8122
[task 2020-06-07T10:22:15.981Z] 10:22:15 INFO - Stack trace:
[task 2020-06-07T10:22:15.982Z] 10:22:15 INFO - chrome://mochikit/content/browser-test.js:test_is:1327
[task 2020-06-07T10:22:15.983Z] 10:22:15 INFO - chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js:process_switching_through_navigation_features/<:214
[task 2020-06-07T10:22:15.984Z] 10:22:15 INFO - resource://testing-common/BrowserTestUtils.jsm:withNewTab:146
[task 2020-06-07T10:22:15.985Z] 10:22:15 INFO - chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js:process_switching_through_navigation_features:120
[task 2020-06-07T10:22:15.985Z] 10:22:15 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1064
[task 2020-06-07T10:22:15.986Z] 10:22:15 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1104
[task 2020-06-07T10:22:15.987Z] 10:22:15 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:927
[task 2020-06-07T10:22:15.988Z] 10:22:15 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-06-07T10:22:15.989Z] 10:22:15 INFO - Leaving test bound process_switching_through_navigation_features
[task 2020-06-07T10:22:15.989Z] 10:22:15 INFO - GECKO(7974) | MEMORY STAT | vsize 3759MB | residentFast 441MB | heapAllocated 168MB
[task 2020-06-07T10:22:15.990Z] 10:22:15 INFO - TEST-OK | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | took 13493ms

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

Andrew, the recent failure rate spike looks to be caused by Bug 1694824.

Looking at the Intermittent-Failures view shows the increase started once the tests were enabled on Autoland.
Could you please take a look? Should these be disabled?

Flags: needinfo?(ahal)
Whiteboard: [retriggered][stockwell needswork:owner]

(In reply to Alexandru Michis [:malexandru] from comment #15)

Andrew, the recent failure rate spike looks to be caused by Bug 1694824.

Looking at the Intermittent-Failures view shows the increase started once the tests were enabled on Autoland.
Could you please take a look? Should these be disabled?

Yes, this looks to fail much more frequently on fission. Can we treat these the same as we do any other intermittents at this point? I enabled these tasks on behalf of the fission team but don't have any special insight there. I also don't think they should be treated differently than any other platform, though :cpeterson would likely appreciate a needinfo if you end up skipping them.

Flags: needinfo?(ahal) → needinfo?(malexandru)

Yeah, I'd just re-disable this for Fission if the failure frequency is too high. I'll nominate it for Fission tracking so it can be triaged with the other failures.

Fission Milestone: --- → ?
Component: DOM: Content Processes → DOM: Navigation

We may be shutting down the privileged about: process and respawning a new one, causing the test to fail.

kmag says we should add some process type assertions to ensure we're not mixing up the privileged about: process with some unprivileged process.

Flags: needinfo?(kmaglione+bmo)
Assignee: nobody → malexandru
Assignee: malexandru → nobody
Flags: needinfo?(malexandru)
Assignee: nobody → malexandru
Assignee: malexandru → nobody
Status: REOPENED → NEW
Keywords: leave-open
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/914abf2f0141 Disable browser_new_tab_in_privilegedabout_process_pref.js on fission Linux and OS X for frequent failures. r=mccr8 DONTBUILD

We're getting some intermittent failures on automation where the PID does not
match the original privileged process in some checks. It isn't clear whether
that's because we're actually not in a privileged process, though, or whether
the original privileged process was simply replaced.

The new checks will tell us both things.

Pushed by maglione.k@gmail.com: https://hg.mozilla.org/integration/autoland/rev/af6209370fc4 Check actual remote type along with PID when testing for privileged about: process. r=nika
Assignee: nobody → kmaglione+bmo
Status: NEW → ASSIGNED
Priority: P5 → P3

Hi Kris, should this be re-enabled on fission Linux and OS X?

Whiteboard: [retriggered][stockwell needswork:owner] → [retriggered][stockwell disabled]

Based on the new failures, it looks like we are in fact doing the Bad thing:

TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Check that about:newtab after location change is loaded in privileged about: content process. - Got "webIsolated=http://example.org", expected "privilegedabout"
Flags: needinfo?(kmaglione+bmo)

Tracking for Fission M7a since this is a [stockwell disabled] test and kmag has a patch up.

Fission Milestone: ? → M7a
Pushed by maglione.k@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c7ca6974f739 Ignore load events from stale actors in browserLoaded helper. r=nika
Pushed by maglione.k@gmail.com: https://hg.mozilla.org/integration/autoland/rev/bc87a7f1a1ba Ignore load events from stale actors in browserLoaded helper. r=nika
Flags: needinfo?(kmaglione+bmo)
Status: ASSIGNED → RESOLVED
Closed: 5 years ago4 years ago
Keywords: leave-open
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: