Open Bug 1610382 Opened 2 years ago Updated 5 hours ago

Intermittent remote/cdp/test/browser/network/browser_setCacheDisabled.js | Test timed out -

Categories

(Remote Protocol :: CDP, defect, P5)

defect

Tracking

(firefox74 disabled, firefox94 disabled, firefox95 affected)

Tracking Status
firefox74 --- disabled
firefox94 --- disabled
firefox95 --- affected

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(2 files)

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=285673332&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GXVOuc_kQJeDpHOb8HKuyQ/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GXVOuc_kQJeDpHOb8HKuyQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2020-01-20T20:24:47.284Z] 20:24:47 INFO - TEST-START | remote/test/browser/network/browser_setCacheDisabled.js
[task 2020-01-20T20:26:17.536Z] 20:26:17 INFO - TEST-PASS | remote/test/browser/network/browser_setCacheDisabled.js | request documentchannel:http://example.com/browser/remote/test/browser/network/doc_empty.html has the expected flags - 640 == 640 -
[task 2020-01-20T20:26:17.537Z] 20:26:17 INFO - Buffered messages logged at 20:24:52
[task 2020-01-20T20:26:17.537Z] 20:26:17 INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.com/browser/remote/test/browser/network/doc_empty.html" line: 0}]
[task 2020-01-20T20:26:17.537Z] 20:26:17 INFO - Buffered messages finished
[task 2020-01-20T20:26:17.537Z] 20:26:17 INFO - TEST-UNEXPECTED-FAIL | remote/test/browser/network/browser_setCacheDisabled.js | Test timed out -
[task 2020-01-20T20:26:17.538Z] 20:26:17 INFO - GECKO(3474) | [Parent 3474, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/workspace/build/src/dom/events/DOMEventTargetHelper.cpp, line 321
[task 2020-01-20T20:26:17.538Z] 20:26:17 INFO - GECKO(3474) | MEMORY STAT | vsize 3118MB | residentFast 380MB | heapAllocated 110MB
[task 2020-01-20T20:26:17.538Z] 20:26:17 INFO - TEST-OK | remote/test/browser/network/browser_setCacheDisabled.js | took 90040ms
[task 2020-01-20T20:26:17.538Z] 20:26:17 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-01-20T20:26:17.539Z] 20:26:17 INFO - TEST-UNEXPECTED-FAIL | remote/test/browser/network/browser_setCacheDisabled.js | Found a tab after previous test timed out: http://example.com/browser/remote/test/browser/network/doc_empty.html -
[task 2020-01-20T20:26:17.539Z] 20:26:17 INFO - GECKO(3474) | [Child 3676: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f9636822800 == 1 [pid = 3676] [id = {fffe1e16-5a0c-4e5b-af50-25f498943089}]
[task 2020-01-20T20:26:17.539Z] 20:26:17 INFO - GECKO(3474) | [Child 3676: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7f9638a2d5c0) [pid = 3676] [serial = 13] [outer = (nil)]
[task 2020-01-20T20:26:17.540Z] 20:26:17 INFO - GECKO(3474) | [Child 3676, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/workspace/build/src/layout/base/nsPresContext.cpp, line 845
[task 2020-01-20T20:26:17.541Z] 20:26:17 INFO - GECKO(3474) | [Child 3676: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f9637693800) [pid = 3676] [serial = 14] [outer = 0x7f9638a2d5c0]
[task 2020-01-20T20:26:17.541Z] 20:26:17 INFO - checking window state
[task 2020-01-20T20:26:17.549Z] 20:26:17 INFO - GECKO(3474) | [Parent 3474, Main Thread] WARNING: NS_ENSURE_TRUE(GetWrapper()) failed: file /builds/worker/workspace/build/src/dom/ipc/JSWindowActor.cpp, line 109

Summary: Intermittent TV remote/test/browser/network/browser_setCacheDisabled.js | Test timed out - → Intermittent remote/test/browser/network/browser_setCacheDisabled.js | Test timed out -

Henrik,
This looks to be caused by the changes in Bug 1607823, could you please take a look?

Flags: needinfo?(hskupin)

Bug 1610377 and dependencies cause more failures, so this bug has to wait until the others have been fixed.

The number of failures dropped a lot. Only two linux1804-64-asan failures today. So it looks like it hasn't priority anymore. But lets see how it behaves the next days.

Regressed by: 1607823

Just a note for now... Maybe https://searchfox.org/mozilla-central/source/dom/ipc/RemoteWebProgressRequest.h could be used here. This lives in the parent process and wouldn't be affected by swapping out the child's inner window.

Flags: needinfo?(hskupin)

Henrik are you working on fixing this?

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

(In reply to Andreea Pavel [:apavel] from comment #6)

Henrik are you working on fixing this?

Sorry for the late reply. I won't have time right now. So if it still fails a lot lets get it skipped.

Flags: needinfo?(hskupin)
Assignee: nobody → nerli
Status: NEW → ASSIGNED
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/537d9cea1acd
Disable browser_setCacheDisabled.js for frequent failures r=remote-protocol-reviewers,gbrown,whimboo
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74

The test has only been disabled but not fixed.

Assignee: nerli → nobody
Status: RESOLVED → REOPENED
Keywords: test-disabled
Resolution: FIXED → ---
Target Milestone: Firefox 74 → ---
Keywords: leave-open
Whiteboard: [stockwell needswork:owner] → [stockwell disabled]
Summary: Intermittent remote/test/browser/network/browser_setCacheDisabled.js | Test timed out - → Intermittent remote/cdp/test/browser/network/browser_setCacheDisabled.js | Test timed out -
Component: Agent → CDP

Locally this test doesn't fail anymore. Lets see if we can get it re-enabled:
https://treeherder.mozilla.org/jobs?repo=try&revision=cd2c4dd27a83fc1627696a1a16a77352ef5ee543

Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3cf700ab977a
[remote] Re-enable browser_setCacheDisabled.js. r=webdriver-reviewers,jdescottes
Status: REOPENED → NEW
Whiteboard: [stockwell disabled]
You need to log in before you can comment on or make changes to this bug.