Closed Bug 1637012 Opened 5 years ago Closed 5 years ago

Perma devtools/shared/resources/tests/browser_resources_several_resources.js | Test timed out - when Gecko 78 merges to Beta on 2020-06-01

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(firefox-esr68 unaffected, firefox75 unaffected, firefox76 unaffected, firefox77 unaffected, firefox78+ verified)

VERIFIED FIXED
Firefox 78
Tracking Status
firefox-esr68 --- unaffected
firefox75 --- unaffected
firefox76 --- unaffected
firefox77 --- unaffected
firefox78 + verified

People

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

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=301729343&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XWsLw92iR6SEsCzaZ00W1Q/runs/0/artifacts/public/logs/live_backing.log


[task 2020-05-11T13:57:47.001Z] 13:57:47 INFO - GECKO(4212) | [Child 4377: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7f5503555000) [pid = 4377] [serial = 12] [outer = (nil)] [url = about:blank]
[task 2020-05-11T13:57:47.121Z] 13:57:47 INFO - GECKO(4212) | [Child 4460: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7fbf9ca65800) [pid = 4460] [serial = 8] [outer = (nil)] [url = data:text/html,Root Node tests]
[task 2020-05-11T13:57:47.426Z] 13:57:47 INFO - GECKO(4212) | [Child 4289: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7fecf569ec00) [pid = 4289] [serial = 12] [outer = (nil)] [url = about:blank]
[task 2020-05-11T13:59:06.519Z] 13:59:06 INFO - TEST-INFO | started process screentopng
[task 2020-05-11T13:59:06.801Z] 13:59:06 INFO - TEST-INFO | screentopng: exit 0
[task 2020-05-11T13:59:06.801Z] 13:59:06 INFO - Buffered messages logged at 13:57:36
[task 2020-05-11T13:59:06.801Z] 13:59:06 INFO - Entering test bound
[task 2020-05-11T13:59:06.803Z] 13:59:06 INFO - Adding a new tab with URL: data:text/html,Root Node tests
[task 2020-05-11T13:59:06.803Z] 13:59:06 INFO - Tab added and finished loading
[task 2020-05-11T13:59:06.803Z] 13:59:06 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: "data:text/html,Root Node tests" line: 0}]
[task 2020-05-11T13:59:06.803Z] 13:59:06 INFO - Call watch([CONSOLE_MESSAGES, ROOT_NODE], ...)
[task 2020-05-11T13:59:06.803Z] 13:59:06 INFO - Buffered messages logged at 13:57:37
[task 2020-05-11T13:59:06.803Z] 13:59:06 INFO - Use console.log in the content page
[task 2020-05-11T13:59:06.803Z] 13:59:06 INFO - Wait until onAvailable received 1 resource of type CONSOLE_MESSAGES
[task 2020-05-11T13:59:06.804Z] 13:59:06 INFO - Buffered messages finished
[task 2020-05-11T13:59:06.804Z] 13:59:06 INFO - TEST-UNEXPECTED-FAIL | devtools/shared/resources/tests/browser_resources_several_resources.js | Test timed out -
[task 2020-05-11T13:59:06.805Z] 13:59:06 INFO - Removing tab.

Flags: needinfo?(jdescottes)
Summary: Intermittent devtools/shared/resources/tests/browser_resources_several_resources.js | Test timed out - → Perma devtools/shared/resources/tests/browser_resources_several_resources.js | Test timed out - when Gecko 78 merges to Beta on 2020-06-01
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Flags: needinfo?(jdescottes)

There seems to be an additional log on beta:

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: "data:text/html,Root Node tests" line: 0}]

We should fix the document to avoid the log and fix the test to avoid similar issues.

Changing the priority to p2 as the bug is tracked by a release manager for the current nightly.
See What Do You Triage for more information

Priority: P5 → P2

(In reply to Julian Descottes [:jdescottes] from comment #2)

There seems to be an additional log on beta:

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: "data:text/html,Root Node tests" line: 0}]

We should fix the document to avoid the log and fix the test to avoid similar issues.

Wrong analysis. In my test, I am not passing any tab argument to initResourceWatcherAndTarget. This means that we create a TargetList for the main process instead of a TargetList for the tab. And for a main process target list to monitor content pages, we need the devtools.browsertoolbox.fission to be set to true.

Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8662bbb6d68d Set devtools.browsertoolbox.fission to true in browser_resources_several_resources.js r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: