Open Bug 1057499 Opened 5 years ago Updated 5 years ago

Run mochitests with pref browser.sessionhistory.max_total_viewers=0 and see if there are tests that need fixing

Categories

(Testing :: Mochitest, defect)

x86
macOS
defect
Not set

Tracking

(Not tracked)

People

(Reporter: martijn.martijn, Assigned: martijn.martijn)

Details

Attachments

(2 files)

I stumbled upon the intermittent failure from bug 885324 and I noticed how that test relied on bfcache to work.
We should run the mochitests with the pref browser.sessionhistory.max_total_viewers pref to 0 and see if we get failures that way. That might indicate those tests need fixing.
Assignee: nobody → martijn.martijn
I'm just pasting the failures here:
3373 INFO TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_bug386782.html | Edited contents still correct? - got <p>designModeDocument</p>, expected <p>EDITED designModeDocument</p>
3374 INFO TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_bug386782.html | uncaught exception - NS_ERROR_FAILURE: at http://mochi.test:8888/tests/docshell/test/navigation/test_bug386782.html:88
3391 INFO TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_bug430624.html | Test timed out.
Bug 944328 - Intermittent TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_bug430624.html | Test timed out. 3392 INFO TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_bug430624.html | [SimpleTest.finish()] waitForFocus() was called a different number of times from the number of callbacks run. Maybe the test terminated prematurely -- be sure to use SimpleTest.waitForExplicitFinish(). - got 1, expected 0
Bug 944328 - Intermittent TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_bug430624.html | Test timed out. 3424 INFO TEST-UNEXPECTED-FAIL | /tests/docshell/test/test_bfcache_plus_hash.html | Got unexpected load 1
3518 INFO TEST-UNEXPECTED-FAIL | /tests/docshell/test/test_bug660404.html | Should be bfcached when navigating to multipart - got false, expected true
Bug 918529 - Intermittent TEST-UNEXPECTED-FAIL | test_bug660404.html | application timed out after 330 seconds with no output

813 INFO TEST-UNEXPECTED-FAIL | /tests/dom/workers/test/test_suspend.html | We don't want suspend_iframe.html to fire a new load event, we want it to come out of the bfcache!
Bug 897147 - Intermittent dom/workers/test/test_suspend.html | Test timed out. 2331 INFO TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_bug607529.html | Should never end up not being cached - didn't expect notcached, but got it
2332 INFO TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_bug607529.html | uncaught exception - SyntaxError: JSON.parse: unexpected keyword at line 1 column 1 of the JSON data at http://mochi.test:8888/tests/layout/base/tests/test_bug607529.html:53
2338 INFO TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_bug607529.html | uncaught exception - SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data at http://mochi.test:8888/tests/layout/base/tests/test_bug607529.html:53
2340 INFO TEST-UNEXPECTED-ERROR | /tests/layout/base/tests/test_bug607529.html | called finish() multiple times
2445 INFO TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_bug629838.html | Test timed out.
2460 INFO TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_bug677878.html | Test timed out.
2471 INFO TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_bug696020.html | Test timed out.

1087 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/plugins/browser_bug812562.js | test part 2: Should not have a click-to-play notification -
1088 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/plugins/browser_bug812562.js | test part 2: Should not have a plugin in this page -
1090 INFO TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - ReferenceError: ok is not defined at chrome://mochitests/content/browser/browser/base/content/test/plugins/browser_bug812562.js:86
Bug 1038670 - Intermittent test_parse_url.html | application timed out after 330 seconds with no output | | application crashed [Unknown top frame]
Bug 906205 - Intermittent netwerk/test/unit/test_fallback_request-error_passing.js | test failed (with xpcshell return code: 0) | Content length is unknown in onStartRequest! | Error in onStartRequest: 2147500036 | Failed to load URL: 80004004 | Error in onStopRequest 1189 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/plugins/browser_pluginnotification.js | Test 11b, Should not have a click-to-play notification -
Bug 908871 - Intermittent browser_pluginnotification.js | Test 5: There should be a plugin notification for blocked plugins | uncaught exception - TypeError: notification is null | Test timed out | Found a tab after previous test timed out
Bug 920424 - Intermittent browser_pluginnotification.js | Test 23, Should have a click-to-play notification
Bug 923090 - Intermittent browser/base/content/test/general/browser_pluginnotification.js | Test 6, Should have displayed the missing plugin notification 1195 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/plugins/browser_pluginnotification.js | Test 12d, Should have a click-to-play notification -
Bug 908871 - Intermittent browser_pluginnotification.js | Test 5: There should be a plugin notification for blocked plugins | uncaught exception - TypeError: notification is null | Test timed out | Found a tab after previous test timed out
Bug 920424 - Intermittent browser_pluginnotification.js | Test 23, Should have a click-to-play notification
Bug 923090 - Intermittent browser/base/content/test/general/browser_pluginnotification.js | Test 6, Should have displayed the missing plugin notification 1199 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/plugins/browser_pluginnotification.js | Test 12d, Test plugin should be activated -
Bug 908871 - Intermittent browser_pluginnotification.js | Test 5: There should be a plugin notification for blocked plugins | uncaught exception - TypeError: notification is null | Test timed out | Found a tab after previous test timed out
Bug 920424 - Intermittent browser_pluginnotification.js | Test 23, Should have a click-to-play notification
Bug 923090 - Intermittent browser/base/content/test/general/browser_pluginnotification.js | Test 6, Should have displayed the missing plugin notification

203 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/dom/power/test/browser_wakelocks.js | Test timed out
205 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/dom/power/test/browser_wakelocks.js | Found a tab after previous test timed out: http://mochi.test:8888/
206 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/dom/power/test/browser_wakelocks.js | Found a tab after previous test timed out: http://mochi.test:8888/

264 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/content/tests/browser/browser_bug982298.js | uncaught exception - TypeError: browser is null at chrome://browser/content/tabbrowser.xml:1958

2567 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/layoutview/test/browser_layoutview_update-after-navigation.js | undefined assertion name - Got 50, expected 20
remoteFailed: [Failure instance: Traceback (failure with no frames): <class 'twisted.spread.pb.PBConnectionLost'>: [Failure instance: Traceback (failure with no frames): <class 'socket.error'>: [Errno 9] Bad file descriptor
Bug 851431 - remoteFailed: [Failure instance: Traceback (failure with no frames): <class 'twisted.spread.pb.PBConnectionLost'>: [class="highlight">class="highlight">class="highlight">class="highlight">Failure class="highlight">class="highlight">instance: class="highlight">class="highlight">Traceback (class="highlight">class="highlight">class="highlight">class="highlight">failure with no class="highlight">class="highlight">frames): <class="highlight">class 'class="highlight">twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.

Oth has 652 failures, but this is is presumably, because focus can't be restored after test_bug635636.html.
You need to log in before you can comment on or make changes to this bug.