Closed Bug 1528607 Opened 6 years ago Closed 5 years ago

Intermittent toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js | Test timed out -

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME

People

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

References

Details

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

Attachments

(2 files)

#[markdown(off)]
Filed by: rmaries [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=228885735&repo=mozilla-central

https://queue.taskcluster.net/v1/task/L2cNlSUSSLy30J3lCHhVYA/runs/0/artifacts/public/logs/live_backing.log

[task 2019-02-17T11:47:13.112Z] 11:47:13 INFO - TEST-START | toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js
[task 2019-02-17T11:47:13.161Z] 11:47:13 INFO - GECKO(5756) | Couldn't convert chrome URL: chrome://branding/locale/brand.properties

[task 2019-02-17T11:48:43.705Z] 11:48:43 INFO - TEST-PASS | toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js | from: https://example.com/browser/toolkit/components/remotebrowserutils/tests/browser/coop_header.sjs to https://example.org/browser/toolkit/components/remotebrowserutils/tests/browser/coop_header.sjs?same-origin - 5899 != 5848 -
[task 2019-02-17T11:48:43.705Z] 11:48:43 INFO - Buffered messages logged at 11:47:22
[task 2019-02-17T11:48:43.705Z] 11:48:43 INFO - Test tab ready: https://example.com/browser/toolkit/components/remotebrowserutils/tests/browser/coop_header.sjs?same-origin#1
[task 2019-02-17T11:48:43.706Z] 11:48:43 INFO - firstProcessID: 5848
[task 2019-02-17T11:48:43.707Z] 11:48:43 INFO - Navigated to: https://example.org/browser/toolkit/components/remotebrowserutils/tests/browser/coop_header.sjs?same-origin#1
[task 2019-02-17T11:48:43.708Z] 11:48:43 INFO - Buffered messages finished
[task 2019-02-17T11:48:43.709Z] 11:48:43 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js | Test timed out -
[task 2019-02-17T11:48:43.710Z] 11:48:43 INFO - GECKO(5756) | MEMORY STAT | vsize 1889MB | residentFast 337MB | heapAllocated 73MB
[task 2019-02-17T11:48:43.712Z] 11:48:43 INFO - TEST-OK | toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js | took 90068ms
[task 2019-02-17T11:48:43.713Z] 11:48:43 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-02-17T11:48:43.714Z] 11:48:43 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js | Found a tab after previous test timed out: https://example.org/browser/toolkit/components/remotebrowserutils/tests/browser/coop_header.sjs?same-origin#1 -
[task 2019-02-17T11:48:43.715Z] 11:48:43 INFO - GECKO(5756) | ++DOCSHELL 0x7ff5b8c1d000 == 1 [pid = 5848] [id = {56772b68-cdac-4843-94e7-3ae2cd3f69d9}]
[task 2019-02-17T11:48:43.716Z] 11:48:43 INFO - GECKO(5756) | ++DOMWINDOW == 1 (0x7ff5b8ca6800) [pid = 5848] [serial = 23] [outer = (nil)]
[task 2019-02-17T11:48:43.717Z] 11:48:43 INFO - GECKO(5756) | ++DOMWINDOW == 2 (0x7ff5b8ca8400) [pid = 5848] [serial = 24] [outer = 0x7ff5b8ca6800]
[task 2019-02-17T11:48:43.718Z] 11:48:43 INFO - checking window state

Component: DOM → DOM: Core & HTML

Hi Junior, do you have ideas of why the failure rate raises recently? Thanks!

Flags: needinfo?(juhsu)

It might be a regression of Bug 1561712. I'll take a look. Thanks!

Assignee: nobody → juhsu
Flags: needinfo?(juhsu)
Component: DOM: Core & HTML → Networking
Priority: -- → P2
Whiteboard: [stockwell needswork:owner] → [stockwell needswork:owner][necko-triaged]

Two issues:
(a) Timeout before Bug 1561712 stuck in this content task for the process switch setting.

(b) Timeout after stuck with loading new tab

BrowserTestUtils.withNewTab doesn't work well without url, (i.e, about:blank)

Patch in comment 27 only consider issue (b) in comment 26, but it should ease the intermittent rate from 1% to 0.1%

https://treeherder.mozilla.org/#/jobs?repo=try&revision=1b22ee993597d58c0d8e269e142eff835cd2ad81

Nika, could you please take a look over Junior's comment in the patch? This is now in the disable recommended bugs list. Thank you.

Flags: needinfo?(nika)

We talked about this earlier today and I suggested a solution.

Flags: needinfo?(nika)
Attachment #9080217 - Attachment description: Bug 1528607 - don't load about:blank for newTab → Bug 1528607 - don't load about:blank with waitForStateStop for newTab
Keywords: leave-open
Pushed by juhsu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4ae5e5e7c91b don't load about:blank with waitForStateStop for newTab r=nika
Whiteboard: [necko-triaged][stockwell disable-recommended] → [necko-triaged]
Whiteboard: [necko-triaged][stockwell disable-recommended] → [necko-triaged][stockwell fixed:patch]

Note that I haven't fixed comment 26 (a), which rate is around 0.1%

This is happening frequently on ash repository.

Comment 48 is caused by bug 1566868

No occurrences since October 8th.

I think it's safe to close this now. Thanks Junior!

Status: NEW → RESOLVED
Closed: 5 years ago
Keywords: leave-open
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: