Closed Bug 1703712 Opened 4 years ago Closed 2 years ago

Intermittent dom/base/test/browser_bug1303838.js | Test timed out | Found a tab after previous test timed out: http://mochi.test:8888/browser/dom/base/test/file_bug1303838.html -

Categories

(Core :: DOM: Core & HTML, defect)

Unspecified
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1775695
Tracking Status
firefox-esr78 --- unaffected
firefox87 --- unaffected
firefox88 --- unaffected
firefox89 --- affected

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

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

Attachments

(1 file)

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


[task 2021-04-07T23:28:05.722Z] 23:28:05     INFO - TEST-START | dom/base/test/browser_bug1303838.js
[task 2021-04-07T23:28:50.865Z] 23:28:50     INFO - TEST-INFO | started process screencapture
[task 2021-04-07T23:28:50.962Z] 23:28:50     INFO - TEST-INFO | screencapture: exit 0
[task 2021-04-07T23:28:50.962Z] 23:28:50     INFO - <snipped 1 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2021-04-07T23:28:50.962Z] 23:28:50     INFO - Buffered messages logged at 23:28:06
[task 2021-04-07T23:28:50.962Z] 23:28:50     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-04-07T23:28:50.962Z] 23:28:50     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-04-07T23:28:50.962Z] 23:28:50     INFO - Test normal links with loadDivertedInBackground=false, withFrame=false
[task 2021-04-07T23:28:50.962Z] 23:28:50     INFO - BC children: 0
[task 2021-04-07T23:28:50.962Z] 23:28:50     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-04-07T23:28:50.962Z] 23:28:50     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-04-07T23:28:50.963Z] 23:28:50     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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_foo.html" line: 0}]
[task 2021-04-07T23:28:50.963Z] 23:28:50     INFO - Waiting for TabSwitch
[task 2021-04-07T23:28:50.963Z] 23:28:50     INFO - Waiting for 1 LocationChange
[task 2021-04-07T23:28:50.968Z] 23:28:50     INFO - BC children: 0
[task 2021-04-07T23:28:50.969Z] 23:28:50     INFO - LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_bar.html
[task 2021-04-07T23:28:50.969Z] 23:28:50     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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_bar.html" line: 0}]
[task 2021-04-07T23:28:50.969Z] 23:28:50     INFO - TabSwitch done
[task 2021-04-07T23:28:50.969Z] 23:28:50     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-04-07T23:28:50.969Z] 23:28:50     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-04-07T23:28:50.969Z] 23:28:50     INFO - Buffered messages logged at 23:28:07
[task 2021-04-07T23:28:50.971Z] 23:28:50     INFO - Waiting for TabSwitch
[task 2021-04-07T23:28:50.971Z] 23:28:50     INFO - Waiting for 1 LocationChange
[task 2021-04-07T23:28:50.971Z] 23:28:50     INFO - BC children: 0
[task 2021-04-07T23:28:50.971Z] 23:28:50     INFO - LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_baz.html
[task 2021-04-07T23:28:50.971Z] 23:28:50     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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_baz.html" line: 0}]
[task 2021-04-07T23:28:50.971Z] 23:28:50     INFO - TabSwitch done
[task 2021-04-07T23:28:50.971Z] 23:28:50     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-04-07T23:28:50.971Z] 23:28:50     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-04-07T23:28:50.971Z] 23:28:50     INFO - Buffered messages logged at 23:28:08
[task 2021-04-07T23:28:50.971Z] 23:28:50     INFO - Waiting for TabSwitch
[task 2021-04-07T23:28:50.971Z] 23:28:50     INFO - Waiting for 1 LocationChange
[task 2021-04-07T23:28:50.978Z] 23:28:50     INFO - BC children: 0
[task 2021-04-07T23:28:50.978Z] 23:28:50     INFO - LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_foo.html
[task 2021-04-07T23:28:50.978Z] 23:28:50     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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_foo.html" line: 0}]
[task 2021-04-07T23:28:50.978Z] 23:28:50     INFO - TabSwitch done
[task 2021-04-07T23:28:50.978Z] 23:28:50     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-04-07T23:28:50.978Z] 23:28:50     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-04-07T23:28:50.978Z] 23:28:50     INFO - Waiting for 1 LocationChange
[task 2021-04-07T23:28:50.978Z] 23:28:50     INFO - BC children: 0

[task 2021-04-07T23:28:51.010Z] 23:28:51     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-04-07T23:28:51.010Z] 23:28:51     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-04-07T23:28:51.010Z] 23:28:51     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-04-07T23:28:51.010Z] 23:28:51     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-04-07T23:28:51.010Z] 23:28:51     INFO - Test normal links with loadDivertedInBackground=true, withFrame=false
[task 2021-04-07T23:28:51.010Z] 23:28:51     INFO - BC children: 0
[task 2021-04-07T23:28:51.010Z] 23:28:51     INFO - Buffered messages finished
[task 2021-04-07T23:28:51.010Z] 23:28:51     INFO - TEST-UNEXPECTED-FAIL | dom/base/test/browser_bug1303838.js | Test timed out - 
[task 2021-04-07T23:28:51.010Z] 23:28:51     INFO - GECKO(2175) | MEMORY STAT | vsize 7731MB | residentFast 294MB | heapAllocated 91MB
[task 2021-04-07T23:28:51.010Z] 23:28:51     INFO - TEST-OK | dom/base/test/browser_bug1303838.js | took 45133ms
[task 2021-04-07T23:28:51.011Z] 23:28:51     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-04-07T23:28:51.011Z] 23:28:51     INFO - TEST-UNEXPECTED-FAIL | dom/base/test/browser_bug1303838.js | Found a tab after previous test timed out: http://mochi.test:8888/browser/dom/base/test/file_bug1303838.html - 
[task 2021-04-07T23:28:51.011Z] 23:28:51     INFO - checking window state```

Are you aware of a change which could have started this macOS 10.14 shippable failure? Bug 1700871 touched it but that was one week ago.

Not really, no. Bug 1700871 is the last related thing I'm aware of.

Flags: needinfo?(emilio)

Update:
There have been 48 failures within the last 7 days:
• 39 failures on OS X 10.15 WebRender opt
• 8 failures on OS X 10.15 WebRender Shippable opt
• 1 failures on Windows 10 x64 2004 WebRender opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=349786208&repo=autoland&lineNumber=5360

[task 2021-08-27T19:06:28.734Z] 19:06:28     INFO - TEST-START | dom/base/test/browser_bug1303838.js
[task 2021-08-27T19:06:53.431Z] 19:06:53     INFO - GECKO(4793) | 2021-08-27 19:06:53.430 firefox[4793:72715] Persistent UI failed to open file file:///Users/cltbld/Library/Saved%20Application%20State/org.mozilla.nightly.savedState/window_1.data: No such file or directory (2)
[task 2021-08-27T19:07:13.832Z] 19:07:13     INFO - TEST-INFO | started process screencapture
[task 2021-08-27T19:07:13.950Z] 19:07:13     INFO - TEST-INFO | screencapture: exit 0
[task 2021-08-27T19:07:13.951Z] 19:07:13     INFO - <snipped 1 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2021-08-27T19:07:13.951Z] 19:07:13     INFO - Buffered messages logged at 19:06:29
[task 2021-08-27T19:07:13.951Z] 19:07:13     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-08-27T19:07:13.952Z] 19:07:13     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-08-27T19:07:13.952Z] 19:07:13     INFO - Test normal links with loadDivertedInBackground=false, withFrame=false
[task 2021-08-27T19:07:13.952Z] 19:07:13     INFO - BC children: 0
[task 2021-08-27T19:07:13.953Z] 19:07:13     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-08-27T19:07:13.953Z] 19:07:13     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-08-27T19:07:13.954Z] 19:07:13     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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_foo.html" line: 0}]
[task 2021-08-27T19:07:13.954Z] 19:07:13     INFO - Waiting for TabSwitch
[task 2021-08-27T19:07:13.954Z] 19:07:13     INFO - Waiting for 1 LocationChange
[task 2021-08-27T19:07:13.955Z] 19:07:13     INFO - BC children: 0
[task 2021-08-27T19:07:13.955Z] 19:07:13     INFO - LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_bar.html
[task 2021-08-27T19:07:13.956Z] 19:07:13     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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_bar.html" line: 0}]
[task 2021-08-27T19:07:13.957Z] 19:07:13     INFO - TabSwitch done
[task 2021-08-27T19:07:13.957Z] 19:07:13     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
<...>
[task 2021-08-27T19:07:13.994Z] 19:07:13     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-08-27T19:07:13.994Z] 19:07:13     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-08-27T19:07:13.995Z] 19:07:13     INFO - Test normal links with loadDivertedInBackground=true, withFrame=false
[task 2021-08-27T19:07:13.995Z] 19:07:13     INFO - BC children: 0
[task 2021-08-27T19:07:13.995Z] 19:07:13     INFO - Buffered messages finished
[task 2021-08-27T19:07:13.996Z] 19:07:13     INFO - TEST-UNEXPECTED-FAIL | dom/base/test/browser_bug1303838.js | Test timed out - 
[task 2021-08-27T19:07:13.996Z] 19:07:13     INFO - GECKO(4793) | MEMORY STAT | vsize 7876MB | residentFast 291MB | heapAllocated 92MB
[task 2021-08-27T19:07:13.997Z] 19:07:13     INFO - TEST-OK | dom/base/test/browser_bug1303838.js | took 45101ms
[task 2021-08-27T19:07:13.997Z] 19:07:13     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-27T19:07:13.998Z] 19:07:13     INFO - TEST-UNEXPECTED-FAIL | dom/base/test/browser_bug1303838.js | Found a tab after previous test timed out: http://mochi.test:8888/browser/dom/base/test/file_bug1303838.html - 
[task 2021-08-27T19:07:13.998Z] 19:07:13     INFO - checking window state
[task 2021-08-27T19:07:13.998Z] 19:07:13     INFO - TEST-START | dom/base/test/browser_bug1554070.js
Whiteboard: [stockwell unknown] → [stockwell needswork:owner]

Jens, as the owner of this component, could you help us assign it to someone?
Thank you.

Flags: needinfo?(jstutte)

FWIW, a successful run of the failing test looks like this:

 0:10.99 INFO Test normal links with loadDivertedInBackground=true, withFrame=false
 0:10.99 INFO BC children: 0
>>>>>> Here the log stops in the error case with  a timeout <<<<<<
 0:11.07 PASS check tabs.length - 
 0:11.07 PASS check selectedTab - 
 0:11.07 INFO Waiting for 1 LocationChange
 0:11.07 INFO BC children: 0
 0:11.07 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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_foo.html" line: 0}]
 0:11.08 INFO LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_bar.html
 0:11.08 PASS check tabs.length - 
 0:11.08 PASS check selectedTab - 
 0:11.08 INFO Waiting for 1 LocationChange
 0:11.08 INFO BC children: 0
 0:11.08 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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_bar.html" line: 0}]
 0:11.09 INFO LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_baz.html
 0:11.09 PASS check tabs.length - 
 0:11.09 PASS check selectedTab - 
 0:11.09 INFO Waiting for 1 LocationChange
 0:11.09 INFO BC children: 0
 0:11.09 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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_baz.html" line: 0}]
 0:11.10 INFO LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_foo.html
 0:11.10 PASS check tabs.length - 
 0:11.10 PASS check selectedTab - 
 0:11.10 INFO Waiting for 1 LocationChange
 0:11.10 INFO BC children: 0
 0:11.10 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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_foo.html" line: 0}]
 0:11.11 INFO LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_foo.html?1
 0:11.11 PASS check tabs.length - 
 0:11.11 PASS check selectedTab - 
 0:11.11 INFO Waiting for 1 LocationChange
 0:11.11 INFO BC children: 0
 0:11.11 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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_foo.html?1" line: 0}]
 0:11.12 INFO LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_foo.html?1#1
 0:11.12 PASS check tabs.length - 
 0:11.12 PASS check selectedTab - 
 0:11.12 INFO Waiting for 1 LocationChange
 0:11.12 INFO BC children: 0
 0:11.12 INFO LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target.html
 0:11.15 PASS check tabs.length - 
 0:11.15 PASS check selectedTab - 

This shows at least that the JavaScript Error: "The character encoding of the HTML document was not declared." is totally unrelated.

Looking at testLinkClick this indicates that we never arrive here, thus apparently are waiting for openNewForegroundTab to complete.

Looking at openNewForegroundTab I stumbled over bug 1697797 that landed just shortly before this intermittent appeared the first time. Might be unrelated, but could you have a look, Florian?
Also in case to give advice if/how we could use those profile markers here? Thanks!

Flags: needinfo?(jstutte) → needinfo?(florian)

(In reply to Jens Stutte [:jstutte] from comment #24)

Looking at openNewForegroundTab I stumbled over bug 1697797 that landed just shortly before this intermittent appeared the first time. Might be unrelated, but could you have a look, Florian?
Also in case to give advice if/how we could use those profile markers here? Thanks!

You can run ./mach test dom/base/test/browser_bug1303838.js --profiler locally to see a profile of the test, which helps quickly get an understanding of what happens during the test.

At first glance, the test is very slow and spends most of its time waiting for the 300ms timer that's implied when waiting for TabSwitchDone events. Applying my WIP patch from bug 1702637 (I didn't finish because this exposes many existing test issues that I didn't have time to fix) changes for me the test run time from 14s to 3s.

Having a test that relies on (implicit) timers like this is prone to having intermittent failures. I tried to reproduce locally both with and without the patch from bug 1702637, and couldn't.

Flags: needinfo?(florian)

Update:
There have been 49 failures within the last 7 days:
• 42 failures on OS X 10.15 WebRender opt
• 7 failures on OS X 10.15 WebRender Shippable opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=350614858&repo=autoland&lineNumber=5391

[task 2021-09-05T23:36:30.375Z] 23:36:30     INFO - TEST-START | dom/base/test/browser_bug1303838.js
[task 2021-09-05T23:36:55.017Z] 23:36:55     INFO - GECKO(2743) | 2021-09-05 23:36:55.016 firefox[2743:43077] Persistent UI failed to open file file:///Users/cltbld/Library/Saved%20Application%20State/org.mozilla.nightly.savedState/window_1.data: No such file or directory (2)
[task 2021-09-05T23:37:15.479Z] 23:37:15     INFO - TEST-INFO | started process screencapture
[task 2021-09-05T23:37:15.594Z] 23:37:15     INFO - TEST-INFO | screencapture: exit 0
[task 2021-09-05T23:37:15.595Z] 23:37:15     INFO - <snipped 1 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2021-09-05T23:37:15.595Z] 23:37:15     INFO - Buffered messages logged at 23:36:30
[task 2021-09-05T23:37:15.595Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-09-05T23:37:15.596Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-09-05T23:37:15.596Z] 23:37:15     INFO - Test normal links with loadDivertedInBackground=false, withFrame=false
[task 2021-09-05T23:37:15.597Z] 23:37:15     INFO - BC children: 0
[task 2021-09-05T23:37:15.597Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-09-05T23:37:15.598Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-09-05T23:37:15.598Z] 23:37:15     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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_foo.html" line: 0}]
[task 2021-09-05T23:37:15.599Z] 23:37:15     INFO - Buffered messages logged at 23:36:31
[task 2021-09-05T23:37:15.599Z] 23:37:15     INFO - Waiting for TabSwitch
[task 2021-09-05T23:37:15.600Z] 23:37:15     INFO - Waiting for 1 LocationChange
[task 2021-09-05T23:37:15.600Z] 23:37:15     INFO - BC children: 0
[task 2021-09-05T23:37:15.601Z] 23:37:15     INFO - LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_bar.html
[task 2021-09-05T23:37:15.601Z] 23:37:15     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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_bar.html" line: 0}]
[task 2021-09-05T23:37:15.602Z] 23:37:15     INFO - TabSwitch done
[task 2021-09-05T23:37:15.602Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-09-05T23:37:15.603Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-09-05T23:37:15.603Z] 23:37:15     INFO - Buffered messages logged at 23:36:32
[task 2021-09-05T23:37:15.604Z] 23:37:15     INFO - Waiting for TabSwitch
[task 2021-09-05T23:37:15.604Z] 23:37:15     INFO - Waiting for 1 LocationChange
[task 2021-09-05T23:37:15.605Z] 23:37:15     INFO - BC children: 0
[task 2021-09-05T23:37:15.605Z] 23:37:15     INFO - LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_baz.html
[task 2021-09-05T23:37:15.606Z] 23:37:15     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://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_baz.html" line: 0}]
[task 2021-09-05T23:37:15.607Z] 23:37:15     INFO - TabSwitch done
[task 2021-09-05T23:37:15.607Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-09-05T23:37:15.608Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-09-05T23:37:15.608Z] 23:37:15     INFO - Waiting for TabSwitch
<...>
[task 2021-09-05T23:37:15.636Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-09-05T23:37:15.637Z] 23:37:15     INFO - Buffered messages logged at 23:36:38
[task 2021-09-05T23:37:15.637Z] 23:37:15     INFO - Waiting for TabSwitch
[task 2021-09-05T23:37:15.638Z] 23:37:15     INFO - Waiting for 1 LocationChange in subframe
[task 2021-09-05T23:37:15.638Z] 23:37:15     INFO - BC children: 0
[task 2021-09-05T23:37:15.639Z] 23:37:15     INFO - LocationChange: http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_ibaz.html
[task 2021-09-05T23:37:15.639Z] 23:37:15     INFO - Console message: [JavaScript Warning: "The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it." {file: "http://mochi.test:8888/browser/dom/base/test/file_bug1303838_target_ibaz.html" line: 0}]
[task 2021-09-05T23:37:15.640Z] 23:37:15     INFO - TabSwitch done
[task 2021-09-05T23:37:15.640Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-09-05T23:37:15.641Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-09-05T23:37:15.641Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check tabs.length - 
[task 2021-09-05T23:37:15.642Z] 23:37:15     INFO - TEST-PASS | dom/base/test/browser_bug1303838.js | check selectedTab - 
[task 2021-09-05T23:37:15.642Z] 23:37:15     INFO - Test normal links with loadDivertedInBackground=true, withFrame=false
[task 2021-09-05T23:37:15.642Z] 23:37:15     INFO - BC children: 0
[task 2021-09-05T23:37:15.643Z] 23:37:15     INFO - Buffered messages finished
[task 2021-09-05T23:37:15.643Z] 23:37:15     INFO - TEST-UNEXPECTED-FAIL | dom/base/test/browser_bug1303838.js | Test timed out - 
[task 2021-09-05T23:37:15.644Z] 23:37:15     INFO - GECKO(2743) | MEMORY STAT | vsize 7853MB | residentFast 295MB | heapAllocated 94MB
[task 2021-09-05T23:37:15.644Z] 23:37:15     INFO - TEST-OK | dom/base/test/browser_bug1303838.js | took 45107ms
[task 2021-09-05T23:37:15.644Z] 23:37:15     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-05T23:37:15.645Z] 23:37:15     INFO - TEST-UNEXPECTED-FAIL | dom/base/test/browser_bug1303838.js | Found a tab after previous test timed out: http://mochi.test:8888/browser/dom/base/test/file_bug1303838.html - 
[task 2021-09-05T23:37:15.645Z] 23:37:15     INFO - checking window state
[task 2021-09-05T23:37:15.645Z] 23:37:15     INFO - TEST-START | dom/base/test/browser_bug1554070.js
Assignee: nobody → apavel
Status: NEW → ASSIGNED

There are 31 total failures in the last 7 days on

[task 2021-09-12T11:46:16.377Z] 11:46:16     INFO - TEST-START | browser/base/content/test/general/browser_minimize.js
[task 2021-09-12T11:46:16.378Z] 11:46:16     INFO - TEST-INFO | started process screencapture
[task 2021-09-12T11:46:16.498Z] 11:46:16     INFO - TEST-INFO | screencapture: exit 0
[task 2021-09-12T11:46:16.498Z] 11:46:16     INFO - Buffered messages logged at 11:46:16
[task 2021-09-12T11:46:16.498Z] 11:46:16     INFO - Entering test bound 
[task 2021-09-12T11:46:16.498Z] 11:46:16     INFO - Buffered messages finished
[task 2021-09-12T11:46:16.499Z] 11:46:16     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_minimize.js | Docshell should be active when starting the test - 
[task 2021-09-12T11:46:16.499Z] 11:46:16     INFO - Stack trace:
[task 2021-09-12T11:46:16.499Z] 11:46:16     INFO - chrome://mochikit/content/browser-test.js:test_ok:1336
[task 2021-09-12T11:46:16.499Z] 11:46:16     INFO - chrome://mochitests/content/browser/browser/base/content/test/general/browser_minimize.js:null:12
[task 2021-09-12T11:46:16.499Z] 11:46:16     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1091
[task 2021-09-12T11:46:16.499Z] 11:46:16     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1131
[task 2021-09-12T11:46:16.499Z] 11:46:16     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:939
[task 2021-09-12T11:46:16.499Z] 11:46:16     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1041
[task 2021-09-12T11:46:16.499Z] 11:46:16     INFO - Calling window.minimize
[task 2021-09-12T11:46:16.923Z] 11:46:16     INFO - TEST-PASS | browser/base/content/test/general/browser_minimize.js | Docshell should be Inactive - 
[task 2021-09-12T11:46:16.924Z] 11:46:16     INFO - Calling window.restore
[task 2021-09-12T11:46:17.461Z] 11:46:17     INFO - TEST-PASS | browser/base/content/test/general/browser_minimize.js | Docshell should be active again - 
[task 2021-09-12T11:46:17.461Z] 11:46:17     INFO - Leaving test bound 
[task 2021-09-12T11:46:17.466Z] 11:46:17     INFO - GECKO(1239) | MEMORY STAT | vsize 410959MB | residentFast 649MB | heapAllocated 186MB
[task 2021-09-12T11:46:17.466Z] 11:46:17     INFO - TEST-OK | browser/base/content/test/general/browser_minimize.js | took 1088ms
[task 2021-09-12T11:46:17.470Z] 11:46:17     INFO - checking window state
Assignee: apavel → nobody
Status: ASSIGNED → NEW
Assignee: nobody → apavel
Status: NEW → ASSIGNED

Hi Hsin-Yi, can you please take a look at this?

Flags: needinfo?(htsai)
Assignee: apavel → nobody
Status: ASSIGNED → NEW
Depends on: 1702637
Flags: needinfo?(htsai)
OS: Unspecified → macOS
Assignee: nobody → apavel
Status: NEW → ASSIGNED
Assignee: apavel → nobody
Status: ASSIGNED → NEW
Keywords: leave-open
Whiteboard: [stockwell disable-recommended] → [stockwell disable]
Whiteboard: [stockwell disable] → [stockwell disabled]
Pushed by ctuns@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/459bee33db3c disable browser_bug1303838.js for frequent failures r=intermittent-reviewers,jmaher DONTBUILD
OS: macOS → All
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: